Skip to content

Commit 38cbf99

Browse files
LinglingTongFredericHeem
authored andcommitted
Add xms-ids for mediaservices (Azure#17742)
* add xms-ids for mediaservices * remove label as xms-ids on Encoding.json
1 parent 81032c9 commit 38cbf99

File tree

7 files changed

+74
-1
lines changed

7 files changed

+74
-1
lines changed

specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AccountFilters.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@
162162
"items": {
163163
"$ref": "#/definitions/FilterTrackPropertyCondition"
164164
},
165+
"x-ms-identifiers": [],
165166
"description": "The track selections."
166167
}
167168
},
@@ -186,6 +187,7 @@
186187
"items": {
187188
"$ref": "#/definitions/FilterTrackSelection"
188189
},
190+
"x-ms-identifiers": [],
189191
"description": "The tracks selection conditions."
190192
}
191193
},

specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Accounts.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@
187187
"items": {
188188
"$ref": "#/definitions/MetricDimension"
189189
},
190+
"x-ms-identifiers": [
191+
"name"
192+
],
190193
"description": "The metric dimensions.",
191194
"readOnly": true
192195
},
@@ -236,6 +239,9 @@
236239
"items": {
237240
"$ref": "#/definitions/LogSpecification"
238241
},
242+
"x-ms-identifiers": [
243+
"name"
244+
],
239245
"description": "List of log specifications.",
240246
"readOnly": true
241247
},
@@ -244,6 +250,9 @@
244250
"items": {
245251
"$ref": "#/definitions/MetricSpecification"
246252
},
253+
"x-ms-identifiers": [
254+
"name"
255+
],
247256
"description": "List of metric specifications.",
248257
"readOnly": true
249258
}
@@ -754,6 +763,9 @@
754763
"items": {
755764
"$ref": "#/definitions/Operation"
756765
},
766+
"x-ms-identifiers": [
767+
"name"
768+
],
757769
"description": "A collection of Operation items."
758770
}
759771
},

specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AssetsAndAssetFilters.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@
141141
"items": {
142142
"$ref": "#/definitions/AssetFileEncryptionMetadata"
143143
},
144+
"x-ms-identifiers": [
145+
"assetFileId"
146+
],
144147
"description": "Asset File encryption metadata."
145148
}
146149
},
@@ -154,6 +157,9 @@
154157
"items": {
155158
"$ref": "#/definitions/AssetStreamingLocator"
156159
},
160+
"x-ms-identifiers": [
161+
"name"
162+
],
157163
"description": "The list of Streaming Locators.",
158164
"readOnly": true
159165
}
@@ -371,6 +377,7 @@
371377
"items": {
372378
"$ref": "#/definitions/FilterTrackPropertyCondition"
373379
},
380+
"x-ms-identifiers": [],
374381
"description": "The track selections."
375382
}
376383
},
@@ -395,6 +402,7 @@
395402
"items": {
396403
"$ref": "#/definitions/FilterTrackSelection"
397404
},
405+
"x-ms-identifiers": [],
398406
"description": "The tracks selection conditions."
399407
}
400408
},

specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/ContentKeyPolicies.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,13 +473,15 @@
473473
"items": {
474474
"$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey"
475475
},
476+
"x-ms-identifiers": [],
476477
"description": "A list of alternative verification keys."
477478
},
478479
"requiredClaims": {
479480
"type": "array",
480481
"items": {
481482
"$ref": "#/definitions/ContentKeyPolicyTokenClaim"
482483
},
484+
"x-ms-identifiers": [],
483485
"description": "A list of required token claims."
484486
},
485487
"restrictionTokenType": {
@@ -577,6 +579,7 @@
577579
"items": {
578580
"$ref": "#/definitions/ContentKeyPolicyPlayReadyLicense"
579581
},
582+
"x-ms-identifiers": [],
580583
"description": "The PlayReady licenses."
581584
},
582585
"responseCustomData": {
@@ -751,6 +754,9 @@
751754
"items": {
752755
"$ref": "#/definitions/ContentKeyPolicyOption"
753756
},
757+
"x-ms-identifiers": [
758+
"policyOptionId"
759+
],
754760
"description": "The Key Policy options."
755761
}
756762
},

specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Encoding.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@
362362
"items": {
363363
"$ref": "#/definitions/H265Layer"
364364
},
365+
"x-ms-identifiers": [],
365366
"description": "The collection of output H.265 layers to be produced by the encoder."
366367
}
367368
},
@@ -552,6 +553,7 @@
552553
"items": {
553554
"$ref": "#/definitions/TrackDescriptor"
554555
},
556+
"x-ms-identifiers": [],
555557
"description": "The list of TrackDescriptors which define the metadata and selection of tracks in the input."
556558
}
557559
},
@@ -1037,6 +1039,9 @@
10371039
"items": {
10381040
"$ref": "#/definitions/Overlay"
10391041
},
1042+
"x-ms-identifiers": [
1043+
"inputLabel"
1044+
],
10401045
"description": "The properties of overlays to be applied to the input video. These could be audio, image or video overlays."
10411046
}
10421047
},
@@ -1220,6 +1225,7 @@
12201225
"items": {
12211226
"$ref": "#/definitions/H264Layer"
12221227
},
1228+
"x-ms-identifiers": [],
12231229
"description": "The collection of output H.264 layers to be produced by the encoder."
12241230
}
12251231
},
@@ -1239,6 +1245,7 @@
12391245
"items": {
12401246
"$ref": "#/definitions/JpgLayer"
12411247
},
1248+
"x-ms-identifiers": [],
12421249
"description": "A collection of output JPEG image layers to be produced by the encoder."
12431250
},
12441251
"spriteColumn": {
@@ -1280,6 +1287,7 @@
12801287
"items": {
12811288
"$ref": "#/definitions/OutputFile"
12821289
},
1290+
"x-ms-identifiers": [],
12831291
"description": "The list of output files to produce. Each entry in the list is a set of audio and video layer labels to be muxed together ."
12841292
}
12851293
},
@@ -1326,6 +1334,7 @@
13261334
"items": {
13271335
"$ref": "#/definitions/PngLayer"
13281336
},
1337+
"x-ms-identifiers": [],
13291338
"description": "A collection of output PNG image layers to be produced by the encoder."
13301339
}
13311340
},
@@ -1471,13 +1480,15 @@
14711480
"items": {
14721481
"$ref": "#/definitions/Codec"
14731482
},
1483+
"x-ms-identifiers": [],
14741484
"description": "The list of codecs to be used when encoding the input video."
14751485
},
14761486
"formats": {
14771487
"type": "array",
14781488
"items": {
14791489
"$ref": "#/definitions/Format"
14801490
},
1491+
"x-ms-identifiers": [],
14811492
"description": "The list of outputs to be produced by the encoder."
14821493
}
14831494
},
@@ -1755,6 +1766,7 @@
17551766
"items": {
17561767
"$ref": "#/definitions/TransformOutput"
17571768
},
1769+
"x-ms-identifiers": [],
17581770
"description": "An array of one or more TransformOutputs that the Transform should generate."
17591771
}
17601772
},
@@ -1831,6 +1843,7 @@
18311843
"items": {
18321844
"$ref": "#/definitions/InputDefinition"
18331845
},
1846+
"x-ms-identifiers": [],
18341847
"description": "Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata."
18351848
}
18361849
},
@@ -1904,6 +1917,7 @@
19041917
"items": {
19051918
"$ref": "#/definitions/JobInput"
19061919
},
1920+
"x-ms-identifiers": [],
19071921
"description": "List of inputs to a Job."
19081922
}
19091923
},
@@ -2176,6 +2190,9 @@
21762190
"items": {
21772191
"$ref": "#/definitions/JobErrorDetail"
21782192
},
2193+
"x-ms-identifiers": [
2194+
"code"
2195+
],
21792196
"description": "An array of details about specific errors that led to this reported error.",
21802197
"readOnly": true
21812198
}
@@ -2296,6 +2313,7 @@
22962313
"items": {
22972314
"$ref": "#/definitions/JobOutput"
22982315
},
2316+
"x-ms-identifiers": [],
22992317
"description": "The outputs for the Job."
23002318
},
23012319
"priority": {
@@ -2367,6 +2385,7 @@
23672385
"items": {
23682386
"$ref": "#/definitions/JobInputClip"
23692387
},
2388+
"x-ms-identifiers": [],
23702389
"description": "JobInputs that make up the timeline."
23712390
}
23722391
},

specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/StreamingPoliciesAndStreamingLocators.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
"items": {
9393
"$ref": "#/definitions/TrackPropertyCondition"
9494
},
95+
"x-ms-identifiers": [],
9596
"description": "TrackSelections is a track property condition list which can specify track(s)"
9697
}
9798
},
@@ -127,6 +128,7 @@
127128
"items": {
128129
"$ref": "#/definitions/TrackSelection"
129130
},
131+
"x-ms-identifiers": [],
130132
"description": "Tracks which use this content key"
131133
}
132134
},
@@ -144,6 +146,9 @@
144146
"items": {
145147
"$ref": "#/definitions/StreamingPolicyContentKey"
146148
},
149+
"x-ms-identifiers": [
150+
"label"
151+
],
147152
"description": "Representing tracks needs separate content key"
148153
}
149154
},
@@ -272,6 +277,7 @@
272277
"items": {
273278
"$ref": "#/definitions/TrackSelection"
274279
},
280+
"x-ms-identifiers": [],
275281
"description": "Representing which tracks should not be encrypted"
276282
},
277283
"contentKeys": {
@@ -297,6 +303,7 @@
297303
"items": {
298304
"$ref": "#/definitions/TrackSelection"
299305
},
306+
"x-ms-identifiers": [],
300307
"description": "Representing which tracks should not be encrypted"
301308
},
302309
"contentKeys": {
@@ -322,6 +329,7 @@
322329
"items": {
323330
"$ref": "#/definitions/TrackSelection"
324331
},
332+
"x-ms-identifiers": [],
325333
"description": "Representing which tracks should not be encrypted"
326334
},
327335
"contentKeys": {
@@ -443,6 +451,7 @@
443451
"items": {
444452
"$ref": "#/definitions/TrackSelection"
445453
},
454+
"x-ms-identifiers": [],
446455
"description": "Tracks which use this Content Key",
447456
"readOnly": true
448457
}
@@ -616,6 +625,7 @@
616625
"items": {
617626
"$ref": "#/definitions/StreamingPath"
618627
},
628+
"x-ms-identifiers": [],
619629
"description": "Streaming Paths supported by current Streaming Locator"
620630
},
621631
"downloadPaths": {

specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/streamingservice.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,6 +1321,9 @@
13211321
"items": {
13221322
"$ref": "#/definitions/LiveEventEndpoint"
13231323
},
1324+
"x-ms-identifiers": [
1325+
"url"
1326+
],
13241327
"description": "The input endpoints for the live event."
13251328
}
13261329
},
@@ -1353,6 +1356,9 @@
13531356
"items": {
13541357
"$ref": "#/definitions/IPRange"
13551358
},
1359+
"x-ms-identifiers": [
1360+
"name"
1361+
],
13561362
"description": "The IP allow list."
13571363
}
13581364
},
@@ -1377,6 +1383,9 @@
13771383
"items": {
13781384
"$ref": "#/definitions/LiveEventEndpoint"
13791385
},
1386+
"x-ms-identifiers": [
1387+
"url"
1388+
],
13801389
"description": "The endpoints for preview. Do not share the preview URL with the live event audience."
13811390
},
13821391
"accessControl": {
@@ -1521,7 +1530,8 @@
15211530
"description": "Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied. This property is reserved for future use, any value set on this property will be ignored.",
15221531
"items": {
15231532
"$ref": "#/definitions/LiveEventInputTrackSelection"
1524-
}
1533+
},
1534+
"x-ms-identifiers": []
15251535
},
15261536
"outputTranscriptionTrack": {
15271537
"type": "object",
@@ -1585,6 +1595,9 @@
15851595
"items": {
15861596
"$ref": "#/definitions/LiveEventTranscription"
15871597
},
1598+
"x-ms-identifiers": [
1599+
"language"
1600+
],
15881601
"description": "Live transcription settings for the live event. See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature."
15891602
},
15901603
"provisioningState": {
@@ -1764,6 +1777,9 @@
17641777
"items": {
17651778
"$ref": "#/definitions/AkamaiSignatureHeaderAuthenticationKey"
17661779
},
1780+
"x-ms-identifiers": [
1781+
"identifier"
1782+
],
17671783
"description": "authentication key list"
17681784
}
17691785
},

0 commit comments

Comments
 (0)