getVirtualMachine

Implements virtual machine GET method. Uses Azure REST API version 2023-03-01-preview. Other available API versions: 2022-07-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native connectedvmwarevsphere [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

Define the virtualMachine.

Parameters

argument

null


suspend fun getVirtualMachine(resourceGroupName: String, virtualMachineName: String): GetVirtualMachineResult

Return

Define the virtualMachine.

Parameters

resourceGroupName

The Resource Group Name.

virtualMachineName

Name of the virtual machine resource.

See also


Return

Define the virtualMachine.

Parameters

argument

Builder for com.pulumi.azurenative.connectedvmwarevsphere.kotlin.inputs.GetVirtualMachinePlainArgs.

See also