forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev kubernetesconfiguration microsoft.kubernetes configuration 2021 0…
…9 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 <[email protected]> Co-authored-by: nanthi <nanthi@NANTHI01>
- Loading branch information
1 parent
c566c79
commit fa0a958
Showing
11 changed files
with
1,429 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
106 changes: 106 additions & 0 deletions
106
...manager/Microsoft.KubernetesConfiguration/stable/2021-09-01/examples/CreateExtension.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"extensionName": "ClusterMonitor", | ||
"api-version": "2021-09-01", | ||
"clusterName": "clusterName1", | ||
"extension": { | ||
"properties": { | ||
"extensionType": "azuremonitor-containers", | ||
"autoUpgradeMinorVersion": true, | ||
"releaseTrain": "Preview", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"configurationSettings": { | ||
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b", | ||
"omsagent.env.clusterName": "clusterName1" | ||
}, | ||
"configurationProtectedSettings": { | ||
"omsagent.secret.key": "secretKeyValue01" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": { | ||
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/{operationId}", | ||
"x-ms-async-operation-timeout": "PT48H" | ||
}, | ||
"description": "Details of the Kubernetes Extension's current status.", | ||
"body": { | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor", | ||
"type": "Microsoft.KubernetesConfiguration/extensions", | ||
"name": "ClusterMonitor", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2021-09-08T05:10:57.027Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-09-08T05:10:57.027Z" | ||
}, | ||
"properties": { | ||
"extensionType": "azuremonitor-containers", | ||
"autoUpgradeMinorVersion": true, | ||
"releaseTrain": "Preview", | ||
"version": "0.1.4", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"configurationSettings": { | ||
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b", | ||
"omsagent.env.clusterName": "clusterName1" | ||
}, | ||
"provisioningState": "Creating", | ||
"statuses": [] | ||
} | ||
} | ||
}, | ||
"200": { | ||
"headers": { | ||
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/{operationId}", | ||
"x-ms-async-operation-timeout": "PT48H" | ||
}, | ||
"description": "Details of the Kubernetes Extension's current status.", | ||
"body": { | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor", | ||
"type": "Microsoft.KubernetesConfiguration/extensions", | ||
"name": "ClusterMonitor", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2021-09-08T05:10:57.027Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-09-08T05:10:57.027Z" | ||
}, | ||
"properties": { | ||
"extensionType": "azuremonitor-containers", | ||
"autoUpgradeMinorVersion": true, | ||
"releaseTrain": "Preview", | ||
"version": "0.1.4", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"configurationSettings": { | ||
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b", | ||
"omsagent.env.clusterName": "clusterName1" | ||
}, | ||
"provisioningState": "Creating", | ||
"statuses": [] | ||
} | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...manager/Microsoft.KubernetesConfiguration/stable/2021-09-01/examples/DeleteExtension.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"extensionName": "ClusterMonitor", | ||
"api-version": "2021-09-01", | ||
"clusterName": "clusterName1" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/{operationId}", | ||
"x-ms-async-operation-timeout": "PT1H" | ||
} | ||
}, | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...Microsoft.KubernetesConfiguration/stable/2021-09-01/examples/GetAsyncOperationStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"extensionName": "ClusterMonitor", | ||
"api-version": "2021-09-01", | ||
"clusterName": "clusterName1", | ||
"operationId": "99999999-9999-9999-9999-999999999999" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/99999999-9999-9999-9999-999999999999", | ||
"name": "99999999-9999-9999-9999-999999999999", | ||
"status": "Succeeded", | ||
"properties": {}, | ||
"error": null | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...ce-manager/Microsoft.KubernetesConfiguration/stable/2021-09-01/examples/GetExtension.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"extensionName": "ClusterMonitor", | ||
"api-version": "2021-09-01", | ||
"clusterName": "clusterName1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"description": "Details of the Kubernetes Extension's current status.", | ||
"body": { | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor", | ||
"type": "Microsoft.KubernetesConfiguration/extensions", | ||
"name": "ClusterMonitor", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2021-09-08T05:10:57.027Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-09-08T05:10:57.027Z" | ||
}, | ||
"properties": { | ||
"extensionType": "azuremonitor-containers", | ||
"autoUpgradeMinorVersion": true, | ||
"releaseTrain": "Preview", | ||
"version": "0.1.4", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"configurationSettings": { | ||
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b", | ||
"omsagent.env.clusterName": "clusterName1" | ||
}, | ||
"provisioningState": "Creating", | ||
"statuses": [] | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...icrosoft.KubernetesConfiguration/stable/2021-09-01/examples/ListAsyncOperationStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"api-version": "2021-09-01", | ||
"clusterName": "clusterName1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/99999999-9999-9999-9999-999999999999", | ||
"name": "99999999-9999-9999-9999-999999999999", | ||
"status": "Deleting", | ||
"properties": {}, | ||
"error": null | ||
}, | ||
{ | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/cassandraExtension1/operations/88888888-8888-8888-8888-888888888888", | ||
"name": "88888888-8888-8888-8888-888888888888", | ||
"status": "Creating", | ||
"properties": {}, | ||
"error": null | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
76 changes: 76 additions & 0 deletions
76
...-manager/Microsoft.KubernetesConfiguration/stable/2021-09-01/examples/ListExtensions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"api-version": "2021-09-01", | ||
"clusterName": "clusterName1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor", | ||
"type": "Microsoft.KubernetesConfiguration/extensions", | ||
"name": "ClusterMonitor", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2021-09-08T05:10:57.027Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-09-08T05:10:57.027Z" | ||
}, | ||
"properties": { | ||
"extensionType": "azuremonitor-containers", | ||
"autoUpgradeMinorVersion": true, | ||
"releaseTrain": "Preview", | ||
"version": "0.1.4", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"configurationSettings": { | ||
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b", | ||
"omsagent.env.clusterName": "clusterName1" | ||
}, | ||
"provisioningState": "Creating", | ||
"statuses": [] | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/BackupVault01", | ||
"type": "Microsoft.KubernetesConfiguration/extensions", | ||
"name": "App1Monitor", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2021-09-08T04:09:23.011Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-09-08T04:09:23.011Z" | ||
}, | ||
"properties": { | ||
"extensionType": "Microsoft.RecoveryServices/recoveryVault", | ||
"autoUpgradeMinorVersion": false, | ||
"releaseTrain": "Stable", | ||
"version": "1.0.1", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "myKVNamespace" | ||
} | ||
}, | ||
"configurationSettings": {}, | ||
"provisioningState": "Creating", | ||
"statuses": [] | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.