Skip to content

Commit 9c58d30

Browse files
HariPrasadVaviyerMSFT
authored andcommitted
[Hub Generated] Review request for Microsoft.HybridContainerService to add version preview/2022-09-01-preview (Azure#22814)
* Adds base for updating Microsoft.HybridContainerService from version preview/2022-05-01-preview to version 2022-09-01-preview * Updates readme * Updates API version in new specs and examples * Added the 2022-09-01-preview version of Microsoft.HybridContainerService * Added id, name and type to PutProvisionedCluster example response
1 parent 5be3abc commit 9c58d30

36 files changed

+5114
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-09-01-preview",
4+
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
5+
"resourceGroupName": "testrg",
6+
"resourceName": "ContosoTargetCluster",
7+
"hybridIdentityMetadataResourceName": "default",
8+
"body": {
9+
"properties": {
10+
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
11+
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridContainerService/provisionedClusters/ContosoTargetCluster/hybridIdentityMetadata/default",
19+
"name": "default",
20+
"type": "Microsoft.HybridContainerService/provisionedClusters/hybridIdentityMetadata",
21+
"properties": {
22+
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
23+
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
24+
"identity": {
25+
"principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d",
26+
"tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d",
27+
"type": "SystemAssigned"
28+
}
29+
}
30+
}
31+
}
32+
}
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b",
4+
"resourceGroupName": "test-arcappliance-resgrp",
5+
"resourceName": "test-hybridakscluster",
6+
"agentPoolName": "test-hybridaksnodepool",
7+
"api-version": "2022-09-01-preview"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-09-01-preview",
4+
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
5+
"resourceGroupName": "testrg",
6+
"resourceName": "ContosoTargetCluster",
7+
"hybridIdentityMetadataResourceName": "default"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b",
4+
"resourceGroupName": "test-arcappliance-resgrp",
5+
"resourceName": "test-hybridakscluster",
6+
"api-version": "2022-09-01-preview"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b",
4+
"resourceGroupName": "test-arcappliance-resgrp",
5+
"storageSpacesName": "test-storage",
6+
"api-version": "2022-09-01-preview"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b",
4+
"resourceGroupName": "test-arcappliance-resgrp",
5+
"virtualNetworksName": "test-vnet-static",
6+
"api-version": "2022-09-01-preview"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b",
4+
"resourceGroupName": "test-arcappliance-resgrp",
5+
"resourceName": "test-hybridakscluster",
6+
"agentPoolName": "test-hybridaksnodepool",
7+
"api-version": "2022-09-01-preview"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"location": "westus",
13+
"id": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.HybridContainerService/provisionedClusters/test-hybridakscluster/agentPools/test-hybridaksnodepool",
14+
"name": "test-hybridaksnodepool",
15+
"type": "microsoft.hybridcontainerservice/provisionedclusters/agentpools",
16+
"properties": {
17+
"provisioningState": "Succeeded",
18+
"count": 1,
19+
"vmSize": "Standard_A4_v2",
20+
"osType": "Linux"
21+
}
22+
}
23+
}
24+
}
25+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-09-01-preview",
4+
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
5+
"resourceGroupName": "testrg",
6+
"resourceName": "ContosoTargetCluster",
7+
"hybridIdentityMetadataResourceName": "default"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridContainerService/provisionedClusters/ContosoTargetCluster/hybridIdentityMetadata/default",
13+
"name": "default",
14+
"type": "Microsoft.HybridContainerService/provisionedClusters/hybridIdentityMetadata",
15+
"properties": {
16+
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
17+
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
18+
"identity": {
19+
"principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d",
20+
"tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d",
21+
"type": "SystemAssigned"
22+
}
23+
}
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b",
4+
"resourceGroupName": "test-arcappliance-resgrp",
5+
"resourceName": "test-hybridakscluster",
6+
"api-version": "2022-09-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.HybridContainerService/provisionedClusters/test-hybridakscluster",
12+
"name": "test-hybridakscluster",
13+
"type": "microsoft.hybridcontainerservice/provisionedclusters",
14+
"location": "westus",
15+
"extendedLocation": {
16+
"name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation",
17+
"type": "CustomLocation"
18+
},
19+
"properties": {
20+
"provisioningState": "Succeeded",
21+
"controlPlane": {
22+
"count": 1,
23+
"vmSize": "Standard_A4_v2",
24+
"osType": "Linux",
25+
"linuxProfile": {
26+
"ssh": {
27+
"publicKeys": [
28+
{
29+
"keyData": "ssh-rsa AAAAB1NzaC1yc2EAAAADAQABAAACAQCY......"
30+
}
31+
]
32+
}
33+
}
34+
},
35+
"kubernetesVersion": "v1.20.5",
36+
"networkProfile": {
37+
"loadBalancerSku": "unstacked-haproxy",
38+
"loadBalancerProfile": {
39+
"count": 1,
40+
"vmSize": "Standard_K8S3_v1",
41+
"osType": "Linux",
42+
"linuxProfile": {
43+
"ssh": {
44+
"publicKeys": [
45+
{
46+
"keyData": "ssh-rsa AAAAB2NzaC1yc2EAAAADAQABAAACAQCY......"
47+
}
48+
]
49+
}
50+
}
51+
},
52+
"networkPolicy": "calico",
53+
"podCidr": "10.244.0.0/16"
54+
},
55+
"agentPoolProfiles": [
56+
{
57+
"name": "default-nodepool-1",
58+
"count": 1,
59+
"vmSize": "Standard_A4_v2",
60+
"osType": "Linux"
61+
}
62+
],
63+
"linuxProfile": {
64+
"ssh": {
65+
"publicKeys": [
66+
{
67+
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCY......."
68+
}
69+
]
70+
}
71+
},
72+
"cloudProviderProfile": {
73+
"infraNetworkProfile": {
74+
"vnetSubnetIds": [
75+
"/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.HybridContainerService/virtualNetworks/test-vnet-static"
76+
]
77+
},
78+
"infraStorageProfile": {
79+
"storageSpaceIds": [
80+
"/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.HybridContainerService/storageSpaces/test-storage"
81+
]
82+
}
83+
}
84+
}
85+
}
86+
}
87+
}
88+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b",
4+
"resourceGroupName": "test-arcappliance-resgrp",
5+
"storageSpacesName": "test-storage",
6+
"api-version": "2022-09-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"location": "westus",
12+
"id": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.HybridContainerService/storageSpaces/test-storage",
13+
"name": "test-storage",
14+
"type": "microsoft.hybridcontainerservice/storageSpaces",
15+
"extendedLocation": {
16+
"type": "CustomLocation",
17+
"name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation"
18+
},
19+
"properties": {
20+
"provisioningState": "Succeeded",
21+
"hciStorageProfile": {
22+
"mocStorageContainer": "WssdStorageContainer",
23+
"mocGroup": "target-group",
24+
"mocLocation": "MocLocation"
25+
}
26+
}
27+
}
28+
}
29+
}
30+
}

0 commit comments

Comments
 (0)