Returns an array of all Virtual Machines connected to the Azure subscription (where the app permissions allow the Virtual Machine to be read).
Ensure the DriveWorks PowerPack for Microsoft Azure is correctly configured to authenticate with a Microsoft Azure account.
AZPPGetVirtualMachines()
The data will automatically refresh when a Specification is started.
Rule | Result | Meaning |
---|---|---|
AZPPGetVirtualMachines() | {"Name", "Id", "ResourceGroup", "RegionName", "PowerState", "ProvisioningState"; "MyExampleVM", "65A5C12D-A8AF-41AE-A576-26608C35232F", "MyResourceGroup", "uksouth", "Running", "Succeeded"} | This is the array that will be created with the properties of each Virtual Machine connected to an Azure subscription. |
Name | ID | ResourceGroup | RegionName | PowerState | ProvisioningState |
---|---|---|---|---|---|
MyExampleVM | 65A5C12D-A8AF-41AE-A576-26608C35232F | MyResourceGroup | uksouth | Running | Succeeded |
DriveWorks can be hosted on Microsoft Azure, for more information see Microsoft Azure.
More information on the PowerState and ProvisioningState fields and expected values can be found in the following Microsoft articles: