Azure Compute

  • Latest Dynatrace
  • Reference
  • 20-min read

Disks: Create or update

Creates or updates a disk.

For more information, see the official documentation for Disks: Create or update.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
diskNamestringThe name of the managed disk that is being created.Required
diskDiskSee disk fields.Required

disk (Disk)

FieldTypeDescriptionRequired
locationstringThe geo-location where the resource lives.Required
diskSizeGBnumberIf creationData.createOption is Empty, this field is mandatory, and it indicates the size of the disk to create.Optional
tagsRecord<string, string>Resource tags.Optional
creationDataCreationDataSee creationData fields.Optional
disk.creationData (CreationData)
FieldTypeDescriptionRequired
createOptionstringThis enumerates the possible sources of a disk's creation.Required
elasticSanResourceIdstringRequired if createOption is CopyFromSanSnapshot.Optional
imageReferenceImageDiskReferenceDisk source information for PIR or user images.Optional
securityDataUristringIf createOption is ImportSecure, this is the URI of a blob to be imported into the VM guest state.Optional
sourceResourceIdstringIf createOption is Copy, this is the ARM id of the source snapshot or disk.Optional
sourceUristringIf createOption is Import, this is the URI of a blob to be imported into a managed disk.Optional
storageAccountIdstringRequired if createOption is Import.Optional

Outputs

The action may return partial results if the timeout limit for workflow actions has been reached. Returns fields as described in Disk.

Snapshots: Create or update

Creates or updates a snapshot.

For more information, see the official documentation for Snapshots: Create or update.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
snapshotNamestringThe name of the snapshot that is being created.Required
snapshotSnapshotSee snapshot fields.Required

snapshot (Snapshot)

FieldTypeDescriptionRequired
locationstringThe geo-location where the resource lives.Required
tagsRecord<string, string>Resource tags.Optional
creationDataCreationDataSee creationData fields.Optional
snapshot.creationData (CreationData)
FieldTypeDescriptionRequired
createOptionstringThis enumerates the possible sources of a disk's creation.Required
sourceResourceIdstringIf createOption is Copy, this is the ARM id of the source snapshot or disk.Optional
storageAccountIdstringRequired if createOption is Import.Optional
sourceUristringIf createOption is Import, this is the URI of a blob to be imported into a managed disk.Optional

Outputs

The action may return partial results if the timeout limit for workflow actions has been reached. Returns fields as described in Snapshot.

Virtual Machine Scale Set VMs: List

Gets a list of all virtual machines in a VM scale set.

For more information, see the official documentation for Virtual Machine Scale Set VMs: List.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
virtualMachineScaleSetNamestringThe name of the VirtualMachineScaleSet.Required

Outputs

Returns an array of VirtualMachineScaleSetVM objects.

Virtual Machine Scale Sets: Create or update

Create or update a VM scale set.

For more information, see the official documentation for Virtual Machine Scale Sets: Create or update.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmScaleSetNamestringThe name of the VM scale set.Required
parametersVirtualMachineScaleSetThe scale set object.Required

Outputs

The action may return partial results if the timeout limit for workflow actions has been reached. Returns fields as described in VirtualMachineScaleSet.

Virtual Machine Scale Sets: Deallocate

Deallocates specific virtual machines in a VM scale set.

For more information, see the official documentation for Virtual Machine Scale Sets: Deallocate.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmScaleSetNamestringThe name of the VM scale set.Required

Outputs

The action does not have an output.

Virtual Machine Scale Sets: Restart

Restarts one or more virtual machines in a VM scale set.

For more information, see the official documentation for Virtual Machine Scale Sets: Restart.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmScaleSetNamestringThe name of the VM scale set.Required

Outputs

The action does not have an output.

Virtual Machine Scale Sets: Get

Display information about a virtual machine scale set.

For more information, see the official documentation for Virtual Machine Scale Sets: Get.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmScaleSetNamestringThe name of the VM scale set.Required

Outputs

Returns fields as described in VirtualMachineScaleSet.

Virtual Machine Scale Sets: List skus

Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.

For more information, see the official documentation for Virtual Machine Scale Sets: List skus.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmScaleSetNamestringThe name of the VM scale set.Required

Outputs

Returns an array of VirtualMachineScaleSetSku objects.

Virtual Machine Scale Sets: List

Gets a list of all VM scale sets under a resource group.

For more information, see the official documentation for Virtual Machine Scale Sets: List.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required

Outputs

Returns an array of VirtualMachineScaleSet objects.

Virtual Machines: Create or update

The operation to create or update a virtual machine.

For more information, see the official documentation for Virtual Machines: Create or update.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required
parametersVirtualMachineSee parameters fields.Required

parameters (VirtualMachine)

FieldTypeDescriptionRequired
locationstringThe geo-location where the resource lives.Required
identityVirtualMachineIdentityThe identity of the virtual machine, if configured.Optional
hardwareProfileHardwareProfileSee hardwareProfile fields.Optional
storageProfileStorageProfileSee storageProfile fields.Optional
osProfileOSProfileSee osProfile fields.Optional
networkProfileNetworkProfileSee networkProfile fields.Optional
parameters.hardwareProfile (HardwareProfile)
FieldTypeDescriptionRequired
vmSizestringSpecifies the size of the virtual machine.Optional
parameters.storageProfile (StorageProfile)
FieldTypeDescriptionRequired
imageReferenceImageReferenceSpecifies information about the image to use.Optional
osDiskOSDiskSpecifies information about the operating system disk used by the virtual machine.Optional
dataDisksDataDisk[]Specifies the parameters that are used to add a data disk to a virtual machine.Optional
parameters.osProfile (OSProfile)
FieldTypeDescriptionRequired
computerNamestringSpecifies the host OS name of the virtual machine.Optional
adminUsernamestringSpecifies the name of the administrator account.Optional
adminPasswordstringSpecifies the password of the administrator account.Optional
linuxConfigurationLinuxConfigurationSpecifies the Linux operating system settings on the virtual machine.Optional
parameters.networkProfile (NetworkProfile)
FieldTypeDescriptionRequired
networkInterfacesNetworkInterfaceReference[]Specifies the list of resource IDs for the network interfaces associated with the virtual machine.Optional

For the adminPassword field, select a credential from the credential vault dropdown to provide the administrator password securely.

Only token or user-password credentials with credential scopes can be used as input. For more information, see Credential scopes.

Outputs

The action may return partial results if the timeout limit for workflow actions has been reached. Returns fields as described in VirtualMachine.

Virtual Machines: Deallocate

Shuts down the virtual machine and releases the compute resources.

For more information, see the official documentation for Virtual Machines: Deallocate.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required

Outputs

The action does not have an output.

Virtual Machines: Delete

The operation to delete a virtual machine.

For more information, see the official documentation for Virtual Machines: Delete.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required

Outputs

The action does not have an output.

Virtual Machines: Install patches

Installs patches on the VM.

For more information, see the official documentation for Virtual Machines: Install patches.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required
installPatchesInputVirtualMachineInstallPatchesParametersInput for InstallPatches as directly received by the API.Required

Outputs

The action may return partial results if the timeout limit for workflow actions has been reached. Returns fields as described in VirtualMachineInstallPatchesResult.

Virtual Machines: Perform maintenance

The operation to perform maintenance on a virtual machine.

For more information, see the official documentation for Virtual Machines: Perform maintenance.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required

Outputs

The action does not have an output.

Virtual Machines: Power off

The operation to power off (stop) a virtual machine.

For more information, see the official documentation for Virtual Machines: Power off.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required

Outputs

The action does not have an output.

Virtual Machines: Redeploy

Shuts down the virtual machine, moves it to a new node, and powers it back on.

For more information, see the official documentation for Virtual Machines: Redeploy.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required

Outputs

The action does not have an output.

Virtual Machines: Restart

The operation to restart a virtual machine.

For more information, see the official documentation for Virtual Machines: Restart.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required

Outputs

The action does not have an output.

Virtual Machines: Run command

Run command on the VM.

For more information, see the official documentation for Virtual Machines: Run command.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required
parametersRunCommandInputSee parameters fields.Required

parameters (RunCommandInput)

FieldTypeDescriptionRequired
commandIdstringSpecifies a commandId of a predefined built-in script.Required
parametersRunCommandInputParameter[]The run command parameters.Optional
scriptstring[]The script to be executed.Optional

Outputs

The action may return partial results if the timeout limit for workflow actions has been reached. Returns fields as described in RunCommandResult.

Virtual Machines: Start

The operation to start a virtual machine.

For more information, see the official documentation for Virtual Machines: Start.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required

Outputs

The action does not have an output.

Virtual Machines: Generalize

Sets the OS state of the virtual machine to generalized.

For more information, see the official documentation for Virtual Machines: Generalize.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required

Outputs

The action does not have an output.

Virtual Machines: Get

Retrieves information about the model view or the instance view of a virtual machine.

For more information, see the official documentation for Virtual Machines: Get.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required

Outputs

Returns fields as described in VirtualMachine.

Virtual Machines: Instance view

Retrieves information about the run-time state of a virtual machine.

For more information, see the official documentation for Virtual Machines: Instance view.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
vmNamestringThe name of the virtual machine.Required

Outputs

Returns fields as described in VirtualMachineInstanceView.

Virtual Machines: List all

Lists all of the virtual machines in the specified subscription.

For more information, see the official documentation for Virtual Machines: List all.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
optionsVirtualMachinesListAllOptionalParamsSee options fields.Optional

options (VirtualMachinesListAllOptionalParams)

FieldTypeDescriptionRequired
filterstringThe system query option to filter VMs returned in the response.Optional

Outputs

Returns an array of VirtualMachine objects.

Virtual Machines: List

Lists all of the virtual machines in the specified resource group.

For more information, see the official documentation for Virtual Machines: List.

Inputs

FieldTypeDescriptionRequired
subscriptionIdstringThe ID of the target subscription.Required
resourceGroupNamestringThe name of the resource group.Required
optionsVirtualMachinesListOptionalParamsSee options fields.Optional

options (VirtualMachinesListOptionalParams)

FieldTypeDescriptionRequired
filterstringThe system query option to filter VMs returned in the response.Optional

Outputs

Returns an array of VirtualMachine objects.

Related tags
Software Delivery