{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-arc/json-schema/microsoft-azure-arc-machine-list-result-schema.json",
  "title": "MachineListResult",
  "description": "The response of a Machine list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-arc-machines-api-openapi.yml#/components/schemas/MachineListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The Machine items on this page",
      "items": {
        "$ref": "#/$defs/Machine"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AgentConfiguration": {
      "type": "object",
      "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM.",
      "properties": {
        "proxyUrl": {
          "type": "string",
          "description": "Specifies the URL of the proxy to be used.",
          "readOnly": true
        },
        "incomingConnectionsPorts": {
          "type": "array",
          "description": "Specifies the list of ports that the agent will be able to listen on.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "extensionsAllowList": {
          "type": "array",
          "description": "Array of extensions that are allowed to be installed or updated.",
          "items": {
            "$ref": "#/$defs/ConfigurationExtension"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        },
        "extensionsBlockList": {
          "type": "array",
          "description": "Array of extensions that are blocked (cannot be installed or updated)",
          "items": {
            "$ref": "#/$defs/ConfigurationExtension"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        },
        "proxyBypass": {
          "type": "array",
          "description": "List of service names which should not use the specified proxy server.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "extensionsEnabled": {
          "type": "string",
          "description": "Specifies whether the extension service is enabled or disabled.",
          "readOnly": true
        },
        "guestConfigurationEnabled": {
          "type": "string",
          "description": "Specified whether the guest configuration service is enabled or disabled.",
          "readOnly": true
        },
        "configMode": {
          "$ref": "#/$defs/AgentConfigurationMode",
          "description": "Name of configuration mode to use. Modes are pre-defined configurations of security controls, extension allowlists and guest configuration, maintained by Microsoft.",
          "readOnly": true
        }
      }
    },
    "AgentConfigurationMode": {
      "type": "string",
      "description": "Name of configuration mode to use. Modes are pre-defined configurations of security controls, extension allowlists and guest configuration, maintained by Microsoft.",
      "enum": [
        "full",
        "monitor"
      ],
      "x-ms-enum": {
        "name": "AgentConfigurationMode",
        "modelAsString": true,
        "values": [
          {
            "name": "full",
            "value": "full",
            "description": "full"
          },
          {
            "name": "monitor",
            "value": "monitor",
            "description": "monitor"
          }
        ]
      }
    },
    "AgentUpgrade": {
      "type": "object",
      "description": "The info w.r.t Agent Upgrade.",
      "properties": {
        "desiredVersion": {
          "type": "string",
          "description": "Specifies the version info w.r.t AgentUpgrade for the machine."
        },
        "correlationId": {
          "type": "string",
          "format": "uuid",
          "description": "The correlation ID associated with an agent upgrade operation."
        },
        "enableAutomaticUpgrade": {
          "type": "boolean",
          "description": "Specifies if the machine's agent should be upgraded"
        },
        "lastAttemptDesiredVersion": {
          "type": "string",
          "description": "Specifies the version of the last attempt",
          "readOnly": true
        },
        "lastAttemptTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp of last upgrade attempt",
          "readOnly": true
        },
        "lastAttemptStatus": {
          "$ref": "#/$defs/LastAttemptStatusEnum",
          "description": "Specifies the status of Agent Upgrade.",
          "readOnly": true
        },
        "lastAttemptMessage": {
          "type": "string",
          "description": "Failure message of last upgrade attempt if any.",
          "readOnly": true
        }
      }
    },
    "ArcKindEnum": {
      "type": "string",
      "description": "Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc.",
      "enum": [
        "AVS",
        "HCI",
        "SCVMM",
        "VMware",
        "EPS",
        "GCP",
        "AWS"
      ],
      "x-ms-enum": {
        "name": "ArcKindEnum",
        "modelAsString": true,
        "values": [
          {
            "name": "AVS",
            "value": "AVS",
            "description": "AVS"
          },
          {
            "name": "HCI",
            "value": "HCI",
            "description": "HCI"
          },
          {
            "name": "SCVMM",
            "value": "SCVMM",
            "description": "SCVMM"
          },
          {
            "name": "VMware",
            "value": "VMware",
            "description": "VMware"
          },
          {
            "name": "EPS",
            "value": "EPS",
            "description": "EPS"
          },
          {
            "name": "GCP",
            "value": "GCP",
            "description": "GCP"
          },
          {
            "name": "AWS",
            "value": "AWS",
            "description": "AWS"
          }
        ]
      }
    },
    "AssessmentModeTypes": {
      "type": "string",
      "description": "Specifies the assessment mode.",
      "enum": [
        "ImageDefault",
        "AutomaticByPlatform"
      ],
      "x-ms-enum": {
        "name": "AssessmentModeTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "ImageDefault",
            "value": "ImageDefault",
            "description": "ImageDefault"
          },
          {
            "name": "AutomaticByPlatform",
            "value": "AutomaticByPlatform",
            "description": "AutomaticByPlatform"
          }
        ]
      }
    },
    "CloudMetadata": {
      "type": "object",
      "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...).",
      "properties": {
        "provider": {
          "type": "string",
          "description": "Specifies the cloud provider (Azure/AWS/GCP...).",
          "readOnly": true
        }
      }
    },
    "ConfigurationExtension": {
      "type": "object",
      "description": "Describes properties that can identify extensions.",
      "properties": {
        "publisher": {
          "type": "string",
          "description": "Publisher of the extension.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Type of the extension.",
          "readOnly": true
        }
      }
    },
    "Disk": {
      "type": "object",
      "description": "Describes a disk on the machine",
      "properties": {
        "path": {
          "type": "string",
          "description": "The path of the disk."
        },
        "diskType": {
          "type": "string",
          "description": "The type of the disk."
        },
        "generatedId": {
          "type": "string",
          "description": "The generated ID of the disk."
        },
        "id": {
          "type": "string",
          "description": "The ID of the disk."
        },
        "name": {
          "type": "string",
          "description": "The name of the disk."
        },
        "maxSizeInBytes": {
          "type": "integer",
          "format": "int64",
          "description": "The size of the disk, in bytes"
        },
        "usedSpaceInBytes": {
          "type": "integer",
          "format": "int64",
          "description": "The amount of space used on the disk, in bytes"
        }
      }
    },
    "ErrorDetail": {
      "type": "object",
      "description": "The error detail.",
      "properties": {
        "code": {
          "type": "string",
          "description": "The error code.",
          "readOnly": true
        },
        "message": {
          "type": "string",
          "description": "The error message.",
          "readOnly": true
        },
        "target": {
          "type": "string",
          "description": "The error target.",
          "readOnly": true
        },
        "details": {
          "type": "array",
          "description": "The error details.",
          "items": {
            "$ref": "#/$defs/ErrorDetail"
          },
          "readOnly": true,
          "x-ms-identifiers": [
            "message",
            "target"
          ]
        },
        "additionalInfo": {
          "type": "array",
          "description": "The error additional info.",
          "items": {
            "$ref": "#/$defs/ErrorAdditionalInfo"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "EsuEligibility": {
      "type": "string",
      "description": "The ESU eligibility.",
      "enum": [
        "Eligible",
        "Ineligible",
        "Unknown"
      ],
      "x-ms-enum": {
        "name": "EsuEligibility",
        "modelAsString": true,
        "values": [
          {
            "name": "Eligible",
            "value": "Eligible",
            "description": "Eligible"
          },
          {
            "name": "Ineligible",
            "value": "Ineligible",
            "description": "Ineligible"
          },
          {
            "name": "Unknown",
            "value": "Unknown",
            "description": "Unknown"
          }
        ]
      }
    },
    "EsuKey": {
      "type": "object",
      "description": "ESU key",
      "properties": {
        "sku": {
          "type": "string",
          "description": "SKU number."
        },
        "licenseStatus": {
          "type": "integer",
          "format": "int32",
          "description": "The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status."
        }
      }
    },
    "EsuKeyState": {
      "type": "string",
      "description": "The ESU key state.",
      "enum": [
        "Inactive",
        "Active"
      ],
      "x-ms-enum": {
        "name": "EsuKeyState",
        "modelAsString": true,
        "values": [
          {
            "name": "Inactive",
            "value": "Inactive",
            "description": "Inactive"
          },
          {
            "name": "Active",
            "value": "Active",
            "description": "Active"
          }
        ]
      }
    },
    "EsuServerType": {
      "type": "string",
      "description": "The server types for Esu.",
      "enum": [
        "Standard",
        "Datacenter"
      ],
      "x-ms-enum": {
        "name": "EsuServerType",
        "modelAsString": true,
        "values": [
          {
            "name": "Standard",
            "value": "Standard",
            "description": "Standard"
          },
          {
            "name": "Datacenter",
            "value": "Datacenter",
            "description": "Datacenter"
          }
        ]
      }
    },
    "FirmwareProfile": {
      "type": "object",
      "description": "Describes the firmware of the machine",
      "properties": {
        "serialNumber": {
          "type": "string",
          "description": "The serial number of the firmware",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the firmware",
          "readOnly": true
        }
      }
    },
    "HardwareProfile": {
      "type": "object",
      "description": "Describes the hardware of the machine",
      "properties": {
        "totalPhysicalMemoryInBytes": {
          "type": "integer",
          "format": "int64",
          "description": "The total physical memory on the machine",
          "readOnly": true
        },
        "numberOfCpuSockets": {
          "type": "integer",
          "format": "int32",
          "description": "The total number of CPU sockets available on the machine",
          "readOnly": true
        },
        "processors": {
          "type": "array",
          "description": "The physical processors of the machine.",
          "items": {
            "$ref": "#/$defs/Processor"
          },
          "readOnly": true
        }
      }
    },
    "HotpatchEnablementStatus": {
      "type": "string",
      "description": "Status of hotpatch enablement or disablement.",
      "enum": [
        "Unknown",
        "PendingEvaluation",
        "Disabled",
        "ActionRequired",
        "Enabled"
      ],
      "x-ms-enum": {
        "name": "HotpatchEnablementStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown",
            "description": "Unknown"
          },
          {
            "name": "PendingEvaluation",
            "value": "PendingEvaluation",
            "description": "PendingEvaluation"
          },
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "Disabled"
          },
          {
            "name": "ActionRequired",
            "value": "ActionRequired",
            "description": "ActionRequired"
          },
          {
            "name": "Enabled",
            "value": "Enabled",
            "description": "Enabled"
          }
        ]
      }
    },
    "IdentityKeyStore": {
      "type": "string",
      "description": "Specifies the identity key store a machine is using.",
      "enum": [
        "TPM",
        "Default",
        "TpmTransition"
      ],
      "x-ms-enum": {
        "name": "IdentityKeyStore",
        "modelAsString": true,
        "values": [
          {
            "name": "TPM",
            "value": "TPM",
            "description": "TPM"
          },
          {
            "name": "Default",
            "value": "Default",
            "description": "Default"
          },
          {
            "name": "TpmTransition",
            "value": "TpmTransition",
            "description": "The machine is transitioning its identity key store to TPM."
          }
        ]
      }
    },
    "IpAddress": {
      "type": "object",
      "description": "Describes properties of the IP address.",
      "properties": {
        "address": {
          "type": "string",
          "description": "Represents the IP Address."
        },
        "ipAddressVersion": {
          "type": "string",
          "description": "Represents the Ip Address Version."
        },
        "subnet": {
          "$ref": "#/$defs/Subnet",
          "description": "The subnet to which this IP address belongs.",
          "readOnly": true
        }
      }
    },
    "LastAttemptStatusEnum": {
      "type": "string",
      "description": "Specifies the status of Agent Upgrade.",
      "enum": [
        "Success",
        "Failed"
      ],
      "x-ms-enum": {
        "name": "LastAttemptStatusEnum",
        "modelAsString": true,
        "values": [
          {
            "name": "Success",
            "value": "Success",
            "description": "Success"
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          }
        ]
      }
    },
    "License": {
      "type": "object",
      "description": "Describes a license in a hybrid machine.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/LicenseProperties",
          "description": "Hybrid Compute License properties",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/TrackedResource"
        }
      ]
    },
    "LicenseAssignmentState": {
      "type": "string",
      "description": "Describes the license assignment state (Assigned or NotAssigned).",
      "enum": [
        "Assigned",
        "NotAssigned"
      ],
      "x-ms-enum": {
        "name": "LicenseAssignmentState",
        "modelAsString": true,
        "values": [
          {
            "name": "Assigned",
            "value": "Assigned",
            "description": "Assigned"
          },
          {
            "name": "NotAssigned",
            "value": "NotAssigned",
            "description": "NotAssigned"
          }
        ]
      }
    },
    "LicenseCoreType": {
      "type": "string",
      "description": "Describes the license core type (pCore or vCore).",
      "enum": [
        "pCore",
        "vCore"
      ],
      "x-ms-enum": {
        "name": "LicenseCoreType",
        "modelAsString": true,
        "values": [
          {
            "name": "pCore",
            "value": "pCore",
            "description": "pCore"
          },
          {
            "name": "vCore",
            "value": "vCore",
            "description": "vCore"
          }
        ]
      }
    },
    "LicenseDetails": {
      "type": "object",
      "description": "Describes the properties of a License.",
      "properties": {
        "state": {
          "$ref": "#/$defs/LicenseState",
          "description": "Describes the state of the license."
        },
        "target": {
          "$ref": "#/$defs/LicenseTarget",
          "description": "Describes the license target server."
        },
        "edition": {
          "$ref": "#/$defs/LicenseEdition",
          "description": "Describes the edition of the license. The values are either Standard or Datacenter."
        },
        "type": {
          "$ref": "#/$defs/LicenseCoreType",
          "description": "Describes the license core type (pCore or vCore)."
        },
        "processors": {
          "type": "integer",
          "format": "int32",
          "description": "Describes the number of processors."
        },
        "assignedLicenses": {
          "type": "integer",
          "format": "int32",
          "description": "Describes the number of assigned licenses.",
          "readOnly": true
        },
        "immutableId": {
          "type": "string",
          "description": "Describes the immutable id.",
          "readOnly": true
        },
        "volumeLicenseDetails": {
          "type": "array",
          "description": "A list of volume license details.",
          "items": {
            "$ref": "#/$defs/VolumeLicenseDetails"
          }
        }
      }
    },
    "LicenseEdition": {
      "type": "string",
      "description": "Describes the edition of the license. The values are either Standard or Datacenter.",
      "enum": [
        "Standard",
        "Datacenter"
      ],
      "x-ms-enum": {
        "name": "LicenseEdition",
        "modelAsString": true,
        "values": [
          {
            "name": "Standard",
            "value": "Standard",
            "description": "Standard"
          },
          {
            "name": "Datacenter",
            "value": "Datacenter",
            "description": "Datacenter"
          }
        ]
      }
    },
    "LicenseProfileArmEsuPropertiesWithoutAssignedLicense": {
      "type": "object",
      "description": "Describes the properties of a License Profile ARM model.",
      "properties": {
        "serverType": {
          "$ref": "#/$defs/EsuServerType",
          "description": "The type of the Esu servers.",
          "readOnly": true
        },
        "esuEligibility": {
          "$ref": "#/$defs/EsuEligibility",
          "description": "Indicates the eligibility state of Esu.",
          "readOnly": true
        },
        "esuKeyState": {
          "$ref": "#/$defs/EsuKeyState",
          "description": "Indicates whether there is an ESU Key currently active for the machine.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/LicenseProfileStorageModelEsuProperties"
        }
      ]
    },
    "LicenseProfileArmProductProfileProperties": {
      "type": "object",
      "description": "Describes the properties of a Product License Profile ARM model.",
      "properties": {
        "subscriptionStatus": {
          "$ref": "#/$defs/LicenseProfileSubscriptionStatus",
          "description": "Indicates the subscription status of the product."
        },
        "productType": {
          "$ref": "#/$defs/LicenseProfileProductType",
          "description": "Indicates the product type of the license."
        },
        "enrollmentDate": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp in UTC when the user enrolls the feature.",
          "readOnly": true
        },
        "billingStartDate": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp in UTC when the billing starts.",
          "readOnly": true
        },
        "disenrollmentDate": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp in UTC when the user disenrolled the feature.",
          "readOnly": true
        },
        "billingEndDate": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp in UTC when the billing ends.",
          "readOnly": true
        },
        "error": {
          "$ref": "#/$defs/ErrorDetail",
          "description": "The errors that were encountered during the feature enrollment or disenrollment.",
          "readOnly": true
        },
        "productFeatures": {
          "type": "array",
          "description": "The list of product features.",
          "items": {
            "$ref": "#/$defs/ProductFeature"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "LicenseProfileMachineInstanceView": {
      "type": "object",
      "description": "License Profile Instance View in Machine Properties.",
      "properties": {
        "licenseStatus": {
          "$ref": "#/$defs/LicenseStatus",
          "description": "Indicates the license status of the OS.",
          "readOnly": true
        },
        "licenseChannel": {
          "type": "string",
          "description": "Indicates the license channel.",
          "readOnly": true
        },
        "softwareAssurance": {
          "$ref": "#/$defs/LicenseProfileMachineInstanceViewSoftwareAssurance",
          "readOnly": true,
          "x-ms-client-flatten": true
        },
        "esuProfile": {
          "$ref": "#/$defs/LicenseProfileMachineInstanceViewEsuProperties",
          "description": "Properties for the Machine ESU profile."
        },
        "productProfile": {
          "$ref": "#/$defs/LicenseProfileArmProductProfileProperties",
          "description": "Hybrid Compute Product Profile properties",
          "readOnly": true,
          "x-ms-client-flatten": true
        }
      }
    },
    "LicenseProfileMachineInstanceViewEsuProperties": {
      "type": "object",
      "description": "Properties for the Machine ESU profile.",
      "properties": {
        "assignedLicense": {
          "$ref": "#/$defs/License",
          "description": "The assigned license resource."
        },
        "licenseAssignmentState": {
          "$ref": "#/$defs/LicenseAssignmentState",
          "description": "Describes the license assignment state (Assigned or NotAssigned)."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/LicenseProfileArmEsuPropertiesWithoutAssignedLicense"
        }
      ]
    },
    "LicenseProfileMachineInstanceViewSoftwareAssurance": {
      "type": "object",
      "properties": {
        "softwareAssuranceCustomer": {
          "type": "boolean",
          "description": "Specifies if this machine is licensed as part of a Software Assurance agreement."
        }
      }
    },
    "LicenseProfileProductType": {
      "type": "string",
      "description": "The product type of the license.",
      "enum": [
        "WindowsServer",
        "WindowsIoTEnterprise"
      ],
      "x-ms-enum": {
        "name": "LicenseProfileProductType",
        "modelAsString": true,
        "values": [
          {
            "name": "WindowsServer",
            "value": "WindowsServer",
            "description": "WindowsServer"
          },
          {
            "name": "WindowsIoTEnterprise",
            "value": "WindowsIoTEnterprise",
            "description": "WindowsIoTEnterprise"
          }
        ]
      }
    },
    "LicenseProfileStorageModelEsuProperties": {
      "type": "object",
      "description": "License profile storage model for ESU properties.",
      "properties": {
        "assignedLicenseImmutableId": {
          "type": "string",
          "description": "The guid id of the license.",
          "readOnly": true
        },
        "esuKeys": {
          "type": "array",
          "description": "The list of ESU keys.",
          "items": {
            "$ref": "#/$defs/EsuKey"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "LicenseProfileSubscriptionStatus": {
      "type": "string",
      "description": "Subscription status of the OS or Product feature.",
      "enum": [
        "Unknown",
        "Enabling",
        "Enabled",
        "Disabled",
        "Disabling",
        "Failed"
      ],
      "x-ms-enum": {
        "name": "LicenseProfileSubscriptionStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown",
            "description": "Unknown"
          },
          {
            "name": "Enabling",
            "value": "Enabling",
            "description": "Enabling"
          },
          {
            "name": "Enabled",
            "value": "Enabled",
            "description": "Enabled"
          },
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "Disabled"
          },
          {
            "name": "Disabling",
            "value": "Disabling",
            "description": "Disabling"
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          }
        ]
      }
    },
    "LicenseProperties": {
      "type": "object",
      "description": "Describes the properties of a License Profile.",
      "properties": {
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state, which only appears in the response.",
          "readOnly": true
        },
        "tenantId": {
          "type": "string",
          "description": "Describes the tenant id."
        },
        "licenseType": {
          "$ref": "#/$defs/LicenseType",
          "description": "The type of the license resource."
        },
        "licenseDetails": {
          "$ref": "#/$defs/LicenseDetails",
          "description": "Describes the properties of a License."
        }
      }
    },
    "LicenseState": {
      "type": "string",
      "description": "Describes the state of the license.",
      "enum": [
        "Activated",
        "Deactivated"
      ],
      "x-ms-enum": {
        "name": "LicenseState",
        "modelAsString": true,
        "values": [
          {
            "name": "Activated",
            "value": "Activated",
            "description": "Activated"
          },
          {
            "name": "Deactivated",
            "value": "Deactivated",
            "description": "Deactivated"
          }
        ]
      }
    },
    "LicenseStatus": {
      "type": "string",
      "description": "The license status.",
      "enum": [
        "Unlicensed",
        "Licensed",
        "OOBGrace",
        "OOTGrace",
        "NonGenuineGrace",
        "Notification",
        "ExtendedGrace"
      ],
      "x-ms-enum": {
        "name": "LicenseStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Unlicensed",
            "value": "Unlicensed",
            "description": "Unlicensed"
          },
          {
            "name": "Licensed",
            "value": "Licensed",
            "description": "Licensed"
          },
          {
            "name": "OOBGrace",
            "value": "OOBGrace",
            "description": "OOBGrace"
          },
          {
            "name": "OOTGrace",
            "value": "OOTGrace",
            "description": "OOTGrace"
          },
          {
            "name": "NonGenuineGrace",
            "value": "NonGenuineGrace",
            "description": "NonGenuineGrace"
          },
          {
            "name": "Notification",
            "value": "Notification",
            "description": "Notification"
          },
          {
            "name": "ExtendedGrace",
            "value": "ExtendedGrace",
            "description": "ExtendedGrace"
          }
        ]
      }
    },
    "LicenseTarget": {
      "type": "string",
      "description": "Describes the license target server.",
      "enum": [
        "Windows Server 2012",
        "Windows Server 2012 R2",
        "Windows Server 2016"
      ],
      "x-ms-enum": {
        "name": "LicenseTarget",
        "modelAsString": true,
        "values": [
          {
            "name": "Windows Server 2012",
            "value": "Windows Server 2012",
            "description": "Windows Server 2012"
          },
          {
            "name": "Windows Server 2012 R2",
            "value": "Windows Server 2012 R2",
            "description": "Windows Server 2012 R2"
          },
          {
            "name": "Windows Server 2016",
            "value": "Windows Server 2016",
            "description": "Windows Server 2016 license target."
          }
        ]
      }
    },
    "LicenseType": {
      "type": "string",
      "description": "The type of the license resource.",
      "enum": [
        "ESU"
      ],
      "x-ms-enum": {
        "name": "LicenseType",
        "modelAsString": true,
        "values": [
          {
            "name": "ESU",
            "value": "ESU",
            "description": "ESU"
          }
        ]
      }
    },
    "Machine": {
      "type": "object",
      "description": "Describes a hybrid machine.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/MachineProperties",
          "description": "Hybrid Compute Machine properties",
          "x-ms-client-flatten": true
        },
        "resources": {
          "type": "array",
          "description": "The list of extensions affiliated to the machine",
          "items": {
            "$ref": "#/$defs/MachineExtension"
          },
          "readOnly": true
        },
        "identity": {
          "$ref": "#/$defs/ManagedServiceIdentity",
          "description": "Identity for the resource."
        },
        "kind": {
          "$ref": "#/$defs/ArcKindEnum",
          "description": "Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/TrackedResource"
        }
      ]
    },
    "MachineExtension": {
      "type": "object",
      "description": "Describes a Machine Extension.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/MachineExtensionProperties",
          "description": "Describes Machine Extension Properties."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/TrackedResource"
        }
      ]
    },
    "MachineExtensionInstanceView": {
      "type": "object",
      "description": "Describes the Machine Extension Instance View.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The machine extension name."
        },
        "type": {
          "type": "string",
          "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
        },
        "typeHandlerVersion": {
          "type": "string",
          "description": "Specifies the version of the script handler."
        },
        "status": {
          "$ref": "#/$defs/MachineExtensionInstanceViewStatus",
          "description": "Instance view status."
        }
      }
    },
    "MachineExtensionInstanceViewStatus": {
      "type": "object",
      "description": "Instance view status.",
      "properties": {
        "code": {
          "type": "string",
          "description": "The status code."
        },
        "level": {
          "$ref": "#/$defs/StatusLevelTypes",
          "description": "The level code."
        },
        "displayStatus": {
          "type": "string",
          "description": "The short localizable label for the status."
        },
        "message": {
          "type": "string",
          "description": "The detailed status message, including for alerts and error messages."
        },
        "time": {
          "type": "string",
          "format": "date-time",
          "description": "The time of the status."
        }
      }
    },
    "MachineExtensionProperties": {
      "type": "object",
      "description": "Describes the properties of a Machine Extension.",
      "properties": {
        "forceUpdateTag": {
          "type": "string",
          "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
        },
        "publisher": {
          "type": "string",
          "description": "The name of the extension handler publisher."
        },
        "type": {
          "type": "string",
          "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
        },
        "typeHandlerVersion": {
          "type": "string",
          "description": "Specifies the version of the script handler."
        },
        "enableAutomaticUpgrade": {
          "type": "boolean",
          "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available."
        },
        "autoUpgradeMinorVersion": {
          "type": "boolean",
          "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
        },
        "settings": {
          "type": "object",
          "description": "Json formatted public settings for the extension.",
          "additionalProperties": {}
        },
        "protectedSettings": {
          "type": "object",
          "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
          "additionalProperties": {}
        },
        "provisioningState": {
          "type": "string",
          "description": "The provisioning state, which only appears in the response.",
          "readOnly": true
        },
        "instanceView": {
          "$ref": "#/$defs/MachineExtensionInstanceView",
          "description": "The machine extension instance view."
        }
      }
    },
    "MachineProperties": {
      "type": "object",
      "description": "Describes the properties of a hybrid machine.",
      "properties": {
        "locationData": {
          "$ref": "#/$defs/locationData",
          "description": "Metadata pertaining to the geographic location of the resource."
        },
        "agentConfiguration": {
          "$ref": "#/$defs/AgentConfiguration",
          "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM.",
          "readOnly": true
        },
        "serviceStatuses": {
          "$ref": "#/$defs/ServiceStatuses",
          "description": "Statuses of dependent services that are reported back to ARM."
        },
        "hardwareProfile": {
          "$ref": "#/$defs/HardwareProfile",
          "description": "Information about the machine's hardware",
          "readOnly": true
        },
        "storageProfile": {
          "$ref": "#/$defs/StorageProfile",
          "description": "Information about the machine's storage",
          "readOnly": true
        },
        "firmwareProfile": {
          "$ref": "#/$defs/FirmwareProfile",
          "description": "Information about the machine's firmware",
          "readOnly": true
        },
        "cloudMetadata": {
          "$ref": "#/$defs/CloudMetadata",
          "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)."
        },
        "agentUpgrade": {
          "$ref": "#/$defs/AgentUpgrade",
          "description": "The info of the machine w.r.t Agent Upgrade"
        },
        "osProfile": {
          "$ref": "#/$defs/OSProfile",
          "description": "Specifies the operating system settings for the hybrid machine."
        },
        "licenseProfile": {
          "$ref": "#/$defs/LicenseProfileMachineInstanceView",
          "description": "Specifies the License related properties for a machine."
        },
        "statusReason": {
          "$ref": "#/$defs/MachineStatusReason",
          "description": "Indicates whether the service has detected that this Arc machine is a clone of another onboarded machine. Service-computed; not settable by the user.",
          "readOnly": true
        },
        "provisioningState": {
          "type": "string",
          "description": "The provisioning state, which only appears in the response.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/StatusTypes",
          "description": "The status of the hybrid machine agent.",
          "readOnly": true
        },
        "lastStatusChange": {
          "type": "string",
          "format": "date-time",
          "description": "The time of the last status change.",
          "readOnly": true
        },
        "errorDetails": {
          "type": "array",
          "description": "Details about the error state.",
          "items": {
            "$ref": "#/$defs/ErrorDetail"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        },
        "agentVersion": {
          "type": "string",
          "description": "The hybrid machine agent full version.",
          "readOnly": true
        },
        "vmId": {
          "type": "string",
          "format": "uuid",
          "description": "Specifies the hybrid machine unique ID.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "displayName": {
          "type": "string",
          "description": "Specifies the hybrid machine display name.",
          "readOnly": true
        },
        "machineFqdn": {
          "type": "string",
          "description": "Specifies the hybrid machine FQDN.",
          "readOnly": true
        },
        "clientPublicKey": {
          "type": "string",
          "description": "Public Key that the client provides to be used during initial resource onboarding"
        },
        "identityKeyStore": {
          "$ref": "#/$defs/IdentityKeyStore",
          "description": "Specifies the identity key store a machine is using."
        },
        "tpmEkCertificate": {
          "type": "string",
          "description": "Endorsement Key Certificate of the Trusted Platform Module (TPM) that the client provides to be used during initial resource onboarding."
        },
        "osName": {
          "type": "string",
          "description": "The Operating System running on the hybrid machine.",
          "readOnly": true
        },
        "osVersion": {
          "type": "string",
          "description": "The version of Operating System running on the hybrid machine.",
          "readOnly": true
        },
        "osType": {
          "type": "string",
          "description": "The type of Operating System (windows/linux)."
        },
        "vmUuid": {
          "type": "string",
          "format": "uuid",
          "description": "Specifies the Arc Machine's unique SMBIOS ID",
          "readOnly": true
        },
        "extensions": {
          "type": "array",
          "description": "Machine Extensions information (deprecated field)",
          "items": {
            "$ref": "#/$defs/MachineExtensionInstanceView"
          },
          "x-ms-identifiers": []
        },
        "osSku": {
          "type": "string",
          "description": "Specifies the Operating System product SKU.",
          "readOnly": true
        },
        "osEdition": {
          "type": "string",
          "description": "The edition of the Operating System.",
          "readOnly": true
        },
        "domainName": {
          "type": "string",
          "description": "Specifies the Windows domain name.",
          "readOnly": true
        },
        "adFqdn": {
          "type": "string",
          "description": "Specifies the AD fully qualified display name.",
          "readOnly": true
        },
        "dnsFqdn": {
          "type": "string",
          "description": "Specifies the DNS fully qualified display name.",
          "readOnly": true
        },
        "privateLinkScopeResourceId": {
          "type": "string",
          "format": "arm-id",
          "description": "The resource id of the private link scope this machine is assigned to, if any."
        },
        "parentClusterResourceId": {
          "type": "string",
          "format": "arm-id",
          "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any."
        },
        "hardwareResourceId": {
          "type": "string",
          "description": "Specifies the resource ID of the associated hardware device. Only settable by HCI RP."
        },
        "mssqlDiscovered": {
          "type": "string",
          "description": "Specifies whether any MS SQL instance is discovered on the machine."
        },
        "detectedProperties": {
          "type": "object",
          "description": "Detected properties from the machine.",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        },
        "networkProfile": {
          "$ref": "#/$defs/NetworkProfile",
          "description": "Information about the network the machine is on.",
          "readOnly": true
        }
      }
    },
    "MachineStatusReason": {
      "type": "string",
      "description": "The reason describing why the service set the machine status to a particular value.",
      "enum": [
        "Cloned"
      ],
      "x-ms-enum": {
        "name": "MachineStatusReason",
        "modelAsString": true,
        "values": [
          {
            "name": "Cloned",
            "value": "Cloned",
            "description": "Indicates the service has detected that this Arc machine is a clone of another onboarded machine."
          }
        ]
      }
    },
    "ManagedServiceIdentity": {
      "type": "object",
      "description": "Managed service identity (system assigned and/or user assigned identities)",
      "properties": {
        "principalId": {
          "type": "string",
          "format": "uuid",
          "description": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "tenantId": {
          "type": "string",
          "format": "uuid",
          "description": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "type": {
          "$ref": "#/$defs/ManagedServiceIdentityType"
        },
        "userAssignedIdentities": {
          "type": "object",
          "description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.",
          "additionalProperties": {
            "$ref": "#/$defs/UserAssignedIdentity"
          }
        }
      },
      "required": [
        "type"
      ]
    },
    "NetworkInterface": {
      "type": "object",
      "description": "Describes a network interface.",
      "properties": {
        "macAddress": {
          "type": "string",
          "description": "Represents MAC address of the network interface."
        },
        "id": {
          "type": "string",
          "description": "Represents the ID of the network interface."
        },
        "name": {
          "type": "string",
          "description": "Represents the name of the network interface."
        },
        "ipAddresses": {
          "type": "array",
          "description": "The list of IP addresses in this interface.",
          "items": {
            "$ref": "#/$defs/IpAddress"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "NetworkProfile": {
      "type": "object",
      "description": "Describes the network information on this machine.",
      "properties": {
        "networkInterfaces": {
          "type": "array",
          "description": "The list of network interfaces.",
          "items": {
            "$ref": "#/$defs/NetworkInterface"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "OSProfile": {
      "type": "object",
      "description": "Specifies the operating system settings for the hybrid machine.",
      "properties": {
        "computerName": {
          "type": "string",
          "description": "Specifies the host OS name of the hybrid machine.",
          "readOnly": true
        },
        "windowsConfiguration": {
          "$ref": "#/$defs/OSProfileWindowsConfiguration",
          "description": "Specifies the windows configuration for update management."
        },
        "linuxConfiguration": {
          "$ref": "#/$defs/OSProfileLinuxConfiguration",
          "description": "Specifies the linux configuration for update management."
        }
      }
    },
    "OSProfileLinuxConfiguration": {
      "type": "object",
      "description": "Specifies the linux configuration for update management.",
      "properties": {
        "patchSettings": {
          "$ref": "#/$defs/PatchSettings",
          "description": "Specifies the patch settings.",
          "x-ms-client-flatten": true
        }
      }
    },
    "OSProfileWindowsConfiguration": {
      "type": "object",
      "description": "Specifies the windows configuration for update management.",
      "properties": {
        "patchSettings": {
          "$ref": "#/$defs/PatchSettings",
          "description": "Specifies the patch settings.",
          "x-ms-client-flatten": true
        }
      }
    },
    "PatchModeTypes": {
      "type": "string",
      "description": "Specifies the patch mode.",
      "enum": [
        "ImageDefault",
        "AutomaticByPlatform",
        "AutomaticByOS",
        "Manual"
      ],
      "x-ms-enum": {
        "name": "PatchModeTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "ImageDefault",
            "value": "ImageDefault",
            "description": "ImageDefault"
          },
          {
            "name": "AutomaticByPlatform",
            "value": "AutomaticByPlatform",
            "description": "AutomaticByPlatform"
          },
          {
            "name": "AutomaticByOS",
            "value": "AutomaticByOS",
            "description": "AutomaticByOS"
          },
          {
            "name": "Manual",
            "value": "Manual",
            "description": "Manual"
          }
        ]
      }
    },
    "PatchSettings": {
      "type": "object",
      "description": "Specifies the patch settings.",
      "properties": {
        "assessmentMode": {
          "$ref": "#/$defs/AssessmentModeTypes",
          "description": "Specifies the assessment mode."
        },
        "patchMode": {
          "$ref": "#/$defs/PatchModeTypes",
          "description": "Specifies the patch mode."
        },
        "enableHotpatching": {
          "type": "boolean",
          "description": "Captures the hotpatch capability enrollment intent of the customers, which enables customers to patch their Windows machines without requiring a reboot."
        },
        "status": {
          "$ref": "#/$defs/PatchSettingsStatus",
          "description": "Status of the hotpatch capability enrollment or disenrollment.",
          "readOnly": true
        }
      }
    },
    "PatchSettingsStatus": {
      "type": "object",
      "description": "Status of the hotpatch capability enrollment or disenrollment.",
      "properties": {
        "hotpatchEnablementStatus": {
          "$ref": "#/$defs/HotpatchEnablementStatus",
          "description": "Indicates the current status of the hotpatch being enabled or disabled."
        },
        "error": {
          "$ref": "#/$defs/ErrorDetail",
          "description": "The errors that were encountered during the hotpatch capability enrollment or disenrollment.",
          "readOnly": true
        }
      }
    },
    "Processor": {
      "type": "object",
      "description": "Describes the firmware of the machine",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the processor.",
          "readOnly": true
        },
        "numberOfCores": {
          "type": "integer",
          "format": "int32",
          "description": "The total number of physical cores on the processor.",
          "readOnly": true
        }
      }
    },
    "ProductFeature": {
      "type": "object",
      "description": "Product Feature",
      "properties": {
        "name": {
          "type": "string",
          "description": "Product feature name."
        },
        "subscriptionStatus": {
          "$ref": "#/$defs/LicenseProfileSubscriptionStatus",
          "description": "Indicates the current status of the product features."
        },
        "enrollmentDate": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp in UTC when the user enrolls the feature.",
          "readOnly": true
        },
        "billingStartDate": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp in UTC when the billing starts.",
          "readOnly": true
        },
        "disenrollmentDate": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp in UTC when the user disenrolled the feature.",
          "readOnly": true
        },
        "billingEndDate": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp in UTC when the billing ends.",
          "readOnly": true
        },
        "error": {
          "$ref": "#/$defs/ErrorDetail",
          "description": "The errors that were encountered during the feature enrollment or disenrollment.",
          "readOnly": true
        }
      }
    },
    "ProgramYear": {
      "type": "string",
      "description": "Describes the program year the volume license is for.",
      "enum": [
        "Year 1",
        "Year 2",
        "Year 3"
      ],
      "x-ms-enum": {
        "name": "ProgramYear",
        "modelAsString": true,
        "values": [
          {
            "name": "Year 1",
            "value": "Year 1",
            "description": "Year 1"
          },
          {
            "name": "Year 2",
            "value": "Year 2",
            "description": "Year 2"
          },
          {
            "name": "Year 3",
            "value": "Year 3",
            "description": "Year 3"
          }
        ]
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "The provisioning state, which only appears in the response.",
      "enum": [
        "Creating",
        "Updating",
        "Deleting",
        "Succeeded",
        "Failed",
        "Accepted",
        "Canceled",
        "Deleted"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Creating",
            "value": "Creating",
            "description": "Creating"
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Updating"
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Deleting"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded"
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          },
          {
            "name": "Accepted",
            "value": "Accepted",
            "description": "Accepted"
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Canceled"
          },
          {
            "name": "Deleted",
            "value": "Deleted",
            "description": "Deleted"
          }
        ]
      }
    },
    "ServiceStatus": {
      "type": "object",
      "description": "Describes the status and behavior of a service.",
      "properties": {
        "status": {
          "type": "string",
          "description": "The current status of the service."
        },
        "startupType": {
          "type": "string",
          "description": "The behavior of the service when the Arc-enabled machine starts up."
        }
      }
    },
    "ServiceStatuses": {
      "type": "object",
      "description": "Reports the state and behavior of dependent services.",
      "properties": {
        "extensionService": {
          "$ref": "#/$defs/ServiceStatus",
          "description": "The state of the extension service on the Arc-enabled machine."
        },
        "guestConfigurationService": {
          "$ref": "#/$defs/ServiceStatus",
          "description": "The state of the guest configuration service on the Arc-enabled machine."
        }
      }
    },
    "StatusLevelTypes": {
      "type": "string",
      "description": "The level code.",
      "enum": [
        "Info",
        "Warning",
        "Error"
      ],
      "x-ms-enum": {
        "name": "StatusLevelTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "Info",
            "value": "Info",
            "description": "Info"
          },
          {
            "name": "Warning",
            "value": "Warning",
            "description": "Warning"
          },
          {
            "name": "Error",
            "value": "Error",
            "description": "Error"
          }
        ]
      }
    },
    "StatusTypes": {
      "type": "string",
      "description": "The status of the hybrid machine agent.",
      "enum": [
        "Connected",
        "Disconnected",
        "Error",
        "AwaitingConnection"
      ],
      "x-ms-enum": {
        "name": "StatusTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "Connected",
            "value": "Connected",
            "description": "Connected"
          },
          {
            "name": "Disconnected",
            "value": "Disconnected",
            "description": "Disconnected"
          },
          {
            "name": "Error",
            "value": "Error",
            "description": "Error"
          },
          {
            "name": "AwaitingConnection",
            "value": "AwaitingConnection",
            "description": "AwaitingConnection"
          }
        ]
      }
    },
    "StorageProfile": {
      "type": "object",
      "description": "Describes the storage configuration of the machine",
      "properties": {
        "disks": {
          "type": "array",
          "description": "The disks on the machine.",
          "items": {
            "$ref": "#/$defs/Disk"
          },
          "readOnly": true
        }
      }
    },
    "Subnet": {
      "type": "object",
      "description": "Describes the subnet.",
      "properties": {
        "addressPrefix": {
          "type": "string",
          "description": "Represents address prefix."
        }
      }
    },
    "TrackedResource": {
      "type": "object",
      "title": "Tracked Resource",
      "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
      "properties": {
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "create",
            "update"
          ]
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "location"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "VolumeLicenseDetails": {
      "type": "object",
      "properties": {
        "programYear": {
          "$ref": "#/$defs/ProgramYear",
          "description": "Describes the program year the volume license is for."
        },
        "invoiceId": {
          "type": "string",
          "description": "The invoice id for the volume license."
        }
      }
    },
    "locationData": {
      "type": "object",
      "description": "Metadata pertaining to the geographic location of the resource.",
      "properties": {
        "name": {
          "type": "string",
          "description": "A canonical name for the geographic or physical location.",
          "maxLength": 256
        },
        "city": {
          "type": "string",
          "description": "The city or locality where the resource is located."
        },
        "district": {
          "type": "string",
          "description": "The district, state, or province where the resource is located."
        },
        "countryOrRegion": {
          "type": "string",
          "description": "The country or region where the resource is located"
        }
      },
      "required": [
        "name"
      ]
    }
  }
}