forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Microsoft.AVS 2020-03-20 API spec (Azure#9859)
* add Microsot.AVS 2020-03-20 API spec * fix spelling * prettier * empty object {} passed in to create * multi-api for Java & Go * prettier * review preview for go * mark properties required * add tags to PrivateCloudUpdate
- Loading branch information
Showing
27 changed files
with
2,808 additions
and
1 deletion.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
...ource-manager/Microsoft.AVS/stable/2020-03-20/examples/Authorizations_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"authorizationName": "authorization1", | ||
"authorization": {} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", | ||
"name": "authorization1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth", | ||
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/authorizations" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", | ||
"name": "authorization1", | ||
"properties": { | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/authorizations" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ware/resource-manager/Microsoft.AVS/stable/2020-03-20/examples/Authorizations_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"authorizationName": "authorization1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
.../vmware/resource-manager/Microsoft.AVS/stable/2020-03-20/examples/Authorizations_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"authorizationName": "authorization1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", | ||
"name": "authorization1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth", | ||
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/authorizations" | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...vmware/resource-manager/Microsoft.AVS/stable/2020-03-20/examples/Authorizations_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", | ||
"name": "authorization1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth", | ||
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/authorizations" | ||
} | ||
] | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...re/resource-manager/Microsoft.AVS/stable/2020-03-20/examples/Clusters_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"clusterName": "cluster1", | ||
"cluster": { | ||
"sku": { | ||
"name": "AV20" | ||
}, | ||
"properties": { | ||
"clusterSize": 3 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", | ||
"name": "cluster1", | ||
"sku": { | ||
"name": "AV20" | ||
}, | ||
"properties": { | ||
"clusterSize": 3, | ||
"hosts": [ | ||
"fakehost22.nyc1.kubernetes.center", | ||
"fakehost23.nyc1.kubernetes.center", | ||
"fakehost24.nyc1.kubernetes.center" | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", | ||
"name": "cluster1", | ||
"sku": { | ||
"name": "AV20" | ||
}, | ||
"properties": { | ||
"clusterSize": 3, | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ion/vmware/resource-manager/Microsoft.AVS/stable/2020-03-20/examples/Clusters_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"clusterName": "cluster1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...cation/vmware/resource-manager/Microsoft.AVS/stable/2020-03-20/examples/Clusters_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"clusterName": "cluster1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", | ||
"name": "cluster1", | ||
"sku": { | ||
"name": "AV20" | ||
}, | ||
"properties": { | ||
"clusterSize": 4, | ||
"hosts": [ | ||
"fakehost22.nyc1.kubernetes.center", | ||
"fakehost23.nyc1.kubernetes.center", | ||
"fakehost24.nyc1.kubernetes.center", | ||
"fakehost25.nyc1.kubernetes.center" | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...ation/vmware/resource-manager/Microsoft.AVS/stable/2020-03-20/examples/Clusters_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", | ||
"name": "cluster1", | ||
"sku": { | ||
"name": "AV20" | ||
}, | ||
"properties": { | ||
"clusterSize": 3, | ||
"hosts": [ | ||
"fakehost22.nyc1.kubernetes.center", | ||
"fakehost23.nyc1.kubernetes.center", | ||
"fakehost24.nyc1.kubernetes.center" | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...ion/vmware/resource-manager/Microsoft.AVS/stable/2020-03-20/examples/Clusters_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"clusterName": "cluster1", | ||
"clusterUpdate": { | ||
"properties": { | ||
"clusterSize": 4 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", | ||
"name": "cluster1", | ||
"sku": { | ||
"name": "AV20" | ||
}, | ||
"properties": { | ||
"clusterSize": 4, | ||
"hosts": [ | ||
"fakehost22.nyc1.kubernetes.center", | ||
"fakehost23.nyc1.kubernetes.center", | ||
"fakehost24.nyc1.kubernetes.center", | ||
"fakehost25.nyc1.kubernetes.center" | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", | ||
"name": "cluster1", | ||
"sku": { | ||
"name": "AV20" | ||
}, | ||
"properties": { | ||
"clusterSize": 4, | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...e-manager/Microsoft.AVS/stable/2020-03-20/examples/HcxEnterpriseSites_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"hcxEnterpriseSiteName": "site1", | ||
"hcxEnterpriseSite": {} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", | ||
"name": "site1", | ||
"properties": { | ||
"activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", | ||
"status": "Available" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", | ||
"name": "site1", | ||
"properties": { | ||
"activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", | ||
"status": "Available" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
.../resource-manager/Microsoft.AVS/stable/2020-03-20/examples/HcxEnterpriseSites_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"hcxEnterpriseSiteName": "site1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...are/resource-manager/Microsoft.AVS/stable/2020-03-20/examples/HcxEnterpriseSites_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"hcxEnterpriseSiteName": "site1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", | ||
"name": "site1", | ||
"properties": { | ||
"activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", | ||
"status": "Available" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...re/resource-manager/Microsoft.AVS/stable/2020-03-20/examples/HcxEnterpriseSites_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-03-20", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", | ||
"name": "site1", | ||
"properties": { | ||
"activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", | ||
"status": "Available" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" | ||
} | ||
] | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ce-manager/Microsoft.AVS/stable/2020-03-20/examples/Locations_CheckQuotaAvailability.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"api-version": "2020-03-20", | ||
"location": "eastus" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"hostsRemaining": { | ||
"AV20": 0, | ||
"AV36": 999 | ||
}, | ||
"quotaEnabled": "Enabled" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.