-
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.
HybridAKS PP2 swagger update for nodepools (#5824)
* Copying old version 2021-09-01-preview as base * Added nodepools API * Prettier and spell check fix * added readonly for agentpool status
- Loading branch information
1 parent
731c0d3
commit 0438808
Showing
19 changed files
with
2,679 additions
and
1 deletion.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
...ridContainerService/preview/2022-01-01-preview/examples/CreateHybridIdentityMetadata.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,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"provisionedClustersName": "ContosoTargetCluster", | ||
"hybridIdentityMetadataResourceName": "default", | ||
"body": { | ||
"properties": { | ||
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", | ||
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridContainerService/provisionedClusters/ContosoTargetCluster/hybridIdentityMetadata/default", | ||
"name": "default", | ||
"type": "Microsoft.HybridContainerService/provisionedClusters/hybridIdentityMetadata", | ||
"properties": { | ||
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", | ||
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", | ||
"identity": { | ||
"principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", | ||
"tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteAgentPool.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,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", | ||
"resourceGroupName": "test-arcappliance-resgrp", | ||
"provisionedClustersName": "test-hybridakscluster", | ||
"agentPoolName": "test-hybridaksnodepool", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ridContainerService/preview/2022-01-01-preview/examples/DeleteHybridIdentityMetadata.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,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"provisionedClustersName": "ContosoTargetCluster", | ||
"hybridIdentityMetadataResourceName": "default" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
....HybridContainerService/preview/2022-01-01-preview/examples/DeleteProvisionedCluster.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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", | ||
"resourceGroupName": "test-arcappliance-resgrp", | ||
"provisionedClustersName": "test-hybridakscluster", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...er/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetAgentPool.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,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", | ||
"resourceGroupName": "test-arcappliance-resgrp", | ||
"provisionedClustersName": "test-hybridakscluster", | ||
"agentPoolName": "test-hybridaksnodepool", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "westus", | ||
"id": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.HybridContainerService/provisionedClusters/test-hybridakscluster/agentPools/test-hybridaksnodepool", | ||
"name": "test-hybridaksnodepool", | ||
"type": "microsoft.hybridcontainerservice/provisionedclusters/agentpools", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"count": 1, | ||
"hardwareConfig": { | ||
"vmSize": "Standard_A4_v2" | ||
}, | ||
"osType": "Linux", | ||
"linuxProfile": { | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCY/nFzdedGiScdELJey/5OKf/Re6qVo0Iqs1NZusLwTv+bl+eIXLX/oLbnuOtyzHW3nJSNhA2nADc1/G7JJ0GEVBDhal1X3Mevmskt4eVUNPpD9fsRVfUUK3GEhcLWaIaJtSQgZBPzmo2Zx5Bo6hYATR7eOEV/Egm5942JlePl3RCCt7LqMZr8CI0k/veRoLGw0zzOZ42+GaiGx/V6h14jiAucNAMZLNE/vkL7RI5pEDfX0wUtHvE8uvh3Typ9YvKm5qsmCZkXxq0+HfpHXAItCVUdQtVwb/Np4RqPLWAfYg8NAGAJcA/AdK8STkihhgECzccJgT0dH3/QnorkT4dhikWwgX+VBiAhjKbtnZjIP6DPYFhSRIHccSnqA49m278TnN0NbGvv18Da95zBmXMEHLUrNN8kzjxQFh3BXn0vY4keLWhklLRVUqi1zTDeasimSKQAuBqjU/vBPpGuNGUoarTazubX3zSIzSF36X8yJWyDOgqPK40DVpwykNzG119wdompoPZieIaIUXE3hTcEkB45DMy8cYM106D2Q9UIOlrdBvABHKOihwqmedPJtyszx1UWuHU4KvsBUmzJP54tVNcX8E09GZNJLLng3p+/ToLdPeJw82bEPROGq0XercrCZ/4LSZb1CjFQXMvAYwpO58WoEqCPD/w4lkVWUevpKQ== hp@MININT-TB78LFT" | ||
} | ||
] | ||
} | ||
}, | ||
"orchestratorVersion": "v1.20.7" | ||
} | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...HybridContainerService/preview/2022-01-01-preview/examples/GetHybridIdentityMetadata.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,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"provisionedClustersName": "ContosoTargetCluster", | ||
"hybridIdentityMetadataResourceName": "default" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridContainerService/provisionedClusters/ContosoTargetCluster/hybridIdentityMetadata/default", | ||
"name": "default", | ||
"type": "Microsoft.HybridContainerService/provisionedClusters/hybridIdentityMetadata", | ||
"properties": { | ||
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", | ||
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", | ||
"identity": { | ||
"principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", | ||
"tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
69 changes: 69 additions & 0 deletions
69
...oft.HybridContainerService/preview/2022-01-01-preview/examples/GetProvisionedCluster.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,69 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", | ||
"resourceGroupName": "test-arcappliance-resgrp", | ||
"provisionedClustersName": "test-hybridakscluster", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.HybridContainerService/provisionedClusters/test-hybridakscluster", | ||
"name": "test-hybridakscluster", | ||
"type": "microsoft.hybridcontainerservice/provisionedclusters", | ||
"location": "westus", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"controlPlane": { | ||
"count": 1, | ||
"hardwareConfig": { | ||
"vmSize": "Standard_A4_v2" | ||
}, | ||
"osType": "Linux", | ||
"linuxProfile": { | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCY......" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"kubernetesVersion": "v1.20.5", | ||
"loadBalancer": { | ||
"count": 1, | ||
"hardwareConfig": { | ||
"vmSize": "Standard_K8S3_v1" | ||
}, | ||
"osType": "Linux" | ||
}, | ||
"addon": { | ||
"cloudProviderConfiguration": { | ||
"config": { | ||
"configuration": "moc" | ||
} | ||
}, | ||
"CSIConfiguration": { | ||
"config": { | ||
"configuration": "akshcicsi", | ||
"dynamic": "true", | ||
"storageContainer": "WssdStorageContainer" | ||
} | ||
} | ||
}, | ||
"networkProfile": { | ||
"networkPlugin": "calico", | ||
"podCidr": "10.244.0.0/16" | ||
}, | ||
"nodeResourceGroup": "target-group", | ||
"vnetSubnetID": "testvnet" | ||
} | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...ainerService/preview/2022-01-01-preview/examples/HybridIdentityMetadataListByCluster.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,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "testrg", | ||
"provisionedClustersName": "ContosoTargetCluster" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridContainerService/provisionedClusters/ContosoTargetCluster/hybridIdentityMetadata/default", | ||
"name": "default", | ||
"type": "Microsoft.HybridContainerService/provisionedClusters/hybridIdentityMetadata", | ||
"properties": { | ||
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", | ||
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", | ||
"identity": { | ||
"principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", | ||
"tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...ntainerService/preview/2022-01-01-preview/examples/ListAgentPoolByProvisionedCluster.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,41 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", | ||
"resourceGroupName": "test-arcappliance-resgrp", | ||
"provisionedClustersName": "test-hybridakscluster", | ||
"agentPoolName": "test-hybridaksnodepool", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"location": "westus", | ||
"id": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.HybridContainerService/provisionedClusters/test-hybridakscluster/agentPools/test-hybridaksnodepool", | ||
"name": "test-hybridaksnodepool", | ||
"type": "microsoft.hybridcontainerservice/provisionedclusters/agentpools", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"count": 1, | ||
"hardwareConfig": { | ||
"vmSize": "Standard_A4_v2" | ||
}, | ||
"osType": "Linux", | ||
"linuxProfile": { | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCY/nFzdedGiScdELJey/5OKf/Re6qVo0Iqs1NZusLwTv+bl+eIXLX/oLbnuOtyzHW3nJSNhA2nADc1/G7JJ0GEVBDhal1X3Mevmskt4eVUNPpD9fsRVfUUK3GEhcLWaIaJtSQgZBPzmo2Zx5Bo6hYATR7eOEV/Egm5942JlePl3RCCt7LqMZr8CI0k/veRoLGw0zzOZ42+GaiGx/V6h14jiAucNAMZLNE/vkL7RI5pEDfX0wUtHvE8uvh3Typ9YvKm5qsmCZkXxq0+HfpHXAItCVUdQtVwb/Np4RqPLWAfYg8NAGAJcA/AdK8STkihhgECzccJgT0dH3/QnorkT4dhikWwgX+VBiAhjKbtnZjIP6DPYFhSRIHccSnqA49m278TnN0NbGvv18Da95zBmXMEHLUrNN8kzjxQFh3BXn0vY4keLWhklLRVUqi1zTDeasimSKQAuBqjU/vBPpGuNGUoarTazubX3zSIzSF36X8yJWyDOgqPK40DVpwykNzG119wdompoPZieIaIUXE3hTcEkB45DMy8cYM106D2Q9UIOlrdBvABHKOihwqmedPJtyszx1UWuHU4KvsBUmzJP54tVNcX8E09GZNJLLng3p+/ToLdPeJw82bEPROGq0XercrCZ/4LSZb1CjFQXMvAYwpO58WoEqCPD/w4lkVWUevpKQ== hp@MININT-TB78LFT" | ||
} | ||
] | ||
} | ||
}, | ||
"orchestratorVersion": "v1.20.7" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
.../Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListOperations.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,40 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.HybridContainerService/provisionedClusters/Read", | ||
"display": { | ||
"provider": "Microsoft.HybridContainerService", | ||
"resource": "provisionedClusters", | ||
"operation": "Gets/List provisionedClusters resources", | ||
"description": "Read provisionedClusters" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.HybridContainerService/provisionedClusters/Write", | ||
"display": { | ||
"provider": "Microsoft.HybridContainerService", | ||
"resource": "provisionedClusters", | ||
"operation": "Create/update provisionedClusters resources", | ||
"description": "Writes provisionedClusters" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.HybridContainerService/provisionedClusters/Delete", | ||
"display": { | ||
"provider": "Microsoft.HybridContainerService", | ||
"resource": "provisionedClusters", | ||
"operation": "Deletes provisionedClusters resource", | ||
"description": "Deletes provisionedClusters" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...erService/preview/2022-01-01-preview/examples/ListProvisionedClusterAdminCredentials.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,20 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", | ||
"resourceGroupName": "test-arcappliance-resgrp", | ||
"provisionedClustersName": "test-hybridakscluster", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"kubeconfigs": [ | ||
{ | ||
"name": "adminkubeconfig", | ||
"value": "base-64 encoded kubeconfig" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.