Skip to content

Commit 0beb90d

Browse files
agalerrotaruFredericHeem
authored andcommitted
Adding xms-ids to ContainerService (Azure#17640)
* Adding xms-ids to ContainerService * prettier fix
1 parent d418f9c commit 0beb90d

File tree

1 file changed

+60
-17
lines changed
  • specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2021-10-01

1 file changed

+60
-17
lines changed

specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2021-10-01/managedClusters.json

Lines changed: 60 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,17 @@
9292
}
9393
],
9494
"responses": {
95-
"default": {
96-
"description": "Error response describing why the operation failed",
97-
"schema": {
98-
"$ref": "#/definitions/CloudError"
99-
}
100-
},
10195
"200": {
10296
"description": "OK",
10397
"schema": {
10498
"$ref": "#/definitions/OSOptionProfile"
10599
}
100+
},
101+
"default": {
102+
"description": "Error response describing why the operation failed",
103+
"schema": {
104+
"$ref": "#/definitions/CloudError"
105+
}
106106
}
107107
},
108108
"x-ms-examples": {
@@ -1823,15 +1823,15 @@
18231823
}
18241824
],
18251825
"responses": {
1826-
"202": {
1827-
"description": "Accepted"
1828-
},
18291826
"200": {
18301827
"description": "command finished with async pattern, tracking by location header. !!! this is for autorest only, you never get 200 from this api !!!",
18311828
"schema": {
18321829
"$ref": "#/definitions/RunCommandResult"
18331830
}
18341831
},
1832+
"202": {
1833+
"description": "Accepted"
1834+
},
18351835
"default": {
18361836
"description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
18371837
"schema": {
@@ -1875,15 +1875,15 @@
18751875
}
18761876
],
18771877
"responses": {
1878-
"202": {
1879-
"description": "command running in progress"
1880-
},
18811878
"200": {
18821879
"description": "command finished",
18831880
"schema": {
18841881
"$ref": "#/definitions/RunCommandResult"
18851882
}
18861883
},
1884+
"202": {
1885+
"description": "command running in progress"
1886+
},
18871887
"default": {
18881888
"description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
18891889
"schema": {
@@ -2224,6 +2224,9 @@
22242224
"items": {
22252225
"$ref": "#/definitions/OperationValue"
22262226
},
2227+
"x-ms-identifiers": [
2228+
"name"
2229+
],
22272230
"description": "The list of operations"
22282231
}
22292232
},
@@ -3293,6 +3296,7 @@
32933296
"items": {
32943297
"$ref": "#/definitions/TimeInWeek"
32953298
},
3299+
"x-ms-identifiers": [],
32963300
"title": "Time slots during the week when planned maintenance is allowed to proceed.",
32973301
"description": "If two array entries specify the same day of the week, the applied configuration is the union of times in both entries."
32983302
},
@@ -3301,6 +3305,7 @@
33013305
"items": {
33023306
"$ref": "#/definitions/TimeSpan"
33033307
},
3308+
"x-ms-identifiers": [],
33043309
"description": "Time slots on which upgrade is not allowed."
33053310
}
33063311
},
@@ -3568,6 +3573,7 @@
35683573
"items": {
35693574
"$ref": "#/definitions/ContainerServiceSshPublicKey"
35703575
},
3576+
"x-ms-identifiers": [],
35713577
"description": "The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified."
35723578
}
35733579
},
@@ -3715,6 +3721,9 @@
37153721
"items": {
37163722
"$ref": "#/definitions/ManagedClusterAgentPoolProfile"
37173723
},
3724+
"x-ms-identifiers": [
3725+
"name"
3726+
],
37183727
"description": "The agent pool properties."
37193728
},
37203729
"linuxProfile": {
@@ -4130,6 +4139,7 @@
41304139
}
41314140
}
41324141
},
4142+
"x-ms-identifiers": [],
41334143
"description": "List of orchestrator types and versions available for upgrade."
41344144
}
41354145
},
@@ -4150,6 +4160,9 @@
41504160
"items": {
41514161
"$ref": "#/definitions/ManagedClusterPoolUpgradeProfile"
41524162
},
4163+
"x-ms-identifiers": [
4164+
"name"
4165+
],
41534166
"description": "The list of available upgrade versions for agent pools."
41544167
}
41554168
},
@@ -4346,6 +4359,10 @@
43464359
"items": {
43474360
"$ref": "#/definitions/ManagedClusterPodIdentityProvisioningErrorBody"
43484361
},
4362+
"x-ms-identifiers": [
4363+
"message",
4364+
"target"
4365+
],
43494366
"description": "A list of additional details about the error."
43504367
}
43514368
},
@@ -4393,14 +4410,18 @@
43934410
"type": "array",
43944411
"items": {
43954412
"$ref": "#/definitions/ManagedClusterPodIdentity"
4396-
}
4413+
},
4414+
"x-ms-identifiers": [
4415+
"name"
4416+
]
43974417
},
43984418
"userAssignedIdentityExceptions": {
43994419
"description": "The pod identity exceptions to allow.",
44004420
"type": "array",
44014421
"items": {
44024422
"$ref": "#/definitions/ManagedClusterPodIdentityException"
4403-
}
4423+
},
4424+
"x-ms-identifiers": []
44044425
}
44054426
},
44064427
"title": "The pod identity profile of the Managed Cluster.",
@@ -4486,6 +4507,9 @@
44864507
}
44874508
}
44884509
},
4510+
"x-ms-identifiers": [
4511+
"kubernetesVersion"
4512+
],
44894513
"description": "List of orchestrator types and versions available for upgrade."
44904514
},
44914515
"latestNodeImageVersion": {
@@ -4548,6 +4572,9 @@
45484572
}
45494573
}
45504574
},
4575+
"x-ms-identifiers": [
4576+
"kubernetesVersion"
4577+
],
45514578
"description": "List of versions available for agent pool."
45524579
}
45534580
},
@@ -4675,6 +4702,9 @@
46754702
"items": {
46764703
"$ref": "#/definitions/CredentialResult"
46774704
},
4705+
"x-ms-identifiers": [
4706+
"name"
4707+
],
46784708
"description": "Base64-encoded Kubernetes configuration file."
46794709
}
46804710
},
@@ -4727,6 +4757,10 @@
47274757
"items": {
47284758
"$ref": "#/definitions/CloudErrorBody"
47294759
},
4760+
"x-ms-identifiers": [
4761+
"message",
4762+
"target"
4763+
],
47304764
"description": "A list of additional details about the error."
47314765
}
47324766
},
@@ -5321,6 +5355,7 @@
53215355
"items": {
53225356
"$ref": "#/definitions/OSOptionProperty"
53235357
},
5358+
"x-ms-identifiers": [],
53245359
"description": "The list of OS options."
53255360
}
53265361
},
@@ -5370,7 +5405,11 @@
53705405
"type": "array",
53715406
"items": {
53725407
"$ref": "#/definitions/EndpointDetail"
5373-
}
5408+
},
5409+
"x-ms-identifiers": [
5410+
"ipAddress",
5411+
"port"
5412+
]
53745413
}
53755414
}
53765415
},
@@ -5410,7 +5449,10 @@
54105449
"type": "array",
54115450
"items": {
54125451
"$ref": "#/definitions/EndpointDependency"
5413-
}
5452+
},
5453+
"x-ms-identifiers": [
5454+
"domainName"
5455+
]
54145456
}
54155457
}
54165458
},
@@ -5426,7 +5468,8 @@
54265468
"type": "array",
54275469
"items": {
54285470
"$ref": "#/definitions/OutboundEnvironmentEndpoint"
5429-
}
5471+
},
5472+
"x-ms-identifiers": []
54305473
},
54315474
"nextLink": {
54325475
"description": "Link to next page of resources.",

0 commit comments

Comments
 (0)