Skip to content

Commit

Permalink
Add Get, List Extension Types (#13562)
Browse files Browse the repository at this point in the history
* Add Get, List Extension Types

* style check fixes

* - update spec
- rename and update example files
- fix validation errors

* fix examples

* - update readme.md
- generate example files with oav
- try to fix some new validation errors

* more validation fixes

* add ExtensionTypeVersion_List

* - update readme for SDKs
- update examples

* fix typo and linting

* rename ExtensionTypeVersions_List

* - address comments
- update list extension versions based on location

* fix list versions route

* fix tag and unused parameters in spec file

* fix autorest validatoin errors

* udpate readme

* update readme

* try to fix sdk validation warnings

* - prettier fix
- revert changes to types.json

* fix pageable missing itemName
  • Loading branch information
carlocardella authored May 7, 2021
1 parent 083256c commit 5e308b0
Show file tree
Hide file tree
Showing 8 changed files with 589 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaa",
"resourceGroupName": "rgextensionTypes",
"clusterRp": "Microsoft.ContainerService",
"clusterType": "managedClusters",
"clusterName": "aaaaaaaaaaaaaaaaaaaaa",
"api-version": "2021-05-01-preview",
"extensionTypeName": "aaaaaa"
},
"responses": {
"200": {
"body": {
"properties": {
"releaseTrains": [
"aaaaaaaaaaaaaaaaaaaaaa"
],
"clusterTypes": "connectedClusters",
"supportedScopes": {
"defaultScope": "aaaaaaaaaaa",
"clusterScopeSettings": {
"properties": {
"allowMultipleInstances": true,
"defaultReleaseNamespace": "aaaaaaaaaaaaaaaaaaaaaaa"
},
"id": "aaaaaaaaaaaaaaaa",
"name": "aaaaaaaaaa",
"type": "aaaaaaaaaaaaaaaaaaa"
}
}
},
"systemData": {
"createdBy": "aaaaaaaa",
"createdByType": "User",
"createdAt": "2021-04-14T22:44:27.144Z",
"lastModifiedBy": "aaaaaaaaa",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-04-14T22:44:27.144Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaa",
"resourceGroupName": "rgextensionTypes",
"clusterRp": "Microsoft.ContainerService",
"clusterName": "aaaaaaaaaaaaaaaaaaaaa",
"api-version": "2021-05-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"releaseTrains": [
"aaaaaaaaaaaaaaaaaaaaaa"
],
"clusterTypes": "connectedClusters",
"supportedScopes": {
"defaultScope": "aaaaaaaaaaa",
"clusterScopeSettings": {
"properties": {
"allowMultipleInstances": true,
"defaultReleaseNamespace": "aaaaaaaaaaaaaaaaaaaaaaa"
},
"id": "aaaaaaaaaaaaaaaa",
"name": "aaaaaaaaaa",
"type": "aaaaaaaaaaaaaaaaaaa"
}
}
},
"systemData": {
"createdBy": "aaaaaaaa",
"createdByType": "User",
"createdAt": "2021-04-14T22:44:27.144Z",
"lastModifiedBy": "aaaaaaaaa",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-04-14T22:44:27.144Z"
}
}
],
"nextLink": "aaaaaaaaaaaaaaaaaaaaa"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaa",
"location": "aaaaaa",
"extensionTypeName": "aaaaaa",
"api-version": "2021-05-01-preview"
},
"responses": {
"200": {
"body": {
"versions": [
{
"releaseTrain": "aaaa",
"versions": [
"aaaaaaaaaaaaaa"
]
}
],
"nextLink": "aaa",
"systemData": {
"createdBy": "aaaaaaaa",
"createdByType": "User",
"createdAt": "2021-04-14T22:44:27.144Z",
"lastModifiedBy": "aaaaaaaaa",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-04-14T22:44:27.144Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaa",
"location": "aaaaaa",
"api-version": "2021-05-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"releaseTrains": [
"aaaaaaaaaaaaaaaaaaaaaa"
],
"clusterTypes": "connectedClusters",
"supportedScopes": {
"defaultScope": "aaaaaaaaaaa",
"clusterScopeSettings": {
"properties": {
"allowMultipleInstances": true,
"defaultReleaseNamespace": "aaaaaaaaaaaaaaaaaaaaaaa"
},
"id": "aaaaaaaaaaaaaaaa",
"name": "aaaaaaaaaa",
"type": "aaaaaaaaaaaaaaaaaaa"
}
}
},
"systemData": {
"createdBy": "aaaaaaaa",
"createdByType": "User",
"createdAt": "2021-04-14T22:44:27.144Z",
"lastModifiedBy": "aaaaaaaaa",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-04-14T22:44:27.144Z"
}
}
],
"nextLink": "aaaaaaaaaaaaaaaaaaaaa"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,17 @@
},
"isDataAction": false,
"origin": "user,system"
},
{
"name": "Microsoft.KubernetesConfiguration/extensionTypes/read",
"display": {
"provider": "Microsoft.KubernetesConfiguration",
"resource": "extensionTypes",
"operation": "Get Kubernetes Configuration Available Extensions",
" provider": "Microsoft Kuberntes Configuration"
},
"isDataAction": false,
"origin": "user,system"
}
]
}
Expand Down
Loading

0 comments on commit 5e308b0

Please sign in to comment.