Skip to content

Commit b91af17

Browse files
authored
fix some AVS 2021-06-01 list examples (#15133)
1 parent 98af580 commit b91af17

File tree

5 files changed

+106
-96
lines changed

5 files changed

+106
-96
lines changed

specification/vmware/resource-manager/Microsoft.AVS/stable/2021-06-01/examples/Authorizations_List.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,20 @@
77
},
88
"responses": {
99
"200": {
10-
"body": [
11-
{
12-
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1",
13-
"name": "authorization1",
14-
"properties": {
15-
"provisioningState": "Succeeded",
16-
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth",
17-
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc"
18-
},
19-
"type": "Microsoft.AVS/privateClouds/authorizations"
20-
}
21-
]
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1",
14+
"name": "authorization1",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth",
18+
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc"
19+
},
20+
"type": "Microsoft.AVS/privateClouds/authorizations"
21+
}
22+
]
23+
}
2224
}
2325
}
2426
}

specification/vmware/resource-manager/Microsoft.AVS/stable/2021-06-01/examples/CloudLinks_List.json

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@
77
},
88
"responses": {
99
"200": {
10-
"body": [
11-
{
12-
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1",
13-
"name": "cloudLink1",
14-
"properties": {
15-
"status": "Active",
16-
"linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"
17-
},
18-
"type": "Microsoft.AVS/privateClouds/cloudLinks"
19-
}
20-
]
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1",
14+
"name": "cloudLink1",
15+
"properties": {
16+
"status": "Active",
17+
"linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"
18+
},
19+
"type": "Microsoft.AVS/privateClouds/cloudLinks"
20+
}
21+
]
22+
}
2123
}
2224
}
2325
}

specification/vmware/resource-manager/Microsoft.AVS/stable/2021-06-01/examples/GlobalReachConnections_List.json

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,22 @@
77
},
88
"responses": {
99
"200": {
10-
"body": [
11-
{
12-
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1",
13-
"name": "connection1",
14-
"properties": {
15-
"addressPrefix": "10.2.3.16/29",
16-
"authorizationKey": "01010101-0101-0101-0101-010101010101",
17-
"circuitConnectionStatus": "Connected",
18-
"peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer",
19-
"provisioningState": "Succeeded"
20-
},
21-
"type": "Microsoft.AVS/privateClouds/globalReachConnections"
22-
}
23-
]
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1",
14+
"name": "connection1",
15+
"properties": {
16+
"addressPrefix": "10.2.3.16/29",
17+
"authorizationKey": "01010101-0101-0101-0101-010101010101",
18+
"circuitConnectionStatus": "Connected",
19+
"peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer",
20+
"provisioningState": "Succeeded"
21+
},
22+
"type": "Microsoft.AVS/privateClouds/globalReachConnections"
23+
}
24+
]
25+
}
2426
}
2527
}
2628
}

specification/vmware/resource-manager/Microsoft.AVS/stable/2021-06-01/examples/HcxEnterpriseSites_List.json

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@
77
},
88
"responses": {
99
"200": {
10-
"body": [
11-
{
12-
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1",
13-
"name": "site1",
14-
"properties": {
15-
"activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D",
16-
"status": "Available"
17-
},
18-
"type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites"
19-
}
20-
]
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1",
14+
"name": "site1",
15+
"properties": {
16+
"activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D",
17+
"status": "Available"
18+
},
19+
"type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites"
20+
}
21+
]
22+
}
2123
}
2224
}
2325
}

specification/vmware/resource-manager/Microsoft.AVS/stable/2021-06-01/examples/PrivateClouds_ListInSubscription.json

Lines changed: 50 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -5,56 +5,58 @@
55
},
66
"responses": {
77
"200": {
8-
"body": [
9-
{
10-
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1",
11-
"location": "eastus2",
12-
"name": "cloud1",
13-
"sku": {
14-
"name": "AV36"
15-
},
16-
"properties": {
17-
"networkBlock": "192.168.48.0/22",
18-
"circuit": {
19-
"expressRouteID": "/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect",
20-
"primarySubnet": "192.168.53.0/30",
21-
"secondarySubnet": "192.168.53.4/30",
22-
"expressRoutePrivatePeeringID": "/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1",
12+
"location": "eastus2",
13+
"name": "cloud1",
14+
"sku": {
15+
"name": "AV36"
2316
},
24-
"managementCluster": {
25-
"clusterId": 1,
26-
"clusterSize": 4,
27-
"hosts": [
28-
"fakehost18.nyc1.kubernetes.center",
29-
"fakehost19.nyc1.kubernetes.center",
30-
"fakehost20.nyc1.kubernetes.center",
31-
"fakehost21.nyc1.kubernetes.center"
32-
]
17+
"properties": {
18+
"networkBlock": "192.168.48.0/22",
19+
"circuit": {
20+
"expressRouteID": "/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect",
21+
"primarySubnet": "192.168.53.0/30",
22+
"secondarySubnet": "192.168.53.4/30",
23+
"expressRoutePrivatePeeringID": "/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"
24+
},
25+
"managementCluster": {
26+
"clusterId": 1,
27+
"clusterSize": 4,
28+
"hosts": [
29+
"fakehost18.nyc1.kubernetes.center",
30+
"fakehost19.nyc1.kubernetes.center",
31+
"fakehost20.nyc1.kubernetes.center",
32+
"fakehost21.nyc1.kubernetes.center"
33+
]
34+
},
35+
"endpoints": {
36+
"nsxtManager": "https://192.168.50.3/",
37+
"vcsa": "https://192.168.50.2/",
38+
"hcxCloudManager": "https://192.168.50.4/"
39+
},
40+
"identitySources": [
41+
{
42+
"alias": "groupAlias",
43+
"baseGroupDN": "ou=baseGroup",
44+
"baseUserDN": "ou=baseUser",
45+
"domain": "domain1",
46+
"name": "group1",
47+
"primaryServer": "ldaps://1.1.1.1:636/",
48+
"secondaryServer": "ldaps://1.1.1.2:636/",
49+
"ssl": "Enabled"
50+
}
51+
],
52+
"internet": "Disabled",
53+
"provisioningState": "Succeeded"
3354
},
34-
"endpoints": {
35-
"nsxtManager": "https://192.168.50.3/",
36-
"vcsa": "https://192.168.50.2/",
37-
"hcxCloudManager": "https://192.168.50.4/"
38-
},
39-
"identitySources": [
40-
{
41-
"alias": "groupAlias",
42-
"baseGroupDN": "ou=baseGroup",
43-
"baseUserDN": "ou=baseUser",
44-
"domain": "domain1",
45-
"name": "group1",
46-
"primaryServer": "ldaps://1.1.1.1:636/",
47-
"secondaryServer": "ldaps://1.1.1.2:636/",
48-
"ssl": "Enabled"
49-
}
50-
],
51-
"internet": "Disabled",
52-
"provisioningState": "Succeeded"
53-
},
54-
"tags": {},
55-
"type": "Microsoft.AVS/privateClouds"
56-
}
57-
]
55+
"tags": {},
56+
"type": "Microsoft.AVS/privateClouds"
57+
}
58+
]
59+
}
5860
}
5961
}
6062
}

0 commit comments

Comments
 (0)