Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The change is to support new resource type ProximityPlacementGroup #5507

Merged
merged 7 commits into from
Apr 10, 2019
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
aspand marked this conversation as resolved.
Show resolved Hide resolved
},
"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"
}
}
aspand marked this conversation as resolved.
Show resolved Hide resolved
},
"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"
}
}
aspand marked this conversation as resolved.
Show resolved Hide resolved
},
"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": [
Expand Down Expand Up @@ -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. <br><br>Minimum api-version: 2018-04-01."
},
"statuses": {
"readOnly": true,
"type": "array",
Expand Down Expand Up @@ -4363,6 +4631,89 @@
],
"description": "The List Availability Set operation response."
},
"ProximityPlacementGroupProperties": {
"properties": {
"proximityPlacementGroupType": {
"type": "string",
"description": "Specifies the type of the proximity placement group. <br><br> Possible values are: <br><br> **Standard** <br><br> **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",
"description": "Describes the properties of a Proximity Placement Group."
}
},
"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."
}
},
"required": [
"value"
],
"description": "The List Proximity Placement Group operation response."
},
"VirtualMachineSize": {
"properties": {
"name": {
Expand Down Expand Up @@ -5829,6 +6180,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). <br><br> 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) <br><br> 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. <br><br>Minimum api-version: 2018-04-01."
},
"provisioningState": {
"readOnly": true,
"type": "string",
Expand Down Expand Up @@ -7083,6 +7438,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. <br><br>Minimum api-version: 2018-04-01."
}
},
"description": "Describes the properties of a Virtual Machine Scale Set."
Expand Down
Loading