Skip to content

Commit 4b6316b

Browse files
aim-for-betterZhenyu Zhou
andauthored
{HDInsight}Fix some roundtrip S360 issues in api version 2015-03-01-preview (#13342)
* Add networkProperties and clusterId * Fixed round trip errors * remove default value because it is breaking change Co-authored-by: Zhenyu Zhou <[email protected]>
1 parent 9613df5 commit 4b6316b

File tree

2 files changed

+45
-9
lines changed

2 files changed

+45
-9
lines changed

specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,11 +316,19 @@
316316
},
317317
"subDomainSuffix": {
318318
"type": "string",
319-
"description": "The subdomain suffix of the application."
319+
"description": "The subdomain suffix of the application.",
320+
"x-ms-mutability": [
321+
"create",
322+
"update"
323+
]
320324
},
321325
"disableGatewayAuth": {
322326
"type": "boolean",
323-
"description": "The value indicates whether to disable GatewayAuth."
327+
"description": "The value indicates whether to disable GatewayAuth.",
328+
"x-ms-mutability": [
329+
"create",
330+
"update"
331+
]
324332
}
325333
}
326334
},

specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,11 @@
756756
"additionalProperties": {
757757
"type": "string"
758758
},
759-
"description": "The versions of different services in the cluster."
759+
"description": "The versions of different services in the cluster.",
760+
"x-ms-mutability": [
761+
"create",
762+
"read"
763+
]
760764
},
761765
"configurations": {
762766
"type": "object",
@@ -814,7 +818,11 @@
814818
},
815819
"organizationalUnitDN": {
816820
"type": "string",
817-
"description": "The organizational unit within the Active Directory to place the cluster and service accounts."
821+
"description": "The organizational unit within the Active Directory to place the cluster and service accounts.",
822+
"x-ms-mutability": [
823+
"create",
824+
"read"
825+
]
818826
},
819827
"ldapsUrls": {
820828
"type": "array",
@@ -1060,7 +1068,11 @@
10601068
},
10611069
"VMGroupName": {
10621070
"type": "string",
1063-
"description": "The name of the virtual machine group."
1071+
"description": "The name of the virtual machine group.",
1072+
"x-ms-mutability": [
1073+
"create",
1074+
"read"
1075+
]
10641076
},
10651077
"autoscale": {
10661078
"$ref": "#/definitions/Autoscale",
@@ -1214,7 +1226,11 @@
12141226
"properties": {
12151227
"enableComputeIsolation": {
12161228
"type": "boolean",
1217-
"description": "The flag indicates whether enable compute isolation or not."
1229+
"description": "The flag indicates whether enable compute isolation or not.",
1230+
"x-ms-mutability": [
1231+
"create",
1232+
"read"
1233+
]
12181234
},
12191235
"hostSku": {
12201236
"type": "string",
@@ -1252,7 +1268,11 @@
12521268
"name": "Tier",
12531269
"modelAsString": false
12541270
},
1255-
"default": "Standard"
1271+
"default": "Standard",
1272+
"x-ms-mutability": [
1273+
"create",
1274+
"read"
1275+
]
12561276
},
12571277
"clusterDefinition": {
12581278
"$ref": "#/definitions/ClusterDefinition",
@@ -1545,7 +1565,11 @@
15451565
},
15461566
"parameters": {
15471567
"type": "string",
1548-
"description": "The parameters for the script"
1568+
"description": "The parameters for the script",
1569+
"x-ms-mutability": [
1570+
"create",
1571+
"update"
1572+
]
15491573
},
15501574
"roles": {
15511575
"type": "array",
@@ -1809,7 +1833,11 @@
18091833
"x-ms-enum": {
18101834
"name": "JsonWebKeyEncryptionAlgorithm",
18111835
"modelAsString": true
1812-
}
1836+
},
1837+
"x-ms-mutability": [
1838+
"create",
1839+
"read"
1840+
]
18131841
},
18141842
"msiResourceId": {
18151843
"type": "string",

0 commit comments

Comments
 (0)