-
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 Get, List Extension Types (#13562)
* 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
1 parent
083256c
commit 5e308b0
Showing
8 changed files
with
589 additions
and
1 deletion.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
...KubernetesConfiguration/preview/2021-05-01-preview/examples/ClusterExtensionType_Get.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...bernetesConfiguration/preview/2021-05-01-preview/examples/ClusterExtensionTypes_List.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,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" | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...bernetesConfiguration/preview/2021-05-01-preview/examples/ExtensionTypeVersions_List.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...ernetesConfiguration/preview/2021-05-01-preview/examples/LocationExtensionTypes_List.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,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" | ||
} | ||
} | ||
} | ||
} |
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
Oops, something went wrong.