Skip to content

Commit d9547e0

Browse files
agalerrotaruFredericHeem
authored andcommitted
Adding xms ids for Api Management (Azure#17754)
* Adding xms-ids for ApiManagement * corrections after rebase
1 parent 5c6b65e commit d9547e0

File tree

7 files changed

+134
-12
lines changed

7 files changed

+134
-12
lines changed

specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2020-12-01/apimdeployment.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,15 +707,15 @@
707707
}
708708
],
709709
"responses": {
710-
"202": {
711-
"description": "Accepted: Location header contains the URL where the status of the long running operation can be checked."
712-
},
713710
"200": {
714711
"description": "Network configuration updates were successfully applied on the Api Management service.",
715712
"schema": {
716713
"$ref": "#/definitions/ApiManagementServiceResource"
717714
}
718715
},
716+
"202": {
717+
"description": "Accepted: Location header contains the URL where the status of the long running operation can be checked."
718+
},
719719
"default": {
720720
"description": "Error response describing why the operation failed.",
721721
"schema": {

specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2021-08-01/apimanagement.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@
7777
"items": {
7878
"$ref": "#/definitions/ErrorFieldContract"
7979
},
80+
"x-ms-identifiers": [
81+
"message",
82+
"target"
83+
],
8084
"description": "The list of invalid fields send in request, in case of validation error."
8185
}
8286
},
@@ -107,6 +111,9 @@
107111
"items": {
108112
"$ref": "#/definitions/RegionContract"
109113
},
114+
"x-ms-identifiers": [
115+
"name"
116+
],
110117
"description": "Lists of Regions."
111118
},
112119
"count": {

specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2021-08-01/apimdeployment.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -719,15 +719,15 @@
719719
}
720720
],
721721
"responses": {
722-
"202": {
723-
"description": "Accepted: Location header contains the URL where the status of the long running operation can be checked."
724-
},
725722
"200": {
726723
"description": "Network configuration updates were successfully applied on the Api Management service.",
727724
"schema": {
728725
"$ref": "#/definitions/ApiManagementServiceResource"
729726
}
730727
},
728+
"202": {
729+
"description": "Accepted: Location header contains the URL where the status of the long running operation can be checked."
730+
},
731731
"default": {
732732
"description": "Error response describing why the operation failed.",
733733
"schema": {
@@ -750,6 +750,10 @@
750750
"items": {
751751
"$ref": "#/definitions/ResourceSkuResult"
752752
},
753+
"x-ms-identifiers": [
754+
"resourceType",
755+
"sku/name"
756+
],
753757
"description": "The list of skus available for the service."
754758
},
755759
"nextLink": {
@@ -1290,6 +1294,10 @@
12901294
"items": {
12911295
"$ref": "#/definitions/HostnameConfiguration"
12921296
},
1297+
"x-ms-identifiers": [
1298+
"hostName",
1299+
"type"
1300+
],
12931301
"description": "Custom hostname configuration of the API Management service."
12941302
},
12951303
"publicIPAddresses": {
@@ -1333,6 +1341,10 @@
13331341
"items": {
13341342
"$ref": "#/definitions/AdditionalLocation"
13351343
},
1344+
"x-ms-identifiers": [
1345+
"location",
1346+
"sku"
1347+
],
13361348
"description": "Additional datacenter locations of the API Management service."
13371349
},
13381350
"customProperties": {
@@ -1347,6 +1359,9 @@
13471359
"items": {
13481360
"$ref": "#/definitions/CertificateConfiguration"
13491361
},
1362+
"x-ms-identifiers": [
1363+
"certificate/thumbprint"
1364+
],
13501365
"description": "List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10."
13511366
},
13521367
"enableClientCertificate": {
@@ -1813,6 +1828,9 @@
18131828
"items": {
18141829
"$ref": "#/definitions/Operation"
18151830
},
1831+
"x-ms-identifiers": [
1832+
"name"
1833+
],
18161834
"description": "List of operations supported by the resource provider."
18171835
},
18181836
"nextLink": {

specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2021-08-01/apimnetworkstatus.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,10 @@
208208
"items": {
209209
"$ref": "#/definitions/ConnectivityStatusContract"
210210
},
211+
"x-ms-identifiers": [
212+
"name",
213+
"resourceType"
214+
],
211215
"description": "Gets the list of Connectivity Status to the Resources on which the service depends upon."
212216
}
213217
},

specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2021-08-01/apimoutbounddependency.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@
9090
"type": "array",
9191
"items": {
9292
"$ref": "#/definitions/OutboundEnvironmentEndpoint"
93-
}
93+
},
94+
"x-ms-identifiers": []
9495
},
9596
"nextLink": {
9697
"description": "Link to next page of resources.",
@@ -112,7 +113,10 @@
112113
"type": "array",
113114
"items": {
114115
"$ref": "#/definitions/EndpointDependency"
115-
}
116+
},
117+
"x-ms-identifiers": [
118+
"domainName"
119+
]
116120
}
117121
}
118122
},
@@ -129,7 +133,11 @@
129133
"type": "array",
130134
"items": {
131135
"$ref": "#/definitions/EndpointDetail"
132-
}
136+
},
137+
"x-ms-identifiers": [
138+
"region",
139+
"port"
140+
]
133141
}
134142
}
135143
},

specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2021-08-01/apimskus.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@
164164
"items": {
165165
"$ref": "#/definitions/ApiManagementSkuCapabilities"
166166
},
167+
"x-ms-identifiers": [
168+
"name"
169+
],
167170
"description": "A list of capabilities that are available for the SKU in the specified list of zones."
168171
}
169172
},
@@ -264,6 +267,9 @@
264267
"items": {
265268
"$ref": "#/definitions/ApiManagementSkuLocationInfo"
266269
},
270+
"x-ms-identifiers": [
271+
"location"
272+
],
267273
"description": "A list of locations and availability zones in those locations where the SKU is available."
268274
},
269275
"apiVersions": {
@@ -280,6 +286,9 @@
280286
"items": {
281287
"$ref": "#/definitions/ApiManagementSkuCosts"
282288
},
289+
"x-ms-identifiers": [
290+
"meterID"
291+
],
283292
"description": "Metadata for retrieving price info."
284293
},
285294
"capabilities": {
@@ -288,6 +297,9 @@
288297
"items": {
289298
"$ref": "#/definitions/ApiManagementSkuCapabilities"
290299
},
300+
"x-ms-identifiers": [
301+
"name"
302+
],
291303
"description": "A name value pair to describe the capability."
292304
},
293305
"restrictions": {
@@ -296,6 +308,7 @@
296308
"items": {
297309
"$ref": "#/definitions/ApiManagementSkuRestrictions"
298310
},
311+
"x-ms-identifiers": [],
299312
"description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions."
300313
}
301314
},
@@ -322,6 +335,9 @@
322335
"items": {
323336
"$ref": "#/definitions/ApiManagementSkuZoneDetails"
324337
},
338+
"x-ms-identifiers": [
339+
"name"
340+
],
325341
"description": "Details of capabilities available to a SKU in specific zones."
326342
}
327343
}
@@ -353,6 +369,10 @@
353369
"items": {
354370
"$ref": "#/definitions/ApiManagementSku"
355371
},
372+
"x-ms-identifiers": [
373+
"name",
374+
"resourceType"
375+
],
356376
"description": "The list of skus available for the subscription."
357377
},
358378
"nextLink": {

0 commit comments

Comments
 (0)