Skip to main content

AzureCompute: Get VM Properties

Description

Use the step to fetch properties of a virtual machine on Azure.

Permissions

  • Microsoft.Resources/subscriptions/resourceGroups/read
  • Microsoft.Compute/virtualMachines/read

API Reference: Get Virtual Machines

Configurations

Field nameDescription
Step nameSpecify a unique name for the step.
CONNECTION tab:Connection fields
Tenant IDSpecify the Tenant ID of Microsoft Account.
Data type is String. The field is mandatory.
Client IDSpecify the Client ID of the application created in Microsoft Account.
Data type is String. The field is mandatory.
Client SecretSpecify the Client Secret generated in Microsoft Account.
Data type is Secure String. The field is mandatory.
Button: Test ConnectionClick Test Connection button to verify whether the connection is available or not.
INPUT tab:Input Fields
Subscription IDSpecify the subscription ID that uniquely identifies the Microsoft Azure Subscription.
Data type is String. The field is mandatory.
Resource GroupSpecify the name of the resource group.
Data type is String. The field is mandatory.
Note:
Button: Get Click to populate the list of available resource groups. To populate the list, user must specify a valid subscription ID.
Virtual Machine NameSpecify the name of the virtual machine to fetch the properties for.
Data type is String. The field is mandatory.
Note:
Click to populate the list of available virtual machines. To populate the list, user must specify a valid resource group and subscription ID.
ExpandUse the field if you want to view more details of the virtual machine. Use any of the following options to 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 user data property as part of the VM model view that was provided by the user during the VM create or update operation.
Default value: instanceView
OUTPUT tab:Output Fields
Response JSONDefine the output variable name. It displays JSON of all the properties associated with the virtual machine.
Default variable name: ResponseJSON