diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts
index e4dc37f95d..d9c1c5b878 100644
--- a/generator/autogenlist.ts
+++ b/generator/autogenlist.ts
@@ -168,10 +168,6 @@ const autoGenList: AutoGenConfig[] = [
basePath: 'adhybridhealthservice/resource-manager',
namespace: 'Microsoft.ADHybridHealthService',
},
- {
- basePath: 'cdn/resource-manager',
- namespace: 'Microsoft.Cdn',
- },
{
basePath: 'analysisservices/resource-manager',
namespace: 'Microsoft.AnalysisServices',
diff --git a/generator/resources.json b/generator/resources.json
index 77d735cb83..1447e0493e 100644
--- a/generator/resources.json
+++ b/generator/resources.json
@@ -147,7 +147,9 @@
"2022-09-01",
"2022-09-01",
"2022-10-01",
- "2022-10-01"
+ "2022-10-01",
+ "2023-01-01",
+ "2023-01-01"
],
"Microsoft.Advisor/recommendations/suppressions": [
"2016-07-12-preview",
@@ -155,7 +157,8 @@
"2017-04-19",
"2020-01-01",
"2022-09-01",
- "2022-10-01"
+ "2022-10-01",
+ "2023-01-01"
],
"Microsoft.AgFoodPlatform/farmBeats": [
"2020-05-12-preview",
@@ -2338,7 +2341,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/capacityReservationGroups": [
"2021-04-01",
@@ -2346,7 +2350,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/capacityReservationGroups/capacityReservations": [
"2021-04-01",
@@ -2354,7 +2359,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/cloudServices": [
"2020-10-01-preview",
@@ -2479,7 +2485,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/hostGroups/hosts": [
"2019-03-01",
@@ -2493,7 +2500,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/images": [
"2016-04-30-preview",
@@ -2513,7 +2521,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/proximityPlacementGroups": [
"2018-04-01",
@@ -2530,7 +2539,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/restorePointCollections": [
"2021-03-01",
@@ -2539,7 +2549,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/restorePointCollections/restorePoints": [
"2021-03-01",
@@ -2548,7 +2559,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/snapshots": [
"2016-04-30-preview",
@@ -2579,7 +2591,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/virtualMachineScaleSets": [
"2015-06-15",
@@ -2601,7 +2614,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/virtualMachineScaleSets/extensions": [
"2017-03-30",
@@ -2620,7 +2634,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions": [
"2019-07-01",
@@ -2633,7 +2648,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands": [
"2020-06-01",
@@ -2644,7 +2660,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/virtualMachineScaleSets/virtualmachines": [
"2017-12-01",
@@ -2662,7 +2679,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/virtualMachines": [
"2015-06-15",
@@ -2684,7 +2702,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/virtualMachines/extensions": [
"2015-06-15",
@@ -2706,7 +2725,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.Compute/virtualMachines/runCommands": [
"2020-06-01",
@@ -2717,7 +2737,8 @@
"2021-11-01",
"2022-03-01",
"2022-08-01",
- "2022-11-01"
+ "2022-11-01",
+ "2023-03-01"
],
"Microsoft.ConfidentialLedger/ledgers": [
"2020-12-01-preview",
@@ -3300,19 +3321,22 @@
"2020-07-01-preview",
"2021-05-01",
"2021-05-01-preview",
- "2021-12-01-preview"
+ "2021-12-01-preview",
+ "2022-01-01"
],
"Microsoft.DBForMySql/flexibleServers/databases": [
"2020-07-01-preview",
"2021-05-01",
"2021-05-01-preview",
- "2021-12-01-preview"
+ "2021-12-01-preview",
+ "2022-01-01"
],
"Microsoft.DBForMySql/flexibleServers/firewallRules": [
"2020-07-01-preview",
"2021-05-01",
"2021-05-01-preview",
- "2021-12-01-preview"
+ "2021-12-01-preview",
+ "2022-01-01"
],
"Microsoft.DBForMySql/flexibleServers/keys": [
"2020-07-01-preview"
@@ -3369,10 +3393,19 @@
"2018-06-01-preview"
],
"Microsoft.DBforMySQL/flexibleServers/administrators": [
- "2021-12-01-preview"
+ "2021-12-01-preview",
+ "2022-01-01"
],
"Microsoft.DBforMySQL/flexibleServers/backups": [
- "2021-12-01-preview"
+ "2021-12-01-preview",
+ "2022-01-01"
+ ],
+ "Microsoft.DBforMySQL/flexibleServers/configurations": [
+ "2021-12-01-preview",
+ "2022-01-01"
+ ],
+ "Microsoft.DBforMySQL/flexibleServers/privateEndpointConnections": [
+ "2022-09-30-preview"
],
"Microsoft.DBforMySQL/servers": [
"2017-12-01",
@@ -4258,6 +4291,9 @@
"2022-11-11-preview",
"2023-01-01-preview"
],
+ "Microsoft.DevHub/workflows": [
+ "2022-04-01-preview"
+ ],
"Microsoft.DevOps/pipelines": [
"2019-07-01-preview",
"2020-07-13-preview"
@@ -5514,10 +5550,12 @@
"2021-02-01-preview"
],
"Microsoft.Easm/workspaces": [
- "2022-04-01-preview"
+ "2022-04-01-preview",
+ "2023-04-01-preview"
],
"Microsoft.Easm/workspaces/labels": [
- "2022-04-01-preview"
+ "2022-04-01-preview",
+ "2023-04-01-preview"
],
"Microsoft.EdgeOrder/addresses": [
"2020-12-01-preview",
@@ -5999,7 +6037,8 @@
"2022-05-10-preview",
"2022-08-11-preview",
"2022-11-10",
- "2022-12-27-preview"
+ "2022-12-27-preview",
+ "2023-03-15-preview"
],
"Microsoft.HybridCompute/machines/extensions": [
"2019-08-02-preview",
@@ -6018,7 +6057,8 @@
"2022-05-10-preview",
"2022-08-11-preview",
"2022-11-10",
- "2022-12-27-preview"
+ "2022-12-27-preview",
+ "2023-03-15-preview"
],
"Microsoft.HybridCompute/privateLinkScopes": [
"2020-08-15-preview",
@@ -6033,7 +6073,8 @@
"2022-05-10-preview",
"2022-08-11-preview",
"2022-11-10",
- "2022-12-27-preview"
+ "2022-12-27-preview",
+ "2023-03-15-preview"
],
"Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections": [
"2020-08-15-preview",
@@ -6048,7 +6089,8 @@
"2022-05-10-preview",
"2022-08-11-preview",
"2022-11-10",
- "2022-12-27-preview"
+ "2022-12-27-preview",
+ "2023-03-15-preview"
],
"Microsoft.HybridCompute/privateLinkScopes/scopedResources": [
"2020-08-15-preview"
@@ -11567,25 +11609,41 @@
"2022-02-01"
],
"Microsoft.ScVmm/availabilitySets": [
- "2020-06-05-preview"
+ "2020-06-05-preview",
+ "2022-05-21-preview"
],
"Microsoft.ScVmm/clouds": [
- "2020-06-05-preview"
+ "2020-06-05-preview",
+ "2022-05-21-preview"
],
"Microsoft.ScVmm/virtualMachineTemplates": [
- "2020-06-05-preview"
+ "2020-06-05-preview",
+ "2022-05-21-preview"
],
"Microsoft.ScVmm/virtualMachines": [
- "2020-06-05-preview"
+ "2020-06-05-preview",
+ "2022-05-21-preview"
+ ],
+ "Microsoft.ScVmm/virtualMachines/extensions": [
+ "2022-05-21-preview"
+ ],
+ "Microsoft.ScVmm/virtualMachines/guestAgents": [
+ "2022-05-21-preview"
+ ],
+ "Microsoft.ScVmm/virtualMachines/hybridIdentityMetadata": [
+ "2022-05-21-preview"
],
"Microsoft.ScVmm/virtualNetworks": [
- "2020-06-05-preview"
+ "2020-06-05-preview",
+ "2022-05-21-preview"
],
"Microsoft.ScVmm/vmmServers": [
- "2020-06-05-preview"
+ "2020-06-05-preview",
+ "2022-05-21-preview"
],
"Microsoft.ScVmm/vmmServers/inventoryItems": [
- "2020-06-05-preview"
+ "2020-06-05-preview",
+ "2022-05-21-preview"
],
"Microsoft.Scheduler/jobCollections": [
"2014-08-01-preview",
diff --git a/onboarded-report/result.json b/onboarded-report/result.json
index 036eee8524..ee409823db 100644
--- a/onboarded-report/result.json
+++ b/onboarded-report/result.json
@@ -25,10 +25,8 @@
},
{
"basePath": "advisor/resource-manager",
- "onboardedToAutogen": "no",
- "missing": [
- "Microsoft.Advisor"
- ],
+ "onboardedToAutogen": "yes",
+ "missing": [],
"onboarded": []
},
{
@@ -61,6 +59,12 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "appcomplianceautomation/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "appconfiguration/resource-manager",
"onboardedToAutogen": "yes",
@@ -157,6 +161,12 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "billingbenefits/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "blockchain/resource-manager",
"onboardedToAutogen": "yes",
@@ -175,11 +185,21 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "cdn/resource-manager",
+ "onboardedToAutogen": "no",
+ "missing": [
+ "Microsoft.Cdn"
+ ],
+ "onboarded": []
+ },
{
"basePath": "cdn/resource-manager",
"onboardedToAutogen": "yes",
"missing": [],
- "onboarded": []
+ "onboarded": [
+ "Microsoft.Cdn"
+ ]
},
{
"basePath": "changeanalysis/resource-manager",
@@ -237,8 +257,10 @@
},
{
"basePath": "confidentialledger/resource-manager",
- "onboardedToAutogen": "yes",
- "missing": [],
+ "onboardedToAutogen": "no",
+ "missing": [
+ "Microsoft.ConfidentialLedger"
+ ],
"onboarded": []
},
{
@@ -272,7 +294,19 @@
"onboarded": []
},
{
- "basePath": "containerservice/resource-manager",
+ "basePath": "containerservice/resource-manager/Microsoft.ContainerService/aks",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
+ {
+ "basePath": "containerservice/resource-manager/Microsoft.ContainerService/fleet",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
+ {
+ "basePath": "containerstorage/resource-manager",
"onboardedToAutogen": "yes",
"missing": [],
"onboarded": []
@@ -399,8 +433,10 @@
},
{
"basePath": "developerhub/resource-manager",
- "onboardedToAutogen": "yes",
- "missing": [],
+ "onboardedToAutogen": "no",
+ "missing": [
+ "Microsoft.DevHub"
+ ],
"onboarded": []
},
{
@@ -547,6 +583,12 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "graphservicesprod/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "guestconfiguration/resource-manager",
"onboardedToAutogen": "yes",
@@ -583,12 +625,24 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "help/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "hybridaks/resource-manager",
"onboardedToAutogen": "yes",
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "hybridcloud/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "hybridcompute/resource-manager",
"onboardedToAutogen": "yes",
@@ -673,6 +727,12 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "liftrqumulo/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "loadtestservice/resource-manager",
"onboardedToAutogen": "yes",
@@ -735,6 +795,12 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "managednetworkfabric/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "managedservices/resource-manager",
"onboardedToAutogen": "no",
@@ -863,12 +929,24 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "networkcloud/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "networkfunction/resource-manager",
"onboardedToAutogen": "yes",
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "newrelic/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "nginx/resource-manager",
"onboardedToAutogen": "yes",
@@ -909,6 +987,12 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "paloaltonetworks/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "peering/resource-manager",
"onboardedToAutogen": "yes",
@@ -927,6 +1011,12 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "portalservices/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "postgresql/resource-manager",
"onboardedToAutogen": "yes",
@@ -971,6 +1061,12 @@
],
"onboarded": []
},
+ {
+ "basePath": "professionalservice/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "providerhub/resource-manager",
"onboardedToAutogen": "yes",
@@ -1079,6 +1175,12 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "riskiq/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "saas/resource-manager",
"onboardedToAutogen": "yes",
@@ -1173,6 +1275,12 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "servicenetworking/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "signalr/resource-manager",
"onboardedToAutogen": "yes",
@@ -1295,10 +1403,8 @@
},
{
"basePath": "trafficmanager/resource-manager",
- "onboardedToAutogen": "no",
- "missing": [
- "Microsoft.Network"
- ],
+ "onboardedToAutogen": "yes",
+ "missing": [],
"onboarded": []
},
{
@@ -1333,6 +1439,12 @@
"missing": [],
"onboarded": []
},
+ {
+ "basePath": "voiceservices/resource-manager",
+ "onboardedToAutogen": "yes",
+ "missing": [],
+ "onboarded": []
+ },
{
"basePath": "web/resource-manager",
"onboardedToAutogen": "yes",
diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json
index 28fbc0b44b..15a39e4fff 100644
--- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json
+++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json
@@ -536,6 +536,12 @@
{
"$ref": "https://schema.management.azure.com/schemas/2022-10-01/Microsoft.Advisor.json#/unknown_resourceDefinitions/recommendations_suppressions"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.Advisor.json#/subscription_resourceDefinitions/configurations"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.Advisor.json#/unknown_resourceDefinitions/recommendations_suppressions"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2015-07-01/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleAssignments"
},
diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json
index 33b249fbcc..4c827f0de3 100644
--- a/schemas/2018-06-01/Microsoft.DataFactory.json
+++ b/schemas/2018-06-01/Microsoft.DataFactory.json
@@ -26591,10 +26591,21 @@
"SetVariableActivityTypeProperties": {
"type": "object",
"properties": {
+ "setSystemVariable": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "If set to true, it sets the pipeline run return value."
+ },
"value": {
"type": "object",
"properties": {},
- "description": "Value to be set. Could be a static value or Expression"
+ "description": "Value to be set. Could be a static value or Expression."
},
"variableName": {
"type": "string",
diff --git a/schemas/2019-08-01/managementGroupDeploymentTemplate.json b/schemas/2019-08-01/managementGroupDeploymentTemplate.json
index 36b13acffb..ef5f18e63d 100644
--- a/schemas/2019-08-01/managementGroupDeploymentTemplate.json
+++ b/schemas/2019-08-01/managementGroupDeploymentTemplate.json
@@ -518,6 +518,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2022-10-01/Microsoft.Advisor.json#/unknown_resourceDefinitions/recommendations_suppressions"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.Advisor.json#/unknown_resourceDefinitions/recommendations_suppressions"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.AlertsManagement.json#/managementGroup_resourceDefinitions/tenantActivityLogAlerts"
},
diff --git a/schemas/2019-08-01/tenantDeploymentTemplate.json b/schemas/2019-08-01/tenantDeploymentTemplate.json
index 40e8932288..a2c27022ab 100644
--- a/schemas/2019-08-01/tenantDeploymentTemplate.json
+++ b/schemas/2019-08-01/tenantDeploymentTemplate.json
@@ -526,6 +526,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2022-10-01/Microsoft.Advisor.json#/unknown_resourceDefinitions/recommendations_suppressions"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.Advisor.json#/unknown_resourceDefinitions/recommendations_suppressions"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2022-11-16-preview/Microsoft.AppComplianceAutomation.json#/tenant_resourceDefinitions/reports"
},
diff --git a/schemas/2021-12-01-preview/Microsoft.DBforMySQL.json b/schemas/2021-12-01-preview/Microsoft.DBforMySQL.json
index 6e51c6e6a7..984f8f06ed 100644
--- a/schemas/2021-12-01-preview/Microsoft.DBforMySQL.json
+++ b/schemas/2021-12-01-preview/Microsoft.DBforMySQL.json
@@ -50,6 +50,9 @@
{
"$ref": "#/definitions/flexibleServers_backups_childResource"
},
+ {
+ "$ref": "#/definitions/flexibleServers_configurations_childResource"
+ },
{
"$ref": "#/definitions/flexibleServers_databases_childResource"
},
@@ -178,6 +181,45 @@
],
"description": "Microsoft.DBforMySQL/flexibleServers/backups"
},
+ "flexibleServers_configurations": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2021-12-01-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the server configuration."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConfigurationProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The properties of a configuration."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DBforMySQL/flexibleServers/configurations"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DBforMySQL/flexibleServers/configurations"
+ },
"flexibleServers_databases": {
"type": "object",
"properties": {
@@ -326,6 +368,35 @@
},
"description": "Storage Profile properties of a server"
},
+ "ConfigurationProperties": {
+ "type": "object",
+ "properties": {
+ "currentValue": {
+ "type": "string",
+ "description": "Current value of the configuration."
+ },
+ "source": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "system-default",
+ "user-override"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source of the configuration."
+ },
+ "value": {
+ "type": "string",
+ "description": "Value of the configuration."
+ }
+ },
+ "description": "The properties of a configuration."
+ },
"DatabaseProperties": {
"type": "object",
"properties": {
@@ -480,6 +551,45 @@
],
"description": "Microsoft.DBforMySQL/flexibleServers/backups"
},
+ "flexibleServers_configurations_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2021-12-01-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the server configuration."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConfigurationProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The properties of a configuration."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "configurations"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DBforMySQL/flexibleServers/configurations"
+ },
"flexibleServers_databases_childResource": {
"type": "object",
"properties": {
diff --git a/schemas/2022-01-01/Microsoft.DBforMySQL.json b/schemas/2022-01-01/Microsoft.DBforMySQL.json
new file mode 100644
index 0000000000..9fbed2cb3a
--- /dev/null
+++ b/schemas/2022-01-01/Microsoft.DBforMySQL.json
@@ -0,0 +1,1077 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.DBforMySQL.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Microsoft.DBforMySQL",
+ "description": "Microsoft DBforMySQL Resource Types",
+ "resourceDefinitions": {
+ "flexibleServers": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2022-01-01"
+ ]
+ },
+ "identity": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Identity"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties to configure Identity for Bring your Own Keys"
+ },
+ "location": {
+ "type": "string",
+ "description": "The geo-location where the resource lives"
+ },
+ "name": {
+ "oneOf": [
+ {
+ "type": "string",
+ "pattern": "^[a-z0-9][-a-z0-9]*(?**. Enter any required information and then click **Save**."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Virtual Machine."
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/virtualMachines_extensions_childResource"
+ },
+ {
+ "$ref": "#/definitions/virtualMachines_runCommands_childResource"
+ }
+ ]
+ }
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Compute/virtualMachines"
+ ]
+ },
+ "zones": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The virtual machine zones."
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachines"
+ },
+ "virtualMachineScaleSets": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "extendedLocation": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ExtendedLocation"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The complex type of the extended location."
+ },
+ "identity": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetIdentity"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Identity for the virtual machine scale set."
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the VM scale set to create or update."
+ },
+ "plan": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Plan"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Virtual Machine Scale Set."
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource"
+ },
+ {
+ "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_childResource"
+ }
+ ]
+ }
+ },
+ "sku": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Sku"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Compute/virtualMachineScaleSets"
+ ]
+ },
+ "zones": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set"
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachineScaleSets"
+ },
+ "virtualMachineScaleSets_virtualMachines": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "identity": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineIdentity"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Identity for the virtual machine."
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "name": {
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ "plan": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Plan"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a virtual machine scale set virtual machine."
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource"
+ },
+ {
+ "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_childResource"
+ }
+ ]
+ }
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Compute/virtualMachineScaleSets/virtualMachines"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines"
+ },
+ "virtualMachineScaleSets_virtualMachines_extensions": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the extension."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the virtual machine extension."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineExtensionProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Virtual Machine Extension."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
+ },
+ "virtualMachineScaleSets_virtualMachines_runCommands": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the virtual machine run command."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineRunCommandProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Virtual Machine run command."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
+ },
+ "virtualMachines_runCommands": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the virtual machine run command."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineRunCommandProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Virtual Machine run command."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Compute/virtualMachines/runCommands"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachines/runCommands"
+ }
+ },
+ "definitions": {
+ "AdditionalCapabilities": {
+ "type": "object",
+ "properties": {
+ "hibernationEnabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The flag that enables or disables hibernation capability on the VM."
+ },
+ "ultraSSDEnabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled."
+ }
+ },
+ "description": "Enables or disables a capability on the virtual machine or virtual machine scale set."
+ },
+ "AdditionalUnattendContent": {
+ "type": "object",
+ "properties": {
+ "componentName": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Microsoft-Windows-Shell-Setup"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup."
+ },
+ "content": {
+ "type": "string",
+ "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted."
+ },
+ "passName": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "OobeSystem"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The pass name. Currently, the only allowable value is OobeSystem."
+ },
+ "settingName": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "AutoLogon",
+ "FirstLogonCommands"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon."
+ }
+ },
+ "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied."
+ },
+ "ApiEntityReference": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..."
+ }
+ },
+ "description": "The API entity reference."
+ },
+ "ApplicationProfile": {
+ "type": "object",
+ "properties": {
+ "galleryApplications": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VMGalleryApplication"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the gallery applications that should be made available to the VM/VMSS"
+ }
+ },
+ "description": "Contains the list of gallery applications that should be made available to the VM/VMSS"
+ },
+ "AutomaticOSUpgradePolicy": {
+ "type": "object",
+ "properties": {
+ "disableAutomaticRollback": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether OS image rollback feature should be disabled. Default value is false."
+ },
+ "enableAutomaticOSUpgrade": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true."
+ },
+ "useRollingUpgradePolicy": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS."
+ }
+ },
+ "description": "The configuration parameters used for performing automatic OS upgrade."
+ },
+ "AutomaticRepairsPolicy": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false."
+ },
+ "gracePeriod": {
+ "type": "string",
+ "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M)."
+ },
+ "repairAction": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Replace",
+ "Restart",
+ "Reimage"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace."
+ }
+ },
+ "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set."
+ },
+ "AvailabilitySetProperties": {
+ "type": "object",
+ "properties": {
+ "platformFaultDomainCount": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Fault Domain count."
+ },
+ "platformUpdateDomainCount": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Update Domain count."
+ },
+ "proximityPlacementGroup": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "virtualMachines": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "A list of references to all virtual machines in the availability set."
+ }
+ },
+ "description": "The instance view of a resource."
+ },
+ "BillingProfile": {
+ "type": "object",
+ "properties": {
+ "maxPrice": {
+ "oneOf": [
+ {
+ "type": "number"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.
This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.
The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: 0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01."
+ }
+ },
+ "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01."
+ },
+ "BootDiagnostics": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether boot diagnostics should be enabled on the Virtual Machine."
+ },
+ "storageUri": {
+ "type": "string",
+ "description": "Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used."
+ }
+ },
+ "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor."
+ },
+ "CapacityReservationGroupProperties": {
+ "type": "object",
+ "properties": {},
+ "description": "capacity reservation group Properties."
+ },
+ "capacityReservationGroups_capacityReservations_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the capacity reservation."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/CapacityReservationProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties of the Capacity reservation."
+ },
+ "sku": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Sku"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "capacityReservations"
+ ]
+ },
+ "zones": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone."
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "sku",
+ "type"
+ ],
+ "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations"
+ },
+ "CapacityReservationProfile": {
+ "type": "object",
+ "properties": {
+ "capacityReservationGroup": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ },
+ "description": "The parameters of a capacity reservation Profile."
+ },
+ "CapacityReservationProperties": {
+ "type": "object",
+ "properties": {},
+ "description": "Properties of the Capacity reservation."
+ },
+ "DataDisk": {
+ "type": "object",
+ "properties": {
+ "caching": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**."
+ },
+ "createOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "FromImage",
+ "Empty",
+ "Attach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described."
+ },
+ "deleteOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Delete",
+ "Detach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether data disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the data disk is deleted when VM is deleted. **Detach.** If this value is used, the data disk is retained after VM is deleted. The default value is set to **Detach**."
+ },
+ "detachOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "ForceDetach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview** mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'."
+ },
+ "diskSizeGB": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023."
+ },
+ "image": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the uri of a disk."
+ },
+ "lun": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."
+ },
+ "managedDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ManagedDiskParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The parameters of a managed disk."
+ },
+ "name": {
+ "type": "string",
+ "description": "The disk name."
+ },
+ "toBeDetached": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset"
+ },
+ "vhd": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the uri of a disk."
+ },
+ "writeAcceleratorEnabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
+ }
+ },
+ "required": [
+ "createOption",
+ "lun"
+ ],
+ "description": "Describes a data disk."
+ },
+ "DedicatedHostGroupProperties": {
+ "type": "object",
+ "properties": {
+ "additionalCapabilities": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DedicatedHostGroupPropertiesAdditionalCapabilities"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01."
+ },
+ "platformFaultDomainCount": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 1
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Number of fault domains that the host group can span."
+ },
+ "supportAutomaticPlacement": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. Minimum api-version: 2020-06-01."
+ }
+ },
+ "required": [
+ "platformFaultDomainCount"
+ ],
+ "description": "Dedicated Host Group Properties."
+ },
+ "DedicatedHostGroupPropertiesAdditionalCapabilities": {
+ "type": "object",
+ "properties": {
+ "ultraSSDEnabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature. **Note:** The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal. Minimum api-version: 2022-03-01."
+ }
+ },
+ "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01."
+ },
+ "DedicatedHostProperties": {
+ "type": "object",
+ "properties": {
+ "autoReplaceOnFailure": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided."
+ },
+ "licenseType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "Windows_Server_Hybrid",
+ "Windows_Server_Perpetual"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host. Possible values are: **None,** **Windows_Server_Hybrid,** **Windows_Server_Perpetual.** The default value is: **None.**."
+ },
+ "platformFaultDomain": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Fault domain of the dedicated host within a dedicated host group."
+ }
+ },
+ "description": "Properties of the dedicated host."
+ },
+ "DiagnosticsProfile": {
+ "type": "object",
+ "properties": {
+ "bootDiagnostics": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/BootDiagnostics"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor."
+ }
+ },
+ "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15."
+ },
+ "DiffDiskSettings": {
+ "type": "object",
+ "properties": {
+ "option": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Local"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the ephemeral disk settings for operating system disk."
+ },
+ "placement": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "CacheDisk",
+ "ResourceDisk"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the ephemeral disk placement for operating system disk. Possible values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk."
+ }
+ },
+ "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. **Note:** The ephemeral disk settings can only be specified for managed disk."
+ },
+ "DiskEncryptionSetParameters": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource Id"
+ }
+ },
+ "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details."
+ },
+ "DiskEncryptionSettings": {
+ "type": "object",
+ "properties": {
+ "diskEncryptionKey": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/KeyVaultSecretReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a reference to Key Vault Secret"
+ },
+ "enabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether disk encryption should be enabled on the virtual machine."
+ },
+ "keyEncryptionKey": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/KeyVaultKeyReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a reference to Key Vault Key"
+ }
+ },
+ "description": "Describes a Encryption Settings for a Disk"
+ },
+ "DiskRestorePointAttributes": {
+ "type": "object",
+ "properties": {
+ "encryption": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/RestorePointEncryption"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point."
+ },
+ "sourceDiskRestorePoint": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ApiEntityReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The API entity reference."
+ }
+ },
+ "description": "Disk Restore Point details."
+ },
+ "ExtendedLocation": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the extended location."
+ },
+ "type": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "EdgeZone"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The type of the extended location."
+ }
+ },
+ "description": "The complex type of the extended location."
+ },
+ "HardwareProfile": {
+ "type": "object",
+ "properties": {
+ "vmSize": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Basic_A0",
+ "Basic_A1",
+ "Basic_A2",
+ "Basic_A3",
+ "Basic_A4",
+ "Standard_A0",
+ "Standard_A1",
+ "Standard_A2",
+ "Standard_A3",
+ "Standard_A4",
+ "Standard_A5",
+ "Standard_A6",
+ "Standard_A7",
+ "Standard_A8",
+ "Standard_A9",
+ "Standard_A10",
+ "Standard_A11",
+ "Standard_A1_v2",
+ "Standard_A2_v2",
+ "Standard_A4_v2",
+ "Standard_A8_v2",
+ "Standard_A2m_v2",
+ "Standard_A4m_v2",
+ "Standard_A8m_v2",
+ "Standard_B1s",
+ "Standard_B1ms",
+ "Standard_B2s",
+ "Standard_B2ms",
+ "Standard_B4ms",
+ "Standard_B8ms",
+ "Standard_D1",
+ "Standard_D2",
+ "Standard_D3",
+ "Standard_D4",
+ "Standard_D11",
+ "Standard_D12",
+ "Standard_D13",
+ "Standard_D14",
+ "Standard_D1_v2",
+ "Standard_D2_v2",
+ "Standard_D3_v2",
+ "Standard_D4_v2",
+ "Standard_D5_v2",
+ "Standard_D2_v3",
+ "Standard_D4_v3",
+ "Standard_D8_v3",
+ "Standard_D16_v3",
+ "Standard_D32_v3",
+ "Standard_D64_v3",
+ "Standard_D2s_v3",
+ "Standard_D4s_v3",
+ "Standard_D8s_v3",
+ "Standard_D16s_v3",
+ "Standard_D32s_v3",
+ "Standard_D64s_v3",
+ "Standard_D11_v2",
+ "Standard_D12_v2",
+ "Standard_D13_v2",
+ "Standard_D14_v2",
+ "Standard_D15_v2",
+ "Standard_DS1",
+ "Standard_DS2",
+ "Standard_DS3",
+ "Standard_DS4",
+ "Standard_DS11",
+ "Standard_DS12",
+ "Standard_DS13",
+ "Standard_DS14",
+ "Standard_DS1_v2",
+ "Standard_DS2_v2",
+ "Standard_DS3_v2",
+ "Standard_DS4_v2",
+ "Standard_DS5_v2",
+ "Standard_DS11_v2",
+ "Standard_DS12_v2",
+ "Standard_DS13_v2",
+ "Standard_DS14_v2",
+ "Standard_DS15_v2",
+ "Standard_DS13-4_v2",
+ "Standard_DS13-2_v2",
+ "Standard_DS14-8_v2",
+ "Standard_DS14-4_v2",
+ "Standard_E2_v3",
+ "Standard_E4_v3",
+ "Standard_E8_v3",
+ "Standard_E16_v3",
+ "Standard_E32_v3",
+ "Standard_E64_v3",
+ "Standard_E2s_v3",
+ "Standard_E4s_v3",
+ "Standard_E8s_v3",
+ "Standard_E16s_v3",
+ "Standard_E32s_v3",
+ "Standard_E64s_v3",
+ "Standard_E32-16_v3",
+ "Standard_E32-8s_v3",
+ "Standard_E64-32s_v3",
+ "Standard_E64-16s_v3",
+ "Standard_F1",
+ "Standard_F2",
+ "Standard_F4",
+ "Standard_F8",
+ "Standard_F16",
+ "Standard_F1s",
+ "Standard_F2s",
+ "Standard_F4s",
+ "Standard_F8s",
+ "Standard_F16s",
+ "Standard_F2s_v2",
+ "Standard_F4s_v2",
+ "Standard_F8s_v2",
+ "Standard_F16s_v2",
+ "Standard_F32s_v2",
+ "Standard_F64s_v2",
+ "Standard_F72s_v2",
+ "Standard_G1",
+ "Standard_G2",
+ "Standard_G3",
+ "Standard_G4",
+ "Standard_G5",
+ "Standard_GS1",
+ "Standard_GS2",
+ "Standard_GS3",
+ "Standard_GS4",
+ "Standard_GS5",
+ "Standard_GS4-8",
+ "Standard_GS4-4",
+ "Standard_GS5-16",
+ "Standard_GS5-8",
+ "Standard_H8",
+ "Standard_H16",
+ "Standard_H8m",
+ "Standard_H16m",
+ "Standard_H16r",
+ "Standard_H16mr",
+ "Standard_L4s",
+ "Standard_L8s",
+ "Standard_L16s",
+ "Standard_L32s",
+ "Standard_M64s",
+ "Standard_M64ms",
+ "Standard_M128s",
+ "Standard_M128ms",
+ "Standard_M64-32ms",
+ "Standard_M64-16ms",
+ "Standard_M128-64ms",
+ "Standard_M128-32ms",
+ "Standard_NC6",
+ "Standard_NC12",
+ "Standard_NC24",
+ "Standard_NC24r",
+ "Standard_NC6s_v2",
+ "Standard_NC12s_v2",
+ "Standard_NC24s_v2",
+ "Standard_NC24rs_v2",
+ "Standard_NC6s_v3",
+ "Standard_NC12s_v3",
+ "Standard_NC24s_v3",
+ "Standard_NC24rs_v3",
+ "Standard_ND6s",
+ "Standard_ND12s",
+ "Standard_ND24s",
+ "Standard_ND24rs",
+ "Standard_NV6",
+ "Standard_NV12",
+ "Standard_NV24"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the size of the virtual machine. The enum data type is currently deprecated and will be removed by December 23rd 2023. The recommended way to get the list of available sizes is using these APIs: [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes), [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list), [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). The available VM sizes depend on region and availability set."
+ },
+ "vmSizeProperties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VMSizeProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies VM Size Property settings on the virtual machine."
+ }
+ },
+ "description": "Specifies the hardware settings for the virtual machine."
+ },
+ "hostGroups_hosts_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the dedicated host ."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DedicatedHostProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties of the dedicated host."
+ },
+ "sku": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Sku"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "hosts"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "sku",
+ "type"
+ ],
+ "description": "Microsoft.Compute/hostGroups/hosts"
+ },
+ "ImageDataDisk": {
+ "type": "object",
+ "properties": {
+ "blobUri": {
+ "type": "string",
+ "description": "The Virtual Hard Disk."
+ },
+ "caching": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**."
+ },
+ "diskEncryptionSet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiskEncryptionSetParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details."
+ },
+ "diskSizeGB": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB."
+ },
+ "lun": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."
+ },
+ "managedDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "snapshot": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "storageAccountType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "StandardSSD_LRS",
+ "UltraSSD_LRS",
+ "Premium_ZRS",
+ "StandardSSD_ZRS",
+ "PremiumV2_LRS"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."
+ }
+ },
+ "required": [
+ "lun"
+ ],
+ "description": "Describes a data disk."
+ },
+ "ImageOSDisk": {
+ "type": "object",
+ "properties": {
+ "blobUri": {
+ "type": "string",
+ "description": "The Virtual Hard Disk."
+ },
+ "caching": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**."
+ },
+ "diskEncryptionSet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiskEncryptionSetParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details."
+ },
+ "diskSizeGB": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB."
+ },
+ "managedDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "osState": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Generalized",
+ "Specialized"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The OS State. For managed images, use Generalized."
+ },
+ "osType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. Possible values are: **Windows,** **Linux.**."
+ },
+ "snapshot": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "storageAccountType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "StandardSSD_LRS",
+ "UltraSSD_LRS",
+ "Premium_ZRS",
+ "StandardSSD_ZRS",
+ "PremiumV2_LRS"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."
+ }
+ },
+ "required": [
+ "osState",
+ "osType"
+ ],
+ "description": "Describes an Operating System disk."
+ },
+ "ImageProperties": {
+ "type": "object",
+ "properties": {
+ "hyperVGeneration": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "V1",
+ "V2"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource."
+ },
+ "sourceVirtualMachine": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "storageProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ImageStorageProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a storage profile."
+ }
+ },
+ "description": "Describes the properties of an Image."
+ },
+ "ImageReference": {
+ "type": "object",
+ "properties": {
+ "communityGalleryImageId": {
+ "type": "string",
+ "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call."
+ },
+ "id": {
+ "type": "string",
+ "description": "Resource Id"
+ },
+ "offer": {
+ "type": "string",
+ "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The image publisher."
+ },
+ "sharedGalleryImageId": {
+ "type": "string",
+ "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call."
+ },
+ "sku": {
+ "type": "string",
+ "description": "The image SKU."
+ },
+ "version": {
+ "type": "string",
+ "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input."
+ }
+ },
+ "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set."
+ },
+ "ImageStorageProfile": {
+ "type": "object",
+ "properties": {
+ "dataDisks": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageDataDisk"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
+ },
+ "osDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ImageOSDisk"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes an Operating System disk."
+ },
+ "zoneResilient": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS)."
+ }
+ },
+ "description": "Describes a storage profile."
+ },
+ "InstanceViewStatus": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The status code."
+ },
+ "displayStatus": {
+ "type": "string",
+ "description": "The short localizable label for the status."
+ },
+ "level": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Info",
+ "Warning",
+ "Error"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The level code."
+ },
+ "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."
+ }
+ },
+ "description": "Instance view status."
+ },
+ "KeyVaultKeyReference": {
+ "type": "object",
+ "properties": {
+ "keyUrl": {
+ "type": "string",
+ "description": "The URL referencing a key encryption key in Key Vault."
+ },
+ "sourceVault": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ },
+ "required": [
+ "keyUrl",
+ "sourceVault"
+ ],
+ "description": "Describes a reference to Key Vault Key"
+ },
+ "KeyVaultSecretReference": {
+ "type": "object",
+ "properties": {
+ "secretUrl": {
+ "type": "string",
+ "description": "The URL referencing a secret in a Key Vault."
+ },
+ "sourceVault": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ },
+ "required": [
+ "secretUrl",
+ "sourceVault"
+ ],
+ "description": "Describes a reference to Key Vault Secret"
+ },
+ "LinuxConfiguration": {
+ "type": "object",
+ "properties": {
+ "disablePasswordAuthentication": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether password authentication should be disabled."
+ },
+ "enableVMAgentPlatformUpdates": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false."
+ },
+ "patchSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/LinuxPatchSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies settings related to VM Guest Patching on Linux."
+ },
+ "provisionVMAgent": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later."
+ },
+ "ssh": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SshConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "SSH configuration for Linux based VMs running on Azure"
+ }
+ },
+ "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)."
+ },
+ "LinuxPatchSettings": {
+ "type": "object",
+ "properties": {
+ "assessmentMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "ImageDefault",
+ "AutomaticByPlatform"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true."
+ },
+ "automaticByPlatformSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings."
+ },
+ "patchMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "ImageDefault",
+ "AutomaticByPlatform"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**ImageDefault** - The virtual machine's default patching configuration is used.
**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true."
+ }
+ },
+ "description": "Specifies settings related to VM Guest Patching on Linux."
+ },
+ "LinuxVMGuestPatchAutomaticByPlatformSettings": {
+ "type": "object",
+ "properties": {
+ "bypassPlatformSafetyChecksOnUserSchedule": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Enables customer to schedule patching without accidental upgrades"
+ },
+ "rebootSetting": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "IfRequired",
+ "Never",
+ "Always"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations."
+ }
+ },
+ "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings."
+ },
+ "ManagedDiskParameters": {
+ "type": "object",
+ "properties": {
+ "diskEncryptionSet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiskEncryptionSetParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details."
+ },
+ "id": {
+ "type": "string",
+ "description": "Resource Id"
+ },
+ "securityProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VMDiskSecurityProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs."
+ },
+ "storageAccountType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "StandardSSD_LRS",
+ "UltraSSD_LRS",
+ "Premium_ZRS",
+ "StandardSSD_ZRS",
+ "PremiumV2_LRS"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."
+ }
+ },
+ "description": "The parameters of a managed disk."
+ },
+ "NetworkInterfaceReference": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource Id"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a network interface reference properties."
+ }
+ },
+ "description": "Describes a network interface reference."
+ },
+ "NetworkInterfaceReferenceProperties": {
+ "type": "object",
+ "properties": {
+ "deleteOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Delete",
+ "Detach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specify what happens to the network interface when the VM is deleted."
+ },
+ "primary": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
+ }
+ },
+ "description": "Describes a network interface reference properties."
+ },
+ "NetworkProfile": {
+ "type": "object",
+ "properties": {
+ "networkApiVersion": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "2020-11-01"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations."
+ },
+ "networkInterfaceConfigurations": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources."
+ },
+ "networkInterfaces": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterfaceReference"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine."
+ }
+ },
+ "description": "Specifies the network interfaces or the networking configuration of the virtual machine."
+ },
+ "OSDisk": {
+ "type": "object",
+ "properties": {
+ "caching": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.**."
+ },
+ "createOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "FromImage",
+ "Empty",
+ "Attach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described."
+ },
+ "deleteOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Delete",
+ "Detach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the OS disk is deleted when VM is deleted. **Detach.** If this value is used, the os disk is retained after VM is deleted. The default value is set to **Detach**. For an ephemeral OS Disk, the default value is set to **Delete**. The user cannot change the delete option for an ephemeral OS Disk."
+ },
+ "diffDiskSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiffDiskSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. **Note:** The ephemeral disk settings can only be specified for managed disk."
+ },
+ "diskSizeGB": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023."
+ },
+ "encryptionSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiskEncryptionSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a Encryption Settings for a Disk"
+ },
+ "image": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the uri of a disk."
+ },
+ "managedDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ManagedDiskParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The parameters of a managed disk."
+ },
+ "name": {
+ "type": "string",
+ "description": "The disk name."
+ },
+ "osType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**."
+ },
+ "vhd": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the uri of a disk."
+ },
+ "writeAcceleratorEnabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
+ }
+ },
+ "required": [
+ "createOption"
+ ],
+ "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
+ },
+ "OSImageNotificationProfile": {
+ "type": "object",
+ "properties": {
+ "enable": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether the OS Image Scheduled event is enabled or disabled."
+ },
+ "notBeforeTimeout": {
+ "type": "string",
+ "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)"
+ }
+ }
+ },
+ "OSProfile": {
+ "type": "object",
+ "properties": {
+ "adminPassword": {
+ "type": "string",
+ "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)"
+ },
+ "adminUsername": {
+ "type": "string",
+ "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters."
+ },
+ "allowExtensionOperations": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether extension operations should be allowed on the virtual machine. This may only be set to False when no extensions are present on the virtual machine."
+ },
+ "computerName": {
+ "type": "string",
+ "description": "Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters. **Max-length (Linux):** 64 characters. For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules)."
+ },
+ "customData": {
+ "type": "string",
+ "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData property.** This property cannot be updated after the VM is created. The property 'customData' is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/). For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)."
+ },
+ "linuxConfiguration": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/LinuxConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)."
+ },
+ "requireGuestProvisionSignal": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Optional property which must either be set to True or omitted."
+ },
+ "secrets": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VaultSecretGroup"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
+ },
+ "windowsConfiguration": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/WindowsConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies Windows operating system settings on the virtual machine."
+ }
+ },
+ "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned."
+ },
+ "PatchSettings": {
+ "type": "object",
+ "properties": {
+ "assessmentMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "ImageDefault",
+ "AutomaticByPlatform"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
**ImageDefault** - You control the timing of patch assessments on a virtual machine.
**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true."
+ },
+ "automaticByPlatformSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings."
+ },
+ "enableHotpatching": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'."
+ },
+ "patchMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Manual",
+ "AutomaticByOS",
+ "AutomaticByPlatform"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true."
+ }
+ },
+ "description": "Specifies settings related to VM Guest Patching on Windows."
+ },
+ "Plan": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The plan ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
+ },
+ "promotionCode": {
+ "type": "string",
+ "description": "The promotion code."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher ID."
+ }
+ },
+ "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
+ },
+ "PriorityMixPolicy": {
+ "type": "object",
+ "properties": {
+ "baseRegularPriorityCount": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The base number of regular priority VMs that will be created in this scale set as it scales out."
+ },
+ "regularPriorityPercentageAboveBase": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 100
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority."
+ }
+ },
+ "description": "Specifies the target splits for Spot and Regular priority VMs within a scale set with flexible orchestration mode. With this property the customer is able to specify the base number of regular priority VMs created as the VMSS flex instance scales out and the split between Spot and Regular priority VMs after this base target has been reached."
+ },
+ "ProximityPlacementGroupProperties": {
+ "type": "object",
+ "properties": {
+ "colocationStatus": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Instance view status."
+ },
+ "intent": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProximityPlacementGroupPropertiesIntent"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the user intent of the proximity placement group."
+ },
+ "proximityPlacementGroupType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Standard",
+ "Ultra"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the type of the proximity placement group. Possible values are: **Standard** : Co-locate resources within an Azure region or Availability Zone. **Ultra** : For future use."
+ }
+ },
+ "description": "Describes the properties of a Proximity Placement Group."
+ },
+ "ProximityPlacementGroupPropertiesIntent": {
+ "type": "object",
+ "properties": {
+ "vmSizes": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies possible sizes of virtual machines that can be created in the proximity placement group."
+ }
+ },
+ "description": "Specifies the user intent of the proximity placement group."
+ },
+ "PublicIPAddressSku": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Basic",
+ "Standard"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specify public IP sku name."
+ },
+ "tier": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Regional",
+ "Global"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specify public IP sku tier."
+ }
+ },
+ "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible."
+ },
+ "RestorePointCollectionProperties": {
+ "type": "object",
+ "properties": {
+ "source": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/RestorePointCollectionSourceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The properties of the source resource that this restore point collection is created from."
+ }
+ },
+ "description": "The restore point collection properties."
+ },
+ "RestorePointCollectionSourceProperties": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource Id of the source resource used to create this restore point collection"
+ }
+ },
+ "description": "The properties of the source resource that this restore point collection is created from."
+ },
+ "restorePointCollections_restorePoints_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the restore point."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/RestorePointProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The restore point properties."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "restorePoints"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/restorePointCollections/restorePoints"
+ },
+ "RestorePointEncryption": {
+ "type": "object",
+ "properties": {
+ "diskEncryptionSet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiskEncryptionSetParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details."
+ },
+ "type": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "EncryptionAtRestWithPlatformKey",
+ "EncryptionAtRestWithCustomerKey",
+ "EncryptionAtRestWithPlatformAndCustomerKeys"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ },
+ "description": "Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point."
+ },
+ "RestorePointProperties": {
+ "type": "object",
+ "properties": {
+ "consistencyMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "CrashConsistent",
+ "FileSystemConsistent",
+ "ApplicationConsistent"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details."
+ },
+ "excludeDisks": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApiEntityReference"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included."
+ },
+ "sourceMetadata": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/RestorePointSourceMetadata"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation."
+ },
+ "sourceRestorePoint": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ApiEntityReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The API entity reference."
+ },
+ "timeCreated": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Gets the creation time of the restore point."
+ }
+ },
+ "description": "The restore point properties."
+ },
+ "RestorePointSourceMetadata": {
+ "type": "object",
+ "properties": {
+ "storageProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/RestorePointSourceVMStorageProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the storage profile."
+ }
+ },
+ "description": "Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation."
+ },
+ "RestorePointSourceVMDataDisk": {
+ "type": "object",
+ "properties": {
+ "diskRestorePoint": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiskRestorePointAttributes"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Disk Restore Point details."
+ },
+ "managedDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ManagedDiskParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The parameters of a managed disk."
+ }
+ },
+ "description": "Describes a data disk."
+ },
+ "RestorePointSourceVMOSDisk": {
+ "type": "object",
+ "properties": {
+ "diskRestorePoint": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiskRestorePointAttributes"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Disk Restore Point details."
+ },
+ "managedDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ManagedDiskParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The parameters of a managed disk."
+ }
+ },
+ "description": "Describes an Operating System disk."
+ },
+ "RestorePointSourceVMStorageProfile": {
+ "type": "object",
+ "properties": {
+ "dataDisks": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RestorePointSourceVMDataDisk"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets the data disks of the VM captured at the time of the restore point creation."
+ },
+ "osDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/RestorePointSourceVMOSDisk"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes an Operating System disk."
+ }
+ },
+ "description": "Describes the storage profile."
+ },
+ "RollingUpgradePolicy": {
+ "type": "object",
+ "properties": {
+ "enableCrossZoneUpgrade": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size."
+ },
+ "maxBatchInstancePercent": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 5,
+ "maximum": 100
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%."
+ },
+ "maxSurge": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch."
+ },
+ "maxUnhealthyInstancePercent": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 5,
+ "maximum": 100
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%."
+ },
+ "maxUnhealthyUpgradedInstancePercent": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 100
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%."
+ },
+ "pauseTimeBetweenBatches": {
+ "type": "string",
+ "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S)."
+ },
+ "prioritizeUnhealthyInstances": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Upgrade all unhealthy instances in a scale set before any healthy instances."
+ },
+ "rollbackFailedInstancesOnPolicyBreach": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Rollback failed instances to previous model if the Rolling Upgrade policy is violated."
+ }
+ },
+ "description": "The configuration parameters used while performing a rolling upgrade."
+ },
+ "RunCommandInputParameter": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The run command parameter name."
+ },
+ "value": {
+ "type": "string",
+ "description": "The run command parameter value."
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ],
+ "description": "Describes the properties of a run command parameter."
+ },
+ "RunCommandManagedIdentity": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "string",
+ "description": "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided."
+ },
+ "objectId": {
+ "type": "string",
+ "description": "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided."
+ }
+ },
+ "description": " Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged."
+ },
+ "ScaleInPolicy": {
+ "type": "object",
+ "properties": {
+ "forceDeletion": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)"
+ },
+ "rules": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Default",
+ "OldestVM",
+ "NewestVM"
+ ]
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
"
+ }
+ },
+ "description": "Describes a scale-in policy for a virtual machine scale set."
+ },
+ "ScheduledEventsProfile": {
+ "type": "object",
+ "properties": {
+ "osImageNotificationProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OSImageNotificationProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "terminateNotificationProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/TerminateNotificationProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ }
+ },
+ "SecurityPostureReference": {
+ "type": "object",
+ "properties": {
+ "excludeExtensions": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineExtension"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of virtual machine extensions to exclude when applying the Security Posture."
+ },
+ "id": {
+ "type": "string",
+ "description": "The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest"
+ }
+ },
+ "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01"
+ },
+ "SecurityProfile": {
+ "type": "object",
+ "properties": {
+ "encryptionAtHost": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource."
+ },
+ "securityType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "TrustedLaunch",
+ "ConfidentialVM"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set."
+ },
+ "uefiSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/UefiSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01."
+ }
+ },
+ "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set."
+ },
+ "ServiceArtifactReference": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}"
+ }
+ },
+ "description": "Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01"
+ },
+ "Sku": {
+ "type": "object",
+ "properties": {
+ "capacity": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the number of virtual machines in the scale set."
+ },
+ "name": {
+ "type": "string",
+ "description": "The sku name."
+ },
+ "tier": {
+ "type": "string",
+ "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**"
+ }
+ },
+ "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name."
+ },
+ "SpotRestorePolicy": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints"
+ },
+ "restoreTimeout": {
+ "type": "string",
+ "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances"
+ }
+ },
+ "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set. With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint."
+ },
+ "SshConfiguration": {
+ "type": "object",
+ "properties": {
+ "publicKeys": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SshPublicKey"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of SSH public keys used to authenticate with linux based VMs."
+ }
+ },
+ "description": "SSH configuration for Linux based VMs running on Azure"
+ },
+ "SshPublicKey": {
+ "type": "object",
+ "properties": {
+ "keyData": {
+ "type": "string",
+ "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)."
+ },
+ "path": {
+ "type": "string",
+ "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys"
+ }
+ },
+ "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed."
+ },
+ "SshPublicKeyResourceProperties": {
+ "type": "object",
+ "properties": {
+ "publicKey": {
+ "type": "string",
+ "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format."
+ }
+ },
+ "description": "Properties of the SSH public key."
+ },
+ "StorageProfile": {
+ "type": "object",
+ "properties": {
+ "dataDisks": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataDisk"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
+ },
+ "diskControllerType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SCSI",
+ "NVMe"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the disk controller type configured for the VM. **Note:** This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01."
+ },
+ "imageReference": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ImageReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set."
+ },
+ "osDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OSDisk"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
+ }
+ },
+ "description": "Specifies the storage settings for the virtual machine disks."
+ },
+ "SubResource": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource Id"
+ }
+ }
+ },
+ "TerminateNotificationProfile": {
+ "type": "object",
+ "properties": {
+ "enable": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether the Terminate Scheduled event is enabled or disabled."
+ },
+ "notBeforeTimeout": {
+ "type": "string",
+ "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)"
+ }
+ }
+ },
+ "UefiSettings": {
+ "type": "object",
+ "properties": {
+ "secureBootEnabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01."
+ },
+ "vTpmEnabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01."
+ }
+ },
+ "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01."
+ },
+ "UpgradePolicy": {
+ "type": "object",
+ "properties": {
+ "automaticOSUpgradePolicy": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AutomaticOSUpgradePolicy"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The configuration parameters used for performing automatic OS upgrade."
+ },
+ "mode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Automatic",
+ "Manual",
+ "Rolling"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time."
+ },
+ "rollingUpgradePolicy": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/RollingUpgradePolicy"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The configuration parameters used while performing a rolling upgrade."
+ }
+ },
+ "description": "Describes an upgrade policy - automatic, manual, or rolling."
+ },
+ "UserAssignedIdentitiesValue": {
+ "type": "object",
+ "properties": {}
+ },
+ "VaultCertificate": {
+ "type": "object",
+ "properties": {
+ "certificateStore": {
+ "type": "string",
+ "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted."
+ },
+ "certificateUrl": {
+ "type": "string",
+ "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
+ }
+ },
+ "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM."
+ },
+ "VaultSecretGroup": {
+ "type": "object",
+ "properties": {
+ "sourceVault": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "vaultCertificates": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VaultCertificate"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of key vault references in SourceVault which contain certificates."
+ }
+ },
+ "description": "Describes a set of certificates which are all in the same Key Vault."
+ },
+ "VirtualHardDisk": {
+ "type": "object",
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "Specifies the virtual hard disk's uri."
+ }
+ },
+ "description": "Describes the uri of a disk."
+ },
+ "VirtualMachineExtension": {
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineExtensionProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Virtual Machine Extension."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ }
+ },
+ "description": "Describes a Virtual Machine Extension."
+ },
+ "VirtualMachineExtensionInstanceView": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The virtual machine extension name."
+ },
+ "statuses": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The resource status information."
+ },
+ "substatuses": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The resource status information."
+ },
+ "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."
+ }
+ },
+ "description": "The instance view of a virtual machine extension."
+ },
+ "VirtualMachineExtensionProperties": {
+ "type": "object",
+ "properties": {
+ "autoUpgradeMinorVersion": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "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."
+ },
+ "enableAutomaticUpgrade": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available."
+ },
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
+ },
+ "instanceView": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The instance view of a virtual machine extension."
+ },
+ "protectedSettings": {
+ "type": "object",
+ "properties": {},
+ "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
+ },
+ "protectedSettingsFromKeyVault": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/KeyVaultSecretReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a reference to Key Vault Secret"
+ },
+ "provisionAfterExtensions": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Collection of extension names after which this extension needs to be provisioned."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "settings": {
+ "type": "object",
+ "properties": {},
+ "description": "Json formatted public settings for the extension."
+ },
+ "suppressFailures": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false."
+ },
+ "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."
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine Extension."
+ },
+ "VirtualMachineIdentity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned, UserAssigned",
+ "None"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."
+ },
+ "userAssignedIdentities": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/UserAssignedIdentitiesValue"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
+ }
+ },
+ "description": "Identity for the virtual machine."
+ },
+ "VirtualMachineIpTag": {
+ "type": "object",
+ "properties": {
+ "ipTagType": {
+ "type": "string",
+ "description": "IP tag type. Example: FirstPartyUsage."
+ },
+ "tag": {
+ "type": "string",
+ "description": "IP tag associated with the public IP. Example: SQL, Storage etc."
+ }
+ },
+ "description": "Contains the IP tag associated with the public IP address."
+ },
+ "VirtualMachineNetworkInterfaceConfiguration": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The network interface configuration name."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine network profile's IP configuration."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Describes a virtual machine network interface configurations."
+ },
+ "VirtualMachineNetworkInterfaceConfigurationProperties": {
+ "type": "object",
+ "properties": {
+ "deleteOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Delete",
+ "Detach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specify what happens to the network interface when the VM is deleted."
+ },
+ "disableTcpStateTracking": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether the network interface is disabled for tcp state tracking."
+ },
+ "dnsSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machines network configuration's DNS settings."
+ },
+ "dscpConfiguration": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "enableAcceleratedNetworking": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether the network interface is accelerated networking-enabled."
+ },
+ "enableFpga": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether the network interface is FPGA networking-enabled."
+ },
+ "enableIPForwarding": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether IP forwarding enabled on this NIC."
+ },
+ "ipConfigurations": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the IP configurations of the network interface."
+ },
+ "networkSecurityGroup": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "primary": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
+ }
+ },
+ "required": [
+ "ipConfigurations"
+ ],
+ "description": "Describes a virtual machine network profile's IP configuration."
+ },
+ "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
+ "type": "object",
+ "properties": {
+ "dnsServers": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of DNS servers IP addresses"
+ }
+ },
+ "description": "Describes a virtual machines network configuration's DNS settings."
+ },
+ "VirtualMachineNetworkInterfaceIPConfiguration": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The IP configuration name."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine network interface IP configuration properties."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Describes a virtual machine network profile's IP configuration."
+ },
+ "VirtualMachineNetworkInterfaceIPConfigurationProperties": {
+ "type": "object",
+ "properties": {
+ "applicationGatewayBackendAddressPools": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway."
+ },
+ "applicationSecurityGroups": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies an array of references to application security group."
+ },
+ "loadBalancerBackendAddressPools": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]."
+ },
+ "primary": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
+ },
+ "privateIPAddressVersion": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "IPv4",
+ "IPv6"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'."
+ },
+ "publicIPAddressConfiguration": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration"
+ },
+ "subnet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ },
+ "description": "Describes a virtual machine network interface IP configuration properties."
+ },
+ "VirtualMachineProperties": {
+ "type": "object",
+ "properties": {
+ "additionalCapabilities": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AdditionalCapabilities"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Enables or disables a capability on the virtual machine or virtual machine scale set."
+ },
+ "applicationProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ApplicationProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Contains the list of gallery applications that should be made available to the VM/VMSS"
+ },
+ "availabilitySet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "billingProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/BillingProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01."
+ },
+ "capacityReservation": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/CapacityReservationProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The parameters of a capacity reservation Profile."
+ },
+ "diagnosticsProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiagnosticsProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15."
+ },
+ "evictionPolicy": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Deallocate",
+ "Delete"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview."
+ },
+ "extensionsTimeBudget": {
+ "type": "string",
+ "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01."
+ },
+ "hardwareProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/HardwareProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the hardware settings for the virtual machine."
+ },
+ "host": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "hostGroup": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "licenseType": {
+ "type": "string",
+ "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15"
+ },
+ "networkProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/NetworkProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the network interfaces or the networking configuration of the virtual machine."
+ },
+ "osProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OSProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned."
+ },
+ "platformFaultDomain": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains. This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set. The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' greater than 1. This property cannot be updated once the Virtual Machine is created. Fault domain assignment can be viewed in the Virtual Machine Instance View. Minimum api‐version: 2020‐12‐01."
+ },
+ "priority": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Regular",
+ "Low",
+ "Spot"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the priority for the virtual machine. Minimum api-version: 2019-03-01."
+ },
+ "proximityPlacementGroup": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "scheduledEventsProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ScheduledEventsProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "securityProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SecurityProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set."
+ },
+ "storageProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/StorageProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the storage settings for the virtual machine disks."
+ },
+ "userData": {
+ "type": "string",
+ "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01."
+ },
+ "virtualMachineScaleSet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine."
+ },
+ "VirtualMachinePublicIPAddressConfiguration": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The publicIP address configuration name."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration"
+ },
+ "sku": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PublicIPAddressSku"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration"
+ },
+ "VirtualMachinePublicIPAddressConfigurationProperties": {
+ "type": "object",
+ "properties": {
+ "deleteOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Delete",
+ "Detach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specify what happens to the public IP address when the VM is deleted."
+ },
+ "dnsSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machines network configuration's DNS settings."
+ },
+ "idleTimeoutInMinutes": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The idle timeout of the public IP address."
+ },
+ "ipTags": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineIpTag"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of IP tags associated with the public IP address."
+ },
+ "publicIPAddressVersion": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "IPv4",
+ "IPv6"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'."
+ },
+ "publicIPAllocationMethod": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Dynamic",
+ "Static"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specify the public IP allocation type."
+ },
+ "publicIPPrefix": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ },
+ "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration"
+ },
+ "VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
+ "type": "object",
+ "properties": {
+ "domainNameLabel": {
+ "type": "string",
+ "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID."
+ }
+ },
+ "required": [
+ "domainNameLabel"
+ ],
+ "description": "Describes a virtual machines network configuration's DNS settings."
+ },
+ "VirtualMachineRunCommandProperties": {
+ "type": "object",
+ "properties": {
+ "asyncExecution": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete."
+ },
+ "errorBlobManagedIdentity": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/RunCommandManagedIdentity"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": " Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged."
+ },
+ "errorBlobUri": {
+ "type": "string",
+ "description": "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter."
+ },
+ "outputBlobManagedIdentity": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/RunCommandManagedIdentity"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": " Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged."
+ },
+ "outputBlobUri": {
+ "type": "string",
+ "description": "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. "
+ },
+ "parameters": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RunCommandInputParameter"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The parameters used by the script."
+ },
+ "protectedParameters": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RunCommandInputParameter"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The parameters used by the script."
+ },
+ "runAsPassword": {
+ "type": "string",
+ "description": "Specifies the user account password on the VM when executing the run command."
+ },
+ "runAsUser": {
+ "type": "string",
+ "description": "Specifies the user account on the VM when executing the run command."
+ },
+ "source": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineRunCommandScriptSource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId."
+ },
+ "timeoutInSeconds": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The timeout in seconds to execute the run command."
+ },
+ "treatFailureAsDeploymentFailure": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Optional. If set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results "
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine run command."
+ },
+ "VirtualMachineRunCommandScriptSource": {
+ "type": "object",
+ "properties": {
+ "commandId": {
+ "type": "string",
+ "description": "Specifies a commandId of predefined built-in script."
+ },
+ "script": {
+ "type": "string",
+ "description": "Specifies the script content to be executed on the VM."
+ },
+ "scriptUri": {
+ "type": "string",
+ "description": "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI."
+ },
+ "scriptUriManagedIdentity": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/RunCommandManagedIdentity"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": " Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged."
+ }
+ },
+ "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId."
+ },
+ "VirtualMachineScaleSetDataDisk": {
+ "type": "object",
+ "properties": {
+ "caching": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**."
+ },
+ "createOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "FromImage",
+ "Empty",
+ "Attach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The create option."
+ },
+ "deleteOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Delete",
+ "Detach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.
**Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**."
+ },
+ "diskIOPSReadWrite": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB."
+ },
+ "diskMBpsReadWrite": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB."
+ },
+ "diskSizeGB": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023."
+ },
+ "lun": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."
+ },
+ "managedDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the parameters of a ScaleSet managed disk."
+ },
+ "name": {
+ "type": "string",
+ "description": "The disk name."
+ },
+ "writeAcceleratorEnabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
+ }
+ },
+ "required": [
+ "createOption",
+ "lun"
+ ],
+ "description": "Describes a virtual machine scale set data disk."
+ },
+ "VirtualMachineScaleSetExtension": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the extension."
+ },
+ "properties": {
+ "anyOf": [
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/eset"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
+ }
+ ]
+ }
+ },
+ "description": "Describes a Virtual Machine Scale Set Extension."
+ },
+ "VirtualMachineScaleSetExtensionProfile": {
+ "type": "object",
+ "properties": {
+ "extensions": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtension"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The virtual machine scale set child extension resources."
+ },
+ "extensionsTimeBudget": {
+ "type": "string",
+ "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01."
+ }
+ },
+ "description": "Describes a virtual machine scale set extension profile."
+ },
+ "VirtualMachineScaleSetExtensionProperties": {
+ "type": "object",
+ "properties": {
+ "autoUpgradeMinorVersion": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "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."
+ },
+ "enableAutomaticUpgrade": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available."
+ },
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed."
+ },
+ "protectedSettings": {
+ "type": "object",
+ "properties": {},
+ "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
+ },
+ "protectedSettingsFromKeyVault": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/KeyVaultSecretReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a reference to Key Vault Secret"
+ },
+ "provisionAfterExtensions": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Collection of extension names after which this extension needs to be provisioned."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "settings": {
+ "type": "object",
+ "properties": {},
+ "description": "Json formatted public settings for the extension."
+ },
+ "suppressFailures": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false."
+ },
+ "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."
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine Scale Set Extension."
+ },
+ "VirtualMachineScaleSetHardwareProfile": {
+ "type": "object",
+ "properties": {
+ "vmSizeProperties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VMSizeProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies VM Size Property settings on the virtual machine."
+ }
+ },
+ "description": "Specifies the hardware settings for the virtual machine scale set."
+ },
+ "VirtualMachineScaleSetIdentity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned, UserAssigned",
+ "None"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set."
+ },
+ "userAssignedIdentities": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/UserAssignedIdentitiesValue"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
+ }
+ },
+ "description": "Identity for the virtual machine scale set."
+ },
+ "VirtualMachineScaleSetIPConfiguration": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The IP configuration name."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set network profile's IP configuration properties."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Describes a virtual machine scale set network profile's IP configuration."
+ },
+ "VirtualMachineScaleSetIPConfigurationProperties": {
+ "type": "object",
+ "properties": {
+ "applicationGatewayBackendAddressPools": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway."
+ },
+ "applicationSecurityGroups": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies an array of references to application security group."
+ },
+ "loadBalancerBackendAddressPools": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer."
+ },
+ "loadBalancerInboundNatPools": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer."
+ },
+ "primary": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
+ },
+ "privateIPAddressVersion": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "IPv4",
+ "IPv6"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'."
+ },
+ "publicIPAddressConfiguration": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration"
+ },
+ "subnet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ApiEntityReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The API entity reference."
+ }
+ },
+ "description": "Describes a virtual machine scale set network profile's IP configuration properties."
+ },
+ "VirtualMachineScaleSetIpTag": {
+ "type": "object",
+ "properties": {
+ "ipTagType": {
+ "type": "string",
+ "description": "IP tag type. Example: FirstPartyUsage."
+ },
+ "tag": {
+ "type": "string",
+ "description": "IP tag associated with the public IP. Example: SQL, Storage etc."
+ }
+ },
+ "description": "Contains the IP tag associated with the public IP address."
+ },
+ "VirtualMachineScaleSetManagedDiskParameters": {
+ "type": "object",
+ "properties": {
+ "diskEncryptionSet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiskEncryptionSetParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details."
+ },
+ "securityProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VMDiskSecurityProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs."
+ },
+ "storageAccountType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "StandardSSD_LRS",
+ "UltraSSD_LRS",
+ "Premium_ZRS",
+ "StandardSSD_ZRS",
+ "PremiumV2_LRS"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."
+ }
+ },
+ "description": "Describes the parameters of a ScaleSet managed disk."
+ },
+ "VirtualMachineScaleSetNetworkConfiguration": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The network configuration name."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set network profile's IP configuration."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Describes a virtual machine scale set network profile's network configurations."
+ },
+ "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
+ "type": "object",
+ "properties": {
+ "dnsServers": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of DNS servers IP addresses"
+ }
+ },
+ "description": "Describes a virtual machines scale sets network configuration's DNS settings."
+ },
+ "VirtualMachineScaleSetNetworkConfigurationProperties": {
+ "type": "object",
+ "properties": {
+ "deleteOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Delete",
+ "Detach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specify what happens to the network interface when the VM is deleted."
+ },
+ "disableTcpStateTracking": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether the network interface is disabled for tcp state tracking."
+ },
+ "dnsSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machines scale sets network configuration's DNS settings."
+ },
+ "enableAcceleratedNetworking": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether the network interface is accelerated networking-enabled."
+ },
+ "enableFpga": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether the network interface is FPGA networking-enabled."
+ },
+ "enableIPForwarding": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether IP forwarding enabled on this NIC."
+ },
+ "ipConfigurations": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the IP configurations of the network interface."
+ },
+ "networkSecurityGroup": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "primary": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
+ }
+ },
+ "required": [
+ "ipConfigurations"
+ ],
+ "description": "Describes a virtual machine scale set network profile's IP configuration."
+ },
+ "VirtualMachineScaleSetNetworkProfile": {
+ "type": "object",
+ "properties": {
+ "healthProbe": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ApiEntityReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The API entity reference."
+ },
+ "networkApiVersion": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "2020-11-01"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'."
+ },
+ "networkInterfaceConfigurations": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of network configurations."
+ }
+ },
+ "description": "Describes a virtual machine scale set network profile."
+ },
+ "VirtualMachineScaleSetOSDisk": {
+ "type": "object",
+ "properties": {
+ "caching": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.**."
+ },
+ "createOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "FromImage",
+ "Empty",
+ "Attach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies how the virtual machines in the scale set should be created. The only allowed value is: **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described."
+ },
+ "deleteOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Delete",
+ "Detach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).
Possible values:
**Delete** If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.
**Detach** If this value is used, the OS disk is retained after VMSS Flex VM is deleted.
The default value is set to **Delete**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk."
+ },
+ "diffDiskSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiffDiskSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. **Note:** The ephemeral disk settings can only be specified for managed disk."
+ },
+ "diskSizeGB": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023."
+ },
+ "image": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the uri of a disk."
+ },
+ "managedDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the parameters of a ScaleSet managed disk."
+ },
+ "name": {
+ "type": "string",
+ "description": "The disk name."
+ },
+ "osType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**."
+ },
+ "vhdContainers": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the container urls that are used to store operating system disks for the scale set."
+ },
+ "writeAcceleratorEnabled": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
+ }
+ },
+ "required": [
+ "createOption"
+ ],
+ "description": "Describes a virtual machine scale set operating system disk."
+ },
+ "VirtualMachineScaleSetOSProfile": {
+ "type": "object",
+ "properties": {
+ "adminPassword": {
+ "type": "string",
+ "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)"
+ },
+ "adminUsername": {
+ "type": "string",
+ "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters"
+ },
+ "allowExtensionOperations": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set."
+ },
+ "computerNamePrefix": {
+ "type": "string",
+ "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long."
+ },
+ "customData": {
+ "type": "string",
+ "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)"
+ },
+ "linuxConfiguration": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/LinuxConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)."
+ },
+ "requireGuestProvisionSignal": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Optional property which must either be set to True or omitted."
+ },
+ "secrets": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VaultSecretGroup"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
+ },
+ "windowsConfiguration": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/WindowsConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies Windows operating system settings on the virtual machine."
+ }
+ },
+ "description": "Describes a virtual machine scale set OS profile."
+ },
+ "VirtualMachineScaleSetProperties": {
+ "type": "object",
+ "properties": {
+ "additionalCapabilities": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AdditionalCapabilities"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Enables or disables a capability on the virtual machine or virtual machine scale set."
+ },
+ "automaticRepairsPolicy": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AutomaticRepairsPolicy"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set."
+ },
+ "constrainedMaximumCapacity": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Optional property which must either be set to True or omitted."
+ },
+ "doNotRunExtensionsOnOverprovisionedVMs": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs."
+ },
+ "hostGroup": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "orchestrationMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Uniform",
+ "Flexible"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the orchestration mode for the virtual machine scale set."
+ },
+ "overprovision": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned."
+ },
+ "platformFaultDomainCount": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Fault Domain count for each placement group."
+ },
+ "priorityMixPolicy": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PriorityMixPolicy"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the target splits for Spot and Regular priority VMs within a scale set with flexible orchestration mode. With this property the customer is able to specify the base number of regular priority VMs created as the VMSS flex instance scales out and the split between Spot and Regular priority VMs after this base target has been reached."
+ },
+ "proximityPlacementGroup": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "scaleInPolicy": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ScaleInPolicy"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a scale-in policy for a virtual machine scale set."
+ },
+ "singlePlacementGroup": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true."
+ },
+ "spotRestorePolicy": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SpotRestorePolicy"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set. With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint."
+ },
+ "upgradePolicy": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/UpgradePolicy"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes an upgrade policy - automatic, manual, or rolling."
+ },
+ "virtualMachineProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set virtual machine profile."
+ },
+ "zoneBalance": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set."
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine Scale Set."
+ },
+ "VirtualMachineScaleSetPublicIPAddressConfiguration": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The publicIP address configuration name."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration"
+ },
+ "sku": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PublicIPAddressSku"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration"
+ },
+ "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
+ "type": "object",
+ "properties": {
+ "domainNameLabel": {
+ "type": "string",
+ "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created"
+ }
+ },
+ "required": [
+ "domainNameLabel"
+ ],
+ "description": "Describes a virtual machines scale sets network configuration's DNS settings."
+ },
+ "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
+ "type": "object",
+ "properties": {
+ "deleteOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Delete",
+ "Detach"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specify what happens to the public IP when the VM is deleted."
+ },
+ "dnsSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machines scale sets network configuration's DNS settings."
+ },
+ "idleTimeoutInMinutes": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The idle timeout of the public IP address."
+ },
+ "ipTags": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of IP tags associated with the public IP address."
+ },
+ "publicIPAddressVersion": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "IPv4",
+ "IPv6"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'."
+ },
+ "publicIPPrefix": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ },
+ "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration"
+ },
+ "VirtualMachineScaleSetStorageProfile": {
+ "type": "object",
+ "properties": {
+ "dataDisks": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
+ },
+ "diskControllerType": {
+ "type": "string"
+ },
+ "imageReference": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ImageReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set."
+ },
+ "osDisk": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetOSDisk"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set operating system disk."
+ }
+ },
+ "description": "Describes a virtual machine scale set storage profile."
+ },
+ "virtualMachineScaleSets_extensions_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the VM scale set extension."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Virtual Machine Scale Set Extension."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "extensions"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachineScaleSets/extensions"
+ },
+ "virtualMachineScaleSets_virtualMachines_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "identity": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineIdentity"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Identity for the virtual machine."
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "name": {
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ "plan": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Plan"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a virtual machine scale set virtual machine."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "virtualMachines"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines"
+ },
+ "virtualMachineScaleSets_virtualMachines_extensions_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the extension."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the virtual machine extension."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineExtensionProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Virtual Machine Extension."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "extensions"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions"
+ },
+ "virtualMachineScaleSets_virtualMachines_runCommands_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the virtual machine run command."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineRunCommandProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Virtual Machine run command."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "runCommands"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands"
+ },
+ "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
+ "type": "object",
+ "properties": {
+ "networkInterfaceConfigurations": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of network configurations."
+ }
+ },
+ "description": "Describes a virtual machine scale set VM network profile."
+ },
+ "VirtualMachineScaleSetVMProfile": {
+ "type": "object",
+ "properties": {
+ "applicationProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ApplicationProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Contains the list of gallery applications that should be made available to the VM/VMSS"
+ },
+ "billingProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/BillingProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01."
+ },
+ "capacityReservation": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/CapacityReservationProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The parameters of a capacity reservation Profile."
+ },
+ "diagnosticsProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiagnosticsProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15."
+ },
+ "evictionPolicy": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Deallocate",
+ "Delete"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview."
+ },
+ "extensionProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set extension profile."
+ },
+ "hardwareProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the hardware settings for the virtual machine scale set."
+ },
+ "licenseType": {
+ "type": "string",
+ "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15"
+ },
+ "networkProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set network profile."
+ },
+ "osProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetOSProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set OS profile."
+ },
+ "priority": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Regular",
+ "Low",
+ "Spot"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview."
+ },
+ "scheduledEventsProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ScheduledEventsProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "securityPostureReference": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SecurityPostureReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01"
+ },
+ "securityProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SecurityProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set."
+ },
+ "serviceArtifactReference": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ServiceArtifactReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01"
+ },
+ "storageProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set storage profile."
+ },
+ "userData": {
+ "type": "string",
+ "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01."
+ }
+ },
+ "description": "Describes a virtual machine scale set virtual machine profile."
+ },
+ "VirtualMachineScaleSetVMProperties": {
+ "type": "object",
+ "properties": {
+ "additionalCapabilities": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AdditionalCapabilities"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Enables or disables a capability on the virtual machine or virtual machine scale set."
+ },
+ "availabilitySet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "diagnosticsProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiagnosticsProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15."
+ },
+ "hardwareProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/HardwareProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the hardware settings for the virtual machine."
+ },
+ "licenseType": {
+ "type": "string",
+ "description": "Specifies that the image or disk that is being used was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15"
+ },
+ "networkProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/NetworkProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the network interfaces or the networking configuration of the virtual machine."
+ },
+ "networkProfileConfiguration": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a virtual machine scale set VM network profile."
+ },
+ "osProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OSProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned."
+ },
+ "protectionPolicy": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The protection policy of a virtual machine scale set VM."
+ },
+ "securityProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SecurityProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set."
+ },
+ "storageProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/StorageProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the storage settings for the virtual machine disks."
+ },
+ "userData": {
+ "type": "string",
+ "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.
Minimum api-version: 2021-03-01"
+ }
+ },
+ "description": "Describes the properties of a virtual machine scale set virtual machine."
+ },
+ "VirtualMachineScaleSetVMProtectionPolicy": {
+ "type": "object",
+ "properties": {
+ "protectFromScaleIn": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation."
+ },
+ "protectFromScaleSetActions": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM."
+ }
+ },
+ "description": "The protection policy of a virtual machine scale set VM."
+ },
+ "virtualMachines_extensions_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the virtual machine extension."
+ },
+ "properties": {
+ "anyOf": [
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/chefClient"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/eset"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/customScript"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux"
+ }
+ ]
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "extensions"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachines/extensions"
+ },
+ "virtualMachines_runCommands_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-01"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the virtual machine run command."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineRunCommandProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Virtual Machine run command."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "runCommands"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Compute/virtualMachines/runCommands"
+ },
+ "VMDiskSecurityProfile": {
+ "type": "object",
+ "properties": {
+ "diskEncryptionSet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DiskEncryptionSetParameters"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details."
+ },
+ "securityEncryptionType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "VMGuestStateOnly",
+ "DiskWithVMGuestState"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. **Note:** It can be set for only Confidential VMs."
+ }
+ },
+ "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs."
+ },
+ "VMGalleryApplication": {
+ "type": "object",
+ "properties": {
+ "configurationReference": {
+ "type": "string",
+ "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided"
+ },
+ "enableAutomaticUpgrade": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS"
+ },
+ "order": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Optional, Specifies the order in which the packages have to be installed"
+ },
+ "packageReferenceId": {
+ "type": "string",
+ "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}"
+ },
+ "tags": {
+ "type": "string",
+ "description": "Optional, Specifies a passthrough value for more generic context."
+ },
+ "treatFailureAsDeploymentFailure": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment"
+ }
+ },
+ "required": [
+ "packageReferenceId"
+ ],
+ "description": "Specifies the required information to reference a compute gallery application version"
+ },
+ "VMSizeProperties": {
+ "type": "object",
+ "properties": {
+ "vCPUsAvailable": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)."
+ },
+ "vCPUsPerCore": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). **Setting this property to 1 also means that hyper-threading is disabled.**"
+ }
+ },
+ "description": "Specifies VM Size Property settings on the virtual machine."
+ },
+ "WindowsConfiguration": {
+ "type": "object",
+ "properties": {
+ "additionalUnattendContent": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AdditionalUnattendContent"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup."
+ },
+ "enableAutomaticUpdates": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning."
+ },
+ "enableVMAgentPlatformUpdates": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false."
+ },
+ "patchSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PatchSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies settings related to VM Guest Patching on Windows."
+ },
+ "provisionVMAgent": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later."
+ },
+ "timeZone": {
+ "type": "string",
+ "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\". Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones)."
+ },
+ "winRM": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/WinRMConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes Windows Remote Management configuration of the VM"
+ }
+ },
+ "description": "Specifies Windows operating system settings on the virtual machine."
+ },
+ "WindowsVMGuestPatchAutomaticByPlatformSettings": {
+ "type": "object",
+ "properties": {
+ "bypassPlatformSafetyChecksOnUserSchedule": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Enables customer to schedule patching without accidental upgrades"
+ },
+ "rebootSetting": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "IfRequired",
+ "Never",
+ "Always"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations."
+ }
+ },
+ "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings."
+ },
+ "WinRMConfiguration": {
+ "type": "object",
+ "properties": {
+ "listeners": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WinRMListener"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of Windows Remote Management listeners"
+ }
+ },
+ "description": "Describes Windows Remote Management configuration of the VM"
+ },
+ "WinRMListener": {
+ "type": "object",
+ "properties": {
+ "certificateUrl": {
+ "type": "string",
+ "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
+ },
+ "protocol": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Http",
+ "Https"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the protocol of WinRM listener. Possible values are: **http,** **https.**."
+ }
+ },
+ "description": "Describes Protocol and thumbprint of Windows Remote Management listener"
+ }
+ }
+}
\ No newline at end of file
diff --git a/schemas/2023-03-15-preview/Microsoft.HybridCompute.json b/schemas/2023-03-15-preview/Microsoft.HybridCompute.json
new file mode 100644
index 0000000000..ed29a48037
--- /dev/null
+++ b/schemas/2023-03-15-preview/Microsoft.HybridCompute.json
@@ -0,0 +1,1048 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.HybridCompute.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Microsoft.HybridCompute",
+ "description": "Microsoft HybridCompute Resource Types",
+ "resourceDefinitions": {
+ "machines": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-15-preview"
+ ]
+ },
+ "identity": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Identity"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Identity for the resource."
+ },
+ "kind": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "AVS",
+ "HCI",
+ "SCVMM",
+ "VMware"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates which kind of VM fabric the instance is an instance of, such as HCI or SCVMM etc."
+ },
+ "location": {
+ "type": "string",
+ "description": "The geo-location where the resource lives"
+ },
+ "name": {
+ "oneOf": [
+ {
+ "type": "string",
+ "pattern": "[a-zA-Z0-9-_\\.]",
+ "minLength": 1,
+ "maxLength": 54
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The name of the hybrid machine."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MachineProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a hybrid machine."
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/machines_extensions_childResource"
+ }
+ ]
+ }
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.HybridCompute/machines"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.HybridCompute/machines"
+ },
+ "machines_extensions": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-15-preview"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "The geo-location where the resource lives"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the machine extension."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MachineExtensionProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Machine Extension."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.HybridCompute/machines/extensions"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.HybridCompute/machines/extensions"
+ },
+ "privateLinkScopes": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-15-preview"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the Azure Arc PrivateLinkScope resource."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties that define a Azure Arc PrivateLinkScope resource."
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_childResource"
+ }
+ ]
+ }
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.HybridCompute/privateLinkScopes"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.HybridCompute/privateLinkScopes"
+ },
+ "privateLinkScopes_privateEndpointConnections": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-15-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the private endpoint connection."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties of a private endpoint connection."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections"
+ }
+ },
+ "definitions": {
+ "AgentConfiguration": {
+ "type": "object",
+ "properties": {},
+ "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM."
+ },
+ "AgentUpgrade": {
+ "type": "object",
+ "properties": {
+ "correlationId": {
+ "type": "string",
+ "description": "The correlation ID passed in from RSM per upgrade."
+ },
+ "desiredVersion": {
+ "type": "string",
+ "description": "Specifies the version info w.r.t AgentUpgrade for the machine."
+ },
+ "enableAutomaticUpgrade": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies if RSM should try to upgrade this machine"
+ }
+ },
+ "description": "The info w.r.t Agent Upgrade."
+ },
+ "CloudMetadata": {
+ "type": "object",
+ "properties": {},
+ "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)."
+ },
+ "HybridComputePrivateLinkScopeProperties": {
+ "type": "object",
+ "properties": {
+ "publicNetworkAccess": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints."
+ }
+ },
+ "description": "Properties that define a Azure Arc PrivateLinkScope resource."
+ },
+ "Identity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SystemAssigned"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The identity type."
+ }
+ },
+ "description": "Identity for the resource."
+ },
+ "IpAddress": {
+ "type": "object",
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "Represents the IP Address."
+ },
+ "ipAddressVersion": {
+ "type": "string",
+ "description": "Represents the Ip Address Version."
+ },
+ "subnet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Subnet"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the subnet."
+ }
+ },
+ "description": "Describes properties of the IP address."
+ },
+ "LocationData": {
+ "type": "object",
+ "properties": {
+ "city": {
+ "type": "string",
+ "description": "The city or locality where the resource is located."
+ },
+ "countryOrRegion": {
+ "type": "string",
+ "description": "The country or region where the resource is located"
+ },
+ "district": {
+ "type": "string",
+ "description": "The district, state, or province where the resource is located."
+ },
+ "name": {
+ "type": "string",
+ "maxLength": 256,
+ "description": "A canonical name for the geographic or physical location."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Metadata pertaining to the geographic location of the resource."
+ },
+ "MachineExtensionInstanceView": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The machine extension name."
+ },
+ "status": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MachineExtensionInstanceViewStatus"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Instance view status."
+ },
+ "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."
+ }
+ },
+ "description": "Describes the Machine Extension Instance View."
+ },
+ "MachineExtensionInstanceViewStatus": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The status code."
+ },
+ "displayStatus": {
+ "type": "string",
+ "description": "The short localizable label for the status."
+ },
+ "level": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Info",
+ "Warning",
+ "Error"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The level code."
+ },
+ "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."
+ }
+ },
+ "description": "Instance view status."
+ },
+ "MachineExtensionProperties": {
+ "type": "object",
+ "properties": {
+ "autoUpgradeMinorVersion": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "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."
+ },
+ "enableAutomaticUpgrade": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available."
+ },
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
+ },
+ "instanceView": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MachineExtensionInstanceView"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the Machine Extension Instance View."
+ },
+ "protectedSettings": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {}
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "settings": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {}
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Json formatted public settings for the extension."
+ },
+ "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."
+ }
+ },
+ "description": "Describes the properties of a Machine Extension."
+ },
+ "MachineProperties": {
+ "type": "object",
+ "properties": {
+ "agentConfiguration": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AgentConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM."
+ },
+ "agentUpgrade": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AgentUpgrade"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The info w.r.t Agent Upgrade."
+ },
+ "clientPublicKey": {
+ "type": "string",
+ "description": "Public Key that the client provides to be used during initial resource onboarding"
+ },
+ "cloudMetadata": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/CloudMetadata"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)."
+ },
+ "detectedProperties": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Detected properties from the machine."
+ },
+ "extensions": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MachineExtensionInstanceView"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Machine Extensions information (deprecated field)"
+ },
+ "locationData": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/LocationData"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Metadata pertaining to the geographic location of the resource."
+ },
+ "mssqlDiscovered": {
+ "type": "string",
+ "description": "Specifies whether any MS SQL instance is discovered on the machine."
+ },
+ "networkProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/NetworkProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the network information on this machine."
+ },
+ "osProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OSProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the operating system settings for the hybrid machine."
+ },
+ "osType": {
+ "type": "string",
+ "description": "The type of Operating System (windows/linux)."
+ },
+ "parentClusterResourceId": {
+ "type": "string",
+ "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any."
+ },
+ "privateLinkScopeResourceId": {
+ "type": "string",
+ "description": "The resource id of the private link scope this machine is assigned to, if any."
+ },
+ "serviceStatuses": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ServiceStatuses"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Reports the state and behavior of dependent services."
+ },
+ "vmId": {
+ "type": "string",
+ "description": "Specifies the hybrid machine unique ID."
+ }
+ },
+ "description": "Describes the properties of a hybrid machine."
+ },
+ "machines_extensions_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-15-preview"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "The geo-location where the resource lives"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the machine extension."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MachineExtensionProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the properties of a Machine Extension."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "extensions"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.HybridCompute/machines/extensions"
+ },
+ "NetworkInterface": {
+ "type": "object",
+ "properties": {
+ "ipAddresses": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpAddress"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of IP addresses in this interface."
+ }
+ },
+ "description": "Describes a network interface."
+ },
+ "NetworkProfile": {
+ "type": "object",
+ "properties": {
+ "networkInterfaces": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of network interfaces."
+ }
+ },
+ "description": "Describes the network information on this machine."
+ },
+ "OSProfile": {
+ "type": "object",
+ "properties": {
+ "linuxConfiguration": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OSProfileLinuxConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the linux configuration for update management."
+ },
+ "windowsConfiguration": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OSProfileWindowsConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the windows configuration for update management."
+ }
+ },
+ "description": "Specifies the operating system settings for the hybrid machine."
+ },
+ "OSProfileLinuxConfiguration": {
+ "type": "object",
+ "properties": {
+ "patchSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PatchSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the patch settings."
+ }
+ },
+ "description": "Specifies the linux configuration for update management."
+ },
+ "OSProfileWindowsConfiguration": {
+ "type": "object",
+ "properties": {
+ "patchSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PatchSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the patch settings."
+ }
+ },
+ "description": "Specifies the windows configuration for update management."
+ },
+ "PatchSettings": {
+ "type": "object",
+ "properties": {
+ "assessmentMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "ImageDefault",
+ "AutomaticByPlatform"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the assessment mode."
+ },
+ "patchMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "ImageDefault",
+ "AutomaticByPlatform",
+ "AutomaticByOS",
+ "Manual"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the patch mode."
+ }
+ },
+ "description": "Specifies the patch settings."
+ },
+ "PrivateEndpointConnectionProperties": {
+ "type": "object",
+ "properties": {
+ "privateEndpoint": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PrivateEndpointProperty"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Private endpoint which the connection belongs to."
+ },
+ "privateLinkServiceConnectionState": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "State of the private endpoint connection."
+ }
+ },
+ "description": "Properties of a private endpoint connection."
+ },
+ "PrivateEndpointProperty": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource id of the private endpoint."
+ }
+ },
+ "description": "Private endpoint which the connection belongs to."
+ },
+ "privateLinkScopes_privateEndpointConnections_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-03-15-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the private endpoint connection."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties of a private endpoint connection."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "privateEndpointConnections"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections"
+ },
+ "PrivateLinkServiceConnectionStateProperty": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The private link service connection description."
+ },
+ "status": {
+ "type": "string",
+ "description": "The private link service connection status."
+ }
+ },
+ "required": [
+ "description",
+ "status"
+ ],
+ "description": "State of the private endpoint connection."
+ },
+ "ServiceStatus": {
+ "type": "object",
+ "properties": {
+ "startupType": {
+ "type": "string",
+ "description": "The behavior of the service when the Arc-enabled machine starts up."
+ },
+ "status": {
+ "type": "string",
+ "description": "The current status of the service."
+ }
+ },
+ "description": "Describes the status and behavior of a service."
+ },
+ "ServiceStatuses": {
+ "type": "object",
+ "properties": {
+ "extensionService": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ServiceStatus"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the status and behavior of a service."
+ },
+ "guestConfigurationService": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ServiceStatus"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the status and behavior of a service."
+ }
+ },
+ "description": "Reports the state and behavior of dependent services."
+ },
+ "Subnet": {
+ "type": "object",
+ "properties": {
+ "addressPrefix": {
+ "type": "string",
+ "description": "Represents address prefix."
+ }
+ },
+ "description": "Describes the subnet."
+ }
+ }
+}
\ No newline at end of file
diff --git a/schemas/2023-04-01-preview/Microsoft.Easm.json b/schemas/2023-04-01-preview/Microsoft.Easm.json
new file mode 100644
index 0000000000..03684ea93f
--- /dev/null
+++ b/schemas/2023-04-01-preview/Microsoft.Easm.json
@@ -0,0 +1,176 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.Easm.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Microsoft.Easm",
+ "description": "Microsoft Easm Resource Types",
+ "resourceDefinitions": {
+ "workspaces": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-04-01-preview"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "The geo-location where the resource lives"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the Workspace."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ResourceBaseProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource base properties."
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/workspaces_labels_childResource"
+ }
+ ]
+ }
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Easm/workspaces"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Easm/workspaces"
+ },
+ "workspaces_labels": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-04-01-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the Label."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/LabelResourceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Label properties."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Easm/workspaces/labels"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Easm/workspaces/labels"
+ }
+ },
+ "definitions": {
+ "LabelResourceProperties": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "string",
+ "description": "Label color."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Label display name."
+ }
+ },
+ "description": "Label properties."
+ },
+ "ResourceBaseProperties": {
+ "type": "object",
+ "properties": {},
+ "description": "Resource base properties."
+ },
+ "workspaces_labels_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2023-04-01-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the Label."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/LabelResourceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Label properties."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "labels"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Easm/workspaces/labels"
+ }
+ }
+}
\ No newline at end of file
diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json
index dc4708cefe..640ebad7f8 100644
--- a/schemas/common/autogeneratedResources.json
+++ b/schemas/common/autogeneratedResources.json
@@ -91,6 +91,12 @@
{
"$ref": "https://schema.management.azure.com/schemas/2022-10-01/Microsoft.Advisor.json#/unknown_resourceDefinitions/recommendations_suppressions"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.Advisor.json#/resourceDefinitions/configurations"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.Advisor.json#/unknown_resourceDefinitions/recommendations_suppressions"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2020-05-12-preview/Microsoft.AgFoodPlatform.json#/resourceDefinitions/farmBeats"
},
@@ -5293,6 +5299,12 @@
{
"$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachineScaleSets_extensions"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachines_extensions"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachineScaleSets_extensions"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.json#/resourceDefinitions/availabilitySets"
},
@@ -6211,6 +6223,54 @@
{
"$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_runCommands"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/availabilitySets"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/capacityReservationGroups"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/capacityReservationGroups_capacityReservations"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups_hosts"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/images"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/proximityPlacementGroups"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/restorePointCollections"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/restorePointCollections_restorePoints"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/sshPublicKeys"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines_runCommands"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_extensions"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_runCommands"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2020-12-01-preview/Microsoft.ConfidentialLedger.json#/resourceDefinitions/ledgers"
},
@@ -8851,12 +8911,36 @@
{
"$ref": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_backups"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_configurations"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_databases"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_firewallRules"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_administrators"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_backups"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_configurations"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_databases"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_firewallRules"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-09-30-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_privateEndpointConnections"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers"
},
@@ -12760,6 +12844,12 @@
{
"$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.Easm.json#/resourceDefinitions/workspaces_labels"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.Easm.json#/resourceDefinitions/workspaces"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.Easm.json#/resourceDefinitions/workspaces_labels"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2020-12-01-preview/Microsoft.EdgeOrder.json#/resourceDefinitions/addresses"
},
@@ -13924,6 +14014,18 @@
{
"$ref": "https://schema.management.azure.com/schemas/2022-12-27-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.HybridCompute.json#/resourceDefinitions/machines_extensions"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.HybridCompute.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.HybridContainerService.json#/resourceDefinitions/provisionedClusters"
},
@@ -26425,6 +26527,36 @@
{
"$ref": "https://schema.management.azure.com/schemas/2020-06-05-preview/Microsoft.ScVmm.json#/resourceDefinitions/vmmServers_inventoryItems"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-05-21-preview/Microsoft.ScVmm.json#/resourceDefinitions/availabilitySets"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-05-21-preview/Microsoft.ScVmm.json#/resourceDefinitions/clouds"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-05-21-preview/Microsoft.ScVmm.json#/resourceDefinitions/virtualMachines"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-05-21-preview/Microsoft.ScVmm.json#/resourceDefinitions/virtualMachines_extensions"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-05-21-preview/Microsoft.ScVmm.json#/resourceDefinitions/virtualMachines_guestAgents"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-05-21-preview/Microsoft.ScVmm.json#/resourceDefinitions/virtualMachines_hybridIdentityMetadata"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-05-21-preview/Microsoft.ScVmm.json#/resourceDefinitions/virtualMachineTemplates"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-05-21-preview/Microsoft.ScVmm.json#/resourceDefinitions/virtualNetworks"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-05-21-preview/Microsoft.ScVmm.json#/resourceDefinitions/vmmServers"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2022-05-21-preview/Microsoft.ScVmm.json#/resourceDefinitions/vmmServers_inventoryItems"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2015-02-28/Microsoft.Search.json#/resourceDefinitions/searchServices"
},