Skip to content

Commit 9f48fea

Browse files
Adding xms-ids to CognitiveServices (#17627)
* Adding xms-ids to CognitiveServices * corrections after rebase * Update PR per feedback Co-authored-by: Yanming Tang <[email protected]>
1 parent 7380e68 commit 9f48fea

File tree

1 file changed

+45
-3
lines changed
  • specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01

1 file changed

+45
-3
lines changed

specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/cognitiveservices.json

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,6 +1621,9 @@
16211621
"items": {
16221622
"$ref": "#/definitions/SkuCapability"
16231623
},
1624+
"x-ms-identifiers": [
1625+
"name"
1626+
],
16241627
"description": "Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only."
16251628
},
16261629
"isMigrated": {
@@ -1654,6 +1657,9 @@
16541657
"items": {
16551658
"$ref": "#/definitions/UserOwnedStorage"
16561659
},
1660+
"x-ms-identifiers": [
1661+
"resourceId"
1662+
],
16571663
"description": "The storage accounts for this resource."
16581664
},
16591665
"privateEndpointConnections": {
@@ -1790,7 +1796,10 @@
17901796
"type": "array",
17911797
"items": {
17921798
"$ref": "#/definitions/ThrottlingRule"
1793-
}
1799+
},
1800+
"x-ms-identifiers": [
1801+
"key"
1802+
]
17941803
}
17951804
},
17961805
"description": "The call rate limit Cognitive Services account."
@@ -1808,7 +1817,10 @@
18081817
"type": "array",
18091818
"items": {
18101819
"$ref": "#/definitions/ThrottlingRule"
1811-
}
1820+
},
1821+
"x-ms-identifiers": [
1822+
"key"
1823+
]
18121824
}
18131825
}
18141826
},
@@ -1834,7 +1846,11 @@
18341846
"type": "array",
18351847
"items": {
18361848
"$ref": "#/definitions/RequestMatchPattern"
1837-
}
1849+
},
1850+
"x-ms-identifiers": [
1851+
"path",
1852+
"method"
1853+
]
18381854
}
18391855
}
18401856
},
@@ -1910,6 +1926,10 @@
19101926
"items": {
19111927
"$ref": "#/definitions/AccountSku"
19121928
},
1929+
"x-ms-identifiers": [
1930+
"sku/name",
1931+
"resourceType"
1932+
],
19131933
"description": "Gets the list of Cognitive Services accounts and their properties."
19141934
}
19151935
},
@@ -1937,6 +1957,9 @@
19371957
"items": {
19381958
"$ref": "#/definitions/Usage"
19391959
},
1960+
"x-ms-identifiers": [
1961+
"name"
1962+
],
19401963
"description": "The list of usages for Cognitive Service account."
19411964
}
19421965
},
@@ -2054,6 +2077,11 @@
20542077
"items": {
20552078
"$ref": "#/definitions/SkuAvailability"
20562079
},
2080+
"x-ms-identifiers": [
2081+
"skuName",
2082+
"type",
2083+
"kind"
2084+
],
20572085
"description": "Check SKU availability result list."
20582086
}
20592087
}
@@ -2222,6 +2250,7 @@
22222250
"items": {
22232251
"$ref": "#/definitions/ResourceSkuRestrictions"
22242252
},
2253+
"x-ms-identifiers": [],
22252254
"description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions."
22262255
}
22272256
},
@@ -2254,6 +2283,11 @@
22542283
"items": {
22552284
"$ref": "#/definitions/ResourceSku"
22562285
},
2286+
"x-ms-identifiers": [
2287+
"resourceType",
2288+
"name",
2289+
"kind"
2290+
],
22572291
"description": "The list of skus available for the subscription."
22582292
},
22592293
"nextLink": {
@@ -2286,6 +2320,7 @@
22862320
"items": {
22872321
"$ref": "#/definitions/IpRule"
22882322
},
2323+
"x-ms-identifiers": [],
22892324
"description": "The list of IP address rules."
22902325
},
22912326
"virtualNetworkRules": {
@@ -2692,6 +2727,13 @@
26922727
"items": {
26932728
"$ref": "#/definitions/CommitmentTier"
26942729
},
2730+
"x-ms-identifiers": [
2731+
"kind",
2732+
"tier",
2733+
"skuName",
2734+
"hostingModel",
2735+
"planType"
2736+
],
26952737
"description": "Gets the list of Cognitive Services accounts CommitmentTier and their properties."
26962738
}
26972739
},

0 commit comments

Comments
 (0)