From de36739ede45fb6215cef92c1055423a3aa41e05 Mon Sep 17 00:00:00 2001 From: Jinchuan Shang Date: Wed, 1 May 2019 09:56:26 -0700 Subject: [PATCH] Adding support for subclip in the swagger files --- .../stable/2018-07-01/Encoding.json | 44 ++++++++++++++++++- .../2018-07-01/examples/jobs-create.json | 4 +- .../2018-07-01/examples/jobs-get-by-name.json | 4 +- .../jobs-list-all-filter-by-created.json | 10 ++--- .../jobs-list-all-filter-by-lastmodified.json | 10 ++--- .../2018-07-01/examples/jobs-list-all.json | 12 ++--- .../2018-07-01/examples/jobs-update.json | 4 +- .../examples/transforms-create.json | 12 ++--- .../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 | 16 +++---- .../examples/transforms-list-all.json | 16 +++---- .../examples/transforms-update.json | 4 +- 14 files changed, 97 insertions(+), 55 deletions(-) diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json index e031a6849894..b1303a318780 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json @@ -973,7 +973,7 @@ ], "modelAsString": true }, - "description": "The type of insights to be extracted. If not set then based on the content the type will selected. If the content is audio only then only audio insights are extracted and if it is video only." + "description": "Defines the type of insights that you want the service to generate. The allowed values are 'AudioInsightsOnly', 'VideoInsightsOnly', and 'AllInsights'. The default is AllInsights. If you set this to AllInsights and the input is audio only, then only audio insights are generated. Similarly if the input is video only, then only video insights are generated. It is recommended that you not use AudioInsightsOnly if you expect some of your inputs to be video only; or use VideoInsightsOnly if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out." } }, "type": "object", @@ -1156,6 +1156,14 @@ }, "description": "List of files. Required for JobInputHttp. Maximum of 4000 characters each." }, + "start": { + "$ref": "#/definitions/ClipTime", + "description": "Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media." + }, + "end": { + "$ref": "#/definitions/ClipTime", + "description": "Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media." + }, "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'." @@ -1164,6 +1172,40 @@ "type": "object", "description": "Represents input files for a Job." }, + "ClipTime": { + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + } + }, + "type": "object", + "required": [ + "@odata.type" + ], + "description": "Base class for specifying a clip time. Use sub classes of this class to specify the time position in the media." + }, + "AbsoluteClipTime": { + "x-ms-discriminator-value": "#Microsoft.Media.AbsoluteClipTime", + "allOf": [ + { + "$ref": "#/definitions/ClipTime" + } + ], + "properties": { + "time": { + "type": "string", + "format": "duration", + "description": "The time position on the timeline of the input media. It is usually speicified as an ISO8601 period. e.g PT30S for 30 seconds." + } + }, + "type": "object", + "required": [ + "time" + ], + "description": "Specifies the clip time as an absolute time position in the media file. The absolute time can point to a different position depending on whether the media file starts from a timestamp of zero or not." + }, "JobInputs": { "x-ms-discriminator-value": "#Microsoft.Media.JobInputs", "allOf": [ diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json index b525731f8d4d..35774407ae07 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json @@ -32,14 +32,14 @@ "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": "2018-08-08T16:29:58.2188352Z", + "created": "2019-03-28T21:17:17.444777Z", "state": "Queued", "input": { "@odata.type": "#Microsoft.Media.JobInputAsset", "files": [], "assetName": "job1-InputAsset" }, - "lastModified": "2018-08-08T16:29:58.2188352Z", + "lastModified": "2019-03-28T21:17:17.444777Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json index bfbee0d5ce1c..0e50fea671bf 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json @@ -15,7 +15,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": "2018-08-08T16:29:58.1798Z", + "created": "0001-01-01T00:00:00Z", "state": "Queued", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -27,7 +27,7 @@ } ] }, - "lastModified": "2018-08-08T16:29:58.1798Z", + "lastModified": "0001-01-01T00:00:00Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json index 395cecb25446..d446ba68d174 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json @@ -5,7 +5,7 @@ "resourceGroupName": "contosoresources", "accountName": "contosomedia", "transformName": "exampleTransform", - "$filter": "properties/created ge 2018-09-27T22:56:18.5507138Z and properties/created le 2018-09-27T22:56:28.5507138Z", + "$filter": "properties/created ge 2019-03-28T21:17:27.3367769Z and properties/created le 2019-03-28T21:17:37.3367769Z", "$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": "2018-09-27T22:56:18.5507138Z", + "created": "2019-03-28T21:17:27.3367769Z", "state": "Processing", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -29,7 +29,7 @@ } ] }, - "lastModified": "2018-09-27T22:56:18.5507138Z", + "lastModified": "2019-03-28T21:17:27.3367769Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", @@ -48,7 +48,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": "2018-09-27T22:56:28.5507138Z", + "created": "2019-03-28T21:17:37.3367769Z", "state": "Finished", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -60,7 +60,7 @@ } ] }, - "lastModified": "2018-09-27T22:56:28.5507138Z", + "lastModified": "2019-03-28T21:17:37.3367769Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json index f62722d0e0be..04f6de6ac164 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json @@ -5,7 +5,7 @@ "resourceGroupName": "contosoresources", "accountName": "contosomedia", "transformName": "exampleTransform", - "$filter": "properties/lastmodified ge 2018-09-27T22:56:18.5821662Z and properties/lastmodified le 2018-09-27T22:56:28.5821662Z", + "$filter": "properties/lastmodified ge 2019-03-28T21:17:27.3527769Z and properties/lastmodified le 2019-03-28T21:17:37.3527769Z", "$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": "2018-09-27T22:56:28.5821662Z", + "created": "2019-03-28T21:17:37.3527769Z", "state": "Finished", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -29,7 +29,7 @@ } ] }, - "lastModified": "2018-09-27T22:56:28.5821662Z", + "lastModified": "2019-03-28T21:17:37.3527769Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", @@ -48,7 +48,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": "2018-09-27T22:56:18.5821662Z", + "created": "2019-03-28T21:17:27.3527769Z", "state": "Processing", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -60,7 +60,7 @@ } ] }, - "lastModified": "2018-09-27T22:56:18.5821662Z", + "lastModified": "2019-03-28T21:17:27.3527769Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json index 41acda6e73f8..8c0ef0c8e612 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json @@ -15,7 +15,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": "2018-08-08T16:29:58.0908004Z", + "created": "0001-01-01T00:00:00Z", "state": "Queued", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -27,7 +27,7 @@ } ] }, - "lastModified": "2018-08-08T16:29:58.0908004Z", + "lastModified": "0001-01-01T00:00:00Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", @@ -46,7 +46,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": "2018-08-08T16:29:58.0927994Z", + "created": "0001-01-01T00:00:00Z", "state": "Processing", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -58,7 +58,7 @@ } ] }, - "lastModified": "2018-08-08T16:29:58.0927994Z", + "lastModified": "0001-01-01T00:00:00Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", @@ -77,7 +77,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": "2018-08-08T16:29:58.0927994Z", + "created": "0001-01-01T00:00:00Z", "state": "Finished", "input": { "@odata.type": "#Microsoft.Media.JobInputs", @@ -89,7 +89,7 @@ } ] }, - "lastModified": "2018-08-08T16:29:58.0927994Z", + "lastModified": "0001-01-01T00:00:00Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json index 36135ba39660..5d9579e9210b 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json @@ -20,7 +20,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": "2018-08-08T16:29:58.3218119Z", + "created": "0001-01-01T00:00:00Z", "state": "Queued", "description": "Example job to illustrate update.", "input": { @@ -33,7 +33,7 @@ } ] }, - "lastModified": "2018-08-08T16:29:58.3368364Z", + "lastModified": "2019-03-28T21:17:17.621307Z", "outputs": [ { "@odata.type": "#Microsoft.Media.JobOutputAsset", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json index 8c492eae7dd7..9f1712e677ba 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json @@ -8,8 +8,8 @@ "parameters": { "properties": { "description": "Example Transform to illustrate create and update.", - "created": "0001-01-01T00:00:00-05:00", - "lastModified": "0001-01-01T00:00:00-05:00", + "created": "0001-01-01T00:00:00-08:00", + "lastModified": "0001-01-01T00:00:00-08:00", "outputs": [ { "relativePriority": null, @@ -30,9 +30,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2018-08-08T16:29:57.9828393-04:00", + "created": "2019-03-28T21:17:17.0167832-07:00", "description": "Example Transform to illustrate create and update.", - "lastModified": "2018-08-08T16:29:57.9828393-04:00", + "lastModified": "2019-03-28T21:17:17.0167832-07:00", "outputs": [ { "onError": "StopProcessingJob", @@ -52,9 +52,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2018-08-08T16:29:57.9828393-04:00", + "created": "2019-03-28T21:17:17.0167832-07:00", "description": "Example Transform to illustrate create and update.", - "lastModified": "2018-08-08T16:29:57.9998038-04:00", + "lastModified": "2019-03-28T21:17:17.0592877-07:00", "outputs": [ { "onError": "StopProcessingJob", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json index 849d964221c6..b8b36c447b59 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-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": "2018-08-08T16:29:57.8095562-04:00", + "created": "2019-03-28T21:17:16.8607802-07:00", "description": "A sample Transform using the Standard Encoder with a built in preset.", - "lastModified": "2018-08-08T16:29:57.8095562-04:00", + "lastModified": "2019-03-28T21:17:16.8607802-07:00", "outputs": [ { "onError": "StopProcessingJob", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json index cf729aa5a250..4b49bcbdacf5 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-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 2018-09-27T22:56:07.7621546Z and properties/created le 2018-09-27T22:56:17.7621546Z", + "$filter": "properties/created gt 2019-03-28T21:17:16.8252878Z and properties/created le 2019-03-28T21:17:26.8252878Z", "$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": "2018-09-27T22:56:17.7621546-07:00", + "created": "2019-03-28T21:17:26.8252878-07:00", "description": "A sample Transform using the Video Analyzer.", - "lastModified": "2018-09-27T22:56:17.7621546-07:00", + "lastModified": "2019-03-28T21:17:26.8252878-07:00", "outputs": [ { "onError": "StopProcessingJob", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json index 28153774e318..484c3b33ca66 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-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 2018-09-27T22:56:07.7840953Z and properties/lastmodified le 2018-09-27T22:56:17.7840953Z", + "$filter": "properties/lastmodified gt 2019-03-28T21:17:16.8477794Z and properties/lastmodified le 2019-03-28T21:17:26.8477794Z", "$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": "2018-09-27T22:56:17.7840953-07:00", + "created": "2019-03-28T21:17:26.8477794-07:00", "description": "A sample Transform using the Video Analyzer.", - "lastModified": "2018-09-27T22:56:17.7840953-07:00", + "lastModified": "2019-03-28T21:17:26.8477794-07:00", "outputs": [ { "onError": "StopProcessingJob", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json index 84a76f252fb5..f0f56a04ddee 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json @@ -16,24 +16,24 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2018-09-27T22:56:07.5846087-07:00", + "created": "2019-03-28T21:17:16.7187893-07:00", "description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.", - "lastModified": "2018-09-27T22:56:07.5846087-07:00", + "lastModified": "2019-03-28T21:17:16.7187893-07:00", "outputs": [ { "onError": "StopProcessingJob", "relativePriority": "Normal", "preset": { - "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset", - "insightsToExtract": "AllInsights" + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "AdaptiveStreaming" } }, { "onError": "StopProcessingJob", "relativePriority": "Normal", "preset": { - "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", - "presetName": "AdaptiveStreaming" + "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset", + "insightsToExtract": "AllInsights" } } ] @@ -44,9 +44,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncode", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2018-09-27T22:56:07.5846087-07:00", + "created": "2019-03-28T21:17:16.7182796-07:00", "description": "A sample Transform using the Standard Encoder with a built in preset.", - "lastModified": "2018-09-27T22:56:07.5846087-07:00", + "lastModified": "2019-03-28T21:17:16.7182796-07:00", "outputs": [ { "onError": "StopProcessingJob", diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json index 0b53d7c2160e..d7bec212d7c7 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-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": "2018-07-26T19:11:48.9717921-07:00", + "created": "2019-03-28T21:17:16.2582806-07:00", "description": "A sample Transform using the Standard Encoder with a built in preset.", - "lastModified": "2018-07-26T19:11:48.9717921-07:00", + "lastModified": "2019-03-28T21:17:16.2582806-07:00", "outputs": [ { "onError": "StopProcessingJob", @@ -34,24 +34,24 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2018-07-26T19:11:48.9767793-07:00", + "created": "2019-03-28T21:17:16.2643061-07:00", "description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.", - "lastModified": "2018-07-26T19:11:48.9767793-07:00", + "lastModified": "2019-03-28T21:17:16.2643061-07:00", "outputs": [ { "onError": "StopProcessingJob", "relativePriority": "Normal", "preset": { - "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset", - "insightsToExtract": "AllInsights" + "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", + "presetName": "AdaptiveStreaming" } }, { "onError": "StopProcessingJob", "relativePriority": "Normal", "preset": { - "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset", - "presetName": "AdaptiveStreaming" + "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset", + "insightsToExtract": "AllInsights" } } ] diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json index d95863dad782..ae30059d7ecf 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json @@ -18,9 +18,9 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/transformToUpdate", "type": "Microsoft.Media/mediaservices/transforms", "properties": { - "created": "2018-08-08T16:29:58.0328058-04:00", + "created": "2019-03-28T21:17:17.0927784-07:00", "description": "Example transform to illustrate update.", - "lastModified": "2018-08-08T16:29:58.0488338-04:00", + "lastModified": "2019-03-28T21:17:17.1082862-07:00", "outputs": [ { "onError": "StopProcessingJob",