-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use 2020-07-17-preview as base api * 2021-01-01-preview API changes * fix Java namespace & output-folder * add body to Datastores_Create * remove x-ms-azure-resource & properties suffix * fix Datastores_Create responses * "2021-01-01" to "2021-01-01-preview"
- Loading branch information
Showing
76 changed files
with
8,479 additions
and
2 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
...-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_CreateOrUpdate_SRM.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,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "srm", | ||
"addon": { | ||
"properties": { | ||
"addonType": "SRM", | ||
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", | ||
"name": "srm", | ||
"properties": { | ||
"addonType": "SRM", | ||
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", | ||
"name": "srm", | ||
"properties": { | ||
"addonType": "SRM", | ||
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...are/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_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": "2021-01-01-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "srm" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...re/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Get_SRM.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": "2021-01-01-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "srm" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", | ||
"name": "srm", | ||
"properties": { | ||
"addonType": "SRM", | ||
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...mware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_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,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", | ||
"name": "srm", | ||
"properties": { | ||
"addonType": "SRM", | ||
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ager/Microsoft.AVS/preview/2021-01-01-preview/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": "2021-01-01-preview", | ||
"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
...urce-manager/Microsoft.AVS/preview/2021-01-01-preview/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": "2021-01-01-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"authorizationName": "authorization1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...esource-manager/Microsoft.AVS/preview/2021-01-01-preview/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": "2021-01-01-preview", | ||
"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
...source-manager/Microsoft.AVS/preview/2021-01-01-preview/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": "2021-01-01-preview", | ||
"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
...ce-manager/Microsoft.AVS/preview/2021-01-01-preview/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": "2021-01-01-preview", | ||
"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
...e/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/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": "2021-01-01-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"clusterName": "cluster1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...ware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/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": "2021-01-01-preview", | ||
"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
...are/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/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": "2021-01-01-preview", | ||
"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
...e/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/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": "2021-01-01-preview", | ||
"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" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.