From 69b4b48ac822066c2cb4763139f6683903726142 Mon Sep 17 00:00:00 2001 From: giakas Date: Wed, 27 Jan 2021 15:02:05 -0800 Subject: [PATCH 01/11] update to new swaggers --- .../stable/2020-05-01/Encoding.json | 546 +++++++++++++++++- .../2020-05-01/examples/jobs-create.json | 5 +- .../2020-05-01/examples/jobs-get-by-name.json | 1 + .../jobs-list-all-filter-by-created.json | 24 +- .../jobs-list-all-filter-by-lastmodified.json | 24 +- ...obs-list-all-filter-by-name-and-state.json | 9 +- .../jobs-list-all-filter-by-name.json | 6 +- .../jobs-list-all-filter-by-state-eq.json | 10 +- .../jobs-list-all-filter-by-state-ne.json | 10 +- .../2020-05-01/examples/jobs-list-all.json | 15 +- .../2020-05-01/examples/jobs-update.json | 3 +- .../examples/transforms-create.json | 8 +- .../examples/transforms-get-by-name.json | 4 +- ...transforms-list-all-filter-by-created.json | 6 +- ...forms-list-all-filter-by-lastmodified.json | 6 +- .../transforms-list-all-filter-by-name.json | 8 +- .../examples/transforms-list-all.json | 8 +- .../examples/transforms-update.json | 4 +- 18 files changed, 626 insertions(+), 71 deletions(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json index bccc2485e9a3..b88791279afa 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json @@ -151,6 +151,97 @@ ], "description": "The encoder can be configured to produce video and/or images (thumbnails) at different resolutions, by specifying a layer for each desired resolution. A layer represents the properties for the video or image at a resolution." }, + "H265VideoLayer": { + "x-ms-discriminator-value": "#Microsoft.Media.H265VideoLayer", + "allOf": [ + { + "$ref": "#/definitions/Layer" + } + ], + "properties": { + "bitrate": { + "type": "integer", + "format": "int32", + "description": "The average bitrate in bits per second at which to encode the input video when generating this layer. For example: a target bitrate of 3000Kbps or 3Mbps means this value should be 3000000 This is a required field." + }, + "maxBitrate": { + "type": "integer", + "format": "int32", + "description": "The maximum bitrate (in bits per second), at which the VBV buffer should be assumed to refill. If not specified, defaults to the same value as bitrate." + }, + "bFrames": { + "type": "integer", + "format": "int32", + "description": "The number of B-frames to be used when encoding this layer. If not specified, the encoder chooses an appropriate number based on the video profile and level." + }, + "frameRate": { + "type": "string", + "description": "The frame rate (in frames per second) at which to encode this layer. The value can be in the form of M/N where M and N are integers (For example, 30000/1001), or in the form of a number (For example, 30, or 29.97). The encoder enforces constraints on allowed frame rates based on the profile and level. If it is not specified, the encoder will use the same frame rate as the input video." + }, + "slices": { + "type": "integer", + "format": "int32", + "description": "The number of slices to be used when encoding this layer. If not specified, default is zero, which means that encoder will use a single slice for each frame." + }, + "adaptiveBFrame": { + "type": "boolean", + "description": "Specifies whether or not adaptive B-frames are to be used when encoding this layer. If not specified, the encoder will turn it on whenever the video profile permits its use." + } + }, + "type": "object", + "required": [ + "bitrate" + ], + "description": "Describes the settings to be used when encoding the input video into a desired output bitrate layer." + }, + "H265Layer": { + "x-ms-discriminator-value": "#Microsoft.Media.H265Layer", + "allOf": [ + { + "$ref": "#/definitions/H265VideoLayer" + } + ], + "properties": { + "profile": { + "type": "string", + "enum": [ + "Auto", + "Main" + ], + "x-ms-enum": { + "name": "H265VideoProfile", + "values": [ + { + "value": "Auto", + "description": "Tells the encoder to automatically determine the appropriate H.265 profile." + }, + { + "value": "Main", + "description": "Main profile (https://x265.readthedocs.io/en/default/cli.html?highlight=profile#profile-level-tier)" + } + ], + "modelAsString": true + }, + "description": "We currently support Main. Default is Auto." + }, + "level": { + "type": "string", + "description": "We currently support Level up to 6.2. The value can be Auto, or a number that matches the H.265 profile. If not specified, the default is Auto, which lets the encoder choose the Level that is appropriate for this layer." + }, + "bufferWindow": { + "type": "string", + "format": "duration", + "description": "The VBV buffer window length. The value should be in ISO 8601 format. The value should be in the range [0.1-100] seconds. The default is 5 seconds (for example, PT5S)." + }, + "referenceFrames": { + "type": "integer", + "format": "int32", + "description": "The number of reference frames to be used when encoding this layer. If not specified, the encoder determines an appropriate number based on the encoder complexity setting." + } + }, + "type": "object", + "description": "Describes the settings to be used when encoding the input video into a desired output bitrate layer with the H.265 video codec." + }, "Video": { "x-ms-discriminator-value": "#Microsoft.Media.Video", "allOf": [ @@ -227,6 +318,287 @@ "type": "object", "description": "Describes the basic properties for encoding the input video." }, + "H265Video": { + "x-ms-discriminator-value": "#Microsoft.Media.H265Video", + "allOf": [ + { + "$ref": "#/definitions/Video" + } + ], + "properties": { + "sceneChangeDetection": { + "type": "boolean", + "description": "Specifies whether or not the encoder should insert key frames at scene changes. If not specified, the default is false. This flag should be set to true only when the encoder is being configured to produce a single output video." + }, + "complexity": { + "type": "string", + "enum": [ + "Speed", + "Balanced", + "Quality" + ], + "x-ms-enum": { + "name": "H265Complexity", + "values": [ + { + "value": "Speed", + "description": "Tells the encoder to use settings that are optimized for faster encoding. Quality is sacrificed to decrease encoding time." + }, + { + "value": "Balanced", + "description": "Tells the encoder to use settings that achieve a balance between speed and quality." + }, + { + "value": "Quality", + "description": "Tells the encoder to use settings that are optimized to produce higher quality output at the expense of slower overall encode time." + } + ], + "modelAsString": true + }, + "description": "Tells the encoder how to choose its encoding settings. Quality will provide for a higher compression ratio but at a higher cost and longer compute time. Speed will produce a relatively larger file but is faster and more economical. The default value is Balanced." + }, + "layers": { + "type": "array", + "items": { + "$ref": "#/definitions/H265Layer" + }, + "description": "The collection of output H.265 layers to be produced by the encoder." + } + }, + "type": "object", + "description": "Describes all the properties for encoding a video with the H.265 codec." + }, + "TrackDescriptor": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Base type for all TrackDescriptor types, which define the metadata and selection for tracks that should be processed by a Job" + }, + "AudioTrackDescriptor": { + "x-ms-discriminator-value": "#Microsoft.Media.AudioTrackDescriptor", + "allOf": [ + { + "$ref": "#/definitions/TrackDescriptor" + } + ], + "properties": { + "channelMapping": { + "type": "string", + "enum": [ + "FrontLeft", + "FrontRight", + "Center", + "LowFrequencyEffects", + "BackLeft", + "BackRight", + "StereoLeft", + "StereoRight" + ], + "x-ms-enum": { + "name": "ChannelMapping", + "values": [ + { + "value": "FrontLeft", + "description": "The Front Left Channel." + }, + { + "value": "FrontRight", + "description": "The Front Right Channel." + }, + { + "value": "Center", + "description": "The Center Channel." + }, + { + "value": "LowFrequencyEffects", + "description": "Low Frequency Effects Channel. Sometimes referred to as the Subwoofer." + }, + { + "value": "BackLeft", + "description": "The Back Left Channel. Sometimes referred to as the Left Surround Channel." + }, + { + "value": "BackRight", + "description": "The Back Right Channel. Sometimes referred to as the Right Surround Channel." + }, + { + "value": "StereoLeft", + "description": "The Left Stereo channel. Sometimes referred to as Down Mix Left." + }, + { + "value": "StereoRight", + "description": "The Right Stereo channel. Sometimes referred to as Down Mix Right." + } + ], + "modelAsString": true + }, + "description": "Optional designation for single channel audio tracks. Can be used to combine the tracks into stereo or multi-channel audio tracks." + } + }, + "type": "object", + "description": "A TrackSelection to select audio tracks." + }, + "SelectAudioTrackByAttribute": { + "x-ms-discriminator-value": "#Microsoft.Media.SelectAudioTrackByAttribute", + "allOf": [ + { + "$ref": "#/definitions/AudioTrackDescriptor" + } + ], + "properties": { + "attribute": { + "type": "string", + "enum": [ + "Bitrate", + "Language" + ], + "x-ms-enum": { + "name": "TrackAttribute", + "values": [ + { + "value": "Bitrate", + "description": "The bitrate of the track." + }, + { + "value": "Language", + "description": "The language of the track." + } + ], + "modelAsString": true + }, + "description": "The TrackAttribute to filter the tracks by." + }, + "filter": { + "type": "string", + "enum": [ + "All", + "Top", + "Bottom", + "ValueEquals" + ], + "x-ms-enum": { + "name": "AttributeFilter", + "values": [ + { + "value": "All", + "description": "All tracks will be included." + }, + { + "value": "Top", + "description": "The first track will be included when the attribute is sorted in descending order. Generally used to select the largest bitrate." + }, + { + "value": "Bottom", + "description": "The first track will be included when the attribute is sorted in ascending order. Generally used to select the smallest bitrate." + }, + { + "value": "ValueEquals", + "description": "Any tracks that have an attribute equal to the value given will be included." + } + ], + "modelAsString": true + }, + "description": "The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks." + }, + "filterValue": { + "type": "string", + "description": "The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified for the Filter property." + } + }, + "type": "object", + "required": [ + "attribute", + "filter" + ], + "description": "Select audio tracks from the input by specifying an attribute and an attribute filter." + }, + "SelectAudioTrackById": { + "x-ms-discriminator-value": "#Microsoft.Media.SelectAudioTrackById", + "allOf": [ + { + "$ref": "#/definitions/AudioTrackDescriptor" + } + ], + "properties": { + "trackId": { + "type": "integer", + "format": "int64", + "description": "Track identifier to select" + } + }, + "type": "object", + "required": [ + "trackId" + ], + "description": "Select audio tracks from the input by specifying a track identifier." + }, + "InputDefinition": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + }, + "includedTracks": { + "type": "array", + "items": { + "$ref": "#/definitions/TrackDescriptor" + }, + "description": "The list of TrackDescriptors which define the metadata and selection of tracks in the input." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Base class for defining an input. Use sub classes of this class to specify tracks selections and related metadata." + }, + "FromAllInputFile": { + "x-ms-discriminator-value": "#Microsoft.Media.FromAllInputFile", + "allOf": [ + { + "$ref": "#/definitions/InputDefinition" + } + ], + "properties": {}, + "type": "object", + "description": "An InputDefinition that looks across all of the files provided to select tracks specified by the IncludedTracks property. Generally used with the AudioTrackByAttribute and VideoTrackByAttribute to allow selection of a single track across a set of input files." + }, + "FromEachInputFile": { + "x-ms-discriminator-value": "#Microsoft.Media.FromEachInputFile", + "allOf": [ + { + "$ref": "#/definitions/InputDefinition" + } + ], + "properties": {}, + "type": "object", + "description": "An InputDefinition that looks at each input file provided to select tracks specified by the IncludedTracks property. Generally used with the AudioTrackByAttribute and VideoTrackByAttribute to select tracks from each file given." + }, + "InputFile": { + "x-ms-discriminator-value": "#Microsoft.Media.InputFile", + "allOf": [ + { + "$ref": "#/definitions/InputDefinition" + } + ], + "properties": { + "filename": { + "type": "string", + "description": "Name of the file that this input definition applies to." + } + }, + "type": "object", + "description": "An InputDefinition for a single file. TrackSelections are scoped to the file specified." + }, "FaceDetectorPreset": { "x-ms-discriminator-value": "#Microsoft.Media.FaceDetectorPreset", "allOf": [ @@ -320,7 +692,7 @@ }, "inputLabel": { "type": "string", - "description": "The label of the job input which is to be used as an overlay. The Input must specify exactly one file. You can specify an image file in JPG or PNG formats, or an audio file (such as a WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete list of supported audio and video file formats." + "description": "The label of the job input which is to be used as an overlay. The Input must specify exactly one file. You can specify an image file in JPG, PNG, GIF or BMP format, or an audio file (such as a WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete list of supported audio and video file formats." }, "start": { "type": "string", @@ -928,7 +1300,12 @@ "CopyAllBitrateNonInterleaved", "H264MultipleBitrate1080p", "H264MultipleBitrate720p", - "H264MultipleBitrateSD" + "H264MultipleBitrateSD", + "H265ContentAwareEncoding", + "H265AdaptiveStreaming", + "H265SingleBitrate720p", + "H265SingleBitrate1080p", + "H265SingleBitrate4K" ], "x-ms-enum": { "name": "EncoderNamedPreset", @@ -976,6 +1353,26 @@ { "value": "H264MultipleBitrateSD", "description": "Produces a set of 5 GOP-aligned MP4 files, ranging from 1900kbps to 400 kbps, and stereo AAC audio. Resolution starts at 480p and goes down to 240p." + }, + { + "value": "H265ContentAwareEncoding", + "description": "Produces a set of GOP-aligned MP4s by using content-aware encoding. Given any input content, the service performs an initial lightweight analysis of the input content, and uses the results to determine the optimal number of layers, appropriate bitrate and resolution settings for delivery by adaptive streaming. This preset is particularly effective for low and medium complexity videos, where the output files will be at lower bitrates but at a quality that still delivers a good experience to viewers. The output will contain MP4 files with video and audio interleaved." + }, + { + "value": "H265AdaptiveStreaming", + "description": "Produces a set of GOP aligned MP4 files with H.265 video and stereo AAC audio. Auto-generates a bitrate ladder based on the input resolution, bitrate and frame rate. The auto-generated preset will never exceed the input resolution. For example, if the input is 720p, output will remain 720p at best." + }, + { + "value": "H265SingleBitrate720p", + "description": "Produces an MP4 file where the video is encoded with H.265 codec at 1800 kbps and a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps." + }, + { + "value": "H265SingleBitrate1080p", + "description": "Produces an MP4 file where the video is encoded with H.265 codec at 3500 kbps and a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps." + }, + { + "value": "H265SingleBitrate4K", + "description": "Produces an MP4 file where the video is encoded with H.265 codec at 9500 kbps and a picture height of 2160 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps." } ], "modelAsString": true @@ -1098,6 +1495,111 @@ "type": "object", "description": "Describes the properties of a video overlay." }, + "VideoTrackDescriptor": { + "x-ms-discriminator-value": "#Microsoft.Media.VideoTrackDescriptor", + "allOf": [ + { + "$ref": "#/definitions/TrackDescriptor" + } + ], + "properties": {}, + "type": "object", + "description": "A TrackSelection to select video tracks." + }, + "SelectVideoTrackByAttribute": { + "x-ms-discriminator-value": "#Microsoft.Media.SelectVideoTrackByAttribute", + "allOf": [ + { + "$ref": "#/definitions/VideoTrackDescriptor" + } + ], + "properties": { + "attribute": { + "type": "string", + "enum": [ + "Bitrate", + "Language" + ], + "x-ms-enum": { + "name": "TrackAttribute", + "values": [ + { + "value": "Bitrate", + "description": "The bitrate of the track." + }, + { + "value": "Language", + "description": "The language of the track." + } + ], + "modelAsString": true + }, + "description": "The TrackAttribute to filter the tracks by." + }, + "filter": { + "type": "string", + "enum": [ + "All", + "Top", + "Bottom", + "ValueEquals" + ], + "x-ms-enum": { + "name": "AttributeFilter", + "values": [ + { + "value": "All", + "description": "All tracks will be included." + }, + { + "value": "Top", + "description": "The first track will be included when the attribute is sorted in descending order. Generally used to select the largest bitrate." + }, + { + "value": "Bottom", + "description": "The first track will be included when the attribute is sorted in ascending order. Generally used to select the smallest bitrate." + }, + { + "value": "ValueEquals", + "description": "Any tracks that have an attribute equal to the value given will be included." + } + ], + "modelAsString": true + }, + "description": "The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks." + }, + "filterValue": { + "type": "string", + "description": "The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified for the Filter property. For TrackAttribute.Bitrate, this should be an integer value in bits per second (e.g: '1500000'). The TrackAttribute.Language is not supported for video tracks." + } + }, + "type": "object", + "required": [ + "attribute", + "filter" + ], + "description": "Select video tracks from the input by specifying an attribute and an attribute filter." + }, + "SelectVideoTrackById": { + "x-ms-discriminator-value": "#Microsoft.Media.SelectVideoTrackById", + "allOf": [ + { + "$ref": "#/definitions/VideoTrackDescriptor" + } + ], + "properties": { + "trackId": { + "type": "integer", + "format": "int64", + "description": "Track identifier to select" + } + }, + "type": "object", + "required": [ + "trackId" + ], + "description": "Select video tracks from the input by specifying a track identifier." + }, "TransformOutput": { "properties": { "onError": { @@ -1205,6 +1707,11 @@ "$ref": "#/definitions/TransformProperties", "description": "The resource properties.", "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } }, "type": "object", @@ -1237,7 +1744,7 @@ "items": { "type": "string" }, - "description": "List of files. Required for JobInputHttp. Maximum of 4000 characters each." + "description": "List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure." }, "start": { "$ref": "#/definitions/ClipTime", @@ -1250,6 +1757,13 @@ "label": { "type": "string", "description": "A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'." + }, + "inputDefinitions": { + "type": "array", + "items": { + "$ref": "#/definitions/InputDefinition" + }, + "description": "Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata." } }, "type": "object", @@ -1357,7 +1871,7 @@ "properties": { "baseUri": { "type": "string", - "description": "Base URI for HTTPS job input. It will be concatenated with provided file names. If no base uri is given, then the provided file list is assumed to be fully qualified uris. Maximum length of 4000 characters." + "description": "Base URI for HTTPS job input. It will be concatenated with provided file names. If no base uri is given, then the provided file list is assumed to be fully qualified uris. Maximum length of 4000 characters. The query strings will not be returned in service responses to prevent sensitive data exposure." } }, "type": "object", @@ -1768,6 +2282,25 @@ ], "description": "Properties of the Job." }, + "JobInputSequence": { + "x-ms-discriminator-value": "#Microsoft.Media.JobInputSequence", + "allOf": [ + { + "$ref": "#/definitions/JobInput" + } + ], + "properties": { + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/JobInputClip" + }, + "description": "JobInputs that make up the timeline." + } + }, + "type": "object", + "description": "A Sequence contains an ordered list of Clips where each clip is a JobInput. The Sequence will be treated as a single input." + }, "Job": { "allOf": [ { @@ -1781,6 +2314,11 @@ "x-ms-client-flatten": true } }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true + }, "type": "object", "description": "A Job resource type. The progress and state can be obtained by polling a Job or subscribing to events using EventGrid." }, diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-create.json index e1fad016f8a1..102a6f8358ed 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-create.json @@ -32,14 +32,15 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1", "type": "Microsoft.Media/mediaservices/transforms/jobs", "properties": { - "created": "2020-09-25T03:52:07.7751982Z", + "created": "2021-01-27T09:00:04.9592291Z", "state": "Queued", "input": { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" }, - "lastModified": "2020-09-25T03:52:07.7751982Z", + "lastModified": "2021-01-27T09:00:04.9592291Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-get-by-name.json index 78cb152f29d0..c2811d60c872 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-get-by-name.json @@ -23,6 +23,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-created.json index 12f494e9c2d3..e5ceda1d0daa 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-created.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-created.json @@ -5,7 +5,7 @@ "resourceGroupName": "contosoresources", "accountName": "contosomedia", "transformName": "exampleTransform", - "$filter": "properties/created ge 2020-09-25T03:52:17.4802005Z and properties/created le 2020-09-25T03:52:27.4802005Z", + "$filter": "properties/created ge 2021-01-27T09:00:14.6342061Z and properties/created le 2021-01-27T09:00:24.6342061Z", "$orderby": "properties/created" }, "responses": { @@ -17,7 +17,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2", "type": "Microsoft.Media/mediaservices/transforms/jobs", "properties": { - "created": "2020-09-25T03:52:17.4802005Z", + "created": "2021-01-27T09:00:14.6342061Z", "state": "Processing", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -25,24 +25,25 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job2-InputAsset" } ] }, - "lastModified": "2020-09-25T03:52:17.4802005Z", + "lastModified": "2021-01-27T09:00:14.6342061Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.4802005Z", + "startTime": "2021-01-27T08:50:04.6342061Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.4802005Z" + "startTime": "2021-01-27T08:50:04.6342061Z" } }, { @@ -50,7 +51,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3", "type": "Microsoft.Media/mediaservices/transforms/jobs", "properties": { - "created": "2020-09-25T03:52:27.4802005Z", + "created": "2021-01-27T09:00:24.6342061Z", "state": "Finished", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -58,26 +59,27 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job3-InputAsset" } ] }, - "lastModified": "2020-09-25T03:52:27.4802005Z", + "lastModified": "2021-01-27T09:00:24.6342061Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", "state": "Finished", "progress": 100, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.4802005Z", - "endTime": "2020-09-25T03:52:07.4802005Z", + "startTime": "2021-01-27T08:50:04.6392062Z", + "endTime": "2021-01-27T09:00:04.6392062Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.4802005Z", - "endTime": "2020-09-25T03:52:07.4802005Z" + "startTime": "2021-01-27T08:50:04.6392062Z", + "endTime": "2021-01-27T09:00:04.6392062Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-lastmodified.json index c0e94c828c39..265159dacceb 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-lastmodified.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-lastmodified.json @@ -5,7 +5,7 @@ "resourceGroupName": "contosoresources", "accountName": "contosomedia", "transformName": "exampleTransform", - "$filter": "properties/lastmodified ge 2020-09-25T03:52:17.5701994Z and properties/lastmodified le 2020-09-25T03:52:27.5701994Z", + "$filter": "properties/lastmodified ge 2021-01-27T09:00:14.7342138Z and properties/lastmodified le 2021-01-27T09:00:24.7342138Z", "$orderby": "properties/lastmodified desc" }, "responses": { @@ -17,7 +17,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3", "type": "Microsoft.Media/mediaservices/transforms/jobs", "properties": { - "created": "2020-09-25T03:52:27.5701994Z", + "created": "2021-01-27T09:00:24.7342138Z", "state": "Finished", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -25,26 +25,27 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job3-InputAsset" } ] }, - "lastModified": "2020-09-25T03:52:27.5701994Z", + "lastModified": "2021-01-27T09:00:24.7342138Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", "state": "Finished", "progress": 100, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.5701994Z", - "endTime": "2020-09-25T03:52:07.5701994Z", + "startTime": "2021-01-27T08:50:04.7342138Z", + "endTime": "2021-01-27T09:00:04.7342138Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.5701994Z", - "endTime": "2020-09-25T03:52:07.5701994Z" + "startTime": "2021-01-27T08:50:04.7342138Z", + "endTime": "2021-01-27T09:00:04.7342138Z" } }, { @@ -52,7 +53,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2", "type": "Microsoft.Media/mediaservices/transforms/jobs", "properties": { - "created": "2020-09-25T03:52:17.5701994Z", + "created": "2021-01-27T09:00:14.7342138Z", "state": "Processing", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -60,24 +61,25 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job2-InputAsset" } ] }, - "lastModified": "2020-09-25T03:52:17.5701994Z", + "lastModified": "2021-01-27T09:00:14.7342138Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.5701994Z", + "startTime": "2021-01-27T08:50:04.7342138Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.5701994Z" + "startTime": "2021-01-27T08:50:04.7342138Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name-and-state.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name-and-state.json index 61f6f223a7db..a017d4a3dd55 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name-and-state.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name-and-state.json @@ -24,6 +24,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job3-InputAsset" } ] @@ -35,15 +36,15 @@ "state": "Finished", "progress": 100, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.4002063Z", - "endTime": "2020-09-25T03:52:07.4002063Z", + "startTime": "2021-01-27T08:50:04.5491987Z", + "endTime": "2021-01-27T09:00:04.5491987Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.4002063Z", - "endTime": "2020-09-25T03:52:07.4002063Z" + "startTime": "2021-01-27T08:50:04.5491987Z", + "endTime": "2021-01-27T09:00:04.5491987Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name.json index 7ae4888c8640..68ed8d40144b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name.json @@ -25,6 +25,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" } ] @@ -56,6 +57,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job2-InputAsset" } ] @@ -67,13 +69,13 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.1140078Z", + "startTime": "2021-01-27T08:50:04.2441744Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.1140078Z" + "startTime": "2021-01-27T08:50:04.2441744Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-eq.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-eq.json index 983bcb4d00a4..c0b34c01c4b7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-eq.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-eq.json @@ -24,6 +24,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job2-InputAsset" } ] @@ -35,13 +36,13 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.1901996Z", + "startTime": "2021-01-27T08:50:04.3291815Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.1901996Z" + "startTime": "2021-01-27T08:50:04.3291815Z" } }, { @@ -57,6 +58,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job3-InputAsset" } ] @@ -68,13 +70,13 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.1901996Z", + "startTime": "2021-01-27T08:50:04.3291815Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.1901996Z" + "startTime": "2021-01-27T08:50:04.3291815Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-ne.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-ne.json index cc5b998b4666..2a3ed28c85ad 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-ne.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-ne.json @@ -24,6 +24,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" } ] @@ -55,6 +56,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job4-InputAsset" } ] @@ -66,15 +68,15 @@ "state": "Finished", "progress": 100, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.3301954Z", - "endTime": "2020-09-25T03:52:07.3301954Z", + "startTime": "2021-01-27T08:50:04.4641871Z", + "endTime": "2021-01-27T09:00:04.4641871Z", "assetName": "job4-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.3301954Z", - "endTime": "2020-09-25T03:52:07.3301954Z" + "startTime": "2021-01-27T08:50:04.4641871Z", + "endTime": "2021-01-27T09:00:04.4641871Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all.json index 5a33f882c066..4c4496ce5df6 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all.json @@ -23,6 +23,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" } ] @@ -54,6 +55,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job2-InputAsset" } ] @@ -65,13 +67,13 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:06.7140175Z", + "startTime": "2021-01-27T08:50:03.8038912Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:06.7140175Z" + "startTime": "2021-01-27T08:50:03.8038912Z" } }, { @@ -87,6 +89,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job3-InputAsset" } ] @@ -98,15 +101,15 @@ "state": "Finished", "progress": 100, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:06.7140175Z", - "endTime": "2020-09-25T03:52:06.7140175Z", + "startTime": "2021-01-27T08:50:03.8038912Z", + "endTime": "2021-01-27T09:00:03.8038912Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:06.7140175Z", - "endTime": "2020-09-25T03:52:06.7140175Z" + "startTime": "2021-01-27T08:50:03.8038912Z", + "endTime": "2021-01-27T09:00:03.8038912Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-update.json index 4e87729c196f..829211a3c9d5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-update.json @@ -39,11 +39,12 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" } ] }, - "lastModified": "2020-09-25T03:52:08.0551986Z", + "lastModified": "2021-01-27T09:00:05.2718774Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-create.json index 6c34df764080..e7785a3c3210 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-create.json @@ -26,9 +26,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2020-09-25T03:52:06.5178506-07:00", + "created": "2021-01-27T09:00:02.627479-08:00", "description": "Example Transform to illustrate create and update.", - "lastModified": "2020-09-25T03:52:06.5178506-07:00", + "lastModified": "2021-01-27T09:00:02.627479-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -48,9 +48,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2020-09-25T03:52:06.5178506-07:00", + "created": "2021-01-27T09:00:02.627479-08:00", "description": "Example Transform to illustrate create and update.", - "lastModified": "2020-09-25T03:52:06.5178506-07:00", + "lastModified": "2021-01-27T09:00:02.627479-08:00", "outputs": [ { "onError": "StopProcessingJob", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-get-by-name.json index 8b23bfdffbb5..595399636777 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-get-by-name.json @@ -14,9 +14,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleTransform", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2020-09-25T03:52:06.2378492-07:00", + "created": "2021-01-27T09:00:02.3474535-08:00", "description": "A sample Transform using the Standard Encoder with a built in preset.", - "lastModified": "2020-09-25T03:52:06.2378492-07:00", + "lastModified": "2021-01-27T09:00:02.3474535-08:00", "outputs": [ { "onError": "StopProcessingJob", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-created.json index 061561e39a57..921d08c4689e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-created.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-created.json @@ -4,7 +4,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "contosoresources", "accountName": "contosomedia", - "$filter": "properties/created gt 2020-09-25T03:52:06.1628567Z and properties/created le 2020-09-25T03:52:16.1628567Z", + "$filter": "properties/created gt 2021-01-27T09:00:02.2774432Z and properties/created le 2021-01-27T09:00:12.2774432Z", "$orderby": "properties/created" }, "responses": { @@ -16,9 +16,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2020-09-25T03:52:16.1628567-07:00", + "created": "2021-01-27T09:00:12.2774432-08:00", "description": "A sample Transform using the Video Analyzer.", - "lastModified": "2020-09-25T03:52:16.1628567-07:00", + "lastModified": "2021-01-27T09:00:12.2774432-08:00", "outputs": [ { "onError": "StopProcessingJob", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-lastmodified.json index 46cc43ff742a..ac78ee791bb7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-lastmodified.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-lastmodified.json @@ -4,7 +4,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "contosoresources", "accountName": "contosomedia", - "$filter": "properties/lastmodified gt 2020-09-25T03:52:06.2028435Z and properties/lastmodified le 2020-09-25T03:52:16.2028435Z", + "$filter": "properties/lastmodified gt 2021-01-27T09:00:02.3174956Z and properties/lastmodified le 2021-01-27T09:00:12.3174956Z", "$orderby": "properties/lastmodified desc" }, "responses": { @@ -16,9 +16,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2020-09-25T03:52:16.2028435-07:00", + "created": "2021-01-27T09:00:12.3174956-08:00", "description": "A sample Transform using the Video Analyzer.", - "lastModified": "2020-09-25T03:52:16.2028435-07:00", + "lastModified": "2021-01-27T09:00:12.3174956-08:00", "outputs": [ { "onError": "StopProcessingJob", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-name.json index 901610760eee..cff2e367cf05 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-name.json @@ -16,9 +16,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2020-09-25T03:52:05.9576676-07:00", + "created": "2021-01-27T09:00:02.0722396-08:00", "description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.", - "lastModified": "2020-09-25T03:52:05.9576676-07:00", + "lastModified": "2021-01-27T09:00:02.0722396-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -45,9 +45,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncode", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2020-09-25T03:52:05.9576676-07:00", + "created": "2021-01-27T09:00:02.0722396-08:00", "description": "A sample Transform using the Standard Encoder with a built in preset.", - "lastModified": "2020-09-25T03:52:05.9576676-07:00", + "lastModified": "2021-01-27T09:00:02.0722396-08:00", "outputs": [ { "onError": "StopProcessingJob", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all.json index 7de974e9d589..71df6419e595 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all.json @@ -14,9 +14,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncode", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2020-09-25T03:52:05.0764655-07:00", + "created": "2021-01-27T09:00:01.0960475-08:00", "description": "A sample Transform using the Standard Encoder with a built in preset.", - "lastModified": "2020-09-25T03:52:05.0764655-07:00", + "lastModified": "2021-01-27T09:00:01.0960475-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -34,9 +34,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2020-09-25T03:52:05.2126661-07:00", + "created": "2021-01-27T09:00:01.262165-08:00", "description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.", - "lastModified": "2020-09-25T03:52:05.2126661-07:00", + "lastModified": "2021-01-27T09:00:01.262165-08:00", "outputs": [ { "onError": "StopProcessingJob", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-update.json index 54ad41ca08d5..ae83ec9cfd66 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-update.json @@ -27,9 +27,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/transformToUpdate", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2020-09-25T03:52:06.6478518-07:00", + "created": "2021-01-27T09:00:03.7239079-08:00", "description": "Example transform to illustrate update.", - "lastModified": "2020-09-25T03:52:06.6728521-07:00", + "lastModified": "2021-01-27T09:00:03.7588763-08:00", "outputs": [ { "onError": "StopProcessingJob", From 97a3e40f0cbcb0078b3426511e405f4b9b3391bb Mon Sep 17 00:00:00 2001 From: giakas Date: Wed, 27 Jan 2021 15:09:32 -0800 Subject: [PATCH 02/11] fix some validation issues --- .../stable/2020-05-01/Encoding.json | 82 +++++++++++++++++-- .../2020-05-01/examples/jobs-create.json | 12 ++- .../2020-05-01/examples/jobs-get-by-name.json | 8 ++ .../jobs-list-all-filter-by-created.json | 38 ++++++--- .../jobs-list-all-filter-by-lastmodified.json | 38 ++++++--- ...obs-list-all-filter-by-name-and-state.json | 16 +++- .../jobs-list-all-filter-by-name.json | 20 ++++- .../jobs-list-all-filter-by-state-eq.json | 24 +++++- .../jobs-list-all-filter-by-state-ne.json | 24 +++++- .../2020-05-01/examples/jobs-list-all.json | 36 ++++++-- .../2020-05-01/examples/jobs-update.json | 10 ++- .../examples/transforms-create.json | 24 +++++- .../examples/transforms-get-by-name.json | 12 ++- ...transforms-list-all-filter-by-created.json | 14 +++- ...forms-list-all-filter-by-lastmodified.json | 14 +++- .../transforms-list-all-filter-by-name.json | 24 +++++- .../examples/transforms-list-all.json | 24 +++++- .../examples/transforms-update.json | 12 ++- 18 files changed, 356 insertions(+), 76 deletions(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json index b88791279afa..4953392abbb8 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json @@ -627,6 +627,70 @@ }, "description": "Specifies the maximum resolution at which your video is analyzed. The default behavior is \"SourceResolution,\" which will keep the input video at its original resolution when analyzed. Using \"StandardDefinition\" will resize input videos to standard definition while preserving the appropriate aspect ratio. It will only resize if the video is of higher resolution. For example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to \"StandardDefinition\" will reduce the time it takes to process high resolution video. It may also reduce the cost of using this component (see https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics for details). However, faces that end up being too small in the resized video may not be detected." }, + "mode": { + "type": "string", + "enum": [ + "Analyze", + "Redact", + "Combined" + ], + "x-ms-enum": { + "name": "FaceRedactorMode", + "values": [ + { + "value": "Analyze", + "description": "Analyze mode detects faces and outputs a metadata file with the results. Allows editing of the metadata file before faces are blurred with Redact mode." + }, + { + "value": "Redact", + "description": "Redact mode consumes the metadata file from Analyze mode and redacts the faces found." + }, + { + "value": "Combined", + "description": "Combined mode does the Analyze and Redact steps in one pass when editing the analyzed faces is not desired." + } + ], + "modelAsString": true + }, + "description": "This mode provides the ability to choose between the following settings: 1) Analyze - For detection only.This mode generates a metadata JSON file marking appearances of faces throughout the video.Where possible, appearances of the same person are assigned the same ID. 2) Combined - Additionally redacts(blurs) detected faces. 3) Redact - This enables a 2-pass process, allowing for selective redaction of a subset of detected faces.It takes in the metadata file from a prior analyze pass, along with the source video, and a user-selected subset of IDs that require redaction." + }, + "blurType": { + "type": "string", + "enum": [ + "Box", + "Low", + "Med", + "High", + "Black" + ], + "x-ms-enum": { + "name": "BlurType", + "values": [ + { + "value": "Box", + "description": "Box: debug filter, bounding box only" + }, + { + "value": "Low", + "description": "Low: box-car blur filter" + }, + { + "value": "Med", + "description": "Med: Gaussian blur filter" + }, + { + "value": "High", + "description": "High: Confuse blur filter" + }, + { + "value": "Black", + "description": "Black: Black out filter" + } + ], + "modelAsString": true + }, + "description": "Blur type" + }, "experimentalOptions": { "type": "object", "additionalProperties": { @@ -636,7 +700,7 @@ } }, "type": "object", - "description": "Describes all the settings to be used when analyzing a video in order to detect all the faces present." + "description": "Describes all the settings to be used when analyzing a video in order to detect (and optionally redact) all the faces present." }, "AudioAnalyzerPreset": { "x-ms-discriminator-value": "#Microsoft.Media.AudioAnalyzerPreset", @@ -785,7 +849,7 @@ }, "filenamePattern": { "type": "string", - "description": "The pattern of the file names for the generated output files. The following macros are supported in the file name: {Basename} - An expansion macro that will use the name of the input video file. If the base name(the file suffix is not included) of the input video file is less than 32 characters long, the base name of input video files will be used. If the length of base name of the input video file exceeds 32 characters, the base name is truncated to the first 32 characters in total length. {Extension} - The appropriate extension for this format. {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and removed from the filename." + "description": "The pattern of the file names for the generated output files. The following macros are supported in the file name: {Basename} - An expansion macro that will use the name of the input video file. If the base name(the file suffix is not included) of the input video file is less than 32 characters long, the base name of input video files will be used. If the length of base name of the input video file exceeds 32 characters, the base name is truncated to the first 32 characters in total length. {Extension} - The appropriate extension for this format. {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video codec. {Resolution} - The video resolution. Any unsubstituted macros will be collapsed and removed from the filename." } }, "type": "object", @@ -1744,7 +1808,7 @@ "items": { "type": "string" }, - "description": "List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure." + "description": "List of files. Required for JobInputHttp. Maximum of 4000 characters each." }, "start": { "$ref": "#/definitions/ClipTime", @@ -1871,7 +1935,7 @@ "properties": { "baseUri": { "type": "string", - "description": "Base URI for HTTPS job input. It will be concatenated with provided file names. If no base uri is given, then the provided file list is assumed to be fully qualified uris. Maximum length of 4000 characters. The query strings will not be returned in service responses to prevent sensitive data exposure." + "description": "Base URI for HTTPS job input. It will be concatenated with provided file names. If no base uri is given, then the provided file list is assumed to be fully qualified uris. Maximum length of 4000 characters." } }, "type": "object", @@ -2312,13 +2376,13 @@ "$ref": "#/definitions/JobProperties", "description": "The resource properties.", "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", - "description": "The system metadata relating to this resource.", - "readOnly": true - }, "type": "object", "description": "A Job resource type. The progress and state can be obtained by polling a Job or subscribing to events using EventGrid." }, diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-create.json index 102a6f8358ed..0a080128b740 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-create.json @@ -32,7 +32,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1", "type": "Microsoft.Media/mediaservices/transforms/jobs", "properties": { - "created": "2021-01-27T09:00:04.9592291Z", + "created": "2021-01-26T13:35:49.7274668Z", "state": "Queued", "input": { "@odata.type": "#Microsoft.Media.JobInputAsset", @@ -40,7 +40,7 @@ "inputDefinitions": [], "assetName": "job1-InputAsset" }, - "lastModified": "2021-01-27T09:00:04.9592291Z", + "lastModified": "2021-01-26T13:35:49.7274668Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", @@ -55,6 +55,14 @@ "key1": "value1", "Key 2": "Value 2" } + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T05:35:49.7274668-08:00", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T05:35:49.7274668-08:00" } } } diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-get-by-name.json index c2811d60c872..8f4f6197904b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-get-by-name.json @@ -40,6 +40,14 @@ ], "priority": "Low", "correlationData": {} + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "0001-01-01T00:00:00Z" } } } diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-created.json index e5ceda1d0daa..4f8b14ffebff 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-created.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-created.json @@ -5,7 +5,7 @@ "resourceGroupName": "contosoresources", "accountName": "contosomedia", "transformName": "exampleTransform", - "$filter": "properties/created ge 2021-01-27T09:00:14.6342061Z and properties/created le 2021-01-27T09:00:24.6342061Z", + "$filter": "properties/created ge 2021-01-26T13:35:59.4284656Z and properties/created le 2021-01-26T13:36:09.4284656Z", "$orderby": "properties/created" }, "responses": { @@ -17,7 +17,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2", "type": "Microsoft.Media/mediaservices/transforms/jobs", "properties": { - "created": "2021-01-27T09:00:14.6342061Z", + "created": "2021-01-26T13:35:59.4284656Z", "state": "Processing", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -30,20 +30,28 @@ } ] }, - "lastModified": "2021-01-27T09:00:14.6342061Z", + "lastModified": "2021-01-26T13:35:59.4284656Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2021-01-27T08:50:04.6342061Z", + "startTime": "2021-01-26T13:25:49.4284656Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2021-01-27T08:50:04.6342061Z" + "startTime": "2021-01-26T13:25:49.4284656Z" + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:59.4284656Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:59.4284656Z" } }, { @@ -51,7 +59,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3", "type": "Microsoft.Media/mediaservices/transforms/jobs", "properties": { - "created": "2021-01-27T09:00:24.6342061Z", + "created": "2021-01-26T13:36:09.4284656Z", "state": "Finished", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -64,22 +72,30 @@ } ] }, - "lastModified": "2021-01-27T09:00:24.6342061Z", + "lastModified": "2021-01-26T13:36:09.4284656Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", "state": "Finished", "progress": 100, "label": "example-custom-label", - "startTime": "2021-01-27T08:50:04.6392062Z", - "endTime": "2021-01-27T09:00:04.6392062Z", + "startTime": "2021-01-26T13:25:49.4294655Z", + "endTime": "2021-01-26T13:35:49.4294655Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2021-01-27T08:50:04.6392062Z", - "endTime": "2021-01-27T09:00:04.6392062Z" + "startTime": "2021-01-26T13:25:49.4294655Z", + "endTime": "2021-01-26T13:35:49.4294655Z" + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:36:09.4284656Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:36:09.4284656Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-lastmodified.json index 265159dacceb..107f6990a7b9 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-lastmodified.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-lastmodified.json @@ -5,7 +5,7 @@ "resourceGroupName": "contosoresources", "accountName": "contosomedia", "transformName": "exampleTransform", - "$filter": "properties/lastmodified ge 2021-01-27T09:00:14.7342138Z and properties/lastmodified le 2021-01-27T09:00:24.7342138Z", + "$filter": "properties/lastmodified ge 2021-01-26T13:35:59.5194661Z and properties/lastmodified le 2021-01-26T13:36:09.5194661Z", "$orderby": "properties/lastmodified desc" }, "responses": { @@ -17,7 +17,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3", "type": "Microsoft.Media/mediaservices/transforms/jobs", "properties": { - "created": "2021-01-27T09:00:24.7342138Z", + "created": "2021-01-26T13:36:09.5194661Z", "state": "Finished", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -30,22 +30,30 @@ } ] }, - "lastModified": "2021-01-27T09:00:24.7342138Z", + "lastModified": "2021-01-26T13:36:09.5194661Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", "state": "Finished", "progress": 100, "label": "example-custom-label", - "startTime": "2021-01-27T08:50:04.7342138Z", - "endTime": "2021-01-27T09:00:04.7342138Z", + "startTime": "2021-01-26T13:25:49.5194661Z", + "endTime": "2021-01-26T13:35:49.5194661Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2021-01-27T08:50:04.7342138Z", - "endTime": "2021-01-27T09:00:04.7342138Z" + "startTime": "2021-01-26T13:25:49.5194661Z", + "endTime": "2021-01-26T13:35:49.5194661Z" + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:36:09.5194661Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:36:09.5194661Z" } }, { @@ -53,7 +61,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2", "type": "Microsoft.Media/mediaservices/transforms/jobs", "properties": { - "created": "2021-01-27T09:00:14.7342138Z", + "created": "2021-01-26T13:35:59.5194661Z", "state": "Processing", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -66,20 +74,28 @@ } ] }, - "lastModified": "2021-01-27T09:00:14.7342138Z", + "lastModified": "2021-01-26T13:35:59.5194661Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2021-01-27T08:50:04.7342138Z", + "startTime": "2021-01-26T13:25:49.5194661Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2021-01-27T08:50:04.7342138Z" + "startTime": "2021-01-26T13:25:49.5194661Z" + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:59.5194661Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:59.5194661Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name-and-state.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name-and-state.json index a017d4a3dd55..70d677647acb 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name-and-state.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name-and-state.json @@ -36,15 +36,23 @@ "state": "Finished", "progress": 100, "label": "example-custom-label", - "startTime": "2021-01-27T08:50:04.5491987Z", - "endTime": "2021-01-27T09:00:04.5491987Z", + "startTime": "2021-01-26T13:25:49.3314672Z", + "endTime": "2021-01-26T13:35:49.3314672Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2021-01-27T08:50:04.5491987Z", - "endTime": "2021-01-27T09:00:04.5491987Z" + "startTime": "2021-01-26T13:25:49.3314672Z", + "endTime": "2021-01-26T13:35:49.3314672Z" + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "0001-01-01T00:00:00Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name.json index 68ed8d40144b..ae389d22e87b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-name.json @@ -42,6 +42,14 @@ ], "priority": "Low", "correlationData": {} + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "0001-01-01T00:00:00Z" } }, { @@ -69,13 +77,21 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2021-01-27T08:50:04.2441744Z", + "startTime": "2021-01-26T13:25:48.981468Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2021-01-27T08:50:04.2441744Z" + "startTime": "2021-01-26T13:25:48.981468Z" + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "0001-01-01T00:00:00Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-eq.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-eq.json index c0b34c01c4b7..dd65f1ec9733 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-eq.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-eq.json @@ -36,13 +36,21 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2021-01-27T08:50:04.3291815Z", + "startTime": "2021-01-26T13:25:49.0964684Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2021-01-27T08:50:04.3291815Z" + "startTime": "2021-01-26T13:25:49.0964684Z" + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "0001-01-01T00:00:00Z" } }, { @@ -70,13 +78,21 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2021-01-27T08:50:04.3291815Z", + "startTime": "2021-01-26T13:25:49.0964684Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2021-01-27T08:50:04.3291815Z" + "startTime": "2021-01-26T13:25:49.0964684Z" + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "0001-01-01T00:00:00Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-ne.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-ne.json index 2a3ed28c85ad..44f684becb2f 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-ne.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all-filter-by-state-ne.json @@ -41,6 +41,14 @@ ], "priority": "Low", "correlationData": {} + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "0001-01-01T00:00:00Z" } }, { @@ -68,15 +76,23 @@ "state": "Finished", "progress": 100, "label": "example-custom-label", - "startTime": "2021-01-27T08:50:04.4641871Z", - "endTime": "2021-01-27T09:00:04.4641871Z", + "startTime": "2021-01-26T13:25:49.2384669Z", + "endTime": "2021-01-26T13:35:49.2384669Z", "assetName": "job4-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2021-01-27T08:50:04.4641871Z", - "endTime": "2021-01-27T09:00:04.4641871Z" + "startTime": "2021-01-26T13:25:49.2384669Z", + "endTime": "2021-01-26T13:35:49.2384669Z" + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "0001-01-01T00:00:00Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all.json index 4c4496ce5df6..4739cd3ff59a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-list-all.json @@ -40,6 +40,14 @@ ], "priority": "Low", "correlationData": {} + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "0001-01-01T00:00:00Z" } }, { @@ -67,13 +75,21 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2021-01-27T08:50:03.8038912Z", + "startTime": "2021-01-26T13:25:48.3299535Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2021-01-27T08:50:03.8038912Z" + "startTime": "2021-01-26T13:25:48.3299535Z" + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "0001-01-01T00:00:00Z" } }, { @@ -101,15 +117,23 @@ "state": "Finished", "progress": 100, "label": "example-custom-label", - "startTime": "2021-01-27T08:50:03.8038912Z", - "endTime": "2021-01-27T09:00:03.8038912Z", + "startTime": "2021-01-26T13:25:48.3299535Z", + "endTime": "2021-01-26T13:35:48.3299535Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2021-01-27T08:50:03.8038912Z", - "endTime": "2021-01-27T09:00:03.8038912Z" + "startTime": "2021-01-26T13:25:48.3299535Z", + "endTime": "2021-01-26T13:35:48.3299535Z" + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "0001-01-01T00:00:00Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-update.json index 829211a3c9d5..b7cb00bc3083 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-update.json @@ -44,7 +44,7 @@ } ] }, - "lastModified": "2021-01-27T09:00:05.2718774Z", + "lastModified": "2021-01-26T13:35:50.1029813Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", @@ -56,6 +56,14 @@ ], "priority": "High", "correlationData": {} + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "0001-01-01T00:00:00Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T05:35:50.1029813-08:00" } } } diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-create.json index e7785a3c3210..cbaabae0a310 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-create.json @@ -26,9 +26,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2021-01-27T09:00:02.627479-08:00", + "created": "2021-01-26T13:35:47.7499582-08:00", "description": "Example Transform to illustrate create and update.", - "lastModified": "2021-01-27T09:00:02.627479-08:00", + "lastModified": "2021-01-26T13:35:47.7499582-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -39,6 +39,14 @@ } } ] + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:47.7499582Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:47.7499582Z" } } }, @@ -48,9 +56,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2021-01-27T09:00:02.627479-08:00", + "created": "2021-01-26T13:35:47.7499582-08:00", "description": "Example Transform to illustrate create and update.", - "lastModified": "2021-01-27T09:00:02.627479-08:00", + "lastModified": "2021-01-26T13:35:47.7499582-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -61,6 +69,14 @@ } } ] + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:47.7499582Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:47.7499582Z" } } } diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-get-by-name.json index 595399636777..4901bdaa67d8 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-get-by-name.json @@ -14,9 +14,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleTransform", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2021-01-27T09:00:02.3474535-08:00", + "created": "2021-01-26T13:35:47.5799573-08:00", "description": "A sample Transform using the Standard Encoder with a built in preset.", - "lastModified": "2021-01-27T09:00:02.3474535-08:00", + "lastModified": "2021-01-26T13:35:47.5799573-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -27,6 +27,14 @@ } } ] + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:47.5799573Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:47.5799573Z" } } } diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-created.json index 921d08c4689e..a8a1c733fca7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-created.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-created.json @@ -4,7 +4,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "contosoresources", "accountName": "contosomedia", - "$filter": "properties/created gt 2021-01-27T09:00:02.2774432Z and properties/created le 2021-01-27T09:00:12.2774432Z", + "$filter": "properties/created gt 2021-01-26T13:35:47.4419559Z and properties/created le 2021-01-26T13:35:57.4419559Z", "$orderby": "properties/created" }, "responses": { @@ -16,9 +16,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2021-01-27T09:00:12.2774432-08:00", + "created": "2021-01-26T13:35:57.4419559-08:00", "description": "A sample Transform using the Video Analyzer.", - "lastModified": "2021-01-27T09:00:12.2774432-08:00", + "lastModified": "2021-01-26T13:35:57.4419559-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -30,6 +30,14 @@ } } ] + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:57.4419559Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:57.4419559Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-lastmodified.json index ac78ee791bb7..0b9a921098b4 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-lastmodified.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-lastmodified.json @@ -4,7 +4,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "contosoresources", "accountName": "contosomedia", - "$filter": "properties/lastmodified gt 2021-01-27T09:00:02.3174956Z and properties/lastmodified le 2021-01-27T09:00:12.3174956Z", + "$filter": "properties/lastmodified gt 2021-01-26T13:35:47.5239560Z and properties/lastmodified le 2021-01-26T13:35:57.5239560Z", "$orderby": "properties/lastmodified desc" }, "responses": { @@ -16,9 +16,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2021-01-27T09:00:12.3174956-08:00", + "created": "2021-01-26T13:35:57.523956-08:00", "description": "A sample Transform using the Video Analyzer.", - "lastModified": "2021-01-27T09:00:12.3174956-08:00", + "lastModified": "2021-01-26T13:35:57.523956-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -30,6 +30,14 @@ } } ] + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:57.523956Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:57.523956Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-name.json index cff2e367cf05..bc617355e544 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all-filter-by-name.json @@ -16,9 +16,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2021-01-27T09:00:02.0722396-08:00", + "created": "2021-01-26T13:35:47.1144419-08:00", "description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.", - "lastModified": "2021-01-27T09:00:02.0722396-08:00", + "lastModified": "2021-01-26T13:35:47.1144419-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -38,6 +38,14 @@ } } ] + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:47.1144419Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:47.1144419Z" } }, { @@ -45,9 +53,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncode", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2021-01-27T09:00:02.0722396-08:00", + "created": "2021-01-26T13:35:47.1144419-08:00", "description": "A sample Transform using the Standard Encoder with a built in preset.", - "lastModified": "2021-01-27T09:00:02.0722396-08:00", + "lastModified": "2021-01-26T13:35:47.1144419-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -58,6 +66,14 @@ } } ] + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:47.1144419Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:47.1144419Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all.json index 71df6419e595..05cc796a7f60 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-list-all.json @@ -14,9 +14,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncode", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2021-01-27T09:00:01.0960475-08:00", + "created": "2021-01-26T13:35:46.2354434-08:00", "description": "A sample Transform using the Standard Encoder with a built in preset.", - "lastModified": "2021-01-27T09:00:01.0960475-08:00", + "lastModified": "2021-01-26T13:35:46.2354434-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -27,6 +27,14 @@ } } ] + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:46.2354434Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:46.2354434Z" } }, { @@ -34,9 +42,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2021-01-27T09:00:01.262165-08:00", + "created": "2021-01-26T13:35:46.3584429-08:00", "description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.", - "lastModified": "2021-01-27T09:00:01.262165-08:00", + "lastModified": "2021-01-26T13:35:46.3584429-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -56,6 +64,14 @@ } } ] + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:46.3584429Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:46.3584429Z" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-update.json index ae83ec9cfd66..765a4d18dba7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/transforms-update.json @@ -27,9 +27,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/transformToUpdate", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2021-01-27T09:00:03.7239079-08:00", + "created": "2021-01-26T13:35:48.1389546-08:00", "description": "Example transform to illustrate update.", - "lastModified": "2021-01-27T09:00:03.7588763-08:00", + "lastModified": "2021-01-26T13:35:48.1769542-08:00", "outputs": [ { "onError": "StopProcessingJob", @@ -40,6 +40,14 @@ } } ] + }, + "systemData": { + "createdBy": "contoso@microsoft.com", + "createdByType": "User", + "createdAt": "2021-01-26T13:35:48.1389546Z", + "lastModifiedBy": "contoso@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-26T13:35:48.1769542Z" } } } From 2b43ba1932522b4996da32e8d5ae4851c6f4bf5d Mon Sep 17 00:00:00 2001 From: giakas Date: Fri, 29 Jan 2021 11:07:57 -0800 Subject: [PATCH 03/11] change ErrorResponse to types.json for test --- .../Microsoft.Media/stable/2020-05-01/Encoding.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json index 4953392abbb8..94796ab104e7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json @@ -2657,7 +2657,7 @@ "default": { "description": "Detailed error information.", "schema": { - "$ref": "./Common.json#/definitions/ApiError" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, From c67b431f1cfa3582260e1d2e6f7149471e2ac1b4 Mon Sep 17 00:00:00 2001 From: giakas Date: Tue, 2 Feb 2021 12:00:12 -0800 Subject: [PATCH 04/11] Add systemData to other entities --- .../stable/2020-05-01/AccountFilters.json | 5 +++ .../stable/2020-05-01/Accounts.json | 34 +++++++++++++++++++ .../2020-05-01/AssetsAndAssetFilters.json | 10 ++++++ .../stable/2020-05-01/ContentKeyPolicies.json | 5 +++ ...StreamingPoliciesAndStreamingLocators.json | 10 ++++++ .../stable/2020-05-01/streamingservice.json | 10 ++++++ 6 files changed, 74 insertions(+) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/AccountFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/AccountFilters.json index 8a440c25b9d8..ce4e09d0bf2e 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/AccountFilters.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/AccountFilters.json @@ -202,6 +202,11 @@ "properties": { "$ref": "#/definitions/MediaFilterProperties", "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } }, "type": "object", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Accounts.json index 766cf0d5c3b8..29e79eb18e30 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Accounts.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Accounts.json @@ -159,6 +159,35 @@ "readOnly": true, "x-nullable": false }, + "lockAggregationType": { + "type": "string", + "enum": [ + "Average", + "Count", + "Total" + ], + "x-ms-enum": { + "name": "MetricAggregationType", + "values": [ + { + "value": "Average", + "description": "The average." + }, + { + "value": "Count", + "description": "The count of a number of items, usually requests." + }, + { + "value": "Total", + "description": "The sum." + } + ], + "modelAsString": true + }, + "description": "The metric lock aggregation type", + "readOnly": true, + "x-nullable": true + }, "supportedAggregationTypes": { "type": "array", "items": { @@ -396,6 +425,11 @@ "identity": { "$ref": "#/definitions/MediaServiceIdentity", "description": "The Managed Identity for the Media Services account." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } }, "type": "object" diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/AssetsAndAssetFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/AssetsAndAssetFilters.json index 54de287e110e..9badab194841 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/AssetsAndAssetFilters.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/AssetsAndAssetFilters.json @@ -226,6 +226,11 @@ "$ref": "#/definitions/AssetProperties", "description": "The resource properties.", "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } }, "type": "object", @@ -406,6 +411,11 @@ "properties": { "$ref": "#/definitions/MediaFilterProperties", "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } }, "type": "object", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/ContentKeyPolicies.json index e735b23cf7b5..6bd4a9314c64 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/ContentKeyPolicies.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/ContentKeyPolicies.json @@ -770,6 +770,11 @@ "properties": { "$ref": "#/definitions/ContentKeyPolicyProperties", "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } }, "type": "object", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/StreamingPoliciesAndStreamingLocators.json index 31a2ad942e37..258cd959b73b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/StreamingPoliciesAndStreamingLocators.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/StreamingPoliciesAndStreamingLocators.json @@ -379,6 +379,11 @@ "properties": { "$ref": "#/definitions/StreamingPolicyProperties", "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } }, "type": "object", @@ -634,6 +639,11 @@ "properties": { "$ref": "#/definitions/StreamingLocatorProperties", "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } }, "type": "object", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/streamingservice.json index 82f96aa41696..35c041562059 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/streamingservice.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/streamingservice.json @@ -1675,6 +1675,11 @@ "x-ms-client-flatten": true, "$ref": "#/definitions/LiveEventProperties", "description": "The live event properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } }, "allOf": [ @@ -1894,6 +1899,11 @@ "x-ms-client-flatten": true, "$ref": "#/definitions/StreamingEndpointProperties", "description": "The streaming endpoint properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } }, "allOf": [ From 409a4e20def02549b817b07a0b48030965d0299a Mon Sep 17 00:00:00 2001 From: giakas Date: Tue, 2 Feb 2021 12:06:50 -0800 Subject: [PATCH 05/11] Fix encoding json to not use errorResponse test --- .../Microsoft.Media/stable/2020-05-01/Encoding.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json index 94796ab104e7..4953392abbb8 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json @@ -2657,7 +2657,7 @@ "default": { "description": "Detailed error information.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "./Common.json#/definitions/ApiError" } } }, From 73e1991e263abdbd11b2a360cace25c72fda9a3b Mon Sep 17 00:00:00 2001 From: giakas Date: Tue, 2 Feb 2021 12:21:40 -0800 Subject: [PATCH 06/11] fix validation error --- .../stable/2020-05-01/examples/accountFilters-list-all.json | 2 +- .../stable/2020-05-01/examples/assetFilters-list-all.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json index 3fea2d6b9abe..d621d5dacbae 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json @@ -17,7 +17,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json index 7a4244008adf..339bd968b053 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json @@ -18,7 +18,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false From 9f9589360ff2220f30d97dd9148f801616364a4f Mon Sep 17 00:00:00 2001 From: giakas Date: Tue, 2 Feb 2021 12:52:19 -0800 Subject: [PATCH 07/11] updating examples with latest fixes --- .../examples/accountFilters-list-all.json | 2 +- .../examples/assetFilters-list-all.json | 2 +- .../2020-05-01/examples/liveevent-create.json | 43 ++++++++++++++++--- .../2020-05-01/examples/liveevent-update.json | 42 +++++++++++++++--- 4 files changed, 77 insertions(+), 12 deletions(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json index d621d5dacbae..3fea2d6b9abe 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json @@ -17,7 +17,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 922337203685477, + "presentationWindowDuration": 9223372036854775807, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json index 339bd968b053..7a4244008adf 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json @@ -18,7 +18,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 922337203685477, + "presentationWindowDuration": 9223372036854775807, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-create.json index fb64ce50e883..2d89eff5613c 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-create.json @@ -15,7 +15,18 @@ "description": "test event 1", "input": { "streamingProtocol": "RTMP", - "keyFrameIntervalDuration": "PT6S" + "keyFrameIntervalDuration": "PT6S", + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowAll", + "address": "0.0.0.0", + "subnetPrefixLength": 0 + } + ] + } + } }, "preview": { "accessControl": { @@ -55,8 +66,19 @@ "input": { "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", - "accessToken": "", - "endpoints": [] + "accessToken": "0abf356884d74b4aacbd7b1ebd3da0f7", + "endpoints": [], + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowAll", + "address": "0.0.0.0", + "subnetPrefixLength": 0 + } + ] + } + } }, "preview": { "previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37", @@ -106,8 +128,19 @@ "input": { "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", - "accessToken": "", - "endpoints": [] + "accessToken": "0abf356884d74b4aacbd7b1ebd3da0f7", + "endpoints": [], + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowAll", + "address": "0.0.0.0", + "subnetPrefixLength": 0 + } + ] + } + } }, "preview": { "previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-update.json index 2e1492d5eb95..3a8e2039954b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-update.json @@ -16,7 +16,17 @@ "description": "test event updated", "input": { "streamingProtocol": "FragmentedMP4", - "keyFrameIntervalDuration": "PT6S" + "keyFrameIntervalDuration": "PT6S", + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowOne", + "address": "192.1.1.0" + } + ] + } + } }, "preview": { "accessControl": { @@ -56,8 +66,19 @@ "input": { "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", - "accessToken": "", - "endpoints": [] + "accessToken": "c638baac3195406a84d7ff3bcba8bde4", + "endpoints": [], + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowOne", + "address": "192.1.1.0", + "subnetPrefixLength": null + } + ] + } + } }, "preview": { "previewLocator": "c10ea3fc-587f-4daf-b2b2-fa8f647a9ed2", @@ -104,8 +125,19 @@ "input": { "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", - "accessToken": "", - "endpoints": [] + "accessToken": "c638baac3195406a84d7ff3bcba8bde4", + "endpoints": [], + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowOne", + "address": "192.1.1.0", + "subnetPrefixLength": null + } + ] + } + } }, "preview": { "previewLocator": "c10ea3fc-587f-4daf-b2b2-fa8f647a9ed2", From cb2815447476460de069b90e26919e41c5f3e6ef Mon Sep 17 00:00:00 2001 From: giakas Date: Tue, 2 Feb 2021 16:22:43 -0800 Subject: [PATCH 08/11] fixing a few validation errors --- .../stable/2020-05-01/examples/liveevent-create.json | 4 ++-- .../stable/2020-05-01/examples/liveevent-update.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-create.json index 2d89eff5613c..c15c83350440 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-create.json @@ -66,7 +66,7 @@ "input": { "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", - "accessToken": "0abf356884d74b4aacbd7b1ebd3da0f7", + "accessToken": "", "endpoints": [], "accessControl": { "ip": { @@ -128,7 +128,7 @@ "input": { "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", - "accessToken": "0abf356884d74b4aacbd7b1ebd3da0f7", + "accessToken": "", "endpoints": [], "accessControl": { "ip": { diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-update.json index 3a8e2039954b..1c7da9a1f50d 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-update.json @@ -66,7 +66,7 @@ "input": { "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", - "accessToken": "c638baac3195406a84d7ff3bcba8bde4", + "accessToken": "", "endpoints": [], "accessControl": { "ip": { @@ -125,7 +125,7 @@ "input": { "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", - "accessToken": "c638baac3195406a84d7ff3bcba8bde4", + "accessToken": "", "endpoints": [], "accessControl": { "ip": { From 2ac2e45e4d958e17622d283bfed9c4541b029c7b Mon Sep 17 00:00:00 2001 From: giakas Date: Wed, 3 Feb 2021 10:54:01 -0800 Subject: [PATCH 09/11] fix validation errors --- custom-words.txt | 1 + .../stable/2020-05-01/examples/accountFilters-create.json | 6 +++--- .../stable/2020-05-01/examples/accountFilters-list-all.json | 2 +- .../stable/2020-05-01/examples/accountFilters-update.json | 4 ++-- .../stable/2020-05-01/examples/assetFilters-create.json | 6 +++--- .../2020-05-01/examples/assetFilters-get-by-name.json | 2 +- .../stable/2020-05-01/examples/assetFilters-list-all.json | 4 ++-- .../stable/2020-05-01/examples/assetFilters-update.json | 4 ++-- 8 files changed, 15 insertions(+), 14 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index d5c5076a8aa7..cfeceb63f9bd 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1732,6 +1732,7 @@ subtasksinfo subteam subtree subtrees +subwoofer subword subwords sudoer diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json index 77adbae7b6e8..e7085b6c62be 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json @@ -10,7 +10,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -66,7 +66,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -121,7 +121,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json index 3fea2d6b9abe..878b4d500d5b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json @@ -17,7 +17,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json index a524fe83e770..4ccab15444cd 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json @@ -10,7 +10,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -31,7 +31,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json index f03f5d658dab..fc02ec892ba6 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json @@ -11,7 +11,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -67,7 +67,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -122,7 +122,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json index a3f46555e7f9..dce042fff872 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json @@ -17,7 +17,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json index 7a4244008adf..cf1e248c2673 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json @@ -18,7 +18,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -71,7 +71,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json index 448c28ac5bb2..e729542cb1b8 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json @@ -11,7 +11,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -32,7 +32,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775807, + "presentationWindowDuration": 9223372036854775806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false From 44c2b70fadca775bc9bbaa64398c4ade1caf4b88 Mon Sep 17 00:00:00 2001 From: giakas Date: Wed, 3 Feb 2021 22:30:03 -0800 Subject: [PATCH 10/11] Fix validation error. --- .../stable/2020-05-01/examples/accountFilters-create.json | 6 +++--- .../stable/2020-05-01/examples/accountFilters-list-all.json | 2 +- .../stable/2020-05-01/examples/accountFilters-update.json | 4 ++-- .../stable/2020-05-01/examples/assetFilters-create.json | 6 +++--- .../2020-05-01/examples/assetFilters-get-by-name.json | 2 +- .../stable/2020-05-01/examples/assetFilters-list-all.json | 4 ++-- .../stable/2020-05-01/examples/assetFilters-update.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json index e7085b6c62be..4c6d70688845 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json @@ -10,7 +10,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -66,7 +66,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -121,7 +121,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json index 878b4d500d5b..7dac9459b140 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json @@ -17,7 +17,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json index 4ccab15444cd..aec8c7c8c06a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json @@ -10,7 +10,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -31,7 +31,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json index fc02ec892ba6..dc7fe3d144cc 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json @@ -11,7 +11,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -67,7 +67,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -122,7 +122,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json index dce042fff872..2e874548f36a 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json @@ -17,7 +17,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json index cf1e248c2673..b0284501a3f1 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json @@ -18,7 +18,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -71,7 +71,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json index e729542cb1b8..4ce1ca0618e8 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json @@ -11,7 +11,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -32,7 +32,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854775806, + "presentationWindowDuration": 9223372036854774806, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false From b2f5fdbf4271ebcecad07c30d5d935352dd48089 Mon Sep 17 00:00:00 2001 From: giakas Date: Wed, 3 Feb 2021 22:38:40 -0800 Subject: [PATCH 11/11] fix int max len issue --- .../stable/2020-05-01/examples/accountFilters-create.json | 6 +++--- .../stable/2020-05-01/examples/accountFilters-list-all.json | 2 +- .../stable/2020-05-01/examples/accountFilters-update.json | 4 ++-- .../stable/2020-05-01/examples/assetFilters-create.json | 6 +++--- .../2020-05-01/examples/assetFilters-get-by-name.json | 2 +- .../stable/2020-05-01/examples/assetFilters-list-all.json | 4 ++-- .../stable/2020-05-01/examples/assetFilters-update.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json index 4c6d70688845..12a7dd6f5575 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-create.json @@ -10,7 +10,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -66,7 +66,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -121,7 +121,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json index 7dac9459b140..d621d5dacbae 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-list-all.json @@ -17,7 +17,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json index aec8c7c8c06a..07f8c8c1d5de 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/accountFilters-update.json @@ -10,7 +10,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -31,7 +31,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json index dc7fe3d144cc..769c37b2ab4d 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-create.json @@ -11,7 +11,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -67,7 +67,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -122,7 +122,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json index 2e874548f36a..42e2de9aa1e2 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-get-by-name.json @@ -17,7 +17,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json index b0284501a3f1..f0e0115551d3 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-list-all.json @@ -18,7 +18,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -71,7 +71,7 @@ "presentationTimeRange": { "startTimestamp": 0, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json index 4ce1ca0618e8..ad4c93852768 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/assetFilters-update.json @@ -11,7 +11,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false @@ -32,7 +32,7 @@ "presentationTimeRange": { "startTimestamp": 10, "endTimestamp": 170000000, - "presentationWindowDuration": 9223372036854774806, + "presentationWindowDuration": 922337203685477, "liveBackoffDuration": 0, "timescale": 10000000, "forceEndTimestamp": false