From 1391d7ca07f185f0ef91abc551260c21478d4a50 Mon Sep 17 00:00:00 2001 From: Pavan Rachapudy Date: Fri, 16 Oct 2020 07:24:03 -0700 Subject: [PATCH] Added Extended location property to Microsoft.Compute VM, VMSS & Image resources --- .../stable/2020-06-01/compute.json | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-06-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-06-01/compute.json index e680df16e276..b4016e7b766d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-06-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-06-01/compute.json @@ -9021,6 +9021,10 @@ "type": "string" }, "description": "The virtual machine zones." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location of the Virtual Machine." } }, "allOf": [ @@ -9342,6 +9346,10 @@ "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/ImageProperties" + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location of the Image." } }, "allOf": [ @@ -10454,6 +10462,10 @@ "type": "string" }, "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set" + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location of the Virtual Machine Scale Set." } }, "allOf": [ @@ -11408,6 +11420,34 @@ }, "x-ms-azure-resource": true }, + "ExtendedLocationType": { + "type": "string", + "description": "The supported ExtendedLocation types. Currently only EdgeZone is supported in Microsoft.Compute resources.", + "enum": [ + "EdgeZone" + ], + "x-ms-enum": { + "name": "ExtendedLocationTypes", + "modelAsString": true + } + }, + "ExtendedLocation": { + "description": "ExtendedLocation complex type.", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "$ref": "#/definitions/ExtendedLocationType", + "description": "The type of the extended location." + } + }, + "required": [ + "name", + "type" + ] + }, "RecoveryWalkResponse": { "properties": { "walkPerformed": {