> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Hybrid Machine

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

<Note>
  External Documentation

  To learn more, visit the [Azure documentation](https://learn.microsoft.com/en-us/rest/api/hybridcompute/machines/get?view=rest-hybridcompute-2023-10-03-preview\&tabs=HTTP).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter           | Description                                                                           |
  | ------------------- | ------------------------------------------------------------------------------------- |
  | Machine Name        | The name of the hybrid machine. Can be obtained by the `List Hybrid Machines` action. |
  | Resource Group Name | The name of the resource group.                                                       |
  | Subscription ID     | The ID of the target subscription.                                                    |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter            | Description                                                             |
  | -------------------- | ----------------------------------------------------------------------- |
  | Expand Instance View | Expand the data returned about the instance view of the hybrid machine. |
</div>

## Example Output

```json theme={"dark"}
{
	"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",
			"city": "redmond",
			"district": null,
			"countryOrRegion": "usa"
		},
		"clientPublicKey": "string",
		"parentClusterResourceId": "{AzureStackHCIResourceId}",
		"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"
		},
		"serviceStatuses": {
			"extensionService": {
				"status": "Running",
				"startupType": "Automatic"
			},
			"guestConfigurationService": {
				"status": "Running",
				"startupType": "Automatic"
			}
		},
		"privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName",
		"networkProfile": {
			"networkInterfaces": [
				{
					"ipAddresses": [
						{
							"address": "192.168.12.345",
							"ipAddressVersion": "IPv4",
							"subnet": {
								"addressPrefix": "192.168.12.0/24"
							}
						}
					]
				},
				{
					"ipAddresses": [
						{
							"address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc",
							"ipAddressVersion": "IPv6",
							"subnet": {
								"addressPrefix": "1001:0:34aa:5000::/64"
							}
						}
					]
				}
			]
		}
	},
	"resources": []
}
```

## Workflow Library Example

[Get Hybrid Machine with Azure and Send Results Via Email](https://library.blinkops.com/workflows/get-hybrid-machine-with-azure-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-hybrid-machine-with-azure-and-send-results-via-email/canvas" />
</div>
