Skip to content
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

Dev kubernetesconfiguration microsoft.kubernetes configuration 2022 01 15 preview #17516

Merged
Show file tree
Hide file tree
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 Mar 19, 2021
67c4abd
Merge branch 'Azure:master' into master
harics24 May 13, 2021
87a694d
Defining the APIs for the new NSP resource
May 17, 2021
f5dcf02
Merge branch 'Azure:master' into master
harics24 May 17, 2021
204f5f9
Merge branch 'Azure:master' into master
harics24 Jul 15, 2021
248d5e9
Merge branch 'Azure:master' into master
harics24 Aug 5, 2021
256319c
created new branch for 2022-01-15-preview
deeksha345 Nov 18, 2021
08633f9
updated api-version in all file from 2022-01-01-preview to 2022-01-15…
deeksha345 Nov 18, 2021
71d7f71
updates examples for extension types
deeksha345 Nov 18, 2021
e1f720b
updates to extension types spec
deeksha345 Nov 18, 2021
d9b4cf7
updated the readme files
deeksha345 Nov 18, 2021
b7211b9
updated tags in readme
deeksha345 Nov 18, 2021
52b3167
adding definitions and parameters under common dir
deeksha345 Nov 18, 2021
2b4b1af
fixing schema issues
deeksha345 Nov 19, 2021
eb26dca
fixing schema issue with extension type list
deeksha345 Nov 19, 2021
ac9d380
remove versions from x-ms-pageable in extension type versions
deeksha345 Nov 19, 2021
d05e6ea
suppress top level resources list by subscription for extension types
deeksha345 Nov 19, 2021
2247056
copying files from appropriate GA versions to new extnesion type vers…
deeksha345 Nov 22, 2021
5b92864
updating the API version
deeksha345 Nov 22, 2021
f6064e2
updating operations list
deeksha345 Nov 22, 2021
9206024
Revert "copying files from appropriate GA versions to new extnesion t…
deeksha345 Nov 22, 2021
288eff4
adding namespace scope settings to extension types return data
deeksha345 Jan 25, 2022
af8bc1a
updating location extension types list example
deeksha345 Jan 26, 2022
d7f488b
adding latest changes from the previous released version
deeksha345 Jan 31, 2022
00900af
removing namespace scope settings property
deeksha345 Jan 31, 2022
f9bf6a4
Merge branch 'Azure:main' into dev-kubernetesconfiguration-Microsoft.…
deeksha345 Feb 1, 2022
275e834
Revert "removing namespace scope settings property" reverting to
deeksha345 Feb 3, 2022
bab16c2
adding "x-ms-identifiers"
deeksha345 Feb 15, 2022
b133809
Merge branch 'dev-kubernetesconfiguration-Microsoft.KubernetesConfigu…
deeksha345 Feb 15, 2022
6aed53c
removing namespace scope settings
deeksha345 Feb 15, 2022
4ead50e
adding x-ms-identifiers
deeksha345 Feb 15, 2022
2cfafab
adding x-ms-identifiers
deeksha345 Feb 15, 2022
39cd6cb
ran preittier fix on parameters.json file
deeksha345 Feb 16, 2022
a18974f
Merge branch 'master' into master
harics24 Feb 27, 2022
60a8c70
Merge remote-tracking branch 'upstream/master' into dev-kubernetescon…
deeksha345 Mar 30, 2022
ab8cb87
Merge remote-tracking branch 'upstream/main' into dev-kubernetesconfi…
deeksha345 Mar 30, 2022
47bbc56
updating tag in readme.md
deeksha345 Mar 30, 2022
129b67e
reverting tag update change from last commit
deeksha345 Mar 31, 2022
9ea747d
Merge remote-tracking branch 'upstream/main' into dev-kubernetesconfi…
deeksha345 Apr 1, 2022
f052150
removing uneeded files
deeksha345 Apr 5, 2022
be5c122
fix for api readiness check
deeksha345 Apr 5, 2022
9cdfe60
Merge remote-tracking branch 'upstream/main' into dev-kubernetesconfi…
deeksha345 Apr 6, 2022
6391df3
Removing all unrelated example files
deeksha345 Apr 6, 2022
b784ad8
Revert "Removing all unrelated example files"
deeksha345 Apr 6, 2022
78abd14
Removing all unrelated example files from 2022-01-15 folder
deeksha345 Apr 6, 2022
a67ad73
fixing spelling error
deeksha345 Apr 6, 2022
3aa7f38
quick change
deeksha345 Apr 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": {}
}
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": {
deeksha345 marked this conversation as resolved.
Show resolved Hide resolved
"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"
}
}
}
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"
}
}
}
}
}
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
}
}
}
}
Loading