This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.storagemover.getAgent
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets an Agent resource. Azure REST API version: 2023-03-01.
Other available API versions: 2023-07-01-preview, 2023-10-01, 2024-07-01.
Using getAgent
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAgent(args: GetAgentArgs, opts?: InvokeOptions): Promise<GetAgentResult>
function getAgentOutput(args: GetAgentOutputArgs, opts?: InvokeOptions): Output<GetAgentResult>def get_agent(agent_name: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              storage_mover_name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetAgentResult
def get_agent_output(agent_name: Optional[pulumi.Input[str]] = None,
              resource_group_name: Optional[pulumi.Input[str]] = None,
              storage_mover_name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetAgentResult]func LookupAgent(ctx *Context, args *LookupAgentArgs, opts ...InvokeOption) (*LookupAgentResult, error)
func LookupAgentOutput(ctx *Context, args *LookupAgentOutputArgs, opts ...InvokeOption) LookupAgentResultOutput> Note: This function is named LookupAgent in the Go SDK.
public static class GetAgent 
{
    public static Task<GetAgentResult> InvokeAsync(GetAgentArgs args, InvokeOptions? opts = null)
    public static Output<GetAgentResult> Invoke(GetAgentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAgentResult> getAgent(GetAgentArgs args, InvokeOptions options)
public static Output<GetAgentResult> getAgent(GetAgentArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:storagemover:getAgent
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AgentName string
- The name of the Agent resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- StorageMover stringName 
- The name of the Storage Mover resource.
- AgentName string
- The name of the Agent resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- StorageMover stringName 
- The name of the Storage Mover resource.
- agentName String
- The name of the Agent resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- storageMover StringName 
- The name of the Storage Mover resource.
- agentName string
- The name of the Agent resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- storageMover stringName 
- The name of the Storage Mover resource.
- agent_name str
- The name of the Agent resource.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- storage_mover_ strname 
- The name of the Storage Mover resource.
- agentName String
- The name of the Agent resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- storageMover StringName 
- The name of the Storage Mover resource.
getAgent Result
The following output properties are available:
- AgentStatus string
- The Agent status.
- AgentVersion string
- The Agent version.
- ArcResource stringId 
- The fully qualified resource ID of the Hybrid Compute resource for the Agent.
- ArcVm stringUuid 
- The VM UUID of the Hybrid Compute resource for the Agent.
- ErrorDetails Pulumi.Azure Native. Storage Mover. Outputs. Agent Properties Response Error Details 
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LastStatus stringUpdate 
- The last updated time of the Agent status.
- LocalIPAddress string
- Local IP address reported by the Agent.
- MemoryIn doubleMB 
- Available memory reported by the Agent, in MB.
- Name string
- The name of the resource
- NumberOf doubleCores 
- Available compute cores reported by the Agent.
- ProvisioningState string
- The provisioning state of this resource.
- SystemData Pulumi.Azure Native. Storage Mover. Outputs. System Data Response 
- Resource system metadata.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- UptimeIn doubleSeconds 
- Uptime of the Agent in seconds.
- Description string
- A description for the Agent.
- AgentStatus string
- The Agent status.
- AgentVersion string
- The Agent version.
- ArcResource stringId 
- The fully qualified resource ID of the Hybrid Compute resource for the Agent.
- ArcVm stringUuid 
- The VM UUID of the Hybrid Compute resource for the Agent.
- ErrorDetails AgentProperties Response Error Details 
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LastStatus stringUpdate 
- The last updated time of the Agent status.
- LocalIPAddress string
- Local IP address reported by the Agent.
- MemoryIn float64MB 
- Available memory reported by the Agent, in MB.
- Name string
- The name of the resource
- NumberOf float64Cores 
- Available compute cores reported by the Agent.
- ProvisioningState string
- The provisioning state of this resource.
- SystemData SystemData Response 
- Resource system metadata.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- UptimeIn float64Seconds 
- Uptime of the Agent in seconds.
- Description string
- A description for the Agent.
- agentStatus String
- The Agent status.
- agentVersion String
- The Agent version.
- arcResource StringId 
- The fully qualified resource ID of the Hybrid Compute resource for the Agent.
- arcVm StringUuid 
- The VM UUID of the Hybrid Compute resource for the Agent.
- errorDetails AgentProperties Response Error Details 
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- lastStatus StringUpdate 
- The last updated time of the Agent status.
- localIPAddress String
- Local IP address reported by the Agent.
- memoryIn DoubleMB 
- Available memory reported by the Agent, in MB.
- name String
- The name of the resource
- numberOf DoubleCores 
- Available compute cores reported by the Agent.
- provisioningState String
- The provisioning state of this resource.
- systemData SystemData Response 
- Resource system metadata.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- uptimeIn DoubleSeconds 
- Uptime of the Agent in seconds.
- description String
- A description for the Agent.
- agentStatus string
- The Agent status.
- agentVersion string
- The Agent version.
- arcResource stringId 
- The fully qualified resource ID of the Hybrid Compute resource for the Agent.
- arcVm stringUuid 
- The VM UUID of the Hybrid Compute resource for the Agent.
- errorDetails AgentProperties Response Error Details 
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- lastStatus stringUpdate 
- The last updated time of the Agent status.
- localIPAddress string
- Local IP address reported by the Agent.
- memoryIn numberMB 
- Available memory reported by the Agent, in MB.
- name string
- The name of the resource
- numberOf numberCores 
- Available compute cores reported by the Agent.
- provisioningState string
- The provisioning state of this resource.
- systemData SystemData Response 
- Resource system metadata.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- uptimeIn numberSeconds 
- Uptime of the Agent in seconds.
- description string
- A description for the Agent.
- agent_status str
- The Agent status.
- agent_version str
- The Agent version.
- arc_resource_ strid 
- The fully qualified resource ID of the Hybrid Compute resource for the Agent.
- arc_vm_ struuid 
- The VM UUID of the Hybrid Compute resource for the Agent.
- error_details AgentProperties Response Error Details 
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last_status_ strupdate 
- The last updated time of the Agent status.
- local_ip_ straddress 
- Local IP address reported by the Agent.
- memory_in_ floatmb 
- Available memory reported by the Agent, in MB.
- name str
- The name of the resource
- number_of_ floatcores 
- Available compute cores reported by the Agent.
- provisioning_state str
- The provisioning state of this resource.
- system_data SystemData Response 
- Resource system metadata.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- uptime_in_ floatseconds 
- Uptime of the Agent in seconds.
- description str
- A description for the Agent.
- agentStatus String
- The Agent status.
- agentVersion String
- The Agent version.
- arcResource StringId 
- The fully qualified resource ID of the Hybrid Compute resource for the Agent.
- arcVm StringUuid 
- The VM UUID of the Hybrid Compute resource for the Agent.
- errorDetails Property Map
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- lastStatus StringUpdate 
- The last updated time of the Agent status.
- localIPAddress String
- Local IP address reported by the Agent.
- memoryIn NumberMB 
- Available memory reported by the Agent, in MB.
- name String
- The name of the resource
- numberOf NumberCores 
- Available compute cores reported by the Agent.
- provisioningState String
- The provisioning state of this resource.
- systemData Property Map
- Resource system metadata.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- uptimeIn NumberSeconds 
- Uptime of the Agent in seconds.
- description String
- A description for the Agent.
Supporting Types
AgentPropertiesResponseErrorDetails    
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi