-
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 Extensions Async API and other fixes (#13709)
* Add Extensions Async API and other fixes * Re-add missed out changes * Fix validation errors, remove UpdateExtension.json * Update Readme.md * Add back files removed accidentally * Revert accidental changes & fix readme.md * Remove SourceControlConfig from this api version * Fix Readme.md error for go package * Fix Go readme issues * Fix Go readme issues - revert accidental change * Fix Go readme issues * Add kubernetesconfiguration GA version to this version Tag for SDK * Fix Operations api descriptions * Fix spelling mistakes * Update ApiVersionParameter reference in kubernetesconfiguration * Fix review suggestions * Add SourceControlConfiguration resourceType to this api-version * Updated readme files for the added SourceControlConfiguration resource type * Fix readme files to revert to previous + additions for new api-version * Consolidated common definitions to avoid duplication errors * Rename definitions folder - fix Avocado error * Consolidated common definitions reference * Fix definitions.json * Fix go readme
- Loading branch information
1 parent
2db34d9
commit b78af6e
Showing
19 changed files
with
745 additions
and
689 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
...urce-manager/Microsoft.KubernetesConfiguration/common/2021-05-01-preview/definitions.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,62 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2021-05-01-preview", | ||
"title": "Common types and definitions", | ||
"description": "Definitions and parameters common for all resource types of KubernetesConfiguration RP" | ||
}, | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
} | ||
], | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"flow": "implicit", | ||
"description": "Azure Active Directory OAuth2 Flow", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
} | ||
}, | ||
"paths": {}, | ||
"definitions": {}, | ||
"parameters": { | ||
"ClusterRpParameter": { | ||
"name": "clusterRp", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.ContainerService", | ||
"Microsoft.Kubernetes" | ||
], | ||
"description": "The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).", | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"ClusterResourceNameParameter": { | ||
"name": "clusterResourceName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"enum": [ | ||
"managedClusters", | ||
"connectedClusters" | ||
], | ||
"description": "The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).", | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"ClusterNameParameter": { | ||
"name": "clusterName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "The name of the kubernetes cluster.", | ||
"x-ms-parameter-location": "method" | ||
} | ||
} | ||
} |
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
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
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
24 changes: 24 additions & 0 deletions
24
....KubernetesConfiguration/preview/2021-05-01-preview/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-05-01-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 | ||
} | ||
} | ||
} | ||
} |
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
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
34 changes: 34 additions & 0 deletions
34
...KubernetesConfiguration/preview/2021-05-01-preview/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,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId1", | ||
"resourceGroupName": "rg1", | ||
"clusterRp": "Microsoft.Kubernetes", | ||
"clusterResourceName": "connectedClusters", | ||
"extensionName": "ClusterMonitor", | ||
"api-version": "2021-05-01-preview", | ||
"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/ClusterMonitor/operations/88888888-8888-8888-8888-888888888888", | ||
"name": "88888888-8888-8888-8888-888888888888", | ||
"status": "Creating", | ||
"properties": {}, | ||
"error": null | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.