Skip to content

Commit dea99bf

Browse files
NarayanThirumarkcowlnanthi
authored andcommitted
Dev kubernetesconfiguration microsoft.kubernetes configuration 2021 09 01 (Azure#15593)
* Add blockchain to latest profile * Add additional types * Adds base for updating Microsoft.KubernetesConfiguration from version common/2021-05-01-preview to version 2021-09-01 * Updates readme * Updates API version in new specs and examples * Extension GA - apiversion 2021-09-01 * Move definitions.json to the correct folder * Add Patch example * Prettier fix * Patch response fix * Avocado fixes * Additional fixes * Fixes for Model and Semantic validations * Additional fixes * Fix patch example * Prettier fix for definitions.json * Readme.md spacing fix * Add AKSIdentity object * Prettier and Lint Diff fixes * Change Patch response to 202, per review * Update Patch response body to adhere to API guidance * Added Suppression for Patch 202 response * Fix linter issues * Fix linter issues * Fix Linter and Model validation errors * Fix ModelValidation and Prettier issues * Move suppression to the GA version * Move suppression to global * Move suppression back to the GA version * Update suppression * Fix errors from SDK generation * Prettier fix * Remove definitions.json and move the defs. into extensions.json * Remove azure-validator Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com> Co-authored-by: nanthi <nanthi@NANTHI01>
1 parent dd553d7 commit dea99bf

File tree

11 files changed

+1429
-3
lines changed

11 files changed

+1429
-3
lines changed

profiles/definitions/latest-2019-04-30.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,21 @@ profiles:
4141
- managedClusters/accessProfiles
4242
'2017-07-01':
4343
- containerServices
44+
microsoft.blockchain:
45+
'2018-06-01-preview':
46+
- blockchainMembers
47+
- blockchainMembers/consortiumMembers
48+
- blockchainMembers/listApiKeys
49+
- lockchainMembers/regenerateApiKeys
50+
- blockchainMembers/transactionNodes
51+
- blockchainMembers/transactionNodes/listApiKeys
52+
- blockchainMembers/transactionNodes/regenerateApiKeys
53+
- locations
54+
- locations/blockchainMemberOperationResults
55+
- locations/checkNameAvailability
56+
- locations/listConsortiums
57+
- operations
58+
- skus
4459
microsoft.capacity:
4560
'2019-04-01':
4661
- appliedReservations
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subId1",
4+
"resourceGroupName": "rg1",
5+
"clusterRp": "Microsoft.Kubernetes",
6+
"clusterResourceName": "connectedClusters",
7+
"extensionName": "ClusterMonitor",
8+
"api-version": "2021-09-01",
9+
"clusterName": "clusterName1",
10+
"extension": {
11+
"properties": {
12+
"extensionType": "azuremonitor-containers",
13+
"autoUpgradeMinorVersion": true,
14+
"releaseTrain": "Preview",
15+
"scope": {
16+
"cluster": {
17+
"releaseNamespace": "kube-system"
18+
}
19+
},
20+
"configurationSettings": {
21+
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b",
22+
"omsagent.env.clusterName": "clusterName1"
23+
},
24+
"configurationProtectedSettings": {
25+
"omsagent.secret.key": "secretKeyValue01"
26+
}
27+
}
28+
}
29+
},
30+
"responses": {
31+
"201": {
32+
"headers": {
33+
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/{operationId}",
34+
"x-ms-async-operation-timeout": "PT48H"
35+
},
36+
"description": "Details of the Kubernetes Extension's current status.",
37+
"body": {
38+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor",
39+
"type": "Microsoft.KubernetesConfiguration/extensions",
40+
"name": "ClusterMonitor",
41+
"systemData": {
42+
"createdBy": "string",
43+
"createdByType": "Application",
44+
"createdAt": "2021-09-08T05:10:57.027Z",
45+
"lastModifiedBy": "string",
46+
"lastModifiedByType": "Application",
47+
"lastModifiedAt": "2021-09-08T05:10:57.027Z"
48+
},
49+
"properties": {
50+
"extensionType": "azuremonitor-containers",
51+
"autoUpgradeMinorVersion": true,
52+
"releaseTrain": "Preview",
53+
"version": "0.1.4",
54+
"scope": {
55+
"cluster": {
56+
"releaseNamespace": "kube-system"
57+
}
58+
},
59+
"configurationSettings": {
60+
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b",
61+
"omsagent.env.clusterName": "clusterName1"
62+
},
63+
"provisioningState": "Creating",
64+
"statuses": []
65+
}
66+
}
67+
},
68+
"200": {
69+
"headers": {
70+
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/{operationId}",
71+
"x-ms-async-operation-timeout": "PT48H"
72+
},
73+
"description": "Details of the Kubernetes Extension's current status.",
74+
"body": {
75+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor",
76+
"type": "Microsoft.KubernetesConfiguration/extensions",
77+
"name": "ClusterMonitor",
78+
"systemData": {
79+
"createdBy": "string",
80+
"createdByType": "Application",
81+
"createdAt": "2021-09-08T05:10:57.027Z",
82+
"lastModifiedBy": "string",
83+
"lastModifiedByType": "Application",
84+
"lastModifiedAt": "2021-09-08T05:10:57.027Z"
85+
},
86+
"properties": {
87+
"extensionType": "azuremonitor-containers",
88+
"autoUpgradeMinorVersion": true,
89+
"releaseTrain": "Preview",
90+
"version": "0.1.4",
91+
"scope": {
92+
"cluster": {
93+
"releaseNamespace": "kube-system"
94+
}
95+
},
96+
"configurationSettings": {
97+
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b",
98+
"omsagent.env.clusterName": "clusterName1"
99+
},
100+
"provisioningState": "Creating",
101+
"statuses": []
102+
}
103+
}
104+
}
105+
}
106+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subId1",
4+
"resourceGroupName": "rg1",
5+
"clusterRp": "Microsoft.Kubernetes",
6+
"clusterResourceName": "connectedClusters",
7+
"extensionName": "ClusterMonitor",
8+
"api-version": "2021-09-01",
9+
"clusterName": "clusterName1"
10+
},
11+
"responses": {
12+
"202": {
13+
"headers": {
14+
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/{operationId}",
15+
"x-ms-async-operation-timeout": "PT1H"
16+
}
17+
},
18+
"200": {},
19+
"204": {}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subId1",
4+
"resourceGroupName": "rg1",
5+
"clusterRp": "Microsoft.Kubernetes",
6+
"clusterResourceName": "connectedClusters",
7+
"extensionName": "ClusterMonitor",
8+
"api-version": "2021-09-01",
9+
"clusterName": "clusterName1",
10+
"operationId": "99999999-9999-9999-9999-999999999999"
11+
},
12+
"responses": {
13+
"200": {
14+
"headers": {},
15+
"body": {
16+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/99999999-9999-9999-9999-999999999999",
17+
"name": "99999999-9999-9999-9999-999999999999",
18+
"status": "Succeeded",
19+
"properties": {},
20+
"error": null
21+
}
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subId1",
4+
"resourceGroupName": "rg1",
5+
"clusterRp": "Microsoft.Kubernetes",
6+
"clusterResourceName": "connectedClusters",
7+
"extensionName": "ClusterMonitor",
8+
"api-version": "2021-09-01",
9+
"clusterName": "clusterName1"
10+
},
11+
"responses": {
12+
"200": {
13+
"headers": {},
14+
"description": "Details of the Kubernetes Extension's current status.",
15+
"body": {
16+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor",
17+
"type": "Microsoft.KubernetesConfiguration/extensions",
18+
"name": "ClusterMonitor",
19+
"systemData": {
20+
"createdBy": "string",
21+
"createdByType": "Application",
22+
"createdAt": "2021-09-08T05:10:57.027Z",
23+
"lastModifiedBy": "string",
24+
"lastModifiedByType": "Application",
25+
"lastModifiedAt": "2021-09-08T05:10:57.027Z"
26+
},
27+
"properties": {
28+
"extensionType": "azuremonitor-containers",
29+
"autoUpgradeMinorVersion": true,
30+
"releaseTrain": "Preview",
31+
"version": "0.1.4",
32+
"scope": {
33+
"cluster": {
34+
"releaseNamespace": "kube-system"
35+
}
36+
},
37+
"configurationSettings": {
38+
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b",
39+
"omsagent.env.clusterName": "clusterName1"
40+
},
41+
"provisioningState": "Creating",
42+
"statuses": []
43+
}
44+
}
45+
}
46+
}
47+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subId1",
4+
"resourceGroupName": "rg1",
5+
"clusterRp": "Microsoft.Kubernetes",
6+
"clusterResourceName": "connectedClusters",
7+
"api-version": "2021-09-01",
8+
"clusterName": "clusterName1"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/99999999-9999-9999-9999-999999999999",
16+
"name": "99999999-9999-9999-9999-999999999999",
17+
"status": "Deleting",
18+
"properties": {},
19+
"error": null
20+
},
21+
{
22+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/cassandraExtension1/operations/88888888-8888-8888-8888-888888888888",
23+
"name": "88888888-8888-8888-8888-888888888888",
24+
"status": "Creating",
25+
"properties": {},
26+
"error": null
27+
}
28+
],
29+
"nextLink": null
30+
}
31+
}
32+
}
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subId1",
4+
"resourceGroupName": "rg1",
5+
"clusterRp": "Microsoft.Kubernetes",
6+
"clusterResourceName": "connectedClusters",
7+
"api-version": "2021-09-01",
8+
"clusterName": "clusterName1"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor",
16+
"type": "Microsoft.KubernetesConfiguration/extensions",
17+
"name": "ClusterMonitor",
18+
"systemData": {
19+
"createdBy": "string",
20+
"createdByType": "Application",
21+
"createdAt": "2021-09-08T05:10:57.027Z",
22+
"lastModifiedBy": "string",
23+
"lastModifiedByType": "Application",
24+
"lastModifiedAt": "2021-09-08T05:10:57.027Z"
25+
},
26+
"properties": {
27+
"extensionType": "azuremonitor-containers",
28+
"autoUpgradeMinorVersion": true,
29+
"releaseTrain": "Preview",
30+
"version": "0.1.4",
31+
"scope": {
32+
"cluster": {
33+
"releaseNamespace": "kube-system"
34+
}
35+
},
36+
"configurationSettings": {
37+
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b",
38+
"omsagent.env.clusterName": "clusterName1"
39+
},
40+
"provisioningState": "Creating",
41+
"statuses": []
42+
}
43+
},
44+
{
45+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/BackupVault01",
46+
"type": "Microsoft.KubernetesConfiguration/extensions",
47+
"name": "App1Monitor",
48+
"systemData": {
49+
"createdBy": "string",
50+
"createdByType": "Application",
51+
"createdAt": "2021-09-08T04:09:23.011Z",
52+
"lastModifiedBy": "string",
53+
"lastModifiedByType": "Application",
54+
"lastModifiedAt": "2021-09-08T04:09:23.011Z"
55+
},
56+
"properties": {
57+
"extensionType": "Microsoft.RecoveryServices/recoveryVault",
58+
"autoUpgradeMinorVersion": false,
59+
"releaseTrain": "Stable",
60+
"version": "1.0.1",
61+
"scope": {
62+
"cluster": {
63+
"releaseNamespace": "myKVNamespace"
64+
}
65+
},
66+
"configurationSettings": {},
67+
"provisioningState": "Creating",
68+
"statuses": []
69+
}
70+
}
71+
],
72+
"nextLink": null
73+
}
74+
}
75+
}
76+
}

0 commit comments

Comments
 (0)