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.
[Hub Generated] Review request for Microsoft.KubernetesConfiguration …
…to add version preview/2020-07-01-preview (Azure#9805)
- Loading branch information
1 parent
e744ea5
commit 2652a0c
Showing
16 changed files
with
2,010 additions
and
4 deletions.
There are no files selected for viewing
61 changes: 61 additions & 0 deletions
61
...icrosoft.KubernetesConfiguration/preview/2020-07-01-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,61 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"extensionInstanceName": "ClusterMonitor", | ||
"api-version": "2020-07-01-preview", | ||
"clusterName": "clusterName1", | ||
"extensionInstance": { | ||
"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": { | ||
"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", | ||
"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" | ||
}, | ||
"installState": "Pending", | ||
"statuses": [], | ||
"creationTime": "2020-06-08T05:10:57.027Z", | ||
"lastModifiedTime": "2020-06-08T05:10:57.027Z", | ||
"lastStatusTime": "2020-06-08T05:10:57.027Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
91 changes: 91 additions & 0 deletions
91
...esConfiguration/preview/2020-07-01-preview/examples/CreateSourceControlConfiguration.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,91 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"sourceControlConfigurationName": "SRS_GitHubConfig", | ||
"api-version": "2020-07-01-preview", | ||
"clusterName": "clusterName1", | ||
"sourceControlConfiguration": { | ||
"properties": { | ||
"repositoryUrl": "git@github.com:k8sdeveloper425/flux-get-started", | ||
"operatorNamespace": "SRS_Namespace", | ||
"operatorInstanceName": "SRSGitHubFluxOp-01", | ||
"operatorType": "Flux", | ||
"operatorScope": "namespace", | ||
"operatorParams": "--git-email=xyzgituser@users.srs.github.com", | ||
"configurationProtectedSettings": { | ||
"protectedSetting1Key": "protectedSetting1Value" | ||
}, | ||
"enableHelmOperator": true, | ||
"helmOperatorProperties": { | ||
"chartVersion": "0.3.0", | ||
"chartValues": "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": {}, | ||
"description": "Details of the Kubernetes Configuration's current status.", | ||
"body": { | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig", | ||
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations", | ||
"name": "SRS_GitHubConfig", | ||
"properties": { | ||
"repositoryUrl": "git@github.com:k8sdeveloper425/flux-get-started", | ||
"operatorNamespace": "SRS_Namespace", | ||
"operatorInstanceName": "SRSGitHubFluxOp-01", | ||
"operatorType": "Flux", | ||
"operatorScope": "namespace", | ||
"operatorParams": "--git-email=xyzgituser@users.srs.github.com", | ||
"enableHelmOperator": true, | ||
"helmOperatorProperties": { | ||
"chartVersion": "0.3.0", | ||
"chartValues": "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system" | ||
}, | ||
"repositoryPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAqvTzeL+BWgcHnC1CTBRMg2ZfCh9khlrvb2avFHiGG24rRvjLHlKqtfiiw+cZNCKskUyVKqamD2RHrhyn/wXvJ9fFRt0LhYLKn4hJhJaPx4IawdWnW1MUv4U+Mr8o3Cxps4EmiZemqri3fOrhzEIlPL272whKpzlDLV7L4W1XQIGmVPwQ93HTzKEd5uHuEuw6JyFftDDLlCnd3Q1kQ7HOabFEfcSSr9cMx2MU4j/Pjuf3Rd/CzeksvKtU009KSXSnWKm8LL1fihSc1H1WDTi8iuZtT63hsNYH1yxrPRpMVScs3ufLViAGO9NEHQSgDdl/OERQQqKisUn2Qm6adgmftw== rsa-key-20190909", | ||
"provisioningState": "Succeeded", | ||
"complianceStatus": { | ||
"complianceState": "Pending", | ||
"lastConfigApplied": "2020-06-08T05:25:32.122Z", | ||
"message": "Configuration successfully created", | ||
"messageLevel": "Info" | ||
} | ||
} | ||
} | ||
}, | ||
"200": { | ||
"headers": {}, | ||
"description": "Details of the Kubernetes Configuration's current status.", | ||
"body": { | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig", | ||
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations", | ||
"name": "SRS_GitHubConfig", | ||
"properties": { | ||
"repositoryUrl": "git@github.com:k8sdeveloper425/flux-get-started", | ||
"operatorNamespace": "SRS_Namespace", | ||
"operatorInstanceName": "SRSGitHubFluxOp-01", | ||
"operatorType": "Flux", | ||
"operatorScope": "namespace", | ||
"operatorParams": "--git-email=xyzgituser@users.srs.github.com", | ||
"enableHelmOperator": true, | ||
"helmOperatorProperties": { | ||
"chartVersion": "0.3.0", | ||
"chartValues": "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system" | ||
}, | ||
"repositoryPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAqvTzeL+BWgcHnC1CTBRMg2ZfCh9khlrvb2avFHiGG24rRvjLHlKqtfiiw+cZNCKskUyVKqamD2RHrhyn/wXvJ9fFRt0LhYLKn4hJhJaPx4IawdWnW1MUv4U+Mr8o3Cxps4EmiZemqri3fOrhzEIlPL272whKpzlDLV7L4W1XQIGmVPwQ93HTzKEd5uHuEuw6JyFftDDLlCnd3Q1kQ7HOabFEfcSSr9cMx2MU4j/Pjuf3Rd/CzeksvKtU009KSXSnWKm8LL1fihSc1H1WDTi8iuZtT63hsNYH1yxrPRpMVScs3ufLViAGO9NEHQSgDdl/OERQQqKisUn2Qm6adgmftw== rsa-key-20190909", | ||
"provisioningState": "Succeeded", | ||
"complianceStatus": { | ||
"complianceState": "Pending", | ||
"lastConfigApplied": "2020-06-08T05:25:32.122Z", | ||
"message": "Configuration successfully created", | ||
"messageLevel": "Info" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...icrosoft.KubernetesConfiguration/preview/2020-07-01-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,15 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"extensionInstanceName": "ClusterMonitor", | ||
"api-version": "2020-07-01-preview", | ||
"clusterName": "clusterName1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...esConfiguration/preview/2020-07-01-preview/examples/DeleteSourceControlConfiguration.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,15 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"sourceControlConfigurationName": "SRS_GitHubConfig", | ||
"api-version": "2020-07-01-preview", | ||
"clusterName": "clusterName1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...r/Microsoft.KubernetesConfiguration/preview/2020-07-01-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,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"extensionInstanceName": "ClusterMonitor", | ||
"api-version": "2020-07-01-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", | ||
"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" | ||
}, | ||
"installState": "Pending", | ||
"statuses": [], | ||
"creationTime": "2020-06-08T05:10:57.027Z", | ||
"lastModifiedTime": "2020-06-08T05:10:57.027Z", | ||
"lastStatusTime": "2020-06-08T05:10:57.027Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...netesConfiguration/preview/2020-07-01-preview/examples/GetSourceControlConfiguration.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,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"sourceControlConfigurationName": "SRS_GitHubConfig", | ||
"api-version": "2020-07-01-preview", | ||
"clusterName": "clusterName1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"description": "Details of the Source Control Configuration's current status.", | ||
"body": { | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig", | ||
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations", | ||
"name": "SRS_GitHubConfig", | ||
"properties": { | ||
"repositoryUrl": "git@github.com:k8sdeveloper425/flux-get-started", | ||
"operatorNamespace": "SRS_Namespace", | ||
"operatorInstanceName": "SRSGitHubFluxOp-01", | ||
"operatorType": "Flux", | ||
"operatorScope": "namespace", | ||
"operatorParams": "--git-email=xyzgituser@users.srs.github.com", | ||
"helmOperatorProperties": { | ||
"chartVersion": "0.3.0", | ||
"chartValues": "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system" | ||
}, | ||
"repositoryPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAqvTzeL+BWgcHnC1CTBRMg2ZfCh9khlrvb2avFHiGG24rRvjLHlKqtfiiw+cZNCKskUyVKqamD2RHrhyn/wXvJ9fFRt0LhYLKn4hJhJaPx4IawdWnW1MUv4U+Mr8o3Cxps4EmiZemqri3fOrhzEIlPL272whKpzlDLV7L4W1XQIGmVPwQ93HTzKEd5uHuEuw6JyFftDDLlCnd3Q1kQ7HOabFEfcSSr9cMx2MU4j/Pjuf3Rd/CzeksvKtU009KSXSnWKm8LL1fihSc1H1WDTi8iuZtT63hsNYH1yxrPRpMVScs3ufLViAGO9NEHQSgDdl/OERQQqKisUn2Qm6adgmftw== rsa-key-20190909", | ||
"provisioningState": "Succeeded", | ||
"complianceStatus": { | ||
"complianceState": "Pending", | ||
"lastConfigApplied": "2020-06-08T05:25:32.122Z", | ||
"message": "Configuration successfully created", | ||
"messageLevel": "Info" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...Microsoft.KubernetesConfiguration/preview/2020-07-01-preview/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,58 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"api-version": "2020-07-01-preview", | ||
"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", | ||
"properties": { | ||
"extensionType": "azuremonitor-containers", | ||
"autoUpgradeMinorVersion": true, | ||
"releaseTrain": "Preview", | ||
"version": "0.1.4", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "kube-system" | ||
} | ||
}, | ||
"installState": "Pending", | ||
"creationTime": "2020-06-08T05:10:57.027Z", | ||
"lastModifiedTime": "2020-06-08T05:10:57.027Z", | ||
"lastStatusTime": "2020-06-08T05:10:57.027Z" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/BackupVault01", | ||
"type": "Microsoft.KubernetesConfiguration/extensions", | ||
"name": "App1Monitor", | ||
"properties": { | ||
"extensionType": "Microsoft.RecoveryServices/recoveryVault", | ||
"autoUpgradeMinorVersion": false, | ||
"releaseTrain": "Stable", | ||
"version": "1.0.1", | ||
"scope": { | ||
"cluster": { | ||
"releaseNamespace": "myKVNamespace" | ||
} | ||
}, | ||
"installState": "Installed", | ||
"creationTime": "2020-06-07T03:44:19.142Z", | ||
"lastModifiedTime": "2020-06-07T03:44:19.142Z", | ||
"lastStatusTime": "2020-06-07T04:09:23.011Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...etesConfiguration/preview/2020-07-01-preview/examples/ListSourceControlConfiguration.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,50 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"api-version": "2020-07-01-preview", | ||
"clusterName": "clusterName1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig", | ||
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations", | ||
"name": "SRS_GitHubConfig", | ||
"properties": { | ||
"repositoryUrl": "git@github.com:k8sdeveloper425/SRSClusterconfigs", | ||
"operatorNamespace": "SRS_Namespace", | ||
"operatorInstanceName": "SRSGitHubFluxOp-01", | ||
"operatorType": "Flux", | ||
"operatorScope": "namespace", | ||
"provisioningState": "Succeeded", | ||
"complianceStatus": { | ||
"complianceState": "Compliant" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SCRS_GitHubConfig", | ||
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations", | ||
"name": "SCRS_GitHubConfig", | ||
"properties": { | ||
"repositoryUrl": "git@github.com:k8sdeveloper425/SCRSClusterconfigs", | ||
"operatorNamespace": "SCRS_Namespace", | ||
"operatorInstanceName": "SCRSGitHubFluxOp-02", | ||
"operatorType": "Flux", | ||
"operatorScope": "cluster", | ||
"provisioningState": "Succeeded", | ||
"complianceStatus": { | ||
"complianceState": "Compliant" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.