diff --git a/schemas/2020-03-20/Microsoft.AVS.json b/schemas/2020-03-20/Microsoft.AVS.json index 95db8a5500..e5b4ce53f3 100644 --- a/schemas/2020-03-20/Microsoft.AVS.json +++ b/schemas/2020-03-20/Microsoft.AVS.json @@ -520,4 +520,4 @@ "description": "The resource model definition representing SKU" } } -} \ No newline at end of file +} diff --git a/schemas/2020-07-17-preview/Microsoft.AVS.json b/schemas/2020-07-17-preview/Microsoft.AVS.json index b22fe28e0d..2bf61984bb 100644 --- a/schemas/2020-07-17-preview/Microsoft.AVS.json +++ b/schemas/2020-07-17-preview/Microsoft.AVS.json @@ -47,6 +47,9 @@ }, { "$ref": "#/definitions/privateClouds_globalReachConnections_childResource" + }, + { + "$ref": "#/definitions/privateClouds_addons_childResource" } ] } @@ -93,6 +96,45 @@ ], "description": "Microsoft.AVS/privateClouds" }, + "privateClouds_addons": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the addon for the private cloud" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddonProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an addon that may be updated" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AVS/privateClouds/addons" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AVS/privateClouds/addons" + }, "privateClouds_authorizations": { "type": "object", "properties": { @@ -473,6 +515,31 @@ } }, "definitions": { + "AddonProperties": { + "type": "object", + "properties": { + "addonType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SRM", + "VR" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of private cloud addon." + }, + "licenseKey": { + "type": "string", + "description": "The SRM license" + } + }, + "description": "The properties of an addon that may be updated" + }, "Circuit": { "type": "object", "properties": {}, @@ -675,6 +742,45 @@ ], "description": "The properties of a private cloud resource" }, + "privateClouds_addons_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the addon for the private cloud" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddonProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an addon that may be updated" + }, + "type": { + "type": "string", + "enum": [ + "addons" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AVS/privateClouds/addons" + }, "privateClouds_authorizations_childResource": { "type": "object", "properties": { @@ -1184,4 +1290,4 @@ "description": "NSX VM Group Properties" } } -} \ No newline at end of file +}