Skip to content

Commit 7d82d40

Browse files
cataggarjspearman3
andauthored
add Microsoft.AVS 2019-08-09-preview API spec (Azure#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]>
1 parent e2dbaac commit 7d82d40

19 files changed

+2044
-0
lines changed
Lines changed: 48 additions & 0 deletions
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.AVS/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.AVS/privateClouds/clusters"
29+
}
30+
},
31+
"201": {
32+
"body": {
33+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/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.AVS/privateClouds/clusters"
45+
}
46+
}
47+
}
48+
}
Lines changed: 14 additions & 0 deletions
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+
}
Lines changed: 28 additions & 0 deletions
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.AVS/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.AVS/privateClouds/clusters"
25+
}
26+
}
27+
}
28+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
"value": [
12+
{
13+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
14+
"name": "cluster1",
15+
"properties": {
16+
"clusterSize": 3,
17+
"hosts": [
18+
"fakehost22.nyc1.kubernetes.center",
19+
"fakehost23.nyc1.kubernetes.center",
20+
"fakehost24.nyc1.kubernetes.center"
21+
],
22+
"provisioningState": "Succeeded"
23+
},
24+
"type": "Microsoft.AVS/privateClouds/clusters"
25+
}
26+
]
27+
}
28+
}
29+
}
30+
}
Lines changed: 50 additions & 0 deletions
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.AVS/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.AVS/privateClouds/clusters"
30+
}
31+
},
32+
"201": {
33+
"body": {
34+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/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.AVS/privateClouds/clusters"
47+
}
48+
}
49+
}
50+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"api-version": "2019-08-09-preview",
5+
"location": "eastus"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"hostsRemaining": {
11+
"gp": 0,
12+
"he": 999
13+
},
14+
"quotaEnabled": "Enabled"
15+
}
16+
}
17+
}
18+
}
Lines changed: 22 additions & 0 deletions
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": "Azure VMware Solution",
13+
"resource": "Private Cloud"
14+
},
15+
"name": "Microsoft.AVS/privateClouds/create",
16+
"origin": "user,system"
17+
}
18+
],
19+
"nextLink": "string"
20+
}
21+
}
22+
}
Lines changed: 112 additions & 0 deletions
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.AVS/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.AVS/privateClouds"
62+
}
63+
},
64+
"201": {
65+
"body": {
66+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/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.AVS/privateClouds"
109+
}
110+
}
111+
}
112+
}
Lines changed: 13 additions & 0 deletions
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)