Skip to content

Commit 2005e96

Browse files
hdinsight: documenting the cluster kind
There's a fixed list of possible values for this - making this an enum - as such this should be documented as an Enum.
1 parent 4bb583b commit 2005e96

File tree

4 files changed

+48
-4
lines changed

4 files changed

+48
-4
lines changed

specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,18 @@
753753
},
754754
"kind": {
755755
"type": "string",
756-
"description": "The type of cluster."
756+
"description": "The type of cluster.",
757+
"enum": [
758+
"HADOOP",
759+
"HBASE",
760+
"KAFKA",
761+
"INTERACTIVEHIVE",
762+
"SPARK"
763+
],
764+
"x-ms-enum": {
765+
"name": "ClusterKind",
766+
"modelAsString": true
767+
}
757768
},
758769
"componentVersion": {
759770
"type": "object",

specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/cluster.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,18 @@
753753
},
754754
"kind": {
755755
"type": "string",
756-
"description": "The type of cluster."
756+
"description": "The type of cluster.",
757+
"enum": [
758+
"HADOOP",
759+
"HBASE",
760+
"KAFKA",
761+
"INTERACTIVEHIVE",
762+
"SPARK"
763+
],
764+
"x-ms-enum": {
765+
"name": "ClusterKind",
766+
"modelAsString": true
767+
}
757768
},
758769
"componentVersion": {
759770
"type": "object",

specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,18 @@
749749
},
750750
"kind": {
751751
"type": "string",
752-
"description": "The type of cluster."
752+
"description": "The type of cluster.",
753+
"enum": [
754+
"HADOOP",
755+
"HBASE",
756+
"KAFKA",
757+
"INTERACTIVEHIVE",
758+
"SPARK"
759+
],
760+
"x-ms-enum": {
761+
"name": "ClusterKind",
762+
"modelAsString": true
763+
}
753764
},
754765
"componentVersion": {
755766
"type": "object",

specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/cluster.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,18 @@
753753
},
754754
"kind": {
755755
"type": "string",
756-
"description": "The type of cluster."
756+
"description": "The type of cluster.",
757+
"enum": [
758+
"HADOOP",
759+
"HBASE",
760+
"KAFKA",
761+
"INTERACTIVEHIVE",
762+
"SPARK"
763+
],
764+
"x-ms-enum": {
765+
"name": "ClusterKind",
766+
"modelAsString": true
767+
}
757768
},
758769
"componentVersion": {
759770
"type": "object",

0 commit comments

Comments
 (0)