getAgent

suspend fun getAgent(argument: GetAgentPlainArgs): GetAgentResult

Gets an Agent resource. Uses Azure REST API version 2024-07-01. Other available API versions: 2023-03-01, 2023-07-01-preview, 2023-10-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native storagemover [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

The Agent resource.

Parameters

argument

null


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

Return

The Agent resource.

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.

See also


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

Return

The Agent resource.

Parameters

argument

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

See also