diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/CreateCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/CreateCluster.json index 903de36d3f5b..4a72ee789056 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/CreateCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/CreateCluster.json @@ -26,7 +26,11 @@ "testuser2" ] }, - "kafkaProfile": {} + "kafkaProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } } } @@ -63,7 +67,11 @@ "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" } }, - "kafkaProfile": {} + "kafkaProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } }, "systemData": { @@ -107,7 +115,11 @@ "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" } }, - "kafkaProfile": {} + "kafkaProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } }, "systemData": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/CreateSessionCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/CreateSessionCluster.json index a283c3a1912a..68c8cd979c07 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/CreateSessionCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/CreateSessionCluster.json @@ -22,7 +22,11 @@ "testuser2" ] }, - "flinkProfile": {} + "flinkProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } } } @@ -54,7 +58,11 @@ "fqdn": "sessionCluster1.cluster1.clusterpool1.westus2.projecthilo.net" } }, - "flinkProfile": {} + "flinkProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } }, "systemData": { @@ -94,7 +102,11 @@ "fqdn": "sessionCluster1.cluster1.clusterpool1.westus2.projecthilo.net" } }, - "flinkProfile": {} + "flinkProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } }, "systemData": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/GetCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/GetCluster.json index 81aaea99295b..29684db2f038 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/GetCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/GetCluster.json @@ -38,7 +38,11 @@ "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" } }, - "kafkaProfile": {} + "kafkaProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } }, "systemData": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/GetSessionCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/GetSessionCluster.json index 37d61c163de0..d1159a1ac403 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/GetSessionCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/GetSessionCluster.json @@ -34,7 +34,11 @@ "fqdn": "sessionCluster1.cluster1.clusterpool1.westus2.projecthilo.net" } }, - "flinkProfile": {} + "flinkProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } }, "systemData": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/ListClustersByClusterPoolName.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/ListClustersByClusterPoolName.json index 1641efc80852..cf004347a26b 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/ListClustersByClusterPoolName.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/ListClustersByClusterPoolName.json @@ -39,7 +39,11 @@ "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" } }, - "kafkaProfile": {} + "kafkaProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } }, "location": "West US 2", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/ListSessionClustersByClusterName.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/ListSessionClustersByClusterName.json index ca1d3138dd84..81691a1fdae2 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/ListSessionClustersByClusterName.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/ListSessionClustersByClusterName.json @@ -35,7 +35,11 @@ "fqdn": "sessionCluster1.cluster1.clusterpool1.westus2.projecthilo.net" } }, - "flinkProfile": {} + "flinkProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } }, "location": "West US 2", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/PatchCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/PatchCluster.json index 4eb52a809f88..c54c3a5b4664 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/PatchCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/PatchCluster.json @@ -44,7 +44,11 @@ "fqdn": "cluster1.clusterpool1.westus2.projecthilo.net" } }, - "kafkaProfile": {} + "kafkaProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } }, "systemData": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/PatchSessionCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/PatchSessionCluster.json index b1774080190a..536fbe8da8db 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/PatchSessionCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/examples/PatchSessionCluster.json @@ -40,7 +40,11 @@ "fqdn": "sessionCluster1.cluster1.clusterpool1.westus2.projecthilo.net" } }, - "flinkProfile": {} + "flinkProfile": {}, + "sshProfile": { + "count": 2, + "podPrefix": "pod" + } } }, "systemData": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/hdinsight.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/hdinsight.json index be330c20ad75..86494b575d3c 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/hdinsight.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2021-09-15-preview/hdinsight.json @@ -1609,6 +1609,9 @@ "logAnalyticsProfile": { "$ref": "#/definitions/ClusterLogAnalyticsProfile" }, + "sshProfile": { + "$ref": "#/definitions/SshProfile" + }, "kafkaProfile": { "type": "object", "description": "Kafka cluster profile.", @@ -1642,6 +1645,30 @@ }, "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 //-", + "minLength": 1, + "maxLength": 58, + "pattern": "^[a-z]([-a-z0-9]*[a-z0-9])?$", + "default": "pod" + } + } + }, "ClusterResourceProperties": { "type": "object", "required": [