get Virtual Machine
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
resource Group Name
The Resource Group Name.
virtual Machine Name
Name of the virtual machine resource.
See also
suspend fun getVirtualMachine(argument: suspend GetVirtualMachinePlainArgsBuilder.() -> Unit): GetVirtualMachineResult
Return
Define the virtualMachine.
Parameters
argument
Builder for com.pulumi.azurenative.connectedvmwarevsphere.kotlin.inputs.GetVirtualMachinePlainArgs.