From f5e969ea1d255fd7ada429c40902ecf3e3674cb4 Mon Sep 17 00:00:00 2001 From: Ashwini Pandey Date: Fri, 29 Mar 2019 14:00:47 +0530 Subject: [PATCH 1/7] Merging https://github.com/Azure/azure-rest-api-specs-pr/pull/660 --- .../stable/2018-04-01/compute.json | 358 ++++++++++++++++++ .../CreateAProximityPlacementGroup.json | 27 ++ .../DeleteAProximityPlacementGroup.json | 16 + .../examples/GetAProximityPlacementGroup.json | 39 ++ ...ximityPlacementGroupsInAResourceGroup.json | 43 +++ ...oximityPlacementGroupsInASubscription.json | 42 ++ .../PatchAProximityPlacementGroup.json | 27 ++ .../stable/2018-06-01/compute.json | 358 ++++++++++++++++++ .../stable/2018-10-01/compute.json | 358 ++++++++++++++++++ .../CreateAProximityPlacementGroup.json | 27 ++ .../DeleteAProximityPlacementGroup.json | 16 + .../examples/GetAProximityPlacementGroup.json | 39 ++ ...ximityPlacementGroupsInAResourceGroup.json | 43 +++ ...oximityPlacementGroupsInASubscription.json | 42 ++ .../PatchAProximityPlacementGroup.json | 27 ++ 15 files changed, 1462 insertions(+) create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/CreateAProximityPlacementGroup.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/DeleteAProximityPlacementGroup.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/GetAProximityPlacementGroup.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListProximityPlacementGroupsInAResourceGroup.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListProximityPlacementGroupsInASubscription.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/PatchAProximityPlacementGroup.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAProximityPlacementGroup.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/DeleteAProximityPlacementGroup.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/GetAProximityPlacementGroup.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListProximityPlacementGroupsInAResourceGroup.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListProximityPlacementGroupsInASubscription.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/PatchAProximityPlacementGroup.json 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 8f2a19dbf908..67fc5f6cccf2 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 @@ -337,6 +337,270 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}": { + "put": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_CreateOrUpdate", + "description": "Create or update a proximity placement group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + }, + "description": "Parameters supplied to the Create Proximity Placement Group operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/CreateAProximityPlacementGroup.json" + } + } + }, + "patch": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_Update", + "description": "Update a proximity placement group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ProximityPlacementGroupUpdate" + }, + "description": "Parameters supplied to the Update Proximity Placement Group operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/PatchAProximityPlacementGroup.json" + } + } + }, + "delete": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_Delete", + "description": "Delete a proximity placement group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/DeleteAProximityPlacementGroup.json" + } + } + }, + "get": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_Get", + "description": "Retrieves information about a proximity placement group .", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/GetAProximityPlacementGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups": { + "get": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_ListBySubscription", + "description": "Lists all proximity placement groups in a subscription.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroupListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/ListProximityPlacementGroupsInASubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups": { + "get": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_ListByResourceGroup", + "description": "Lists all proximity placement groups in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroupListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/ListProximityPlacementGroupsInAResourceGroup.json" + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}": { "get": { "tags": [ @@ -4297,6 +4561,10 @@ }, "description": "A list of references to all virtual machines in the availability set." }, + "proximityPlacementGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the proximity placement group that the availability set should be assigned to.

Minimum api-version: 2018-04-01." + }, "statuses": { "readOnly": true, "type": "array", @@ -4363,6 +4631,88 @@ ], "description": "The List Availability Set operation response." }, + "ProximityPlacementGroupProperties": { + "properties": { + "proximityPlacementGroupType": { + "type": "string", + "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard**

**Ultra**", + "enum": [ + "Standard", + "Ultra" + ], + "x-ms-enum": { + "name": "ProximityPlacementGroupType", + "modelAsString": true + } + }, + "virtualMachines": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "A list of references to all virtual machines in the proximity placement group." + }, + "virtualMachineScaleSets": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "A list of references to all virtual machine scale sets in the proximity placement group." + }, + "availabilitySets": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "A list of references to all availability sets in the proximity placement group." + } + }, + "description": "Describes the properties of a Proximity Placement Group." + }, + "ProximityPlacementGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProximityPlacementGroupProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the proximity placement group." + }, + "ProximityPlacementGroupUpdate": { + "allOf": [ + { + "$ref": "#/definitions/UpdateResource" + } + ], + "description": "Specifies information about the proximity placement group." + }, + "ProximityPlacementGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ProximityPlacementGroup" + }, + "description": "The list of proximity placement groups" + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of proximity placement groups. Call ListNext() with this URI to fetch the next page of proximity placement groups." + } + }, + "required": [ + "value" + ], + "description": "The List Proximity Placement Group operation response." + }, "VirtualMachineSize": { "properties": { "name": { @@ -5829,6 +6179,10 @@ "$ref": "#/definitions/SubResource", "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set." }, + "proximityPlacementGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.

Minimum api-version: 2018-04-01." + }, "provisioningState": { "readOnly": true, "type": "string", @@ -7083,6 +7437,10 @@ "type": "integer", "format": "int32", "description": "Fault Domain count for each placement group." + }, + "proximityPlacementGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.

Minimum api-version: 2018-04-01." } }, "description": "Describes the properties of a Virtual Machine Scale Set." diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/CreateAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/CreateAProximityPlacementGroup.json new file mode 100644 index 000000000000..02354e773d6f --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/CreateAProximityPlacementGroup.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2018-04-01", + "proximityPlacementGroupName": "myProximityPlacementGroup", + "parameters": { + "location": "westus", + "properties": { + "proximityPlacementGroupType": "Standard" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myProximityPlacementGroup", + "properties": { + "proximityPlacementGroupType": "Standard" + }, + "location": "westus", + "type": "Microsoft.Compute/proximityPlacementGroups", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/DeleteAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/DeleteAProximityPlacementGroup.json new file mode 100644 index 000000000000..1615bddc928b --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/DeleteAProximityPlacementGroup.json @@ -0,0 +1,16 @@ +{ + "parameters":{ + "subscriptionId":"{subscription-id}", + "resourceGroupName":"myResourceGroup", + "api-version":"2018-04-01", + "proximityPlacementGroupName":"myProximityPlacementGroup", + "parameters":{ + } + }, + "responses":{ + "200":{ + "body":{ + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/GetAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/GetAProximityPlacementGroup.json new file mode 100644 index 000000000000..61b37e2d7716 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/GetAProximityPlacementGroup.json @@ -0,0 +1,39 @@ +{ + "parameters":{ + "subscriptionId":"{subscription-id}", + "resourceGroupName":"myResourceGroup", + "api-version":"2018-04-01", + "proximityPlacementGroupName":"myProximityPlacementGroup", + "parameters":{ + + } + }, + "responses":{ + "200":{ + "body":{ + "name":"myProximityPlacementGroup", + "properties":{ + "proximityPlacementGroupType":"Standard", + "virtualMachines":[ + { + "id":"string" + } + ], + "virtualMachineScaleSets":[ + { + "id":"string" + } + ], + "availabilitySets":[ + { + "id":"string" + } + ] + }, + "location":"westus", + "type":"Microsoft.Compute/proximityPlacementGroups", + "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListProximityPlacementGroupsInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListProximityPlacementGroupsInAResourceGroup.json new file mode 100644 index 000000000000..f0668895e3d8 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListProximityPlacementGroupsInAResourceGroup.json @@ -0,0 +1,43 @@ +{ + "parameters":{ + "subscriptionId":"{subscription-id}", + "resourceGroupName":"myResourceGroup", + "api-version":"2018-04-01", + "parameters":{ + + } + }, + "responses":{ + "200":{ + "body":{ + "value":[ + { + "name":"myProximityPlacementGroup", + "properties":{ + "proximityPlacementGroupType":"Standard", + "virtualMachines":[ + { + "id":"string" + } + ], + "virtualMachineScaleSets":[ + { + "id":"string" + } + ], + "availabilitySets":[ + { + "id":"string" + } + ] + }, + "location":"westus", + "type":"Microsoft.Compute/proximityPlacementGroups", + "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } + ], + "nextLink":"string" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListProximityPlacementGroupsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListProximityPlacementGroupsInASubscription.json new file mode 100644 index 000000000000..5af2d8ad3de8 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListProximityPlacementGroupsInASubscription.json @@ -0,0 +1,42 @@ +{ + "parameters":{ + "subscriptionId":"{subscription-id}", + "api-version":"2018-04-01", + "parameters":{ + + } + }, + "responses":{ + "200":{ + "body":{ + "value":[ + { + "name":"myProximityPlacementGroup", + "properties":{ + "proximityPlacementGroupType":"Standard", + "virtualMachines":[ + { + "id":"string" + } + ], + "virtualMachineScaleSets":[ + { + "id":"string" + } + ], + "availabilitySets":[ + { + "id":"string" + } + ] + }, + "location":"westus", + "type":"Microsoft.Compute/proximityPlacementGroups", + "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } + ], + "nextLink":"string" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/PatchAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/PatchAProximityPlacementGroup.json new file mode 100644 index 000000000000..86fcf9b782c0 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/PatchAProximityPlacementGroup.json @@ -0,0 +1,27 @@ +{ + "parameters":{ + "subscriptionId":"{subscription-id}", + "resourceGroupName":"myResourceGroup", + "api-version":"2018-04-01", + "proximityPlacementGroupName":"myProximityPlacementGroup", + "parameters":{ + "location":"westus", + "tags":{ + "additionalProp1":"string" + } + } + }, + "responses":{ + "200":{ + "body":{ + "name":"myProximityPlacementGroup", + "properties":{ + "proximityPlacementGroupType":"Standard" + }, + "location":"westus", + "type":"Microsoft.Compute/proximityPlacementGroups", + "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } + } + } +} \ No newline at end of file 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 f2b7986979d6..e1c783f35929 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 @@ -337,6 +337,270 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}": { + "put": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_CreateOrUpdate", + "description": "Create or update a proximity placement group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + }, + "description": "Parameters supplied to the Create Proximity Placement Group operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/CreateAProximityPlacementGroup.json" + } + } + }, + "patch": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_Update", + "description": "Update a proximity placement group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ProximityPlacementGroupUpdate" + }, + "description": "Parameters supplied to the Update Proximity Placement Group operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/PatchAProximityPlacementGroup.json" + } + } + }, + "delete": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_Delete", + "description": "Delete a proximity placement group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/DeleteAProximityPlacementGroup.json" + } + } + }, + "get": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_Get", + "description": "Retrieves information about a proximity placement group .", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/GetAProximityPlacementGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups": { + "get": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_ListBySubscription", + "description": "Lists all proximity placement groups in a subscription.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroupListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/ListProximityPlacementGroupsInASubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups": { + "get": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_ListByResourceGroup", + "description": "Lists all proximity placement groups in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroupListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/ListProximityPlacementGroupsInAResourceGroup.json" + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}": { "get": { "tags": [ @@ -4411,6 +4675,10 @@ }, "description": "A list of references to all virtual machines in the availability set." }, + "proximityPlacementGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the proximity placement group that the availability set should be assigned to.

Minimum api-version: 2018-04-01." + }, "statuses": { "readOnly": true, "type": "array", @@ -4489,6 +4757,88 @@ ], "description": "The List Availability Set operation response." }, + "ProximityPlacementGroupProperties": { + "properties": { + "proximityPlacementGroupType": { + "type": "string", + "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard**

**Ultra**", + "enum": [ + "Standard", + "Ultra" + ], + "x-ms-enum": { + "name": "ProximityPlacementGroupType", + "modelAsString": true + } + }, + "virtualMachines": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "A list of references to all virtual machines in the proximity placement group." + }, + "virtualMachineScaleSets": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "A list of references to all virtual machine scale sets in the proximity placement group." + }, + "availabilitySets": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "A list of references to all availability sets in the proximity placement group." + } + }, + "description": "Describes the properties of a Proximity Placement Group." + }, + "ProximityPlacementGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProximityPlacementGroupProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the proximity placement group." + }, + "ProximityPlacementGroupUpdate": { + "allOf": [ + { + "$ref": "#/definitions/UpdateResource" + } + ], + "description": "Specifies information about the proximity placement group." + }, + "ProximityPlacementGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ProximityPlacementGroup" + }, + "description": "The list of proximity placement groups" + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of proximity placement groups. Call ListNext() with this URI to fetch the next page of proximity placement groups." + } + }, + "required": [ + "value" + ], + "description": "The List Proximity Placement Group operation response." + }, "VirtualMachineSize": { "properties": { "name": { @@ -6022,6 +6372,10 @@ "$ref": "#/definitions/SubResource", "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set." }, + "proximityPlacementGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.

Minimum api-version: 2018-04-01." + }, "provisioningState": { "readOnly": true, "type": "string", @@ -7321,6 +7675,10 @@ "type": "integer", "format": "int32", "description": "Fault Domain count for each placement group." + }, + "proximityPlacementGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.

Minimum api-version: 2018-04-01." } }, "description": "Describes the properties of a Virtual Machine Scale Set." 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 b5d100cb8a9b..d47f1d7eebb2 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 @@ -337,6 +337,270 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}": { + "put": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_CreateOrUpdate", + "description": "Create or update a proximity placement group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + }, + "description": "Parameters supplied to the Create Proximity Placement Group operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/CreateAProximityPlacementGroup.json" + } + } + }, + "patch": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_Update", + "description": "Update a proximity placement group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ProximityPlacementGroupUpdate" + }, + "description": "Parameters supplied to the Update Proximity Placement Group operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/PatchAProximityPlacementGroup.json" + } + } + }, + "delete": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_Delete", + "description": "Delete a proximity placement group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/DeleteAProximityPlacementGroup.json" + } + } + }, + "get": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_Get", + "description": "Retrieves information about a proximity placement group .", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "proximityPlacementGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proximity placement group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroup" + } + } + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/GetAProximityPlacementGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups": { + "get": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_ListBySubscription", + "description": "Lists all proximity placement groups in a subscription.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroupListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/ListProximityPlacementGroupsInASubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups": { + "get": { + "tags": [ + "ProximityPlacementGroups" + ], + "operationId": "ProximityPlacementGroups_ListByResourceGroup", + "description": "Lists all proximity placement groups in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProximityPlacementGroupListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Create a proximity placement group.": { + "$ref": "./examples/ListProximityPlacementGroupsInAResourceGroup.json" + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}": { "get": { "tags": [ @@ -4411,6 +4675,10 @@ }, "description": "A list of references to all virtual machines in the availability set." }, + "proximityPlacementGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the proximity placement group that the availability set should be assigned to.

Minimum api-version: 2018-04-01." + }, "statuses": { "readOnly": true, "type": "array", @@ -4489,6 +4757,88 @@ ], "description": "The List Availability Set operation response." }, + "ProximityPlacementGroupProperties": { + "properties": { + "proximityPlacementGroupType": { + "type": "string", + "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard**

**Ultra**", + "enum": [ + "Standard", + "Ultra" + ], + "x-ms-enum": { + "name": "ProximityPlacementGroupType", + "modelAsString": true + } + }, + "virtualMachines": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "A list of references to all virtual machines in the proximity placement group." + }, + "virtualMachineScaleSets": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "A list of references to all virtual machine scale sets in the proximity placement group." + }, + "availabilitySets": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "A list of references to all availability sets in the proximity placement group." + } + }, + "description": "Describes the properties of a Proximity Placement Group." + }, + "ProximityPlacementGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProximityPlacementGroupProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the proximity placement group." + }, + "ProximityPlacementGroupUpdate": { + "allOf": [ + { + "$ref": "#/definitions/UpdateResource" + } + ], + "description": "Specifies information about the proximity placement group." + }, + "ProximityPlacementGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ProximityPlacementGroup" + }, + "description": "The list of proximity placement groups" + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of proximity placement groups. Call ListNext() with this URI to fetch the next page of proximity placement groups." + } + }, + "required": [ + "value" + ], + "description": "The List Proximity Placement Group operation response." + }, "VirtualMachineSize": { "properties": { "name": { @@ -6037,6 +6387,10 @@ "$ref": "#/definitions/SubResource", "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).

For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)

Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set." }, + "proximityPlacementGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.

Minimum api-version: 2018-04-01." + }, "provisioningState": { "readOnly": true, "type": "string", @@ -7336,6 +7690,10 @@ "type": "integer", "format": "int32", "description": "Fault Domain count for each placement group." + }, + "proximityPlacementGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.

Minimum api-version: 2018-04-01." } }, "description": "Describes the properties of a Virtual Machine Scale Set." diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAProximityPlacementGroup.json new file mode 100644 index 000000000000..4ea32b13318b --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAProximityPlacementGroup.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2018-10-01", + "proximityPlacementGroupName": "myProximityPlacementGroup", + "parameters": { + "location": "westus", + "properties": { + "proximityPlacementGroupType": "Standard" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myProximityPlacementGroup", + "properties": { + "proximityPlacementGroupType": "Standard" + }, + "location": "westus", + "type": "Microsoft.Compute/proximityPlacementGroups", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/DeleteAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/DeleteAProximityPlacementGroup.json new file mode 100644 index 000000000000..a8d0a5f8ccf8 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/DeleteAProximityPlacementGroup.json @@ -0,0 +1,16 @@ +{ + "parameters":{ + "subscriptionId":"{subscription-id}", + "resourceGroupName":"myResourceGroup", + "api-version":"2018-10-01", + "proximityPlacementGroupName":"myProximityPlacementGroup", + "parameters":{ + } + }, + "responses":{ + "200":{ + "body":{ + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/GetAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/GetAProximityPlacementGroup.json new file mode 100644 index 000000000000..8dce47b823c5 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/GetAProximityPlacementGroup.json @@ -0,0 +1,39 @@ +{ + "parameters":{ + "subscriptionId":"{subscription-id}", + "resourceGroupName":"myResourceGroup", + "api-version":"2018-10-01", + "proximityPlacementGroupName":"myProximityPlacementGroup", + "parameters":{ + + } + }, + "responses":{ + "200":{ + "body":{ + "name":"myProximityPlacementGroup", + "properties":{ + "proximityPlacementGroupType":"Standard", + "virtualMachines":[ + { + "id":"string" + } + ], + "virtualMachineScaleSets":[ + { + "id":"string" + } + ], + "availabilitySets":[ + { + "id":"string" + } + ] + }, + "location":"westus", + "type":"Microsoft.Compute/proximityPlacementGroups", + "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } + } + } +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListProximityPlacementGroupsInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListProximityPlacementGroupsInAResourceGroup.json new file mode 100644 index 000000000000..ef21dc9894d4 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListProximityPlacementGroupsInAResourceGroup.json @@ -0,0 +1,43 @@ +{ + "parameters":{ + "subscriptionId":"{subscription-id}", + "resourceGroupName":"myResourceGroup", + "api-version":"2018-10-01", + "parameters":{ + + } + }, + "responses":{ + "200":{ + "body":{ + "value":[ + { + "name":"myProximityPlacementGroup", + "properties":{ + "proximityPlacementGroupType":"Standard", + "virtualMachines":[ + { + "id":"string" + } + ], + "virtualMachineScaleSets":[ + { + "id":"string" + } + ], + "availabilitySets":[ + { + "id":"string" + } + ] + }, + "location":"westus", + "type":"Microsoft.Compute/proximityPlacementGroups", + "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } + ], + "nextLink":"string" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListProximityPlacementGroupsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListProximityPlacementGroupsInASubscription.json new file mode 100644 index 000000000000..c16dbe917170 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListProximityPlacementGroupsInASubscription.json @@ -0,0 +1,42 @@ +{ + "parameters":{ + "subscriptionId":"{subscription-id}", + "api-version":"2018-10-01", + "parameters":{ + + } + }, + "responses":{ + "200":{ + "body":{ + "value":[ + { + "name":"myProximityPlacementGroup", + "properties":{ + "proximityPlacementGroupType":"Standard", + "virtualMachines":[ + { + "id":"string" + } + ], + "virtualMachineScaleSets":[ + { + "id":"string" + } + ], + "availabilitySets":[ + { + "id":"string" + } + ] + }, + "location":"westus", + "type":"Microsoft.Compute/proximityPlacementGroups", + "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } + ], + "nextLink":"string" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/PatchAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/PatchAProximityPlacementGroup.json new file mode 100644 index 000000000000..82a5c984baaa --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/PatchAProximityPlacementGroup.json @@ -0,0 +1,27 @@ +{ + "parameters":{ + "subscriptionId":"{subscription-id}", + "resourceGroupName":"myResourceGroup", + "api-version":"2018-10-01", + "proximityPlacementGroupName":"myProximityPlacementGroup", + "parameters":{ + "location":"westus", + "tags":{ + "additionalProp1":"string" + } + } + }, + "responses":{ + "200":{ + "body":{ + "name":"myProximityPlacementGroup", + "properties":{ + "proximityPlacementGroupType":"Standard" + }, + "location":"westus", + "type":"Microsoft.Compute/proximityPlacementGroups", + "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } + } + } +} \ No newline at end of file From bb43358bec4d5e33b7fdf4e5aa04c528eb53a48f Mon Sep 17 00:00:00 2001 From: Ashwini Pandey Date: Tue, 2 Apr 2019 23:50:06 +0530 Subject: [PATCH 2/7] Update the description to fix review comments --- .../Microsoft.Compute/stable/2018-04-01/compute.json | 2 +- .../Microsoft.Compute/stable/2018-06-01/compute.json | 2 +- .../Microsoft.Compute/stable/2018-10-01/compute.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 67fc5f6cccf2..a5cb5d0d6758 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 @@ -4705,7 +4705,7 @@ }, "nextLink": { "type": "string", - "description": "The URI to fetch the next page of proximity placement groups. Call ListNext() with this URI to fetch the next page of proximity placement groups." + "description": "The URI to fetch the next page of proximity placement groups." } }, "required": [ 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 e1c783f35929..5053580bf34b 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 @@ -4831,7 +4831,7 @@ }, "nextLink": { "type": "string", - "description": "The URI to fetch the next page of proximity placement groups. Call ListNext() with this URI to fetch the next page of proximity placement groups." + "description": "The URI to fetch the next page of proximity placement groups." } }, "required": [ 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 d47f1d7eebb2..f503d1544a64 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 @@ -4831,7 +4831,7 @@ }, "nextLink": { "type": "string", - "description": "The URI to fetch the next page of proximity placement groups. Call ListNext() with this URI to fetch the next page of proximity placement groups." + "description": "The URI to fetch the next page of proximity placement groups." } }, "required": [ From 8b747a6034bd6f09e52fe17e229acc7278b4ceba Mon Sep 17 00:00:00 2001 From: Ashwini Pandey Date: Wed, 3 Apr 2019 23:58:43 +0530 Subject: [PATCH 3/7] Added description to fix CI warning --- .../Microsoft.Compute/stable/2018-04-01/compute.json | 3 ++- .../Microsoft.Compute/stable/2018-06-01/compute.json | 3 ++- .../Microsoft.Compute/stable/2018-10-01/compute.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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 a5cb5d0d6758..0330b7bafad4 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 @@ -4677,7 +4677,8 @@ "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/ProximityPlacementGroupProperties" - } + }, + "description": "Describes the properties of a Proximity Placement Group." }, "allOf": [ { 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 5053580bf34b..2be403074594 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 @@ -4803,7 +4803,8 @@ "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/ProximityPlacementGroupProperties" - } + }, + "description": "Describes the properties of a Proximity Placement Group." }, "allOf": [ { 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 f503d1544a64..6c757b08748b 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 @@ -4803,7 +4803,8 @@ "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/ProximityPlacementGroupProperties" - } + }, + "description": "Describes the properties of a Proximity Placement Group." }, "allOf": [ { From ee707a6e2ccca10bf14af94fc4aaa5bbf1086741 Mon Sep 17 00:00:00 2001 From: Ashwini Pandey Date: Wed, 10 Apr 2019 00:07:29 +0530 Subject: [PATCH 4/7] Fix CI failure --- .../Microsoft.Compute/stable/2018-04-01/compute.json | 4 ++-- .../Microsoft.Compute/stable/2018-06-01/compute.json | 4 ++-- .../Microsoft.Compute/stable/2018-10-01/compute.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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 0330b7bafad4..8d61ed0d21eb 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 @@ -4676,9 +4676,9 @@ "properties": { "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/ProximityPlacementGroupProperties" + "$ref": "#/definitions/ProximityPlacementGroupProperties", + "description": "Describes the properties of a Proximity Placement Group." }, - "description": "Describes the properties of a Proximity Placement Group." }, "allOf": [ { 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 2be403074594..2bc0372fb65f 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 @@ -4802,9 +4802,9 @@ "properties": { "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/ProximityPlacementGroupProperties" + "$ref": "#/definitions/ProximityPlacementGroupProperties", + "description": "Describes the properties of a Proximity Placement Group." }, - "description": "Describes the properties of a Proximity Placement Group." }, "allOf": [ { 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 6c757b08748b..bb016d9713ab 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 @@ -4802,9 +4802,9 @@ "properties": { "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/ProximityPlacementGroupProperties" + "$ref": "#/definitions/ProximityPlacementGroupProperties", + "description": "Describes the properties of a Proximity Placement Group." }, - "description": "Describes the properties of a Proximity Placement Group." }, "allOf": [ { From 81954fdef37f26a86ff473005b82dd85ef613ab2 Mon Sep 17 00:00:00 2001 From: Ashwini Pandey Date: Wed, 10 Apr 2019 09:41:41 +0530 Subject: [PATCH 5/7] Fix CI failure --- .../Microsoft.Compute/stable/2018-04-01/compute.json | 2 +- .../Microsoft.Compute/stable/2018-06-01/compute.json | 2 +- .../Microsoft.Compute/stable/2018-10-01/compute.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 8d61ed0d21eb..180d5bfbc2d4 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 @@ -4678,7 +4678,7 @@ "x-ms-client-flatten": true, "$ref": "#/definitions/ProximityPlacementGroupProperties", "description": "Describes the properties of a Proximity Placement Group." - }, + } }, "allOf": [ { 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 2bc0372fb65f..1d3699521cbe 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 @@ -4804,7 +4804,7 @@ "x-ms-client-flatten": true, "$ref": "#/definitions/ProximityPlacementGroupProperties", "description": "Describes the properties of a Proximity Placement Group." - }, + } }, "allOf": [ { 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 bb016d9713ab..2dcdc88750eb 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 @@ -4804,7 +4804,7 @@ "x-ms-client-flatten": true, "$ref": "#/definitions/ProximityPlacementGroupProperties", "description": "Describes the properties of a Proximity Placement Group." - }, + } }, "allOf": [ { From b7032ffdf2d61e7230163734ae5eec48bac9ff62 Mon Sep 17 00:00:00 2001 From: Ashwini Pandey Date: Wed, 10 Apr 2019 11:17:28 +0530 Subject: [PATCH 6/7] Fixed examples --- .../2018-04-01/examples/DeleteAProximityPlacementGroup.json | 5 +---- .../2018-04-01/examples/PatchAProximityPlacementGroup.json | 1 - .../2018-06-01/examples/DeleteAProximityPlacementGroup.json | 5 +---- .../2018-06-01/examples/PatchAProximityPlacementGroup.json | 1 - .../2018-10-01/examples/DeleteAProximityPlacementGroup.json | 5 +---- .../2018-10-01/examples/PatchAProximityPlacementGroup.json | 1 - 6 files changed, 3 insertions(+), 15 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/DeleteAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/DeleteAProximityPlacementGroup.json index 1615bddc928b..8777076b4b43 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/DeleteAProximityPlacementGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/DeleteAProximityPlacementGroup.json @@ -8,9 +8,6 @@ } }, "responses":{ - "200":{ - "body":{ - } - } + "200":{} } } \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/PatchAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/PatchAProximityPlacementGroup.json index 86fcf9b782c0..ce5dd9958d0f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/PatchAProximityPlacementGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/PatchAProximityPlacementGroup.json @@ -5,7 +5,6 @@ "api-version":"2018-04-01", "proximityPlacementGroupName":"myProximityPlacementGroup", "parameters":{ - "location":"westus", "tags":{ "additionalProp1":"string" } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/DeleteAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/DeleteAProximityPlacementGroup.json index 6aa01d389484..a63ad54039d2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/DeleteAProximityPlacementGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/DeleteAProximityPlacementGroup.json @@ -8,9 +8,6 @@ } }, "responses":{ - "200":{ - "body":{ - } - } + "200":{} } } \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/PatchAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/PatchAProximityPlacementGroup.json index dd851d654a6c..26ec932a278b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/PatchAProximityPlacementGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/PatchAProximityPlacementGroup.json @@ -5,7 +5,6 @@ "api-version":"2018-06-01", "proximityPlacementGroupName":"myProximityPlacementGroup", "parameters":{ - "location":"westus", "tags":{ "additionalProp1":"string" } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/DeleteAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/DeleteAProximityPlacementGroup.json index a8d0a5f8ccf8..e3b1b50b5b6a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/DeleteAProximityPlacementGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/DeleteAProximityPlacementGroup.json @@ -8,9 +8,6 @@ } }, "responses":{ - "200":{ - "body":{ - } - } + "200":{} } } \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/PatchAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/PatchAProximityPlacementGroup.json index 82a5c984baaa..64deb6456ebf 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/PatchAProximityPlacementGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/PatchAProximityPlacementGroup.json @@ -5,7 +5,6 @@ "api-version":"2018-10-01", "proximityPlacementGroupName":"myProximityPlacementGroup", "parameters":{ - "location":"westus", "tags":{ "additionalProp1":"string" } From bb58a3d2423bc7285ef082e3e6521e7d6bf6627a Mon Sep 17 00:00:00 2001 From: Ashwini Pandey Date: Wed, 10 Apr 2019 23:50:32 +0530 Subject: [PATCH 7/7] Modify Example to include 201 response code --- .../stable/2018-04-01/compute.json | 4 ++-- ... => CreateOrUpdateAProximityPlacementGroup.json} | 11 +++++++++++ .../stable/2018-06-01/compute.json | 4 ++-- ... => CreateOrUpdateAProximityPlacementGroup.json} | 11 +++++++++++ .../stable/2018-10-01/compute.json | 4 ++-- ... => CreateOrUpdateAProximityPlacementGroup.json} | 13 ++++++++++++- 6 files changed, 40 insertions(+), 7 deletions(-) rename specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/{CreateAProximityPlacementGroup.json => CreateOrUpdateAProximityPlacementGroup.json} (64%) rename specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/{CreateAProximityPlacementGroup.json => CreateOrUpdateAProximityPlacementGroup.json} (64%) rename specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/{CreateAProximityPlacementGroup.json => CreateOrUpdateAProximityPlacementGroup.json} (64%) 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 180d5bfbc2d4..b5e868bec788 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 @@ -390,8 +390,8 @@ } }, "x-ms-examples": { - "Create a proximity placement group.": { - "$ref": "./examples/CreateAProximityPlacementGroup.json" + "Create or Update a proximity placement group.": { + "$ref": "./examples/CreateOrUpdateAProximityPlacementGroup.json" } } }, diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/CreateAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/CreateOrUpdateAProximityPlacementGroup.json similarity index 64% rename from specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/CreateAProximityPlacementGroup.json rename to specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/CreateOrUpdateAProximityPlacementGroup.json index 02354e773d6f..da24a6750d11 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/CreateAProximityPlacementGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/CreateOrUpdateAProximityPlacementGroup.json @@ -22,6 +22,17 @@ "type": "Microsoft.Compute/proximityPlacementGroups", "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" } + }, + "201": { + "body": { + "name": "myProximityPlacementGroup", + "properties": { + "proximityPlacementGroupType": "Standard" + }, + "location": "westus", + "type": "Microsoft.Compute/proximityPlacementGroups", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } } } } 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 1d3699521cbe..19b7e90f0f38 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 @@ -390,8 +390,8 @@ } }, "x-ms-examples": { - "Create a proximity placement group.": { - "$ref": "./examples/CreateAProximityPlacementGroup.json" + "Create or Update a proximity placement group.": { + "$ref": "./examples/CreateOrUpdateAProximityPlacementGroup.json" } } }, diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateOrUpdateAProximityPlacementGroup.json similarity index 64% rename from specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAProximityPlacementGroup.json rename to specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateOrUpdateAProximityPlacementGroup.json index 674a839160f9..334d3d7b088e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAProximityPlacementGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateOrUpdateAProximityPlacementGroup.json @@ -22,6 +22,17 @@ "type": "Microsoft.Compute/proximityPlacementGroups", "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" } + }, + "201": { + "body": { + "name": "myProximityPlacementGroup", + "properties": { + "proximityPlacementGroupType": "Standard" + }, + "location": "westus", + "type": "Microsoft.Compute/proximityPlacementGroups", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } } } } 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 2dcdc88750eb..3c8abac047c3 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 @@ -390,8 +390,8 @@ } }, "x-ms-examples": { - "Create a proximity placement group.": { - "$ref": "./examples/CreateAProximityPlacementGroup.json" + "Create or Update a proximity placement group.": { + "$ref": "./examples/CreateOrUpdateAProximityPlacementGroup.json" } } }, diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateOrUpdateAProximityPlacementGroup.json similarity index 64% rename from specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAProximityPlacementGroup.json rename to specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateOrUpdateAProximityPlacementGroup.json index 4ea32b13318b..49de287af088 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAProximityPlacementGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateOrUpdateAProximityPlacementGroup.json @@ -22,6 +22,17 @@ "type": "Microsoft.Compute/proximityPlacementGroups", "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" } + }, + "201": { + "body": { + "name": "myProximityPlacementGroup", + "properties": { + "proximityPlacementGroupType": "Standard" + }, + "location": "westus", + "type": "Microsoft.Compute/proximityPlacementGroups", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup" + } } } -} +} \ No newline at end of file