Skip to content

Commit 382987f

Browse files
authored
Add Microsoft.ExtendedLocation [CustomLocation] 2021-08-15 stable API Version (#15967)
* Add 2021-08-15 stable API Version * Update Patch Properties to add identity * Typo * Prettier check Co-authored-by: Aditi <amalladi@microsoft.com>
1 parent b75f081 commit 382987f

13 files changed

+1323
-3
lines changed

specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/customlocations.json

Lines changed: 728 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-08-15",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555",
5+
"resourceGroupName": "testresourcegroup",
6+
"resourceName": "customLocation01",
7+
"parameters": {
8+
"location": "West US",
9+
"properties": {
10+
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
11+
"namespace": "namespace01",
12+
"displayName": "customLocationLocation01",
13+
"clusterExtensionIds": [
14+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedCluster/someCluster/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
15+
],
16+
"authentication": {
17+
"type": "KubeConfig",
18+
"value": "<base64 KubeConfig>"
19+
}
20+
},
21+
"identity": {
22+
"type": "SystemAssigned"
23+
}
24+
}
25+
},
26+
"responses": {
27+
"200": {
28+
"body": {
29+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/customLocation01",
30+
"name": "customLocation01",
31+
"type": "Microsoft.ExtendedLocation/customLocations",
32+
"location": "West US",
33+
"properties": {
34+
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
35+
"namespace": "namespace01",
36+
"displayName": "customLocationLocation01",
37+
"provisioningState": "Succeeded",
38+
"clusterExtensionIds": [
39+
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
40+
],
41+
"authentication": {
42+
"type": "KubeConfig"
43+
}
44+
},
45+
"identity": {
46+
"type": "SystemAssigned",
47+
"principalId": "11111111-1111-1111-1111-111111111111",
48+
"tenantId": "111111-1111-1111-1111-111111111111"
49+
},
50+
"systemData": {
51+
"createdBy": "string",
52+
"createdByType": "Application",
53+
"createdAt": "2020-04-24T18:53:29.0928001Z",
54+
"lastModifiedBy": "string",
55+
"lastModifiedByType": "Application",
56+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
57+
}
58+
}
59+
},
60+
"201": {
61+
"body": {
62+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/customLocation01",
63+
"name": "customLocation01",
64+
"type": "Microsoft.ExtendedLocation/customLocations",
65+
"location": "West US",
66+
"properties": {
67+
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
68+
"namespace": "namespace01",
69+
"displayName": "customLocationLocation01",
70+
"provisioningState": "Succeeded",
71+
"clusterExtensionIds": [
72+
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ContainerService/managedClusters/cluster01/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
73+
],
74+
"authentication": {
75+
"type": "KubeConfig"
76+
}
77+
},
78+
"identity": {
79+
"type": "SystemAssigned",
80+
"principalId": "11111111-1111-1111-1111-111111111111",
81+
"tenantId": "111111-1111-1111-1111-111111111111"
82+
},
83+
"systemData": {
84+
"createdBy": "string",
85+
"createdByType": "Application",
86+
"createdAt": "2020-04-24T18:53:29.0928001Z",
87+
"lastModifiedBy": "string",
88+
"lastModifiedByType": "Application",
89+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
90+
}
91+
}
92+
}
93+
}
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-08-15",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555",
5+
"resourceGroupName": "testresourcegroup",
6+
"resourceName": "customLocation01"
7+
},
8+
"responses": {
9+
"202": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-08-15",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555",
5+
"resourceGroupName": "testresourcegroup",
6+
"resourceName": "customLocation01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/customLocation01",
12+
"name": "customLocation01",
13+
"type": "Microsoft.ExtendedLocation/customLocations",
14+
"location": "West US",
15+
"properties": {
16+
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
17+
"namespace": "namespace01",
18+
"displayName": "customLocationLocation01",
19+
"provisioningState": "Succeeded",
20+
"clusterExtensionIds": [
21+
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
22+
],
23+
"authentication": {
24+
"type": "KubeConfig"
25+
}
26+
},
27+
"identity": {
28+
"type": "SystemAssigned",
29+
"principalId": "11111111-1111-1111-1111-111111111111",
30+
"tenantId": "111111-1111-1111-1111-111111111111"
31+
},
32+
"systemData": {
33+
"createdBy": "string",
34+
"createdByType": "Application",
35+
"createdAt": "2021-08-24T18:53:29.0928001Z",
36+
"lastModifiedBy": "string",
37+
"lastModifiedByType": "Application",
38+
"lastModifiedAt": "2021-08-24T18:53:29.0928001Z"
39+
}
40+
}
41+
}
42+
}
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-08-15",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555",
5+
"resourceGroupName": "testresourcegroup"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ExtendedLocation/",
13+
"name": "customLocation01",
14+
"type": "Microsoft.ExtendedLocation/customLocations",
15+
"location": "West US",
16+
"properties": {
17+
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
18+
"namespace": "namespace01",
19+
"displayName": "customLocationLocation01",
20+
"provisioningState": "Succeeded",
21+
"clusterExtensionIds": [
22+
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
23+
],
24+
"authentication": {
25+
"type": "KubeConfig"
26+
}
27+
},
28+
"identity": {
29+
"type": "SystemAssigned",
30+
"principalId": "11111111-1111-1111-1111-111111111111",
31+
"tenantId": "111111-1111-1111-1111-111111111111"
32+
},
33+
"systemData": {
34+
"createdBy": "string",
35+
"createdByType": "Application",
36+
"createdAt": "2020-04-24T18:53:29.0928001Z",
37+
"lastModifiedBy": "string",
38+
"lastModifiedByType": "Application",
39+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
40+
}
41+
},
42+
{
43+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ExtendedLocation/",
44+
"name": "customLocation02",
45+
"type": "Microsoft.ExtendedLocation/customLocations",
46+
"location": "West US",
47+
"properties": {
48+
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster02",
49+
"namespace": "namespace02",
50+
"displayName": "customLocationLocation02",
51+
"provisioningState": "Succeeded",
52+
"clusterExtensionIds": [
53+
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster02/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
54+
],
55+
"authentication": {
56+
"type": "KubeConfig"
57+
}
58+
},
59+
"identity": {
60+
"type": "SystemAssigned",
61+
"principalId": "11111111-1111-1111-1111-111111111111",
62+
"tenantId": "111111-1111-1111-1111-111111111111"
63+
},
64+
"systemData": {
65+
"createdBy": "string",
66+
"createdByType": "Application",
67+
"createdAt": "2021-08-24T18:53:29.0928001Z",
68+
"lastModifiedBy": "string",
69+
"lastModifiedByType": "Application",
70+
"lastModifiedAt": "2021-08-24T18:53:29.0928001Z"
71+
}
72+
}
73+
]
74+
}
75+
}
76+
}
77+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-08-15",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ExtendedLocation/",
12+
"name": "customLocation01",
13+
"type": "Microsoft.ExtendedLocation/customLocations",
14+
"location": "West US",
15+
"properties": {
16+
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
17+
"namespace": "namespace01",
18+
"displayName": "customLocationLocation01",
19+
"provisioningState": "Succeeded",
20+
"clusterExtensionIds": [
21+
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
22+
],
23+
"authentication": {
24+
"type": "KubeConfig"
25+
}
26+
},
27+
"identity": {
28+
"type": "SystemAssigned",
29+
"principalId": "11111111-1111-1111-1111-111111111111",
30+
"tenantId": "111111-1111-1111-1111-111111111111"
31+
},
32+
"systemData": {
33+
"createdBy": "string",
34+
"createdByType": "Application",
35+
"createdAt": "2020-04-24T18:53:29.0928001Z",
36+
"lastModifiedBy": "string",
37+
"lastModifiedByType": "Application",
38+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
39+
}
40+
},
41+
{
42+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ExtendedLocation/",
43+
"name": "customLocation02",
44+
"type": "Microsoft.ExtendedLocation/customLocations",
45+
"location": "West US",
46+
"properties": {
47+
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster02",
48+
"namespace": "namespace02",
49+
"displayName": "customLocationLocation02",
50+
"provisioningState": "Succeeded",
51+
"clusterExtensionIds": [
52+
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster02/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
53+
],
54+
"authentication": {
55+
"type": "KubeConfig"
56+
}
57+
},
58+
"identity": {
59+
"type": "SystemAssigned",
60+
"principalId": "11111111-1111-1111-1111-111111111111",
61+
"tenantId": "111111-1111-1111-1111-111111111111"
62+
},
63+
"systemData": {
64+
"createdBy": "string",
65+
"createdByType": "Application",
66+
"createdAt": "2021-08-24T18:53:29.0928001Z",
67+
"lastModifiedBy": "string",
68+
"lastModifiedByType": "Application",
69+
"lastModifiedAt": "2021-08-24T18:53:29.0928001Z"
70+
}
71+
}
72+
]
73+
}
74+
}
75+
}
76+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-08-15",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555",
5+
"resourceGroupName": "testresourcegroup",
6+
"resourceName": "customLocation01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/customLocation01/enabledResourceTypes/d016ecf26dae90594806aca3c1a6326c668357037f68103587edf2e657824737",
14+
"name": "d016ecf26dae90594806aca3c1a6326c668357037f68103587edf2e657824737",
15+
"type": "Microsoft.ExtendedLocation/customLocations/enabledResourceTypes",
16+
"properties": {
17+
"clusterExtensionId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/cldfe2econnectedcluster/providers/Microsoft.KubernetesConfiguration/extensions/vmware-extension",
18+
"extensionType": "arc-vmware",
19+
"typesMetadata": [
20+
{
21+
"apiVersion": "2020-01-01-preview",
22+
"resourceType": "virtualMachines",
23+
"resourceProviderNamespace": "Microsoft.VMware"
24+
},
25+
{
26+
"apiVersion": "2020-01-22-preview",
27+
"resourceType": "virtualmachines",
28+
"resourceProviderNamespace": "Microsoft.VMware"
29+
}
30+
]
31+
},
32+
"systemData": {
33+
"createdBy": "string",
34+
"createdByType": "Application",
35+
"createdAt": "2020-04-24T18:53:29.0928001Z",
36+
"lastModifiedBy": "string",
37+
"lastModifiedByType": "Application",
38+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
39+
}
40+
},
41+
{
42+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/customLocation01/enabledResourceTypes/266e9d31e5be6be1e919574e25780d5783586d502f0b2cc422e0a228a34e00a6",
43+
"name": "266e9d31e5be6be1e919574e25780d5783586d502f0b2cc422e0a228a34e00a6",
44+
"type": "Microsoft.ExtendedLocation/customLocations/enabledResourceTypes",
45+
"properties": {
46+
"clusterExtensionId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/cldfe2econnectedcluster/providers/Microsoft.KubernetesConfiguration/extensions/cassandra-extension",
47+
"extensionType": "cassandradatacentersoperator",
48+
"typesMetadata": [
49+
{
50+
"apiVersion": "2020-01-01-preview",
51+
"resourceType": "cassandraDataCenters",
52+
"resourceProviderNamespace": "Microsoft.Cassandra"
53+
},
54+
{
55+
"apiVersion": "2020-01-22-preview",
56+
"resourceType": "cassandrabackups",
57+
"resourceProviderNamespace": "Microsoft.Cassandra"
58+
}
59+
]
60+
},
61+
"systemData": {
62+
"createdBy": "string",
63+
"createdByType": "Application",
64+
"createdAt": "2021-08-24T18:53:29.0928001Z",
65+
"lastModifiedBy": "string",
66+
"lastModifiedByType": "Application",
67+
"lastModifiedAt": "2021-08-24T18:53:29.0928001Z"
68+
}
69+
}
70+
]
71+
}
72+
}
73+
}
74+
}

0 commit comments

Comments
 (0)