-
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.
Add Microsoft.KubernetesConfiguration to azure api specs
- Loading branch information
1 parent
5b818ee
commit e0889b2
Showing
6 changed files
with
900 additions
and
0 deletions.
There are no files selected for viewing
88 changes: 88 additions & 0 deletions
88
...esConfiguration/preview/2019-11-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,88 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"sourceControlConfigurationName": "SRS_GitHubConfig", | ||
"api-version": "2019-11-01-preview", | ||
"clusterName": "clusterName1", | ||
"sourceControlConfiguration": { | ||
"properties":{ | ||
"repositoryUrl": "[email protected]:k8sdeveloper425/flux-get-started", | ||
"operatorNamespace": "SRS_Namespace", | ||
"operatorInstanceName": "SRSGitHubFluxOp-01", | ||
"operatorType": "Flux", | ||
"operatorScope": "namespace", | ||
"operatorParams": "[email protected]", | ||
"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": "[email protected]:k8sdeveloper425/flux-get-started", | ||
"operatorNamespace": "SRS_Namespace", | ||
"operatorInstanceName": "SRSGitHubFluxOp-01", | ||
"operatorType": "Flux", | ||
"operatorScope": "namespace", | ||
"operatorParams": "[email protected]", | ||
"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": "2019-09-10T05:10:57.027Z", | ||
"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": "[email protected]:k8sdeveloper425/flux-get-started", | ||
"operatorNamespace": "SRS_Namespace", | ||
"operatorInstanceName": "SRSGitHubFluxOp-01", | ||
"operatorType": "Flux", | ||
"operatorScope": "namespace", | ||
"operatorParams": "[email protected]", | ||
"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": "2019-09-10T05:10:57.027Z", | ||
"message": "Configuration successfully created", | ||
"messageLevel": "Info" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...esConfiguration/preview/2019-11-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,16 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"sourceControlConfigurationName": "SRS_GitHubConfig", | ||
"api-version": "2019-11-01-preview", | ||
"clusterName": "clusterName1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204":{} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...netesConfiguration/preview/2019-11-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": "2019-11-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": "[email protected]:k8sdeveloper425/flux-get-started", | ||
"operatorNamespace": "SRS_Namespace", | ||
"operatorInstanceName": "SRSGitHubFluxOp-01", | ||
"operatorType": "Flux", | ||
"operatorScope": "namespace", | ||
"operatorParams": "[email protected]", | ||
"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": "2019-09-10T05:10:57.027Z", | ||
"message": "Configuration successfully created", | ||
"messageLevel": "Info" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...etesConfiguration/preview/2019-11-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": "2019-11-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": "[email protected]: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": "[email protected]:k8sdeveloper425/SCRSClusterconfigs", | ||
"operatorNamespace": "SCRS_Namespace", | ||
"operatorInstanceName": "SCRSGitHubFluxOp-02", | ||
"operatorType": "Flux", | ||
"operatorScope": "cluster", | ||
"provisioningState": "Succeeded", | ||
"complianceStatus": { | ||
"complianceState": "Compliant" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...Microsoft.KubernetesConfiguration/preview/2019-11-01-preview/examples/OperationsList.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,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": [ | ||
{ | ||
"name": "Microsoft.KubernetesConfiguration/sourceControlConfigurations/read", | ||
"display": { | ||
"provider": "Microsoft KubernetesConfiguration", | ||
"resource": "sourceControlConfigurations", | ||
"operation": "Get Source Control Configuration", | ||
"description": "Get the specified Source Control Configuration." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.KubernetesConfiguration/sourceControlConfigurations/write", | ||
"display": { | ||
"provider": "Microsoft KubernetesConfiguration", | ||
"resource": "sourceControlConfigurations", | ||
"operation": "Create a Source Control Configuration", | ||
"description": "Create the Source Control Configuration specified." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.KubernetesConfiguration/sourceControlConfigurations/delete", | ||
"display": { | ||
"provider": "Microsoft KubernetesConfiguration", | ||
"resource": "sourceControlConfigurations", | ||
"operation": "Delete Source Control Configuration", | ||
"description": "Delete the specified Source Control Configuration." | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.