-
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.
add Microsoft.AVS 2019-08-09-preview API spec (#9307)
* cp -r vmwarevirtustream vmware * rebrand * add sku to PrivateCloud * add SSL thumbprints * Fix description typo (#5) * lists return value[] * suppress R3020 * fix suppress * add Locations_ prefix Co-authored-by: jspearman3 <[email protected]>
- Loading branch information
1 parent
e2dbaac
commit 7d82d40
Showing
19 changed files
with
2,044 additions
and
0 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
...ce-manager/Microsoft.AVS/preview/2019-08-09-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,48 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-08-09-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"clusterName": "cluster1", | ||
"cluster": { | ||
"properties": { | ||
"clusterSize": 3 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", | ||
"name": "cluster1", | ||
"properties": { | ||
"clusterSize": 3, | ||
"hosts": [ | ||
"fakehost22.nyc1.kubernetes.center", | ||
"fakehost23.nyc1.kubernetes.center", | ||
"fakehost24.nyc1.kubernetes.center" | ||
], | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", | ||
"name": "cluster1", | ||
"properties": { | ||
"clusterSize": 3, | ||
"hosts": [ | ||
"fakehost22.nyc1.kubernetes.center", | ||
"fakehost23.nyc1.kubernetes.center", | ||
"fakehost24.nyc1.kubernetes.center" | ||
], | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...e/resource-manager/Microsoft.AVS/preview/2019-08-09-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": "2019-08-09-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"clusterName": "cluster1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...ware/resource-manager/Microsoft.AVS/preview/2019-08-09-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,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-08-09-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", | ||
"properties": { | ||
"clusterSize": 4, | ||
"hosts": [ | ||
"fakehost22.nyc1.kubernetes.center", | ||
"fakehost23.nyc1.kubernetes.center", | ||
"fakehost24.nyc1.kubernetes.center", | ||
"fakehost25.nyc1.kubernetes.center" | ||
], | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...are/resource-manager/Microsoft.AVS/preview/2019-08-09-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,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-08-09-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", | ||
"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/2019-08-09-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": "2019-08-09-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"clusterName": "cluster1", | ||
"cluster": { | ||
"properties": { | ||
"clusterSize": 4 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", | ||
"name": "cluster1", | ||
"properties": { | ||
"clusterSize": 4, | ||
"hosts": [ | ||
"fakehost22.nyc1.kubernetes.center", | ||
"fakehost23.nyc1.kubernetes.center", | ||
"fakehost24.nyc1.kubernetes.center", | ||
"fakehost25.nyc1.kubernetes.center" | ||
], | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", | ||
"name": "cluster1", | ||
"properties": { | ||
"clusterSize": 4, | ||
"hosts": [ | ||
"fakehost22.nyc1.kubernetes.center", | ||
"fakehost23.nyc1.kubernetes.center", | ||
"fakehost24.nyc1.kubernetes.center", | ||
"fakehost25.nyc1.kubernetes.center" | ||
], | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...r/Microsoft.AVS/preview/2019-08-09-preview/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": "2019-08-09-preview", | ||
"location": "eastus" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"hostsRemaining": { | ||
"gp": 0, | ||
"he": 999 | ||
}, | ||
"quotaEnabled": "Enabled" | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...e/resource-manager/Microsoft.AVS/preview/2019-08-09-preview/examples/Operations_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,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-08-09-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": [ | ||
{ | ||
"display": { | ||
"description": "Creates a private cloud", | ||
"operation": "Create Private Cloud", | ||
"provider": "Azure VMware Solution", | ||
"resource": "Private Cloud" | ||
}, | ||
"name": "Microsoft.AVS/privateClouds/create", | ||
"origin": "user,system" | ||
} | ||
], | ||
"nextLink": "string" | ||
} | ||
} | ||
} |
112 changes: 112 additions & 0 deletions
112
...nager/Microsoft.AVS/preview/2019-08-09-preview/examples/PrivateClouds_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,112 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-08-09-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"privateCloud": { | ||
"location": "eastus2", | ||
"properties": { | ||
"cluster": { | ||
"clusterSize": 4 | ||
} | ||
}, | ||
"tags": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", | ||
"location": "eastus2", | ||
"name": "cloud1", | ||
"properties": { | ||
"circuit": { | ||
"authorizations": [], | ||
"expressRouteID": "/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", | ||
"primarySubnet": "192.168.53.0/30", | ||
"secondarySubnet": "192.168.53.4/30" | ||
}, | ||
"cluster": { | ||
"clusterId": 1, | ||
"clusterSize": 4, | ||
"hosts": [ | ||
"fakehost18.nyc1.kubernetes.center", | ||
"fakehost19.nyc1.kubernetes.center", | ||
"fakehost20.nyc1.kubernetes.center", | ||
"fakehost21.nyc1.kubernetes.center" | ||
] | ||
}, | ||
"clusters": [], | ||
"endpoints": { | ||
"nsxtManager": "https://192.168.50.3/", | ||
"vcsa": "https://192.168.50.2/" | ||
}, | ||
"identitySources": [ | ||
{ | ||
"alias": "groupAlias", | ||
"baseGroupDN": "ou=baseGroup", | ||
"baseUserDN": "ou=baseUser", | ||
"domain": "domain1", | ||
"name": "group1", | ||
"primaryServer": "ldaps://1.1.1.1:636/", | ||
"secondaryServer": "ldaps://1.1.1.2:636/", | ||
"ssl": "Enabled" | ||
} | ||
], | ||
"internet": "Disabled", | ||
"provisioningState": "Updating" | ||
}, | ||
"tags": {}, | ||
"type": "Microsoft.AVS/privateClouds" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", | ||
"location": "eastus2", | ||
"name": "cloud1", | ||
"properties": { | ||
"circuit": { | ||
"authorizations": [], | ||
"expressRouteID": "/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", | ||
"primarySubnet": "192.168.53.0/30", | ||
"secondarySubnet": "192.168.53.4/30", | ||
"expressRoutePrivatePeeringID": "/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" | ||
}, | ||
"cluster": { | ||
"clusterId": 1, | ||
"clusterSize": 4, | ||
"hosts": [ | ||
"fakehost18.nyc1.kubernetes.center", | ||
"fakehost19.nyc1.kubernetes.center", | ||
"fakehost20.nyc1.kubernetes.center", | ||
"fakehost21.nyc1.kubernetes.center" | ||
] | ||
}, | ||
"clusters": [], | ||
"endpoints": { | ||
"nsxtManager": "https://192.168.50.3/", | ||
"vcsa": "https://192.168.50.2/" | ||
}, | ||
"identitySources": [ | ||
{ | ||
"alias": "groupAlias", | ||
"baseGroupDN": "ou=baseGroup", | ||
"baseUserDN": "ou=baseUser", | ||
"domain": "domain1", | ||
"name": "group1", | ||
"primaryServer": "ldaps://1.1.1.1:636/", | ||
"secondaryServer": "ldaps://1.1.1.2:636/", | ||
"ssl": "Enabled" | ||
} | ||
], | ||
"internet": "Disabled", | ||
"provisioningState": "Updating" | ||
}, | ||
"tags": {}, | ||
"type": "Microsoft.AVS/privateClouds" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ource-manager/Microsoft.AVS/preview/2019-08-09-preview/examples/PrivateClouds_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": "2019-08-09-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
Oops, something went wrong.