From 6369ee31a45d19dc7a63a19a5204297fefc8060b Mon Sep 17 00:00:00 2001 From: giakas Date: Tue, 9 Feb 2021 23:37:13 -0800 Subject: [PATCH] [Hub Generated] Review request for Microsoft.Media to add version stable/2020-05-01 (#12681) * update to new swaggers * fix some validation issues * change ErrorResponse to types.json for test * Add systemData to other entities * Fix encoding json to not use errorResponse test * fix validation error * updating examples with latest fixes * fixing a few validation errors * fix validation errors * Fix validation error. * fix int max len issue --- custom-words.txt | 1 + .../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 + .../stable/2020-05-01/Encoding.json | 610 +++++++++++++++++- ...StreamingPoliciesAndStreamingLocators.json | 10 + .../2020-05-01/examples/jobs-create.json | 13 +- .../2020-05-01/examples/jobs-get-by-name.json | 9 + .../jobs-list-all-filter-by-created.json | 40 +- .../jobs-list-all-filter-by-lastmodified.json | 40 +- ...obs-list-all-filter-by-name-and-state.json | 17 +- .../jobs-list-all-filter-by-name.json | 22 +- .../jobs-list-all-filter-by-state-eq.json | 26 +- .../jobs-list-all-filter-by-state-ne.json | 26 +- .../2020-05-01/examples/jobs-list-all.json | 39 +- .../2020-05-01/examples/jobs-update.json | 11 +- .../2020-05-01/examples/liveevent-create.json | 39 +- .../2020-05-01/examples/liveevent-update.json | 38 +- .../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 +- .../stable/2020-05-01/streamingservice.json | 10 + 27 files changed, 1052 insertions(+), 77 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index 192b9d3d1211..667014c36efd 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1735,6 +1735,7 @@ subtasksinfo subteam subtree subtrees +subwoofer subword subwords sudoer 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/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/Encoding.json index bccc2485e9a3..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 @@ -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": [ @@ -255,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": { @@ -264,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", @@ -320,7 +756,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", @@ -413,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", @@ -928,7 +1364,12 @@ "CopyAllBitrateNonInterleaved", "H264MultipleBitrate1080p", "H264MultipleBitrate720p", - "H264MultipleBitrateSD" + "H264MultipleBitrateSD", + "H265ContentAwareEncoding", + "H265AdaptiveStreaming", + "H265SingleBitrate720p", + "H265SingleBitrate1080p", + "H265SingleBitrate4K" ], "x-ms-enum": { "name": "EncoderNamedPreset", @@ -976,6 +1417,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 +1559,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 +1771,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", @@ -1250,6 +1821,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", @@ -1768,6 +2346,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": [ { @@ -1779,6 +2376,11 @@ "$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 } }, "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/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/jobs-create.json index e1fad016f8a1..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,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-26T13:35:49.7274668Z", "state": "Queued", "input": { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" }, - "lastModified": "2020-09-25T03:52:07.7751982Z", + "lastModified": "2021-01-26T13:35:49.7274668Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", @@ -54,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 78cb152f29d0..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 @@ -23,6 +23,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" } ] @@ -39,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 12f494e9c2d3..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 2020-09-25T03:52:17.4802005Z and properties/created le 2020-09-25T03:52:27.4802005Z", + "$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": "2020-09-25T03:52:17.4802005Z", + "created": "2021-01-26T13:35:59.4284656Z", "state": "Processing", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -25,24 +25,33 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job2-InputAsset" } ] }, - "lastModified": "2020-09-25T03:52:17.4802005Z", + "lastModified": "2021-01-26T13:35:59.4284656Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.4802005Z", + "startTime": "2021-01-26T13:25:49.4284656Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.4802005Z" + "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" } }, { @@ -50,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": "2020-09-25T03:52:27.4802005Z", + "created": "2021-01-26T13:36:09.4284656Z", "state": "Finished", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -58,26 +67,35 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job3-InputAsset" } ] }, - "lastModified": "2020-09-25T03:52:27.4802005Z", + "lastModified": "2021-01-26T13:36:09.4284656Z", "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-26T13:25:49.4294655Z", + "endTime": "2021-01-26T13:35:49.4294655Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.4802005Z", - "endTime": "2020-09-25T03:52:07.4802005Z" + "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 c0e94c828c39..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 2020-09-25T03:52:17.5701994Z and properties/lastmodified le 2020-09-25T03:52:27.5701994Z", + "$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": "2020-09-25T03:52:27.5701994Z", + "created": "2021-01-26T13:36:09.5194661Z", "state": "Finished", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -25,26 +25,35 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job3-InputAsset" } ] }, - "lastModified": "2020-09-25T03:52:27.5701994Z", + "lastModified": "2021-01-26T13:36:09.5194661Z", "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-26T13:25:49.5194661Z", + "endTime": "2021-01-26T13:35:49.5194661Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.5701994Z", - "endTime": "2020-09-25T03:52:07.5701994Z" + "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" } }, { @@ -52,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": "2020-09-25T03:52:17.5701994Z", + "created": "2021-01-26T13:35:59.5194661Z", "state": "Processing", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -60,24 +69,33 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job2-InputAsset" } ] }, - "lastModified": "2020-09-25T03:52:17.5701994Z", + "lastModified": "2021-01-26T13:35:59.5194661Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.5701994Z", + "startTime": "2021-01-26T13:25:49.5194661Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.5701994Z" + "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 61f6f223a7db..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 @@ -24,6 +24,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job3-InputAsset" } ] @@ -35,15 +36,23 @@ "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-26T13:25:49.3314672Z", + "endTime": "2021-01-26T13:35:49.3314672Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.4002063Z", - "endTime": "2020-09-25T03:52:07.4002063Z" + "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 7ae4888c8640..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 @@ -25,6 +25,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" } ] @@ -41,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" } }, { @@ -56,6 +65,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job2-InputAsset" } ] @@ -67,13 +77,21 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.1140078Z", + "startTime": "2021-01-26T13:25:48.981468Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.1140078Z" + "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 983bcb4d00a4..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 @@ -24,6 +24,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job2-InputAsset" } ] @@ -35,13 +36,21 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.1901996Z", + "startTime": "2021-01-26T13:25:49.0964684Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.1901996Z" + "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" } }, { @@ -57,6 +66,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job3-InputAsset" } ] @@ -68,13 +78,21 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:07.1901996Z", + "startTime": "2021-01-26T13:25:49.0964684Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.1901996Z" + "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 cc5b998b4666..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 @@ -24,6 +24,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" } ] @@ -40,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" } }, { @@ -55,6 +64,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job4-InputAsset" } ] @@ -66,15 +76,23 @@ "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-26T13:25:49.2384669Z", + "endTime": "2021-01-26T13:35:49.2384669Z", "assetName": "job4-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:07.3301954Z", - "endTime": "2020-09-25T03:52:07.3301954Z" + "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 5a33f882c066..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 @@ -23,6 +23,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" } ] @@ -39,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" } }, { @@ -54,6 +63,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job2-InputAsset" } ] @@ -65,13 +75,21 @@ "state": "Processing", "progress": 50, "label": "example-custom-label", - "startTime": "2020-09-25T03:42:06.7140175Z", + "startTime": "2021-01-26T13:25:48.3299535Z", "assetName": "job2-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:06.7140175Z" + "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" } }, { @@ -87,6 +105,7 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job3-InputAsset" } ] @@ -98,15 +117,23 @@ "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-26T13:25:48.3299535Z", + "endTime": "2021-01-26T13:35:48.3299535Z", "assetName": "job3-OutputAsset" } ], "priority": "Low", "correlationData": {}, - "startTime": "2020-09-25T03:42:06.7140175Z", - "endTime": "2020-09-25T03:52:06.7140175Z" + "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 4e87729c196f..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 @@ -39,11 +39,12 @@ { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], + "inputDefinitions": [], "assetName": "job1-InputAsset" } ] }, - "lastModified": "2020-09-25T03:52:08.0551986Z", + "lastModified": "2021-01-26T13:35:50.1029813Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", @@ -55,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/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2020-05-01/examples/liveevent-create.json index fb64ce50e883..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 @@ -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": { @@ -56,7 +67,18 @@ "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", "accessToken": "", - "endpoints": [] + "endpoints": [], + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowAll", + "address": "0.0.0.0", + "subnetPrefixLength": 0 + } + ] + } + } }, "preview": { "previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37", @@ -107,7 +129,18 @@ "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", "accessToken": "", - "endpoints": [] + "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..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 @@ -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": { @@ -57,7 +67,18 @@ "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", "accessToken": "", - "endpoints": [] + "endpoints": [], + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowOne", + "address": "192.1.1.0", + "subnetPrefixLength": null + } + ] + } + } }, "preview": { "previewLocator": "c10ea3fc-587f-4daf-b2b2-fa8f647a9ed2", @@ -105,7 +126,18 @@ "keyFrameIntervalDuration": "PT6S", "streamingProtocol": "FragmentedMP4", "accessToken": "", - "endpoints": [] + "endpoints": [], + "accessControl": { + "ip": { + "allow": [ + { + "name": "AllowOne", + "address": "192.1.1.0", + "subnetPrefixLength": null + } + ] + } + } }, "preview": { "previewLocator": "c10ea3fc-587f-4daf-b2b2-fa8f647a9ed2", 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..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": "2020-09-25T03:52:06.5178506-07:00", + "created": "2021-01-26T13:35:47.7499582-08:00", "description": "Example Transform to illustrate create and update.", - "lastModified": "2020-09-25T03:52:06.5178506-07: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": "2020-09-25T03:52:06.5178506-07:00", + "created": "2021-01-26T13:35:47.7499582-08:00", "description": "Example Transform to illustrate create and update.", - "lastModified": "2020-09-25T03:52:06.5178506-07: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 8b23bfdffbb5..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": "2020-09-25T03:52:06.2378492-07:00", + "created": "2021-01-26T13:35:47.5799573-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-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 061561e39a57..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 2020-09-25T03:52:06.1628567Z and properties/created le 2020-09-25T03:52:16.1628567Z", + "$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": "2020-09-25T03:52:16.1628567-07:00", + "created": "2021-01-26T13:35:57.4419559-08:00", "description": "A sample Transform using the Video Analyzer.", - "lastModified": "2020-09-25T03:52:16.1628567-07: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 46cc43ff742a..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 2020-09-25T03:52:06.2028435Z and properties/lastmodified le 2020-09-25T03:52:16.2028435Z", + "$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": "2020-09-25T03:52:16.2028435-07:00", + "created": "2021-01-26T13:35:57.523956-08:00", "description": "A sample Transform using the Video Analyzer.", - "lastModified": "2020-09-25T03:52:16.2028435-07: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 901610760eee..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": "2020-09-25T03:52:05.9576676-07: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": "2020-09-25T03:52:05.9576676-07: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": "2020-09-25T03:52:05.9576676-07:00", + "created": "2021-01-26T13:35:47.1144419-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-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 7de974e9d589..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": "2020-09-25T03:52:05.0764655-07:00", + "created": "2021-01-26T13:35:46.2354434-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-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": "2020-09-25T03:52:05.2126661-07: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": "2020-09-25T03:52:05.2126661-07: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 54ad41ca08d5..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": "2020-09-25T03:52:06.6478518-07:00", + "created": "2021-01-26T13:35:48.1389546-08:00", "description": "Example transform to illustrate update.", - "lastModified": "2020-09-25T03:52:06.6728521-07: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" } } } 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": [