1379 строки
41 KiB
JSON
1379 строки
41 KiB
JSON
{
|
|
"id": "https://schema.management.azure.com/schemas/2023-06-20-preview/Microsoft.HybridCompute.json#",
|
|
"title": "Microsoft.HybridCompute",
|
|
"description": "Microsoft HybridCompute Resource Types",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"resourceDefinitions": {
|
|
"licenses": {
|
|
"description": "Microsoft.HybridCompute/licenses",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-06-20-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the license.",
|
|
"oneOf": [
|
|
{
|
|
"pattern": "[a-zA-Z0-9-_\\.]+",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"properties": {
|
|
"description": "Hybrid Compute License properties",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/LicenseProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.HybridCompute/licenses"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"machines": {
|
|
"description": "Microsoft.HybridCompute/machines",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-06-20-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"identity": {
|
|
"description": "Identity for the resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Identity"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"kind": {
|
|
"description": "Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"AVS",
|
|
"HCI",
|
|
"SCVMM",
|
|
"VMware",
|
|
"EPS",
|
|
"GCP",
|
|
"AWS"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the hybrid machine.",
|
|
"oneOf": [
|
|
{
|
|
"maxLength": 54,
|
|
"minLength": 1,
|
|
"pattern": "[a-zA-Z0-9-_\\.]",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"properties": {
|
|
"description": "Hybrid Compute Machine properties",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/MachineProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/machines_extensions_childResource"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/machines_licenseProfiles_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.HybridCompute/machines"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"machines_extensions": {
|
|
"description": "Microsoft.HybridCompute/machines/extensions",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-06-20-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the machine extension.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Describes Machine Extension Properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/MachineExtensionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.HybridCompute/machines/extensions"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"machines_licenseProfiles": {
|
|
"description": "Microsoft.HybridCompute/machines/licenseProfiles",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-06-20-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"oneOf": [
|
|
{
|
|
"pattern": "^.*/default$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"properties": {
|
|
"description": "Describe the properties of a license profile.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/LicenseProfileProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.HybridCompute/machines/licenseProfiles"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"privateLinkScopes": {
|
|
"description": "Microsoft.HybridCompute/privateLinkScopes",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-06-20-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "Resource location",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the Azure Arc PrivateLinkScope resource.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Properties that define a Azure Arc PrivateLinkScope resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/HybridComputePrivateLinkScopeProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.HybridCompute/privateLinkScopes"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"privateLinkScopes_privateEndpointConnections": {
|
|
"description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-06-20-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the private endpoint connection.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Resource properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"AgentUpgrade": {
|
|
"description": "The info w.r.t Agent Upgrade.",
|
|
"properties": {
|
|
"correlationId": {
|
|
"description": "The correlation ID passed in from RSM per upgrade.",
|
|
"oneOf": [
|
|
{
|
|
"pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"desiredVersion": {
|
|
"description": "Specifies the version info w.r.t AgentUpgrade for the machine.",
|
|
"type": "string"
|
|
},
|
|
"enableAutomaticUpgrade": {
|
|
"description": "Specifies if RSM should try to upgrade this machine",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"CloudMetadata": {
|
|
"description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...).",
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
"HybridComputePrivateLinkScopeProperties": {
|
|
"description": "Properties that define a Azure Arc PrivateLinkScope resource.",
|
|
"properties": {
|
|
"publicNetworkAccess": {
|
|
"description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Enabled",
|
|
"Disabled"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Identity": {
|
|
"description": "Identity for the resource.",
|
|
"properties": {
|
|
"type": {
|
|
"description": "The identity type.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"SystemAssigned"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"License": {
|
|
"description": "Describes a license in a hybrid machine.",
|
|
"properties": {
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Hybrid Compute License properties",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/LicenseProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"location"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"LicenseDetails": {
|
|
"description": "Describes the properties of a License.",
|
|
"properties": {
|
|
"edition": {
|
|
"description": "Describes the edition of the license. The values are either Standard or Datacenter.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Standard",
|
|
"Datacenter"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"processors": {
|
|
"description": "Describes the number of processors.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"state": {
|
|
"description": "Describes the state of the license.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Activated",
|
|
"Deactivated"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"target": {
|
|
"description": "Describes the license target server.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Windows Server 2012",
|
|
"Windows Server 2012 R2"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"description": "Describes the license core type (pCore or vCore).",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"pCore",
|
|
"vCore"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LicenseProfileArmEsuProperties": {
|
|
"description": "Describes the properties of a License Profile ARM model.",
|
|
"properties": {
|
|
"assignedLicense": {
|
|
"description": "The resource id of the license.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LicenseProfileMachineInstanceView": {
|
|
"description": "License Profile Instance View in Machine Properties.",
|
|
"properties": {
|
|
"esuProfile": {
|
|
"description": "Properties for the Machine ESU profile.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/LicenseProfileMachineInstanceViewEsuProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LicenseProfileMachineInstanceViewEsuProperties": {
|
|
"description": "Properties for the Machine ESU profile.",
|
|
"properties": {
|
|
"assignedLicense": {
|
|
"description": "The assigned license resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/License"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"licenseAssignmentState": {
|
|
"description": "Describes the license assignment state (Assigned or NotAssigned).",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Assigned",
|
|
"NotAssigned"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LicenseProfileProperties": {
|
|
"description": "Describe the properties of a license profile.",
|
|
"properties": {
|
|
"esuProfile": {
|
|
"description": "Hybrid Compute ESU Profile properties",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/LicenseProfileArmEsuProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LicenseProperties": {
|
|
"description": "Describes the properties of a License Profile.",
|
|
"properties": {
|
|
"licenseDetails": {
|
|
"description": "Describes the properties of a License.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/LicenseDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"licenseType": {
|
|
"description": "The type of the license resource.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"ESU"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tenantId": {
|
|
"description": "Describes the tenant id.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LocationData": {
|
|
"description": "Metadata pertaining to the geographic location of the resource.",
|
|
"properties": {
|
|
"city": {
|
|
"description": "The city or locality where the resource is located.",
|
|
"type": "string"
|
|
},
|
|
"countryOrRegion": {
|
|
"description": "The country or region where the resource is located",
|
|
"type": "string"
|
|
},
|
|
"district": {
|
|
"description": "The district, state, or province where the resource is located.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "A canonical name for the geographic or physical location.",
|
|
"maxLength": 256,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MachineExtensionInstanceView": {
|
|
"description": "Describes the Machine Extension Instance View.",
|
|
"properties": {
|
|
"name": {
|
|
"description": "The machine extension name.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Instance view status.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/MachineExtensionInstanceViewStatus"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
|
|
"type": "string"
|
|
},
|
|
"typeHandlerVersion": {
|
|
"description": "Specifies the version of the script handler.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MachineExtensionInstanceViewStatus": {
|
|
"description": "Instance view status.",
|
|
"properties": {
|
|
"code": {
|
|
"description": "The status code.",
|
|
"type": "string"
|
|
},
|
|
"displayStatus": {
|
|
"description": "The short localizable label for the status.",
|
|
"type": "string"
|
|
},
|
|
"level": {
|
|
"description": "The level code.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Info",
|
|
"Warning",
|
|
"Error"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"message": {
|
|
"description": "The detailed status message, including for alerts and error messages.",
|
|
"type": "string"
|
|
},
|
|
"time": {
|
|
"description": "The time of the status.",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MachineExtensionProperties": {
|
|
"description": "Describes the properties of a Machine Extension.",
|
|
"properties": {
|
|
"autoUpgradeMinorVersion": {
|
|
"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.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"enableAutomaticUpgrade": {
|
|
"description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"forceUpdateTag": {
|
|
"description": "How the extension handler should be forced to update even if the extension configuration has not changed.",
|
|
"type": "string"
|
|
},
|
|
"instanceView": {
|
|
"description": "The machine extension instance view.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/MachineExtensionInstanceView"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"protectedSettings": {
|
|
"description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"publisher": {
|
|
"description": "The name of the extension handler publisher.",
|
|
"type": "string"
|
|
},
|
|
"settings": {
|
|
"description": "Json formatted public settings for the extension.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"description": "Specifies the type of the extension; an example is \"CustomScriptExtension\".",
|
|
"type": "string"
|
|
},
|
|
"typeHandlerVersion": {
|
|
"description": "Specifies the version of the script handler.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MachineProperties": {
|
|
"description": "Describes the properties of a hybrid machine.",
|
|
"properties": {
|
|
"agentUpgrade": {
|
|
"description": "The info of the machine w.r.t Agent Upgrade",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AgentUpgrade"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"clientPublicKey": {
|
|
"description": "Public Key that the client provides to be used during initial resource onboarding",
|
|
"type": "string"
|
|
},
|
|
"cloudMetadata": {
|
|
"description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...).",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/CloudMetadata"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"extensions": {
|
|
"description": "Machine Extensions information (deprecated field)",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/MachineExtensionInstanceView"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"licenseProfile": {
|
|
"description": "Specifies the ESU related properties for a machine.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/LicenseProfileMachineInstanceView"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"locationData": {
|
|
"description": "Metadata pertaining to the geographic location of the resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/LocationData"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"mssqlDiscovered": {
|
|
"description": "Specifies whether any MS SQL instance is discovered on the machine.",
|
|
"type": "string"
|
|
},
|
|
"osProfile": {
|
|
"description": "Specifies the operating system settings for the hybrid machine.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/OSProfile"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"osType": {
|
|
"description": "The type of Operating System (windows/linux).",
|
|
"type": "string"
|
|
},
|
|
"parentClusterResourceId": {
|
|
"description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.",
|
|
"type": "string"
|
|
},
|
|
"privateLinkScopeResourceId": {
|
|
"description": "The resource id of the private link scope this machine is assigned to, if any.",
|
|
"type": "string"
|
|
},
|
|
"serviceStatuses": {
|
|
"description": "Statuses of dependent services that are reported back to ARM.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ServiceStatuses"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"vmId": {
|
|
"description": "Specifies the hybrid machine unique ID.",
|
|
"oneOf": [
|
|
{
|
|
"pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"OSProfile": {
|
|
"description": "Specifies the operating system settings for the hybrid machine.",
|
|
"properties": {
|
|
"linuxConfiguration": {
|
|
"description": "Specifies the linux configuration for update management.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/OSProfileLinuxConfiguration"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"windowsConfiguration": {
|
|
"description": "Specifies the windows configuration for update management.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/OSProfileWindowsConfiguration"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"OSProfileLinuxConfiguration": {
|
|
"description": "Specifies the linux configuration for update management.",
|
|
"properties": {
|
|
"patchSettings": {
|
|
"description": "Specifies the patch settings.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PatchSettings"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"OSProfileWindowsConfiguration": {
|
|
"description": "Specifies the windows configuration for update management.",
|
|
"properties": {
|
|
"patchSettings": {
|
|
"description": "Specifies the patch settings.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PatchSettings"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PatchSettings": {
|
|
"description": "Specifies the patch settings.",
|
|
"properties": {
|
|
"assessmentMode": {
|
|
"description": "Specifies the assessment mode.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"ImageDefault",
|
|
"AutomaticByPlatform"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"patchMode": {
|
|
"description": "Specifies the patch mode.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"ImageDefault",
|
|
"AutomaticByPlatform",
|
|
"AutomaticByOS",
|
|
"Manual"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PrivateEndpointConnectionProperties": {
|
|
"description": "Properties of a private endpoint connection.",
|
|
"properties": {
|
|
"privateEndpoint": {
|
|
"description": "Private endpoint which the connection belongs to.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpointProperty"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"privateLinkServiceConnectionState": {
|
|
"description": "Connection state of the private endpoint connection.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PrivateEndpointProperty": {
|
|
"description": "Private endpoint which the connection belongs to.",
|
|
"properties": {
|
|
"id": {
|
|
"description": "Resource id of the private endpoint.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PrivateLinkServiceConnectionStateProperty": {
|
|
"description": "State of the private endpoint connection.",
|
|
"properties": {
|
|
"description": {
|
|
"description": "The private link service connection description.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "The private link service connection status.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"status",
|
|
"description"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ServiceStatus": {
|
|
"description": "Describes the status and behavior of a service.",
|
|
"properties": {
|
|
"startupType": {
|
|
"description": "The behavior of the service when the Arc-enabled machine starts up.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "The current status of the service.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ServiceStatuses": {
|
|
"description": "Reports the state and behavior of dependent services.",
|
|
"properties": {
|
|
"extensionService": {
|
|
"description": "The state of the extension service on the Arc-enabled machine.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ServiceStatus"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"guestConfigurationService": {
|
|
"description": "The state of the guest configuration service on the Arc-enabled machine.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ServiceStatus"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"machines_extensions_childResource": {
|
|
"description": "Microsoft.HybridCompute/machines/extensions",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-06-20-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the machine extension.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Describes Machine Extension Properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/MachineExtensionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"extensions"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"machines_licenseProfiles_childResource": {
|
|
"description": "Microsoft.HybridCompute/machines/licenseProfiles",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-06-20-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"default"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"properties": {
|
|
"description": "Describe the properties of a license profile.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/LicenseProfileProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"licenseProfiles"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"privateLinkScopes_privateEndpointConnections_childResource": {
|
|
"description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-06-20-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the private endpoint connection.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Resource properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"privateEndpointConnections"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
}
|
|
} |