Skip to content

Commit

Permalink
HybridAKS PP2 swagger update for nodepools (#5824)
Browse files Browse the repository at this point in the history
* 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
HariPrasadV authored Jan 18, 2022
1 parent 731c0d3 commit 0438808
Show file tree
Hide file tree
Showing 19 changed files with 2,679 additions and 1 deletion.
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"
}
}
}
}
}
}
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": {}
}
}
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": {}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
]
}
}
}
}
Loading

0 comments on commit 0438808

Please sign in to comment.