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.70.0 published on Thursday, Nov 7, 2024 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.70.0 published on Thursday, Nov 7, 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:
- Agent
Name string - The name of the Agent resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Storage
Mover stringName - The name of the Storage Mover resource.
- Agent
Name string - The name of the Agent resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Storage
Mover stringName - The name of the Storage Mover resource.
- agent
Name String - The name of the Agent resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- storage
Mover StringName - The name of the Storage Mover resource.
- agent
Name string - The name of the Agent resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- storage
Mover 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.
- agent
Name String - The name of the Agent resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- storage
Mover StringName - The name of the Storage Mover resource.
getAgent Result
The following output properties are available:
- Agent
Status string - The Agent status.
- Agent
Version string - The Agent version.
- Arc
Resource stringId - The fully qualified resource ID of the Hybrid Compute resource for the Agent.
- Arc
Vm stringUuid - The VM UUID of the Hybrid Compute resource for the Agent.
- Error
Details 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}
- Last
Status stringUpdate - The last updated time of the Agent status.
- Local
IPAddress string - Local IP address reported by the Agent.
- Memory
In doubleMB - Available memory reported by the Agent, in MB.
- Name string
- The name of the resource
- Number
Of doubleCores - Available compute cores reported by the Agent.
- Provisioning
State string - The provisioning state of this resource.
- System
Data 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"
- Uptime
In doubleSeconds - Uptime of the Agent in seconds.
- Description string
- A description for the Agent.
- Agent
Status string - The Agent status.
- Agent
Version string - The Agent version.
- Arc
Resource stringId - The fully qualified resource ID of the Hybrid Compute resource for the Agent.
- Arc
Vm stringUuid - The VM UUID of the Hybrid Compute resource for the Agent.
- Error
Details AgentProperties Response Error Details - Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Status stringUpdate - The last updated time of the Agent status.
- Local
IPAddress string - Local IP address reported by the Agent.
- Memory
In float64MB - Available memory reported by the Agent, in MB.
- Name string
- The name of the resource
- Number
Of float64Cores - Available compute cores reported by the Agent.
- Provisioning
State string - The provisioning state of this resource.
- System
Data SystemData Response - Resource system metadata.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Uptime
In float64Seconds - Uptime of the Agent in seconds.
- Description string
- A description for the Agent.
- agent
Status String - The Agent status.
- agent
Version String - The Agent version.
- arc
Resource StringId - The fully qualified resource ID of the Hybrid Compute resource for the Agent.
- arc
Vm StringUuid - The VM UUID of the Hybrid Compute resource for the Agent.
- error
Details AgentProperties Response Error Details - id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Status StringUpdate - The last updated time of the Agent status.
- local
IPAddress String - Local IP address reported by the Agent.
- memory
In DoubleMB - Available memory reported by the Agent, in MB.
- name String
- The name of the resource
- number
Of DoubleCores - Available compute cores reported by the Agent.
- provisioning
State String - The provisioning state of this resource.
- system
Data SystemData Response - Resource system metadata.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- uptime
In DoubleSeconds - Uptime of the Agent in seconds.
- description String
- A description for the Agent.
- agent
Status string - The Agent status.
- agent
Version string - The Agent version.
- arc
Resource stringId - The fully qualified resource ID of the Hybrid Compute resource for the Agent.
- arc
Vm stringUuid - The VM UUID of the Hybrid Compute resource for the Agent.
- error
Details AgentProperties Response Error Details - id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Status stringUpdate - The last updated time of the Agent status.
- local
IPAddress string - Local IP address reported by the Agent.
- memory
In numberMB - Available memory reported by the Agent, in MB.
- name string
- The name of the resource
- number
Of numberCores - Available compute cores reported by the Agent.
- provisioning
State string - The provisioning state of this resource.
- system
Data SystemData Response - Resource system metadata.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- uptime
In 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.
- agent
Status String - The Agent status.
- agent
Version String - The Agent version.
- arc
Resource StringId - The fully qualified resource ID of the Hybrid Compute resource for the Agent.
- arc
Vm StringUuid - The VM UUID of the Hybrid Compute resource for the Agent.
- error
Details Property Map - id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Status StringUpdate - The last updated time of the Agent status.
- local
IPAddress String - Local IP address reported by the Agent.
- memory
In NumberMB - Available memory reported by the Agent, in MB.
- name String
- The name of the resource
- number
Of NumberCores - Available compute cores reported by the Agent.
- provisioning
State String - The provisioning state of this resource.
- system
Data Property Map - Resource system metadata.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- uptime
In NumberSeconds - Uptime of the Agent in seconds.
- description String
- A description for the Agent.
Supporting Types
AgentPropertiesResponseErrorDetails
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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.70.0 published on Thursday, Nov 7, 2024 by Pulumi