From 3be1a911d16b8296adaedaa7f947fbdd04e85d19 Mon Sep 17 00:00:00 2001 From: dwchung4 Date: Fri, 21 Sep 2018 14:21:43 -0700 Subject: [PATCH 1/7] Updated compute.json --- .../stable/2017-03-30/compute.json | 36 +++++++++++++++++++ .../stable/2017-12-01/compute.json | 36 +++++++++++++++++++ .../stable/2018-04-01/compute.json | 36 +++++++++++++++++++ .../stable/2018-06-01/compute.json | 36 +++++++++++++++++++ .../stable/2018-10-01/compute.json | 36 +++++++++++++++++++ 5 files changed, 180 insertions(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json index aa59d44c6a7c..c315717028e9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json @@ -991,6 +991,42 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines": { + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_ListByLocation", + "description": "Gets all the virtual machines under the specified subscription for the specified location.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which virtual machines under the subscription are queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes": { "get": { "tags": [ diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json index 419af1428115..efef80e61dbd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json @@ -1062,6 +1062,42 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines": { + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_ListByLocation", + "description": "Gets all the virtual machines under the specified subscription for the specified location.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which virtual machines under the subscription are queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes": { "get": { "tags": [ diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json index 38b96ac07588..4c87ac5535be 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json @@ -1056,6 +1056,42 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines": { + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_ListByLocation", + "description": "Gets all the virtual machines under the specified subscription for the specified location.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which virtual machines under the subscription are queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes": { "get": { "tags": [ diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json index 028fff2d752b..d65cfbfa0f2d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json @@ -1056,6 +1056,42 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines": { + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_ListByLocation", + "description": "Gets all the virtual machines under the specified subscription for the specified location.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which virtual machines under the subscription are queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes": { "get": { "tags": [ diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json index c19a15e92dcf..0a156086dad6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json @@ -1056,6 +1056,42 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines": { + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_ListByLocation", + "description": "Gets all the virtual machines under the specified subscription for the specified location.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which virtual machines under the subscription are queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes": { "get": { "tags": [ From 7e77af77c192a4b944c48caed5a2c53003751880 Mon Sep 17 00:00:00 2001 From: dwchung4 Date: Fri, 21 Sep 2018 16:19:32 -0700 Subject: [PATCH 2/7] Added an example --- ...tualMachinesInASubscriptionByLocation.json | 127 ++++++++++++++++++ ...tualMachinesInASubscriptionByLocation.json | 127 ++++++++++++++++++ ...tualMachinesInASubscriptionByLocation.json | 127 ++++++++++++++++++ ...tualMachinesInASubscriptionByLocation.json | 127 ++++++++++++++++++ ...tualMachinesInASubscriptionByLocation.json | 127 ++++++++++++++++++ 5 files changed, 635 insertions(+) create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json new file mode 100644 index 000000000000..c9cbb4ce888a --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "locations": "{locations}", + "api-version": "2017-03-30" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "vmId": "{vmId}", + "availabilitySet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + }, + "hardwareProfile": { + "vmSize": "Standard_A0" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "4.127.20170406" + }, + "osDisk": { + "osType": "Windows", + "name": "test", + "createOption": "FromImage", + "vhd": { + "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + }, + "caching": "None", + "diskSizeGB": 127 + }, + "dataDisks": [] + }, + "osProfile": { + "computerName": "Test", + "adminUsername": "Foo12", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + }, + "secrets": [], + "allowExtensionOperations": true + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}" + } + ] + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.Compute/virtualMachines", + "location": "{locations}", + "tags": { + "RG": "rg", + "testTag": "1" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}", + "name": "{virtualMachineName}" + }, + { + "properties": { + "vmId": "{vmId}", + "availabilitySet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + }, + "hardwareProfile": { + "vmSize": "Standard_A0" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "4.127.20170406" + }, + "osDisk": { + "osType": "Windows", + "name": "test", + "createOption": "FromImage", + "vhd": { + "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + }, + "caching": "None", + "diskSizeGB": 127 + }, + "dataDisks": [] + }, + "osProfile": { + "computerName": "Test", + "adminUsername": "Foo12", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + }, + "secrets": [], + "allowExtensionOperations": true + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}" + } + ] + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.Compute/virtualMachines", + "location": "{locations}", + "tags": { + "RG": "rg", + "testTag": "1" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}", + "name": "{virtualMachineName}" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json new file mode 100644 index 000000000000..6533cec728d3 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "locations": "{locations}", + "api-version": "2017-12-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "vmId": "{vmId}", + "availabilitySet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + }, + "hardwareProfile": { + "vmSize": "Standard_A0" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "4.127.20170406" + }, + "osDisk": { + "osType": "Windows", + "name": "test", + "createOption": "FromImage", + "vhd": { + "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + }, + "caching": "None", + "diskSizeGB": 127 + }, + "dataDisks": [] + }, + "osProfile": { + "computerName": "Test", + "adminUsername": "Foo12", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + }, + "secrets": [], + "allowExtensionOperations": true + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}" + } + ] + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.Compute/virtualMachines", + "location": "{locations}", + "tags": { + "RG": "rg", + "testTag": "1" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}", + "name": "{virtualMachineName}" + }, + { + "properties": { + "vmId": "{vmId}", + "availabilitySet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + }, + "hardwareProfile": { + "vmSize": "Standard_A0" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "4.127.20170406" + }, + "osDisk": { + "osType": "Windows", + "name": "test", + "createOption": "FromImage", + "vhd": { + "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + }, + "caching": "None", + "diskSizeGB": 127 + }, + "dataDisks": [] + }, + "osProfile": { + "computerName": "Test", + "adminUsername": "Foo12", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + }, + "secrets": [], + "allowExtensionOperations": true + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}" + } + ] + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.Compute/virtualMachines", + "location": "{locations}", + "tags": { + "RG": "rg", + "testTag": "1" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}", + "name": "{virtualMachineName}" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json new file mode 100644 index 000000000000..76589594e75a --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "locations": "{locations}", + "api-version": "2018-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "vmId": "{vmId}", + "availabilitySet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + }, + "hardwareProfile": { + "vmSize": "Standard_A0" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "4.127.20170406" + }, + "osDisk": { + "osType": "Windows", + "name": "test", + "createOption": "FromImage", + "vhd": { + "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + }, + "caching": "None", + "diskSizeGB": 127 + }, + "dataDisks": [] + }, + "osProfile": { + "computerName": "Test", + "adminUsername": "Foo12", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + }, + "secrets": [], + "allowExtensionOperations": true + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}" + } + ] + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.Compute/virtualMachines", + "location": "{locations}", + "tags": { + "RG": "rg", + "testTag": "1" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}", + "name": "{virtualMachineName}" + }, + { + "properties": { + "vmId": "{vmId}", + "availabilitySet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + }, + "hardwareProfile": { + "vmSize": "Standard_A0" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "4.127.20170406" + }, + "osDisk": { + "osType": "Windows", + "name": "test", + "createOption": "FromImage", + "vhd": { + "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + }, + "caching": "None", + "diskSizeGB": 127 + }, + "dataDisks": [] + }, + "osProfile": { + "computerName": "Test", + "adminUsername": "Foo12", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + }, + "secrets": [], + "allowExtensionOperations": true + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}" + } + ] + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.Compute/virtualMachines", + "location": "{locations}", + "tags": { + "RG": "rg", + "testTag": "1" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}", + "name": "{virtualMachineName}" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json new file mode 100644 index 000000000000..d4deddfb3c69 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "locations": "{locations}", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "vmId": "{vmId}", + "availabilitySet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + }, + "hardwareProfile": { + "vmSize": "Standard_A0" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "4.127.20170406" + }, + "osDisk": { + "osType": "Windows", + "name": "test", + "createOption": "FromImage", + "vhd": { + "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + }, + "caching": "None", + "diskSizeGB": 127 + }, + "dataDisks": [] + }, + "osProfile": { + "computerName": "Test", + "adminUsername": "Foo12", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + }, + "secrets": [], + "allowExtensionOperations": true + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}" + } + ] + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.Compute/virtualMachines", + "location": "{locations}", + "tags": { + "RG": "rg", + "testTag": "1" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}", + "name": "{virtualMachineName}" + }, + { + "properties": { + "vmId": "{vmId}", + "availabilitySet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + }, + "hardwareProfile": { + "vmSize": "Standard_A0" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "4.127.20170406" + }, + "osDisk": { + "osType": "Windows", + "name": "test", + "createOption": "FromImage", + "vhd": { + "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + }, + "caching": "None", + "diskSizeGB": 127 + }, + "dataDisks": [] + }, + "osProfile": { + "computerName": "Test", + "adminUsername": "Foo12", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + }, + "secrets": [], + "allowExtensionOperations": true + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}" + } + ] + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.Compute/virtualMachines", + "location": "{locations}", + "tags": { + "RG": "rg", + "testTag": "1" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}", + "name": "{virtualMachineName}" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json new file mode 100644 index 000000000000..1a7ec5d3b3b4 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "locations": "{locations}", + "api-version": "2018-10-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "vmId": "{vmId}", + "availabilitySet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + }, + "hardwareProfile": { + "vmSize": "Standard_A0" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "4.127.20170406" + }, + "osDisk": { + "osType": "Windows", + "name": "test", + "createOption": "FromImage", + "vhd": { + "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + }, + "caching": "None", + "diskSizeGB": 127 + }, + "dataDisks": [] + }, + "osProfile": { + "computerName": "Test", + "adminUsername": "Foo12", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + }, + "secrets": [], + "allowExtensionOperations": true + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}" + } + ] + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.Compute/virtualMachines", + "location": "{locations}", + "tags": { + "RG": "rg", + "testTag": "1" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}", + "name": "{virtualMachineName}" + }, + { + "properties": { + "vmId": "{vmId}", + "availabilitySet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + }, + "hardwareProfile": { + "vmSize": "Standard_A0" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "4.127.20170406" + }, + "osDisk": { + "osType": "Windows", + "name": "test", + "createOption": "FromImage", + "vhd": { + "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + }, + "caching": "None", + "diskSizeGB": 127 + }, + "dataDisks": [] + }, + "osProfile": { + "computerName": "Test", + "adminUsername": "Foo12", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + }, + "secrets": [], + "allowExtensionOperations": true + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}" + } + ] + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.Compute/virtualMachines", + "location": "{locations}", + "tags": { + "RG": "rg", + "testTag": "1" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}", + "name": "{virtualMachineName}" + } + ] + } + } + } +} \ No newline at end of file From 3f8c491f1edbae59b36642eccfbb00dff0017d1e Mon Sep 17 00:00:00 2001 From: dwchung4 Date: Sun, 23 Sep 2018 21:31:42 -0700 Subject: [PATCH 3/7] Linked example --- .../Microsoft.Compute/stable/2017-03-30/compute.json | 5 +++++ .../Microsoft.Compute/stable/2017-12-01/compute.json | 5 +++++ .../Microsoft.Compute/stable/2018-04-01/compute.json | 5 +++++ .../Microsoft.Compute/stable/2018-06-01/compute.json | 5 +++++ .../Microsoft.Compute/stable/2018-10-01/compute.json | 5 +++++ 5 files changed, 25 insertions(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json index c315717028e9..d2f2b6f9a2a0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json @@ -1022,6 +1022,11 @@ } } }, + "x-ms-examples": { + "Lists all the virtual machines under the specified subscription for the specified location.": { + "$ref": "./examples/ListVirtualMachinesInASubscriptionByLocation.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json index efef80e61dbd..8be80ee69e56 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json @@ -1093,6 +1093,11 @@ } } }, + "x-ms-examples": { + "Lists all the virtual machines under the specified subscription for the specified location.": { + "$ref": "./examples/ListVirtualMachinesInASubscriptionByLocation.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json index 4c87ac5535be..9ca742f68047 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json @@ -1087,6 +1087,11 @@ } } }, + "x-ms-examples": { + "Lists all the virtual machines under the specified subscription for the specified location.": { + "$ref": "./examples/ListVirtualMachinesInASubscriptionByLocation.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json index d65cfbfa0f2d..c47ed5ebcf74 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json @@ -1087,6 +1087,11 @@ } } }, + "x-ms-examples": { + "Lists all the virtual machines under the specified subscription for the specified location.": { + "$ref": "./examples/ListVirtualMachinesInASubscriptionByLocation.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json index 0a156086dad6..ecd9cee8701f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json @@ -1087,6 +1087,11 @@ } } }, + "x-ms-examples": { + "Lists all the virtual machines under the specified subscription for the specified location.": { + "$ref": "./examples/ListVirtualMachinesInASubscriptionByLocation.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } From a1645f437b878afa47b2c3dc6a43739f0cf86801 Mon Sep 17 00:00:00 2001 From: dwchung4 Date: Mon, 24 Sep 2018 11:51:39 -0700 Subject: [PATCH 4/7] Removed allowExtensionOperations from unsupported API versions --- .../examples/ListVirtualMachinesInASubscriptionByLocation.json | 2 -- .../examples/ListVirtualMachinesInASubscriptionByLocation.json | 2 -- .../examples/ListVirtualMachinesInASubscriptionByLocation.json | 2 -- 3 files changed, 6 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json index c9cbb4ce888a..872331b8b0d4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -44,7 +44,6 @@ "enableAutomaticUpdates": true }, "secrets": [], - "allowExtensionOperations": true }, "networkProfile": { "networkInterfaces": [ @@ -100,7 +99,6 @@ "enableAutomaticUpdates": true }, "secrets": [], - "allowExtensionOperations": true }, "networkProfile": { "networkInterfaces": [ diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index 6533cec728d3..3ee5a6abdcce 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -44,7 +44,6 @@ "enableAutomaticUpdates": true }, "secrets": [], - "allowExtensionOperations": true }, "networkProfile": { "networkInterfaces": [ @@ -100,7 +99,6 @@ "enableAutomaticUpdates": true }, "secrets": [], - "allowExtensionOperations": true }, "networkProfile": { "networkInterfaces": [ diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index 76589594e75a..bc9121d25bfd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -44,7 +44,6 @@ "enableAutomaticUpdates": true }, "secrets": [], - "allowExtensionOperations": true }, "networkProfile": { "networkInterfaces": [ @@ -100,7 +99,6 @@ "enableAutomaticUpdates": true }, "secrets": [], - "allowExtensionOperations": true }, "networkProfile": { "networkInterfaces": [ From b91e0a7fa5f34155da75d3ee303cece5619a4993 Mon Sep 17 00:00:00 2001 From: dwchung4 Date: Mon, 24 Sep 2018 11:58:48 -0700 Subject: [PATCH 5/7] Removed commas --- .../ListVirtualMachinesInASubscriptionByLocation.json | 4 ++-- .../ListVirtualMachinesInASubscriptionByLocation.json | 4 ++-- .../ListVirtualMachinesInASubscriptionByLocation.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json index 872331b8b0d4..1c68d97e45ce 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -43,7 +43,7 @@ "provisionVMAgent": true, "enableAutomaticUpdates": true }, - "secrets": [], + "secrets": [] }, "networkProfile": { "networkInterfaces": [ @@ -98,7 +98,7 @@ "provisionVMAgent": true, "enableAutomaticUpdates": true }, - "secrets": [], + "secrets": [] }, "networkProfile": { "networkInterfaces": [ diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index 3ee5a6abdcce..65fa1bf57e3b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -43,7 +43,7 @@ "provisionVMAgent": true, "enableAutomaticUpdates": true }, - "secrets": [], + "secrets": [] }, "networkProfile": { "networkInterfaces": [ @@ -98,7 +98,7 @@ "provisionVMAgent": true, "enableAutomaticUpdates": true }, - "secrets": [], + "secrets": [] }, "networkProfile": { "networkInterfaces": [ diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index bc9121d25bfd..01e9686e46ea 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -43,7 +43,7 @@ "provisionVMAgent": true, "enableAutomaticUpdates": true }, - "secrets": [], + "secrets": [] }, "networkProfile": { "networkInterfaces": [ @@ -98,7 +98,7 @@ "provisionVMAgent": true, "enableAutomaticUpdates": true }, - "secrets": [], + "secrets": [] }, "networkProfile": { "networkInterfaces": [ From 81eaacc807b8e83f177814fcf5cda70dc801cf8d Mon Sep 17 00:00:00 2001 From: dwchung4 Date: Tue, 25 Sep 2018 09:41:13 -0700 Subject: [PATCH 6/7] Updated examples: locations to location --- .../ListVirtualMachinesInASubscriptionByLocation.json | 6 +++--- .../ListVirtualMachinesInASubscriptionByLocation.json | 6 +++--- .../ListVirtualMachinesInASubscriptionByLocation.json | 6 +++--- .../ListVirtualMachinesInASubscriptionByLocation.json | 6 +++--- .../ListVirtualMachinesInASubscriptionByLocation.json | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json index 1c68d97e45ce..22c1e26394a8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscriptionId}", - "locations": "{locations}", + "location": "{location}", "api-version": "2017-03-30" }, "responses": { @@ -55,7 +55,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{locations}", + "location": "{location}", "tags": { "RG": "rg", "testTag": "1" @@ -110,7 +110,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{locations}", + "location": "{location}", "tags": { "RG": "rg", "testTag": "1" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index 65fa1bf57e3b..f3ed146f88e3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscriptionId}", - "locations": "{locations}", + "location": "{location}", "api-version": "2017-12-01" }, "responses": { @@ -55,7 +55,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{locations}", + "location": "{location}", "tags": { "RG": "rg", "testTag": "1" @@ -110,7 +110,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{locations}", + "location": "{location}", "tags": { "RG": "rg", "testTag": "1" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index 01e9686e46ea..63393c1e6fde 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscriptionId}", - "locations": "{locations}", + "location": "{location}", "api-version": "2018-04-01" }, "responses": { @@ -55,7 +55,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{locations}", + "location": "{location}", "tags": { "RG": "rg", "testTag": "1" @@ -110,7 +110,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{locations}", + "location": "{location}", "tags": { "RG": "rg", "testTag": "1" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index d4deddfb3c69..6e8508eeb1ab 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscriptionId}", - "locations": "{locations}", + "location": "{location}", "api-version": "2018-06-01" }, "responses": { @@ -56,7 +56,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{locations}", + "location": "{location}", "tags": { "RG": "rg", "testTag": "1" @@ -112,7 +112,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{locations}", + "location": "{location}", "tags": { "RG": "rg", "testTag": "1" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index 1a7ec5d3b3b4..b5f74e67f1cc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscriptionId}", - "locations": "{locations}", + "location": "{location}", "api-version": "2018-10-01" }, "responses": { @@ -56,7 +56,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{locations}", + "location": "{location}", "tags": { "RG": "rg", "testTag": "1" @@ -112,7 +112,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{locations}", + "location": "{location}", "tags": { "RG": "rg", "testTag": "1" From ed7914464a4e3ecc01bc732be210d6900fb74155 Mon Sep 17 00:00:00 2001 From: dwchung4 Date: Tue, 25 Sep 2018 11:05:32 -0700 Subject: [PATCH 7/7] Updated {location} to eastus --- .../ListVirtualMachinesInASubscriptionByLocation.json | 6 +++--- .../ListVirtualMachinesInASubscriptionByLocation.json | 6 +++--- .../ListVirtualMachinesInASubscriptionByLocation.json | 6 +++--- .../ListVirtualMachinesInASubscriptionByLocation.json | 6 +++--- .../ListVirtualMachinesInASubscriptionByLocation.json | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json index 22c1e26394a8..1108d9c1f69f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscriptionId}", - "location": "{location}", + "location": "eastus", "api-version": "2017-03-30" }, "responses": { @@ -55,7 +55,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{location}", + "location": "eastus", "tags": { "RG": "rg", "testTag": "1" @@ -110,7 +110,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{location}", + "location": "eastus", "tags": { "RG": "rg", "testTag": "1" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index f3ed146f88e3..2b499a568e31 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscriptionId}", - "location": "{location}", + "location": "eastus", "api-version": "2017-12-01" }, "responses": { @@ -55,7 +55,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{location}", + "location": "eastus", "tags": { "RG": "rg", "testTag": "1" @@ -110,7 +110,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{location}", + "location": "eastus", "tags": { "RG": "rg", "testTag": "1" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index 63393c1e6fde..a151f8f9826e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscriptionId}", - "location": "{location}", + "location": "eastus", "api-version": "2018-04-01" }, "responses": { @@ -55,7 +55,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{location}", + "location": "eastus", "tags": { "RG": "rg", "testTag": "1" @@ -110,7 +110,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{location}", + "location": "eastus", "tags": { "RG": "rg", "testTag": "1" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index 6e8508eeb1ab..c1a21969bc20 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscriptionId}", - "location": "{location}", + "location": "eastus", "api-version": "2018-06-01" }, "responses": { @@ -56,7 +56,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{location}", + "location": "eastus", "tags": { "RG": "rg", "testTag": "1" @@ -112,7 +112,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{location}", + "location": "eastus", "tags": { "RG": "rg", "testTag": "1" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json index b5f74e67f1cc..a998d73be7bb 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListVirtualMachinesInASubscriptionByLocation.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscriptionId}", - "location": "{location}", + "location": "eastus", "api-version": "2018-10-01" }, "responses": { @@ -56,7 +56,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{location}", + "location": "eastus", "tags": { "RG": "rg", "testTag": "1" @@ -112,7 +112,7 @@ "provisioningState": "Succeeded" }, "type": "Microsoft.Compute/virtualMachines", - "location": "{location}", + "location": "eastus", "tags": { "RG": "rg", "testTag": "1"