Skip to content

Commit f9af8f5

Browse files
ctaggartsigmeret1975
authored
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 <[email protected]> Co-authored-by: Eugene Tolmachev <[email protected]>
1 parent 5d0c51b commit f9af8f5

18 files changed

+1852
-0
lines changed

custom-words.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -974,6 +974,7 @@ notstarted
974974
nouploadcache
975975
nsdname
976976
nsku
977+
nsxt
977978
ntext
978979
ntlm
979980
numrecords
@@ -1598,6 +1599,7 @@ vaultusages
15981599
vcenter
15991600
Vcore
16001601
Vcores
1602+
vcsa
16011603
Vertica
16021604
Vfyc
16031605
vhds
@@ -1610,6 +1612,7 @@ virtualmachines
16101612
virtualnetworkgateways
16111613
virtualnetworkrules
16121614
virtualnetworks
1615+
Virtustream
16131616
viruela
16141617
visualsearch
16151618
visualstudio
@@ -1621,6 +1624,7 @@ vmextension
16211624
VMILR
16221625
vmimage
16231626
vmname
1627+
vmotion
16241628
VMQS
16251629
vmsizes
16261630
VMSS
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-08-09-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"clusterName": "cluster1",
8+
"cluster": {
9+
"properties": {
10+
"clusterSize": 3
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/privateClouds/cloud1/clusters/cluster1",
18+
"name": "cluster1",
19+
"properties": {
20+
"clusterSize": 3,
21+
"hosts": [
22+
"fakehost22.nyc1.kubernetes.center",
23+
"fakehost23.nyc1.kubernetes.center",
24+
"fakehost24.nyc1.kubernetes.center"
25+
],
26+
"provisioningState": "Updating"
27+
},
28+
"type": "Microsoft.VMwareVirtustream/privateClouds/clusters"
29+
}
30+
},
31+
"201": {
32+
"body": {
33+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/privateClouds/cloud1/clusters/cluster1",
34+
"name": "cluster1",
35+
"properties": {
36+
"clusterSize": 3,
37+
"hosts": [
38+
"fakehost22.nyc1.kubernetes.center",
39+
"fakehost23.nyc1.kubernetes.center",
40+
"fakehost24.nyc1.kubernetes.center"
41+
],
42+
"provisioningState": "Updating"
43+
},
44+
"type": "Microsoft.VMwareVirtustream/privateClouds/clusters"
45+
}
46+
}
47+
}
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-08-09-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"clusterName": "cluster1"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-08-09-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"clusterName": "cluster1"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/privateClouds/cloud1/clusters/cluster1",
13+
"name": "cluster1",
14+
"properties": {
15+
"clusterSize": 4,
16+
"hosts": [
17+
"fakehost22.nyc1.kubernetes.center",
18+
"fakehost23.nyc1.kubernetes.center",
19+
"fakehost24.nyc1.kubernetes.center",
20+
"fakehost25.nyc1.kubernetes.center"
21+
],
22+
"provisioningState": "Updating"
23+
},
24+
"type": "Microsoft.VMwareVirtustream/privateClouds/clusters"
25+
}
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-08-09-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": [
11+
{
12+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/privateClouds/cloud1/clusters/cluster1",
13+
"name": "cluster1",
14+
"properties": {
15+
"clusterSize": 3,
16+
"hosts": [
17+
"fakehost22.nyc1.kubernetes.center",
18+
"fakehost23.nyc1.kubernetes.center",
19+
"fakehost24.nyc1.kubernetes.center"
20+
],
21+
"provisioningState": "Succeeded"
22+
},
23+
"type": "Microsoft.VMwareVirtustream/privateClouds/clusters"
24+
}
25+
]
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-08-09-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"clusterName": "cluster1",
8+
"cluster": {
9+
"properties": {
10+
"clusterSize": 4
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/privateClouds/cloud1/clusters/cluster1",
18+
"name": "cluster1",
19+
"properties": {
20+
"clusterSize": 4,
21+
"hosts": [
22+
"fakehost22.nyc1.kubernetes.center",
23+
"fakehost23.nyc1.kubernetes.center",
24+
"fakehost24.nyc1.kubernetes.center",
25+
"fakehost25.nyc1.kubernetes.center"
26+
],
27+
"provisioningState": "Updating"
28+
},
29+
"type": "Microsoft.VMwareVirtustream/privateClouds/clusters"
30+
}
31+
},
32+
"201": {
33+
"body": {
34+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/privateClouds/cloud1/clusters/cluster1",
35+
"name": "cluster1",
36+
"properties": {
37+
"clusterSize": 4,
38+
"hosts": [
39+
"fakehost22.nyc1.kubernetes.center",
40+
"fakehost23.nyc1.kubernetes.center",
41+
"fakehost24.nyc1.kubernetes.center",
42+
"fakehost25.nyc1.kubernetes.center"
43+
],
44+
"provisioningState": "Updating"
45+
},
46+
"type": "Microsoft.VMwareVirtustream/privateClouds/clusters"
47+
}
48+
}
49+
}
50+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-08-09-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": [
8+
{
9+
"display": {
10+
"description": "Creates a private cloud",
11+
"operation": "Create Private Cloud",
12+
"provider": "VMware Solution by Virtustream",
13+
"resource": "Private Cloud"
14+
},
15+
"name": "Microsoft.VMwareVirtustream/privateClouds/create",
16+
"origin": "user,system"
17+
}
18+
],
19+
"nextLink": "string"
20+
}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-08-09-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"privateCloud": {
8+
"location": "eastus2",
9+
"properties": {
10+
"cluster": {
11+
"clusterSize": 4
12+
}
13+
},
14+
"tags": {}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/privateClouds/cloud1",
21+
"location": "eastus2",
22+
"name": "cloud1",
23+
"properties": {
24+
"circuit": {
25+
"authorizations": [],
26+
"expressRouteID": "/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect",
27+
"primarySubnet": "192.168.53.0/30",
28+
"secondarySubnet": "192.168.53.4/30"
29+
},
30+
"cluster": {
31+
"clusterId": 1,
32+
"clusterSize": 4,
33+
"hosts": [
34+
"fakehost18.nyc1.kubernetes.center",
35+
"fakehost19.nyc1.kubernetes.center",
36+
"fakehost20.nyc1.kubernetes.center",
37+
"fakehost21.nyc1.kubernetes.center"
38+
]
39+
},
40+
"clusters": [],
41+
"endpoints": {
42+
"nsxtManager": "https://192.168.50.3/",
43+
"vcsa": "https://192.168.50.2/"
44+
},
45+
"identitySources": [
46+
{
47+
"alias": "groupAlias",
48+
"baseGroupDN": "ou=baseGroup",
49+
"baseUserDN": "ou=baseUser",
50+
"domain": "domain1",
51+
"name": "group1",
52+
"primaryServer": "ldaps://1.1.1.1:636/",
53+
"secondaryServer": "ldaps://1.1.1.2:636/",
54+
"ssl": "Enabled"
55+
}
56+
],
57+
"internet": "Disabled",
58+
"provisioningState": "Updating"
59+
},
60+
"tags": {},
61+
"type": "Microsoft.VMwareVirtustream/privateClouds"
62+
}
63+
},
64+
"201": {
65+
"body": {
66+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.VMwareVirtustream/privateClouds/cloud1",
67+
"location": "eastus2",
68+
"name": "cloud1",
69+
"properties": {
70+
"circuit": {
71+
"authorizations": [],
72+
"expressRouteID": "/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect",
73+
"primarySubnet": "192.168.53.0/30",
74+
"secondarySubnet": "192.168.53.4/30",
75+
"expressRoutePrivatePeeringID": "/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"
76+
},
77+
"cluster": {
78+
"clusterId": 1,
79+
"clusterSize": 4,
80+
"hosts": [
81+
"fakehost18.nyc1.kubernetes.center",
82+
"fakehost19.nyc1.kubernetes.center",
83+
"fakehost20.nyc1.kubernetes.center",
84+
"fakehost21.nyc1.kubernetes.center"
85+
]
86+
},
87+
"clusters": [],
88+
"endpoints": {
89+
"nsxtManager": "https://192.168.50.3/",
90+
"vcsa": "https://192.168.50.2/"
91+
},
92+
"identitySources": [
93+
{
94+
"alias": "groupAlias",
95+
"baseGroupDN": "ou=baseGroup",
96+
"baseUserDN": "ou=baseUser",
97+
"domain": "domain1",
98+
"name": "group1",
99+
"primaryServer": "ldaps://1.1.1.1:636/",
100+
"secondaryServer": "ldaps://1.1.1.2:636/",
101+
"ssl": "Enabled"
102+
}
103+
],
104+
"internet": "Disabled",
105+
"provisioningState": "Updating"
106+
},
107+
"tags": {},
108+
"type": "Microsoft.VMwareVirtustream/privateClouds"
109+
}
110+
}
111+
}
112+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-08-09-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1"
7+
},
8+
"responses": {
9+
"200": {},
10+
"202": {},
11+
"204": {}
12+
}
13+
}

0 commit comments

Comments
 (0)