-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit splits KubernetesConfiguration service into a service gro…
…up consisting of 5 services - - Flux Configuration Service (stable 2024-11-01 version) - Extensions Service (stable 2024-11-02 and preview 2024-11-02-preview version) - Private Link Scopes Service (preview 2024-11-01-preview) - Operations Service (stable 2024-11-01) - Source Control Configuration (stable version of retired service) FluxConfiguration Service includes addition of a new provider field. Signed-off-by: Dipti Pai <diptipai@microsoft.com>
- Loading branch information
1 parent
07c0f76
commit 38a10af
Showing
95 changed files
with
11,370 additions
and
0 deletions.
There are no files selected for viewing
111 changes: 111 additions & 0 deletions
111
...bernetesConfiguration/extensions/preview/2024-11-02-preview/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,111 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"extensionName": "ClusterMonitor", | ||
"api-version": "2024-11-02-preview", | ||
"clusterName": "clusterName1", | ||
"extension": { | ||
"properties": { | ||
"extensionType": "azuremonitor-containers", | ||
"autoUpgradeMinorVersion": true, | ||
"releaseTrain": "Preview", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"configurationSettings": { | ||
"omsagent.secret.wsid": "fakeTokenPlaceholder", | ||
"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", | ||
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Kubernetes/ConnectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/operationId?api-version=2024-11-02-preview" | ||
}, | ||
"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": false, | ||
"releaseTrain": "Preview", | ||
"version": "0.1.4", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"configurationSettings": { | ||
"omsagent.secret.wsid": "fakeTokenPlaceholder", | ||
"omsagent.env.clusterName": "clusterName1" | ||
}, | ||
"provisioningState": "Creating", | ||
"currentVersion": null, | ||
"statuses": [], | ||
"isSystemExtension": false | ||
} | ||
} | ||
}, | ||
"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": false, | ||
"releaseTrain": "Preview", | ||
"version": "0.1.4", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"configurationSettings": { | ||
"omsagent.secret.wsid": "fakeTokenPlaceholder", | ||
"omsagent.env.clusterName": "clusterName1" | ||
}, | ||
"provisioningState": "Succeeded", | ||
"currentVersion": "0.1.4", | ||
"statuses": [], | ||
"isSystemExtension": false | ||
} | ||
} | ||
} | ||
} | ||
} |
106 changes: 106 additions & 0 deletions
106
...Configuration/extensions/preview/2024-11-02-preview/examples/CreateExtensionWithPlan.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": "azureVote", | ||
"api-version": "2024-11-02-preview", | ||
"clusterName": "clusterName1", | ||
"extension": { | ||
"properties": { | ||
"extensionType": "azure-vote", | ||
"autoUpgradeMinorVersion": true, | ||
"releaseTrain": "Preview" | ||
}, | ||
"plan": { | ||
"name": "azure-vote-standard", | ||
"publisher": "Microsoft", | ||
"product": "azure-vote-standard-offer-id" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": { | ||
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/azureVote/operations/{operationId}", | ||
"x-ms-async-operation-timeout": "PT48H", | ||
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Kubernetes/ConnectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/azureVote/operations/operationId?api-version=2024-11-02-preview" | ||
}, | ||
"description": "Details of the Kubernetes Extension's current status.", | ||
"body": { | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/azureVote", | ||
"type": "Microsoft.KubernetesConfiguration/extensions", | ||
"name": "azureVote", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2021-09-08T05:10:57.027Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-09-08T05:10:57.027Z" | ||
}, | ||
"plan": { | ||
"name": "azure-vote-standard", | ||
"publisher": "Microsoft", | ||
"product": "azure-vote-standard-offer-id" | ||
}, | ||
"properties": { | ||
"extensionType": "azure-vote", | ||
"autoUpgradeMinorVersion": true, | ||
"releaseTrain": "Preview", | ||
"version": "0.1.4", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"provisioningState": "Creating", | ||
"statuses": [], | ||
"currentVersion": null, | ||
"isSystemExtension": false | ||
} | ||
} | ||
}, | ||
"200": { | ||
"headers": { | ||
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/azureVote/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/azureVote", | ||
"type": "Microsoft.KubernetesConfiguration/extensions", | ||
"name": "azureVote", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2021-09-08T05:10:57.027Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-09-08T05:10:57.027Z" | ||
}, | ||
"plan": { | ||
"name": "azure-vote-standard", | ||
"publisher": "Microsoft", | ||
"product": "azure-vote-standard-offer-id" | ||
}, | ||
"properties": { | ||
"extensionType": "azure-vote", | ||
"autoUpgradeMinorVersion": true, | ||
"releaseTrain": "Preview", | ||
"version": "0.1.4", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"provisioningState": "Creating", | ||
"statuses": [], | ||
"currentVersion": "0.1.4", | ||
"isSystemExtension": false | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...bernetesConfiguration/extensions/preview/2024-11-02-preview/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,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"extensionName": "ClusterMonitor", | ||
"api-version": "2024-11-02-preview", | ||
"clusterName": "clusterName1" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/{operationId}", | ||
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Kubernetes/ConnectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/operationId?api-version=2024-11-02-preview", | ||
"x-ms-async-operation-timeout": "PT1H" | ||
} | ||
}, | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
....KubernetesConfiguration/extensions/preview/2024-11-02-preview/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,49 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"extensionName": "ClusterMonitor", | ||
"api-version": "2024-11-02-preview", | ||
"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": false, | ||
"releaseTrain": "Preview", | ||
"version": "0.1.4", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"configurationSettings": { | ||
"omsagent.secret.wsid": "fakeTokenPlaceholder", | ||
"omsagent.env.clusterName": "clusterName1" | ||
}, | ||
"provisioningState": "Succeeded", | ||
"currentVersion": "0.1.4", | ||
"statuses": [], | ||
"isSystemExtension": false | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...tion/extensions/preview/2024-11-02-preview/examples/GetExtensionAsyncOperationStatus.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": "2024-11-02-preview", | ||
"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 | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...ernetesConfiguration/extensions/preview/2024-11-02-preview/examples/GetExtensionType.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,48 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"clusterName": "my-cluster", | ||
"extensionTypeName": "my-extension-type", | ||
"api-version": "2024-11-02-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"description": "Details of the extension type", | ||
"body": { | ||
"id": "aaaa", | ||
"name": "bbbb", | ||
"type": "cccc", | ||
"properties": { | ||
"isSystemExtension": false, | ||
"isManagedIdentityRequired": true, | ||
"description": "My extension type!", | ||
"publisher": "Microsoft", | ||
"planInfo": { | ||
"publisherId": "111111", | ||
"planId": "222222", | ||
"offerId": "3333333" | ||
}, | ||
"supportedClusterTypes": [ | ||
"connectedClusters" | ||
], | ||
"supportedScopes": { | ||
"defaultScope": "cluster", | ||
"clusterScopeSettings": { | ||
"properties": { | ||
"allowMultipleInstances": true, | ||
"defaultReleaseNamespace": "kube-system" | ||
}, | ||
"id": "aaaaaaaaaaaaaaaaaa", | ||
"name": "bbbbbbbbbbbbb", | ||
"type": "ccccccccccccccccccccccccc" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.