1. Packages
  2. Azure Native
  3. API Docs
  4. storagemover
  5. getAgent
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.storagemover.getAgent

Explore with Pulumi AI

azure-native logo
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.73.0 published on Wednesday, Nov 20, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:storagemover:getAgent
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AgentName string
    The name of the Agent resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageMoverName string
    The name of the Storage Mover resource.
    AgentName string
    The name of the Agent resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageMoverName string
    The name of the Storage Mover resource.
    agentName String
    The name of the Agent resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageMoverName String
    The name of the Storage Mover resource.
    agentName string
    The name of the Agent resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    storageMoverName string
    The name of the Storage Mover resource.
    agent_name str
    The name of the Agent resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    storage_mover_name str
    The name of the Storage Mover resource.
    agentName String
    The name of the Agent resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageMoverName String
    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.
    ArcResourceId string
    The fully qualified resource ID of the Hybrid Compute resource for the Agent.
    ArcVmUuid string
    The VM UUID of the Hybrid Compute resource for the Agent.
    ErrorDetails Pulumi.AzureNative.StorageMover.Outputs.AgentPropertiesResponseErrorDetails
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    LastStatusUpdate string
    The last updated time of the Agent status.
    LocalIPAddress string
    Local IP address reported by the Agent.
    MemoryInMB double
    Available memory reported by the Agent, in MB.
    Name string
    The name of the resource
    NumberOfCores double
    Available compute cores reported by the Agent.
    ProvisioningState string
    The provisioning state of this resource.
    SystemData Pulumi.AzureNative.StorageMover.Outputs.SystemDataResponse
    Resource system metadata.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    UptimeInSeconds double
    Uptime of the Agent in seconds.
    Description string
    A description for the Agent.
    AgentStatus string
    The Agent status.
    AgentVersion string
    The Agent version.
    ArcResourceId string
    The fully qualified resource ID of the Hybrid Compute resource for the Agent.
    ArcVmUuid string
    The VM UUID of the Hybrid Compute resource for the Agent.
    ErrorDetails AgentPropertiesResponseErrorDetails
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    LastStatusUpdate string
    The last updated time of the Agent status.
    LocalIPAddress string
    Local IP address reported by the Agent.
    MemoryInMB float64
    Available memory reported by the Agent, in MB.
    Name string
    The name of the resource
    NumberOfCores float64
    Available compute cores reported by the Agent.
    ProvisioningState string
    The provisioning state of this resource.
    SystemData SystemDataResponse
    Resource system metadata.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    UptimeInSeconds float64
    Uptime of the Agent in seconds.
    Description string
    A description for the Agent.
    agentStatus String
    The Agent status.
    agentVersion String
    The Agent version.
    arcResourceId String
    The fully qualified resource ID of the Hybrid Compute resource for the Agent.
    arcVmUuid String
    The VM UUID of the Hybrid Compute resource for the Agent.
    errorDetails AgentPropertiesResponseErrorDetails
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    lastStatusUpdate String
    The last updated time of the Agent status.
    localIPAddress String
    Local IP address reported by the Agent.
    memoryInMB Double
    Available memory reported by the Agent, in MB.
    name String
    The name of the resource
    numberOfCores Double
    Available compute cores reported by the Agent.
    provisioningState String
    The provisioning state of this resource.
    systemData SystemDataResponse
    Resource system metadata.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uptimeInSeconds Double
    Uptime of the Agent in seconds.
    description String
    A description for the Agent.
    agentStatus string
    The Agent status.
    agentVersion string
    The Agent version.
    arcResourceId string
    The fully qualified resource ID of the Hybrid Compute resource for the Agent.
    arcVmUuid string
    The VM UUID of the Hybrid Compute resource for the Agent.
    errorDetails AgentPropertiesResponseErrorDetails
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    lastStatusUpdate string
    The last updated time of the Agent status.
    localIPAddress string
    Local IP address reported by the Agent.
    memoryInMB number
    Available memory reported by the Agent, in MB.
    name string
    The name of the resource
    numberOfCores number
    Available compute cores reported by the Agent.
    provisioningState string
    The provisioning state of this resource.
    systemData SystemDataResponse
    Resource system metadata.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uptimeInSeconds number
    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_id str
    The fully qualified resource ID of the Hybrid Compute resource for the Agent.
    arc_vm_uuid str
    The VM UUID of the Hybrid Compute resource for the Agent.
    error_details AgentPropertiesResponseErrorDetails
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    last_status_update str
    The last updated time of the Agent status.
    local_ip_address str
    Local IP address reported by the Agent.
    memory_in_mb float
    Available memory reported by the Agent, in MB.
    name str
    The name of the resource
    number_of_cores float
    Available compute cores reported by the Agent.
    provisioning_state str
    The provisioning state of this resource.
    system_data SystemDataResponse
    Resource system metadata.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uptime_in_seconds float
    Uptime of the Agent in seconds.
    description str
    A description for the Agent.
    agentStatus String
    The Agent status.
    agentVersion String
    The Agent version.
    arcResourceId String
    The fully qualified resource ID of the Hybrid Compute resource for the Agent.
    arcVmUuid String
    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}
    lastStatusUpdate String
    The last updated time of the Agent status.
    localIPAddress String
    Local IP address reported by the Agent.
    memoryInMB Number
    Available memory reported by the Agent, in MB.
    name String
    The name of the resource
    numberOfCores Number
    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"
    uptimeInSeconds Number
    Uptime of the Agent in seconds.
    description String
    A description for the Agent.

    Supporting Types

    AgentPropertiesResponseErrorDetails

    Code string
    Error code reported by Agent
    Message string
    Expanded description of reported error code
    Code string
    Error code reported by Agent
    Message string
    Expanded description of reported error code
    code String
    Error code reported by Agent
    message String
    Expanded description of reported error code
    code string
    Error code reported by Agent
    message string
    Expanded description of reported error code
    code str
    Error code reported by Agent
    message str
    Expanded description of reported error code
    code String
    Error code reported by Agent
    message String
    Expanded description of reported error code

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi