Skip to main content

virtual_machines

Overview

Namevirtual_machines
TypeResource
Idazure.nexus.virtual_machines

Fields

NameDatatypeDescription
extendedLocationobject
locationstringThe geo-location where the resource lives
propertiesobject
tagsobjectResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, virtualMachineNameGet properties of the provided virtual machine.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGet a list of virtual machines in the provided resource group.
list_by_subscriptionSELECTsubscriptionIdGet a list of virtual machines in the provided subscription.
create_or_updateINSERTresourceGroupName, subscriptionId, virtualMachineName, data__extendedLocation, data__propertiesCreate a new virtual machine or update the properties of the existing virtual machine.
deleteDELETEresourceGroupName, subscriptionId, virtualMachineNameDelete the provided virtual machine.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdGet a list of virtual machines in the provided resource group.
_list_by_subscriptionEXECsubscriptionIdGet a list of virtual machines in the provided subscription.
power_offEXECresourceGroupName, subscriptionId, virtualMachineNamePower off the provided virtual machine.
reimageEXECresourceGroupName, subscriptionId, virtualMachineNameReimage the provided virtual machine.
restartEXECresourceGroupName, subscriptionId, virtualMachineNameRestart the provided virtual machine.
startEXECresourceGroupName, subscriptionId, virtualMachineNameStart the provided virtual machine.
updateEXECresourceGroupName, subscriptionId, virtualMachineNamePatch the properties of the provided virtual machine, or update the tags associated with the virtual machine. Properties and tag updates can be done independently.