Skip to content

Commit

Permalink
Added back ProximityPlaceGroup APIs which are missing in 2019-03-01 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hyonholee authored and veronicagg committed Apr 19, 2019
1 parent cba23e1 commit 808d08a
Show file tree
Hide file tree
Showing 8 changed files with 589 additions and 25 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-03-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"
}
},
"201": {
"body": {
"name": "myProximityPlacementGroup",
"properties": {
"proximityPlacementGroupType": "Standard"
},
"location": "westus",
"type": "Microsoft.Compute/proximityPlacementGroups",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters":{
"subscriptionId":"{subscription-id}",
"resourceGroupName":"myResourceGroup",
"api-version":"2019-03-01",
"proximityPlacementGroupName":"myProximityPlacementGroup",
"parameters":{
}
},
"responses":{
"200":{}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters":{
"subscriptionId":"{subscription-id}",
"resourceGroupName":"myResourceGroup",
"api-version":"2019-03-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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters":{
"subscriptionId":"{subscription-id}",
"resourceGroupName":"myResourceGroup",
"api-version":"2019-03-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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters":{
"subscriptionId":"{subscription-id}",
"api-version":"2019-03-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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters":{
"subscriptionId":"{subscription-id}",
"resourceGroupName":"myResourceGroup",
"api-version":"2019-03-01",
"proximityPlacementGroupName":"myProximityPlacementGroup",
"parameters":{
"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"
}
}
}
}
4 changes: 4 additions & 0 deletions specification/compute/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ directive:
- $.definitions.AvailabilitySetUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.ProximityPlacementGroupUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineExtensionUpdate
suppress:
Expand Down

0 comments on commit 808d08a

Please sign in to comment.