diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateAutoscaleCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateAutoscaleCluster.json deleted file mode 100644 index daa33d9609b1..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateAutoscaleCluster.json +++ /dev/null @@ -1,354 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "HDInsightCluster": { - "location": "West US 2", - "properties": { - "clusterType": "Trino", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2 - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "components": [ - { - "name": "Trino", - "version": "410" - }, - { - "name": "Hive metastore", - "version": "3.1.2" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Accepted", - "clusterType": "Trino", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateClusterPool.json deleted file mode 100644 index 9254f96ab85b..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateClusterPool.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1", - "ClusterPool": { - "location": "West US 2", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Accepted", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateSparkCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateSparkCluster.json deleted file mode 100644 index d7539c71112c..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateSparkCluster.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "HDInsightCluster": { - "location": "West US 2", - "properties": { - "clusterType": "spark", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "sparkProfile": {}, - "sshProfile": { - "count": 2 - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "spark", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Accepted", - "clusterType": "spark", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/DeleteCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/DeleteCluster.json deleted file mode 100644 index 142c97810fcb..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/DeleteCluster.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "rg1", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1" - }, - "responses": { - "200": { - "description": "Successful.", - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, - "202": { - "description": "Cluster delete request accepted.", - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/DeleteClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/DeleteClusterPool.json deleted file mode 100644 index f42610f4b2f0..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/DeleteClusterPool.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "rg1", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": { - "description": "Successful.", - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, - "202": { - "description": "Cluster Pool delete request accepted.", - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetCluster.json deleted file mode 100644 index 9eaad022d260..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetCluster.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "components": [ - { - "name": "Trino", - "version": "410" - }, - { - "name": "Hive metastore", - "version": "3.1.2" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetClusterInstanceView.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetClusterInstanceView.json deleted file mode 100644 index a4944fd08cb1..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetClusterInstanceView.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2023-06-01-preview", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "clusterPoolName": "clusterPool1" - }, - "responses": { - "200": { - "body": { - "name": "default", - "properties": { - "status": { - "ready": "True", - "reason": "", - "message": "" - }, - "serviceStatuses": [ - { - "kind": "ZooKeeper", - "ready": "true", - "message": "" - } - ] - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetClusterPool.json deleted file mode 100644 index 1d6a2f638f7b..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetClusterPool.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetOperations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetOperations.json deleted file mode 100644 index 3ee35d68c9ab..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetOperations.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "resourceGroup1", - "api-version": "2023-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.HDInsight/clusterpool/read", - "isDataAction": false, - "display": { - "provider": "HDInsight on AKS", - "resource": "Cluster Pool.", - "operation": "Get Cluster Pool Operation result.", - "description": "Get any cluster pool." - }, - "origin": "user, system" - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListAvailableClusterPoolVersions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListAvailableClusterPoolVersions.json deleted file mode 100644 index d3d68ee90e4f..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListAvailableClusterPoolVersions.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "location": "westus2", - "api-version": "2023-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterpoolversions/1.0", - "name": "1.0", - "properties": { - "clusterPoolVersion": "1.0", - "aksVersion": "1.24", - "isPreview": false - } - }, - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterpoolversions/1.1", - "name": "1.1", - "properties": { - "clusterPoolVersion": "1.1", - "aksVersion": "1.25", - "isPreview": false - } - }, - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterpoolversions/1.2", - "name": "1.2", - "properties": { - "clusterPoolVersion": "1.2", - "aksVersion": "1.26", - "isPreview": true - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListAvailableClusterVersions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListAvailableClusterVersions.json deleted file mode 100644 index b1da94fb829b..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListAvailableClusterVersions.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "location": "westus2", - "api-version": "2023-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterversions/flink_1.16.0-1.0.4", - "name": "flink_1.16.0-1.0.4", - "properties": { - "clusterType": "Flink", - "clusterVersion": "1.0.4", - "ossVersion": "1.16.0", - "clusterPoolVersion": "1.0", - "isPreview": false, - "components": [ - { - "name": "TaskManager", - "version": "1.16.0" - }, - { - "name": "JobManager", - "version": "1.16.0" - } - ] - } - }, - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterversions/spark_3.3.1-1.0.4", - "name": "spark_3.3.1-1.0.4", - "properties": { - "clusterType": "Spark", - "clusterVersion": "1.0.4", - "ossVersion": "3.3.1", - "clusterPoolVersion": "1.0", - "isPreview": false, - "components": [ - { - "name": "Hadoop", - "version": "3.2.3" - }, - { - "name": "Hive", - "version": "3.1.4" - } - ] - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterInstanceViews.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterInstanceViews.json deleted file mode 100644 index 6af3c1e01ab1..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterInstanceViews.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2023-06-01-preview", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "clusterPoolName": "clusterPool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "default", - "properties": { - "status": { - "ready": "True", - "reason": "", - "message": "" - }, - "serviceStatuses": [ - { - "kind": "ZooKeeper", - "ready": "true", - "message": "" - } - ] - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterJobs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterJobs.json deleted file mode 100644 index da809a7418da..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterJobs.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "hiloResourcegroup", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterPool1", - "clusterName": "cluster1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1/jobs/flink-job-1", - "properties": { - "jobType": "FlinkJob", - "jobName": "flink-job-1", - "jobJarDirectory": "jobJarDirectory1", - "jarName": "job.jar", - "entryClass": "com.microsoft.hilo.flink.job.streaming.ExampleJob", - "flinkConfiguration": { - "parallelism": "1", - "savepoint.directory": "savepoint-directory" - }, - "jobId": "362b911137dfefc2e55784666f4d4253", - "status": "STOP-FAILED", - "jobOutput": "job-output", - "actionResult": "SUCCESS" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterPools.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterPools.json deleted file mode 100644 index 3870d11dee67..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterPools.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "hiloResourcegroup", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "api-version": "2023-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "location": "West US 2", - "tags": { - "department": "MightyMight", - "company": "Contoso" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterPoolsSubscription.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterPoolsSubscription.json deleted file mode 100644 index d6be9c963a9d..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterPoolsSubscription.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "api-version": "2023-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "location": "West US 2", - "tags": { - "department": "MightyMight", - "company": "Contoso" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterServiceConfigs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterServiceConfigs.json deleted file mode 100644 index 66a6c3e67bde..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterServiceConfigs.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2023-06-01-preview", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "clusterPoolName": "clusterPool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "serviceName": "hadoop-service", - "componentName": "hadoop-component", - "fileName": "capacity-scheduler.xml", - "content": "" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClustersByClusterPoolName.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClustersByClusterPoolName.json deleted file mode 100644 index 903f8f90bdec..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClustersByClusterPoolName.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "components": [ - { - "name": "Trino", - "version": "410" - }, - { - "name": "Hive metastore", - "version": "3.1.2" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "location": "West US 2", - "tags": { - "department": "MightyMight", - "company": "Contoso" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/LocationsNameAvailability.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/LocationsNameAvailability.json deleted file mode 100644 index 1d7bd9a43853..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/LocationsNameAvailability.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "api-version": "2023-06-01-preview", - "location": "southeastasia", - "NameAvailabilityParameters": { - "name": "contosemember1", - "type": "Microsoft.HDInsight/clusterPools/clusters" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "nameAvailable": false, - "reason": "AlreadyExists" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchCluster.json deleted file mode 100644 index f43f807874e3..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchCluster.json +++ /dev/null @@ -1,456 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterPatchRequest": { - "location": "West US 2", - "properties": { - "clusterProfile": { - "serviceConfigsProfiles": [ - { - "serviceName": "TestService1", - "configs": [ - { - "component": "TestComp1", - "files": [ - { - "fileName": "TestFile1", - "values": { - "Test.config.1": "1", - "Test.config.2": "2" - } - }, - { - "fileName": "TestFile2", - "values": { - "Test.config.3": "3", - "Test.config.4": "4" - } - } - ] - }, - { - "component": "TestComp2", - "files": [ - { - "fileName": "TestFile3", - "content": "TestContent", - "path": "TestPath" - }, - { - "fileName": "TestFile4", - "values": { - "Test.config.7": "7", - "Test.config.8": "8" - } - } - ] - } - ] - }, - { - "serviceName": "TestService2", - "configs": [ - { - "component": "TestComp3", - "files": [ - { - "fileName": "TestFile5", - "values": { - "Test.config.9": "9" - } - } - ] - } - ] - } - ], - "sshProfile": { - "count": 2 - }, - "authorizationProfile": { - "userIds": [ - "Testuser1", - "Testuser2" - ] - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": -1, - "scheduleBasedConfig": { - "defaultCount": 3, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday, Tuesday, Wednesday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - } - ] - } - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "serviceConfigsProfiles": [ - { - "serviceName": "TestService1", - "configs": [ - { - "component": "TestComp1", - "files": [ - { - "fileName": "TestFile1", - "values": { - "Test.config.1": "1", - "Test.config.2": "2" - } - }, - { - "fileName": "TestFile2", - "values": { - "Test.config.3": "3", - "Test.config.4": "4" - } - } - ] - }, - { - "component": "TestComp2", - "files": [ - { - "fileName": "TestFile3", - "content": "TestContent", - "path": "TestPath" - }, - { - "fileName": "TestFile4", - "values": { - "Test.config.7": "7", - "Test.config.8": "8" - } - } - ] - } - ] - }, - { - "serviceName": "TestService2", - "configs": [ - { - "component": "TestComp3", - "files": [ - { - "fileName": "TestFile5", - "values": { - "Test.config.9": "9" - } - } - ] - } - ] - } - ], - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": -1, - "scheduleBasedConfig": { - "defaultCount": 3, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday, Tuesday, Wednesday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - } - ] - } - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "http://management.azure.com/providers/Microsoft.HDInsight/locations/EASTUS/operationStatuses/676c3c86-188d-4591-9b55-c4298b4a1279?api-version=2023-06-01-preview" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "serviceConfigsProfiles": [ - { - "serviceName": "TestService1", - "configs": [ - { - "component": "TestComp1", - "files": [ - { - "fileName": "TestFile1", - "values": { - "Test.config.1": "1", - "Test.config.2": "2" - } - }, - { - "fileName": "TestFile2", - "values": { - "Test.config.3": "3", - "Test.config.4": "4" - } - } - ] - }, - { - "component": "TestComp2", - "files": [ - { - "fileName": "TestFile3", - "content": "TestContent", - "path": "TestPath" - }, - { - "fileName": "TestFile4", - "values": { - "Test.config.7": "7", - "Test.config.8": "8" - } - } - ] - } - ] - }, - { - "serviceName": "TestService2", - "configs": [ - { - "component": "TestComp3", - "files": [ - { - "fileName": "TestFile5", - "values": { - "Test.config.9": "9" - } - } - ] - } - ] - } - ], - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": -1, - "scheduleBasedConfig": { - "defaultCount": 3, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday, Tuesday, Wednesday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - } - ] - } - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchClusterPool.json deleted file mode 100644 index bf3e334d8cec..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchClusterPool.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1", - "clusterPoolTags": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ResizeCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ResizeCluster.json deleted file mode 100644 index acdc0d83e062..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ResizeCluster.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterResizeRequest": { - "location": "West US 2", - "properties": { - "targetWorkerNodeCount": 5 - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 5 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-06-01-preview" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/RunClusterJob.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/RunClusterJob.json deleted file mode 100644 index 40db47287c4e..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/RunClusterJob.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-06-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterJob": { - "properties": { - "jobType": "FlinkJob", - "jobName": "flink-job-name", - "action": "START", - "jobJarDirectory": "abfs://flinkjob@hilosa.dfs.core.windows.net/jars", - "jarName": "flink-sleep-job-0.0.1-SNAPSHOT.jar", - "entryClass": "com.microsoft.hilo.flink.job.streaming.SleepJob", - "flinkConfiguration": { - "parallelism": "1", - "savepoint.directory": "abfs://flinkjob@hilosa.dfs.core.windows.net/savepoint" - } - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "properties": { - "jobType": "FlinkJob", - "jobName": "flink-job-name", - "action": "START", - "jobJarDirectory": "abfs://flinkjob@hilosa.dfs.core.windows.net/jars", - "jarName": "flink-sleep-job-0.0.1-SNAPSHOT.jar", - "entryClass": "com.microsoft.hilo.flink.job.streaming.SleepJob", - "flinkConfiguration": { - "parallelism": "1", - "savepoint.directory": "abfs://flinkjob@hilosa.dfs.core.windows.net/savepoint" - } - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/hdinsight.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/hdinsight.json deleted file mode 100644 index 9177666a80ca..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/hdinsight.json +++ /dev/null @@ -1,3148 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "HDInsight on AKS Management Client", - "description": "The HDInsight on AKS Management Client.", - "version": "2023-06-01-preview" - }, - "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.HDInsight/clusterpools/{clusterPoolName}": { - "get": { - "description": "Gets a cluster pool.", - "operationId": "ClusterPools_Get", - "x-ms-examples": { - "ClusterPoolGet": { - "$ref": "./examples/GetClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Clusterpool details.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "description": "Creates or updates a cluster pool.", - "operationId": "ClusterPools_CreateOrUpdate", - "x-ms-examples": { - "ClusterPoolPut": { - "$ref": "./examples/CreateClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "name": "ClusterPool", - "description": "The Cluster Pool to create.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterPool" - } - } - ], - "responses": { - "201": { - "description": "ClusterPool is created.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "200": { - "description": "Update successful.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "description": "Updates an existing Cluster Pool Tags.", - "operationId": "ClusterPools_UpdateTags", - "x-ms-examples": { - "ClusterPoolsPatchTags": { - "$ref": "./examples/PatchClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "name": "clusterPoolTags", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TagsObject" - }, - "description": "Parameters supplied to update tags." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "description": "Deletes a Cluster Pool.", - "operationId": "ClusterPools_Delete", - "x-ms-examples": { - "ClusterPoolDelete": { - "$ref": "./examples/DeleteClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Successful." - }, - "202": { - "description": "Accepted response definition.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "No content - The Cluster Pool doesn't exist." - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusterpools": { - "get": { - "operationId": "ClusterPools_ListBySubscription", - "x-ms-examples": { - "ClusterPoolsListBySubscription": { - "$ref": "./examples/ListClusterPoolsSubscription.json" - } - }, - "description": "Gets the list of Cluster Pools within a Subscription.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Cluster Pools successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterPoolListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools": { - "get": { - "operationId": "ClusterPools_ListByResourceGroup", - "x-ms-examples": { - "ClusterPoolsListByResourceGroup": { - "$ref": "./examples/ListClusterPools.json" - } - }, - "description": "Lists the HDInsight cluster pools under a resource group.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Cluster Pools successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterPoolListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters": { - "get": { - "operationId": "Clusters_ListByClusterPoolName", - "description": "Lists the HDInsight cluster pools under a resource group.", - "x-ms-examples": { - "HDInsightClustersListByClusterPoolName": { - "$ref": "./examples/ListClustersByClusterPoolName.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Clusters successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize": { - "post": { - "description": "Resize an existing Cluster.", - "operationId": "Clusters_Resize", - "x-ms-examples": { - "HDInsightClusterResize": { - "$ref": "./examples/ResizeCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterResizeRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterResizeData" - }, - "description": "Resize a cluster." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "202": { - "description": "Cluster resize request accepted.", - "headers": { - "location": { - "type": "string", - "description": "URL to get the status of the resize operation." - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}": { - "get": { - "operationId": "Clusters_Get", - "description": "Gets a HDInsight cluster.", - "x-ms-examples": { - "HDInsightClusterGet": { - "$ref": "./examples/GetCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "Cluster details.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "operationId": "Clusters_Create", - "description": "Creates a cluster.", - "x-ms-examples": { - "HDInsightClusterPut": { - "$ref": "./examples/CreateAutoscaleCluster.json" - }, - "HDInsightSparkClusterPut": { - "$ref": "./examples/CreateSparkCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "HDInsightCluster", - "in": "body", - "required": true, - "description": "The cluster to create.", - "schema": { - "$ref": "#/definitions/Cluster" - } - } - ], - "responses": { - "201": { - "description": "Cluster is created.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "200": { - "description": "Update successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "description": "Updates an existing Cluster.", - "operationId": "Clusters_Update", - "x-ms-examples": { - "HDInsightClustersPatchTags": { - "$ref": "./examples/PatchCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterPatchRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterPatch" - }, - "description": "Patch a cluster." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "operationId": "Clusters_Delete", - "description": "Deletes a cluster.", - "x-ms-examples": { - "HDInsightClustersDelete": { - "$ref": "./examples/DeleteCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "Successful." - }, - "202": { - "description": "Cluster delete request accepted.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "No content - The Cluster doesn't exist." - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob": { - "post": { - "operationId": "ClusterJobs_RunJob", - "description": "Operations on jobs of HDInsight on AKS cluster.", - "x-ms-examples": { - "RunClusterJob": { - "$ref": "./examples/RunClusterJob.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterJob", - "description": "The Cluster job.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterJob" - } - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/ClusterJob" - } - }, - "202": { - "description": "Run cluster job action request accepted.", - "headers": { - "location": { - "type": "string", - "description": "URL to get the status of the resize operation." - } - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/jobs": { - "get": { - "operationId": "ClusterJobs_List", - "description": "Get jobs of HDInsight on AKS cluster.", - "x-ms-examples": { - "ListClusterJobs": { - "$ref": "./examples/ListClusterJobs.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "Cluster job details.", - "schema": { - "$ref": "#/definitions/ClusterJobList" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/serviceConfigs": { - "get": { - "operationId": "Clusters_ListServiceConfigs", - "description": "Lists the config dump of all services running in cluster.", - "x-ms-examples": { - "HDInsightClusterGetServiceConfigs": { - "$ref": "./examples/ListClusterServiceConfigs.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServiceConfigListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability": { - "post": { - "description": "Check the availability of the resource name.", - "operationId": "Locations_CheckNameAvailability", - "x-ms-examples": { - "LocationsNameAvailability": { - "$ref": "./examples/LocationsNameAvailability.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" - }, - { - "name": "NameAvailabilityParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NameAvailabilityParameters" - }, - "description": "The name and type of the resource." - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/NameAvailabilityResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews": { - "get": { - "operationId": "Clusters_ListInstanceViews", - "x-ms-examples": { - "HDInsightClusterGetInstanceViews": { - "$ref": "./examples/ListClusterInstanceViews.json" - } - }, - "description": "Lists the lists of instance views", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ClusterInstanceViewsResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default": { - "get": { - "operationId": "Clusters_GetInstanceView", - "description": "Gets the status of a cluster instance.", - "x-ms-examples": { - "HDInsightClusterGetInstanceView": { - "$ref": "./examples/GetClusterInstanceView.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ClusterInstanceViewResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/providers/Microsoft.HDInsight/operations": { - "get": { - "description": "Returns list of operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "ListOperations": { - "$ref": "./examples/GetOperations.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Operation details.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/availableClusterPoolVersions": { - "get": { - "description": "Returns a list of available cluster pool versions.", - "operationId": "AvailableClusterPoolVersions_ListByLocation", - "x-ms-examples": { - "ClusterPoolVersionListResult": { - "$ref": "./examples/ListAvailableClusterPoolVersions.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Available cluster pool versions successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterPoolVersionsListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/availableClusterVersions": { - "get": { - "description": "Returns a list of available cluster versions.", - "operationId": "AvailableClusterVersions_ListByLocation", - "x-ms-examples": { - "ClusterVersionListResult": { - "$ref": "./examples/ListAvailableClusterVersions.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Available cluster versions successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterVersionsListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "ClusterPoolListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterPool" - }, - "description": "The list of cluster pools." - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - }, - "description": "The list cluster pools operation response." - }, - "ClusterPoolProfile": { - "type": "object", - "description": "Cluster pool profile.", - "required": [ - "clusterPoolVersion" - ], - "properties": { - "clusterPoolVersion": { - "$ref": "#/definitions/ClusterPoolVersionPattern" - } - } - }, - "ClusterPoolComputeProfile": { - "type": "object", - "description": "Cluster pool compute profile.", - "required": [ - "vmSize" - ], - "properties": { - "vmSize": { - "type": "string", - "description": "The virtual machine SKU.", - "pattern": "^[a-zA-Z0-9_\\-]{0,256}$" - }, - "count": { - "description": "The number of virtual machines.", - "type": "integer", - "format": "int32", - "readOnly": true - } - } - }, - "ClusterPoolNetworkProfile": { - "type": "object", - "description": "Cluster pool networking configuration.", - "required": [ - "subnetId" - ], - "properties": { - "subnetId": { - "type": "string", - "description": "Cluster pool subnet resource id.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/virtualNetworks/subnets" - } - ] - } - } - } - }, - "ClusterPoolLogAnalyticsProfile": { - "type": "object", - "description": "Cluster pool log analytics profile used to enable or disable OMS agent for AKS cluster.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "True if log analytics is enabled for cluster pool, otherwise false." - }, - "workspaceId": { - "type": "string", - "description": "Log analytics workspace to associate with the OMS agent.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.OperationalInsights/workspaces" - } - ] - } - } - } - }, - "AksClusterProfile": { - "type": "object", - "description": "Properties of the cluster pool underlying AKS cluster.", - "properties": { - "aksClusterResourceId": { - "type": "string", - "description": "ARM Resource ID of the AKS cluster", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ContainerService/managedClusters" - } - ] - } - }, - "aksClusterAgentPoolIdentityProfile": { - "description": "Identity properties of the AKS cluster agentpool MSI", - "allOf": [ - { - "$ref": "#/definitions/IdentityProfile" - } - ] - }, - "aksVersion": { - "type": "string", - "description": "AKS control plane and default node pool version of this ClusterPool", - "readOnly": true - } - } - }, - "ClusterPoolResourceProperties": { - "type": "object", - "required": [ - "computeProfile" - ], - "properties": { - "provisioningState": { - "description": "Provisioning state of the resource.", - "type": "string", - "enum": [ - "Accepted", - "Succeeded", - "Canceled", - "Failed" - ], - "x-ms-enum": { - "name": "ProvisioningStatus", - "modelAsString": true - }, - "readOnly": true - }, - "deploymentId": { - "type": "string", - "description": "A unique id generated by the RP to identify the resource.", - "example": "45cd32aead6e4a91b079a0cdbfac8c36", - "readOnly": true - }, - "managedResourceGroupName": { - "type": "string", - "description": "A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction.", - "minLength": 1, - "maxLength": 40, - "example": "hdi-45cd32aead6e4a91b079a0cdbfac8c36" - }, - "aksManagedResourceGroupName": { - "type": "string", - "description": "A resource group created by AKS, to hold the infrastructure resources created by AKS on-behalf of customers. It is generated by cluster pool name and managed resource group name by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}", - "readOnly": true, - "example": "MC_hdi-45cd32aead6e4a91b079a0cdbfac8c36_test-pool_eastus" - }, - "clusterPoolProfile": { - "description": "CLuster pool profile.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolProfile" - } - ] - }, - "computeProfile": { - "description": "CLuster pool compute profile.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolComputeProfile" - } - ] - }, - "aksClusterProfile": { - "description": "Properties of underlying AKS cluster.", - "readOnly": true, - "allOf": [ - { - "$ref": "#/definitions/AksClusterProfile" - } - ] - }, - "networkProfile": { - "description": "Cluster pool network profile.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolNetworkProfile" - } - ] - }, - "logAnalyticsProfile": { - "description": "Cluster pool log analytics profile to enable OMS agent for AKS cluster.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolLogAnalyticsProfile" - } - ] - }, - "status": { - "type": "string", - "description": "Business status of the resource.", - "example": "Running", - "readOnly": true - } - }, - "description": "Cluster pool resource properties." - }, - "ClusterPool": { - "type": "object", - "description": "Cluster pool.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Gets or sets the properties. Define cluster pool specific properties.", - "$ref": "#/definitions/ClusterPoolResourceProperties" - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "SystemData of cluster pool.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "TagsObject": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - } - }, - "description": "Tags object for patch operations." - }, - "ClusterListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Cluster" - }, - "description": "The list of clusters." - }, - "nextLink": { - "description": "The link (url) to the next page of results.", - "type": "string", - "readOnly": true - } - }, - "description": "The list cluster operation response." - }, - "ClusterLogAnalyticsProfile": { - "type": "object", - "description": "Cluster log analytics profile to enable or disable OMS agent for cluster.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "True if log analytics is enabled for the cluster, otherwise false." - }, - "applicationLogs": { - "$ref": "#/definitions/ClusterLogAnalyticsApplicationLogs" - }, - "metricsEnabled": { - "type": "boolean", - "description": "True if metrics are enabled, otherwise false." - } - } - }, - "ClusterLogAnalyticsApplicationLogs": { - "type": "object", - "description": "Collection of logs to be enabled or disabled for log analytics.", - "properties": { - "stdOutEnabled": { - "type": "boolean", - "description": "True if stdout is enabled, otherwise false." - }, - "stdErrorEnabled": { - "type": "boolean", - "description": "True if stderror is enabled, otherwise false." - } - } - }, - "ClusterPrometheusProfile": { - "type": "object", - "description": "Cluster Prometheus profile.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Enable Prometheus for cluster or not.", - "default": false - } - } - }, - "IdentityProfile": { - "type": "object", - "description": "Identity Profile with details of an MSI.", - "required": [ - "msiResourceId", - "msiClientId", - "msiObjectId" - ], - "properties": { - "msiResourceId": { - "type": "string", - "description": "ResourceId of the MSI.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ManagedIdentity/userAssignedIdentities" - } - ] - } - }, - "msiClientId": { - "type": "string", - "description": "ClientId of the MSI.", - "pattern": "^[{(]?[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}[)}]?$" - }, - "msiObjectId": { - "type": "string", - "description": "ObjectId of the MSI.", - "pattern": "^[{(]?[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}[)}]?$" - } - } - }, - "AuthorizationProfile": { - "type": "object", - "description": "Authorization profile with details of AAD user Ids and group Ids authorized for data plane access.", - "properties": { - "userIds": { - "type": "array", - "description": "AAD user Ids authorized for data plane access.", - "items": { - "type": "string" - } - }, - "groupIds": { - "type": "array", - "description": "AAD group Ids authorized for data plane access.", - "items": { - "type": "string" - } - } - } - }, - "SecretReference": { - "type": "object", - "description": "Secret reference and corresponding properties of a key vault secret.", - "required": [ - "referenceName", - "type", - "keyVaultObjectName" - ], - "properties": { - "referenceName": { - "type": "string", - "description": "Reference name of the secret to be used in service configs." - }, - "type": { - "type": "string", - "description": "Type of key vault object: secret, key or certificate.", - "enum": [ - "Key", - "Secret", - "Certificate" - ], - "x-ms-enum": { - "name": "KeyVaultObjectType", - "modelAsString": true - } - }, - "version": { - "type": "string", - "description": "Version of the secret in key vault." - }, - "keyVaultObjectName": { - "type": "string", - "description": "Object identifier name of the secret in key vault.", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,126}$" - } - } - }, - "SecretsProfile": { - "type": "object", - "description": "The cluster secret profile.", - "required": [ - "keyVaultResourceId" - ], - "properties": { - "keyVaultResourceId": { - "type": "string", - "description": "Name of the user Key Vault where all the cluster specific user secrets are stored.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "secrets": { - "type": "array", - "description": "Properties of Key Vault secret.", - "items": { - "$ref": "#/definitions/SecretReference" - }, - "x-ms-identifiers": [] - } - } - }, - "ClusterConfigFile": { - "type": "object", - "description": "Cluster configuration files.", - "required": [ - "fileName" - ], - "properties": { - "fileName": { - "type": "string", - "description": "Configuration file name.", - "example": "hive-conf.xml." - }, - "content": { - "type": "string", - "description": "Free form content of the entire configuration file." - }, - "encoding": { - "type": "string", - "description": "This property indicates if the content is encoded and is case-insensitive. Please set the value to base64 if the content is base64 encoded. Set it to none or skip it if the content is plain text.", - "enum": [ - "Base64", - "None" - ], - "x-ms-enum": { - "name": "ContentEncoding", - "modelAsString": true - } - }, - "path": { - "type": "string", - "description": "Path of the config file if content is specified." - }, - "values": { - "type": "object", - "description": "List of key value pairs\nwhere key represents a valid service configuration name and value represents the value of the config.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ClusterServiceConfig": { - "type": "object", - "description": "Cluster configs per component.", - "required": [ - "component", - "files" - ], - "properties": { - "component": { - "type": "string", - "description": "Name of the component the config files should apply to." - }, - "files": { - "type": "array", - "description": "List of Config Files.", - "items": { - "$ref": "#/definitions/ClusterConfigFile" - }, - "x-ms-identifiers": [] - } - } - }, - "ClusterServiceConfigsProfile": { - "type": "object", - "description": "Cluster service configs.", - "required": [ - "serviceName", - "configs" - ], - "properties": { - "serviceName": { - "type": "string", - "description": "Name of the service the configurations should apply to." - }, - "configs": { - "type": "array", - "description": "List of service configs.", - "items": { - "$ref": "#/definitions/ClusterServiceConfig" - }, - "x-ms-identifiers": [] - } - } - }, - "ConnectivityProfile": { - "type": "object", - "description": "Cluster connectivity profile.", - "required": [ - "web" - ], - "properties": { - "web": { - "description": "Web connectivity endpoint details.", - "allOf": [ - { - "$ref": "#/definitions/WebConnectivityEndpoint" - } - ] - }, - "ssh": { - "type": "array", - "description": "List of SSH connectivity endpoints.", - "items": { - "$ref": "#/definitions/SshConnectivityEndpoint" - }, - "x-ms-identifiers": [] - } - }, - "readOnly": true - }, - "WebConnectivityEndpoint": { - "type": "object", - "description": "Web connectivity endpoint details.", - "required": [ - "fqdn" - ], - "properties": { - "fqdn": { - "type": "string", - "description": "Web connectivity endpoint.", - "example": "clusterName11223344.clusterPoolName55667788.eastus.hdinsightaks.net" - } - }, - "readOnly": true - }, - "SshConnectivityEndpoint": { - "type": "object", - "description": "SSH connectivity endpoint details.", - "required": [ - "endpoint" - ], - "properties": { - "endpoint": { - "type": "string", - "description": "SSH connectivity endpoint.", - "example": "clusterName11223344.clusterPoolName55667788.eastus.hdinsightaks.net/ssh/host/podPrefix-0" - } - } - }, - "ClusterProfile": { - "type": "object", - "required": [ - "identityProfile", - "authorizationProfile", - "clusterVersion", - "ossVersion" - ], - "properties": { - "clusterVersion": { - "$ref": "#/definitions/ThreeOrFourPartVersionPattern" - }, - "ossVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "components": { - "$ref": "#/definitions/ClusterComponents" - }, - "identityProfile": { - "$ref": "#/definitions/IdentityProfile" - }, - "authorizationProfile": { - "$ref": "#/definitions/AuthorizationProfile" - }, - "secretsProfile": { - "$ref": "#/definitions/SecretsProfile" - }, - "serviceConfigsProfiles": { - "type": "array", - "description": "The service configs profiles.", - "items": { - "$ref": "#/definitions/ClusterServiceConfigsProfile" - }, - "x-ms-identifiers": [] - }, - "connectivityProfile": { - "$ref": "#/definitions/ConnectivityProfile" - }, - "logAnalyticsProfile": { - "$ref": "#/definitions/ClusterLogAnalyticsProfile" - }, - "prometheusProfile": { - "$ref": "#/definitions/ClusterPrometheusProfile" - }, - "sshProfile": { - "$ref": "#/definitions/SshProfile" - }, - "autoscaleProfile": { - "$ref": "#/definitions/AutoscaleProfile" - }, - "kafkaProfile": { - "type": "object", - "description": "Kafka cluster profile.", - "additionalProperties": true - }, - "trinoProfile": { - "$ref": "#/definitions/TrinoProfile" - }, - "llapProfile": { - "type": "object", - "description": "LLAP cluster profile.", - "additionalProperties": true - }, - "flinkProfile": { - "$ref": "#/definitions/FlinkProfile" - }, - "sparkProfile": { - "$ref": "#/definitions/SparkProfile" - }, - "stubProfile": { - "type": "object", - "description": "Stub cluster profile.", - "additionalProperties": true - }, - "scriptActionProfiles": { - "$ref": "#/definitions/ScriptActionProfiles" - } - }, - "description": "Cluster profile." - }, - "SshProfile": { - "type": "object", - "description": "Ssh profile for the cluster.", - "required": [ - "count" - ], - "properties": { - "count": { - "type": "integer", - "description": "Number of ssh pods per cluster.", - "format": "int32", - "maximum": 5.0, - "minimum": 0.0 - }, - "podPrefix": { - "type": "string", - "description": "Prefix of the pod names. Pod number will be appended to the prefix. The ingress URLs for the pods will be available at //-", - "readOnly": true - } - } - }, - "AutoscaleProfile": { - "type": "object", - "description": "This is the Autoscale profile for the cluster. This will allow customer to create cluster enabled with Autoscale.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "This indicates whether auto scale is enabled on HDInsight on AKS cluster." - }, - "gracefulDecommissionTimeout": { - "type": "integer", - "format": "int32", - "description": "This property is for graceful decommission timeout; It has a default setting of 3600 seconds before forced shutdown takes place. This is the maximal time to wait for running containers and applications to complete before transition a DECOMMISSIONING node into DECOMMISSIONED. The default value is 3600 seconds. Negative value (like -1) is handled as infinite timeout." - }, - "autoscaleType": { - "type": "string", - "description": "User to specify which type of Autoscale to be implemented - Scheduled Based or Load Based.", - "enum": [ - "ScheduleBased", - "LoadBased" - ], - "x-ms-enum": { - "name": "AutoscaleType", - "modelAsString": true - } - }, - "scheduleBasedConfig": { - "description": "Profiles of schedule based Autoscale.", - "$ref": "#/definitions/ScheduleBasedConfig" - }, - "loadBasedConfig": { - "description": "Profiles of load based Autoscale.", - "$ref": "#/definitions/LoadBasedConfig" - } - } - }, - "ScheduleBasedConfig": { - "type": "object", - "description": "Profile of schedule based Autoscale.", - "required": [ - "timeZone", - "defaultCount", - "schedules" - ], - "properties": { - "timeZone": { - "type": "string", - "description": "User has to specify the timezone on which the schedule has to be set for schedule based autoscale configuration." - }, - "defaultCount": { - "type": "integer", - "format": "int32", - "description": "Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down)" - }, - "schedules": { - "type": "array", - "description": "This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end).", - "items": { - "$ref": "#/definitions/Schedule" - }, - "x-ms-identifiers": [] - } - } - }, - "Schedule": { - "type": "object", - "description": "Schedule definition.", - "required": [ - "days", - "startTime", - "endTime", - "count" - ], - "properties": { - "startTime": { - "type": "string", - "pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$", - "description": "User has to set the start time of current schedule configuration, format like 10:30 (HH:MM)." - }, - "endTime": { - "type": "string", - "pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$", - "description": "User has to set the end time of current schedule configuration, format like 10:30 (HH:MM)." - }, - "count": { - "type": "integer", - "format": "int32", - "description": "User has to set the node count anticipated at end of the scaling operation of the set current schedule configuration, format is integer." - }, - "days": { - "type": "array", - "description": "User has to set the days where schedule has to be set for autoscale operation.", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "x-ms-enum": { - "name": "ScheduleDay", - "modelAsString": true - } - } - } - } - }, - "LoadBasedConfig": { - "type": "object", - "description": "Profile of load based Autoscale.", - "required": [ - "minNodes", - "maxNodes", - "scalingRules" - ], - "properties": { - "minNodes": { - "type": "integer", - "format": "int32", - "description": "User needs to set the minimum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes." - }, - "maxNodes": { - "type": "integer", - "format": "int32", - "description": "User needs to set the maximum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes." - }, - "pollInterval": { - "type": "integer", - "format": "int32", - "description": "User can specify the poll interval, this is the time period (in seconds) after which scaling metrics are polled for triggering a scaling operation." - }, - "cooldownPeriod": { - "type": "integer", - "format": "int32", - "description": "This is a cool down period, this is a time period in seconds, which determines the amount of time that must elapse between a scaling activity started by a rule and the start of the next scaling activity, regardless of the rule that triggers it. The default value is 300 seconds." - }, - "scalingRules": { - "type": "array", - "description": "The scaling rules.", - "items": { - "$ref": "#/definitions/ScalingRule" - }, - "x-ms-identifiers": [] - } - } - }, - "ScalingRule": { - "type": "object", - "description": "The scaling rule.", - "required": [ - "actionType", - "comparisonRule", - "evaluationCount", - "scalingMetric" - ], - "properties": { - "actionType": { - "type": "string", - "description": "The action type.", - "enum": [ - "scaleup", - "scaledown" - ], - "x-ms-enum": { - "name": "ScaleActionType", - "modelAsString": true - } - }, - "evaluationCount": { - "type": "integer", - "format": "int32", - "description": "This is an evaluation count for a scaling condition, the number of times a trigger condition should be successful, before scaling activity is triggered." - }, - "scalingMetric": { - "type": "string", - "description": "Metrics name for individual workloads. For example: cpu" - }, - "comparisonRule": { - "$ref": "#/definitions/ComparisonRule" - } - } - }, - "ComparisonRule": { - "type": "object", - "description": "The comparison rule.", - "required": [ - "operator", - "threshold" - ], - "properties": { - "operator": { - "type": "string", - "description": "The comparison operator.", - "enum": [ - "greaterThan", - "greaterThanOrEqual", - "lessThan", - "lessThanOrEqual" - ], - "x-ms-enum": { - "name": "ComparisonOperator", - "modelAsString": true - } - }, - "threshold": { - "type": "number", - "description": "Threshold setting." - } - } - }, - "TrinoProfile": { - "type": "object", - "description": "Trino Cluster profile.", - "properties": { - "catalogOptions": { - "$ref": "#/definitions/CatalogOptions" - }, - "coordinator": { - "$ref": "#/definitions/TrinoCoordinator" - }, - "userPluginsSpec": { - "$ref": "#/definitions/TrinoUserPlugins" - }, - "userTelemetrySpec": { - "$ref": "#/definitions/TrinoUserTelemetry" - }, - "worker": { - "$ref": "#/definitions/TrinoWorker" - } - } - }, - "CatalogOptions": { - "type": "object", - "description": "Trino cluster catalog options.", - "properties": { - "hive": { - "type": "array", - "description": "hive catalog options.", - "items": { - "$ref": "#/definitions/HiveCatalogOption" - }, - "x-ms-identifiers": [] - } - } - }, - "HiveCatalogOption": { - "type": "object", - "description": "Hive Catalog Option", - "required": [ - "catalogName", - "metastoreDbConnectionURL", - "metastoreDbConnectionUserName", - "metastoreDbConnectionPasswordSecret", - "metastoreWarehouseDir" - ], - "properties": { - "catalogName": { - "description": "Name of trino catalog which should use specified hive metastore.", - "minLength": 1, - "type": "string" - }, - "metastoreDbConnectionPasswordSecret": { - "description": "Secret reference name from secretsProfile.secrets containing password for database connection.", - "type": "string" - }, - "metastoreDbConnectionURL": { - "description": "Connection string for hive metastore database.", - "type": "string" - }, - "metastoreDbConnectionUserName": { - "description": "User name for database connection.", - "type": "string" - }, - "metastoreWarehouseDir": { - "description": "Metastore root directory URI, format: abfs[s]://@.dfs.core.windows.net/. More details: https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction-abfs-uri", - "type": "string" - } - } - }, - "FlinkCatalogOptions": { - "type": "object", - "description": "Flink cluster catalog options.", - "properties": { - "hive": { - "$ref": "#/definitions/FlinkHiveCatalogOption" - } - } - }, - "FlinkHiveCatalogOption": { - "type": "object", - "description": "Hive Catalog Option for Flink cluster.", - "required": [ - "metastoreDbConnectionURL", - "metastoreDbConnectionUserName", - "metastoreDbConnectionPasswordSecret" - ], - "properties": { - "metastoreDbConnectionPasswordSecret": { - "description": "Secret reference name from secretsProfile.secrets containing password for database connection.", - "type": "string" - }, - "metastoreDbConnectionURL": { - "description": "Connection string for hive metastore database.", - "type": "string" - }, - "metastoreDbConnectionUserName": { - "description": "User name for database connection.", - "type": "string" - } - } - }, - "TrinoCoordinator": { - "type": "object", - "description": "Trino Coordinator.", - "properties": { - "debug": { - "$ref": "#/definitions/TrinoDebugConfig", - "x-ms-client-flatten": true - }, - "highAvailabilityEnabled": { - "type": "boolean", - "description": "The flag that if enable coordinator HA, uses multiple coordinator replicas with auto failover, one per each head node. Default: true.", - "default": true - } - } - }, - "TrinoWorker": { - "type": "object", - "description": "Trino worker.", - "properties": { - "debug": { - "$ref": "#/definitions/TrinoDebugConfig", - "x-ms-client-flatten": true - } - } - }, - "TrinoDebugConfig": { - "type": "object", - "description": "Trino debug configuration.", - "properties": { - "enable": { - "type": "boolean", - "description": "The flag that if enable debug or not.", - "default": false - }, - "port": { - "type": "integer", - "format": "int32", - "description": "The debug port.", - "default": 8008 - }, - "suspend": { - "type": "boolean", - "description": "The flag that if suspend debug or not.", - "default": false - } - } - }, - "TrinoUserTelemetry": { - "type": "object", - "description": "User telemetry", - "properties": { - "storage": { - "$ref": "#/definitions/TrinoTelemetryConfig" - } - } - }, - "TrinoTelemetryConfig": { - "type": "object", - "description": "Trino user telemetry definition.", - "properties": { - "hivecatalogName": { - "type": "string", - "description": "Hive Catalog name used to mount external tables on the logs written by trino, if not specified there tables are not created.", - "minLength": 1 - }, - "hivecatalogSchema": { - "type": "string", - "description": "Schema of the above catalog to use, to mount query logs as external tables, if not specified tables will be mounted under schema trinologs.", - "default": "trinologs" - }, - "partitionRetentionInDays": { - "type": "integer", - "description": "Retention period for query log table partitions, this doesn't have any affect on actual data.", - "format": "int32", - "default": 365 - }, - "path": { - "type": "string", - "description": "Azure storage location of the blobs.", - "minLength": 1 - } - } - }, - "TrinoUserPlugins": { - "type": "object", - "description": "Trino user plugins spec", - "properties": { - "plugins": { - "type": "array", - "description": "Trino user plugins.", - "items": { - "$ref": "#/definitions/TrinoUserPlugin" - }, - "x-ms-identifiers": [] - } - } - }, - "TrinoUserPlugin": { - "type": "object", - "description": "Trino user plugin.", - "properties": { - "enabled": { - "type": "boolean", - "description": "Denotes whether the plugin is active or not." - }, - "name": { - "type": "string", - "description": "This field maps to the sub-directory in trino plugins location, that will contain all the plugins under path.", - "minLength": 1 - }, - "path": { - "type": "string", - "description": "Fully qualified path to the folder containing the plugins.", - "minLength": 1, - "pattern": "^(https)|(abfss)://.*$" - } - } - }, - "SparkProfile": { - "type": "object", - "description": "The spark cluster profile.", - "properties": { - "defaultStorageUrl": { - "type": "string", - "description": "The default storage URL." - }, - "metastoreSpec": { - "$ref": "#/definitions/SparkMetastoreSpec" - }, - "userPluginsSpec": { - "$ref": "#/definitions/SparkUserPlugins" - } - } - }, - "SparkUserPlugins": { - "type": "object", - "description": "Spark user plugins spec", - "properties": { - "plugins": { - "type": "array", - "description": "Spark user plugins.", - "items": { - "$ref": "#/definitions/SparkUserPlugin" - }, - "x-ms-identifiers": [] - } - } - }, - "SparkUserPlugin": { - "type": "object", - "description": "Spark user plugin.", - "required": [ - "path" - ], - "properties": { - "path": { - "type": "string", - "description": "Fully qualified path to the folder containing the plugins.", - "minLength": 1, - "pattern": "^(https)|(abfss)://.*$" - } - } - }, - "ScriptActionProfiles": { - "type": "array", - "description": "The script action profile list.", - "items": { - "$ref": "#/definitions/ScriptActionProfile" - }, - "x-ms-identifiers": [] - }, - "ScriptActionProfile": { - "type": "object", - "description": "The script action profile.", - "required": [ - "name", - "type", - "url", - "services" - ], - "properties": { - "type": { - "type": "string", - "description": "Type of the script action. Supported type is bash scripts." - }, - "name": { - "type": "string", - "description": "Script name." - }, - "url": { - "type": "string", - "description": "Url of the script file.", - "pattern": "^(https)|(http)|(abfss)|(abfs)|(wasbs)|(wasb)://.*$" - }, - "parameters": { - "type": "string", - "description": "Additional parameters for the script action. It should be space-separated list of arguments required for script execution." - }, - "services": { - "items": { - "type": "string" - }, - "type": "array", - "description": "List of services to apply the script action." - }, - "timeoutInMinutes": { - "type": "integer", - "format": "int32", - "description": "Timeout duration for the script action in minutes." - }, - "shouldPersist": { - "type": "boolean", - "default": true, - "description": "Specify if the script should persist on the cluster." - } - } - }, - "SparkMetastoreSpec": { - "type": "object", - "description": "The metastore specification for Spark cluster.", - "required": [ - "dbServerHost", - "dbName", - "dbUserName", - "dbPasswordSecretName", - "keyVaultId" - ], - "properties": { - "dbServerHost": { - "type": "string", - "description": "The database server host." - }, - "dbName": { - "type": "string", - "description": "The database name." - }, - "dbUserName": { - "type": "string", - "description": "The database user name." - }, - "dbPasswordSecretName": { - "type": "string", - "description": "The secret name which contains the database user password." - }, - "keyVaultId": { - "type": "string", - "description": "The key vault resource id." - }, - "thriftUrl": { - "type": "string", - "description": "The thrift url." - } - } - }, - "FlinkProfile": { - "type": "object", - "description": "The Flink cluster profile.", - "required": [ - "storage", - "jobManager", - "taskManager" - ], - "properties": { - "storage": { - "$ref": "#/definitions/FlinkStorageProfile" - }, - "numReplicas": { - "type": "integer", - "format": "int32", - "description": "The number of task managers." - }, - "jobManager": { - "description": "Job Manager container/ process CPU and memory requirements", - "$ref": "#/definitions/ComputeResourceDefinition" - }, - "historyServer": { - "description": "History Server container/ process CPU and memory requirements", - "$ref": "#/definitions/ComputeResourceDefinition" - }, - "taskManager": { - "description": "Task Manager container/ process CPU and memory requirements", - "$ref": "#/definitions/ComputeResourceDefinition" - }, - "catalogOptions": { - "$ref": "#/definitions/FlinkCatalogOptions" - } - } - }, - "FlinkStorageProfile": { - "type": "object", - "description": "The storage profile", - "required": [ - "storageUri" - ], - "properties": { - "storageUri": { - "type": "string", - "pattern": "^(\\w{4,5})://(.*)@(.*).\\b(blob|dfs)\\b\\.core\\.windows\\.net$", - "description": "Storage account uri which is used for savepoint and checkpoint state." - }, - "storagekey": { - "type": "string", - "description": "Storage key is only required for wasb(s) storage.", - "x-ms-secret": true - } - } - }, - "ComputeResourceDefinition": { - "type": "object", - "description": "The cpu and memory requirement definition.", - "required": [ - "cpu", - "memory" - ], - "properties": { - "cpu": { - "type": "number", - "format": "float", - "description": "The required CPU." - }, - "memory": { - "type": "integer", - "format": "int64", - "description": "The required memory in MB, Container memory will be 110 percentile" - } - } - }, - "ClusterResourceProperties": { - "type": "object", - "required": [ - "clusterType", - "computeProfile", - "clusterProfile" - ], - "properties": { - "provisioningState": { - "description": "Provisioning state of the resource.", - "type": "string", - "enum": [ - "Accepted", - "Succeeded", - "Canceled", - "Failed" - ], - "x-ms-enum": { - "name": "ProvisioningStatus", - "modelAsString": true - }, - "readOnly": true - }, - "clusterType": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The type of cluster.", - "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,31}$" - }, - "deploymentId": { - "type": "string", - "description": "A unique id generated by the RP to identify the resource.", - "example": "45cd32aead6e4a91b079a0cdbfac8c36", - "readOnly": true - }, - "computeProfile": { - "description": "The compute profile.", - "$ref": "#/definitions/ComputeProfile" - }, - "clusterProfile": { - "$ref": "#/definitions/ClusterProfile" - }, - "status": { - "type": "string", - "description": "Business status of the resource.", - "example": "Running", - "readOnly": true - } - }, - "description": "Cluster resource properties." - }, - "ComputeProfile": { - "type": "object", - "description": "The compute profile.", - "required": [ - "nodes" - ], - "properties": { - "nodes": { - "type": "array", - "description": "The nodes definitions.", - "items": { - "$ref": "#/definitions/NodeProfile" - }, - "x-ms-identifiers": [] - } - } - }, - "NodeProfile": { - "type": "object", - "description": "The node profile.", - "required": [ - "type", - "vmSize", - "count" - ], - "properties": { - "type": { - "type": "string", - "description": "The node type.", - "pattern": "^(head|Head|HEAD|worker|Worker|WORKER)$" - }, - "vmSize": { - "type": "string", - "description": "The virtual machine SKU.", - "pattern": "^[a-zA-Z0-9_\\-]{0,256}$" - }, - "count": { - "description": "The number of virtual machines.", - "type": "integer", - "format": "int32", - "minimum": 1.0 - } - } - }, - "Cluster": { - "type": "object", - "description": "The cluster.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Gets or sets the properties. Define cluster specific properties.", - "$ref": "#/definitions/ClusterResourceProperties" - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "SystemData of cluster.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "ClusterPatch": { - "type": "object", - "description": "The patch for a cluster.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Define cluster patch specific properties.", - "$ref": "#/definitions/ClusterPatchProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "ClusterPatchProperties": { - "type": "object", - "description": "Cluster resource patch data.", - "properties": { - "clusterProfile": { - "$ref": "#/definitions/UpdatableClusterProfile" - } - } - }, - "UpdatableClusterProfile": { - "type": "object", - "properties": { - "serviceConfigsProfiles": { - "type": "array", - "description": "The service configs profiles.", - "items": { - "$ref": "#/definitions/ClusterServiceConfigsProfile" - }, - "x-ms-identifiers": [] - }, - "sshProfile": { - "$ref": "#/definitions/SshProfile" - }, - "autoscaleProfile": { - "$ref": "#/definitions/AutoscaleProfile" - }, - "authorizationProfile": { - "$ref": "#/definitions/AuthorizationProfile" - }, - "logAnalyticsProfile": { - "$ref": "#/definitions/ClusterLogAnalyticsProfile" - }, - "prometheusProfile": { - "$ref": "#/definitions/ClusterPrometheusProfile" - }, - "scriptActionProfiles": { - "$ref": "#/definitions/ScriptActionProfiles" - } - }, - "description": "Cluster resource patch properties." - }, - "ClusterResizeData": { - "type": "object", - "description": "The parameters for resizing a cluster.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Sets the properties. Define cluster resize specific properties.", - "$ref": "#/definitions/ClusterResizeProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "ClusterResizeProperties": { - "type": "object", - "description": "The properties for resizing a cluster.", - "required": [ - "targetWorkerNodeCount" - ], - "properties": { - "targetWorkerNodeCount": { - "type": "integer", - "format": "int32", - "description": "Target node count of worker node." - } - } - }, - "ServiceConfigListResult": { - "type": "object", - "description": "Cluster instance service configs api response.", - "properties": { - "value": { - "type": "array", - "description": "Cluster instance service config array.", - "items": { - "$ref": "#/definitions/ServiceConfigResult" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - } - }, - "ServiceConfigResult": { - "type": "object", - "description": "Cluster instance service config.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Cluster instance service config properties.", - "allOf": [ - { - "$ref": "#/definitions/ServiceConfigListResultProperties" - } - ] - } - } - }, - "ServiceConfigListResultProperties": { - "type": "object", - "properties": { - "serviceName": { - "type": "string", - "description": "Service Config Name." - }, - "fileName": { - "type": "string", - "description": "File Name." - }, - "content": { - "type": "string", - "description": "Content in the service config file." - }, - "componentName": { - "type": "string", - "description": "Component Name." - }, - "type": { - "type": "string", - "description": "Config type." - }, - "path": { - "type": "string", - "description": "Config file path." - }, - "customKeys": { - "type": "object", - "description": "The custom keys.", - "additionalProperties": { - "type": "string" - } - }, - "defaultKeys": { - "type": "object", - "description": "The default keys.", - "additionalProperties": { - "$ref": "#/definitions/ServiceConfigListResultValueEntity" - } - } - }, - "required": [ - "serviceName", - "componentName", - "fileName" - ], - "description": "Service config response." - }, - "ServiceConfigListResultValueEntity": { - "type": "object", - "description": "Default config details.", - "properties": { - "value": { - "type": "string", - "description": "Config value." - }, - "description": { - "type": "string", - "description": "Config description." - } - }, - "required": [ - "value" - ] - }, - "ClusterInstanceViewsResult": { - "type": "object", - "properties": { - "value": { - "items": { - "$ref": "#/definitions/ClusterInstanceViewResult" - }, - "type": "array", - "description": "Cluster instance view array.", - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "The link (url) to the next page of results.", - "type": "string", - "readOnly": true - } - }, - "description": "The instance view of a HDInsight Cluster." - }, - "ClusterInstanceViewResult": { - "type": "object", - "description": "Cluster Instance View.", - "required": [ - "name", - "properties" - ], - "properties": { - "name": { - "type": "string", - "description": "Name of the instance view." - }, - "properties": { - "description": "Properties of the instance view.", - "x-ms-client-flatten": true, - "allOf": [ - { - "$ref": "#/definitions/ClusterInstanceViewProperties" - } - ] - } - } - }, - "ClusterInstanceViewProperties": { - "type": "object", - "description": "Cluster Instance View Properties.", - "required": [ - "status", - "serviceStatuses" - ], - "properties": { - "status": { - "description": "Status of the instance view.", - "allOf": [ - { - "$ref": "#/definitions/ClusterInstanceViewStatus" - } - ] - }, - "serviceStatuses": { - "type": "array", - "description": "List of statuses of relevant services that make up the HDInsight on aks cluster to surface to the customer.", - "items": { - "$ref": "#/definitions/ServiceStatus" - }, - "x-ms-identifiers": [] - } - } - }, - "ClusterInstanceViewStatus": { - "type": "object", - "description": "Status of the instance view.", - "required": [ - "ready" - ], - "properties": { - "ready": { - "type": "string", - "description": "The cluster ready status" - }, - "reason": { - "type": "string", - "description": "The status reason." - }, - "message": { - "type": "string", - "description": "The additional message." - } - } - }, - "ServiceStatus": { - "type": "object", - "description": "Describes the status of a service of a HDInsight on aks cluster.", - "required": [ - "kind", - "ready" - ], - "properties": { - "kind": { - "type": "string", - "description": "Kind of the service. E.g. \"Zookeeper\"." - }, - "ready": { - "type": "string", - "description": "Indicates if the service is ready / healthy. Values can be \"true\", \"false\", \"unknown\" or anything else." - }, - "message": { - "type": "string", - "description": "A message describing the error if any." - } - } - }, - "NameAvailabilityParameters": { - "description": "Details of check name availability request body.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name for checking availability." - }, - "type": { - "type": "string", - "description": "The resource type in Microsoft.HDInsight." - } - } - }, - "NameAvailabilityResult": { - "description": "Result of check name availability.", - "type": "object", - "properties": { - "nameAvailable": { - "type": "boolean", - "description": "Indicator of availability of the Microsoft.HDInsight resource name." - }, - "reason": { - "type": "string", - "description": "The reason of unavailability." - }, - "message": { - "type": "string", - "description": "The error message of unavailability." - } - } - }, - "ClusterPoolVersionPattern": { - "type": "string", - "description": "Cluster pool version is a 2-part version.", - "example": "1.2", - "pattern": "^(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})$" - }, - "ClusterPoolVersionsListResult": { - "type": "object", - "description": "Represents a list of cluster pool versions.", - "properties": { - "value": { - "type": "array", - "description": "The list of cluster pool versions.", - "items": { - "$ref": "#/definitions/ClusterPoolVersion" - } - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - } - }, - "ClusterPoolVersion": { - "type": "object", - "description": "Available cluster pool version.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Cluster pool version properties.", - "$ref": "#/definitions/ClusterPoolVersionProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterPoolVersionProperties": { - "type": "object", - "description": "Cluster pool version properties.", - "properties": { - "clusterPoolVersion": { - "$ref": "#/definitions/ClusterPoolVersionPattern" - }, - "aksVersion": { - "type": "string", - "description": "AKS version.", - "example": "1.24" - }, - "isPreview": { - "type": "boolean", - "description": "Indicate if this version is in preview or not.", - "default": false - } - } - }, - "ThreePartVersionPattern": { - "type": "string", - "description": "Version with three part.", - "example": "1.0.4", - "pattern": "^(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})$" - }, - "ThreeOrFourPartVersionPattern": { - "type": "string", - "description": "Version with 3/4 part.", - "example": "1.0.4", - "pattern": "^(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})(?:\\.(0|[1-9][0-9]{0,18}))?$" - }, - "ClusterVersionsListResult": { - "type": "object", - "description": "Represents a list of cluster versions.", - "properties": { - "value": { - "type": "array", - "description": "The list of cluster versions.", - "items": { - "$ref": "#/definitions/ClusterVersion" - } - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - } - }, - "ClusterVersion": { - "type": "object", - "description": "Available cluster version.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Cluster version properties.", - "$ref": "#/definitions/ClusterVersionProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterVersionProperties": { - "type": "object", - "description": "Cluster version properties.", - "properties": { - "clusterType": { - "type": "string", - "description": "The type of cluster.", - "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,31}$" - }, - "clusterVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "ossVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "clusterPoolVersion": { - "type": "string", - "description": "The two part cluster pool version. If the cluster version is before cluster pool version on-board, the return value will be empty string", - "example": "1.0" - }, - "isPreview": { - "type": "boolean", - "description": "Indicate if this version is in preview or not.", - "default": false - }, - "components": { - "$ref": "#/definitions/ClusterComponents" - } - } - }, - "ClusterComponents": { - "type": "array", - "description": "Component list of this cluster type and version.", - "readOnly": true, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "x-ms-identifiers": [], - "example": [ - { - "name": "HDFS", - "version": "1.2.3" - }, - { - "name": "HIVE", - "version": "1.2.3" - } - ] - }, - "ClusterJobList": { - "description": "Collection of cluster job.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "Collection of cluster job.", - "uniqueItems": false, - "items": { - "$ref": "#/definitions/ClusterJob" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "The Url of next result page.", - "type": "string" - } - } - }, - "ClusterJob": { - "description": "Cluster job.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterJobProperties" - } - } - }, - "ClusterJobProperties": { - "description": "Properties of cluster job.", - "type": "object", - "properties": { - "jobType": { - "description": "Type of cluster job.", - "enum": [ - "FlinkJob" - ], - "type": "string", - "x-ms-enum": { - "name": "jobType", - "modelAsString": true - } - } - }, - "discriminator": "jobType", - "required": [ - "jobType" - ] - }, - "FlinkJobProperties": { - "description": "Properties of flink job.", - "type": "object", - "required": [ - "jobName" - ], - "allOf": [ - { - "$ref": "#/definitions/ClusterJobProperties" - } - ], - "properties": { - "jobName": { - "description": "Name of job", - "type": "string" - }, - "jobJarDirectory": { - "description": "A string property that specifies the directory where the job JAR is located.", - "type": "string" - }, - "jarName": { - "description": "A string property that represents the name of the job JAR.", - "type": "string" - }, - "entryClass": { - "description": "A string property that specifies the entry class for the Flink job.", - "type": "string" - }, - "args": { - "description": "A string property representing additional JVM arguments for the Flink job. It should be space separated value.", - "type": "string" - }, - "savePointName": { - "description": "A string property that represents the name of the savepoint for the Flink job", - "type": "string" - }, - "action": { - "description": "A string property that indicates the action to be performed on the Flink job. It can have one of the following enum values => NEW, UPDATE, STATELESS_UPDATE, STOP, START, CANCEL, SAVEPOINT, LIST_SAVEPOINT, or DELETE.", - "type": "string", - "enum": [ - "NEW", - "UPDATE", - "STATELESS_UPDATE", - "STOP", - "START", - "CANCEL", - "SAVEPOINT", - "LIST_SAVEPOINT", - "DELETE" - ], - "x-ms-enum": { - "name": "action", - "modelAsString": true - } - }, - "flinkConfiguration": { - "description": "Additional properties used to configure Flink jobs. It allows users to set properties such as parallelism and jobSavePointDirectory. It accepts additional key-value pairs as properties, where the keys are strings and the values are strings as well.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "jobId": { - "description": "Unique id for identifying a job", - "type": "string", - "readOnly": true - }, - "status": { - "description": "Status of job.", - "type": "string", - "readOnly": true - }, - "jobOutput": { - "description": "Output of job.", - "type": "string", - "readOnly": true - }, - "actionResult": { - "description": "Action result of job.", - "type": "string", - "readOnly": true - }, - "lastSavePoint": { - "description": "The last savepoint.", - "type": "string", - "readOnly": true - } - }, - "x-ms-discriminator-value": "FlinkJob" - } - }, - "parameters": { - "ClusterPoolNameParameter": { - "name": "clusterPoolName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster pool.", - "x-ms-parameter-location": "method" - }, - "ClusterNameParameter": { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the HDInsight cluster.", - "x-ms-parameter-location": "method" - }, - "ClusterTypeNameParameter": { - "name": "clusterTypeName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the HDInsight on aks cluster type.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateAutoscaleCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateAutoscaleCluster.json deleted file mode 100644 index bda5723d3d02..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateAutoscaleCluster.json +++ /dev/null @@ -1,354 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "HDInsightCluster": { - "location": "West US 2", - "properties": { - "clusterType": "Trino", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2 - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "components": [ - { - "name": "Trino", - "version": "410" - }, - { - "name": "Hive metastore", - "version": "3.1.2" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Accepted", - "clusterType": "Trino", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateClusterPool.json deleted file mode 100644 index 6b62459601aa..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateClusterPool.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "ClusterPool": { - "location": "West US 2", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Accepted", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateClusterPoolWithPrivateAks.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateClusterPoolWithPrivateAks.json deleted file mode 100644 index f8e004e9bfb5..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateClusterPoolWithPrivateAks.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "ClusterPool": { - "location": "West US 2", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2" - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "enablePrivateApiServer": true - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "enablePrivateApiServer": true - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Accepted", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "enablePrivateApiServer": true - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateClusterPoolWithUDRAks.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateClusterPoolWithUDRAks.json deleted file mode 100644 index 6379c0cd473b..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateClusterPoolWithUDRAks.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "ClusterPool": { - "location": "West US 2", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2" - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "outboundType": "userDefinedRouting" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "outboundType": "userDefinedRouting" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Accepted", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "outboundType": "userDefinedRouting" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateRangerCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateRangerCluster.json deleted file mode 100644 index 46cba6645d3f..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateRangerCluster.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "HDInsightCluster": { - "location": "West US 2", - "properties": { - "clusterType": "ranger", - "computeProfile": { - "nodes": [ - { - "type": "head", - "vmSize": "Standard_D3_v2", - "count": 2 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "ranger", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "head", - "vmSize": "Standard_D3_v2", - "count": 2 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - } - }, - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Accepted", - "clusterType": "ranger", - "computeProfile": { - "nodes": [ - { - "type": "head", - "vmSize": "Standard_D3_v2", - "count": 2 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - } - }, - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateSparkCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateSparkCluster.json deleted file mode 100644 index 9ec97e0386cb..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateSparkCluster.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "HDInsightCluster": { - "location": "West US 2", - "properties": { - "clusterType": "spark", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "sparkProfile": {}, - "sshProfile": { - "count": 2 - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "spark", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Accepted", - "clusterType": "spark", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateSparkClusterWithInternalIngress.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateSparkClusterWithInternalIngress.json deleted file mode 100644 index dc440404470c..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/CreateSparkClusterWithInternalIngress.json +++ /dev/null @@ -1,331 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "HDInsightCluster": { - "location": "West US 2", - "properties": { - "clusterType": "spark", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "sparkProfile": {}, - "sshProfile": { - "count": 2 - }, - "clusterAccessProfile": { - "enableInternalIngress": true - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "spark", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net", - "privateFqdn": "cluster1-int.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0", - "privateSshEndpoint": "cluster1-int.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1", - "privateSshEndpoint": "cluster1-int.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "clusterAccessProfile": { - "enableInternalIngress": true, - "privateLinkServiceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/privateLinkServices/testpls" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Accepted", - "clusterType": "spark", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net", - "privateFqdn": "cluster1-int.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0", - "privateSshEndpoint": "cluster1-int.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1", - "privateSshEndpoint": "cluster1-int.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "clusterAccessProfile": { - "enableInternalIngress": true, - "privateLinkServiceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/privateLinkServices/testpls" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/DeleteCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/DeleteCluster.json deleted file mode 100644 index dc34dd121621..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/DeleteCluster.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "rg1", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1" - }, - "responses": { - "200": {}, - "202": { - "description": "Cluster delete request accepted.", - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/DeleteClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/DeleteClusterPool.json deleted file mode 100644 index 226d182b098e..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/DeleteClusterPool.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "rg1", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": {}, - "202": { - "description": "Cluster Pool delete request accepted.", - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetCluster.json deleted file mode 100644 index ef3dd6469186..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetCluster.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "components": [ - { - "name": "Trino", - "version": "410" - }, - { - "name": "Hive metastore", - "version": "3.1.2" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetClusterInstanceView.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetClusterInstanceView.json deleted file mode 100644 index 5e9a1173929b..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetClusterInstanceView.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2023-11-01-preview", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "clusterPoolName": "clusterPool1" - }, - "responses": { - "200": { - "body": { - "name": "default", - "properties": { - "status": { - "ready": "True", - "reason": "", - "message": "" - }, - "serviceStatuses": [ - { - "kind": "ZooKeeper", - "ready": "true", - "message": "" - } - ] - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetClusterPool.json deleted file mode 100644 index b8b6b322e021..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetClusterPool.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetOperations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetOperations.json deleted file mode 100644 index 475a285c9d0c..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/GetOperations.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "resourceGroup1", - "api-version": "2023-11-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.HDInsight/clusterpool/read", - "isDataAction": false, - "display": { - "provider": "HDInsight on AKS", - "resource": "Cluster Pool.", - "operation": "Get Cluster Pool Operation result.", - "description": "Get any cluster pool." - }, - "origin": "user, system" - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListAvailableClusterPoolVersions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListAvailableClusterPoolVersions.json deleted file mode 100644 index 70e74845dc0a..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListAvailableClusterPoolVersions.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "location": "westus2", - "api-version": "2023-11-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterpoolversions/1.0", - "name": "1.0", - "properties": { - "clusterPoolVersion": "1.0", - "aksVersion": "1.24", - "isPreview": false - } - }, - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterpoolversions/1.1", - "name": "1.1", - "properties": { - "clusterPoolVersion": "1.1", - "aksVersion": "1.25", - "isPreview": false - } - }, - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterpoolversions/1.2", - "name": "1.2", - "properties": { - "clusterPoolVersion": "1.2", - "aksVersion": "1.26", - "isPreview": true - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListAvailableClusterVersions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListAvailableClusterVersions.json deleted file mode 100644 index 8237b497a231..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListAvailableClusterVersions.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "location": "westus2", - "api-version": "2023-11-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterversions/flink_1.16.0-1.0.4", - "name": "flink_1.16.0-1.0.4", - "properties": { - "clusterType": "Flink", - "clusterVersion": "1.0.4", - "ossVersion": "1.16.0", - "clusterPoolVersion": "1.0", - "isPreview": false, - "components": [ - { - "name": "TaskManager", - "version": "1.16.0" - }, - { - "name": "JobManager", - "version": "1.16.0" - } - ] - } - }, - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterversions/spark_3.3.1-1.0.4", - "name": "spark_3.3.1-1.0.4", - "properties": { - "clusterType": "Spark", - "clusterVersion": "1.0.4", - "ossVersion": "3.3.1", - "clusterPoolVersion": "1.0", - "isPreview": false, - "components": [ - { - "name": "Hadoop", - "version": "3.2.3" - }, - { - "name": "Hive", - "version": "3.1.4" - } - ] - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterAvailableUpgrades.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterAvailableUpgrades.json deleted file mode 100644 index 491729ce24af..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterAvailableUpgrades.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1/availableUpgrades/AKSPatchUpgrade", - "properties": { - "upgradeType": "AKSPatchUpgrade", - "currentVersion": "1.26.3", - "currentVersionStatus": "Supported", - "latestVersion": "1.26.6" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1/availableUpgrades/hotfix1", - "properties": { - "description": "Hotfix for historyserver on version 1.16.0-1.0.6.2", - "sourceClusterVersion": "1.0.6", - "sourceOssVersion": "1.16.0", - "sourceBuildNumber": "2", - "targetClusterVersion": "1.0.6", - "targetOssVersion": "1.16.0", - "targetBuildNumber": "3", - "componentName": "historyserver", - "severity": "low", - "upgradeType": "HotfixUpgrade", - "extendedProperties": "", - "createdTime": "2023-03-29T14:13:12Z" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterInstanceViews.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterInstanceViews.json deleted file mode 100644 index 34b3d4641df7..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterInstanceViews.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2023-11-01-preview", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "clusterPoolName": "clusterPool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "default", - "properties": { - "status": { - "ready": "True", - "reason": "", - "message": "" - }, - "serviceStatuses": [ - { - "kind": "ZooKeeper", - "ready": "true", - "message": "" - } - ] - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterJobs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterJobs.json deleted file mode 100644 index 4658834c76f2..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterJobs.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "hiloResourcegroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterPool1", - "clusterName": "cluster1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1/jobs/flink-job-1", - "properties": { - "runId": "job-15a-4322-b32c-ea541845e911", - "jobType": "FlinkJob", - "jobName": "flink-job-1", - "jobJarDirectory": "jobJarDirectory1", - "jarName": "job.jar", - "entryClass": "com.microsoft.hilo.flink.job.streaming.ExampleJob", - "flinkConfiguration": { - "parallelism": "1", - "savepoint.directory": "savepoint-directory" - }, - "jobId": "362b911137dfefc2e55784666f4d4253", - "status": "RUNNING", - "jobOutput": "job-output", - "actionResult": "SUCCESS" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterPoolAvailableUpgrades.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterPoolAvailableUpgrades.json deleted file mode 100644 index e946df8f116a..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterPoolAvailableUpgrades.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/availableUpgrades/AKSPatchUpgrade", - "properties": { - "upgradeType": "AKSPatchUpgrade", - "currentVersion": "1.26.3", - "currentVersionStatus": "Deprecated", - "latestVersion": "1.26.6" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/availableUpgrades/NodeOsUpgrade", - "properties": { - "upgradeType": "NodeOsUpgrade", - "latestVersion": "AKSCBLMariner-V2gen2-202310.09.0" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterPools.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterPools.json deleted file mode 100644 index 0bfda02428f5..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterPools.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "hiloResourcegroup", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "api-version": "2023-11-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "location": "West US 2", - "tags": { - "department": "MightyMight", - "company": "Contoso" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterPoolsSubscription.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterPoolsSubscription.json deleted file mode 100644 index 59447e08b209..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterPoolsSubscription.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "api-version": "2023-11-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "location": "West US 2", - "tags": { - "department": "MightyMight", - "company": "Contoso" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterServiceConfigs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterServiceConfigs.json deleted file mode 100644 index c8c2b61ba39a..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClusterServiceConfigs.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2023-11-01-preview", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "clusterPoolName": "clusterPool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "serviceName": "hadoop-service", - "componentName": "hadoop-component", - "fileName": "capacity-scheduler.xml", - "content": "" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClustersByClusterPoolName.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClustersByClusterPoolName.json deleted file mode 100644 index 5f3cd6f733db..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ListClustersByClusterPoolName.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "components": [ - { - "name": "Trino", - "version": "410" - }, - { - "name": "Hive metastore", - "version": "3.1.2" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "location": "West US 2", - "tags": { - "department": "MightyMight", - "company": "Contoso" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/LocationsNameAvailability.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/LocationsNameAvailability.json deleted file mode 100644 index 2a2c69d2b1ba..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/LocationsNameAvailability.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "api-version": "2023-11-01-preview", - "location": "southeastasia", - "NameAvailabilityParameters": { - "name": "contosemember1", - "type": "Microsoft.HDInsight/clusterPools/clusters" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "nameAvailable": false, - "reason": "AlreadyExists" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/PatchCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/PatchCluster.json deleted file mode 100644 index 1a19d9b98aa4..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/PatchCluster.json +++ /dev/null @@ -1,455 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterPatchRequest": { - "properties": { - "clusterProfile": { - "serviceConfigsProfiles": [ - { - "serviceName": "TestService1", - "configs": [ - { - "component": "TestComp1", - "files": [ - { - "fileName": "TestFile1", - "values": { - "Test.config.1": "1", - "Test.config.2": "2" - } - }, - { - "fileName": "TestFile2", - "values": { - "Test.config.3": "3", - "Test.config.4": "4" - } - } - ] - }, - { - "component": "TestComp2", - "files": [ - { - "fileName": "TestFile3", - "content": "TestContent", - "path": "TestPath" - }, - { - "fileName": "TestFile4", - "values": { - "Test.config.7": "7", - "Test.config.8": "8" - } - } - ] - } - ] - }, - { - "serviceName": "TestService2", - "configs": [ - { - "component": "TestComp3", - "files": [ - { - "fileName": "TestFile5", - "values": { - "Test.config.9": "9" - } - } - ] - } - ] - } - ], - "sshProfile": { - "count": 2 - }, - "authorizationProfile": { - "userIds": [ - "Testuser1", - "Testuser2" - ] - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": -1, - "scheduleBasedConfig": { - "defaultCount": 3, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday, Tuesday, Wednesday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - } - ] - } - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "location": "West US 2", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "serviceConfigsProfiles": [ - { - "serviceName": "TestService1", - "configs": [ - { - "component": "TestComp1", - "files": [ - { - "fileName": "TestFile1", - "values": { - "Test.config.1": "1", - "Test.config.2": "2" - } - }, - { - "fileName": "TestFile2", - "values": { - "Test.config.3": "3", - "Test.config.4": "4" - } - } - ] - }, - { - "component": "TestComp2", - "files": [ - { - "fileName": "TestFile3", - "content": "TestContent", - "path": "TestPath" - }, - { - "fileName": "TestFile4", - "values": { - "Test.config.7": "7", - "Test.config.8": "8" - } - } - ] - } - ] - }, - { - "serviceName": "TestService2", - "configs": [ - { - "component": "TestComp3", - "files": [ - { - "fileName": "TestFile5", - "values": { - "Test.config.9": "9" - } - } - ] - } - ] - } - ], - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": -1, - "scheduleBasedConfig": { - "defaultCount": 3, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday, Tuesday, Wednesday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - } - ] - } - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "http://management.azure.com/providers/Microsoft.HDInsight/locations/EASTUS/operationStatuses/676c3c86-188d-4591-9b55-c4298b4a1279?api-version=2023-11-01-preview" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "location": "West US 2", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "serviceConfigsProfiles": [ - { - "serviceName": "TestService1", - "configs": [ - { - "component": "TestComp1", - "files": [ - { - "fileName": "TestFile1", - "values": { - "Test.config.1": "1", - "Test.config.2": "2" - } - }, - { - "fileName": "TestFile2", - "values": { - "Test.config.3": "3", - "Test.config.4": "4" - } - } - ] - }, - { - "component": "TestComp2", - "files": [ - { - "fileName": "TestFile3", - "content": "TestContent", - "path": "TestPath" - }, - { - "fileName": "TestFile4", - "values": { - "Test.config.7": "7", - "Test.config.8": "8" - } - } - ] - } - ] - }, - { - "serviceName": "TestService2", - "configs": [ - { - "component": "TestComp3", - "files": [ - { - "fileName": "TestFile5", - "values": { - "Test.config.9": "9" - } - } - ] - } - ] - } - ], - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": -1, - "scheduleBasedConfig": { - "defaultCount": 3, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday, Tuesday, Wednesday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - } - ] - } - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/PatchClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/PatchClusterPool.json deleted file mode 100644 index 2b2de7073b70..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/PatchClusterPool.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterPoolTags": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/PatchRangerCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/PatchRangerCluster.json deleted file mode 100644 index e9eb705b75cf..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/PatchRangerCluster.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterPatchRequest": { - "properties": { - "clusterProfile": { - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "location": "West US 2", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "ranger", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "head", - "vmSize": "Standard_D3_v2", - "count": 2 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.1", - "ossVersion": "2.4.1", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - } - }, - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "http://management.azure.com/providers/Microsoft.HDInsight/locations/EASTUS/operationStatuses/676c3c86-188d-4591-9b55-c4298b4a1279?api-version=2023-11-01-preview" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "location": "West US 2", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "ranger", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "head", - "vmSize": "Standard_D3_v2", - "count": 2 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.1", - "ossVersion": "2.4.1", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - } - }, - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ResizeCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ResizeCluster.json deleted file mode 100644 index 0dc302d60775..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/ResizeCluster.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterResizeRequest": { - "location": "West US 2", - "properties": { - "targetWorkerNodeCount": 5 - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 5 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/RunClusterJob.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/RunClusterJob.json deleted file mode 100644 index 8691574838dd..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/RunClusterJob.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterJob": { - "properties": { - "jobType": "FlinkJob", - "jobName": "flink-job-name", - "action": "START", - "jobJarDirectory": "abfs://flinkjob@hilosa.dfs.core.windows.net/jars", - "jarName": "flink-sleep-job-0.0.1-SNAPSHOT.jar", - "entryClass": "com.microsoft.hilo.flink.job.streaming.SleepJob", - "flinkConfiguration": { - "parallelism": "1", - "savepoint.directory": "abfs://flinkjob@hilosa.dfs.core.windows.net/savepoint" - } - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "properties": { - "runId": "job-15a-4322-b32c-ea541845e911", - "jobType": "FlinkJob", - "jobName": "flink-job-name", - "action": "START", - "jobJarDirectory": "abfs://flinkjob@hilosa.dfs.core.windows.net/jars", - "jarName": "flink-sleep-job-0.0.1-SNAPSHOT.jar", - "entryClass": "com.microsoft.hilo.flink.job.streaming.SleepJob", - "flinkConfiguration": { - "parallelism": "1", - "savepoint.directory": "abfs://flinkjob@hilosa.dfs.core.windows.net/savepoint" - } - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeAKSPatchVersionForCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeAKSPatchVersionForCluster.json deleted file mode 100644 index 9661f5aeae9a..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeAKSPatchVersionForCluster.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterUpgradeRequest": { - "properties": { - "upgradeType": "AKSPatchUpgrade" - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.1", - "ossVersion": "2.4.1", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeAKSPatchVersionForClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeAKSPatchVersionForClusterPool.json deleted file mode 100644 index a3c8bb60aca2..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeAKSPatchVersionForClusterPool.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "ClusterPoolUpgradeRequest": { - "properties": { - "upgradeType": "AKSPatchUpgrade", - "upgradeClusterPool": true, - "upgradeAllClusterNodes": false - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeHotfixForCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeHotfixForCluster.json deleted file mode 100644 index bfb7e74dabde..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeHotfixForCluster.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterUpgradeRequest": { - "properties": { - "upgradeType": "HotfixUpgrade", - "targetOssVersion": "1.16.0", - "targetClusterVersion": "1.0.6", - "targetBuildNumber": "3", - "componentName": "historyserver" - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 3 - } - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.1", - "ossVersion": "2.4.1", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeNodeOsForClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeNodeOsForClusterPool.json deleted file mode 100644 index 7dcdcb1ade3c..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/examples/UpgradeNodeOsForClusterPool.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2023-11-01-preview", - "clusterPoolName": "clusterpool1", - "ClusterPoolUpgradeRequest": { - "properties": { - "upgradeType": "NodeOsUpgrade" - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/hdinsight.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/hdinsight.json deleted file mode 100644 index 705aa0e3d015..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-11-01-preview/hdinsight.json +++ /dev/null @@ -1,4240 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "HDInsight on AKS Management Client", - "description": "The HDInsight on AKS Management Client.", - "version": "2023-11-01-preview" - }, - "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.HDInsight/clusterpools/{clusterPoolName}": { - "get": { - "description": "Gets a cluster pool.", - "operationId": "ClusterPools_Get", - "x-ms-examples": { - "ClusterPoolGet": { - "$ref": "./examples/GetClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Clusterpool details.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "description": "Creates or updates a cluster pool.", - "operationId": "ClusterPools_CreateOrUpdate", - "x-ms-examples": { - "ClusterPoolPut": { - "$ref": "./examples/CreateClusterPool.json" - }, - "ClusterPoolPutWithPrivateAks": { - "$ref": "./examples/CreateClusterPoolWithPrivateAks.json" - }, - "ClusterPoolPutWithUDRAks": { - "$ref": "./examples/CreateClusterPoolWithUDRAks.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "name": "ClusterPool", - "description": "The Cluster Pool to create.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterPool" - } - } - ], - "responses": { - "201": { - "description": "ClusterPool is created.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "200": { - "description": "Update successful.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "description": "Updates an existing Cluster Pool Tags.", - "operationId": "ClusterPools_UpdateTags", - "x-ms-examples": { - "ClusterPoolsPatchTags": { - "$ref": "./examples/PatchClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "name": "clusterPoolTags", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TagsObject" - }, - "description": "Parameters supplied to update tags." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "description": "Deletes a Cluster Pool.", - "operationId": "ClusterPools_Delete", - "x-ms-examples": { - "ClusterPoolDelete": { - "$ref": "./examples/DeleteClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Successful." - }, - "202": { - "description": "Accepted response definition.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "No content - The Cluster Pool doesn't exist." - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusterpools": { - "get": { - "operationId": "ClusterPools_ListBySubscription", - "x-ms-examples": { - "ClusterPoolsListBySubscription": { - "$ref": "./examples/ListClusterPoolsSubscription.json" - } - }, - "description": "Gets the list of Cluster Pools within a Subscription.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Cluster Pools successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterPoolListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools": { - "get": { - "operationId": "ClusterPools_ListByResourceGroup", - "x-ms-examples": { - "ClusterPoolsListByResourceGroup": { - "$ref": "./examples/ListClusterPools.json" - } - }, - "description": "Lists the HDInsight cluster pools under a resource group.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Cluster Pools successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterPoolListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade": { - "post": { - "description": "Upgrade a cluster pool.", - "operationId": "ClusterPools_Upgrade", - "x-ms-examples": { - "ClusterPoolsUpgradeAKSPatchVersion": { - "$ref": "./examples/UpgradeAKSPatchVersionForClusterPool.json" - }, - "ClusterPoolsUpgradeNodeOs": { - "$ref": "./examples/UpgradeNodeOsForClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "name": "ClusterPoolUpgradeRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterPoolUpgrade" - }, - "description": "Upgrade a cluster pool." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "202": { - "description": "Cluster Pool Upgrade request accepted.", - "headers": { - "location": { - "type": "string", - "description": "URL to get the status of the resize operation." - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/availableUpgrades": { - "get": { - "description": "List a cluster pool available upgrade.", - "operationId": "ClusterPoolAvailableUpgrades_List", - "x-ms-examples": { - "GetClusterPoolAvailableUpgrade": { - "$ref": "./examples/ListClusterPoolAvailableUpgrades.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Clusterpool Available Upgrade details.", - "schema": { - "$ref": "#/definitions/ClusterPoolAvailableUpgradeList" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters": { - "get": { - "operationId": "Clusters_ListByClusterPoolName", - "description": "Lists the HDInsight cluster pools under a resource group.", - "x-ms-examples": { - "HDInsightClustersListByClusterPoolName": { - "$ref": "./examples/ListClustersByClusterPoolName.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Clusters successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade": { - "post": { - "description": "Upgrade a cluster.", - "operationId": "Clusters_Upgrade", - "x-ms-examples": { - "ClustersUpgradeAKSPatchVersion": { - "$ref": "./examples/UpgradeAKSPatchVersionForCluster.json" - }, - "ClustersUpgradeHotfix": { - "$ref": "./examples/UpgradeHotfixForCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterUpgradeRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterUpgrade" - }, - "description": "Upgrade a cluster." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "202": { - "description": "Cluster Upgrade request accepted.", - "headers": { - "location": { - "type": "string", - "description": "URL to get the status of the resize operation." - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/availableUpgrades": { - "get": { - "description": "List a cluster available upgrade.", - "operationId": "ClusterAvailableUpgrades_List", - "x-ms-examples": { - "GetClusterAvailableUpgrade": { - "$ref": "./examples/ListClusterAvailableUpgrades.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "Cluster Available Upgrade details.", - "schema": { - "$ref": "#/definitions/ClusterAvailableUpgradeList" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize": { - "post": { - "description": "Resize an existing Cluster.", - "operationId": "Clusters_Resize", - "x-ms-examples": { - "HDInsightClusterResize": { - "$ref": "./examples/ResizeCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterResizeRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterResizeData" - }, - "description": "Resize a cluster." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "202": { - "description": "Cluster resize request accepted.", - "headers": { - "location": { - "type": "string", - "description": "URL to get the status of the resize operation." - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}": { - "get": { - "operationId": "Clusters_Get", - "description": "Gets a HDInsight cluster.", - "x-ms-examples": { - "HDInsightClusterGet": { - "$ref": "./examples/GetCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "Cluster details.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "operationId": "Clusters_Create", - "description": "Creates a cluster.", - "x-ms-examples": { - "HDInsightClusterPut": { - "$ref": "./examples/CreateAutoscaleCluster.json" - }, - "HDInsightSparkClusterPut": { - "$ref": "./examples/CreateSparkCluster.json" - }, - "HDInsightSparkClusterPutWithInternalIngress": { - "$ref": "./examples/CreateSparkClusterWithInternalIngress.json" - }, - "HDInsightRangerClusterPut": { - "$ref": "./examples/CreateRangerCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "HDInsightCluster", - "in": "body", - "required": true, - "description": "The cluster to create.", - "schema": { - "$ref": "#/definitions/Cluster" - } - } - ], - "responses": { - "201": { - "description": "Cluster is created.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "200": { - "description": "Update successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "description": "Updates an existing Cluster.", - "operationId": "Clusters_Update", - "x-ms-examples": { - "HDInsightClustersPatchTags": { - "$ref": "./examples/PatchCluster.json" - }, - "HDInsightRangerClusterPatchTags": { - "$ref": "./examples/PatchRangerCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterPatchRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterPatch" - }, - "description": "Patch a cluster." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "operationId": "Clusters_Delete", - "description": "Deletes a cluster.", - "x-ms-examples": { - "HDInsightClustersDelete": { - "$ref": "./examples/DeleteCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "Successful." - }, - "202": { - "description": "Cluster delete request accepted.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "No content - The Cluster doesn't exist." - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob": { - "post": { - "operationId": "ClusterJobs_RunJob", - "description": "Operations on jobs of HDInsight on AKS cluster.", - "x-ms-examples": { - "RunClusterJob": { - "$ref": "./examples/RunClusterJob.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterJob", - "description": "The Cluster job.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterJob" - } - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/ClusterJob" - } - }, - "202": { - "description": "Run cluster job action request accepted.", - "headers": { - "location": { - "type": "string", - "description": "URL to get the status of the resize operation." - } - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/jobs": { - "get": { - "operationId": "ClusterJobs_List", - "description": "Get jobs of HDInsight on AKS cluster.", - "x-ms-examples": { - "ListClusterJobs": { - "$ref": "./examples/ListClusterJobs.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The system query option to filter job returned in the response. Allowed value is 'jobName eq {jobName}' or 'jarName eq {jarName}'." - } - ], - "responses": { - "200": { - "description": "Cluster job details.", - "schema": { - "$ref": "#/definitions/ClusterJobList" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/serviceConfigs": { - "get": { - "operationId": "Clusters_ListServiceConfigs", - "description": "Lists the config dump of all services running in cluster.", - "x-ms-examples": { - "HDInsightClusterGetServiceConfigs": { - "$ref": "./examples/ListClusterServiceConfigs.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServiceConfigListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability": { - "post": { - "description": "Check the availability of the resource name.", - "operationId": "Locations_CheckNameAvailability", - "x-ms-examples": { - "LocationsNameAvailability": { - "$ref": "./examples/LocationsNameAvailability.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" - }, - { - "name": "NameAvailabilityParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NameAvailabilityParameters" - }, - "description": "The name and type of the resource." - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/NameAvailabilityResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews": { - "get": { - "operationId": "Clusters_ListInstanceViews", - "x-ms-examples": { - "HDInsightClusterGetInstanceViews": { - "$ref": "./examples/ListClusterInstanceViews.json" - } - }, - "description": "Lists the lists of instance views", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ClusterInstanceViewsResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default": { - "get": { - "operationId": "Clusters_GetInstanceView", - "description": "Gets the status of a cluster instance.", - "x-ms-examples": { - "HDInsightClusterGetInstanceView": { - "$ref": "./examples/GetClusterInstanceView.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ClusterInstanceViewResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/providers/Microsoft.HDInsight/operations": { - "get": { - "description": "Returns list of operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "ListOperations": { - "$ref": "./examples/GetOperations.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Operation details.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/availableClusterPoolVersions": { - "get": { - "description": "Returns a list of available cluster pool versions.", - "operationId": "AvailableClusterPoolVersions_ListByLocation", - "x-ms-examples": { - "ClusterPoolVersionListResult": { - "$ref": "./examples/ListAvailableClusterPoolVersions.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Available cluster pool versions successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterPoolVersionsListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/availableClusterVersions": { - "get": { - "description": "Returns a list of available cluster versions.", - "operationId": "AvailableClusterVersions_ListByLocation", - "x-ms-examples": { - "ClusterVersionListResult": { - "$ref": "./examples/ListAvailableClusterVersions.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Available cluster versions successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterVersionsListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "ClusterPoolListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterPool" - }, - "description": "The list of cluster pools." - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - }, - "description": "The list cluster pools operation response." - }, - "ClusterPoolProfile": { - "type": "object", - "description": "Cluster pool profile.", - "required": [ - "clusterPoolVersion" - ], - "properties": { - "clusterPoolVersion": { - "$ref": "#/definitions/ClusterPoolVersionPattern" - } - } - }, - "ClusterPoolComputeProfile": { - "type": "object", - "description": "Cluster pool compute profile.", - "required": [ - "vmSize" - ], - "properties": { - "vmSize": { - "type": "string", - "description": "The virtual machine SKU.", - "pattern": "^[a-zA-Z0-9_\\-]{0,256}$" - }, - "count": { - "description": "The number of virtual machines.", - "type": "integer", - "format": "int32", - "readOnly": true - } - } - }, - "ClusterPoolNetworkProfile": { - "type": "object", - "description": "Cluster pool networking configuration.", - "required": [ - "subnetId" - ], - "properties": { - "subnetId": { - "type": "string", - "description": "Cluster pool subnet resource id.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/virtualNetworks/subnets" - } - ] - } - }, - "outboundType": { - "type": "string", - "enum": [ - "loadBalancer", - "userDefinedRouting" - ], - "x-ms-enum": { - "name": "outboundType", - "modelAsString": true, - "values": [ - { - "value": "loadBalancer", - "description": "The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. " - }, - { - "value": "userDefinedRouting", - "description": "Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. " - } - ] - }, - "default": "loadBalancer", - "title": "The outbound (egress) routing method.", - "description": "This can only be set at cluster pool creation time and cannot be changed later. " - }, - "enablePrivateApiServer": { - "type": "boolean", - "description": "ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "apiServerAuthorizedIpRanges": { - "type": "array", - "items": { - "type": "string" - }, - "title": "The IP ranges authorized to access the AKS API server.", - "description": "IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. Currently, this property is not supported and please don't use it." - } - } - }, - "ClusterPoolLogAnalyticsProfile": { - "type": "object", - "description": "Cluster pool log analytics profile used to enable or disable OMS agent for AKS cluster.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "True if log analytics is enabled for cluster pool, otherwise false." - }, - "workspaceId": { - "type": "string", - "description": "Log analytics workspace to associate with the OMS agent.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.OperationalInsights/workspaces" - } - ] - } - } - } - }, - "AksClusterProfile": { - "type": "object", - "description": "Properties of the cluster pool underlying AKS cluster.", - "properties": { - "aksClusterResourceId": { - "type": "string", - "description": "ARM Resource ID of the AKS cluster", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ContainerService/managedClusters" - } - ] - } - }, - "aksClusterAgentPoolIdentityProfile": { - "description": "Identity properties of the AKS cluster agentpool MSI", - "allOf": [ - { - "$ref": "#/definitions/IdentityProfile" - } - ] - }, - "aksVersion": { - "type": "string", - "description": "AKS control plane and default node pool version of this ClusterPool", - "readOnly": true - } - } - }, - "ClusterPoolResourceProperties": { - "type": "object", - "required": [ - "computeProfile" - ], - "properties": { - "provisioningState": { - "description": "Provisioning state of the resource.", - "type": "string", - "enum": [ - "Accepted", - "Succeeded", - "Canceled", - "Failed" - ], - "x-ms-enum": { - "name": "ProvisioningStatus", - "modelAsString": true - }, - "readOnly": true - }, - "deploymentId": { - "type": "string", - "description": "A unique id generated by the RP to identify the resource.", - "example": "45cd32aead6e4a91b079a0cdbfac8c36", - "readOnly": true - }, - "managedResourceGroupName": { - "type": "string", - "description": "A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction.", - "minLength": 1, - "maxLength": 40, - "example": "hdi-45cd32aead6e4a91b079a0cdbfac8c36" - }, - "aksManagedResourceGroupName": { - "type": "string", - "description": "A resource group created by AKS, to hold the infrastructure resources created by AKS on-behalf of customers. It is generated by cluster pool name and managed resource group name by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}", - "readOnly": true, - "example": "MC_hdi-45cd32aead6e4a91b079a0cdbfac8c36_test-pool_eastus" - }, - "clusterPoolProfile": { - "description": "CLuster pool profile.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolProfile" - } - ] - }, - "computeProfile": { - "description": "CLuster pool compute profile.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolComputeProfile" - } - ] - }, - "aksClusterProfile": { - "description": "Properties of underlying AKS cluster.", - "readOnly": true, - "allOf": [ - { - "$ref": "#/definitions/AksClusterProfile" - } - ] - }, - "networkProfile": { - "description": "Cluster pool network profile.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolNetworkProfile" - } - ] - }, - "logAnalyticsProfile": { - "description": "Cluster pool log analytics profile to enable OMS agent for AKS cluster.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolLogAnalyticsProfile" - } - ] - }, - "status": { - "type": "string", - "description": "Business status of the resource.", - "example": "Running", - "readOnly": true - } - }, - "description": "Cluster pool resource properties." - }, - "ClusterPool": { - "type": "object", - "description": "Cluster pool.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Gets or sets the properties. Define cluster pool specific properties.", - "$ref": "#/definitions/ClusterPoolResourceProperties" - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "SystemData of cluster pool.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "TagsObject": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - } - }, - "description": "Tags object for patch operations." - }, - "ClusterListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Cluster" - }, - "description": "The list of clusters." - }, - "nextLink": { - "description": "The link (url) to the next page of results.", - "type": "string", - "readOnly": true - } - }, - "description": "The list cluster operation response." - }, - "ClusterLogAnalyticsProfile": { - "type": "object", - "description": "Cluster log analytics profile to enable or disable OMS agent for cluster.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "True if log analytics is enabled for the cluster, otherwise false." - }, - "applicationLogs": { - "$ref": "#/definitions/ClusterLogAnalyticsApplicationLogs" - }, - "metricsEnabled": { - "type": "boolean", - "description": "True if metrics are enabled, otherwise false." - } - } - }, - "ClusterLogAnalyticsApplicationLogs": { - "type": "object", - "description": "Collection of logs to be enabled or disabled for log analytics.", - "properties": { - "stdOutEnabled": { - "type": "boolean", - "description": "True if stdout is enabled, otherwise false." - }, - "stdErrorEnabled": { - "type": "boolean", - "description": "True if stderror is enabled, otherwise false." - } - } - }, - "ClusterPrometheusProfile": { - "type": "object", - "description": "Cluster Prometheus profile.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Enable Prometheus for cluster or not.", - "default": false - } - } - }, - "IdentityProfile": { - "type": "object", - "description": "Identity Profile with details of an MSI.", - "required": [ - "msiResourceId", - "msiClientId", - "msiObjectId" - ], - "properties": { - "msiResourceId": { - "type": "string", - "description": "ResourceId of the MSI.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ManagedIdentity/userAssignedIdentities" - } - ] - } - }, - "msiClientId": { - "type": "string", - "description": "ClientId of the MSI.", - "pattern": "^[{(]?[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}[)}]?$" - }, - "msiObjectId": { - "type": "string", - "description": "ObjectId of the MSI.", - "pattern": "^[{(]?[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}[)}]?$" - } - } - }, - "AuthorizationProfile": { - "type": "object", - "description": "Authorization profile with details of AAD user Ids and group Ids authorized for data plane access.", - "properties": { - "userIds": { - "type": "array", - "description": "AAD user Ids authorized for data plane access.", - "items": { - "type": "string" - } - }, - "groupIds": { - "type": "array", - "description": "AAD group Ids authorized for data plane access.", - "items": { - "type": "string" - } - } - } - }, - "SecretReference": { - "type": "object", - "description": "Secret reference and corresponding properties of a key vault secret.", - "required": [ - "referenceName", - "type", - "keyVaultObjectName" - ], - "properties": { - "referenceName": { - "type": "string", - "description": "Reference name of the secret to be used in service configs." - }, - "type": { - "type": "string", - "description": "Type of key vault object: secret, key or certificate.", - "enum": [ - "Key", - "Secret", - "Certificate" - ], - "x-ms-enum": { - "name": "KeyVaultObjectType", - "modelAsString": true - } - }, - "version": { - "type": "string", - "description": "Version of the secret in key vault." - }, - "keyVaultObjectName": { - "type": "string", - "description": "Object identifier name of the secret in key vault.", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,126}$" - } - } - }, - "SecretsProfile": { - "type": "object", - "description": "The cluster secret profile.", - "required": [ - "keyVaultResourceId" - ], - "properties": { - "keyVaultResourceId": { - "type": "string", - "description": "Name of the user Key Vault where all the cluster specific user secrets are stored.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "secrets": { - "type": "array", - "description": "Properties of Key Vault secret.", - "items": { - "$ref": "#/definitions/SecretReference" - }, - "x-ms-identifiers": [] - } - } - }, - "ClusterConfigFile": { - "type": "object", - "description": "Cluster configuration files.", - "required": [ - "fileName" - ], - "properties": { - "fileName": { - "type": "string", - "description": "Configuration file name.", - "example": "hive-conf.xml." - }, - "content": { - "type": "string", - "description": "Free form content of the entire configuration file." - }, - "encoding": { - "type": "string", - "description": "This property indicates if the content is encoded and is case-insensitive. Please set the value to base64 if the content is base64 encoded. Set it to none or skip it if the content is plain text.", - "enum": [ - "Base64", - "None" - ], - "x-ms-enum": { - "name": "ContentEncoding", - "modelAsString": true - } - }, - "path": { - "type": "string", - "description": "Path of the config file if content is specified." - }, - "values": { - "type": "object", - "description": "List of key value pairs\nwhere key represents a valid service configuration name and value represents the value of the config.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ClusterServiceConfig": { - "type": "object", - "description": "Cluster configs per component.", - "required": [ - "component", - "files" - ], - "properties": { - "component": { - "type": "string", - "description": "Name of the component the config files should apply to." - }, - "files": { - "type": "array", - "description": "List of Config Files.", - "items": { - "$ref": "#/definitions/ClusterConfigFile" - }, - "x-ms-identifiers": [] - } - } - }, - "ClusterServiceConfigsProfile": { - "type": "object", - "description": "Cluster service configs.", - "required": [ - "serviceName", - "configs" - ], - "properties": { - "serviceName": { - "type": "string", - "description": "Name of the service the configurations should apply to." - }, - "configs": { - "type": "array", - "description": "List of service configs.", - "items": { - "$ref": "#/definitions/ClusterServiceConfig" - }, - "x-ms-identifiers": [] - } - } - }, - "ConnectivityProfile": { - "type": "object", - "description": "Cluster connectivity profile.", - "required": [ - "web" - ], - "properties": { - "web": { - "description": "Web connectivity endpoint details.", - "allOf": [ - { - "$ref": "#/definitions/WebConnectivityEndpoint" - } - ] - }, - "ssh": { - "type": "array", - "description": "List of SSH connectivity endpoints.", - "items": { - "$ref": "#/definitions/SshConnectivityEndpoint" - }, - "x-ms-identifiers": [] - } - }, - "readOnly": true - }, - "ClusterAccessProfile": { - "type": "object", - "description": "Cluster access profile.", - "required": [ - "enableInternalIngress" - ], - "properties": { - "enableInternalIngress": { - "type": "boolean", - "description": "Whether to create cluster using private IP instead of public IP. This property must be set at create time.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "privateLinkServiceId": { - "type": "string", - "readOnly": true, - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/privateLinkServices" - } - ] - }, - "description": "Private link service resource ID. Only when enableInternalIngress is true, this property will be returned." - } - } - }, - "WebConnectivityEndpoint": { - "type": "object", - "description": "Web connectivity endpoint details.", - "required": [ - "fqdn" - ], - "properties": { - "fqdn": { - "type": "string", - "description": "Web connectivity endpoint.", - "example": "clusterName11223344.clusterPoolName55667788.subid.eastus.hdinsightaks.net" - }, - "privateFqdn": { - "type": "string", - "description": "Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.", - "example": "clusterName11223344-int.clusterPoolName55667788.subid.eastus.hdinsightaks.net" - } - }, - "readOnly": true - }, - "SshConnectivityEndpoint": { - "type": "object", - "description": "SSH connectivity endpoint details.", - "required": [ - "endpoint" - ], - "properties": { - "endpoint": { - "type": "string", - "description": "SSH connectivity endpoint.", - "example": "clusterName11223344.clusterPoolName55667788.eastus.hdinsightaks.net/ssh/host/podPrefix-0" - }, - "privateSshEndpoint": { - "type": "string", - "description": "Private SSH connectivity endpoint. This property will only be returned when enableInternalIngress is true.", - "example": "clusterName11223344-int.clusterPoolName55667788.eastus.hdinsightaks.net/ssh/host/podPrefix-0" - } - } - }, - "ClusterProfile": { - "type": "object", - "required": [ - "authorizationProfile", - "clusterVersion", - "ossVersion" - ], - "properties": { - "clusterVersion": { - "$ref": "#/definitions/ThreeOrFourPartVersionPattern" - }, - "ossVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "components": { - "$ref": "#/definitions/ClusterComponents" - }, - "identityProfile": { - "description": "This property is required by Trino, Spark and Flink cluster but is optional for Kafka cluster.", - "$ref": "#/definitions/IdentityProfile" - }, - "authorizationProfile": { - "$ref": "#/definitions/AuthorizationProfile" - }, - "secretsProfile": { - "$ref": "#/definitions/SecretsProfile" - }, - "serviceConfigsProfiles": { - "type": "array", - "description": "The service configs profiles.", - "items": { - "$ref": "#/definitions/ClusterServiceConfigsProfile" - }, - "x-ms-identifiers": [] - }, - "connectivityProfile": { - "$ref": "#/definitions/ConnectivityProfile" - }, - "clusterAccessProfile": { - "$ref": "#/definitions/ClusterAccessProfile" - }, - "logAnalyticsProfile": { - "$ref": "#/definitions/ClusterLogAnalyticsProfile" - }, - "prometheusProfile": { - "$ref": "#/definitions/ClusterPrometheusProfile" - }, - "sshProfile": { - "$ref": "#/definitions/SshProfile" - }, - "autoscaleProfile": { - "$ref": "#/definitions/AutoscaleProfile" - }, - "rangerPluginProfile": { - "$ref": "#/definitions/ClusterRangerPluginProfile" - }, - "kafkaProfile": { - "$ref": "#/definitions/KafkaProfile" - }, - "trinoProfile": { - "$ref": "#/definitions/TrinoProfile" - }, - "llapProfile": { - "type": "object", - "description": "LLAP cluster profile.", - "additionalProperties": true - }, - "flinkProfile": { - "$ref": "#/definitions/FlinkProfile" - }, - "sparkProfile": { - "$ref": "#/definitions/SparkProfile" - }, - "rangerProfile": { - "$ref": "#/definitions/RangerProfile" - }, - "stubProfile": { - "type": "object", - "description": "Stub cluster profile.", - "additionalProperties": true - }, - "scriptActionProfiles": { - "$ref": "#/definitions/ScriptActionProfiles" - } - }, - "description": "Cluster profile." - }, - "SshProfile": { - "type": "object", - "description": "Ssh profile for the cluster.", - "required": [ - "count" - ], - "properties": { - "count": { - "type": "integer", - "description": "Number of ssh pods per cluster.", - "format": "int32", - "maximum": 5.0, - "minimum": 0.0 - }, - "podPrefix": { - "type": "string", - "description": "Prefix of the pod names. Pod number will be appended to the prefix. The ingress URLs for the pods will be available at //-", - "readOnly": true - } - } - }, - "AutoscaleProfile": { - "type": "object", - "description": "This is the Autoscale profile for the cluster. This will allow customer to create cluster enabled with Autoscale.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "This indicates whether auto scale is enabled on HDInsight on AKS cluster." - }, - "gracefulDecommissionTimeout": { - "type": "integer", - "format": "int32", - "description": "This property is for graceful decommission timeout; It has a default setting of 3600 seconds before forced shutdown takes place. This is the maximal time to wait for running containers and applications to complete before transition a DECOMMISSIONING node into DECOMMISSIONED. The default value is 3600 seconds. Negative value (like -1) is handled as infinite timeout." - }, - "autoscaleType": { - "type": "string", - "description": "User to specify which type of Autoscale to be implemented - Scheduled Based or Load Based.", - "enum": [ - "ScheduleBased", - "LoadBased" - ], - "x-ms-enum": { - "name": "AutoscaleType", - "modelAsString": true - } - }, - "scheduleBasedConfig": { - "description": "Profiles of schedule based Autoscale.", - "$ref": "#/definitions/ScheduleBasedConfig" - }, - "loadBasedConfig": { - "description": "Profiles of load based Autoscale.", - "$ref": "#/definitions/LoadBasedConfig" - } - } - }, - "ScheduleBasedConfig": { - "type": "object", - "description": "Profile of schedule based Autoscale.", - "required": [ - "timeZone", - "defaultCount", - "schedules" - ], - "properties": { - "timeZone": { - "type": "string", - "description": "User has to specify the timezone on which the schedule has to be set for schedule based autoscale configuration." - }, - "defaultCount": { - "type": "integer", - "format": "int32", - "description": "Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down)" - }, - "schedules": { - "type": "array", - "description": "This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end).", - "items": { - "$ref": "#/definitions/Schedule" - }, - "x-ms-identifiers": [] - } - } - }, - "Schedule": { - "type": "object", - "description": "Schedule definition.", - "required": [ - "days", - "startTime", - "endTime", - "count" - ], - "properties": { - "startTime": { - "type": "string", - "pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$", - "description": "User has to set the start time of current schedule configuration, format like 10:30 (HH:MM)." - }, - "endTime": { - "type": "string", - "pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$", - "description": "User has to set the end time of current schedule configuration, format like 10:30 (HH:MM)." - }, - "count": { - "type": "integer", - "format": "int32", - "description": "User has to set the node count anticipated at end of the scaling operation of the set current schedule configuration, format is integer." - }, - "days": { - "type": "array", - "description": "User has to set the days where schedule has to be set for autoscale operation.", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "x-ms-enum": { - "name": "ScheduleDay", - "modelAsString": true - } - } - } - } - }, - "LoadBasedConfig": { - "type": "object", - "description": "Profile of load based Autoscale.", - "required": [ - "minNodes", - "maxNodes", - "scalingRules" - ], - "properties": { - "minNodes": { - "type": "integer", - "format": "int32", - "description": "User needs to set the minimum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes." - }, - "maxNodes": { - "type": "integer", - "format": "int32", - "description": "User needs to set the maximum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes." - }, - "pollInterval": { - "type": "integer", - "format": "int32", - "description": "User can specify the poll interval, this is the time period (in seconds) after which scaling metrics are polled for triggering a scaling operation." - }, - "cooldownPeriod": { - "type": "integer", - "format": "int32", - "description": "This is a cool down period, this is a time period in seconds, which determines the amount of time that must elapse between a scaling activity started by a rule and the start of the next scaling activity, regardless of the rule that triggers it. The default value is 300 seconds." - }, - "scalingRules": { - "type": "array", - "description": "The scaling rules.", - "items": { - "$ref": "#/definitions/ScalingRule" - }, - "x-ms-identifiers": [] - } - } - }, - "ScalingRule": { - "type": "object", - "description": "The scaling rule.", - "required": [ - "actionType", - "comparisonRule", - "evaluationCount", - "scalingMetric" - ], - "properties": { - "actionType": { - "type": "string", - "description": "The action type.", - "enum": [ - "scaleup", - "scaledown" - ], - "x-ms-enum": { - "name": "ScaleActionType", - "modelAsString": true - } - }, - "evaluationCount": { - "type": "integer", - "format": "int32", - "description": "This is an evaluation count for a scaling condition, the number of times a trigger condition should be successful, before scaling activity is triggered." - }, - "scalingMetric": { - "type": "string", - "description": "Metrics name for individual workloads. For example: cpu" - }, - "comparisonRule": { - "$ref": "#/definitions/ComparisonRule" - } - } - }, - "ComparisonRule": { - "type": "object", - "description": "The comparison rule.", - "required": [ - "operator", - "threshold" - ], - "properties": { - "operator": { - "type": "string", - "description": "The comparison operator.", - "enum": [ - "greaterThan", - "greaterThanOrEqual", - "lessThan", - "lessThanOrEqual" - ], - "x-ms-enum": { - "name": "ComparisonOperator", - "modelAsString": true - } - }, - "threshold": { - "type": "number", - "description": "Threshold setting." - } - } - }, - "TrinoProfile": { - "type": "object", - "description": "Trino Cluster profile.", - "properties": { - "catalogOptions": { - "$ref": "#/definitions/CatalogOptions" - }, - "coordinator": { - "$ref": "#/definitions/TrinoCoordinator" - }, - "userPluginsSpec": { - "$ref": "#/definitions/TrinoUserPlugins" - }, - "userTelemetrySpec": { - "$ref": "#/definitions/TrinoUserTelemetry" - }, - "worker": { - "$ref": "#/definitions/TrinoWorker" - } - } - }, - "CatalogOptions": { - "type": "object", - "description": "Trino cluster catalog options.", - "properties": { - "hive": { - "type": "array", - "description": "hive catalog options.", - "items": { - "$ref": "#/definitions/HiveCatalogOption" - }, - "x-ms-identifiers": [] - } - } - }, - "HiveCatalogOption": { - "type": "object", - "description": "Hive Catalog Option", - "required": [ - "catalogName", - "metastoreDbConnectionURL", - "metastoreWarehouseDir" - ], - "properties": { - "catalogName": { - "description": "Name of trino catalog which should use specified hive metastore.", - "minLength": 1, - "type": "string" - }, - "metastoreDbConnectionAuthenticationMode": { - "description": "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization", - "type": "string", - "enum": [ - "SqlAuth", - "IdentityAuth" - ], - "x-ms-enum": { - "name": "MetastoreDbConnectionAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "SqlAuth", - "description": "The password-based authentication to connect to your Hive metastore database. " - }, - { - "value": "IdentityAuth", - "description": "The managed-identity-based authentication to connect to your Hive metastore database. " - } - ] - }, - "default": "IdentityAuth" - }, - "metastoreDbConnectionPasswordSecret": { - "description": "Secret reference name from secretsProfile.secrets containing password for database connection.", - "type": "string" - }, - "metastoreDbConnectionURL": { - "description": "Connection string for hive metastore database.", - "type": "string" - }, - "metastoreDbConnectionUserName": { - "description": "User name for database connection.", - "type": "string" - }, - "metastoreWarehouseDir": { - "description": "Metastore root directory URI, format: abfs[s]://@.dfs.core.windows.net/. More details: https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction-abfs-uri", - "type": "string" - } - } - }, - "FlinkCatalogOptions": { - "type": "object", - "description": "Flink cluster catalog options.", - "properties": { - "hive": { - "$ref": "#/definitions/FlinkHiveCatalogOption" - } - } - }, - "FlinkHiveCatalogOption": { - "type": "object", - "description": "Hive Catalog Option for Flink cluster.", - "required": [ - "metastoreDbConnectionURL" - ], - "properties": { - "metastoreDbConnectionAuthenticationMode": { - "description": "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization", - "type": "string", - "enum": [ - "SqlAuth", - "IdentityAuth" - ], - "x-ms-enum": { - "name": "MetastoreDbConnectionAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "SqlAuth", - "description": "The password-based authentication to connect to your Hive metastore database. " - }, - { - "value": "IdentityAuth", - "description": "The managed-identity-based authentication to connect to your Hive metastore database. " - } - ] - }, - "default": "IdentityAuth" - }, - "metastoreDbConnectionPasswordSecret": { - "description": "Secret reference name from secretsProfile.secrets containing password for database connection.", - "type": "string" - }, - "metastoreDbConnectionURL": { - "description": "Connection string for hive metastore database.", - "type": "string" - }, - "metastoreDbConnectionUserName": { - "description": "User name for database connection.", - "type": "string" - } - } - }, - "TrinoCoordinator": { - "type": "object", - "description": "Trino Coordinator.", - "properties": { - "debug": { - "$ref": "#/definitions/TrinoDebugConfig", - "x-ms-client-flatten": true - }, - "highAvailabilityEnabled": { - "type": "boolean", - "description": "The flag that if enable coordinator HA, uses multiple coordinator replicas with auto failover, one per each head node. Default: true.", - "default": true - } - } - }, - "TrinoWorker": { - "type": "object", - "description": "Trino worker.", - "properties": { - "debug": { - "$ref": "#/definitions/TrinoDebugConfig", - "x-ms-client-flatten": true - } - } - }, - "TrinoDebugConfig": { - "type": "object", - "description": "Trino debug configuration.", - "properties": { - "enable": { - "type": "boolean", - "description": "The flag that if enable debug or not.", - "default": false - }, - "port": { - "type": "integer", - "format": "int32", - "description": "The debug port.", - "default": 8008 - }, - "suspend": { - "type": "boolean", - "description": "The flag that if suspend debug or not.", - "default": false - } - } - }, - "TrinoUserTelemetry": { - "type": "object", - "description": "User telemetry", - "properties": { - "storage": { - "$ref": "#/definitions/TrinoTelemetryConfig" - } - } - }, - "TrinoTelemetryConfig": { - "type": "object", - "description": "Trino user telemetry definition.", - "properties": { - "hivecatalogName": { - "type": "string", - "description": "Hive Catalog name used to mount external tables on the logs written by trino, if not specified there tables are not created.", - "minLength": 1 - }, - "hivecatalogSchema": { - "type": "string", - "description": "Schema of the above catalog to use, to mount query logs as external tables, if not specified tables will be mounted under schema trinologs.", - "default": "trinologs" - }, - "partitionRetentionInDays": { - "type": "integer", - "description": "Retention period for query log table partitions, this doesn't have any affect on actual data.", - "format": "int32", - "default": 365 - }, - "path": { - "type": "string", - "description": "Azure storage location of the blobs.", - "minLength": 1 - } - } - }, - "TrinoUserPlugins": { - "type": "object", - "description": "Trino user plugins spec", - "properties": { - "plugins": { - "type": "array", - "description": "Trino user plugins.", - "items": { - "$ref": "#/definitions/TrinoUserPlugin" - }, - "x-ms-identifiers": [] - } - } - }, - "TrinoUserPlugin": { - "type": "object", - "description": "Trino user plugin.", - "properties": { - "enabled": { - "type": "boolean", - "description": "Denotes whether the plugin is active or not." - }, - "name": { - "type": "string", - "description": "This field maps to the sub-directory in trino plugins location, that will contain all the plugins under path.", - "minLength": 1 - }, - "path": { - "type": "string", - "description": "Fully qualified path to the folder containing the plugins.", - "minLength": 1, - "pattern": "^(https)|(abfss)://.*$" - } - } - }, - "SparkProfile": { - "type": "object", - "description": "The spark cluster profile.", - "properties": { - "defaultStorageUrl": { - "type": "string", - "description": "The default storage URL." - }, - "metastoreSpec": { - "$ref": "#/definitions/SparkMetastoreSpec" - }, - "userPluginsSpec": { - "$ref": "#/definitions/SparkUserPlugins" - } - } - }, - "SparkUserPlugins": { - "type": "object", - "description": "Spark user plugins spec", - "properties": { - "plugins": { - "type": "array", - "description": "Spark user plugins.", - "items": { - "$ref": "#/definitions/SparkUserPlugin" - }, - "x-ms-identifiers": [] - } - } - }, - "SparkUserPlugin": { - "type": "object", - "description": "Spark user plugin.", - "required": [ - "path" - ], - "properties": { - "path": { - "type": "string", - "description": "Fully qualified path to the folder containing the plugins.", - "minLength": 1, - "pattern": "^(https)|(abfss)://.*$" - } - } - }, - "ScriptActionProfiles": { - "type": "array", - "description": "The script action profile list.", - "items": { - "$ref": "#/definitions/ScriptActionProfile" - }, - "x-ms-identifiers": [] - }, - "ScriptActionProfile": { - "type": "object", - "description": "The script action profile.", - "required": [ - "name", - "type", - "url", - "services" - ], - "properties": { - "type": { - "type": "string", - "description": "Type of the script action. Supported type is bash scripts." - }, - "name": { - "type": "string", - "description": "Script name." - }, - "url": { - "type": "string", - "description": "Url of the script file.", - "pattern": "^(https)|(http)://.*$" - }, - "parameters": { - "type": "string", - "description": "Additional parameters for the script action. It should be space-separated list of arguments required for script execution." - }, - "services": { - "items": { - "type": "string" - }, - "type": "array", - "description": "List of services to apply the script action." - }, - "timeoutInMinutes": { - "type": "integer", - "format": "int32", - "description": "Timeout duration for the script action in minutes." - }, - "shouldPersist": { - "type": "boolean", - "default": true, - "description": "Specify if the script should persist on the cluster." - } - } - }, - "SparkMetastoreSpec": { - "type": "object", - "description": "The metastore specification for Spark cluster.", - "required": [ - "dbServerHost", - "dbName" - ], - "properties": { - "dbServerHost": { - "type": "string", - "description": "The database server host." - }, - "dbName": { - "type": "string", - "description": "The database name." - }, - "dbConnectionAuthenticationMode": { - "description": "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization", - "type": "string", - "enum": [ - "SqlAuth", - "IdentityAuth" - ], - "x-ms-enum": { - "name": "DbConnectionAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "SqlAuth", - "description": "The password-based authentication to connect to your Hive metastore database. " - }, - { - "value": "IdentityAuth", - "description": "The managed-identity-based authentication to connect to your Hive metastore database. " - } - ] - }, - "default": "IdentityAuth" - }, - "dbUserName": { - "type": "string", - "description": "The database user name." - }, - "dbPasswordSecretName": { - "type": "string", - "description": "The secret name which contains the database user password." - }, - "keyVaultId": { - "type": "string", - "description": "The key vault resource id." - }, - "thriftUrl": { - "type": "string", - "description": "The thrift url." - } - } - }, - "FlinkProfile": { - "type": "object", - "description": "The Flink cluster profile.", - "required": [ - "storage", - "jobManager", - "taskManager" - ], - "properties": { - "storage": { - "$ref": "#/definitions/FlinkStorageProfile" - }, - "numReplicas": { - "type": "integer", - "format": "int32", - "description": "The number of task managers." - }, - "jobManager": { - "description": "Job Manager container/ process CPU and memory requirements", - "$ref": "#/definitions/ComputeResourceDefinition" - }, - "historyServer": { - "description": "History Server container/ process CPU and memory requirements", - "$ref": "#/definitions/ComputeResourceDefinition" - }, - "taskManager": { - "description": "Task Manager container/ process CPU and memory requirements", - "$ref": "#/definitions/ComputeResourceDefinition" - }, - "catalogOptions": { - "$ref": "#/definitions/FlinkCatalogOptions" - }, - "deploymentMode": { - "description": "A string property that indicates the deployment mode of Flink cluster. It can have one of the following enum values => Application, Session. Default value is Session", - "type": "string", - "enum": [ - "Application", - "Session" - ], - "x-ms-enum": { - "name": "deploymentMode", - "modelAsString": true - } - }, - "jobSpec": { - "$ref": "#/definitions/FlinkJobProfile" - } - } - }, - "FlinkJobProfile": { - "type": "object", - "description": "Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties are changed by calling the RunJob API, please use the ListJob API to get the latest job information.", - "required": [ - "jobJarDirectory", - "jarName", - "upgradeMode" - ], - "properties": { - "jobJarDirectory": { - "description": "A string property that specifies the directory where the job JAR is located.", - "type": "string" - }, - "jarName": { - "description": "A string property that represents the name of the job JAR.", - "type": "string" - }, - "entryClass": { - "description": "A string property that specifies the entry class for the Flink job. If not specified, the entry point is auto-detected from the flink job jar package.", - "type": "string" - }, - "args": { - "description": "A string property representing additional JVM arguments for the Flink job. It should be space separated value.", - "type": "string" - }, - "savePointName": { - "description": "A string property that represents the name of the savepoint for the Flink job", - "type": "string" - }, - "upgradeMode": { - "description": "A string property that indicates the upgrade mode to be performed on the Flink job. It can have one of the following enum values => STATELESS_UPDATE, UPDATE, LAST_STATE_UPDATE.", - "type": "string", - "enum": [ - "STATELESS_UPDATE", - "UPDATE", - "LAST_STATE_UPDATE" - ], - "x-ms-enum": { - "name": "upgradeMode", - "modelAsString": true - } - } - } - }, - "FlinkStorageProfile": { - "type": "object", - "description": "The storage profile", - "required": [ - "storageUri" - ], - "properties": { - "storageUri": { - "type": "string", - "pattern": "^(\\w{4,5})://(.*)@(.*).\\b(blob|dfs)\\b.*$", - "description": "Storage account uri which is used for savepoint and checkpoint state." - }, - "storagekey": { - "type": "string", - "description": "Storage key is only required for wasb(s) storage.", - "x-ms-secret": true - } - } - }, - "ClusterRangerPluginProfile": { - "type": "object", - "description": "Cluster Ranger plugin profile.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Enable Ranger for cluster or not.", - "default": false - } - } - }, - "RangerProfile": { - "type": "object", - "description": "The ranger cluster profile.", - "required": [ - "rangerAdmin", - "rangerUsersync" - ], - "properties": { - "rangerAdmin": { - "$ref": "#/definitions/RangerAdminSpec" - }, - "rangerAudit": { - "$ref": "#/definitions/RangerAuditSpec" - }, - "rangerUsersync": { - "$ref": "#/definitions/RangerUsersyncSpec" - } - } - }, - "RangerAdminSpec": { - "type": "object", - "description": "Specification for the Ranger Admin service.", - "properties": { - "admins": { - "description": "List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", - "items": { - "type": "string" - }, - "type": "array" - }, - "database": { - "properties": { - "host": { - "description": "The database URL", - "type": "string" - }, - "name": { - "description": "The database name", - "type": "string" - }, - "passwordSecretRef": { - "description": "Reference for the database password", - "type": "string" - }, - "username": { - "description": "The name of the database user", - "type": "string" - } - }, - "required": [ - "host", - "name" - ], - "type": "object" - } - }, - "required": [ - "admins", - "database" - ] - }, - "RangerAuditSpec": { - "description": "Properties required to describe audit log storage.", - "properties": { - "storageAccount": { - "description": "Azure storage location of the blobs. MSI should have read/write access to this Storage account.", - "minLength": 1, - "pattern": "^(https)|(abfss)://.*$", - "type": "string" - } - }, - "type": "object" - }, - "RangerUsersyncSpec": { - "description": "Specification for the Ranger Usersync service", - "properties": { - "enabled": { - "description": "Denotes whether usersync service should be enabled", - "type": "boolean", - "default": true - }, - "groups": { - "description": "List of groups that should be synced. These group names should match the object id of the respective AAD groups.", - "items": { - "type": "string" - }, - "type": "array" - }, - "mode": { - "default": "automatic", - "description": "User & groups can be synced automatically or via a static list that's refreshed.", - "type": "string", - "enum": [ - "static", - "automatic" - ], - "x-ms-enum": { - "name": "RangerUsersyncMode", - "modelAsString": true - } - }, - "userMappingLocation": { - "description": "Azure storage location of a mapping file that lists user & group associations.", - "minLength": 1, - "pattern": "^(https)|(abfss)://.*$", - "type": "string" - }, - "users": { - "description": "List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ComputeResourceDefinition": { - "type": "object", - "description": "The cpu and memory requirement definition.", - "required": [ - "cpu", - "memory" - ], - "properties": { - "cpu": { - "type": "number", - "format": "float", - "description": "The required CPU." - }, - "memory": { - "type": "integer", - "format": "int64", - "description": "The required memory in MB, Container memory will be 110 percentile" - } - } - }, - "KafkaProfile": { - "type": "object", - "description": "The Kafka cluster profile.", - "required": [ - "diskStorage" - ], - "properties": { - "enableKRaft": { - "description": "Expose Kafka cluster in KRaft mode.", - "default": true, - "type": "boolean" - }, - "enablePublicEndpoints": { - "description": "Expose worker nodes as public endpoints.", - "default": false, - "type": "boolean" - }, - "remoteStorageUri": { - "description": "Fully qualified path of Azure Storage container used for Tiered Storage.", - "type": "string", - "pattern": "^(https?|abfss?):\\/\\/[^/]+(?:\\/|$)" - }, - "diskStorage": { - "$ref": "#/definitions/DiskStorageProfile" - }, - "clusterIdentity": { - "description": "Identity of the internal service components inside the Kafka cluster.", - "$ref": "#/definitions/IdentityProfile", - "readOnly": true - }, - "connectivityEndpoints": { - "description": "Kafka bootstrap server and brokers related connectivity endpoints.", - "$ref": "#/definitions/KafkaConnectivityEndpoints", - "readOnly": true - } - } - }, - "DiskStorageProfile": { - "type": "object", - "description": "Kafka disk storage profile.", - "required": [ - "dataDiskSize", - "dataDiskType" - ], - "properties": { - "dataDiskSize": { - "description": "Managed Disk size in GB. The maximum supported disk size for Standard and Premium HDD/SSD is 32TB, except for Premium SSD v2, which supports up to 64TB.", - "format": "int32", - "type": "integer" - }, - "dataDiskType": { - "description": "Managed Disk Type.", - "type": "string", - "enum": [ - "Standard_HDD_LRS", - "Standard_SSD_LRS", - "Standard_SSD_ZRS", - "Premium_SSD_LRS", - "Premium_SSD_ZRS", - "Premium_SSD_v2_LRS" - ], - "x-ms-enum": { - "name": "DataDiskType", - "modelAsString": true - } - } - } - }, - "KafkaConnectivityEndpoints": { - "type": "object", - "description": "Kafka bootstrap server and broker related connectivity endpoints.", - "properties": { - "bootstrapServerEndpoint": { - "type": "string", - "description": "bootstrap server connectivity endpoint." - }, - "brokerEndpoints": { - "description": "Kafka broker endpoint list.", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-identifiers": [] - } - } - }, - "ClusterResourceProperties": { - "type": "object", - "required": [ - "clusterType", - "computeProfile", - "clusterProfile" - ], - "properties": { - "provisioningState": { - "description": "Provisioning state of the resource.", - "type": "string", - "enum": [ - "Accepted", - "Succeeded", - "Canceled", - "Failed" - ], - "x-ms-enum": { - "name": "ProvisioningStatus", - "modelAsString": true - }, - "readOnly": true - }, - "clusterType": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The type of cluster.", - "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,31}$" - }, - "deploymentId": { - "type": "string", - "description": "A unique id generated by the RP to identify the resource.", - "example": "45cd32aead6e4a91b079a0cdbfac8c36", - "readOnly": true - }, - "computeProfile": { - "description": "The compute profile.", - "$ref": "#/definitions/ComputeProfile" - }, - "clusterProfile": { - "$ref": "#/definitions/ClusterProfile" - }, - "status": { - "type": "string", - "description": "Business status of the resource.", - "example": "Running", - "readOnly": true - } - }, - "description": "Cluster resource properties." - }, - "ComputeProfile": { - "type": "object", - "description": "The compute profile.", - "required": [ - "nodes" - ], - "properties": { - "nodes": { - "type": "array", - "description": "The nodes definitions.", - "items": { - "$ref": "#/definitions/NodeProfile" - }, - "x-ms-identifiers": [] - } - } - }, - "NodeProfile": { - "type": "object", - "description": "The node profile.", - "required": [ - "type", - "vmSize", - "count" - ], - "properties": { - "type": { - "type": "string", - "description": "The node type.", - "pattern": "^(head|Head|HEAD|worker|Worker|WORKER)$" - }, - "vmSize": { - "type": "string", - "description": "The virtual machine SKU.", - "pattern": "^[a-zA-Z0-9_\\-]{0,256}$" - }, - "count": { - "description": "The number of virtual machines.", - "type": "integer", - "format": "int32", - "minimum": 1 - } - } - }, - "Cluster": { - "type": "object", - "description": "The cluster.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Gets or sets the properties. Define cluster specific properties.", - "$ref": "#/definitions/ClusterResourceProperties" - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "SystemData of cluster.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "ClusterPatch": { - "type": "object", - "description": "The patch for a cluster.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Define cluster patch specific properties.", - "$ref": "#/definitions/ClusterPatchProperties" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - } - } - }, - "ClusterPatchProperties": { - "type": "object", - "description": "Cluster resource patch data.", - "properties": { - "clusterProfile": { - "$ref": "#/definitions/UpdatableClusterProfile" - } - } - }, - "UpdatableClusterProfile": { - "type": "object", - "properties": { - "serviceConfigsProfiles": { - "type": "array", - "description": "The service configs profiles.", - "items": { - "$ref": "#/definitions/ClusterServiceConfigsProfile" - }, - "x-ms-identifiers": [] - }, - "sshProfile": { - "$ref": "#/definitions/SshProfile" - }, - "autoscaleProfile": { - "$ref": "#/definitions/AutoscaleProfile" - }, - "authorizationProfile": { - "$ref": "#/definitions/AuthorizationProfile" - }, - "logAnalyticsProfile": { - "$ref": "#/definitions/ClusterLogAnalyticsProfile" - }, - "prometheusProfile": { - "$ref": "#/definitions/ClusterPrometheusProfile" - }, - "rangerPluginProfile": { - "$ref": "#/definitions/ClusterRangerPluginProfile" - }, - "rangerProfile": { - "$ref": "#/definitions/RangerProfile" - }, - "scriptActionProfiles": { - "$ref": "#/definitions/ScriptActionProfiles" - } - }, - "description": "Cluster resource patch properties." - }, - "ClusterResizeData": { - "type": "object", - "description": "The parameters for resizing a cluster.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Sets the properties. Define cluster resize specific properties.", - "$ref": "#/definitions/ClusterResizeProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "ClusterResizeProperties": { - "type": "object", - "description": "The properties for resizing a cluster.", - "required": [ - "targetWorkerNodeCount" - ], - "properties": { - "targetWorkerNodeCount": { - "type": "integer", - "format": "int32", - "description": "Target node count of worker node." - } - } - }, - "ServiceConfigListResult": { - "type": "object", - "description": "Cluster instance service configs api response.", - "properties": { - "value": { - "type": "array", - "description": "Cluster instance service config array.", - "items": { - "$ref": "#/definitions/ServiceConfigResult" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - } - }, - "ServiceConfigResult": { - "type": "object", - "description": "Cluster instance service config.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Cluster instance service config properties.", - "allOf": [ - { - "$ref": "#/definitions/ServiceConfigListResultProperties" - } - ] - } - } - }, - "ServiceConfigListResultProperties": { - "type": "object", - "properties": { - "serviceName": { - "type": "string", - "description": "Service Config Name." - }, - "fileName": { - "type": "string", - "description": "File Name." - }, - "content": { - "type": "string", - "description": "Content in the service config file." - }, - "componentName": { - "type": "string", - "description": "Component Name." - }, - "type": { - "type": "string", - "description": "Config type." - }, - "path": { - "type": "string", - "description": "Config file path." - }, - "customKeys": { - "type": "object", - "description": "The custom keys.", - "additionalProperties": { - "type": "string" - } - }, - "defaultKeys": { - "type": "object", - "description": "The default keys.", - "additionalProperties": { - "$ref": "#/definitions/ServiceConfigListResultValueEntity" - } - } - }, - "required": [ - "serviceName", - "componentName", - "fileName" - ], - "description": "Service config response." - }, - "ServiceConfigListResultValueEntity": { - "type": "object", - "description": "Default config details.", - "properties": { - "value": { - "type": "string", - "description": "Config value." - }, - "description": { - "type": "string", - "description": "Config description." - } - }, - "required": [ - "value" - ] - }, - "ClusterInstanceViewsResult": { - "type": "object", - "properties": { - "value": { - "items": { - "$ref": "#/definitions/ClusterInstanceViewResult" - }, - "type": "array", - "description": "Cluster instance view array.", - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "The link (url) to the next page of results.", - "type": "string", - "readOnly": true - } - }, - "description": "The instance view of a HDInsight Cluster." - }, - "ClusterInstanceViewResult": { - "type": "object", - "description": "Cluster Instance View.", - "required": [ - "name", - "properties" - ], - "properties": { - "name": { - "type": "string", - "description": "Name of the instance view." - }, - "properties": { - "description": "Properties of the instance view.", - "x-ms-client-flatten": true, - "allOf": [ - { - "$ref": "#/definitions/ClusterInstanceViewProperties" - } - ] - } - } - }, - "ClusterInstanceViewProperties": { - "type": "object", - "description": "Cluster Instance View Properties.", - "required": [ - "status", - "serviceStatuses" - ], - "properties": { - "status": { - "description": "Status of the instance view.", - "allOf": [ - { - "$ref": "#/definitions/ClusterInstanceViewStatus" - } - ] - }, - "serviceStatuses": { - "type": "array", - "description": "List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer.", - "items": { - "$ref": "#/definitions/ServiceStatus" - }, - "x-ms-identifiers": [] - } - } - }, - "ClusterInstanceViewStatus": { - "type": "object", - "description": "Status of the instance view.", - "required": [ - "ready" - ], - "properties": { - "ready": { - "type": "string", - "description": "The cluster ready status" - }, - "reason": { - "type": "string", - "description": "The status reason." - }, - "message": { - "type": "string", - "description": "The additional message." - } - } - }, - "ServiceStatus": { - "type": "object", - "description": "Describes the status of a service of a HDInsight on AKS cluster.", - "required": [ - "kind", - "ready" - ], - "properties": { - "kind": { - "type": "string", - "description": "Kind of the service. E.g. \"Zookeeper\"." - }, - "ready": { - "type": "string", - "description": "Indicates if the service is ready / healthy. Values can be \"true\", \"false\", \"unknown\" or anything else." - }, - "message": { - "type": "string", - "description": "A message describing the error if any." - } - } - }, - "NameAvailabilityParameters": { - "description": "Details of check name availability request body.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name for checking availability." - }, - "type": { - "type": "string", - "description": "The resource type in Microsoft.HDInsight." - } - } - }, - "NameAvailabilityResult": { - "description": "Result of check name availability.", - "type": "object", - "properties": { - "nameAvailable": { - "type": "boolean", - "description": "Indicator of availability of the Microsoft.HDInsight resource name." - }, - "reason": { - "type": "string", - "description": "The reason of unavailability." - }, - "message": { - "type": "string", - "description": "The error message of unavailability." - } - } - }, - "ClusterPoolVersionPattern": { - "type": "string", - "description": "Cluster pool version is a 2-part version.", - "example": "1.2", - "pattern": "^(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})$" - }, - "ClusterPoolVersionsListResult": { - "type": "object", - "description": "Represents a list of cluster pool versions.", - "properties": { - "value": { - "type": "array", - "description": "The list of cluster pool versions.", - "items": { - "$ref": "#/definitions/ClusterPoolVersion" - } - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - } - }, - "ClusterPoolVersion": { - "type": "object", - "description": "Available cluster pool version.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Cluster pool version properties.", - "$ref": "#/definitions/ClusterPoolVersionProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterPoolVersionProperties": { - "type": "object", - "description": "Cluster pool version properties.", - "properties": { - "clusterPoolVersion": { - "$ref": "#/definitions/ClusterPoolVersionPattern" - }, - "aksVersion": { - "type": "string", - "description": "AKS version.", - "example": "1.24" - }, - "isPreview": { - "type": "boolean", - "description": "Indicate if this version is in preview or not.", - "default": false - } - } - }, - "ThreePartVersionPattern": { - "type": "string", - "description": "Version with three part.", - "example": "1.0.4", - "pattern": "^(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})$" - }, - "ThreeOrFourPartVersionPattern": { - "type": "string", - "description": "Version with 3/4 part.", - "example": "1.0.4", - "pattern": "^(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})(?:\\.(0|[1-9][0-9]{0,18}))?$" - }, - "ClusterVersionsListResult": { - "type": "object", - "description": "Represents a list of cluster versions.", - "properties": { - "value": { - "type": "array", - "description": "The list of cluster versions.", - "items": { - "$ref": "#/definitions/ClusterVersion" - } - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - } - }, - "ClusterVersion": { - "type": "object", - "description": "Available cluster version.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Cluster version properties.", - "$ref": "#/definitions/ClusterVersionProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterVersionProperties": { - "type": "object", - "description": "Cluster version properties.", - "properties": { - "clusterType": { - "type": "string", - "description": "The type of cluster.", - "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,31}$" - }, - "clusterVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "ossVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "clusterPoolVersion": { - "type": "string", - "description": "The two part cluster pool version. If the cluster version is before cluster pool version on-board, the return value will be empty string", - "example": "1.0" - }, - "isPreview": { - "type": "boolean", - "description": "Indicate if this version is in preview or not.", - "default": false - }, - "components": { - "$ref": "#/definitions/ClusterComponents" - } - } - }, - "ClusterComponents": { - "type": "array", - "description": "Component list of this cluster type and version.", - "readOnly": true, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "x-ms-identifiers": [], - "example": [ - { - "name": "HDFS", - "version": "1.2.3" - }, - { - "name": "HIVE", - "version": "1.2.3" - } - ] - }, - "ClusterJobList": { - "description": "Collection of cluster job.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "Collection of cluster job.", - "uniqueItems": false, - "items": { - "$ref": "#/definitions/ClusterJob" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "The Url of next result page.", - "type": "string" - } - } - }, - "ClusterJob": { - "description": "Cluster job.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterJobProperties" - } - } - }, - "ClusterJobProperties": { - "description": "Properties of cluster job.", - "type": "object", - "properties": { - "jobType": { - "description": "Type of cluster job.", - "enum": [ - "FlinkJob" - ], - "type": "string", - "x-ms-enum": { - "name": "jobType", - "modelAsString": true - } - } - }, - "discriminator": "jobType", - "required": [ - "jobType" - ] - }, - "FlinkJobProperties": { - "description": "Properties of flink job.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterJobProperties" - } - ], - "properties": { - "runId": { - "description": "Run id of job", - "type": "string" - }, - "jobName": { - "description": "Name of job", - "type": "string" - }, - "jobJarDirectory": { - "description": "A string property that specifies the directory where the job JAR is located.", - "type": "string" - }, - "jarName": { - "description": "A string property that represents the name of the job JAR.", - "type": "string" - }, - "entryClass": { - "description": "A string property that specifies the entry class for the Flink job.", - "type": "string" - }, - "args": { - "description": "A string property representing additional JVM arguments for the Flink job. It should be space separated value.", - "type": "string" - }, - "savePointName": { - "description": "A string property that represents the name of the savepoint for the Flink job", - "type": "string" - }, - "action": { - "description": "A string property that indicates the action to be performed on the Flink job. It can have one of the following enum values => NEW, UPDATE, STATELESS_UPDATE, STOP, START, CANCEL, SAVEPOINT, LIST_SAVEPOINT, or DELETE.", - "type": "string", - "enum": [ - "NEW", - "UPDATE", - "STATELESS_UPDATE", - "STOP", - "START", - "CANCEL", - "SAVEPOINT", - "LIST_SAVEPOINT", - "DELETE", - "LAST_STATE_UPDATE", - "RE_LAUNCH" - ], - "x-ms-enum": { - "name": "action", - "modelAsString": true - } - }, - "flinkConfiguration": { - "description": "Additional properties used to configure Flink jobs. It allows users to set properties such as parallelism and jobSavePointDirectory. It accepts additional key-value pairs as properties, where the keys are strings and the values are strings as well.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "jobId": { - "description": "Unique id for identifying a job", - "type": "string", - "readOnly": true - }, - "status": { - "description": "Status of job.", - "type": "string", - "readOnly": true - }, - "jobOutput": { - "description": "Output of job.", - "type": "string", - "readOnly": true - }, - "actionResult": { - "description": "Action result of job.", - "type": "string", - "readOnly": true - }, - "lastSavePoint": { - "description": "The last savepoint.", - "type": "string", - "readOnly": true - } - }, - "x-ms-discriminator-value": "FlinkJob" - }, - "ClusterPoolAvailableUpgradeList": { - "type": "object", - "description": "collection of cluster pool available upgrade.", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "Collection of cluster pool available upgrade.", - "uniqueItems": false, - "items": { - "$ref": "#/definitions/ClusterPoolAvailableUpgrade" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "The Url of next result page.", - "type": "string" - } - } - }, - "ClusterPoolAvailableUpgrade": { - "type": "object", - "description": "Cluster pool available upgrade.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Gets or sets the properties. Define cluster pool upgrade specific properties.", - "$ref": "#/definitions/ClusterPoolAvailableUpgradeProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterPoolAvailableUpgradeProperties": { - "type": "object", - "description": "Cluster pool available upgrade properties.", - "properties": { - "upgradeType": { - "description": "Type of upgrade.", - "enum": [ - "AKSPatchUpgrade", - "NodeOsUpgrade" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterPoolAvailableUpgradeType", - "modelAsString": true - } - } - }, - "discriminator": "upgradeType", - "required": [ - "upgradeType" - ] - }, - "ClusterPoolAvailableUpgradeAksPatchUpgradeProperties": { - "type": "object", - "description": "Cluster pool available AKS patch version upgrade.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolAvailableUpgradeProperties" - } - ], - "properties": { - "currentVersion": { - "description": "Current AKS version.", - "type": "string" - }, - "currentVersionStatus": { - "description": "Current AKS version's status: whether it is deprecated or supported", - "enum": [ - "Deprecated", - "Supported" - ], - "type": "string", - "x-ms-enum": { - "name": "currentClusterPoolAksVersionStatus", - "modelAsString": true - } - }, - "latestVersion": { - "description": "Latest AKS patch version.", - "type": "string" - } - }, - "x-ms-discriminator-value": "AKSPatchUpgrade" - }, - "ClusterPoolAvailableUpgradeNodeOsUpgradeProperties": { - "type": "object", - "description": "Cluster pool available node OS update.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolAvailableUpgradeProperties" - } - ], - "properties": { - "latestVersion": { - "description": "The latest node OS version.", - "type": "string" - } - }, - "x-ms-discriminator-value": "NodeOsUpgrade" - }, - "ClusterAvailableUpgradeList": { - "type": "object", - "description": "Collection of cluster available upgrade.", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "Collection of Cluster available upgrade.", - "uniqueItems": false, - "items": { - "$ref": "#/definitions/ClusterAvailableUpgrade" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "The URL of next result page.", - "type": "string" - } - } - }, - "ClusterAvailableUpgrade": { - "type": "object", - "description": "Cluster available upgrade.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Gets or sets the properties. Define cluster upgrade specific properties.", - "$ref": "#/definitions/ClusterAvailableUpgradeProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterAvailableUpgradeProperties": { - "type": "object", - "description": "Cluster available upgrade properties.", - "properties": { - "upgradeType": { - "description": "Type of upgrade.", - "enum": [ - "AKSPatchUpgrade", - "HotfixUpgrade" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterAvailableUpgradeType", - "modelAsString": true - } - } - }, - "discriminator": "upgradeType", - "required": [ - "upgradeType" - ] - }, - "ClusterAvailableUpgradeAksPatchUpgradeProperties": { - "type": "object", - "description": "Cluster available AKS patch version upgrade.", - "allOf": [ - { - "$ref": "#/definitions/ClusterAvailableUpgradeProperties" - } - ], - "properties": { - "currentVersion": { - "description": "Current node pool version.", - "type": "string" - }, - "currentVersionStatus": { - "description": "Current AKS version's status: whether it is deprecated or supported", - "enum": [ - "Deprecated", - "Supported" - ], - "type": "string", - "x-ms-enum": { - "name": "currentClusterAksVersionStatus", - "modelAsString": true - } - }, - "latestVersion": { - "description": "Latest available version, which should be equal to AKS control plane version if it's not deprecated.", - "type": "string" - } - }, - "x-ms-discriminator-value": "AKSPatchUpgrade" - }, - "ClusterAvailableUpgradeHotfixUpgradeProperties": { - "type": "object", - "description": "Cluster available hotfix version upgrade.", - "allOf": [ - { - "$ref": "#/definitions/ClusterAvailableUpgradeProperties" - } - ], - "properties": { - "description": { - "type": "string", - "description": "Hotfix version upgrade description." - }, - "sourceOssVersion": { - "description": "Source OSS version of current cluster component.", - "type": "string" - }, - "sourceClusterVersion": { - "description": "Source cluster version of current cluster component.", - "type": "string" - }, - "sourceBuildNumber": { - "description": "Source build number of current cluster component.", - "type": "string" - }, - "targetOssVersion": { - "description": "Target OSS version of component to be upgraded.", - "type": "string" - }, - "targetClusterVersion": { - "description": "Target cluster version of component to be upgraded.", - "type": "string" - }, - "targetBuildNumber": { - "description": "Target build number of component to be upgraded.", - "type": "string" - }, - "componentName": { - "description": "Name of component to be upgraded.", - "type": "string" - }, - "severity": { - "description": "Severity of this upgrade.", - "enum": [ - "low", - "medium", - "high", - "critical" - ], - "type": "string", - "x-ms-enum": { - "name": "Severity", - "modelAsString": true - } - }, - "extendedProperties": { - "description": "Extended properties of current available upgrade version", - "type": "string" - }, - "createdTime": { - "description": "Created time of current available upgrade version", - "type": "string", - "format": "date-time" - } - }, - "x-ms-discriminator-value": "HotfixUpgrade" - }, - "ClusterPoolUpgrade": { - "description": "Cluster Pool Upgrade.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterPoolUpgradeProperties" - } - } - }, - "ClusterPoolUpgradeProperties": { - "description": "Properties of upgrading cluster pool.", - "type": "object", - "properties": { - "upgradeType": { - "description": "Type of upgrade.", - "enum": [ - "AKSPatchUpgrade", - "NodeOsUpgrade" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterPoolUpgradeType", - "modelAsString": true - } - } - }, - "discriminator": "upgradeType", - "required": [ - "upgradeType" - ] - }, - "ClusterPoolAKSPatchVersionUpgradeProperties": { - "description": "Properties of upgrading cluster pool's AKS patch version.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolUpgradeProperties" - } - ], - "properties": { - "upgradeClusterPool": { - "description": "whether upgrade cluster pool or not. If it's true, upgradeAllClusterNodes should be false.", - "type": "boolean", - "default": false - }, - "upgradeAllClusterNodes": { - "description": "whether upgrade all clusters' nodes. If it's true, upgradeClusterPool should be false.", - "type": "boolean", - "default": false - }, - "targetAksVersion": { - "description": "Target AKS version. When it's not set, latest version will be used. When upgradeClusterPool is true and upgradeAllClusterNodes is false, target version should be greater or equal to current version. When upgradeClusterPool is false and upgradeAllClusterNodes is true, target version should be equal to AKS version of cluster pool.", - "type": "string" - } - }, - "x-ms-discriminator-value": "AKSPatchUpgrade" - }, - "ClusterPoolNodeOsImageUpdateProperties": { - "description": "Properties of upgrading cluster pool's AKS patch version.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolUpgradeProperties" - } - ], - "properties": {}, - "x-ms-discriminator-value": "NodeOsUpgrade" - }, - "ClusterUpgrade": { - "description": "Cluster Upgrade.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterUpgradeProperties" - } - } - }, - "ClusterUpgradeProperties": { - "description": "Properties of upgrading cluster.", - "type": "object", - "properties": { - "upgradeType": { - "description": "Type of upgrade.", - "enum": [ - "AKSPatchUpgrade", - "HotfixUpgrade" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterUpgradeType", - "modelAsString": true - } - } - }, - "discriminator": "upgradeType", - "required": [ - "upgradeType" - ] - }, - "ClusterAKSPatchVersionUpgradeProperties": { - "description": "Properties of upgrading cluster's AKS patch version.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterUpgradeProperties" - } - ], - "properties": {}, - "x-ms-discriminator-value": "AKSPatchUpgrade" - }, - "ClusterHotfixUpgradeProperties": { - "description": "Properties of upgrading cluster's hotfix.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterUpgradeProperties" - } - ], - "properties": { - "targetOssVersion": { - "description": "Target OSS version of component to be upgraded.", - "type": "string" - }, - "targetClusterVersion": { - "description": "Target cluster version of component to be upgraded.", - "type": "string" - }, - "targetBuildNumber": { - "description": "Target build number of component to be upgraded.", - "type": "string" - }, - "componentName": { - "description": "Name of component to be upgraded.", - "type": "string" - } - }, - "x-ms-discriminator-value": "HotfixUpgrade" - } - }, - "parameters": { - "ClusterPoolNameParameter": { - "name": "clusterPoolName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster pool.", - "x-ms-parameter-location": "method" - }, - "ClusterNameParameter": { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the HDInsight cluster.", - "x-ms-parameter-location": "method" - }, - "ClusterTypeNameParameter": { - "name": "clusterTypeName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the HDInsight on AKS cluster type.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ClusterUpgradeRollback.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ClusterUpgradeRollback.json deleted file mode 100644 index 30f37192210d..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ClusterUpgradeRollback.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterRollbackUpgradeRequest": { - "properties": { - "upgradeHistory": "/subscriptions/10e32bab-26da-4cc4-a441-52b318f824e6/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterpools/clusterpool1/clusters/cluster1/upgradeHistories/01_11_2024_02_35_03_AM-HotfixUpgrade" - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 3 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.1", - "ossVersion": "2.4.1", - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateAutoscaleCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateAutoscaleCluster.json deleted file mode 100644 index c1854357ddce..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateAutoscaleCluster.json +++ /dev/null @@ -1,386 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "HDInsightCluster": { - "location": "West US 2", - "properties": { - "clusterType": "Trino", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "vmSize": "Standard_E8as_v5" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "components": [ - { - "name": "Trino", - "version": "410" - }, - { - "name": "Hive metastore", - "version": "3.1.2" - } - ], - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode", - "vmSize": "Standard_E8as_v5" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Accepted", - "clusterType": "Trino", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPool.json deleted file mode 100644 index fd76d9e50515..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPool.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "ClusterPool": { - "location": "West US 2", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "availabilityZones": [ - "1", - "2", - "3" - ] - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Accepted", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPoolWithPrivateAks.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPoolWithPrivateAks.json deleted file mode 100644 index c13de49280cd..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPoolWithPrivateAks.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "ClusterPool": { - "location": "West US 2", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "enablePrivateApiServer": true - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "enablePrivateApiServer": true - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Accepted", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "enablePrivateApiServer": true - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPoolWithUDRAks.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPoolWithUDRAks.json deleted file mode 100644 index 9522fe62a2ca..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPoolWithUDRAks.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "ClusterPool": { - "location": "West US 2", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "outboundType": "userDefinedRouting" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "outboundType": "userDefinedRouting" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Accepted", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - }, - "networkProfile": { - "subnetId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", - "outboundType": "userDefinedRouting" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateRangerCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateRangerCluster.json deleted file mode 100644 index 5c2aea923bf2..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateRangerCluster.json +++ /dev/null @@ -1,269 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "HDInsightCluster": { - "location": "West US 2", - "properties": { - "clusterType": "ranger", - "computeProfile": { - "nodes": [ - { - "type": "head", - "vmSize": "Standard_D3_v2", - "count": 2 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "ranger", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "head", - "vmSize": "Standard_D3_v2", - "count": 2 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - } - }, - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Accepted", - "clusterType": "ranger", - "computeProfile": { - "nodes": [ - { - "type": "head", - "vmSize": "Standard_D3_v2", - "count": 2 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - } - }, - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateSparkCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateSparkCluster.json deleted file mode 100644 index 312c941518cd..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateSparkCluster.json +++ /dev/null @@ -1,346 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "HDInsightCluster": { - "location": "West US 2", - "properties": { - "clusterType": "spark", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "vmSize": "Standard_D3_v2" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "spark", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Accepted", - "clusterType": "spark", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode", - "vmSize": "Standard_D3_v2" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateSparkClusterWithInternalIngress.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateSparkClusterWithInternalIngress.json deleted file mode 100644 index 0da021e3cde6..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateSparkClusterWithInternalIngress.json +++ /dev/null @@ -1,364 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "HDInsightCluster": { - "location": "West US 2", - "properties": { - "clusterType": "spark", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "vmSize": "Standard_D3_v2" - }, - "clusterAccessProfile": { - "enableInternalIngress": true - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "spark", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net", - "privateFqdn": "cluster1-int.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0", - "privateSshEndpoint": "cluster1-int.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1", - "privateSshEndpoint": "cluster1-int.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode", - "vmSize": "Standard_D3_v2" - }, - "clusterAccessProfile": { - "enableInternalIngress": true, - "privateLinkServiceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/privateLinkServices/testpls" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Accepted", - "clusterType": "spark", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 4 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "0.0.1", - "ossVersion": "2.2.3", - "components": [ - { - "name": "HDFS", - "version": "2.2.3" - } - ], - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "spark-service", - "configs": [ - { - "component": "spark-config", - "files": [ - { - "fileName": "spark-defaults.conf", - "values": { - "spark.eventLog.enabled": "true" - } - } - ] - } - ] - }, - { - "serviceName": "yarn-service", - "configs": [ - { - "component": "yarn-config", - "files": [ - { - "fileName": "core-site.xml", - "values": { - "fs.defaultFS": "wasb://testcontainer@teststorage.dfs.core.windows.net/", - "storage.name": "teststorage", - "storage.protocol": "wasb", - "storage.key": "test key", - "storage.container": "testcontainer" - } - }, - { - "fileName": "yarn-site.xml", - "values": { - "yarn.webapp.ui2.enable": "false" - } - } - ] - } - ] - } - ], - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net", - "privateFqdn": "cluster1-int.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0", - "privateSshEndpoint": "cluster1-int.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1", - "privateSshEndpoint": "cluster1-int.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "sparkProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode", - "vmSize": "Standard_D3_v2" - }, - "clusterAccessProfile": { - "enableInternalIngress": true, - "privateLinkServiceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.Network/privateLinkServices/testpls" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/DeleteCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/DeleteCluster.json deleted file mode 100644 index b689dd2b0dab..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/DeleteCluster.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "rg1", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1" - }, - "responses": { - "200": {}, - "202": { - "description": "Cluster delete request accepted.", - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/DeleteClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/DeleteClusterPool.json deleted file mode 100644 index ba83e73a4e44..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/DeleteClusterPool.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "rg1", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": {}, - "202": { - "description": "Cluster Pool delete request accepted.", - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetCluster.json deleted file mode 100644 index 6dfcce9d29a8..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetCluster.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "components": [ - { - "name": "Trino", - "version": "410" - }, - { - "name": "Hive metastore", - "version": "3.1.2" - } - ], - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode", - "vmSize": "Standard_D3_v2" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetClusterInstanceView.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetClusterInstanceView.json deleted file mode 100644 index 350884ab207e..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetClusterInstanceView.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2024-05-01-preview", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "clusterPoolName": "clusterPool1" - }, - "responses": { - "200": { - "body": { - "name": "default", - "properties": { - "status": { - "ready": "True", - "reason": "", - "message": "" - }, - "serviceStatuses": [ - { - "kind": "ZooKeeper", - "ready": "true", - "message": "" - } - ] - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetClusterPool.json deleted file mode 100644 index dbba4546749d..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetClusterPool.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetOperations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetOperations.json deleted file mode 100644 index 0439980c49d3..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetOperations.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "resourceGroup1", - "api-version": "2024-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.HDInsight/clusterpool/read", - "isDataAction": false, - "display": { - "provider": "HDInsight on AKS", - "resource": "Cluster Pool.", - "operation": "Get Cluster Pool Operation result.", - "description": "Get any cluster pool." - }, - "origin": "user, system" - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/InstallNewClusterLibraries.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/InstallNewClusterLibraries.json deleted file mode 100644 index b755ec38d9e1..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/InstallNewClusterLibraries.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "hiloResourceGroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterPool", - "clusterName": "cluster", - "operation": { - "properties": { - "action": "Install", - "libraries": [ - { - "properties": { - "type": "pypi", - "name": "requests", - "version": "2.31.0", - "remarks": "PyPi packages." - } - }, - { - "properties": { - "type": "maven", - "groupId": "org.apache.flink", - "name": "flink-connector-kafka", - "version": "3.0.2-1.18", - "remarks": "Maven packages." - } - } - ] - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListAvailableClusterPoolVersions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListAvailableClusterPoolVersions.json deleted file mode 100644 index 23debec4f8d9..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListAvailableClusterPoolVersions.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "location": "westus2", - "api-version": "2024-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterpoolversions/1.0", - "name": "1.0", - "properties": { - "clusterPoolVersion": "1.0", - "aksVersion": "1.24", - "isPreview": false - } - }, - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterpoolversions/1.1", - "name": "1.1", - "properties": { - "clusterPoolVersion": "1.1", - "aksVersion": "1.25", - "isPreview": false - } - }, - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterpoolversions/1.2", - "name": "1.2", - "properties": { - "clusterPoolVersion": "1.2", - "aksVersion": "1.26", - "isPreview": true - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListAvailableClusterVersions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListAvailableClusterVersions.json deleted file mode 100644 index 8da23c3856af..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListAvailableClusterVersions.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "location": "westus2", - "api-version": "2024-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterversions/flink_1.16.0-1.0.4", - "name": "flink_1.16.0-1.0.4", - "properties": { - "clusterType": "Flink", - "clusterVersion": "1.0.4", - "ossVersion": "1.16.0", - "clusterPoolVersion": "1.0", - "isPreview": false, - "components": [ - { - "name": "TaskManager", - "version": "1.16.0" - }, - { - "name": "JobManager", - "version": "1.16.0" - } - ] - } - }, - { - "id": "/subscriptions/subid/providers/Microsoft.HDInsight/locations/westus2/availableclusterversions/spark_3.3.1-1.0.4", - "name": "spark_3.3.1-1.0.4", - "properties": { - "clusterType": "Spark", - "clusterVersion": "1.0.4", - "ossVersion": "3.3.1", - "clusterPoolVersion": "1.0", - "isPreview": false, - "components": [ - { - "name": "Hadoop", - "version": "3.2.3" - }, - { - "name": "Hive", - "version": "3.1.4" - } - ] - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterAvailableUpgrades.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterAvailableUpgrades.json deleted file mode 100644 index dbbc4bb14708..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterAvailableUpgrades.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1/availableUpgrades/AKSPatchUpgrade", - "properties": { - "upgradeType": "AKSPatchUpgrade", - "currentVersion": "1.26.3", - "currentVersionStatus": "Supported", - "latestVersion": "1.26.6" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1/availableUpgrades/hotfix1", - "properties": { - "description": "Hotfix for historyserver on version 1.16.0-1.0.6.2", - "sourceClusterVersion": "1.0.6", - "sourceOssVersion": "1.16.0", - "sourceBuildNumber": "2", - "targetClusterVersion": "1.0.6", - "targetOssVersion": "1.16.0", - "targetBuildNumber": "3", - "componentName": "historyserver", - "severity": "low", - "upgradeType": "HotfixUpgrade", - "extendedProperties": "", - "createdTime": "2023-03-29T14:13:12Z" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterInstanceViews.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterInstanceViews.json deleted file mode 100644 index f5f2eb91718b..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterInstanceViews.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2024-05-01-preview", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "clusterPoolName": "clusterPool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "default", - "properties": { - "status": { - "ready": "True", - "reason": "", - "message": "" - }, - "serviceStatuses": [ - { - "kind": "ZooKeeper", - "ready": "true", - "message": "" - } - ] - } - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterJobs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterJobs.json deleted file mode 100644 index 4494f1ddbf8b..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterJobs.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "hiloResourcegroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterPool1", - "clusterName": "cluster1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1/jobs/flink-job-1", - "properties": { - "runId": "job-15a-4322-b32c-ea541845e911", - "jobType": "FlinkJob", - "jobName": "flink-job-1", - "jobJarDirectory": "jobJarDirectory1", - "jarName": "job.jar", - "entryClass": "com.microsoft.hilo.flink.job.streaming.ExampleJob", - "flinkConfiguration": { - "parallelism": "1", - "savepoint.directory": "savepoint-directory" - }, - "jobId": "362b911137dfefc2e55784666f4d4253", - "status": "RUNNING", - "jobOutput": "job-output", - "actionResult": "SUCCESS" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolAvailableUpgrades.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolAvailableUpgrades.json deleted file mode 100644 index 132617f0d41e..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolAvailableUpgrades.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/availableUpgrades/AKSPatchUpgrade", - "properties": { - "upgradeType": "AKSPatchUpgrade", - "currentVersion": "1.26.3", - "currentVersionStatus": "Deprecated", - "latestVersion": "1.26.6" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/availableUpgrades/NodeOsUpgrade", - "properties": { - "upgradeType": "NodeOsUpgrade", - "latestVersion": "AKSCBLMariner-V2gen2-202310.09.0" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolUpgradeHistory.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolUpgradeHistory.json deleted file mode 100644 index 5d5e3eeb615f..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolUpgradeHistory.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/10e32bab-26da-4cc4-a441-52b318f824e6/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterpools/clusterpool1/upgradeHistories/nodeosupgrade1", - "name": "nodeosupgrade1", - "properties": { - "upgradeType": "NodeOsUpgrade", - "utcTime": "01/18/2024 03:18:47 AM", - "newNodeOs": "1.2.2", - "upgradeResult": "Succeed" - } - }, - { - "id": "/subscriptions/10e32bab-26da-4cc4-a441-52b318f824e6/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterpools/clusterpool1/upgradeHistories/akspatchupgrade1", - "name": "akspatchupgrade1", - "properties": { - "upgradeType": "AKSPatchUpgrade", - "utcTime": "01/18/2024 03:18:38 AM", - "upgradeClusterPool": false, - "upgradeAllClusterNodes": true, - "originalVersion": null, - "newVersion": "1.1.1", - "upgradeResult": "Succeed" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPools.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPools.json deleted file mode 100644 index 595e84ceba93..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPools.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "hiloResourcegroup", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "api-version": "2024-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3 - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "location": "West US 2", - "tags": { - "department": "MightyMight", - "company": "Contoso" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolsSubscription.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolsSubscription.json deleted file mode 100644 index 05077a9e90d1..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolsSubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "api-version": "2024-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "location": "West US 2", - "tags": { - "department": "MightyMight", - "company": "Contoso" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterServiceConfigs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterServiceConfigs.json deleted file mode 100644 index 8abca07ba7d3..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterServiceConfigs.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2024-05-01-preview", - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "clusterPoolName": "clusterPool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "serviceName": "hadoop-service", - "componentName": "hadoop-component", - "fileName": "capacity-scheduler.xml", - "content": "" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterUpgradeHistory.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterUpgradeHistory.json deleted file mode 100644 index 572e073a0557..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterUpgradeHistory.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1/upgradeHistories/upgradeDefinitionCR1", - "name": "upgradeDefinitionCR1", - "properties": { - "upgradeType": "HotfixUpgrade", - "utcTime": "01/18/2024 03:18:38 AM", - "sourceOssVersion": "2.4.1", - "sourceClusterVersion": "1.0.1", - "sourceBuildNumber": "1", - "targetOssVersion": "2.4.1", - "targetClusterVersion": "1.0.1", - "targetBuildNumber": "2", - "componentName": "Zookeeper", - "severity": "low", - "upgradeResult": "Succeed" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClustersByClusterPoolName.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClustersByClusterPoolName.json deleted file mode 100644 index c1f1c6badd2b..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClustersByClusterPoolName.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "components": [ - { - "name": "Trino", - "version": "410" - }, - { - "name": "Hive metastore", - "version": "3.1.2" - } - ], - "identityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441" - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode", - "vmSize": "Standard_D3_v2" - } - } - }, - "location": "West US 2", - "tags": { - "department": "MightyMight", - "company": "Contoso" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListPredefinedClusterLibraries.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListPredefinedClusterLibraries.json deleted file mode 100644 index 35dfb72a8f94..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListPredefinedClusterLibraries.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "hiloResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterPool", - "clusterName": "cluster", - "$category": "predefined" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hiloResourceGroup/providers/Microsoft.HDInsight/clusterPools/clusterPool/clusters/cluster/libraries/pyspark", - "properties": { - "type": "pypi", - "name": "pyspark", - "version": "3.5.0" - } - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hiloResourceGroup/providers/Microsoft.HDInsight/clusterPools/clusterPool/clusters/cluster/libraries/spark-sql", - "properties": { - "type": "maven", - "groupId": "org.apache.spark", - "name": "spark-sql", - "version": "3.5.0_2.12" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListUserCustomClusterLibraries.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListUserCustomClusterLibraries.json deleted file mode 100644 index 39ca335d1fcf..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListUserCustomClusterLibraries.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "hiloResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterPool", - "clusterName": "cluster", - "$category": "custom" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hiloResourceGroup/providers/Microsoft.HDInsight/clusterPools/clusterPool/clusters/cluster/libraries/requests", - "properties": { - "type": "pypi", - "name": "requests", - "version": "2.31.0", - "remarks": "PyPi packages.", - "timestamp": "2020-01-01T00:00:00.000Z", - "status": "INSTALLED", - "message": "" - } - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hiloResourceGroup/providers/Microsoft.HDInsight/clusterPools/clusterPool/clusters/cluster/libraries/flink-connector-kafka", - "properties": { - "type": "maven", - "groupId": "org.apache.flink", - "name": "flink-connector-kafka", - "version": "3.0.2-1.18", - "remarks": "Maven packages.", - "timestamp": "2020-01-01T00:00:00.000Z", - "status": "INSTALLING", - "message": "" - } - } - ] - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/LocationsNameAvailability.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/LocationsNameAvailability.json deleted file mode 100644 index fcc1bb8d6f7d..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/LocationsNameAvailability.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "api-version": "2024-05-01-preview", - "location": "southeastasia", - "NameAvailabilityParameters": { - "name": "contosemember1", - "type": "Microsoft.HDInsight/clusterPools/clusters" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "nameAvailable": false, - "reason": "AlreadyExists" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchCluster.json deleted file mode 100644 index 48e3ae7846ed..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchCluster.json +++ /dev/null @@ -1,477 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterPatchRequest": { - "properties": { - "clusterProfile": { - "serviceConfigsProfiles": [ - { - "serviceName": "TestService1", - "configs": [ - { - "component": "TestComp1", - "files": [ - { - "fileName": "TestFile1", - "values": { - "Test.config.1": "1", - "Test.config.2": "2" - } - }, - { - "fileName": "TestFile2", - "values": { - "Test.config.3": "3", - "Test.config.4": "4" - } - } - ] - }, - { - "component": "TestComp2", - "files": [ - { - "fileName": "TestFile3", - "content": "TestContent", - "path": "TestPath" - }, - { - "fileName": "TestFile4", - "values": { - "Test.config.7": "7", - "Test.config.8": "8" - } - } - ] - } - ] - }, - { - "serviceName": "TestService2", - "configs": [ - { - "component": "TestComp3", - "files": [ - { - "fileName": "TestFile5", - "values": { - "Test.config.9": "9" - } - } - ] - } - ] - } - ], - "sshProfile": { - "count": 2 - }, - "authorizationProfile": { - "userIds": [ - "Testuser1", - "Testuser2" - ] - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": -1, - "scheduleBasedConfig": { - "defaultCount": 3, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday, Tuesday, Wednesday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - } - ] - } - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "location": "West US 2", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "TestService1", - "configs": [ - { - "component": "TestComp1", - "files": [ - { - "fileName": "TestFile1", - "values": { - "Test.config.1": "1", - "Test.config.2": "2" - } - }, - { - "fileName": "TestFile2", - "values": { - "Test.config.3": "3", - "Test.config.4": "4" - } - } - ] - }, - { - "component": "TestComp2", - "files": [ - { - "fileName": "TestFile3", - "content": "TestContent", - "path": "TestPath" - }, - { - "fileName": "TestFile4", - "values": { - "Test.config.7": "7", - "Test.config.8": "8" - } - } - ] - } - ] - }, - { - "serviceName": "TestService2", - "configs": [ - { - "component": "TestComp3", - "files": [ - { - "fileName": "TestFile5", - "values": { - "Test.config.9": "9" - } - } - ] - } - ] - } - ], - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": -1, - "scheduleBasedConfig": { - "defaultCount": 3, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday, Tuesday, Wednesday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - } - ] - } - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode", - "vmSize": "Standard_D3_v2" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "http://management.azure.com/providers/Microsoft.HDInsight/locations/EASTUS/operationStatuses/676c3c86-188d-4591-9b55-c4298b4a1279?api-version=2024-05-01-preview" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "location": "West US 2", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 3 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "serviceConfigsProfiles": [ - { - "serviceName": "TestService1", - "configs": [ - { - "component": "TestComp1", - "files": [ - { - "fileName": "TestFile1", - "values": { - "Test.config.1": "1", - "Test.config.2": "2" - } - }, - { - "fileName": "TestFile2", - "values": { - "Test.config.3": "3", - "Test.config.4": "4" - } - } - ] - }, - { - "component": "TestComp2", - "files": [ - { - "fileName": "TestFile3", - "content": "TestContent", - "path": "TestPath" - }, - { - "fileName": "TestFile4", - "values": { - "Test.config.7": "7", - "Test.config.8": "8" - } - } - ] - } - ] - }, - { - "serviceName": "TestService2", - "configs": [ - { - "component": "TestComp3", - "files": [ - { - "fileName": "TestFile5", - "values": { - "Test.config.9": "9" - } - } - ] - } - ] - } - ], - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": -1, - "scheduleBasedConfig": { - "defaultCount": 3, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday, Tuesday, Wednesday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 3 - } - ] - } - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode", - "vmSize": "Standard_D3_v2" - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchClusterPool.json deleted file mode 100644 index 5d2e98cf1140..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchClusterPool.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterPoolTags": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "aksClusterProfile": { - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "aksClusterProfile": { - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchRangerCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchRangerCluster.json deleted file mode 100644 index 7e143d64e6f7..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchRangerCluster.json +++ /dev/null @@ -1,251 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterPatchRequest": { - "properties": { - "clusterProfile": { - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "location": "West US 2", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "ranger", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "head", - "vmSize": "Standard_D3_v2", - "count": 2 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.1", - "ossVersion": "2.4.1", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - } - }, - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "http://management.azure.com/providers/Microsoft.HDInsight/locations/EASTUS/operationStatuses/676c3c86-188d-4591-9b55-c4298b4a1279?api-version=2024-05-01-preview" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "location": "West US 2", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "ranger", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "head", - "vmSize": "Standard_D3_v2", - "count": 2 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.1", - "ossVersion": "2.4.1", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "logAnalyticsProfile": { - "enabled": true, - "applicationLogs": { - "stdErrorEnabled": true, - "stdOutEnabled": true - }, - "metricsEnabled": true - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - } - }, - "rangerProfile": { - "rangerAdmin": { - "admins": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ], - "database": { - "host": "testsqlserver.database.windows.net", - "name": "testdb", - "passwordSecretRef": "https://testkv.vault.azure.net/secrets/mysecret/5df6584d9c25418c8d900240aa6c3452", - "username": "admin" - } - }, - "rangerAudit": { - "storageAccount": "https://teststorage.blob.core.windows.net/testblob" - }, - "rangerUsersync": { - "enabled": true, - "groups": [ - "0a53828f-36c9-44c3-be3d-99a7fce977ad", - "13be6971-79db-4f33-9d41-b25589ca25ac" - ], - "mode": "automatic", - "users": [ - "testuser1@contoso.com", - "testuser2@contoso.com" - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ResizeCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ResizeCluster.json deleted file mode 100644 index 3f2788c9a799..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ResizeCluster.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterResizeRequest": { - "location": "West US 2", - "properties": { - "targetWorkerNodeCount": 5 - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "Trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "Head", - "vmSize": "Standard_E8as_v5", - "count": 2 - }, - { - "type": "Worker", - "vmSize": "Standard_E8as_v5", - "count": 5 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.6", - "ossVersion": "0.410.0", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode", - "vmSize": "Standard_D3_v2" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - }, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2024-05-01-preview" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/RunClusterJob.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/RunClusterJob.json deleted file mode 100644 index 1ce2c8ce6d7c..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/RunClusterJob.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterJob": { - "properties": { - "jobType": "FlinkJob", - "jobName": "flink-job-name", - "action": "START", - "jobJarDirectory": "abfs://flinkjob@hilosa.dfs.core.windows.net/jars", - "jarName": "flink-sleep-job-0.0.1-SNAPSHOT.jar", - "entryClass": "com.microsoft.hilo.flink.job.streaming.SleepJob", - "flinkConfiguration": { - "parallelism": "1", - "savepoint.directory": "abfs://flinkjob@hilosa.dfs.core.windows.net/savepoint" - } - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "properties": { - "runId": "job-15a-4322-b32c-ea541845e911", - "jobType": "FlinkJob", - "jobName": "flink-job-name", - "action": "START", - "jobJarDirectory": "abfs://flinkjob@hilosa.dfs.core.windows.net/jars", - "jarName": "flink-sleep-job-0.0.1-SNAPSHOT.jar", - "entryClass": "com.microsoft.hilo.flink.job.streaming.SleepJob", - "flinkConfiguration": { - "parallelism": "1", - "savepoint.directory": "abfs://flinkjob@hilosa.dfs.core.windows.net/savepoint" - } - } - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UninstallExistingClusterLibraries.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UninstallExistingClusterLibraries.json deleted file mode 100644 index bc475ba56dbc..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UninstallExistingClusterLibraries.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "hiloResourceGroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterPool", - "clusterName": "cluster", - "operation": { - "properties": { - "action": "Uninstall", - "libraries": [ - { - "properties": { - "type": "pypi", - "name": "tensorflow" - } - }, - { - "properties": { - "type": "maven", - "groupId": "org.apache.flink", - "name": "flink-connector-hudi" - } - } - ] - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeAKSPatchVersionForCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeAKSPatchVersionForCluster.json deleted file mode 100644 index 62f502387a75..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeAKSPatchVersionForCluster.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterUpgradeRequest": { - "properties": { - "upgradeType": "AKSPatchUpgrade" - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 3 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.1", - "ossVersion": "2.4.1", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode", - "vmSize": "Standard_D3_v2" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeAKSPatchVersionForClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeAKSPatchVersionForClusterPool.json deleted file mode 100644 index 3bce9800f950..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeAKSPatchVersionForClusterPool.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "ClusterPoolUpgradeRequest": { - "properties": { - "upgradeType": "AKSPatchUpgrade", - "upgradeClusterPool": true, - "upgradeAllClusterNodes": false - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeHotfixForCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeHotfixForCluster.json deleted file mode 100644 index 3cb92b9aec2f..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeHotfixForCluster.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "clusterName": "cluster1", - "ClusterUpgradeRequest": { - "properties": { - "upgradeType": "HotfixUpgrade", - "targetOssVersion": "1.16.0", - "targetClusterVersion": "1.0.6", - "targetBuildNumber": "3", - "componentName": "historyserver" - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1", - "name": "cluster1", - "type": "Microsoft.HDInsight/clusterPools/clusters", - "properties": { - "provisioningState": "Succeeded", - "clusterType": "trino", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "computeProfile": { - "nodes": [ - { - "type": "worker", - "vmSize": "Standard_D3_v2", - "count": 3 - } - ], - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "clusterProfile": { - "clusterVersion": "1.0.1", - "ossVersion": "2.4.1", - "managedIdentityProfile": { - "identityList": [ - { - "type": "cluster", - "resourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi", - "clientId": "de91f1d8-767f-460a-ac11-3cf103f74b34", - "objectId": "40491351-c240-4042-91e0-f644a1d2b441" - } - ] - }, - "authorizationProfile": { - "userIds": [ - "testuser1", - "testuser2" - ] - }, - "connectivityProfile": { - "web": { - "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" - }, - "ssh": [ - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0" - }, - { - "endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1" - } - ] - }, - "trinoProfile": {}, - "sshProfile": { - "count": 2, - "podPrefix": "sshnode", - "vmSize": "Standard_D3_v2" - }, - "autoscaleProfile": { - "enabled": true, - "autoscaleType": "ScheduleBased", - "gracefulDecommissionTimeout": 3600, - "scheduleBasedConfig": { - "defaultCount": 10, - "timeZone": "Cen. Australia Standard Time", - "schedules": [ - { - "days": [ - "Monday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 20 - }, - { - "days": [ - "Sunday" - ], - "startTime": "00:00", - "endTime": "12:00", - "count": 25 - } - ] - }, - "loadBasedConfig": { - "minNodes": 10, - "maxNodes": 20, - "pollInterval": 60, - "cooldownPeriod": 300, - "scalingRules": [ - { - "actionType": "scaleup", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "greaterThan", - "threshold": 90 - } - }, - { - "actionType": "scaledown", - "evaluationCount": 3, - "scalingMetric": "cpu", - "comparisonRule": { - "operator": "lessThan", - "threshold": 20 - } - } - ] - } - } - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeNodeOsForClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeNodeOsForClusterPool.json deleted file mode 100644 index ab008abe4317..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeNodeOsForClusterPool.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", - "resourceGroupName": "hiloResourcegroup", - "api-version": "2024-05-01-preview", - "clusterPoolName": "clusterpool1", - "ClusterPoolUpgradeRequest": { - "properties": { - "upgradeType": "NodeOsUpgrade" - } - } - }, - "responses": { - "202": { - "headers": { - "location": "http://azure.async.operation/status" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1", - "name": "clusterpool1", - "type": "Microsoft.HDInsight/clusterPools", - "properties": { - "provisioningState": "Succeeded", - "deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36", - "managedResourceGroupName": "hdi-45cd32aead6e4a91b079a0cdbfac8c36", - "clusterPoolProfile": { - "clusterPoolVersion": "1.2" - }, - "computeProfile": { - "vmSize": "Standard_D3_v2", - "count": 3, - "availabilityZones": [ - "1", - "2", - "3" - ] - }, - "aksClusterProfile": { - "aksVersion": "1.24", - "aksClusterAgentPoolIdentityProfile": { - "msiResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clusterpool1-agentpool", - "msiClientId": "a89fb478-2a84-4d9b-8f18-3e8c4d1db3eb", - "msiObjectId": "dc7ef861-8b55-4ffb-9003-20885cd895a9" - }, - "aksClusterResourceId": "/subscriptions/subid/resourceGroups/hdi-45cd32aead6e4a91b079a0cdbfac8c36/providers/Microsoft.ContainerService/managedClusters/clusterpool1" - } - }, - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "location": "West US 2" - } - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/hdinsight.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/hdinsight.json deleted file mode 100644 index f4b28c365114..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/hdinsight.json +++ /dev/null @@ -1,5190 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "HDInsight on AKS Management Client", - "description": "The HDInsight on AKS Management Client.", - "version": "2024-05-01-preview" - }, - "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.HDInsight/clusterpools/{clusterPoolName}": { - "get": { - "description": "Gets a cluster pool.", - "operationId": "ClusterPools_Get", - "x-ms-examples": { - "ClusterPoolGet": { - "$ref": "./examples/GetClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Clusterpool details.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "description": "Creates or updates a cluster pool.", - "operationId": "ClusterPools_CreateOrUpdate", - "x-ms-examples": { - "ClusterPoolPut": { - "$ref": "./examples/CreateClusterPool.json" - }, - "ClusterPoolPutWithPrivateAks": { - "$ref": "./examples/CreateClusterPoolWithPrivateAks.json" - }, - "ClusterPoolPutWithUDRAks": { - "$ref": "./examples/CreateClusterPoolWithUDRAks.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "name": "ClusterPool", - "description": "The Cluster Pool to create.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterPool" - } - } - ], - "responses": { - "201": { - "description": "ClusterPool is created.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "200": { - "description": "Update successful.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "description": "Updates an existing Cluster Pool Tags.", - "operationId": "ClusterPools_UpdateTags", - "x-ms-examples": { - "ClusterPoolsPatchTags": { - "$ref": "./examples/PatchClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "name": "clusterPoolTags", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TagsObject" - }, - "description": "Parameters supplied to update tags." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "description": "Deletes a Cluster Pool.", - "operationId": "ClusterPools_Delete", - "x-ms-examples": { - "ClusterPoolDelete": { - "$ref": "./examples/DeleteClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Successful." - }, - "202": { - "description": "Accepted response definition.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "No content - The Cluster Pool doesn't exist." - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusterpools": { - "get": { - "operationId": "ClusterPools_ListBySubscription", - "x-ms-examples": { - "ClusterPoolsListBySubscription": { - "$ref": "./examples/ListClusterPoolsSubscription.json" - } - }, - "description": "Gets the list of Cluster Pools within a Subscription.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Cluster Pools successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterPoolListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools": { - "get": { - "operationId": "ClusterPools_ListByResourceGroup", - "x-ms-examples": { - "ClusterPoolsListByResourceGroup": { - "$ref": "./examples/ListClusterPools.json" - } - }, - "description": "Lists the HDInsight cluster pools under a resource group.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Cluster Pools successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterPoolListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade": { - "post": { - "description": "Upgrade a cluster pool.", - "operationId": "ClusterPools_Upgrade", - "x-ms-examples": { - "ClusterPoolsUpgradeAKSPatchVersion": { - "$ref": "./examples/UpgradeAKSPatchVersionForClusterPool.json" - }, - "ClusterPoolsUpgradeNodeOs": { - "$ref": "./examples/UpgradeNodeOsForClusterPool.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "name": "ClusterPoolUpgradeRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterPoolUpgrade" - }, - "description": "Upgrade a cluster pool." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/ClusterPool" - } - }, - "202": { - "description": "Cluster Pool Upgrade request accepted.", - "headers": { - "location": { - "type": "string", - "description": "URL to get the status of the resize operation." - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/availableUpgrades": { - "get": { - "description": "List a cluster pool available upgrade.", - "operationId": "ClusterPoolAvailableUpgrades_List", - "x-ms-examples": { - "GetClusterPoolAvailableUpgrade": { - "$ref": "./examples/ListClusterPoolAvailableUpgrades.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Clusterpool Available Upgrade details.", - "schema": { - "$ref": "#/definitions/ClusterPoolAvailableUpgradeList" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgradeHistories": { - "get": { - "description": "Returns a list of upgrade history.", - "operationId": "ClusterPoolUpgradeHistories_List", - "x-ms-examples": { - "ClusterPoolUpgradeHistoriesListResult": { - "$ref": "./examples/ListClusterPoolUpgradeHistory.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Available cluster versions successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterPoolUpgradeHistoryListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters": { - "get": { - "operationId": "Clusters_ListByClusterPoolName", - "description": "Lists the HDInsight cluster pools under a resource group.", - "x-ms-examples": { - "HDInsightClustersListByClusterPoolName": { - "$ref": "./examples/ListClustersByClusterPoolName.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - } - ], - "responses": { - "200": { - "description": "Clusters successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade": { - "post": { - "description": "Upgrade a cluster.", - "operationId": "Clusters_Upgrade", - "x-ms-examples": { - "ClustersUpgradeAKSPatchVersion": { - "$ref": "./examples/UpgradeAKSPatchVersionForCluster.json" - }, - "ClustersUpgradeHotfix": { - "$ref": "./examples/UpgradeHotfixForCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterUpgradeRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterUpgrade" - }, - "description": "Upgrade a cluster." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "202": { - "description": "Cluster Upgrade request accepted.", - "headers": { - "location": { - "type": "string", - "description": "URL to get the status of the resize operation." - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/availableUpgrades": { - "get": { - "description": "List a cluster available upgrade.", - "operationId": "ClusterAvailableUpgrades_List", - "x-ms-examples": { - "GetClusterAvailableUpgrade": { - "$ref": "./examples/ListClusterAvailableUpgrades.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "Cluster Available Upgrade details.", - "schema": { - "$ref": "#/definitions/ClusterAvailableUpgradeList" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgradeHistories": { - "get": { - "description": "Returns a list of upgrade history.", - "operationId": "ClusterUpgradeHistories_List", - "x-ms-examples": { - "ClusterUpgradeHistoriesListResult": { - "$ref": "./examples/ListClusterUpgradeHistory.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "Available cluster versions successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterUpgradeHistoryListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/rollback": { - "post": { - "description": "Manual rollback upgrade for a cluster.", - "operationId": "Clusters_UpgradeManualRollback", - "x-ms-examples": { - "ClusterUpgradeRollback": { - "$ref": "./examples/ClusterUpgradeRollback.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterRollbackUpgradeRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterUpgradeRollback" - }, - "description": "Manual rollback upgrade for a cluster." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "202": { - "description": "Cluster Manual Rollback Upgrade request accepted.", - "headers": { - "location": { - "type": "string", - "description": "URL to get the status of the rollback operation." - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize": { - "post": { - "description": "Resize an existing Cluster.", - "operationId": "Clusters_Resize", - "x-ms-examples": { - "HDInsightClusterResize": { - "$ref": "./examples/ResizeCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterResizeRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterResizeData" - }, - "description": "Resize a cluster." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "202": { - "description": "Cluster resize request accepted.", - "headers": { - "location": { - "type": "string", - "description": "URL to get the status of the resize operation." - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}": { - "get": { - "operationId": "Clusters_Get", - "description": "Gets a HDInsight cluster.", - "x-ms-examples": { - "HDInsightClusterGet": { - "$ref": "./examples/GetCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "Cluster details.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "operationId": "Clusters_Create", - "description": "Creates a cluster.", - "x-ms-examples": { - "HDInsightClusterPut": { - "$ref": "./examples/CreateAutoscaleCluster.json" - }, - "HDInsightSparkClusterPut": { - "$ref": "./examples/CreateSparkCluster.json" - }, - "HDInsightSparkClusterPutWithInternalIngress": { - "$ref": "./examples/CreateSparkClusterWithInternalIngress.json" - }, - "HDInsightRangerClusterPut": { - "$ref": "./examples/CreateRangerCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "HDInsightCluster", - "in": "body", - "required": true, - "description": "The cluster to create.", - "schema": { - "$ref": "#/definitions/Cluster" - } - } - ], - "responses": { - "201": { - "description": "Cluster is created.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "200": { - "description": "Update successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "description": "Updates an existing Cluster.", - "operationId": "Clusters_Update", - "x-ms-examples": { - "HDInsightClustersPatchTags": { - "$ref": "./examples/PatchCluster.json" - }, - "HDInsightRangerClusterPatchTags": { - "$ref": "./examples/PatchRangerCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterPatchRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterPatch" - }, - "description": "Patch a cluster." - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "operationId": "Clusters_Delete", - "description": "Deletes a cluster.", - "x-ms-examples": { - "HDInsightClustersDelete": { - "$ref": "./examples/DeleteCluster.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "Successful." - }, - "202": { - "description": "Cluster delete request accepted.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "No content - The Cluster doesn't exist." - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob": { - "post": { - "operationId": "ClusterJobs_RunJob", - "description": "Operations on jobs of HDInsight on AKS cluster.", - "x-ms-examples": { - "RunClusterJob": { - "$ref": "./examples/RunClusterJob.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "ClusterJob", - "description": "The Cluster job.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterJob" - } - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/ClusterJob" - } - }, - "202": { - "description": "Run cluster job action request accepted.", - "headers": { - "location": { - "type": "string", - "description": "URL to get the status of the resize operation." - } - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/jobs": { - "get": { - "operationId": "ClusterJobs_List", - "description": "Get jobs of HDInsight on AKS cluster.", - "x-ms-examples": { - "ListClusterJobs": { - "$ref": "./examples/ListClusterJobs.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The system query option to filter job returned in the response. Allowed value is 'jobName eq {jobName}' or 'jarName eq {jarName}'." - } - ], - "responses": { - "200": { - "description": "Cluster job details.", - "schema": { - "$ref": "#/definitions/ClusterJobList" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/serviceConfigs": { - "get": { - "operationId": "Clusters_ListServiceConfigs", - "description": "Lists the config dump of all services running in cluster.", - "x-ms-examples": { - "HDInsightClusterGetServiceConfigs": { - "$ref": "./examples/ListClusterServiceConfigs.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServiceConfigListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability": { - "post": { - "description": "Check the availability of the resource name.", - "operationId": "Locations_CheckNameAvailability", - "x-ms-examples": { - "LocationsNameAvailability": { - "$ref": "./examples/LocationsNameAvailability.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" - }, - { - "name": "NameAvailabilityParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NameAvailabilityParameters" - }, - "description": "The name and type of the resource." - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/NameAvailabilityResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews": { - "get": { - "operationId": "Clusters_ListInstanceViews", - "x-ms-examples": { - "HDInsightClusterGetInstanceViews": { - "$ref": "./examples/ListClusterInstanceViews.json" - } - }, - "description": "Lists the lists of instance views", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ClusterInstanceViewsResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default": { - "get": { - "operationId": "Clusters_GetInstanceView", - "description": "Gets the status of a cluster instance.", - "x-ms-examples": { - "HDInsightClusterGetInstanceView": { - "$ref": "./examples/GetClusterInstanceView.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ClusterInstanceViewResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/providers/Microsoft.HDInsight/operations": { - "get": { - "description": "Returns list of operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "ListOperations": { - "$ref": "./examples/GetOperations.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Operation details.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/availableClusterPoolVersions": { - "get": { - "description": "Returns a list of available cluster pool versions.", - "operationId": "AvailableClusterPoolVersions_ListByLocation", - "x-ms-examples": { - "ClusterPoolVersionListResult": { - "$ref": "./examples/ListAvailableClusterPoolVersions.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Available cluster pool versions successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterPoolVersionsListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/availableClusterVersions": { - "get": { - "description": "Returns a list of available cluster versions.", - "operationId": "AvailableClusterVersions_ListByLocation", - "x-ms-examples": { - "ClusterVersionListResult": { - "$ref": "./examples/ListAvailableClusterVersions.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Available cluster versions successfully returned.", - "schema": { - "$ref": "#/definitions/ClusterVersionsListResult" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/libraries": { - "get": { - "operationId": "ClusterLibraries_List", - "description": "Get all libraries of HDInsight on AKS cluster.", - "x-ms-examples": { - "ListUserCustomClusterLibraries": { - "$ref": "./examples/ListUserCustomClusterLibraries.json" - }, - "ListPredefinedClusterLibraries": { - "$ref": "./examples/ListPredefinedClusterLibraries.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "$category", - "in": "query", - "required": true, - "enum": [ - "custom", - "predefined" - ], - "type": "string", - "x-ms-enum": { - "name": "$category", - "modelAsString": true - }, - "description": "The system query option to filter libraries returned in the response. Allowed value is 'custom' or 'predefined'." - } - ], - "responses": { - "200": { - "description": "Collection of libraries in the cluster.", - "schema": { - "$ref": "#/definitions/ClusterLibraryList" - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/manageLibraries": { - "post": { - "operationId": "ClusterLibraries_ManageLibraries", - "description": "Library management operations on HDInsight on AKS cluster.", - "x-ms-examples": { - "InstallNewClusterLibraries": { - "$ref": "./examples/InstallNewClusterLibraries.json" - }, - "UninstallExistingClusterLibraries": { - "$ref": "./examples/UninstallExistingClusterLibraries.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ClusterPoolNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "operation", - "description": "The library management operation.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterLibraryManagementOperation" - } - } - ], - "responses": { - "202": { - "description": "Cluster library management operation request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "URL to get the status of the library management operation." - } - } - }, - "default": { - "description": "Error Response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - } - }, - "definitions": { - "AvailabilityZones": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of Availability zones to use for AKS VMSS nodes." - }, - "ClusterPoolListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterPool" - }, - "description": "The list of cluster pools." - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - }, - "description": "The list cluster pools operation response." - }, - "ClusterPoolProfile": { - "type": "object", - "description": "Cluster pool profile.", - "required": [ - "clusterPoolVersion" - ], - "properties": { - "clusterPoolVersion": { - "$ref": "#/definitions/ClusterPoolVersionPattern" - }, - "publicIpTag": { - "description": "Gets or sets the IP tag for the public IPs created along with the HDInsightOnAks ClusterPools and Clusters. ", - "$ref": "#/definitions/IpTag" - } - } - }, - "IpTag": { - "type": "object", - "required": [ - "ipTagType", - "tag" - ], - "properties": { - "ipTagType": { - "type": "string", - "description": "Gets or sets the ipTag type: Example FirstPartyUsage." - }, - "tag": { - "type": "string", - "description": "Gets or sets value of the IpTag associated with the public IP. Example HDInsight, SQL, Storage etc" - } - }, - "description": "Contains the IpTag associated with the public IP address" - }, - "ClusterPoolComputeProfile": { - "type": "object", - "description": "Cluster pool compute profile.", - "required": [ - "vmSize" - ], - "properties": { - "vmSize": { - "type": "string", - "description": "The virtual machine SKU.", - "pattern": "^[a-zA-Z0-9_\\-]{0,256}$" - }, - "count": { - "description": "The number of virtual machines.", - "type": "integer", - "format": "int32", - "readOnly": true - }, - "availabilityZones": { - "$ref": "#/definitions/AvailabilityZones" - } - } - }, - "ClusterPoolNetworkProfile": { - "type": "object", - "description": "Cluster pool networking configuration.", - "required": [ - "subnetId" - ], - "properties": { - "subnetId": { - "type": "string", - "description": "Cluster pool subnet resource id.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/virtualNetworks/subnets" - } - ] - } - }, - "outboundType": { - "type": "string", - "enum": [ - "loadBalancer", - "userDefinedRouting" - ], - "x-ms-enum": { - "name": "outboundType", - "modelAsString": true, - "values": [ - { - "value": "loadBalancer", - "description": "The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. " - }, - { - "value": "userDefinedRouting", - "description": "Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. " - } - ] - }, - "default": "loadBalancer", - "title": "The outbound (egress) routing method.", - "description": "This can only be set at cluster pool creation time and cannot be changed later. " - }, - "enablePrivateApiServer": { - "type": "boolean", - "description": "ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "apiServerAuthorizedIpRanges": { - "type": "array", - "items": { - "type": "string" - }, - "title": "The IP ranges authorized to access the AKS API server.", - "description": "IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. Currently, this property is not supported and please don't use it." - } - } - }, - "ClusterPoolLogAnalyticsProfile": { - "type": "object", - "description": "Cluster pool log analytics profile used to enable or disable OMS agent for AKS cluster.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "True if log analytics is enabled for cluster pool, otherwise false." - }, - "workspaceId": { - "type": "string", - "description": "Log analytics workspace to associate with the OMS agent.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.OperationalInsights/workspaces" - } - ] - } - } - } - }, - "AksClusterProfile": { - "type": "object", - "description": "Properties of the cluster pool underlying AKS cluster.", - "properties": { - "aksClusterResourceId": { - "type": "string", - "description": "ARM Resource ID of the AKS cluster", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ContainerService/managedClusters" - } - ] - } - }, - "aksClusterAgentPoolIdentityProfile": { - "description": "Identity properties of the AKS cluster agentpool MSI", - "allOf": [ - { - "$ref": "#/definitions/IdentityProfile" - } - ] - }, - "aksVersion": { - "type": "string", - "description": "AKS control plane and default node pool version of this ClusterPool", - "readOnly": true - } - } - }, - "ClusterPoolResourceProperties": { - "type": "object", - "required": [ - "computeProfile" - ], - "properties": { - "provisioningState": { - "description": "Provisioning state of the resource.", - "type": "string", - "enum": [ - "Accepted", - "Succeeded", - "Canceled", - "Failed" - ], - "x-ms-enum": { - "name": "ProvisioningStatus", - "modelAsString": true - }, - "readOnly": true - }, - "deploymentId": { - "type": "string", - "description": "A unique id generated by the RP to identify the resource.", - "example": "45cd32aead6e4a91b079a0cdbfac8c36", - "readOnly": true - }, - "managedResourceGroupName": { - "type": "string", - "description": "A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction.", - "minLength": 1, - "maxLength": 40, - "example": "hdi-45cd32aead6e4a91b079a0cdbfac8c36" - }, - "aksManagedResourceGroupName": { - "type": "string", - "description": "A resource group created by AKS, to hold the infrastructure resources created by AKS on-behalf of customers. It is generated by cluster pool name and managed resource group name by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}", - "readOnly": true, - "example": "MC_hdi-45cd32aead6e4a91b079a0cdbfac8c36_test-pool_eastus" - }, - "clusterPoolProfile": { - "description": "CLuster pool profile.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolProfile" - } - ] - }, - "computeProfile": { - "description": "CLuster pool compute profile.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolComputeProfile" - } - ] - }, - "aksClusterProfile": { - "description": "Properties of underlying AKS cluster.", - "readOnly": true, - "allOf": [ - { - "$ref": "#/definitions/AksClusterProfile" - } - ] - }, - "networkProfile": { - "description": "Cluster pool network profile.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolNetworkProfile" - } - ] - }, - "logAnalyticsProfile": { - "description": "Cluster pool log analytics profile to enable OMS agent for AKS cluster.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolLogAnalyticsProfile" - } - ] - }, - "status": { - "type": "string", - "description": "Business status of the resource.", - "example": "Running", - "readOnly": true - } - }, - "description": "Cluster pool resource properties." - }, - "ClusterPool": { - "type": "object", - "description": "Cluster pool.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Gets or sets the properties. Define cluster pool specific properties.", - "$ref": "#/definitions/ClusterPoolResourceProperties" - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "SystemData of cluster pool.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "TagsObject": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - } - }, - "description": "Tags object for patch operations." - }, - "ClusterListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Cluster" - }, - "description": "The list of clusters." - }, - "nextLink": { - "description": "The link (url) to the next page of results.", - "type": "string", - "readOnly": true - } - }, - "description": "The list cluster operation response." - }, - "ClusterLogAnalyticsProfile": { - "type": "object", - "description": "Cluster log analytics profile to enable or disable OMS agent for cluster.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "True if log analytics is enabled for the cluster, otherwise false." - }, - "applicationLogs": { - "$ref": "#/definitions/ClusterLogAnalyticsApplicationLogs" - }, - "metricsEnabled": { - "type": "boolean", - "description": "True if metrics are enabled, otherwise false." - } - } - }, - "ClusterLogAnalyticsApplicationLogs": { - "type": "object", - "description": "Collection of logs to be enabled or disabled for log analytics.", - "properties": { - "stdOutEnabled": { - "type": "boolean", - "description": "True if stdout is enabled, otherwise false." - }, - "stdErrorEnabled": { - "type": "boolean", - "description": "True if stderror is enabled, otherwise false." - } - } - }, - "ClusterPrometheusProfile": { - "type": "object", - "description": "Cluster Prometheus profile.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Enable Prometheus for cluster or not.", - "default": false - } - } - }, - "IdentityProfile": { - "type": "object", - "description": "Identity Profile with details of an MSI.", - "required": [ - "msiResourceId", - "msiClientId", - "msiObjectId" - ], - "properties": { - "msiResourceId": { - "type": "string", - "description": "ResourceId of the MSI.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ManagedIdentity/userAssignedIdentities" - } - ] - } - }, - "msiClientId": { - "type": "string", - "description": "ClientId of the MSI.", - "pattern": "^[{(]?[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}[)}]?$" - }, - "msiObjectId": { - "type": "string", - "description": "ObjectId of the MSI.", - "pattern": "^[{(]?[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}[)}]?$" - } - } - }, - "ManagedIdentityProfile": { - "type": "object", - "description": "The details of managed identity.", - "required": [ - "identityList" - ], - "properties": { - "identityList": { - "type": "array", - "items": { - "$ref": "#/definitions/ManagedIdentitySpec" - }, - "description": "The list of managed identity.", - "x-ms-identifiers": [] - } - } - }, - "ManagedIdentitySpec": { - "type": "object", - "description": "The details of a managed identity.", - "required": [ - "type", - "resourceId", - "clientId", - "objectId" - ], - "properties": { - "type": { - "description": "The type of managed identity.", - "type": "string", - "enum": [ - "cluster", - "user", - "internal" - ], - "x-ms-enum": { - "name": "managedIdentityType", - "modelAsString": true - } - }, - "resourceId": { - "type": "string", - "description": "ResourceId of the managed identity.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ManagedIdentity/userAssignedIdentities" - } - ] - } - }, - "clientId": { - "type": "string", - "description": "ClientId of the managed identity.", - "pattern": "^[{(]?[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}[)}]?$" - }, - "objectId": { - "type": "string", - "description": "ObjectId of the managed identity.", - "pattern": "^[{(]?[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}[)}]?$" - } - } - }, - "AuthorizationProfile": { - "type": "object", - "description": "Authorization profile with details of AAD user Ids and group Ids authorized for data plane access.", - "properties": { - "userIds": { - "type": "array", - "description": "AAD user Ids authorized for data plane access.", - "items": { - "type": "string" - } - }, - "groupIds": { - "type": "array", - "description": "AAD group Ids authorized for data plane access.", - "items": { - "type": "string" - } - } - } - }, - "SecretReference": { - "type": "object", - "description": "Secret reference and corresponding properties of a key vault secret.", - "required": [ - "referenceName", - "type", - "keyVaultObjectName" - ], - "properties": { - "referenceName": { - "type": "string", - "description": "Reference name of the secret to be used in service configs." - }, - "type": { - "type": "string", - "description": "Type of key vault object: secret, key or certificate.", - "enum": [ - "Key", - "Secret", - "Certificate" - ], - "x-ms-enum": { - "name": "KeyVaultObjectType", - "modelAsString": true - } - }, - "version": { - "type": "string", - "description": "Version of the secret in key vault." - }, - "keyVaultObjectName": { - "type": "string", - "description": "Object identifier name of the secret in key vault.", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,126}$" - } - } - }, - "SecretsProfile": { - "type": "object", - "description": "The cluster secret profile.", - "required": [ - "keyVaultResourceId" - ], - "properties": { - "keyVaultResourceId": { - "type": "string", - "description": "Name of the user Key Vault where all the cluster specific user secrets are stored.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "secrets": { - "type": "array", - "description": "Properties of Key Vault secret.", - "items": { - "$ref": "#/definitions/SecretReference" - }, - "x-ms-identifiers": [] - } - } - }, - "ClusterConfigFile": { - "type": "object", - "description": "Cluster configuration files.", - "required": [ - "fileName" - ], - "properties": { - "fileName": { - "type": "string", - "description": "Configuration file name.", - "example": "hive-conf.xml." - }, - "content": { - "type": "string", - "description": "Free form content of the entire configuration file." - }, - "encoding": { - "type": "string", - "description": "This property indicates if the content is encoded and is case-insensitive. Please set the value to base64 if the content is base64 encoded. Set it to none or skip it if the content is plain text.", - "enum": [ - "Base64", - "None" - ], - "x-ms-enum": { - "name": "ContentEncoding", - "modelAsString": true - } - }, - "path": { - "type": "string", - "description": "Path of the config file if content is specified." - }, - "values": { - "type": "object", - "description": "List of key value pairs\nwhere key represents a valid service configuration name and value represents the value of the config.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ClusterServiceConfig": { - "type": "object", - "description": "Cluster configs per component.", - "required": [ - "component", - "files" - ], - "properties": { - "component": { - "type": "string", - "description": "Name of the component the config files should apply to." - }, - "files": { - "type": "array", - "description": "List of Config Files.", - "items": { - "$ref": "#/definitions/ClusterConfigFile" - }, - "x-ms-identifiers": [] - } - } - }, - "ClusterServiceConfigsProfile": { - "type": "object", - "description": "Cluster service configs.", - "required": [ - "serviceName", - "configs" - ], - "properties": { - "serviceName": { - "type": "string", - "description": "Name of the service the configurations should apply to." - }, - "configs": { - "type": "array", - "description": "List of service configs.", - "items": { - "$ref": "#/definitions/ClusterServiceConfig" - }, - "x-ms-identifiers": [] - } - } - }, - "ConnectivityProfile": { - "type": "object", - "description": "Cluster connectivity profile.", - "required": [ - "web" - ], - "properties": { - "web": { - "description": "Web connectivity endpoint details.", - "allOf": [ - { - "$ref": "#/definitions/WebConnectivityEndpoint" - } - ] - }, - "ssh": { - "type": "array", - "description": "List of SSH connectivity endpoints.", - "items": { - "$ref": "#/definitions/SshConnectivityEndpoint" - }, - "x-ms-identifiers": [] - } - }, - "readOnly": true - }, - "ClusterAccessProfile": { - "type": "object", - "description": "Cluster access profile.", - "required": [ - "enableInternalIngress" - ], - "properties": { - "enableInternalIngress": { - "type": "boolean", - "description": "Whether to create cluster using private IP instead of public IP. This property must be set at create time.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "privateLinkServiceId": { - "type": "string", - "readOnly": true, - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/privateLinkServices" - } - ] - }, - "description": "Private link service resource ID. Only when enableInternalIngress is true, this property will be returned." - } - } - }, - "WebConnectivityEndpoint": { - "type": "object", - "description": "Web connectivity endpoint details.", - "required": [ - "fqdn" - ], - "properties": { - "fqdn": { - "type": "string", - "description": "Web connectivity endpoint.", - "example": "clusterName11223344.clusterPoolName55667788.subid.eastus.hdinsightaks.net" - }, - "privateFqdn": { - "type": "string", - "description": "Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.", - "example": "clusterName11223344-int.clusterPoolName55667788.subid.eastus.hdinsightaks.net" - } - }, - "readOnly": true - }, - "SshConnectivityEndpoint": { - "type": "object", - "description": "SSH connectivity endpoint details.", - "required": [ - "endpoint" - ], - "properties": { - "endpoint": { - "type": "string", - "description": "SSH connectivity endpoint.", - "example": "clusterName11223344.clusterPoolName55667788.eastus.hdinsightaks.net/ssh/host/podPrefix-0" - }, - "privateSshEndpoint": { - "type": "string", - "description": "Private SSH connectivity endpoint. This property will only be returned when enableInternalIngress is true.", - "example": "clusterName11223344-int.clusterPoolName55667788.eastus.hdinsightaks.net/ssh/host/podPrefix-0" - } - } - }, - "ClusterProfile": { - "type": "object", - "required": [ - "authorizationProfile", - "clusterVersion", - "ossVersion" - ], - "properties": { - "clusterVersion": { - "$ref": "#/definitions/ThreeOrFourPartVersionPattern" - }, - "ossVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "components": { - "$ref": "#/definitions/ClusterComponents" - }, - "identityProfile": { - "description": "This is deprecated. Please use managed identity profile instead.", - "$ref": "#/definitions/IdentityProfile" - }, - "managedIdentityProfile": { - "description": "This property is required by Trino, Spark and Flink cluster but is optional for Kafka cluster.", - "$ref": "#/definitions/ManagedIdentityProfile" - }, - "authorizationProfile": { - "$ref": "#/definitions/AuthorizationProfile" - }, - "secretsProfile": { - "$ref": "#/definitions/SecretsProfile" - }, - "serviceConfigsProfiles": { - "type": "array", - "description": "The service configs profiles.", - "items": { - "$ref": "#/definitions/ClusterServiceConfigsProfile" - }, - "x-ms-identifiers": [] - }, - "connectivityProfile": { - "$ref": "#/definitions/ConnectivityProfile" - }, - "clusterAccessProfile": { - "$ref": "#/definitions/ClusterAccessProfile" - }, - "logAnalyticsProfile": { - "$ref": "#/definitions/ClusterLogAnalyticsProfile" - }, - "prometheusProfile": { - "$ref": "#/definitions/ClusterPrometheusProfile" - }, - "sshProfile": { - "$ref": "#/definitions/SshProfile" - }, - "autoscaleProfile": { - "$ref": "#/definitions/AutoscaleProfile" - }, - "rangerPluginProfile": { - "$ref": "#/definitions/ClusterRangerPluginProfile" - }, - "kafkaProfile": { - "$ref": "#/definitions/KafkaProfile" - }, - "trinoProfile": { - "$ref": "#/definitions/TrinoProfile" - }, - "llapProfile": { - "type": "object", - "description": "LLAP cluster profile.", - "additionalProperties": true - }, - "flinkProfile": { - "$ref": "#/definitions/FlinkProfile" - }, - "sparkProfile": { - "$ref": "#/definitions/SparkProfile" - }, - "rangerProfile": { - "$ref": "#/definitions/RangerProfile" - }, - "stubProfile": { - "type": "object", - "description": "Stub cluster profile.", - "additionalProperties": true - }, - "scriptActionProfiles": { - "$ref": "#/definitions/ScriptActionProfiles" - } - }, - "description": "Cluster profile." - }, - "SshProfile": { - "type": "object", - "description": "Ssh profile for the cluster.", - "required": [ - "count" - ], - "properties": { - "count": { - "type": "integer", - "description": "Number of ssh pods per cluster.", - "format": "int32", - "maximum": 5.0, - "minimum": 0.0 - }, - "podPrefix": { - "type": "string", - "description": "Prefix of the pod names. Pod number will be appended to the prefix. The ingress URLs for the pods will be available at //-", - "readOnly": true - }, - "vmSize": { - "type": "string", - "description": "The virtual machine SKU.", - "pattern": "^[a-zA-Z0-9_\\-]{0,256}$" - } - } - }, - "AutoscaleProfile": { - "type": "object", - "description": "This is the Autoscale profile for the cluster. This will allow customer to create cluster enabled with Autoscale.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "This indicates whether auto scale is enabled on HDInsight on AKS cluster." - }, - "gracefulDecommissionTimeout": { - "type": "integer", - "format": "int32", - "description": "This property is for graceful decommission timeout; It has a default setting of 3600 seconds before forced shutdown takes place. This is the maximal time to wait for running containers and applications to complete before transition a DECOMMISSIONING node into DECOMMISSIONED. The default value is 3600 seconds. Negative value (like -1) is handled as infinite timeout." - }, - "autoscaleType": { - "type": "string", - "description": "User to specify which type of Autoscale to be implemented - Scheduled Based or Load Based.", - "enum": [ - "ScheduleBased", - "LoadBased" - ], - "x-ms-enum": { - "name": "AutoscaleType", - "modelAsString": true - } - }, - "scheduleBasedConfig": { - "description": "Profiles of schedule based Autoscale.", - "$ref": "#/definitions/ScheduleBasedConfig" - }, - "loadBasedConfig": { - "description": "Profiles of load based Autoscale.", - "$ref": "#/definitions/LoadBasedConfig" - } - } - }, - "ScheduleBasedConfig": { - "type": "object", - "description": "Profile of schedule based Autoscale.", - "required": [ - "timeZone", - "defaultCount", - "schedules" - ], - "properties": { - "timeZone": { - "type": "string", - "description": "User has to specify the timezone on which the schedule has to be set for schedule based autoscale configuration." - }, - "defaultCount": { - "type": "integer", - "format": "int32", - "description": "Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down)" - }, - "schedules": { - "type": "array", - "description": "This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end).", - "items": { - "$ref": "#/definitions/Schedule" - }, - "x-ms-identifiers": [] - } - } - }, - "Schedule": { - "type": "object", - "description": "Schedule definition.", - "required": [ - "days", - "startTime", - "endTime", - "count" - ], - "properties": { - "startTime": { - "type": "string", - "pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$", - "description": "User has to set the start time of current schedule configuration, format like 10:30 (HH:MM)." - }, - "endTime": { - "type": "string", - "pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$", - "description": "User has to set the end time of current schedule configuration, format like 10:30 (HH:MM)." - }, - "count": { - "type": "integer", - "format": "int32", - "description": "User has to set the node count anticipated at end of the scaling operation of the set current schedule configuration, format is integer." - }, - "days": { - "type": "array", - "description": "User has to set the days where schedule has to be set for autoscale operation.", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "x-ms-enum": { - "name": "ScheduleDay", - "modelAsString": true - } - } - } - } - }, - "LoadBasedConfig": { - "type": "object", - "description": "Profile of load based Autoscale.", - "required": [ - "minNodes", - "maxNodes", - "scalingRules" - ], - "properties": { - "minNodes": { - "type": "integer", - "format": "int32", - "description": "User needs to set the minimum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes." - }, - "maxNodes": { - "type": "integer", - "format": "int32", - "description": "User needs to set the maximum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes." - }, - "pollInterval": { - "type": "integer", - "format": "int32", - "description": "User can specify the poll interval, this is the time period (in seconds) after which scaling metrics are polled for triggering a scaling operation." - }, - "cooldownPeriod": { - "type": "integer", - "format": "int32", - "description": "This is a cool down period, this is a time period in seconds, which determines the amount of time that must elapse between a scaling activity started by a rule and the start of the next scaling activity, regardless of the rule that triggers it. The default value is 300 seconds." - }, - "scalingRules": { - "type": "array", - "description": "The scaling rules.", - "items": { - "$ref": "#/definitions/ScalingRule" - }, - "x-ms-identifiers": [] - } - } - }, - "ScalingRule": { - "type": "object", - "description": "The scaling rule.", - "required": [ - "actionType", - "comparisonRule", - "evaluationCount", - "scalingMetric" - ], - "properties": { - "actionType": { - "type": "string", - "description": "The action type.", - "enum": [ - "scaleup", - "scaledown" - ], - "x-ms-enum": { - "name": "ScaleActionType", - "modelAsString": true - } - }, - "evaluationCount": { - "type": "integer", - "format": "int32", - "description": "This is an evaluation count for a scaling condition, the number of times a trigger condition should be successful, before scaling activity is triggered." - }, - "scalingMetric": { - "type": "string", - "description": "Metrics name for individual workloads. For example: cpu" - }, - "comparisonRule": { - "$ref": "#/definitions/ComparisonRule" - } - } - }, - "ComparisonRule": { - "type": "object", - "description": "The comparison rule.", - "required": [ - "operator", - "threshold" - ], - "properties": { - "operator": { - "type": "string", - "description": "The comparison operator.", - "enum": [ - "greaterThan", - "greaterThanOrEqual", - "lessThan", - "lessThanOrEqual" - ], - "x-ms-enum": { - "name": "ComparisonOperator", - "modelAsString": true - } - }, - "threshold": { - "type": "number", - "description": "Threshold setting." - } - } - }, - "TrinoProfile": { - "type": "object", - "description": "Trino Cluster profile.", - "properties": { - "catalogOptions": { - "$ref": "#/definitions/CatalogOptions" - }, - "coordinator": { - "$ref": "#/definitions/TrinoCoordinator" - }, - "userPluginsSpec": { - "$ref": "#/definitions/TrinoUserPlugins" - }, - "userTelemetrySpec": { - "$ref": "#/definitions/TrinoUserTelemetry" - }, - "worker": { - "$ref": "#/definitions/TrinoWorker" - } - } - }, - "CatalogOptions": { - "type": "object", - "description": "Trino cluster catalog options.", - "properties": { - "hive": { - "type": "array", - "description": "hive catalog options.", - "items": { - "$ref": "#/definitions/HiveCatalogOption" - }, - "x-ms-identifiers": [] - } - } - }, - "HiveCatalogOption": { - "type": "object", - "description": "Hive Catalog Option", - "required": [ - "catalogName", - "metastoreDbConnectionURL", - "metastoreWarehouseDir" - ], - "properties": { - "catalogName": { - "description": "Name of trino catalog which should use specified hive metastore.", - "minLength": 1, - "type": "string" - }, - "metastoreDbConnectionAuthenticationMode": { - "description": "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization", - "type": "string", - "enum": [ - "SqlAuth", - "IdentityAuth" - ], - "x-ms-enum": { - "name": "MetastoreDbConnectionAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "SqlAuth", - "description": "The password-based authentication to connect to your Hive metastore database. " - }, - { - "value": "IdentityAuth", - "description": "The managed-identity-based authentication to connect to your Hive metastore database. " - } - ] - }, - "default": "IdentityAuth" - }, - "metastoreDbConnectionPasswordSecret": { - "description": "Secret reference name from secretsProfile.secrets containing password for database connection.", - "type": "string" - }, - "metastoreDbConnectionURL": { - "description": "Connection string for hive metastore database.", - "type": "string" - }, - "metastoreDbConnectionUserName": { - "description": "User name for database connection.", - "type": "string" - }, - "metastoreWarehouseDir": { - "description": "Metastore root directory URI, format: abfs[s]://@.dfs.core.windows.net/. More details: https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction-abfs-uri", - "type": "string" - } - } - }, - "FlinkCatalogOptions": { - "type": "object", - "description": "Flink cluster catalog options.", - "properties": { - "hive": { - "$ref": "#/definitions/FlinkHiveCatalogOption" - } - } - }, - "FlinkHiveCatalogOption": { - "type": "object", - "description": "Hive Catalog Option for Flink cluster.", - "required": [ - "metastoreDbConnectionURL" - ], - "properties": { - "metastoreDbConnectionAuthenticationMode": { - "description": "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization", - "type": "string", - "enum": [ - "SqlAuth", - "IdentityAuth" - ], - "x-ms-enum": { - "name": "MetastoreDbConnectionAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "SqlAuth", - "description": "The password-based authentication to connect to your Hive metastore database. " - }, - { - "value": "IdentityAuth", - "description": "The managed-identity-based authentication to connect to your Hive metastore database. " - } - ] - }, - "default": "IdentityAuth" - }, - "metastoreDbConnectionPasswordSecret": { - "description": "Secret reference name from secretsProfile.secrets containing password for database connection.", - "type": "string" - }, - "metastoreDbConnectionURL": { - "description": "Connection string for hive metastore database.", - "type": "string" - }, - "metastoreDbConnectionUserName": { - "description": "User name for database connection.", - "type": "string" - } - } - }, - "TrinoCoordinator": { - "type": "object", - "description": "Trino Coordinator.", - "properties": { - "debug": { - "$ref": "#/definitions/TrinoDebugConfig", - "x-ms-client-flatten": true - }, - "highAvailabilityEnabled": { - "type": "boolean", - "description": "The flag that if enable coordinator HA, uses multiple coordinator replicas with auto failover, one per each head node. Default: true.", - "default": true - } - } - }, - "TrinoWorker": { - "type": "object", - "description": "Trino worker.", - "properties": { - "debug": { - "$ref": "#/definitions/TrinoDebugConfig", - "x-ms-client-flatten": true - } - } - }, - "TrinoDebugConfig": { - "type": "object", - "description": "Trino debug configuration.", - "properties": { - "enable": { - "type": "boolean", - "description": "The flag that if enable debug or not.", - "default": false - }, - "port": { - "type": "integer", - "format": "int32", - "description": "The debug port.", - "default": 8008 - }, - "suspend": { - "type": "boolean", - "description": "The flag that if suspend debug or not.", - "default": false - } - } - }, - "TrinoUserTelemetry": { - "type": "object", - "description": "User telemetry", - "properties": { - "storage": { - "$ref": "#/definitions/TrinoTelemetryConfig" - } - } - }, - "TrinoTelemetryConfig": { - "type": "object", - "description": "Trino user telemetry definition.", - "properties": { - "hivecatalogName": { - "type": "string", - "description": "Hive Catalog name used to mount external tables on the logs written by trino, if not specified there tables are not created.", - "minLength": 1 - }, - "hivecatalogSchema": { - "type": "string", - "description": "Schema of the above catalog to use, to mount query logs as external tables, if not specified tables will be mounted under schema trinologs.", - "default": "trinologs" - }, - "partitionRetentionInDays": { - "type": "integer", - "description": "Retention period for query log table partitions, this doesn't have any affect on actual data.", - "format": "int32", - "default": 365 - }, - "path": { - "type": "string", - "description": "Azure storage location of the blobs.", - "minLength": 1 - } - } - }, - "TrinoUserPlugins": { - "type": "object", - "description": "Trino user plugins spec", - "properties": { - "plugins": { - "type": "array", - "description": "Trino user plugins.", - "items": { - "$ref": "#/definitions/TrinoUserPlugin" - }, - "x-ms-identifiers": [] - } - } - }, - "TrinoUserPlugin": { - "type": "object", - "description": "Trino user plugin.", - "properties": { - "enabled": { - "type": "boolean", - "description": "Denotes whether the plugin is active or not." - }, - "name": { - "type": "string", - "description": "This field maps to the sub-directory in trino plugins location, that will contain all the plugins under path.", - "minLength": 1 - }, - "path": { - "type": "string", - "description": "Fully qualified path to the folder containing the plugins.", - "minLength": 1, - "pattern": "^(https)|(abfss)://.*$" - } - } - }, - "SparkProfile": { - "type": "object", - "description": "The spark cluster profile.", - "properties": { - "defaultStorageUrl": { - "type": "string", - "description": "The default storage URL." - }, - "metastoreSpec": { - "$ref": "#/definitions/SparkMetastoreSpec" - }, - "userPluginsSpec": { - "$ref": "#/definitions/SparkUserPlugins" - } - } - }, - "SparkUserPlugins": { - "type": "object", - "description": "Spark user plugins spec", - "properties": { - "plugins": { - "type": "array", - "description": "Spark user plugins.", - "items": { - "$ref": "#/definitions/SparkUserPlugin" - }, - "x-ms-identifiers": [] - } - } - }, - "SparkUserPlugin": { - "type": "object", - "description": "Spark user plugin.", - "required": [ - "path" - ], - "properties": { - "path": { - "type": "string", - "description": "Fully qualified path to the folder containing the plugins.", - "minLength": 1, - "pattern": "^(https)|(abfss)://.*$" - } - } - }, - "ScriptActionProfiles": { - "type": "array", - "description": "The script action profile list.", - "items": { - "$ref": "#/definitions/ScriptActionProfile" - }, - "x-ms-identifiers": [] - }, - "ScriptActionProfile": { - "type": "object", - "description": "The script action profile.", - "required": [ - "name", - "type", - "url", - "services" - ], - "properties": { - "type": { - "type": "string", - "description": "Type of the script action. Supported type is bash scripts." - }, - "name": { - "type": "string", - "description": "Script name." - }, - "url": { - "type": "string", - "description": "Url of the script file.", - "pattern": "^(https)|(http)://.*$" - }, - "parameters": { - "type": "string", - "description": "Additional parameters for the script action. It should be space-separated list of arguments required for script execution." - }, - "services": { - "items": { - "type": "string" - }, - "type": "array", - "description": "List of services to apply the script action." - }, - "timeoutInMinutes": { - "type": "integer", - "format": "int32", - "description": "Timeout duration for the script action in minutes." - }, - "shouldPersist": { - "type": "boolean", - "default": true, - "description": "Specify if the script should persist on the cluster." - } - } - }, - "SparkMetastoreSpec": { - "type": "object", - "description": "The metastore specification for Spark cluster.", - "required": [ - "dbServerHost", - "dbName" - ], - "properties": { - "dbServerHost": { - "type": "string", - "description": "The database server host." - }, - "dbName": { - "type": "string", - "description": "The database name." - }, - "dbConnectionAuthenticationMode": { - "description": "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization", - "type": "string", - "enum": [ - "SqlAuth", - "IdentityAuth" - ], - "x-ms-enum": { - "name": "DbConnectionAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "SqlAuth", - "description": "The password-based authentication to connect to your Hive metastore database. " - }, - { - "value": "IdentityAuth", - "description": "The managed-identity-based authentication to connect to your Hive metastore database. " - } - ] - }, - "default": "IdentityAuth" - }, - "dbUserName": { - "type": "string", - "description": "The database user name." - }, - "dbPasswordSecretName": { - "type": "string", - "description": "The secret name which contains the database user password." - }, - "keyVaultId": { - "type": "string", - "description": "The key vault resource id." - }, - "thriftUrl": { - "type": "string", - "description": "The thrift url." - } - } - }, - "FlinkProfile": { - "type": "object", - "description": "The Flink cluster profile.", - "required": [ - "storage", - "jobManager", - "taskManager" - ], - "properties": { - "storage": { - "$ref": "#/definitions/FlinkStorageProfile" - }, - "numReplicas": { - "type": "integer", - "format": "int32", - "description": "The number of task managers." - }, - "jobManager": { - "description": "Job Manager container/ process CPU and memory requirements", - "$ref": "#/definitions/ComputeResourceDefinition" - }, - "historyServer": { - "description": "History Server container/ process CPU and memory requirements", - "$ref": "#/definitions/ComputeResourceDefinition" - }, - "taskManager": { - "description": "Task Manager container/ process CPU and memory requirements", - "$ref": "#/definitions/ComputeResourceDefinition" - }, - "catalogOptions": { - "$ref": "#/definitions/FlinkCatalogOptions" - }, - "deploymentMode": { - "description": "A string property that indicates the deployment mode of Flink cluster. It can have one of the following enum values => Application, Session. Default value is Session", - "type": "string", - "enum": [ - "Application", - "Session" - ], - "x-ms-enum": { - "name": "deploymentMode", - "modelAsString": true - } - }, - "jobSpec": { - "$ref": "#/definitions/FlinkJobProfile" - } - } - }, - "FlinkJobProfile": { - "type": "object", - "description": "Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties are changed by calling the RunJob API, please use the ListJob API to get the latest job information.", - "required": [ - "jobJarDirectory", - "jarName", - "upgradeMode" - ], - "properties": { - "jobJarDirectory": { - "description": "A string property that specifies the directory where the job JAR is located.", - "type": "string" - }, - "jarName": { - "description": "A string property that represents the name of the job JAR.", - "type": "string" - }, - "entryClass": { - "description": "A string property that specifies the entry class for the Flink job. If not specified, the entry point is auto-detected from the flink job jar package.", - "type": "string" - }, - "args": { - "description": "A string property representing additional JVM arguments for the Flink job. It should be space separated value.", - "type": "string" - }, - "savePointName": { - "description": "A string property that represents the name of the savepoint for the Flink job", - "type": "string" - }, - "upgradeMode": { - "description": "A string property that indicates the upgrade mode to be performed on the Flink job. It can have one of the following enum values => STATELESS_UPDATE, UPDATE, LAST_STATE_UPDATE.", - "type": "string", - "enum": [ - "STATELESS_UPDATE", - "UPDATE", - "LAST_STATE_UPDATE" - ], - "x-ms-enum": { - "name": "upgradeMode", - "modelAsString": true - } - } - } - }, - "FlinkStorageProfile": { - "type": "object", - "description": "The storage profile", - "required": [ - "storageUri" - ], - "properties": { - "storageUri": { - "type": "string", - "pattern": "^(\\w{4,5})://(.*)@(.*).\\b(blob|dfs)\\b.*$", - "description": "Storage account uri which is used for savepoint and checkpoint state." - }, - "storagekey": { - "type": "string", - "description": "Storage key is only required for wasb(s) storage.", - "x-ms-secret": true - } - } - }, - "ClusterRangerPluginProfile": { - "type": "object", - "description": "Cluster Ranger plugin profile.", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean", - "description": "Enable Ranger for cluster or not.", - "default": false - } - } - }, - "RangerProfile": { - "type": "object", - "description": "The ranger cluster profile.", - "required": [ - "rangerAdmin", - "rangerUsersync" - ], - "properties": { - "rangerAdmin": { - "$ref": "#/definitions/RangerAdminSpec" - }, - "rangerAudit": { - "$ref": "#/definitions/RangerAuditSpec" - }, - "rangerUsersync": { - "$ref": "#/definitions/RangerUsersyncSpec" - } - } - }, - "RangerAdminSpec": { - "type": "object", - "description": "Specification for the Ranger Admin service.", - "properties": { - "admins": { - "description": "List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", - "items": { - "type": "string" - }, - "type": "array" - }, - "database": { - "properties": { - "host": { - "description": "The database URL", - "type": "string" - }, - "name": { - "description": "The database name", - "type": "string" - }, - "passwordSecretRef": { - "description": "Reference for the database password", - "type": "string" - }, - "username": { - "description": "The name of the database user", - "type": "string" - } - }, - "required": [ - "host", - "name" - ], - "type": "object" - } - }, - "required": [ - "admins", - "database" - ] - }, - "RangerAuditSpec": { - "description": "Properties required to describe audit log storage.", - "properties": { - "storageAccount": { - "description": "Azure storage location of the blobs. MSI should have read/write access to this Storage account.", - "minLength": 1, - "pattern": "^(https)|(abfss)://.*$", - "type": "string" - } - }, - "type": "object" - }, - "RangerUsersyncSpec": { - "description": "Specification for the Ranger Usersync service", - "properties": { - "enabled": { - "description": "Denotes whether usersync service should be enabled", - "type": "boolean", - "default": true - }, - "groups": { - "description": "List of groups that should be synced. These group names should match the object id of the respective AAD groups.", - "items": { - "type": "string" - }, - "type": "array" - }, - "mode": { - "default": "automatic", - "description": "User & groups can be synced automatically or via a static list that's refreshed.", - "type": "string", - "enum": [ - "static", - "automatic" - ], - "x-ms-enum": { - "name": "RangerUsersyncMode", - "modelAsString": true - } - }, - "userMappingLocation": { - "description": "Azure storage location of a mapping file that lists user & group associations.", - "minLength": 1, - "pattern": "^(https)|(abfss)://.*$", - "type": "string" - }, - "users": { - "description": "List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ComputeResourceDefinition": { - "type": "object", - "description": "The cpu and memory requirement definition.", - "required": [ - "cpu", - "memory" - ], - "properties": { - "cpu": { - "type": "number", - "format": "float", - "description": "The required CPU." - }, - "memory": { - "type": "integer", - "format": "int64", - "description": "The required memory in MB, Container memory will be 110 percentile" - } - } - }, - "KafkaProfile": { - "type": "object", - "description": "The Kafka cluster profile.", - "required": [ - "diskStorage" - ], - "properties": { - "enableKRaft": { - "description": "Expose Kafka cluster in KRaft mode.", - "default": true, - "type": "boolean" - }, - "enablePublicEndpoints": { - "description": "Expose worker nodes as public endpoints.", - "default": false, - "type": "boolean" - }, - "remoteStorageUri": { - "description": "Fully qualified path of Azure Storage container used for Tiered Storage.", - "type": "string", - "pattern": "^(https?|abfss?):\\/\\/[^/]+(?:\\/|$)" - }, - "diskStorage": { - "$ref": "#/definitions/DiskStorageProfile" - }, - "connectivityEndpoints": { - "description": "Kafka bootstrap server and brokers related connectivity endpoints.", - "$ref": "#/definitions/KafkaConnectivityEndpoints", - "readOnly": true - } - } - }, - "DiskStorageProfile": { - "type": "object", - "description": "Kafka disk storage profile.", - "required": [ - "dataDiskSize", - "dataDiskType" - ], - "properties": { - "dataDiskSize": { - "description": "Managed Disk size in GB. The maximum supported disk size for Standard and Premium HDD/SSD is 32TB, except for Premium SSD v2, which supports up to 64TB.", - "format": "int32", - "type": "integer" - }, - "dataDiskType": { - "description": "Managed Disk Type.", - "type": "string", - "enum": [ - "Standard_HDD_LRS", - "Standard_SSD_LRS", - "Standard_SSD_ZRS", - "Premium_SSD_LRS", - "Premium_SSD_ZRS", - "Premium_SSD_v2_LRS" - ], - "x-ms-enum": { - "name": "DataDiskType", - "modelAsString": true - } - } - } - }, - "KafkaConnectivityEndpoints": { - "type": "object", - "description": "Kafka bootstrap server and broker related connectivity endpoints.", - "properties": { - "bootstrapServerEndpoint": { - "type": "string", - "description": "bootstrap server connectivity endpoint." - }, - "brokerEndpoints": { - "description": "Kafka broker endpoint list.", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-identifiers": [] - } - } - }, - "ClusterResourceProperties": { - "type": "object", - "required": [ - "clusterType", - "computeProfile", - "clusterProfile" - ], - "properties": { - "provisioningState": { - "description": "Provisioning state of the resource.", - "type": "string", - "enum": [ - "Accepted", - "Succeeded", - "Canceled", - "Failed" - ], - "x-ms-enum": { - "name": "ProvisioningStatus", - "modelAsString": true - }, - "readOnly": true - }, - "clusterType": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The type of cluster.", - "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,31}$" - }, - "deploymentId": { - "type": "string", - "description": "A unique id generated by the RP to identify the resource.", - "example": "45cd32aead6e4a91b079a0cdbfac8c36", - "readOnly": true - }, - "computeProfile": { - "description": "The compute profile.", - "$ref": "#/definitions/ComputeProfile" - }, - "clusterProfile": { - "$ref": "#/definitions/ClusterProfile" - }, - "status": { - "type": "string", - "description": "Business status of the resource.", - "example": "Running", - "readOnly": true - } - }, - "description": "Cluster resource properties." - }, - "ComputeProfile": { - "type": "object", - "description": "The compute profile.", - "required": [ - "nodes" - ], - "properties": { - "nodes": { - "type": "array", - "description": "The nodes definitions.", - "items": { - "$ref": "#/definitions/NodeProfile" - }, - "x-ms-identifiers": [] - }, - "availabilityZones": { - "$ref": "#/definitions/AvailabilityZones" - } - } - }, - "NodeProfile": { - "type": "object", - "description": "The node profile.", - "required": [ - "type", - "vmSize", - "count" - ], - "properties": { - "type": { - "type": "string", - "description": "The node type.", - "pattern": "^(head|Head|HEAD|worker|Worker|WORKER)$" - }, - "vmSize": { - "type": "string", - "description": "The virtual machine SKU.", - "pattern": "^[a-zA-Z0-9_\\-]{0,256}$" - }, - "count": { - "description": "The number of virtual machines.", - "type": "integer", - "format": "int32", - "minimum": 0 - } - } - }, - "Cluster": { - "type": "object", - "description": "The cluster.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Gets or sets the properties. Define cluster specific properties.", - "$ref": "#/definitions/ClusterResourceProperties" - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "SystemData of cluster.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "ClusterPatch": { - "type": "object", - "description": "The patch for a cluster.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Define cluster patch specific properties.", - "$ref": "#/definitions/ClusterPatchProperties" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - } - } - }, - "ClusterPatchProperties": { - "type": "object", - "description": "Cluster resource patch data.", - "properties": { - "clusterProfile": { - "$ref": "#/definitions/UpdatableClusterProfile" - } - } - }, - "UpdatableClusterProfile": { - "type": "object", - "properties": { - "serviceConfigsProfiles": { - "type": "array", - "description": "The service configs profiles.", - "items": { - "$ref": "#/definitions/ClusterServiceConfigsProfile" - }, - "x-ms-identifiers": [] - }, - "sshProfile": { - "$ref": "#/definitions/SshProfile" - }, - "autoscaleProfile": { - "$ref": "#/definitions/AutoscaleProfile" - }, - "authorizationProfile": { - "$ref": "#/definitions/AuthorizationProfile" - }, - "logAnalyticsProfile": { - "$ref": "#/definitions/ClusterLogAnalyticsProfile" - }, - "prometheusProfile": { - "$ref": "#/definitions/ClusterPrometheusProfile" - }, - "rangerPluginProfile": { - "$ref": "#/definitions/ClusterRangerPluginProfile" - }, - "rangerProfile": { - "$ref": "#/definitions/RangerProfile" - }, - "scriptActionProfiles": { - "$ref": "#/definitions/ScriptActionProfiles" - }, - "secretsProfile": { - "$ref": "#/definitions/SecretsProfile" - }, - "trinoProfile": { - "$ref": "#/definitions/TrinoProfile" - } - }, - "description": "Cluster resource patch properties." - }, - "ClusterResizeData": { - "type": "object", - "description": "The parameters for resizing a cluster.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Sets the properties. Define cluster resize specific properties.", - "$ref": "#/definitions/ClusterResizeProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "ClusterResizeProperties": { - "type": "object", - "description": "The properties for resizing a cluster.", - "required": [ - "targetWorkerNodeCount" - ], - "properties": { - "targetWorkerNodeCount": { - "type": "integer", - "format": "int32", - "description": "Target node count of worker node." - } - } - }, - "ServiceConfigListResult": { - "type": "object", - "description": "Cluster instance service configs api response.", - "properties": { - "value": { - "type": "array", - "description": "Cluster instance service config array.", - "items": { - "$ref": "#/definitions/ServiceConfigResult" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - } - }, - "ServiceConfigResult": { - "type": "object", - "description": "Cluster instance service config.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Cluster instance service config properties.", - "allOf": [ - { - "$ref": "#/definitions/ServiceConfigListResultProperties" - } - ] - } - } - }, - "ServiceConfigListResultProperties": { - "type": "object", - "properties": { - "serviceName": { - "type": "string", - "description": "Service Config Name." - }, - "fileName": { - "type": "string", - "description": "File Name." - }, - "content": { - "type": "string", - "description": "Content in the service config file." - }, - "componentName": { - "type": "string", - "description": "Component Name." - }, - "type": { - "type": "string", - "description": "Config type." - }, - "path": { - "type": "string", - "description": "Config file path." - }, - "customKeys": { - "type": "object", - "description": "The custom keys.", - "additionalProperties": { - "type": "string" - } - }, - "defaultKeys": { - "type": "object", - "description": "The default keys.", - "additionalProperties": { - "$ref": "#/definitions/ServiceConfigListResultValueEntity" - } - } - }, - "required": [ - "serviceName", - "componentName", - "fileName" - ], - "description": "Service config response." - }, - "ServiceConfigListResultValueEntity": { - "type": "object", - "description": "Default config details.", - "properties": { - "value": { - "type": "string", - "description": "Config value." - }, - "description": { - "type": "string", - "description": "Config description." - } - }, - "required": [ - "value" - ] - }, - "ClusterInstanceViewsResult": { - "type": "object", - "properties": { - "value": { - "items": { - "$ref": "#/definitions/ClusterInstanceViewResult" - }, - "type": "array", - "description": "Cluster instance view array.", - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "The link (url) to the next page of results.", - "type": "string", - "readOnly": true - } - }, - "description": "The instance view of a HDInsight Cluster." - }, - "ClusterInstanceViewResult": { - "type": "object", - "description": "Cluster Instance View.", - "required": [ - "name", - "properties" - ], - "properties": { - "name": { - "type": "string", - "description": "Name of the instance view." - }, - "properties": { - "description": "Properties of the instance view.", - "x-ms-client-flatten": true, - "allOf": [ - { - "$ref": "#/definitions/ClusterInstanceViewProperties" - } - ] - } - } - }, - "ClusterInstanceViewProperties": { - "type": "object", - "description": "Cluster Instance View Properties.", - "required": [ - "status", - "serviceStatuses" - ], - "properties": { - "status": { - "description": "Status of the instance view.", - "allOf": [ - { - "$ref": "#/definitions/ClusterInstanceViewStatus" - } - ] - }, - "serviceStatuses": { - "type": "array", - "description": "List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer.", - "items": { - "$ref": "#/definitions/ServiceStatus" - }, - "x-ms-identifiers": [] - } - } - }, - "ClusterInstanceViewStatus": { - "type": "object", - "description": "Status of the instance view.", - "required": [ - "ready" - ], - "properties": { - "ready": { - "type": "string", - "description": "The cluster ready status" - }, - "reason": { - "type": "string", - "description": "The status reason." - }, - "message": { - "type": "string", - "description": "The additional message." - } - } - }, - "ServiceStatus": { - "type": "object", - "description": "Describes the status of a service of a HDInsight on AKS cluster.", - "required": [ - "kind", - "ready" - ], - "properties": { - "kind": { - "type": "string", - "description": "Kind of the service. E.g. \"Zookeeper\"." - }, - "ready": { - "type": "string", - "description": "Indicates if the service is ready / healthy. Values can be \"true\", \"false\", \"unknown\" or anything else." - }, - "message": { - "type": "string", - "description": "A message describing the error if any." - } - } - }, - "NameAvailabilityParameters": { - "description": "Details of check name availability request body.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name for checking availability." - }, - "type": { - "type": "string", - "description": "The resource type in Microsoft.HDInsight." - } - } - }, - "NameAvailabilityResult": { - "description": "Result of check name availability.", - "type": "object", - "properties": { - "nameAvailable": { - "type": "boolean", - "description": "Indicator of availability of the Microsoft.HDInsight resource name." - }, - "reason": { - "type": "string", - "description": "The reason of unavailability." - }, - "message": { - "type": "string", - "description": "The error message of unavailability." - } - } - }, - "ClusterPoolVersionPattern": { - "type": "string", - "description": "Cluster pool version is a 2-part version.", - "example": "1.2", - "pattern": "^(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})$" - }, - "ClusterPoolVersionsListResult": { - "type": "object", - "description": "Represents a list of cluster pool versions.", - "properties": { - "value": { - "type": "array", - "description": "The list of cluster pool versions.", - "items": { - "$ref": "#/definitions/ClusterPoolVersion" - } - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - } - }, - "ClusterPoolVersion": { - "type": "object", - "description": "Available cluster pool version.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Cluster pool version properties.", - "$ref": "#/definitions/ClusterPoolVersionProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterPoolVersionProperties": { - "type": "object", - "description": "Cluster pool version properties.", - "properties": { - "clusterPoolVersion": { - "$ref": "#/definitions/ClusterPoolVersionPattern" - }, - "aksVersion": { - "type": "string", - "description": "AKS version.", - "example": "1.24" - }, - "isPreview": { - "type": "boolean", - "description": "Indicate if this version is in preview or not.", - "default": false - } - } - }, - "ThreePartVersionPattern": { - "type": "string", - "description": "Version with three part.", - "example": "1.0.4", - "pattern": "^(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})$" - }, - "ThreeOrFourPartVersionPattern": { - "type": "string", - "description": "Version with 3/4 part.", - "example": "1.0.4", - "pattern": "^(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})\\.(0|[1-9][0-9]{0,18})(?:\\.(0|[1-9][0-9]{0,18}))?$" - }, - "ClusterVersionsListResult": { - "type": "object", - "description": "Represents a list of cluster versions.", - "properties": { - "value": { - "type": "array", - "description": "The list of cluster versions.", - "items": { - "$ref": "#/definitions/ClusterVersion" - } - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - } - }, - "ClusterVersion": { - "type": "object", - "description": "Available cluster version.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Cluster version properties.", - "$ref": "#/definitions/ClusterVersionProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterVersionProperties": { - "type": "object", - "description": "Cluster version properties.", - "properties": { - "clusterType": { - "type": "string", - "description": "The type of cluster.", - "pattern": "^[a-zA-Z][a-zA-Z0-9]{0,31}$" - }, - "clusterVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "ossVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "clusterPoolVersion": { - "type": "string", - "description": "The two part cluster pool version. If the cluster version is before cluster pool version on-board, the return value will be empty string", - "example": "1.0" - }, - "isPreview": { - "type": "boolean", - "description": "Indicate if this version is in preview or not.", - "default": false - }, - "components": { - "$ref": "#/definitions/ClusterComponents" - } - } - }, - "ClusterComponents": { - "type": "array", - "description": "Component list of this cluster type and version.", - "readOnly": true, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "x-ms-identifiers": [], - "example": [ - { - "name": "HDFS", - "version": "1.2.3" - }, - { - "name": "HIVE", - "version": "1.2.3" - } - ] - }, - "ClusterJobList": { - "description": "Collection of cluster job.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "Collection of cluster job.", - "uniqueItems": false, - "items": { - "$ref": "#/definitions/ClusterJob" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "The Url of next result page.", - "type": "string" - } - } - }, - "ClusterJob": { - "description": "Cluster job.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterJobProperties" - } - } - }, - "ClusterJobProperties": { - "description": "Properties of cluster job.", - "type": "object", - "properties": { - "jobType": { - "description": "Type of cluster job.", - "enum": [ - "FlinkJob" - ], - "type": "string", - "x-ms-enum": { - "name": "jobType", - "modelAsString": true - } - } - }, - "discriminator": "jobType", - "required": [ - "jobType" - ] - }, - "FlinkJobProperties": { - "description": "Properties of flink job.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterJobProperties" - } - ], - "properties": { - "runId": { - "description": "Run id of job", - "type": "string" - }, - "jobName": { - "description": "Name of job", - "type": "string" - }, - "jobJarDirectory": { - "description": "A string property that specifies the directory where the job JAR is located.", - "type": "string" - }, - "jarName": { - "description": "A string property that represents the name of the job JAR.", - "type": "string" - }, - "entryClass": { - "description": "A string property that specifies the entry class for the Flink job.", - "type": "string" - }, - "args": { - "description": "A string property representing additional JVM arguments for the Flink job. It should be space separated value.", - "type": "string" - }, - "savePointName": { - "description": "A string property that represents the name of the savepoint for the Flink job", - "type": "string" - }, - "action": { - "description": "A string property that indicates the action to be performed on the Flink job. It can have one of the following enum values => NEW, UPDATE, STATELESS_UPDATE, STOP, START, CANCEL, SAVEPOINT, LIST_SAVEPOINT, or DELETE.", - "type": "string", - "enum": [ - "NEW", - "UPDATE", - "STATELESS_UPDATE", - "STOP", - "START", - "CANCEL", - "SAVEPOINT", - "LIST_SAVEPOINT", - "DELETE", - "LAST_STATE_UPDATE", - "RE_LAUNCH" - ], - "x-ms-enum": { - "name": "action", - "modelAsString": true - } - }, - "flinkConfiguration": { - "description": "Additional properties used to configure Flink jobs. It allows users to set properties such as parallelism and jobSavePointDirectory. It accepts additional key-value pairs as properties, where the keys are strings and the values are strings as well.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "jobId": { - "description": "Unique id for identifying a job", - "type": "string", - "readOnly": true - }, - "status": { - "description": "Status of job.", - "type": "string", - "readOnly": true - }, - "jobOutput": { - "description": "Output of job.", - "type": "string", - "readOnly": true - }, - "actionResult": { - "description": "Action result of job.", - "type": "string", - "readOnly": true - }, - "lastSavePoint": { - "description": "The last savepoint.", - "type": "string", - "readOnly": true - } - }, - "x-ms-discriminator-value": "FlinkJob" - }, - "ClusterPoolAvailableUpgradeList": { - "type": "object", - "description": "collection of cluster pool available upgrade.", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "Collection of cluster pool available upgrade.", - "uniqueItems": false, - "items": { - "$ref": "#/definitions/ClusterPoolAvailableUpgrade" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "The Url of next result page.", - "type": "string" - } - } - }, - "ClusterPoolAvailableUpgrade": { - "type": "object", - "description": "Cluster pool available upgrade.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Gets or sets the properties. Define cluster pool upgrade specific properties.", - "$ref": "#/definitions/ClusterPoolAvailableUpgradeProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterPoolAvailableUpgradeProperties": { - "type": "object", - "description": "Cluster pool available upgrade properties.", - "properties": { - "upgradeType": { - "description": "Type of upgrade.", - "enum": [ - "AKSPatchUpgrade", - "NodeOsUpgrade" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterPoolAvailableUpgradeType", - "modelAsString": true - } - } - }, - "discriminator": "upgradeType", - "required": [ - "upgradeType" - ] - }, - "ClusterPoolAvailableUpgradeAksPatchUpgradeProperties": { - "type": "object", - "description": "Cluster pool available AKS patch version upgrade.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolAvailableUpgradeProperties" - } - ], - "properties": { - "currentVersion": { - "description": "Current AKS version.", - "type": "string" - }, - "currentVersionStatus": { - "description": "Current AKS version's status: whether it is deprecated or supported", - "enum": [ - "Deprecated", - "Supported" - ], - "type": "string", - "x-ms-enum": { - "name": "currentClusterPoolAksVersionStatus", - "modelAsString": true - } - }, - "latestVersion": { - "description": "Latest AKS patch version.", - "type": "string" - } - }, - "x-ms-discriminator-value": "AKSPatchUpgrade" - }, - "ClusterPoolAvailableUpgradeNodeOsUpgradeProperties": { - "type": "object", - "description": "Cluster pool available node OS update.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolAvailableUpgradeProperties" - } - ], - "properties": { - "latestVersion": { - "description": "The latest node OS version.", - "type": "string" - } - }, - "x-ms-discriminator-value": "NodeOsUpgrade" - }, - "ClusterAvailableUpgradeList": { - "type": "object", - "description": "Collection of cluster available upgrade.", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "Collection of Cluster available upgrade.", - "uniqueItems": false, - "items": { - "$ref": "#/definitions/ClusterAvailableUpgrade" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "The URL of next result page.", - "type": "string" - } - } - }, - "ClusterAvailableUpgrade": { - "type": "object", - "description": "Cluster available upgrade.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Gets or sets the properties. Define cluster upgrade specific properties.", - "$ref": "#/definitions/ClusterAvailableUpgradeProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterAvailableUpgradeProperties": { - "type": "object", - "description": "Cluster available upgrade properties.", - "properties": { - "upgradeType": { - "description": "Type of upgrade.", - "enum": [ - "AKSPatchUpgrade", - "HotfixUpgrade", - "PatchVersionUpgrade" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterAvailableUpgradeType", - "modelAsString": true - } - } - }, - "discriminator": "upgradeType", - "required": [ - "upgradeType" - ] - }, - "ClusterAvailableUpgradeAksPatchUpgradeProperties": { - "type": "object", - "description": "Cluster available AKS patch version upgrade.", - "allOf": [ - { - "$ref": "#/definitions/ClusterAvailableUpgradeProperties" - } - ], - "properties": { - "currentVersion": { - "description": "Current node pool version.", - "type": "string" - }, - "currentVersionStatus": { - "description": "Current AKS version's status: whether it is deprecated or supported", - "enum": [ - "Deprecated", - "Supported" - ], - "type": "string", - "x-ms-enum": { - "name": "currentClusterAksVersionStatus", - "modelAsString": true - } - }, - "latestVersion": { - "description": "Latest available version, which should be equal to AKS control plane version if it's not deprecated.", - "type": "string" - } - }, - "x-ms-discriminator-value": "AKSPatchUpgrade" - }, - "ClusterAvailableInPlaceUpgradeProperties": { - "type": "object", - "description": "Cluster available in-place upgrade.", - "allOf": [ - { - "$ref": "#/definitions/ClusterAvailableUpgradeProperties" - } - ], - "properties": { - "description": { - "type": "string", - "description": "Hotfix version upgrade description." - }, - "sourceOssVersion": { - "description": "Source OSS version of current cluster component.", - "type": "string" - }, - "sourceClusterVersion": { - "description": "Source cluster version of current cluster component.", - "type": "string" - }, - "sourceBuildNumber": { - "description": "Source build number of current cluster component.", - "type": "string" - }, - "targetOssVersion": { - "description": "Target OSS version of component to be upgraded.", - "type": "string" - }, - "targetClusterVersion": { - "description": "Target cluster version of component to be upgraded.", - "type": "string" - }, - "targetBuildNumber": { - "description": "Target build number of component to be upgraded.", - "type": "string" - }, - "componentName": { - "description": "Name of component to be upgraded.", - "type": "string" - }, - "severity": { - "description": "Severity of this upgrade.", - "enum": [ - "low", - "medium", - "high", - "critical" - ], - "type": "string", - "x-ms-enum": { - "name": "Severity", - "modelAsString": true - } - }, - "extendedProperties": { - "description": "Extended properties of current available upgrade version", - "type": "string" - }, - "createdTime": { - "description": "Created time of current available upgrade version", - "type": "string", - "format": "date-time" - } - } - }, - "ClusterAvailableUpgradeHotfixUpgradeProperties": { - "type": "object", - "description": "Cluster available hotfix version upgrade.", - "allOf": [ - { - "$ref": "#/definitions/ClusterAvailableInPlaceUpgradeProperties" - } - ], - "x-ms-discriminator-value": "HotfixUpgrade" - }, - "ClusterAvailableUpgradePatchVersionUpgradeProperties": { - "type": "object", - "description": "Cluster available patch version upgrade.", - "allOf": [ - { - "$ref": "#/definitions/ClusterAvailableInPlaceUpgradeProperties" - } - ], - "x-ms-discriminator-value": "PatchVersionUpgrade" - }, - "ClusterPoolUpgrade": { - "description": "Cluster Pool Upgrade.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterPoolUpgradeProperties" - } - } - }, - "ClusterPoolUpgradeProperties": { - "description": "Properties of upgrading cluster pool.", - "type": "object", - "properties": { - "upgradeType": { - "description": "Type of upgrade.", - "enum": [ - "AKSPatchUpgrade", - "NodeOsUpgrade" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterPoolUpgradeType", - "modelAsString": true - } - } - }, - "discriminator": "upgradeType", - "required": [ - "upgradeType" - ] - }, - "ClusterPoolAKSPatchVersionUpgradeProperties": { - "description": "Properties of upgrading cluster pool's AKS patch version.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolUpgradeProperties" - } - ], - "properties": { - "upgradeClusterPool": { - "description": "whether upgrade cluster pool or not. If it's true, upgradeAllClusterNodes should be false.", - "type": "boolean", - "default": false - }, - "upgradeAllClusterNodes": { - "description": "whether upgrade all clusters' nodes. If it's true, upgradeClusterPool should be false.", - "type": "boolean", - "default": false - }, - "targetAksVersion": { - "description": "Target AKS version. When it's not set, latest version will be used. When upgradeClusterPool is true and upgradeAllClusterNodes is false, target version should be greater or equal to current version. When upgradeClusterPool is false and upgradeAllClusterNodes is true, target version should be equal to AKS version of cluster pool.", - "type": "string" - } - }, - "x-ms-discriminator-value": "AKSPatchUpgrade" - }, - "ClusterPoolNodeOsImageUpdateProperties": { - "description": "Properties of upgrading cluster pool's AKS patch version.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolUpgradeProperties" - } - ], - "properties": {}, - "x-ms-discriminator-value": "NodeOsUpgrade" - }, - "ClusterPoolUpgradeHistoryListResult": { - "type": "object", - "required": [ - "value" - ], - "description": "Represents a list of cluster pool upgrade history.", - "properties": { - "value": { - "type": "array", - "description": "The list of cluster pool upgrade history.", - "items": { - "$ref": "#/definitions/ClusterPoolUpgradeHistory" - } - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - } - }, - "ClusterPoolUpgradeHistory": { - "type": "object", - "description": "Cluster pool upgrade history.", - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterPoolUpgradeHistoryProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterPoolUpgradeHistoryProperties": { - "description": "Properties of cluster pool upgrade history.", - "type": "object", - "required": [ - "upgradeType", - "utcTime", - "upgradeResult" - ], - "properties": { - "upgradeType": { - "description": "Type of upgrade.", - "enum": [ - "AKSPatchUpgrade", - "NodeOsUpgrade" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterPoolUpgradeHistoryType", - "modelAsString": true - } - }, - "utcTime": { - "description": "Time when created this upgrade history.", - "type": "string" - }, - "upgradeResult": { - "description": "Result of this upgrade.", - "enum": [ - "Succeed", - "Failed" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterPoolUpgradeHistoryUpgradeResultType", - "modelAsString": true - } - } - }, - "discriminator": "upgradeType" - }, - "ClusterPoolNodeOsUpgradeHistoryProperties": { - "type": "object", - "description": "Cluster pool node os upgrade history properties.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolUpgradeHistoryProperties" - } - ], - "properties": { - "newNodeOs": { - "type": "string", - "description": "New Node Os version." - } - }, - "x-ms-discriminator-value": "NodeOsUpgrade" - }, - "ClusterPoolAksPatchUpgradeHistoryProperties": { - "type": "object", - "description": "Cluster pool aks upgrade history properties.", - "allOf": [ - { - "$ref": "#/definitions/ClusterPoolUpgradeHistoryProperties" - } - ], - "properties": { - "upgradeClusterPool": { - "type": "boolean", - "description": "Whether upgrade cluster pool." - }, - "upgradeAllClusterNodes": { - "type": "boolean", - "description": "Whether upgrade all cluster nodes." - }, - "originalVersion": { - "type": "string", - "description": "Version before update." - }, - "newVersion": { - "type": "string", - "description": "Version going to update." - } - }, - "x-ms-discriminator-value": "AKSPatchUpgrade" - }, - "ClusterUpgrade": { - "description": "Cluster Upgrade.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterUpgradeProperties" - } - } - }, - "ClusterUpgradeProperties": { - "description": "Properties of upgrading cluster.", - "type": "object", - "properties": { - "upgradeType": { - "description": "Type of upgrade.", - "enum": [ - "AKSPatchUpgrade", - "HotfixUpgrade", - "PatchVersionUpgrade" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterUpgradeType", - "modelAsString": true - } - } - }, - "discriminator": "upgradeType", - "required": [ - "upgradeType" - ] - }, - "ClusterAKSPatchVersionUpgradeProperties": { - "description": "Properties of upgrading cluster's AKS patch version.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterUpgradeProperties" - } - ], - "properties": {}, - "x-ms-discriminator-value": "AKSPatchUpgrade" - }, - "ClusterInPlaceUpgradeProperties": { - "description": "Properties of in-place upgrading cluster.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterUpgradeProperties" - } - ], - "properties": { - "targetOssVersion": { - "description": "Target OSS version of component to be upgraded.", - "type": "string" - }, - "targetClusterVersion": { - "description": "Target cluster version of component to be upgraded.", - "type": "string" - }, - "targetBuildNumber": { - "description": "Target build number of component to be upgraded.", - "type": "string" - }, - "componentName": { - "description": "Name of component to be upgraded.", - "type": "string" - } - } - }, - "ClusterHotfixUpgradeProperties": { - "description": "Properties of upgrading cluster's hotfix.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterInPlaceUpgradeProperties" - } - ], - "x-ms-discriminator-value": "HotfixUpgrade" - }, - "ClusterPatchVersionUpgradeProperties": { - "description": "Properties of upgrading cluster's patch version.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ClusterInPlaceUpgradeProperties" - } - ], - "x-ms-discriminator-value": "PatchVersionUpgrade" - }, - "ClusterUpgradeHistoryListResult": { - "type": "object", - "required": [ - "value" - ], - "description": "Represents a list of cluster upgrade history.", - "properties": { - "value": { - "type": "array", - "description": "The list of cluster upgrade history.", - "items": { - "$ref": "#/definitions/ClusterUpgradeHistory" - } - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "readOnly": true - } - } - }, - "ClusterUpgradeHistory": { - "type": "object", - "description": "Cluster upgrade history.", - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterUpgradeHistoryProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ClusterUpgradeHistoryProperties": { - "description": "Properties of cluster upgrade history.", - "type": "object", - "required": [ - "upgradeType", - "utcTime", - "upgradeResult" - ], - "properties": { - "upgradeType": { - "description": "Type of upgrade.", - "enum": [ - "AKSPatchUpgrade", - "HotfixUpgrade", - "HotfixUpgradeRollback", - "PatchVersionUpgrade", - "PatchVersionUpgradeRollback" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterUpgradeHistoryType", - "modelAsString": true - } - }, - "utcTime": { - "description": "Time when created this upgrade history.", - "type": "string" - }, - "upgradeResult": { - "description": "Result of this upgrade.", - "enum": [ - "Succeed", - "Failed" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterUpgradeHistoryUpgradeResultType", - "modelAsString": true - } - } - }, - "discriminator": "upgradeType" - }, - "ClusterInPlaceUpgradeHistoryProperties": { - "type": "object", - "description": "Cluster in-place upgrade history properties.", - "allOf": [ - { - "$ref": "#/definitions/ClusterUpgradeHistoryProperties" - } - ], - "properties": { - "sourceClusterVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "sourceOssVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "sourceBuildNumber": { - "type": "string", - "description": "Source build number." - }, - "targetClusterVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "targetOssVersion": { - "$ref": "#/definitions/ThreePartVersionPattern" - }, - "targetBuildNumber": { - "type": "string", - "description": "Target build number." - }, - "componentName": { - "type": "string", - "description": "Component name to upgrade." - }, - "severity": { - "description": "Severity of this upgrade.", - "enum": [ - "low", - "medium", - "high", - "critical" - ], - "type": "string", - "x-ms-enum": { - "name": "clusterUpgradeHistorySeverityType", - "modelAsString": true - } - } - } - }, - "ClusterHotfixUpgradeHistoryProperties": { - "type": "object", - "description": "Cluster hotfix upgrade history properties.", - "allOf": [ - { - "$ref": "#/definitions/ClusterInPlaceUpgradeHistoryProperties" - } - ], - "x-ms-discriminator-value": "HotfixUpgrade" - }, - "ClusterHotfixUpgradeRollbackHistoryProperties": { - "type": "object", - "description": "Cluster hotfix upgrade rollback history properties.", - "allOf": [ - { - "$ref": "#/definitions/ClusterInPlaceUpgradeHistoryProperties" - } - ], - "x-ms-discriminator-value": "HotfixUpgradeRollback" - }, - "ClusterPatchVersionUpgradeHistoryProperties": { - "type": "object", - "description": "Cluster patch version upgrade history properties.", - "allOf": [ - { - "$ref": "#/definitions/ClusterInPlaceUpgradeHistoryProperties" - } - ], - "x-ms-discriminator-value": "PatchVersionUpgrade" - }, - "ClusterPatchVersionUpgradeRollbackHistoryProperties": { - "type": "object", - "description": "Cluster patch version upgrade rollback history properties.", - "allOf": [ - { - "$ref": "#/definitions/ClusterInPlaceUpgradeHistoryProperties" - } - ], - "x-ms-discriminator-value": "PatchVersionUpgradeRollback" - }, - "ClusterAksPatchUpgradeHistoryProperties": { - "type": "object", - "description": "Cluster aks patch upgrade history properties.", - "allOf": [ - { - "$ref": "#/definitions/ClusterUpgradeHistoryProperties" - } - ], - "properties": { - "originalVersion": { - "type": "string", - "description": "Version before update." - }, - "newVersion": { - "type": "string", - "description": "Version going to update." - } - }, - "x-ms-discriminator-value": "AKSPatchUpgrade" - }, - "ClusterUpgradeRollback": { - "description": "Cluster Upgrade.", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterUpgradeRollbackProperties" - } - } - }, - "ClusterUpgradeRollbackProperties": { - "description": "Properties for manual rollback of cluster's upgrade.", - "type": "object", - "properties": { - "upgradeHistory": { - "description": "A specific upgrade history to rollback", - "type": "string" - } - }, - "required": [ - "upgradeHistory" - ] - }, - "ClusterLibraryManagementOperation": { - "description": "Library management operation.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterLibraryManagementOperationProperties" - } - } - }, - "ClusterLibraryManagementOperationProperties": { - "description": "Properties of a library management operation.", - "type": "object", - "required": [ - "action", - "libraries" - ], - "properties": { - "action": { - "description": "The library management action.", - "enum": [ - "Install", - "Uninstall" - ], - "type": "string", - "x-ms-enum": { - "name": "LibraryManagementAction", - "modelAsString": true - } - }, - "libraries": { - "type": "array", - "description": "The libraries to be installed/updated/uninstalled.", - "items": { - "$ref": "#/definitions/ClusterLibrary" - } - } - } - }, - "ClusterLibraryList": { - "description": "Collection of libraries in the cluster.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "Collection of libraries in the cluster.", - "uniqueItems": false, - "items": { - "$ref": "#/definitions/ClusterLibrary" - } - }, - "nextLink": { - "description": "The url of next result page.", - "type": "string", - "readOnly": true - } - } - }, - "ClusterLibrary": { - "description": "Libraries in the cluster.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterLibraryProperties" - } - } - }, - "ClusterLibraryProperties": { - "description": "Properties of a library in the cluster.", - "type": "object", - "properties": { - "type": { - "description": "Type of the library.", - "enum": [ - "pypi", - "maven" - ], - "type": "string", - "x-ms-enum": { - "name": "type", - "modelAsString": true - } - }, - "remarks": { - "description": "Remark of the latest library management operation.", - "type": "string" - }, - "timestamp": { - "description": "Timestamp of the latest library management operation.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "status": { - "description": "Status of the library.", - "enum": [ - "INSTALLING", - "INSTALLED", - "INSTALL_FAILED", - "UNINSTALLING", - "UNINSTALL_FAILED" - ], - "type": "string", - "x-ms-enum": { - "name": "status", - "modelAsString": true - }, - "readOnly": true - }, - "message": { - "description": "Error message of the library operation when a failure occurs.", - "type": "string", - "readOnly": true - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "PyPiLibraryProperties": { - "description": "Properties of a PyPi library in the cluster.", - "type": "object", - "required": [ - "name" - ], - "allOf": [ - { - "$ref": "#/definitions/ClusterLibraryProperties" - } - ], - "properties": { - "name": { - "description": "Name of the PyPi package.", - "type": "string" - }, - "version": { - "description": "Version of the PyPi package.", - "type": "string" - } - }, - "x-ms-discriminator-value": "pypi" - }, - "MavenLibraryProperties": { - "description": "Properties of a Maven library in the cluster.", - "type": "object", - "required": [ - "name", - "groupId" - ], - "allOf": [ - { - "$ref": "#/definitions/ClusterLibraryProperties" - } - ], - "properties": { - "groupId": { - "description": "GroupId of the Maven package.", - "type": "string" - }, - "name": { - "description": "ArtifactId of the Maven package.", - "type": "string" - }, - "version": { - "description": "Version of the Maven package.", - "type": "string" - } - }, - "x-ms-discriminator-value": "maven" - } - }, - "parameters": { - "ClusterPoolNameParameter": { - "name": "clusterPoolName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster pool.", - "x-ms-parameter-location": "method" - }, - "ClusterNameParameter": { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the HDInsight cluster.", - "x-ms-parameter-location": "method" - }, - "ClusterTypeNameParameter": { - "name": "clusterTypeName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the HDInsight on AKS cluster type.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.go.md b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.go.md deleted file mode 100644 index 77ab0d7a7d12..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.go.md +++ /dev/null @@ -1,11 +0,0 @@ -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) && $(track2) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/hdinsightcontainers/armhdinsightcontainers -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.java.md b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.java.md deleted file mode 100644 index 01cdabebe9ad..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.java.md +++ /dev/null @@ -1,7 +0,0 @@ -## Java - -These settings apply only when `--java` is specified on the command line. - -``` yaml $(java) -client-flattened-annotation-target: disabled -``` diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.md b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.md deleted file mode 100644 index cb16a494a112..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.md +++ /dev/null @@ -1,175 +0,0 @@ -# HDInsight On Aks - -> see https://aka.ms/autorest - -This is the AutoRest configuration file for HDInsight On Aks. - ---- - -## Getting Started - -To build the SDK for HDInsight, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: - -> `autorest` - -To see additional help and options, run: - -> `autorest --help` - ---- - -## Configuration - -### Basic Information - -These are the global settings for the HDInsight On Aks API. - -``` yaml -title: HDInsightContainersManagementClient -description: HDInsight Containers Management Client -openapi-type: arm -openapi-subtype: rpaas -azure-arm: true -tag: package-preview-2024-05 -``` - -``` yaml -modelerfour: - flatten-models: false -``` - -### Suppression - - -### Tag: package-preview-2024-05 - -These settings apply only when `--tag=package-preview-2024-05` is specified on the command line. - -```yaml $(tag) == 'package-preview-2024-05' -input-file: - - preview/2024-05-01-preview/hdinsight.json - -suppressions: - - code: ResourceNameRestriction - reason: Keep compatibility with old API version. - - code: OperationIdNounVerb - where: - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters"].get.operationId - reason: The operation id is valid. - - code: EnumInsteadOfBoolean - - code: TrackedResourcePatchOperation - where: - - $.definitions.Cluster - reason: This is a false positive, and there is ClusterPatch defined for patching cluster. - - code: PatchBodyParametersSchema - reason: We refers to the same models in PUT operation, and the errors checked are allowed by our service. - - code: DeleteResponseCodes - reason: If the resource only exist in arm, and doesn't have backend resources, we return 200 in delete operation. - - code: EnumInsteadOfBoolean - where: - - $.definitions.ClusterAccessProfile.properties.enableInternalIngress - - $.definitions.ClusterPoolNetworkProfile.properties.enablePrivateApiServer - - $.definitions.ClusterRangerPluginProfile.properties.enabled - - $.definitions.RangerUsersyncSpec.properties.enabled - - $.definitions.KafkaProfile.properties.enableKRaft - - $.definitions.KafkaProfile.enablePublicEndpoints - - $.definitions.ClusterPoolAKSPatchVersionUpgradeProperties.upgradeClusterPool - - $.definitions.ClusterPoolAKSPatchVersionUpgradeProperties.upgradeAllClusterNodes - reason: They are used for enabling or disabling a feature. Using a boolean type is more user friendly, and they will be not extended to other values. -``` -### Tag: package-preview-2023-11 - -These settings apply only when `--tag=package-preview-2023-11` is specified on the command line. - -``` yaml $(tag) == 'package-preview-2023-11' -input-file: - - preview/2023-11-01-preview/hdinsight.json - -suppressions: - - code: ResourceNameRestriction - reason: Keep compatibility with old API version. - - code: OperationIdNounVerb - where: - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters"].get.operationId - reason: The operation id is valid. - - code: EnumInsteadOfBoolean - - code: TrackedResourcePatchOperation - where: - - $.definitions.Cluster - reason: This is a false positive, and there is ClusterPatch defined for patching cluster. - - code: DeleteResponseCodes - reason: If the resource only exist in arm, and doesn't have backend resources, we return 200 in delete operation. - - code: EnumInsteadOfBoolean - where: - - $.definitions.ClusterAccessProfile.properties.enableInternalIngress - - $.definitions.ClusterPoolNetworkProfile.properties.enablePrivateApiServer - - $.definitions.ClusterRangerPluginProfile.properties.enabled - - $.definitions.RangerUsersyncSpec.properties.enabled - - $.definitions.KafkaProfile.properties.enableKRaft - - $.definitions.KafkaProfile.enablePublicEndpoints - - $.definitions.ClusterPoolAKSPatchVersionUpgradeProperties.upgradeClusterPool - - $.definitions.ClusterPoolAKSPatchVersionUpgradeProperties.upgradeAllClusterNodes - reason: They are used for enabling or disabling a feature. Using a boolean type is more user friendly, and they will be not extended to other values. -``` - -### Tag: package-2023-06-preview - -These settings apply only when `--tag=package-2023-06-preview` is specified on the command line. - -``` yaml $(tag) == 'package-2023-06-preview' -input-file: - - preview/2023-06-01-preview/hdinsight.json -suppressions: - - code: ResourceNameRestriction - reason: Keep compatibility with old API version. - - code: PatchBodyParametersSchema - reason: The "location" property is a must for a tracked resource. - - code: TrackedResourcePatchOperation - reason: This is a false positive, the "tags" property is defined in TrackedResource. - - code: OperationIdNounVerb - reason: This is false alarm. We checked that the operation id "Clusters_ListByClusterPoolName" is correct. - - code: GetCollectionOnlyHasValueAndNextLink - reason: This is false alarm. -``` - ---- - -# Code Generation - -## Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -``` yaml $(swagger-to-sdk) -swagger-to-sdk: - - repo: azure-sdk-for-net - - repo: azure-sdk-for-go - - repo: azure-sdk-for-java - - repo: azure-sdk-for-python - - repo: azure-sdk-for-js - - repo: azure-sdk-for-node - - repo: azure-resource-manager-schemas - - repo: azure-powershell -``` - -## Python - -See configuration in [readme.python.md](./readme.python.md) - -## Go - -See configuration in [readme.go.md](./readme.go.md) - -## C# - -These settings apply only when `--csharp` is specified on the command line. -Please also specify `--csharp-sdks-folder=`. - -``` yaml $(csharp) -csharp: - license-header: MICROSOFT_MIT_NO_VERSION - namespace: Azure.ResourceManager.HDInsight.Containers - output-folder: $(csharp-sdks-folder)/hdinsight/Azure.ResourceManager.HDInsight.Containers/src/Generated - clear-output-folder: true -``` diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.nodejs.md b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.nodejs.md deleted file mode 100644 index 5da095ac0e5b..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.nodejs.md +++ /dev/null @@ -1,29 +0,0 @@ -## Node.js - -These settings apply only when `--nodejs` is specified on the command line. -Please also specify `--node-sdks-folder=`. - -``` yaml $(nodejs) -nodejs: - azure-arm: true - package-name: azure-arm-hdinsightcontainers - output-folder: $(node-sdks-folder)/lib/services/hdInsightContainersManagement - generate-license-txt: true - generate-package-json: true - generate-readme-md: true -``` - -## Tag: package-hdinsightcontainers-2023-06-preview and Node.js - -These settings apply only when `--tag=package-hdinsightcontainers-2023-06-preview --nodejs` is specified on the command line. -Please also specify `--node-sdks-folder=`. - -``` yaml $(tag) == 'package-hdinsightonaks-2023-06-preview' && $(nodejs) -nodejs: - azure-arm: true - package-name: azure-arm-hdinsightcontainers - output-folder: $(node-sdks-folder)/lib/services/hdInsightContainersManagement - generate-license-txt: true - generate-package-json: true - generate-readme-md: true -``` diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.python.md b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.python.md deleted file mode 100644 index ad7a3c03b301..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.python.md +++ /dev/null @@ -1,25 +0,0 @@ -## Python - -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) -title: HDInsightContainersMgmtClient -azure-arm: true -license-header: MICROSOFT_MIT_NO_VERSION -namespace: azure.mgmt.hdinsightcontainers -package-name: azure-mgmt-hdinsightcontainers -package-version: 1.0.0b1 -clear-output-folder: true -``` - -``` yaml $(python) -no-namespace-folders: true -output-folder: $(python-sdks-folder)/hdinsight/azure-mgmt-hdinsightcontainers/azure/mgmt/hdinsightcontainers -``` - -``` yaml $(python) -modelerfour: - lenient-model-deduplication: true -``` diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.typescript.md b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.typescript.md deleted file mode 100644 index d575e8875201..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.typescript.md +++ /dev/null @@ -1,12 +0,0 @@ -## TypeScript - -These settings apply only when `--typescript` is specified on the command line. -Please also specify `--typescript-sdks-folder=`. - -``` yaml $(typescript) -typescript: - azure-arm: true - package-name: "@azure/arm-hdinsightcontainers" - output-folder: "$(typescript-sdks-folder)/sdk/hdinsight/arm-hdinsightcontainers" - generate-metadata: true -```