get Virtual Machine
Get properties of the provided virtual machine. Uses Azure REST API version 2025-02-01. Other available API versions: 2023-10-01-preview, 2024-06-01-preview, 2024-07-01, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native networkcloud [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
Return
null
Parameters
argument
null
suspend fun getVirtualMachine(resourceGroupName: String, virtualMachineName: String): GetVirtualMachineResult
Return
null
Parameters
resource Group Name
The name of the resource group. The name is case insensitive.
virtual Machine Name
The name of the virtual machine.
See also
suspend fun getVirtualMachine(argument: suspend GetVirtualMachinePlainArgsBuilder.() -> Unit): GetVirtualMachineResult
Return
null
Parameters
argument
Builder for com.pulumi.azurenative.networkcloud.kotlin.inputs.GetVirtualMachinePlainArgs.