getAgent

suspend fun getAgent(argument: GetAgentPlainArgs): GetAgentResult

Gets an Agent resource. Azure REST API version: 2023-03-01. Other available API versions: 2023-07-01-preview, 2023-10-01.

Return

The Agent resource.

Parameters

argument

null


suspend fun getAgent(agentName: String, resourceGroupName: String, storageMoverName: String): GetAgentResult

Return

The Agent resource.

See also

Parameters

agentName

The name of the Agent resource.

resourceGroupName

The name of the resource group. The name is case insensitive.

storageMoverName

The name of the Storage Mover resource.


suspend fun getAgent(argument: suspend GetAgentPlainArgsBuilder.() -> Unit): GetAgentResult

Return

The Agent resource.

See also

Parameters

argument

Builder for com.pulumi.azurenative.storagemover.kotlin.inputs.GetAgentPlainArgs.