Skip to content

Commit

Permalink
Dev kubernetesconfiguration microsoft.kubernetes configuration 2022 0…
Browse files Browse the repository at this point in the history
…1 15 preview (#17516)

* Defining the APIs for the new NSP resource

* created new branch for 2022-01-15-preview

* updated api-version in all file from 2022-01-01-preview to 2022-01-15-preview

* updates examples for extension types

* updates to extension types spec

* updated the readme files

* updated tags in readme

* adding definitions and parameters under common dir

* fixing schema issues

* fixing schema issue with extension type list

* remove versions from x-ms-pageable in extension type versions

* suppress top level resources list by subscription for extension types

* copying files from appropriate GA versions to new extnesion type versions folder

* updating the API version

* updating operations list

* Revert "copying files from appropriate GA versions to new extnesion type versions folder"

This reverts commit 2247056.

* adding namespace scope settings to extension types return data

* updating location extension types list example

* adding latest changes from the previous released version

* removing namespace scope settings property

* Revert "removing namespace scope settings property" reverting to
previous commit

tttt reverts commit 00900af.

Reverting to previous commit.

* adding "x-ms-identifiers"

* removing namespace scope settings

* adding x-ms-identifiers

* adding x-ms-identifiers

* ran preittier fix on parameters.json file

* updating tag in readme.md

* reverting tag update change from last commit

* removing uneeded files

* fix for api readiness check

* Removing all unrelated example files

* Revert "Removing all unrelated example files"

This reverts commit 6391df3.

* Removing all unrelated example files from 2022-01-15 folder

* fixing spelling error

* quick change

Co-authored-by: Hari Prasad Perabattula <harics24@users.noreply.github.com>
Co-authored-by: Hari Prasad Perabattula <haperaba@microsoft.com>
Co-authored-by: Deeksha Sharma <deesharma@microsoft.com>
  • Loading branch information
4 people authored Apr 8, 2022
1 parent e7d2d8c commit 18a8f9d
Show file tree
Hide file tree
Showing 10 changed files with 611 additions and 0 deletions.
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
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"subscriptionId": "subId1",
"location": "eastus",
"extensionTypeName": "microsoft.example",
"api-version": "2022-01-15-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"releaseTrain": "stable",
"versions": [
"0.1.0",
"0.2.0",
"0.2.1"
]
}
],
"nextLink": null,
"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,45 @@
{
"parameters": {
"subscriptionId": "subId1",
"location": "eastus",
"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"
],
"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

0 comments on commit 18a8f9d

Please sign in to comment.