-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Dev kubernetesconfiguration microsoft.kubernetes configuration 2022 01 15 preview #17516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ArcturusZhang
merged 47 commits into
Azure:main
from
deeksha345:dev-kubernetesconfiguration-Microsoft.KubernetesConfiguration-2022-01-15-preview
Apr 8, 2022
Merged
Changes from 27 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
f6fe18b
Merge pull request #3 from Azure/master
harics24 67c4abd
Merge branch 'Azure:master' into master
harics24 87a694d
Defining the APIs for the new NSP resource
f5dcf02
Merge branch 'Azure:master' into master
harics24 204f5f9
Merge branch 'Azure:master' into master
harics24 248d5e9
Merge branch 'Azure:master' into master
harics24 256319c
created new branch for 2022-01-15-preview
08633f9
updated api-version in all file from 2022-01-01-preview to 2022-01-15…
71d7f71
updates examples for extension types
e1f720b
updates to extension types spec
d9b4cf7
updated the readme files
b7211b9
updated tags in readme
52b3167
adding definitions and parameters under common dir
2b4b1af
fixing schema issues
eb26dca
fixing schema issue with extension type list
ac9d380
remove versions from x-ms-pageable in extension type versions
d05e6ea
suppress top level resources list by subscription for extension types
2247056
copying files from appropriate GA versions to new extnesion type vers…
5b92864
updating the API version
f6064e2
updating operations list
9206024
Revert "copying files from appropriate GA versions to new extnesion t…
288eff4
adding namespace scope settings to extension types return data
af8bc1a
updating location extension types list example
d7f488b
adding latest changes from the previous released version
00900af
removing namespace scope settings property
f9bf6a4
Merge branch 'Azure:main' into dev-kubernetesconfiguration-Microsoft.…
deeksha345 275e834
Revert "removing namespace scope settings property" reverting to
bab16c2
adding "x-ms-identifiers"
b133809
Merge branch 'dev-kubernetesconfiguration-Microsoft.KubernetesConfigu…
6aed53c
removing namespace scope settings
4ead50e
adding x-ms-identifiers
2cfafab
adding x-ms-identifiers
39cd6cb
ran preittier fix on parameters.json file
a18974f
Merge branch 'master' into master
harics24 60a8c70
Merge remote-tracking branch 'upstream/master' into dev-kubernetescon…
ab8cb87
Merge remote-tracking branch 'upstream/main' into dev-kubernetesconfi…
47bbc56
updating tag in readme.md
129b67e
reverting tag update change from last commit
9ea747d
Merge remote-tracking branch 'upstream/main' into dev-kubernetesconfi…
f052150
removing uneeded files
be5c122
fix for api readiness check
9cdfe60
Merge remote-tracking branch 'upstream/main' into dev-kubernetesconfi…
6391df3
Removing all unrelated example files
b784ad8
Revert "Removing all unrelated example files"
78abd14
Removing all unrelated example files from 2022-01-15 folder
a67ad73
fixing spelling error
3aa7f38
quick change
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
168 changes: 168 additions & 0 deletions
168
...urce-manager/Microsoft.KubernetesConfiguration/common/2022-01-15-preview/definitions.json
This file contains hidden or 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,168 @@ | ||
| { | ||
| "swagger": "2.0", | ||
| "info": { | ||
| "version": "2022-01-15-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": { | ||
| "ProvisioningStateDefinition": { | ||
| "type": "string", | ||
| "readOnly": true, | ||
| "description": "The provisioning state of the resource.", | ||
| "enum": [ | ||
| "Succeeded", | ||
| "Failed", | ||
| "Canceled", | ||
| "Creating", | ||
| "Updating", | ||
| "Deleting" | ||
| ], | ||
| "x-ms-enum": { | ||
| "name": "ProvisioningState", | ||
| "modelAsString": true | ||
| } | ||
| }, | ||
| "OperationStatusResult": { | ||
| "description": "The current status of an async operation.", | ||
| "type": "object", | ||
| "required": [ | ||
| "status" | ||
| ], | ||
| "properties": { | ||
| "id": { | ||
| "description": "Fully qualified ID for the async operation.", | ||
| "type": "string" | ||
| }, | ||
| "name": { | ||
| "description": "Name of the async operation.", | ||
| "type": "string" | ||
| }, | ||
| "status": { | ||
| "description": "Operation status.", | ||
| "type": "string" | ||
| }, | ||
| "properties": { | ||
| "description": "Additional information, if available.", | ||
| "type": "object", | ||
| "x-nullable": true, | ||
| "additionalProperties": { | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "error": { | ||
| "description": "If present, details of the operation error.", | ||
| "type": "object", | ||
| "readOnly": true, | ||
| "x-nullable": true, | ||
| "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorDetail" | ||
| } | ||
| } | ||
| }, | ||
| "OperationStatusList": { | ||
| "description": "The async operations in progress, in the cluster.", | ||
| "type": "object", | ||
| "readOnly": true, | ||
| "properties": { | ||
| "value": { | ||
| "type": "array", | ||
| "readOnly": true, | ||
| "items": { | ||
| "$ref": "#/definitions/OperationStatusResult" | ||
| }, | ||
| "description": "List of async operations in progress, in the cluster." | ||
| }, | ||
| "nextLink": { | ||
| "type": "string", | ||
| "readOnly": true, | ||
| "description": "URL to get the next set of Operation Result objects, if any." | ||
| } | ||
| } | ||
| }, | ||
| "ResourceProviderOperation": { | ||
| "description": "Supported operation of this resource provider.", | ||
| "type": "object", | ||
| "readOnly": true, | ||
| "properties": { | ||
| "name": { | ||
| "description": "Operation name, in format of {provider}/{resource}/{operation}", | ||
| "type": "string" | ||
| }, | ||
| "display": { | ||
| "description": "Display metadata associated with the operation.", | ||
| "type": "object", | ||
| "properties": { | ||
| "provider": { | ||
| "description": "Resource provider: Microsoft KubernetesConfiguration.", | ||
| "type": "string" | ||
| }, | ||
| "resource": { | ||
| "description": "Resource on which the operation is performed.", | ||
| "type": "string" | ||
| }, | ||
| "operation": { | ||
| "description": "Type of operation: get, read, delete, etc.", | ||
| "type": "string" | ||
| }, | ||
| "description": { | ||
| "description": "Description of this operation.", | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "isDataAction": { | ||
| "description": "The flag that indicates whether the operation applies to data plane.", | ||
| "type": "boolean", | ||
| "readOnly": true | ||
| }, | ||
| "origin": { | ||
| "description": "Origin of the operation", | ||
| "type": "string", | ||
| "readOnly": true | ||
| } | ||
| } | ||
| }, | ||
| "ResourceProviderOperationList": { | ||
| "description": "Result of the request to list operations.", | ||
| "type": "object", | ||
| "readOnly": true, | ||
| "properties": { | ||
| "value": { | ||
| "type": "array", | ||
| "items": { | ||
| "$ref": "#/definitions/ResourceProviderOperation" | ||
| }, | ||
| "description": "List of operations supported by this resource provider.", | ||
| "x-ms-identifiers": [ | ||
| "name" | ||
| ] | ||
| }, | ||
| "nextLink": { | ||
| "type": "string", | ||
| "readOnly": true, | ||
| "description": "URL to the next set of results, if any." | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "parameters": {} | ||
| } |
70 changes: 70 additions & 0 deletions
70
...ource-manager/Microsoft.KubernetesConfiguration/common/2022-01-15-preview/parameters.json
This file contains hidden or 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,70 @@ | ||
| { | ||
| "swagger": "2.0", | ||
| "info": { | ||
| "version": "2022-01-15-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" | ||
| ], | ||
| "x-ms-enum": { | ||
| "name": "ExtensionsClusterRp", | ||
| "modelAsString": true | ||
| }, | ||
| "description": "The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).", | ||
| "x-ms-parameter-location": "method" | ||
| }, | ||
| "ClusterResourceNameParameter": { | ||
deeksha345 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "name": "clusterResourceName", | ||
| "in": "path", | ||
| "required": true, | ||
| "type": "string", | ||
| "enum": [ | ||
| "managedClusters", | ||
| "connectedClusters" | ||
| ], | ||
| "x-ms-enum": { | ||
| "name": "ExtensionsClusterResourceName", | ||
| "modelAsString": true | ||
| }, | ||
| "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" | ||
| } | ||
| } | ||
| } | ||
45 changes: 45 additions & 0 deletions
45
...KubernetesConfiguration/preview/2022-01-15-preview/examples/ClusterExtensionType_Get.json
This file contains hidden or 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,45 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "subId1", | ||
| "resourceGroupName": "rg1", | ||
| "clusterRp": "Microsoft.ContainerService", | ||
| "clusterResourceName": "managedClusters", | ||
| "clusterName": "clusterName1", | ||
| "api-version": "2022-01-15-preview", | ||
| "extensionTypeName": "microsoft.example" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.ContainerService/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensionTypes/microsoft.example", | ||
| "name": "microsoft.example", | ||
| "type": "Microsoft.KubernetesConfiguration/extensionTypes", | ||
| "properties": { | ||
| "releaseTrains": [ | ||
| "stable", | ||
| "preview", | ||
| "pilot" | ||
| ], | ||
| "clusterTypes": [ | ||
| "connectedClusters" | ||
| ], | ||
| "supportedScopes": { | ||
| "defaultScope": "cluster", | ||
| "clusterScopeSettings": { | ||
| "allowMultipleInstances": true, | ||
| "defaultReleaseNamespace": "kube-system" | ||
| } | ||
| } | ||
| }, | ||
| "systemData": { | ||
| "createdBy": "string", | ||
| "createdByType": "Application", | ||
| "createdAt": "2020-09-08T05:10:57.027Z", | ||
| "lastModifiedBy": "string", | ||
| "lastModifiedByType": "Application", | ||
| "lastModifiedAt": "2020-09-08T05:10:57.027Z" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
49 changes: 49 additions & 0 deletions
49
...bernetesConfiguration/preview/2022-01-15-preview/examples/ClusterExtensionTypes_List.json
This file contains hidden or 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.ContainerService", | ||
| "clusterResourceName": "managedClusters", | ||
| "clusterName": "clusterName1", | ||
| "api-version": "2022-01-15-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.ContainerService/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensionTypes/microsoft.example", | ||
| "name": "microsoft.example", | ||
| "type": "Microsoft.KubernetesConfiguration/extensionTypes", | ||
| "properties": { | ||
| "releaseTrains": [ | ||
| "stable", | ||
| "preview", | ||
| "pilot" | ||
| ], | ||
| "clusterTypes": [ | ||
| "connectedClusters" | ||
| ], | ||
| "supportedScopes": { | ||
| "defaultScope": "cluster", | ||
| "clusterScopeSettings": { | ||
| "allowMultipleInstances": true, | ||
| "defaultReleaseNamespace": "kube-system" | ||
| } | ||
| } | ||
| }, | ||
| "systemData": { | ||
| "createdBy": "string", | ||
| "createdByType": "Application", | ||
| "createdAt": "2020-09-08T05:10:57.027Z", | ||
| "lastModifiedBy": "string", | ||
| "lastModifiedByType": "Application", | ||
| "lastModifiedAt": "2020-09-08T05:10:57.027Z" | ||
| } | ||
| } | ||
| ], | ||
| "nextLink": null | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.