Package version:
Assess patches on the VM.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesAssessPatchesOptionalParamsThe options parameters.
Assess patches on the VM.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesAssessPatchesOptionalParamsThe options parameters.
Attach and detach data disks to/from the virtual machine.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the attach and detach data disks operation on the virtual machine.
Optionaloptions: VirtualMachinesAttachDetachDataDisksOptionalParamsThe options parameters.
Attach and detach data disks to/from the virtual machine.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the attach and detach data disks operation on the virtual machine.
Optionaloptions: VirtualMachinesAttachDetachDataDisksOptionalParamsThe options parameters.
Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Capture Virtual Machine operation.
Optionaloptions: VirtualMachinesCaptureOptionalParamsThe options parameters.
Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Capture Virtual Machine operation.
Optionaloptions: VirtualMachinesCaptureOptionalParamsThe options parameters.
Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesConvertToManagedDisksOptionalParamsThe options parameters.
Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesConvertToManagedDisksOptionalParamsThe options parameters.
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Create Virtual Machine operation.
Optionaloptions: VirtualMachinesCreateOrUpdateOptionalParamsThe options parameters.
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Create Virtual Machine operation.
Optionaloptions: VirtualMachinesCreateOrUpdateOptionalParamsThe options parameters.
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesDeallocateOptionalParamsThe options parameters.
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesDeallocateOptionalParamsThe options parameters.
The operation to delete a virtual machine.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesDeleteOptionalParamsThe options parameters.
The operation to delete a virtual machine.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesDeleteOptionalParamsThe options parameters.
Installs patches on the VM.
The name of the resource group.
The name of the virtual machine.
Input for InstallPatches as directly received by the API
Optionaloptions: VirtualMachinesInstallPatchesOptionalParamsThe options parameters.
Installs patches on the VM.
The name of the resource group.
The name of the virtual machine.
Input for InstallPatches as directly received by the API
Optionaloptions: VirtualMachinesInstallPatchesOptionalParamsThe options parameters.
Migrate a virtual machine from availability set to Flexible Virtual Machine Scale Set.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesMigrateToVMScaleSetOptionalParamsThe options parameters.
Migrate a virtual machine from availability set to Flexible Virtual Machine Scale Set.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesMigrateToVMScaleSetOptionalParamsThe options parameters.
The operation to perform maintenance on a virtual machine.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesPerformMaintenanceOptionalParamsThe options parameters.
The operation to perform maintenance on a virtual machine.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesPerformMaintenanceOptionalParamsThe options parameters.
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. NOTE: This operation is not allowed on a virtual machine that is being deallocated or has already been deallocated.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesPowerOffOptionalParamsThe options parameters.
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. NOTE: This operation is not allowed on a virtual machine that is being deallocated or has already been deallocated.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesPowerOffOptionalParamsThe options parameters.
The operation to reapply a virtual machine's state.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesReapplyOptionalParamsThe options parameters.
The operation to reapply a virtual machine's state.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesReapplyOptionalParamsThe options parameters.
Shuts down the virtual machine, moves it to a new node, and powers it back on.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesRedeployOptionalParamsThe options parameters.
Shuts down the virtual machine, moves it to a new node, and powers it back on.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesRedeployOptionalParamsThe options parameters.
Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesReimageOptionalParamsThe options parameters.
Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesReimageOptionalParamsThe options parameters.
The operation to restart a virtual machine.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesRestartOptionalParamsThe options parameters.
The operation to restart a virtual machine.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesRestartOptionalParamsThe options parameters.
Run command on the VM.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Run command operation.
Optionaloptions: VirtualMachinesRunCommandOptionalParamsThe options parameters.
Run command on the VM.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Run command operation.
Optionaloptions: VirtualMachinesRunCommandOptionalParamsThe options parameters.
The operation to start a virtual machine.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesStartOptionalParamsThe options parameters.
The operation to start a virtual machine.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesStartOptionalParamsThe options parameters.
The operation to update a virtual machine.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Update Virtual Machine operation.
Optionaloptions: VirtualMachinesUpdateOptionalParamsThe options parameters.
The operation to update a virtual machine.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Update Virtual Machine operation.
Optionaloptions: VirtualMachinesUpdateOptionalParamsThe options parameters.
Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation. For Windows, please refer to Create a managed image of a generalized VM in Azure. For Linux, please refer to How to create an image of a virtual machine or VHD.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesGeneralizeOptionalParamsThe options parameters.
Retrieves information about the model view or the instance view of a virtual machine.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesGetOptionalParamsThe options parameters.
Retrieves information about the run-time state of a virtual machine.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesInstanceViewOptionalParamsThe options parameters.
Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.
The name of the resource group.
Optionaloptions: VirtualMachinesListOptionalParamsThe options parameters.
Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.
Optionaloptions: VirtualMachinesListAllOptionalParamsThe options parameters.
Lists all available virtual machine sizes to which the specified virtual machine can be resized.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesListAvailableSizesOptionalParamsThe options parameters.
Gets all the virtual machines under the specified subscription for the specified location.
The location for which virtual machines under the subscription are queried.
Optionaloptions: VirtualMachinesListByLocationOptionalParamsThe options parameters.
The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesRetrieveBootDiagnosticsDataOptionalParamsThe options parameters.
The operation to simulate the eviction of spot virtual machine.
The name of the resource group.
The name of the virtual machine.
Optionaloptions: VirtualMachinesSimulateEvictionOptionalParamsThe options parameters.
Interface representing a VirtualMachines.