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.
VMware by Virtustream API 2019-08-09-preview (Azure#8296)
* 2019-08-09-preview * spell out networks * username and credential needed to add an IdentitySource * post listAdminCredentials * standardize on username, password, nsxt and vcenter * add nsxt to custom-words.txt * default cluster does not have provisioningState * it extends DefaultClusterProperties * add Circuit expressRoutePrivatePeeringID * back out some minor changes for sdk generation * identitySources and Circuit authorizations are updateable * add PrivateClouds_ListInSubscription * Long running operation for Clusters_Delete (#1) * npm run prettier * location for all resources (Azure#2) * Revert "location for all resources (Azure#2)" (Azure#3) This reverts commit 432e37b. * add description TODOs * example is PrivateClouds_Update * require body in PrivateClouds_Update * replaced TODOs with descriptions * spellcheck * "x-ms-secret": true * Revert ""x-ms-secret": true" This reverts commit 3358dff. Co-authored-by: Andrew Ulliani <aulliani@yahoo.com> Co-authored-by: Eugene Tolmachev <e.tolmachev@gmail.com>
- Loading branch information
1 parent
5d0c51b
commit f9af8f5
Showing
18 changed files
with
1,852 additions
and
0 deletions.
There are no files selected for viewing
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
48 changes: 48 additions & 0 deletions
48
...rosoft.VMwareVirtustream/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.VMwareVirtustream/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.VMwareVirtustream/privateClouds/clusters" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/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.VMwareVirtustream/privateClouds/clusters" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ager/Microsoft.VMwareVirtustream/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
...manager/Microsoft.VMwareVirtustream/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.VMwareVirtustream/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.VMwareVirtustream/privateClouds/clusters" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...anager/Microsoft.VMwareVirtustream/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,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-08-09-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/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.VMwareVirtustream/privateClouds/clusters" | ||
} | ||
] | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...ager/Microsoft.VMwareVirtustream/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.VMwareVirtustream/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.VMwareVirtustream/privateClouds/clusters" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/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.VMwareVirtustream/privateClouds/clusters" | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...ager/Microsoft.VMwareVirtustream/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": "VMware Solution by Virtustream", | ||
"resource": "Private Cloud" | ||
}, | ||
"name": "Microsoft.VMwareVirtustream/privateClouds/create", | ||
"origin": "user,system" | ||
} | ||
], | ||
"nextLink": "string" | ||
} | ||
} | ||
} |
112 changes: 112 additions & 0 deletions
112
...t.VMwareVirtustream/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.VMwareVirtustream/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.VMwareVirtustream/privateClouds" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/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.VMwareVirtustream/privateClouds" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...Microsoft.VMwareVirtustream/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.