get Virtual Machine
Retrieves information about the model view or the instance view of a virtual machine. Uses Azure REST API version 2024-11-01. Other available API versions: 2022-08-01, 2022-11-01, 2023-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native compute [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
Return
Describes a Virtual Machine.
Parameters
null
Return
Describes a Virtual Machine.
Parameters
The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the virtual machine that is managed by the platform and can change outside of control plane operations. 'UserData' retrieves the UserData property as part of the VM model view that was provided by the user during the VM Create/Update operation.
The name of the resource group.
The name of the virtual machine.
See also
Return
Describes a Virtual Machine.
Parameters
Builder for com.pulumi.azurenative.compute.kotlin.inputs.GetVirtualMachinePlainArgs.