To learn more, visit the Azure documentation.

Parameters

ParameterDescription
Subscription IDThe ID of the target subscription.

Example Output

{    "value": [        {            "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine",            "name": "myMachine",            "location": "eastus2euap",            "tags": null,            "identity": {                "type": "SystemAssigned",                "principalId": "string",                "tenantId": "string"            },            "type": "Microsoft.HybridCompute/machines",            "kind": null,            "properties": {                "provisioningState": "Succeeded",                "agentVersion": null,                "status": null,                "lastStatusChange": null,                "errorDetails": null,                "displayName": null,                "machineFqdn": null,                "vmUuid": null,                "osSku": null,                "osEdition": "Standard",                "domainName": null,                "adFqdn": null,                "dnsFqdn": null,                "osVersion": null,                "osType": null,                "osProfile": {                    "computerName": null,                    "windowsConfiguration": {                        "patchSettings": {                            "assessmentMode": null,                            "patchMode": null                        }                    },                    "linuxConfiguration": {                        "patchSettings": {                            "assessmentMode": null,                            "patchMode": null                        }                    }                },                "licenseProfile": {                    "licenseStatus": "Licensed",                    "licenseChannel": "PSG",                    "softwareAssurance": {                        "softwareAssuranceCustomer": true                    },                    "esuProfile": {                        "licenseAssignmentState": "Assigned",                        "esuEligibility": "Ineligible",                        "serverType": "Standard",                        "esuKeyState": "Inactive",                        "esuKeys": [                            {                                "sku": "skuNumber1",                                "licenseStatus": "licenseStatus1"                            },                            {                                "sku": "skuNumber2",                                "licenseStatus": "licenseStatus2"                            }                        ]                    },                    "productProfile": {                        "subscriptionStatus": "Enabled",                        "productType": "WindowsServer",                        "billingStartDate": "2023-10-05T20:36:49.745Z",                        "enrollmentDate": "2023-10-05T20:36:49.745Z",                        "disenrollmentDate": "2023-11-05T20:36:49.745Z",                        "productFeatures": [                            {                                "name": "HotPatching",                                "subscriptionStatus": "Enabled",                                "billingStartDate": "2023-10-05T20:36:49.745Z",                                "enrollmentDate": "2023-10-05T20:36:49.745Z",                                "disenrollmentDate": "2023-11-05T20:36:49.745Z"                            }                        ]                    }                },                "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",                "locationData": {                    "name": "Redmond"                },                "clientPublicKey": "string",                "parentClusterResourceId": null,                "mssqlDiscovered": "false",                "detectedProperties": {                    "cloudprovider": "N/A",                    "manufacturer": "Microsoft Corporation",                    "model": "Virtual Machine"                },                "agentConfiguration": {                    "proxyUrl": "https://test.test",                    "incomingConnectionsPorts": [                        "22",                        "23"                    ],                    "extensionsAllowList": null,                    "extensionsBlockList": null,                    "proxyBypass": [                        "proxy1",                        "proxy2"                    ],                    "extensionsEnabled": "true",                    "guestConfigurationEnabled": "true",                    "configMode": "full"                },                "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"            }        },        {            "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup2/providers/Microsoft.HybridCompute/machines/myMachine2",            "name": "myMachine2",            "location": "westus2",            "tags": null,            "identity": {                "type": "SystemAssigned",                "principalId": "e7a068cc-b0b8-46e8-a203-22f301a62a8f",                "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f"            },            "type": "Microsoft.HybridCompute/machines",            "kind": null,            "properties": {                "provisioningState": "Succeeded",                "agentVersion": null,                "status": null,                "lastStatusChange": null,                "errorDetails": null,                "displayName": null,                "machineFqdn": null,                "osEdition": "Standard",                "osVersion": null,                "osType": null,                "osProfile": {                    "computerName": null,                    "windowsConfiguration": {                        "patchSettings": {                            "assessmentMode": null,                            "patchMode": null                        }                    },                    "linuxConfiguration": {                        "patchSettings": {                            "assessmentMode": null,                            "patchMode": null                        }                    }                },                "licenseProfile": {                    "licenseStatus": "Licensed",                    "licenseChannel": "PSG",                    "softwareAssurance": {                        "softwareAssuranceCustomer": true                    },                    "esuProfile": {                        "licenseAssignmentState": "Assigned",                        "esuEligibility": "Ineligible",                        "serverType": "Standard",                        "esuKeyState": "Inactive",                        "esuKeys": [                            {                                "sku": "skuNumber1",                                "licenseStatus": "licenseStatus1"                            },                            {                                "sku": "skuNumber2",                                "licenseStatus": "licenseStatus2"                            }                        ]                    },                    "productProfile": {                        "subscriptionStatus": "Enabled",                        "productType": "WindowsServer",                        "billingStartDate": "2023-10-05T20:36:49.745Z",                        "enrollmentDate": "2023-10-05T20:36:49.745Z",                        "disenrollmentDate": "2023-11-05T20:36:49.745Z",                        "productFeatures": [                            {                                "name": "HotPatching",                                "subscriptionStatus": "Enabled",                                "billingStartDate": "2023-10-05T20:36:49.745Z",                                "enrollmentDate": "2023-10-05T20:36:49.745Z",                                "disenrollmentDate": "2023-11-05T20:36:49.745Z"                            }                        ]                    }                },                "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f",                "locationData": {                    "name": "Redmond"                },                "clientPublicKey": "string",                "parentClusterResourceId": "{AzureStackHCIResourceId}",                "mssqlDiscovered": "true",                "detectedProperties": {                    "cloudprovider": "N/A",                    "manufacturer": "Microsoft Corporation",                    "model": "Surfacebook"                },                "agentConfiguration": {                    "proxyUrl": "https://test.test",                    "incomingConnectionsPorts": [                        "22",                        "23"                    ],                    "extensionsAllowList": null,                    "extensionsBlockList": null,                    "proxyBypass": [                        "proxy1",                        "proxy2"                    ],                    "extensionsEnabled": "true",                    "guestConfigurationEnabled": "true",                    "configMode": "full"                }            }        }    ],    "nextLink": "string"}

Workflow Library Example

List Hybrid Machines with Azure and Send Results Via Email

Preview this Workflow on desktop