|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "subscriptionId": "subId1", |
| 4 | + "resourceGroupName": "rg1", |
| 5 | + "clusterRp": "Microsoft.Kubernetes", |
| 6 | + "clusterResourceName": "connectedClusters", |
| 7 | + "extensionName": "ClusterMonitor", |
| 8 | + "api-version": "2022-07-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 | + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Kubernetes/ConnectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/operationId?api-version=2022-07-01" |
| 36 | + }, |
| 37 | + "description": "Details of the Kubernetes Extension's current status.", |
| 38 | + "body": { |
| 39 | + "id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor", |
| 40 | + "type": "Microsoft.KubernetesConfiguration/extensions", |
| 41 | + "name": "ClusterMonitor", |
| 42 | + "systemData": { |
| 43 | + "createdBy": "string", |
| 44 | + "createdByType": "Application", |
| 45 | + "createdAt": "2021-09-08T05:10:57.027Z", |
| 46 | + "lastModifiedBy": "string", |
| 47 | + "lastModifiedByType": "Application", |
| 48 | + "lastModifiedAt": "2021-09-08T05:10:57.027Z" |
| 49 | + }, |
| 50 | + "properties": { |
| 51 | + "extensionType": "azuremonitor-containers", |
| 52 | + "autoUpgradeMinorVersion": false, |
| 53 | + "releaseTrain": "Preview", |
| 54 | + "version": "0.1.4", |
| 55 | + "scope": { |
| 56 | + "cluster": { |
| 57 | + "releaseNamespace": "kube-system" |
| 58 | + } |
| 59 | + }, |
| 60 | + "configurationSettings": { |
| 61 | + "omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b", |
| 62 | + "omsagent.env.clusterName": "clusterName1" |
| 63 | + }, |
| 64 | + "provisioningState": "Creating", |
| 65 | + "installedVersion": null, |
| 66 | + "statuses": [] |
| 67 | + } |
| 68 | + } |
| 69 | + }, |
| 70 | + "200": { |
| 71 | + "headers": { |
| 72 | + "Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/{operationId}", |
| 73 | + "x-ms-async-operation-timeout": "PT48H" |
| 74 | + }, |
| 75 | + "description": "Details of the Kubernetes Extension's current status.", |
| 76 | + "body": { |
| 77 | + "id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor", |
| 78 | + "type": "Microsoft.KubernetesConfiguration/extensions", |
| 79 | + "name": "ClusterMonitor", |
| 80 | + "systemData": { |
| 81 | + "createdBy": "string", |
| 82 | + "createdByType": "Application", |
| 83 | + "createdAt": "2021-09-08T05:10:57.027Z", |
| 84 | + "lastModifiedBy": "string", |
| 85 | + "lastModifiedByType": "Application", |
| 86 | + "lastModifiedAt": "2021-09-08T05:10:57.027Z" |
| 87 | + }, |
| 88 | + "properties": { |
| 89 | + "extensionType": "azuremonitor-containers", |
| 90 | + "autoUpgradeMinorVersion": false, |
| 91 | + "releaseTrain": "Preview", |
| 92 | + "version": "0.1.4", |
| 93 | + "scope": { |
| 94 | + "cluster": { |
| 95 | + "releaseNamespace": "kube-system" |
| 96 | + } |
| 97 | + }, |
| 98 | + "configurationSettings": { |
| 99 | + "omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b", |
| 100 | + "omsagent.env.clusterName": "clusterName1" |
| 101 | + }, |
| 102 | + "provisioningState": "Succeeded", |
| 103 | + "installedVersion": "0.1.4", |
| 104 | + "statuses": [] |
| 105 | + } |
| 106 | + } |
| 107 | + } |
| 108 | + } |
| 109 | +} |
0 commit comments