Skip to content

Commit b1159f1

Browse files
agalerrotaruFredericHeem
authored andcommitted
Adding xms-ids for ContainerInstance (Azure#17638)
1 parent 7851843 commit b1159f1

File tree

1 file changed

+77
-15
lines changed
  • specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01

1 file changed

+77
-15
lines changed

specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/containerInstance.json

Lines changed: 77 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -811,14 +811,20 @@
811811
"type": "array",
812812
"items": {
813813
"$ref": "#/definitions/ContainerPort"
814-
}
814+
},
815+
"x-ms-identifiers": [
816+
"port"
817+
]
815818
},
816819
"environmentVariables": {
817820
"description": "The environment variables to set in the container instance.",
818821
"type": "array",
819822
"items": {
820823
"$ref": "#/definitions/EnvironmentVariable"
821-
}
824+
},
825+
"x-ms-identifiers": [
826+
"name"
827+
]
822828
},
823829
"instanceView": {
824830
"description": "The instance view of the container instance. Only valid in response.",
@@ -847,7 +853,11 @@
847853
"type": "array",
848854
"items": {
849855
"$ref": "#/definitions/Event"
850-
}
856+
},
857+
"x-ms-identifiers": [
858+
"name",
859+
"type"
860+
]
851861
}
852862
}
853863
},
@@ -860,7 +870,10 @@
860870
"type": "array",
861871
"items": {
862872
"$ref": "#/definitions/VolumeMount"
863-
}
873+
},
874+
"x-ms-identifiers": [
875+
"name"
876+
]
864877
},
865878
"livenessProbe": {
866879
"description": "The liveness probe.",
@@ -1188,7 +1201,10 @@
11881201
"type": "array",
11891202
"items": {
11901203
"$ref": "#/definitions/HttpHeader"
1191-
}
1204+
},
1205+
"x-ms-identifiers": [
1206+
"name"
1207+
]
11921208
}
11931209
},
11941210
"required": [
@@ -1265,14 +1281,20 @@
12651281
"description": "The containers within the container group.",
12661282
"items": {
12671283
"$ref": "#/definitions/Container"
1268-
}
1284+
},
1285+
"x-ms-identifiers": [
1286+
"name"
1287+
]
12691288
},
12701289
"imageRegistryCredentials": {
12711290
"type": "array",
12721291
"description": "The image registry credentials by which the container group is created from.",
12731292
"items": {
12741293
"$ref": "#/definitions/ImageRegistryCredential"
1275-
}
1294+
},
1295+
"x-ms-identifiers": [
1296+
"username"
1297+
]
12761298
},
12771299
"restartPolicy": {
12781300
"type": "string",
@@ -1308,7 +1330,10 @@
13081330
"description": "The list of volumes that can be mounted by containers in this container group.",
13091331
"items": {
13101332
"$ref": "#/definitions/Volume"
1311-
}
1333+
},
1334+
"x-ms-identifiers": [
1335+
"name"
1336+
]
13121337
},
13131338
"instanceView": {
13141339
"description": "The instance view of the container group. Only valid in response.",
@@ -1321,7 +1346,11 @@
13211346
"type": "array",
13221347
"items": {
13231348
"$ref": "#/definitions/Event"
1324-
}
1349+
},
1350+
"x-ms-identifiers": [
1351+
"name",
1352+
"type"
1353+
]
13251354
},
13261355
"state": {
13271356
"readOnly": true,
@@ -1358,7 +1387,10 @@
13581387
"description": "The init containers for a container group.",
13591388
"items": {
13601389
"$ref": "#/definitions/InitContainerDefinition"
1361-
}
1390+
},
1391+
"x-ms-identifiers": [
1392+
"name"
1393+
]
13621394
}
13631395
},
13641396
"required": [
@@ -1525,7 +1557,10 @@
15251557
"description": "The list of ports exposed on the container group.",
15261558
"items": {
15271559
"$ref": "#/definitions/Port"
1528-
}
1560+
},
1561+
"x-ms-identifiers": [
1562+
"port"
1563+
]
15291564
},
15301565
"type": {
15311566
"type": "string",
@@ -1655,6 +1690,9 @@
16551690
"items": {
16561691
"$ref": "#/definitions/Operation"
16571692
},
1693+
"x-ms-identifiers": [
1694+
"name"
1695+
],
16581696
"description": "The list of operations."
16591697
},
16601698
"nextLink": {
@@ -1726,7 +1764,10 @@
17261764
"description": "The usage data.",
17271765
"items": {
17281766
"$ref": "#/definitions/Usage"
1729-
}
1767+
},
1768+
"x-ms-identifiers": [
1769+
"name"
1770+
]
17301771
}
17311772
}
17321773
},
@@ -1938,6 +1979,9 @@
19381979
"items": {
19391980
"$ref": "#/definitions/cachedImages"
19401981
},
1982+
"x-ms-identifiers": [
1983+
"image"
1984+
],
19411985
"description": "The list of cached images."
19421986
},
19431987
"nextLink": {
@@ -1973,6 +2017,10 @@
19732017
"items": {
19742018
"$ref": "#/definitions/Capabilities"
19752019
},
2020+
"x-ms-identifiers": [
2021+
"resourceType",
2022+
"location"
2023+
],
19762024
"description": "The list of capabilities."
19772025
},
19782026
"nextLink": {
@@ -2108,7 +2156,10 @@
21082156
"type": "array",
21092157
"items": {
21102158
"$ref": "#/definitions/EnvironmentVariable"
2111-
}
2159+
},
2160+
"x-ms-identifiers": [
2161+
"name"
2162+
]
21122163
},
21132164
"instanceView": {
21142165
"description": "The instance view of the init container. Only valid in response.",
@@ -2137,7 +2188,11 @@
21372188
"type": "array",
21382189
"items": {
21392190
"$ref": "#/definitions/Event"
2140-
}
2191+
},
2192+
"x-ms-identifiers": [
2193+
"name",
2194+
"type"
2195+
]
21412196
}
21422197
}
21432198
},
@@ -2146,7 +2201,10 @@
21462201
"type": "array",
21472202
"items": {
21482203
"$ref": "#/definitions/VolumeMount"
2149-
}
2204+
},
2205+
"x-ms-identifiers": [
2206+
"name"
2207+
]
21502208
}
21512209
}
21522210
},
@@ -2179,6 +2237,10 @@
21792237
"items": {
21802238
"$ref": "#/definitions/CloudErrorBody"
21812239
},
2240+
"x-ms-identifiers": [
2241+
"message",
2242+
"target"
2243+
],
21822244
"description": "A list of additional details about the error."
21832245
}
21842246
},

0 commit comments

Comments
 (0)