From 3e6f828a20ac02164e55ed9c801f3ff1f4484c66 Mon Sep 17 00:00:00 2001 From: Lingling Tong Date: Mon, 7 Mar 2022 10:57:38 -0800 Subject: [PATCH] Add xms-ids for mediaservices (#17742) * add xms-ids for mediaservices * remove label as xms-ids on Encoding.json --- .../stable/2021-06-01/AccountFilters.json | 2 ++ .../stable/2021-06-01/Accounts.json | 12 ++++++++++++ .../2021-06-01/AssetsAndAssetFilters.json | 8 ++++++++ .../stable/2021-06-01/ContentKeyPolicies.json | 6 ++++++ .../stable/2021-06-01/Encoding.json | 19 +++++++++++++++++++ ...StreamingPoliciesAndStreamingLocators.json | 10 ++++++++++ .../stable/2021-06-01/streamingservice.json | 18 +++++++++++++++++- 7 files changed, 74 insertions(+), 1 deletion(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AccountFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AccountFilters.json index 733ba040b867..ffff8427e37b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AccountFilters.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AccountFilters.json @@ -162,6 +162,7 @@ "items": { "$ref": "#/definitions/FilterTrackPropertyCondition" }, + "x-ms-identifiers": [], "description": "The track selections." } }, @@ -186,6 +187,7 @@ "items": { "$ref": "#/definitions/FilterTrackSelection" }, + "x-ms-identifiers": [], "description": "The tracks selection conditions." } }, diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Accounts.json index a97ceddf5a99..f9a3d42da45b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Accounts.json @@ -187,6 +187,9 @@ "items": { "$ref": "#/definitions/MetricDimension" }, + "x-ms-identifiers": [ + "name" + ], "description": "The metric dimensions.", "readOnly": true }, @@ -236,6 +239,9 @@ "items": { "$ref": "#/definitions/LogSpecification" }, + "x-ms-identifiers": [ + "name" + ], "description": "List of log specifications.", "readOnly": true }, @@ -244,6 +250,9 @@ "items": { "$ref": "#/definitions/MetricSpecification" }, + "x-ms-identifiers": [ + "name" + ], "description": "List of metric specifications.", "readOnly": true } @@ -754,6 +763,9 @@ "items": { "$ref": "#/definitions/Operation" }, + "x-ms-identifiers": [ + "name" + ], "description": "A collection of Operation items." } }, diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AssetsAndAssetFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AssetsAndAssetFilters.json index 19977db7e6e2..44e6a3aef780 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AssetsAndAssetFilters.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AssetsAndAssetFilters.json @@ -141,6 +141,9 @@ "items": { "$ref": "#/definitions/AssetFileEncryptionMetadata" }, + "x-ms-identifiers": [ + "assetFileId" + ], "description": "Asset File encryption metadata." } }, @@ -154,6 +157,9 @@ "items": { "$ref": "#/definitions/AssetStreamingLocator" }, + "x-ms-identifiers": [ + "name" + ], "description": "The list of Streaming Locators.", "readOnly": true } @@ -371,6 +377,7 @@ "items": { "$ref": "#/definitions/FilterTrackPropertyCondition" }, + "x-ms-identifiers": [], "description": "The track selections." } }, @@ -395,6 +402,7 @@ "items": { "$ref": "#/definitions/FilterTrackSelection" }, + "x-ms-identifiers": [], "description": "The tracks selection conditions." } }, diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/ContentKeyPolicies.json index 4a7551a27e8a..3f486723c33a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/ContentKeyPolicies.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/ContentKeyPolicies.json @@ -473,6 +473,7 @@ "items": { "$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey" }, + "x-ms-identifiers": [], "description": "A list of alternative verification keys." }, "requiredClaims": { @@ -480,6 +481,7 @@ "items": { "$ref": "#/definitions/ContentKeyPolicyTokenClaim" }, + "x-ms-identifiers": [], "description": "A list of required token claims." }, "restrictionTokenType": { @@ -577,6 +579,7 @@ "items": { "$ref": "#/definitions/ContentKeyPolicyPlayReadyLicense" }, + "x-ms-identifiers": [], "description": "The PlayReady licenses." }, "responseCustomData": { @@ -751,6 +754,9 @@ "items": { "$ref": "#/definitions/ContentKeyPolicyOption" }, + "x-ms-identifiers": [ + "policyOptionId" + ], "description": "The Key Policy options." } }, diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Encoding.json index 7677a3a1ac0a..3b8b30be726a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Encoding.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Encoding.json @@ -362,6 +362,7 @@ "items": { "$ref": "#/definitions/H265Layer" }, + "x-ms-identifiers": [], "description": "The collection of output H.265 layers to be produced by the encoder." } }, @@ -552,6 +553,7 @@ "items": { "$ref": "#/definitions/TrackDescriptor" }, + "x-ms-identifiers": [], "description": "The list of TrackDescriptors which define the metadata and selection of tracks in the input." } }, @@ -1037,6 +1039,9 @@ "items": { "$ref": "#/definitions/Overlay" }, + "x-ms-identifiers": [ + "inputLabel" + ], "description": "The properties of overlays to be applied to the input video. These could be audio, image or video overlays." } }, @@ -1220,6 +1225,7 @@ "items": { "$ref": "#/definitions/H264Layer" }, + "x-ms-identifiers": [], "description": "The collection of output H.264 layers to be produced by the encoder." } }, @@ -1239,6 +1245,7 @@ "items": { "$ref": "#/definitions/JpgLayer" }, + "x-ms-identifiers": [], "description": "A collection of output JPEG image layers to be produced by the encoder." }, "spriteColumn": { @@ -1280,6 +1287,7 @@ "items": { "$ref": "#/definitions/OutputFile" }, + "x-ms-identifiers": [], "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 ." } }, @@ -1326,6 +1334,7 @@ "items": { "$ref": "#/definitions/PngLayer" }, + "x-ms-identifiers": [], "description": "A collection of output PNG image layers to be produced by the encoder." } }, @@ -1471,6 +1480,7 @@ "items": { "$ref": "#/definitions/Codec" }, + "x-ms-identifiers": [], "description": "The list of codecs to be used when encoding the input video." }, "formats": { @@ -1478,6 +1488,7 @@ "items": { "$ref": "#/definitions/Format" }, + "x-ms-identifiers": [], "description": "The list of outputs to be produced by the encoder." } }, @@ -1755,6 +1766,7 @@ "items": { "$ref": "#/definitions/TransformOutput" }, + "x-ms-identifiers": [], "description": "An array of one or more TransformOutputs that the Transform should generate." } }, @@ -1831,6 +1843,7 @@ "items": { "$ref": "#/definitions/InputDefinition" }, + "x-ms-identifiers": [], "description": "Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata." } }, @@ -1904,6 +1917,7 @@ "items": { "$ref": "#/definitions/JobInput" }, + "x-ms-identifiers": [], "description": "List of inputs to a Job." } }, @@ -2176,6 +2190,9 @@ "items": { "$ref": "#/definitions/JobErrorDetail" }, + "x-ms-identifiers": [ + "code" + ], "description": "An array of details about specific errors that led to this reported error.", "readOnly": true } @@ -2296,6 +2313,7 @@ "items": { "$ref": "#/definitions/JobOutput" }, + "x-ms-identifiers": [], "description": "The outputs for the Job." }, "priority": { @@ -2367,6 +2385,7 @@ "items": { "$ref": "#/definitions/JobInputClip" }, + "x-ms-identifiers": [], "description": "JobInputs that make up the timeline." } }, diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/StreamingPoliciesAndStreamingLocators.json index aa12f16d26e1..8e9331623350 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/StreamingPoliciesAndStreamingLocators.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/StreamingPoliciesAndStreamingLocators.json @@ -92,6 +92,7 @@ "items": { "$ref": "#/definitions/TrackPropertyCondition" }, + "x-ms-identifiers": [], "description": "TrackSelections is a track property condition list which can specify track(s)" } }, @@ -127,6 +128,7 @@ "items": { "$ref": "#/definitions/TrackSelection" }, + "x-ms-identifiers": [], "description": "Tracks which use this content key" } }, @@ -144,6 +146,9 @@ "items": { "$ref": "#/definitions/StreamingPolicyContentKey" }, + "x-ms-identifiers": [ + "label" + ], "description": "Representing tracks needs separate content key" } }, @@ -272,6 +277,7 @@ "items": { "$ref": "#/definitions/TrackSelection" }, + "x-ms-identifiers": [], "description": "Representing which tracks should not be encrypted" }, "contentKeys": { @@ -297,6 +303,7 @@ "items": { "$ref": "#/definitions/TrackSelection" }, + "x-ms-identifiers": [], "description": "Representing which tracks should not be encrypted" }, "contentKeys": { @@ -322,6 +329,7 @@ "items": { "$ref": "#/definitions/TrackSelection" }, + "x-ms-identifiers": [], "description": "Representing which tracks should not be encrypted" }, "contentKeys": { @@ -443,6 +451,7 @@ "items": { "$ref": "#/definitions/TrackSelection" }, + "x-ms-identifiers": [], "description": "Tracks which use this Content Key", "readOnly": true } @@ -616,6 +625,7 @@ "items": { "$ref": "#/definitions/StreamingPath" }, + "x-ms-identifiers": [], "description": "Streaming Paths supported by current Streaming Locator" }, "downloadPaths": { diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/streamingservice.json index a157ea33a196..d0bf97497d93 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/streamingservice.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/streamingservice.json @@ -1321,6 +1321,9 @@ "items": { "$ref": "#/definitions/LiveEventEndpoint" }, + "x-ms-identifiers": [ + "url" + ], "description": "The input endpoints for the live event." } }, @@ -1353,6 +1356,9 @@ "items": { "$ref": "#/definitions/IPRange" }, + "x-ms-identifiers": [ + "name" + ], "description": "The IP allow list." } }, @@ -1377,6 +1383,9 @@ "items": { "$ref": "#/definitions/LiveEventEndpoint" }, + "x-ms-identifiers": [ + "url" + ], "description": "The endpoints for preview. Do not share the preview URL with the live event audience." }, "accessControl": { @@ -1521,7 +1530,8 @@ "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.", "items": { "$ref": "#/definitions/LiveEventInputTrackSelection" - } + }, + "x-ms-identifiers": [] }, "outputTranscriptionTrack": { "type": "object", @@ -1585,6 +1595,9 @@ "items": { "$ref": "#/definitions/LiveEventTranscription" }, + "x-ms-identifiers": [ + "language" + ], "description": "Live transcription settings for the live event. See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature." }, "provisioningState": { @@ -1764,6 +1777,9 @@ "items": { "$ref": "#/definitions/AkamaiSignatureHeaderAuthenticationKey" }, + "x-ms-identifiers": [ + "identifier" + ], "description": "authentication key list" } },