From 0438808104e76ced396cb9da7a95e37d105ae06e Mon Sep 17 00:00:00 2001 From: Hari Prasad Date: Tue, 18 Jan 2022 16:25:23 +0530 Subject: [PATCH] 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 --- .../CreateHybridIdentityMetadata.json | 33 + .../examples/DeleteAgentPool.json | 13 + .../DeleteHybridIdentityMetadata.json | 13 + .../examples/DeleteProvisionedCluster.json | 12 + .../examples/GetAgentPool.json | 37 + .../examples/GetHybridIdentityMetadata.json | 27 + .../examples/GetProvisionedCluster.json | 69 + .../HybridIdentityMetadataListByCluster.json | 30 + .../ListAgentPoolByProvisionedCluster.json | 41 + .../examples/ListOperations.json | 40 + ...istProvisionedClusterAdminCredentials.json | 20 + ...ListProvisionedClusterByResourceGroup.json | 72 + .../ListProvisionedClusterBySubscription.json | 71 + .../examples/PutAgentPool.json | 83 + .../examples/PutProvisionedCluster.json | 175 ++ .../examples/UpdateAgentPool.json | 69 + .../examples/UpdateProvisionedCluster.json | 133 ++ .../provisionedClusters.json | 1731 +++++++++++++++++ .../hybridaks/resource-manager/readme.md | 11 +- 19 files changed, 2679 insertions(+), 1 deletion(-) create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/CreateHybridIdentityMetadata.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteAgentPool.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteHybridIdentityMetadata.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteProvisionedCluster.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetAgentPool.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetHybridIdentityMetadata.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetProvisionedCluster.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/HybridIdentityMetadataListByCluster.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListAgentPoolByProvisionedCluster.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListOperations.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterAdminCredentials.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterByResourceGroup.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterBySubscription.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/PutAgentPool.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/PutProvisionedCluster.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/UpdateAgentPool.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/UpdateProvisionedCluster.json create mode 100644 specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/provisionedClusters.json diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/CreateHybridIdentityMetadata.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/CreateHybridIdentityMetadata.json new file mode 100644 index 000000000000..642e0980e0a6 --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/CreateHybridIdentityMetadata.json @@ -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" + } + } + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteAgentPool.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteAgentPool.json new file mode 100644 index 000000000000..51fc95a1b955 --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteAgentPool.json @@ -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": {} + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteHybridIdentityMetadata.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteHybridIdentityMetadata.json new file mode 100644 index 000000000000..73885c8d1e5b --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteHybridIdentityMetadata.json @@ -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": {} + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteProvisionedCluster.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteProvisionedCluster.json new file mode 100644 index 000000000000..452d23b025ef --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/DeleteProvisionedCluster.json @@ -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": {} + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetAgentPool.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetAgentPool.json new file mode 100644 index 000000000000..a8cc441b728b --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetAgentPool.json @@ -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" + } + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetHybridIdentityMetadata.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetHybridIdentityMetadata.json new file mode 100644 index 000000000000..2094422560c9 --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetHybridIdentityMetadata.json @@ -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" + } + } + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetProvisionedCluster.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetProvisionedCluster.json new file mode 100644 index 000000000000..4973b1860cbb --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/GetProvisionedCluster.json @@ -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" + } + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/HybridIdentityMetadataListByCluster.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/HybridIdentityMetadataListByCluster.json new file mode 100644 index 000000000000..47e452d7e45f --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/HybridIdentityMetadataListByCluster.json @@ -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" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListAgentPoolByProvisionedCluster.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListAgentPoolByProvisionedCluster.json new file mode 100644 index 000000000000..e4e98260f9c1 --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListAgentPoolByProvisionedCluster.json @@ -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" + } + } + ] + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListOperations.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListOperations.json new file mode 100644 index 000000000000..e47b525f1064 --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListOperations.json @@ -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" + } + } + ] + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterAdminCredentials.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterAdminCredentials.json new file mode 100644 index 000000000000..94b54e236c54 --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterAdminCredentials.json @@ -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" + } + ] + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterByResourceGroup.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterByResourceGroup.json new file mode 100644 index 000000000000..02da4f7169d0 --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterByResourceGroup.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", + "resourceGroupName": "test-arcappliance-resgrp", + "api-version": "2022-01-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "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" + } + } + ] + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterBySubscription.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterBySubscription.json new file mode 100644 index 000000000000..a7810edf72e9 --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/ListProvisionedClusterBySubscription.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", + "api-version": "2022-01-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "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" + } + } + ] + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/PutAgentPool.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/PutAgentPool.json new file mode 100644 index 000000000000..3cf8f81ce68c --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/PutAgentPool.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", + "resourceGroupName": "test-arcappliance-resgrp", + "provisionedClustersName": "test-hybridakscluster", + "agentPoolName": "test-hybridaksnodepool", + "api-version": "2022-01-01-preview", + "agentPool": { + "location": "westus", + "properties": { + "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" + } + } + }, + "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": "Accepted", + "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" + } + } + }, + "201": { + "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": "Accepted", + "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" + } + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/PutProvisionedCluster.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/PutProvisionedCluster.json new file mode 100644 index 000000000000..e21ef013b7ef --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/PutProvisionedCluster.json @@ -0,0 +1,175 @@ +{ + "parameters": { + "subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", + "resourceGroupName": "test-arcappliance-resgrp", + "provisionedClustersName": "test-hybridakscluster", + "api-version": "2022-01-01-preview", + "provisionedClusters": { + "location": "westus", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation" + }, + "properties": { + "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" + } + } + }, + "responses": { + "200": { + "body": { + "location": "westus", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation" + }, + "properties": { + "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", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "location": "westus", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation" + }, + "properties": { + "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", + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/UpdateAgentPool.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/UpdateAgentPool.json new file mode 100644 index 000000000000..e816c9995513 --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/UpdateAgentPool.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", + "resourceGroupName": "test-arcappliance-resgrp", + "provisionedClustersName": "test-hybridakscluster", + "agentPoolName": "test-hybridaksnodepool", + "api-version": "2022-01-01-preview", + "agentPool": { + "location": "westus", + "properties": { + "count": 3 + } + } + }, + "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": "Accepted", + "count": 3, + "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" + } + } + }, + "201": { + "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": "Accepted", + "count": 3, + "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" + } + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/UpdateProvisionedCluster.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/UpdateProvisionedCluster.json new file mode 100644 index 000000000000..a360595d7738 --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/examples/UpdateProvisionedCluster.json @@ -0,0 +1,133 @@ +{ + "parameters": { + "subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", + "resourceGroupName": "test-arcappliance-resgrp", + "provisionedClustersName": "test-hybridakscluster", + "api-version": "2022-01-01-preview", + "provisionedClusters": { + "tags": { + "additionalProperties": "sample" + } + } + }, + "responses": { + "200": { + "body": { + "location": "westus", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation" + }, + "tags": { + "additionalProperties": "sample" + }, + "properties": { + "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", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "location": "westus", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation" + }, + "tags": { + "additionalProperties": "sample" + }, + "properties": { + "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", + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/provisionedClusters.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/provisionedClusters.json new file mode 100644 index 000000000000..54df5e846300 --- /dev/null +++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2022-01-01-preview/provisionedClusters.json @@ -0,0 +1,1731 @@ +{ + "swagger": "2.0", + "info": { + "title": "HybridContainerService", + "description": "The Microsoft.HybridContainerService Rest API spec.", + "version": "2022-01-01-preview", + "x-ms-code-generation-settings": { + "name": "HybridContainerServiceClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/provisionedClusters/{provisionedClustersName}": { + "get": { + "operationId": "ProvisionedClusters_Get", + "x-ms-examples": { + "GetProvisionedCluster": { + "$ref": "./examples/GetProvisionedCluster.json" + } + }, + "summary": "Gets the provisioned cluster", + "description": "Gets the Hybrid AKS provisioned cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Gets the provisionedClusters resource.", + "schema": { + "$ref": "#/definitions/provisionedClusters" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "operationId": "ProvisionedClusters_CreateOrUpdate", + "x-ms-examples": { + "PutProvisionedCluster": { + "$ref": "./examples/PutProvisionedCluster.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Creates the provisioned cluster", + "description": "Creates the Hybrid AKS provisioned cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "provisionedClusters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/provisionedClusters" + } + } + ], + "responses": { + "200": { + "description": "Updates the provisionedClusters resource.", + "schema": { + "$ref": "#/definitions/provisionedClusters" + } + }, + "201": { + "description": "Creates the provisionedClusters resource.", + "schema": { + "$ref": "#/definitions/provisionedClusters" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "operationId": "ProvisionedClusters_Delete", + "x-ms-examples": { + "DeleteProvisionedCluster": { + "$ref": "./examples/DeleteProvisionedCluster.json" + } + }, + "summary": "Deletes the provisioned cluster", + "description": "Deletes the Hybrid AKS provisioned cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Deletes the provisionedClusters resource." + }, + "204": { + "description": "No content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "operationId": "ProvisionedClusters_Update", + "x-ms-examples": { + "UpdateProvisionedCluster": { + "$ref": "./examples/UpdateProvisionedCluster.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Updates the provisioned cluster", + "description": "Updates the Hybrid AKS provisioned cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "provisionedClusters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/provisionedClustersPatch" + } + } + ], + "responses": { + "200": { + "description": "Success. Updated the provisionedClusters resource.", + "schema": { + "$ref": "#/definitions/provisionedClusters" + } + }, + "201": { + "description": "Updating the provisionedClusters resource.", + "schema": { + "$ref": "#/definitions/provisionedClusters" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/provisionedClusters": { + "get": { + "operationId": "ProvisionedClusters_ListByResourceGroup", + "x-ms-examples": { + "ListProvisionedClusterByResourceGroup": { + "$ref": "./examples/ListProvisionedClusterByResourceGroup.json" + } + }, + "summary": "Gets the provisioned clusters in a resource group", + "description": "Gets the Hybrid AKS provisioned cluster in a resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all provisionedClusters under the resource group.", + "schema": { + "$ref": "#/definitions/provisionedClustersListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridContainerService/provisionedClusters": { + "get": { + "operationId": "ProvisionedClusters_ListBySubscription", + "x-ms-examples": { + "ListProvisionedClusterBySubscription": { + "$ref": "./examples/ListProvisionedClusterBySubscription.json" + } + }, + "summary": "Gets the provisioned clusters in a subscription", + "description": "Gets the Hybrid AKS provisioned cluster in a subscription", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all provisionedClusters under the subscription.", + "schema": { + "$ref": "#/definitions/provisionedClustersListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/provisionedClusters/{provisionedClustersName}/listClusterAdminCredential": { + "post": { + "operationId": "ProvisionedClusters_ListClusterAdminCredentials", + "x-ms-examples": { + "ListProvisionedClusterAdminCredentials": { + "$ref": "./examples/ListProvisionedClusterAdminCredentials.json" + } + }, + "summary": "Lists the admin credentials of a provisioned cluster.", + "description": "Lists the admin credentials of a Hybrid AKS provisioned cluster.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CredentialResults" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/provisionedClusters/{provisionedClustersName}/hybridIdentityMetadata/{hybridIdentityMetadataResourceName}": { + "put": { + "operationId": "HybridIdentityMetadata_Put", + "x-ms-examples": { + "CreateHybridIdentityMetadata": { + "$ref": "./examples/CreateHybridIdentityMetadata.json" + } + }, + "summary": "Creates the hybrid identity metadata resource", + "description": "Creates the hybrid identity metadata proxy resource that facilitates the managed identity provisioning.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "#/parameters/hybridIdentityMetadataResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/hybridIdentityMetadata" + } + } + ], + "responses": { + "200": { + "description": "Created the hybridIdentityMetadata resource.", + "schema": { + "$ref": "#/definitions/hybridIdentityMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "operationId": "HybridIdentityMetadata_Get", + "x-ms-examples": { + "GetHybridIdentityMetadata": { + "$ref": "./examples/GetHybridIdentityMetadata.json" + } + }, + "summary": "Get the hybrid identity metadata resource", + "description": "Get the hybrid identity metadata proxy resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "#/parameters/hybridIdentityMetadataResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Get the hybridIdentityMetadata resource for the given AKS Edge cluster.", + "schema": { + "$ref": "#/definitions/hybridIdentityMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "operationId": "HybridIdentityMetadata_Delete", + "x-ms-examples": { + "DeleteHybridIdentityMetadata": { + "$ref": "./examples/DeleteHybridIdentityMetadata.json" + } + }, + "summary": "Deletes the hybrid identity metadata resource", + "description": "Deletes the hybrid identity metadata proxy resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "#/parameters/hybridIdentityMetadataResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Delete the hybridIdentityMetadata resource" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/provisionedClusters/{provisionedClustersName}/hybridIdentityMetadata": { + "get": { + "operationId": "HybridIdentityMetadata_ListByCluster", + "summary": "Lists the hybrid identity metadata resources in a cluster", + "description": "Lists the hybrid identity metadata proxy resource in a cluster.", + "x-ms-examples": { + "HybridIdentityMetadataListByCluster": { + "$ref": "./examples/HybridIdentityMetadataListByCluster.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/hybridIdentityMetadataList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/provisionedClusters/{provisionedClustersName}/agentPools/{agentPoolName}": { + "get": { + "operationId": "agentPool_Get", + "summary": "Gets the agent pool in the provisioned cluster", + "description": "Gets the agent pool in the Hybrid AKS provisioned cluster", + "x-ms-examples": { + "GetAgentPool": { + "$ref": "./examples/GetAgentPool.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "#/parameters/agentPoolNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Gets the agentPool resource.", + "schema": { + "$ref": "#/definitions/agentPool" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "operationId": "agentPool_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Creates the agent pool in the provisioned cluster", + "description": "Creates the agent pool in the Hybrid AKS provisioned cluster", + "x-ms-examples": { + "PutAgentPool": { + "$ref": "./examples/PutAgentPool.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "#/parameters/agentPoolNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "agentPool", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/agentPool" + } + } + ], + "responses": { + "200": { + "description": "Updates the agent pool in the provisionedClusters resource.", + "schema": { + "$ref": "#/definitions/agentPool" + } + }, + "201": { + "description": "Creates the agent pool in the provisionedClusters resource.", + "schema": { + "$ref": "#/definitions/agentPool" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "operationId": "agentPool_Delete", + "summary": "Deletes the agent pool in the provisioned cluster", + "description": "Deletes the agent pool in the Hybrid AKS provisioned cluster", + "x-ms-examples": { + "DeleteAgentPool": { + "$ref": "./examples/DeleteAgentPool.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "#/parameters/agentPoolNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Deletes the agent pool in the provisionedClusters resource." + }, + "204": { + "description": "No content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "operationId": "agentPool_Update", + "summary": "Updates the agent pool in the provisioned cluster", + "description": "Updates the agent pool in the Hybrid AKS provisioned cluster", + "x-ms-examples": { + "UpdateAgentPool": { + "$ref": "./examples/UpdateAgentPool.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "#/parameters/agentPoolNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "agentPool", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/agentPool" + } + } + ], + "responses": { + "200": { + "description": "Updates the agent pool in the provisionedClusters resource.", + "schema": { + "$ref": "#/definitions/agentPool" + } + }, + "201": { + "description": "Updates the agent pool in the provisionedClusters resource.", + "schema": { + "$ref": "#/definitions/agentPool" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/provisionedClusters/{provisionedClustersName}/agentPools": { + "get": { + "operationId": "agentPool_ListByProvisionedCluster", + "summary": "Gets the agent pools in the provisioned cluster", + "description": "Gets the agent pools in the Hybrid AKS provisioned cluster", + "x-ms-examples": { + "ListAgentPoolByProvisionedCluster": { + "$ref": "./examples/ListAgentPoolByProvisionedCluster.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/provisionedClustersNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Gets all the agentPools in the provisionedCluster resource.", + "schema": { + "$ref": "#/definitions/agentPoolListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.HybridContainerService/operations": { + "get": { + "operationId": "Operations_List", + "x-ms-examples": { + "ListOperations": { + "$ref": "./examples/ListOperations.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describe the result of a successful operation.", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "provisionedClustersProperties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "features": { + "type": "object", + "description": "Additional features specs like Arc Agent Onboarding.", + "properties": { + "arcAgentProfile": { + "description": "Arc agentry configuration for the provisioned cluster.", + "$ref": "#/definitions/ArcAgentProfile" + } + } + }, + "addon": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AddonConfigs" + }, + "description": "AddonProfiles - Profile of managed cluster add-on." + }, + "controlPlane": { + "$ref": "#/definitions/NodePoolConfig", + "description": "ControlPlane - ControlPlane Configuration" + }, + "kubernetesVersion": { + "type": "string", + "description": "KubernetesVersion - Version of Kubernetes specified when creating the managed cluster." + }, + "loadBalancer": { + "$ref": "#/definitions/NodePoolConfig", + "description": "LoadBalancer - LoadBalancer Configuration" + }, + "clusterLocation": { + "type": "string", + "description": "Location - Resource location" + }, + "clusterName": { + "type": "string", + "description": "Name - Resource name" + }, + "networkProfile": { + "type": "object", + "properties": { + "dnsServiceIP": { + "type": "string", + "description": "DNSServiceIP - An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr." + }, + "dockerBridgeCidr": { + "type": "string", + "description": "DockerBridgeCidr - A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range." + }, + "networkPlugin": { + "type": "string", + "description": "NetworkPlugin - Network plugin used for building Kubernetes network. Possible values include: 'calico', 'flannel'. Default is 'calico'", + "enum": [ + "calico", + "flannel" + ], + "default": "calico", + "x-ms-enum": { + "modelAsString": true, + "name": "networkPlugin" + } + }, + "podCidr": { + "type": "string", + "description": "PodCidr - A CIDR notation IP range from which to assign pod IPs when kubenet is used." + }, + "serviceCidr": { + "type": "string", + "description": "ServiceCidr - A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges." + } + }, + "description": "NetworkProfile - Profile of network configuration." + }, + "nodeResourceGroup": { + "type": "string", + "description": "NodeResourceGroup - Name of the resource group containing agent pool nodes." + }, + "clusterTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Tags - provisioned cluster Tags" + }, + "vnetSubnetID": { + "type": "string", + "description": "VnetSubnetID - VNet SubnetID specifies the VNet's subnet identifier." + }, + "workerPool": { + "type": "array", + "items": { + "$ref": "#/definitions/NodePoolConfig" + }, + "x-ms-identifiers": [], + "description": "WorkerPool -Worker pool References" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting", + "Updating", + "Accepted", + "Created" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "provisioningState" + } + }, + "status": { + "type": "object", + "readOnly": true, + "properties": { + "featuresStatus": { + "type": "object", + "description": "Additional features status like Arc Agent Onboarding.", + "properties": { + "arcAgentStatus": { + "description": "Defines the observed Arc Agent status that is resourceSynced back to the ARM resource.", + "$ref": "#/definitions/ArcAgentStatus" + } + } + }, + "addonStatus": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AddonStatus" + }, + "description": "AddonStatus - Status of Addons" + }, + "errorMessage": { + "type": "string", + "description": "ErrorMessage - Error messages during creation of cluster" + }, + "powerState": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Code - Tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'", + "enum": [ + "Running", + "Stopped" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "code" + } + } + }, + "description": "PowerState - Represents the Power State of the cluster" + }, + "provisioningStatus": { + "type": "object", + "properties": { + "error": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "operationId": { + "type": "string" + }, + "phase": { + "type": "string", + "description": "Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc." + }, + "status": { + "type": "string" + } + }, + "description": "Contains Provisioning errors" + } + }, + "description": "HybridAKSClusterStatus defines the observed state of HybridAKSCluster" + } + }, + "description": "HybridAKSClusterSpec defines the desired state of HybridAKSCluster" + }, + "provisionedClusters": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "identity": { + "$ref": "#/definitions/provisionedClusterIdentity" + }, + "properties": { + "$ref": "#/definitions/provisionedClustersProperties" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource Name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource Type" + }, + "location": { + "type": "string", + "description": "The resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "extendedLocation": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The extended location type." + }, + "name": { + "type": "string", + "description": "The extended location name." + } + } + } + }, + "description": "The provisionedClusters resource definition." + }, + "provisionedClustersPatch": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The provisionedClusters resource patch definition." + }, + "provisionedClustersListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/provisionedClusters" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "AddonConfigs": { + "properties": { + "config": { + "additionalProperties": { + "type": "string" + }, + "description": "Config - Key-value pairs for configuring an add-on.", + "type": "object" + }, + "enabled": { + "description": "Enabled - Whether the add-on is enabled or not.", + "type": "boolean" + } + }, + "type": "object", + "description": "Addon configurations" + }, + "AddonStatus": { + "properties": { + "errorMessage": { + "description": "ErrorMessage will be set in the event that there is a terminal problem reconciling the AddOn and will contain a more verbose string suitable for logging and human consumption.", + "type": "string" + }, + "phase": { + "description": "Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.", + "type": "string" + }, + "ready": { + "type": "boolean" + } + }, + "type": "object", + "description": "Status of the addon" + }, + "NodePoolConfig": { + "type": "object", + "description": "NodePool configuration", + "properties": { + "count": { + "type": "integer", + "format": "int32", + "description": "Count - Number of agents to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.", + "default": 1 + }, + "hardwareConfig": { + "type": "object", + "properties": { + "customSize": { + "type": "object", + "properties": { + "cpuCount": { + "type": "integer", + "format": "int32" + }, + "memoryMB": { + "type": "integer", + "format": "int32" + } + }, + "description": "CustomSize Specifies cpu/memory information for custom VMSize types." + }, + "vmSize": { + "type": "string", + "description": "VMSize - Size of agent VMs. Possible values" + } + }, + "description": "HardwareConfig - Specifies cpu/memory information for custom VMSize types." + }, + "linuxProfile": { + "type": "object", + "properties": { + "adminUsername": { + "type": "string", + "description": "AdminUsername - The administrator username to use for Linux VMs." + }, + "ssh": { + "type": "object", + "properties": { + "publicKeys": { + "type": "array", + "items": { + "type": "object", + "properties": { + "keyData": { + "type": "string", + "description": "KeyData - Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers." + } + } + }, + "x-ms-identifiers": [], + "description": "PublicKeys - The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified." + } + }, + "description": "SSH - SSH configuration for Linux-based VMs running on Azure." + } + }, + "description": "LinuxProfile - Profile for Linux VMs in the container service cluster." + }, + "mode": { + "type": "string", + "description": "Mode - AgentPoolMode represents mode of an agent pool. Possible values include: 'System', 'LB', 'User'. Default is 'User'", + "enum": [ + "System", + "LB", + "User" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "mode" + }, + "default": "User" + }, + "nodeLabels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "NodeLabels - Agent pool node labels to be persisted across all nodes in agent pool." + }, + "nodeTaints": { + "type": "array", + "items": { + "type": "string" + }, + "description": "NodeTaints - Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule." + }, + "osDiskSizeGB": { + "type": "integer", + "format": "int32", + "description": "OsDiskSizeGB - OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified." + }, + "osType": { + "type": "string", + "description": "OsType - OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "osType" + }, + "default": "Linux" + }, + "nodeTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Tags - Agent pool tags to be persisted on the agent pool virtual machine scale set." + }, + "windowsProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "x-ms-secret": true, + "description": "AdminPassword - Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"" + }, + "adminUsername": { + "type": "string", + "description": "AdminUsername - Specifies the name of the administrator account.

**restriction:** Cannot end in \".\"

**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".

**Minimum-length:** 1 character

**Max-length:** 20 characters" + }, + "enableCSIProxy": { + "type": "boolean", + "description": "EnableCSIProxy - Whether to enable CSI proxy." + }, + "licenseType": { + "type": "string", + "description": "LicenseType - The licenseType to use for Windows VMs. Windows_Server is used to enable Azure Hybrid User Benefits for Windows VMs. Possible values include: 'None', 'Windows_Server'", + "enum": [ + "Windows_Server", + "None" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "licenseType" + } + } + }, + "description": "WindowsProfile - Profile for Windows VMs in the container service cluster." + }, + "orchestratorVersion": { + "type": "string", + "description": "Version of Kubernetes specified when creating the node pool." + }, + "nodeImageVersion": { + "type": "string", + "description": "The version of node image" + }, + "upgradeSettings": { + "type": "object", + "properties": { + "maxSurge": { + "type": "string", + "description": "The maximum number or percentage of nodes that are surged during upgrade." + } + } + } + } + }, + "agentPoolProperties": { + "allOf": [ + { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NodePoolConfig" + }, + { + "x-ms-client-flatten": true, + "$ref": "#/definitions/agentPoolProvisioningStatus" + } + ] + }, + "agentPoolProvisioningStatus": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Deleting", + "InProgress", + "Canceled" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "agentPoolProvisioningState" + } + }, + "status": { + "type": "object", + "readOnly": true, + "properties": { + "errorMessage": { + "type": "string", + "description": "ErrorMessage - Error messages during creation of cluster" + }, + "powerState": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Code - Tells whether the cluster is Running or Stopped. Possible values include: 'CodeRunning', 'CodeStopped'" + } + }, + "description": "PowerState Describes whether the Agent Pool is Running or Stopped" + }, + "provisioningStatus": { + "type": "object", + "properties": { + "error": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "operationId": { + "type": "string" + }, + "phase": { + "type": "string", + "description": "Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc." + }, + "status": { + "type": "string" + } + }, + "description": "Contains Provisioning errors" + }, + "readyReplicas": { + "type": "integer", + "format": "int32", + "description": "Total number of ready machines targeted by this deployment." + }, + "replicas": { + "type": "integer", + "format": "int32", + "description": "Total number of non-terminated machines targeted by this deployment" + } + }, + "description": "HybridAKSNodePoolStatus defines the observed state of HybridAKSNodePool" + } + }, + "description": "The agentPool resource provisioning status definition" + }, + "agentPool": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/agentPoolProperties" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource Name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource Type" + }, + "location": { + "type": "string", + "description": "The resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "extendedLocation": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The extended location type." + }, + "name": { + "type": "string", + "description": "The extended location name." + } + } + } + }, + "description": "The agentPool resource definition" + }, + "agentPoolListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/agentPool" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "CredentialResults": { + "type": "object", + "properties": { + "kubeconfigs": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/CredentialResult" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "Base64-encoded Kubernetes configuration file." + } + }, + "description": "The list credential result response." + }, + "CredentialResult": { + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the credential." + }, + "value": { + "type": "string", + "format": "byte", + "readOnly": true, + "description": "Base64-encoded Kubernetes configuration file." + } + }, + "description": "The credential result response." + }, + "ResourceProviderOperationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceProviderOperation" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string" + } + }, + "description": "Results of the request to list operations." + }, + "ResourceProviderOperation": { + "type": "object", + "properties": { + "isDataAction": { + "type": "string", + "description": "Indicates whether the operation applies to data-plane." + }, + "name": { + "type": "string", + "description": "Operation name, in format of {provider}/{resource}/{operation}" + }, + "display": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "description": "The resource provider." + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed." + }, + "operation": { + "type": "string", + "description": "Type of operation: get, read, delete, etc." + }, + "description": { + "type": "string", + "description": "Description of this operation." + } + }, + "description": "Display metadata associated with the operation." + } + }, + "description": "Results of the request to list operations." + }, + "ArcAgentProfile": { + "description": "Defines the Arc Agent properties for the Provisioned clusters.", + "type": "object", + "properties": { + "agentVersion": { + "type": "string", + "description": "Version of the Arc agents to be installed on the provisioned Provisioned cluster resource" + }, + "aadAdminGroupObjectIds": { + "type": "array", + "description": "List of AAD groups that will be configured to get a cluster-admin role while accessing the provisioned cluster through a cluster connect workflow.", + "items": { + "type": "string" + } + }, + "agentAutoUpgrade": { + "type": "string", + "description": "Indicates whether the Arc agents on the provisioned clusters be upgraded automatically to the latest version. Defaults to Enabled.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AutoUpgradeOptions", + "modelAsString": true + } + } + } + }, + "ArcAgentStatus": { + "description": "Defines the observed Arc Agent status that is resourceSynced back to the ARM resource.", + "type": "object", + "properties": { + "deploymentState": { + "type": "string", + "description": "Observed deployment state of the Arc Agents on the target cluster. Possible values include: 'pending', 'provisioning', 'provisioned', 'deleting', 'failed', 'upgrading'", + "enum": [ + "pending", + "provisioning", + "provisioned", + "deleting", + "failed", + "upgrading" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "deploymentState" + } + }, + "errorMessage": { + "type": "string", + "description": "Error messages while onboarding/upgrading/uninstalling the Arc agents" + }, + "onboardingPublicKey": { + "type": "string", + "description": "Onboarding public key for provisioning the Managed identity for the HybridAKS cluster. Will be used to create the hybridIdentityMetadata proxy resource and will not be persisted." + }, + "agentVersion": { + "type": "string", + "description": "Version of the Arc agents currently running on the Provisioned cluster resource." + }, + "coreCount": { + "type": "integer", + "format": "int64", + "description": "Number of CPU cores present in the Provisioned cluster resource" + }, + "managedIdentityCertificateExpirationTime": { + "type": "string", + "format": "date-time", + "description": "ManagedIdentity certificate expiration time (ValidUntil)." + }, + "lastConnectivityTime": { + "type": "string", + "format": "date-time", + "description": "Last connected timestamp of the Provisioned cluster resource." + } + } + }, + "provisionedClusterIdentity": { + "type": "object", + "required": [ + "type" + ], + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of provisioned cluster identity. This property will only be provided for a system assigned identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant id associated with the provisioned cluster. This property will only be provided for a system assigned identity." + }, + "type": { + "type": "string", + "description": "The type of identity used for the provisioned cluster. The type SystemAssigned, includes a system created identity. The type None means no identity is assigned to the provisioned cluster.", + "enum": [ + "None", + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + } + }, + "description": "Identity for the Provisioned cluster." + }, + "hybridIdentityMetadata": { + "description": "Defines the hybridIdentityMetadata.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/hybridIdentityMetadataProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "The system data." + } + }, + "x-ms-azure-resource": true + }, + "hybridIdentityMetadataProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "resourceUid": { + "description": "Unique id of the parent provisioned cluster resource.", + "type": "string" + }, + "publicKey": { + "description": "Onboarding public key for provisioning the Managed identity for the HybridAKS cluster.", + "type": "string" + }, + "identity": { + "$ref": "#/definitions/provisionedClusterIdentity", + "description": "The identity of the provisioned cluster." + }, + "provisioningState": { + "description": "provisioning state of the hybridIdentityMetadata resource.", + "type": "string", + "readOnly": true + } + } + }, + "hybridIdentityMetadataList": { + "description": "List of hybridIdentityMetadata.", + "type": "object", + "properties": { + "nextLink": { + "description": "Url to follow for getting next page of hybridIdentityMetadata.", + "type": "string" + }, + "value": { + "description": "Array of hybridIdentityMetadata", + "type": "array", + "items": { + "$ref": "#/definitions/hybridIdentityMetadata" + } + } + }, + "required": [ + "value" + ] + } + }, + "parameters": { + "provisionedClustersNameParameter": { + "name": "provisionedClustersName", + "description": "Parameter for the name of the provisioned cluster", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "maxLength": 64, + "minLength": 3 + }, + "hybridIdentityMetadataResourceNameParameter": { + "name": "hybridIdentityMetadataResourceName", + "description": "Parameter for the name of the hybrid identity metadata resource.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "maxLength": 64, + "minLength": 3 + }, + "agentPoolNameParameter": { + "name": "agentPoolName", + "description": "Parameter for the name of the agent pool in the provisioned cluster", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "maxLength": 64, + "minLength": 3 + } + } +} diff --git a/specification/hybridaks/resource-manager/readme.md b/specification/hybridaks/resource-manager/readme.md index 947029bf10e6..5ecbf526f1e3 100644 --- a/specification/hybridaks/resource-manager/readme.md +++ b/specification/hybridaks/resource-manager/readme.md @@ -27,7 +27,7 @@ These are the global settings for the hybridaks. ```yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2021-09-01-preview +tag: package-2022-01-01-preview ``` ### Tag: package-2021-08-01-preview @@ -48,6 +48,15 @@ input-file: - Microsoft.HybridContainerService/preview/2021-09-01-preview/provisionedClusters.json ``` +### Tag: package-2022-01-01-preview + +These settings apply only when `--tag=package-2022-01-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-01-01-preview' +input-file: + - Microsoft.HybridContainerService/preview/2022-01-01-preview/provisionedClusters.json +``` + --- # Code Generation