diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/AbsoluteClipTime.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/AbsoluteClipTime.cs
index a14417720240..b97e1148df9f 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/AbsoluteClipTime.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/AbsoluteClipTime.cs
@@ -33,7 +33,7 @@ public AbsoluteClipTime()
/// Initializes a new instance of the AbsoluteClipTime class.
///
/// The time position on the timeline of the input
- /// media. It is usually speicified as an ISO8601 period. e.g PT30S for
+ /// media. It is usually specified as an ISO8601 period. e.g PT30S for
/// 30 seconds.
public AbsoluteClipTime(System.TimeSpan time)
{
@@ -48,7 +48,7 @@ public AbsoluteClipTime(System.TimeSpan time)
///
/// Gets or sets the time position on the timeline of the input media.
- /// It is usually speicified as an ISO8601 period. e.g PT30S for 30
+ /// It is usually specified as an ISO8601 period. e.g PT30S for 30
/// seconds.
///
[JsonProperty(PropertyName = "time")]
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/AudioAnalyzerPreset.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/AudioAnalyzerPreset.cs
index 6f095a9fa91b..1d2aa8d2ca77 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/AudioAnalyzerPreset.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/AudioAnalyzerPreset.cs
@@ -11,6 +11,8 @@
namespace Microsoft.Azure.Management.Media.Models
{
using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
using System.Linq;
///
@@ -34,25 +36,23 @@ public AudioAnalyzerPreset()
///
/// The language for the audio payload in
/// the input using the BCP-47 format of 'language tag-region' (e.g:
- /// 'en-US'). The list of supported languages are English ('en-US' and
- /// 'en-GB'), Spanish ('es-ES' and 'es-MX'), French ('fr-FR'), Italian
- /// ('it-IT'), Japanese ('ja-JP'), Portuguese ('pt-BR'), Chinese
- /// ('zh-CN'), German ('de-DE'), Arabic ('ar-EG' and 'ar-SY'), Russian
- /// ('ru-RU'), Hindi ('hi-IN'), and Korean ('ko-KR'). If you know the
- /// language of your content, it is recommended that you specify it. If
- /// the language isn't specified or set to null, automatic language
- /// detection will choose the first language detected and process with
- /// the selected language for the duration of the file. This language
- /// detection feature currently supports English, Chinese, French,
- /// German, Italian, Japanese, Spanish, Russian, and Portuguese. It
- /// does not currently support dynamically switching between languages
- /// after the first language is detected. The automatic detection works
- /// best with audio recordings with clearly discernable speech. If
- /// automatic detection fails to find the language, transcription would
- /// fallback to 'en-US'."
- public AudioAnalyzerPreset(string audioLanguage = default(string))
+ /// 'en-US'). If you know the language of your content, it is
+ /// recommended that you specify it. If the language isn't specified or
+ /// set to null, automatic language detection will choose the first
+ /// language detected and process with the selected language for the
+ /// duration of the file. It does not currently support dynamically
+ /// switching between languages after the first language is detected.
+ /// The automatic detection works best with audio recordings with
+ /// clearly discernable speech. If automatic detection fails to find
+ /// the language, transcription would fallback to 'en-US'." The list of
+ /// supported languages is available here:
+ /// https://go.microsoft.com/fwlink/?linkid=2109463
+ /// Dictionary containing key value
+ /// pairs for parameters not exposed in the preset itself
+ public AudioAnalyzerPreset(string audioLanguage = default(string), IDictionary experimentalOptions = default(IDictionary))
{
AudioLanguage = audioLanguage;
+ ExperimentalOptions = experimentalOptions;
CustomInit();
}
@@ -63,26 +63,28 @@ public AudioAnalyzerPreset()
///
/// Gets or sets the language for the audio payload in the input using
- /// the BCP-47 format of 'language tag-region' (e.g: 'en-US'). The
- /// list of supported languages are English ('en-US' and 'en-GB'),
- /// Spanish ('es-ES' and 'es-MX'), French ('fr-FR'), Italian ('it-IT'),
- /// Japanese ('ja-JP'), Portuguese ('pt-BR'), Chinese ('zh-CN'), German
- /// ('de-DE'), Arabic ('ar-EG' and 'ar-SY'), Russian ('ru-RU'), Hindi
- /// ('hi-IN'), and Korean ('ko-KR'). If you know the language of your
- /// content, it is recommended that you specify it. If the language
- /// isn't specified or set to null, automatic language detection will
- /// choose the first language detected and process with the selected
- /// language for the duration of the file. This language detection
- /// feature currently supports English, Chinese, French, German,
- /// Italian, Japanese, Spanish, Russian, and Portuguese. It does not
- /// currently support dynamically switching between languages after the
- /// first language is detected. The automatic detection works best with
- /// audio recordings with clearly discernable speech. If automatic
- /// detection fails to find the language, transcription would fallback
- /// to 'en-US'."
+ /// the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you
+ /// know the language of your content, it is recommended that you
+ /// specify it. If the language isn't specified or set to null,
+ /// automatic language detection will choose the first language
+ /// detected and process with the selected language for the duration of
+ /// the file. It does not currently support dynamically switching
+ /// between languages after the first language is detected. The
+ /// automatic detection works best with audio recordings with clearly
+ /// discernable speech. If automatic detection fails to find the
+ /// language, transcription would fallback to 'en-US'." The list of
+ /// supported languages is available here:
+ /// https://go.microsoft.com/fwlink/?linkid=2109463
///
[JsonProperty(PropertyName = "audioLanguage")]
public string AudioLanguage { get; set; }
+ ///
+ /// Gets or sets dictionary containing key value pairs for parameters
+ /// not exposed in the preset itself
+ ///
+ [JsonProperty(PropertyName = "experimentalOptions")]
+ public IDictionary ExperimentalOptions { get; set; }
+
}
}
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/BuiltInStandardEncoderPreset.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/BuiltInStandardEncoderPreset.cs
index adbd393901ac..5a51dc64374b 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/BuiltInStandardEncoderPreset.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/BuiltInStandardEncoderPreset.cs
@@ -37,8 +37,9 @@ public BuiltInStandardEncoderPreset()
/// encoding videos. Possible values include: 'H264SingleBitrateSD',
/// 'H264SingleBitrate720p', 'H264SingleBitrate1080p',
/// 'AdaptiveStreaming', 'AACGoodQualityAudio',
- /// 'ContentAwareEncodingExperimental', 'H264MultipleBitrate1080p',
- /// 'H264MultipleBitrate720p', 'H264MultipleBitrateSD'
+ /// 'ContentAwareEncodingExperimental', 'ContentAwareEncoding',
+ /// 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p',
+ /// 'H264MultipleBitrateSD'
public BuiltInStandardEncoderPreset(EncoderNamedPreset presetName)
{
PresetName = presetName;
@@ -55,8 +56,9 @@ public BuiltInStandardEncoderPreset(EncoderNamedPreset presetName)
/// Possible values include: 'H264SingleBitrateSD',
/// 'H264SingleBitrate720p', 'H264SingleBitrate1080p',
/// 'AdaptiveStreaming', 'AACGoodQualityAudio',
- /// 'ContentAwareEncodingExperimental', 'H264MultipleBitrate1080p',
- /// 'H264MultipleBitrate720p', 'H264MultipleBitrateSD'
+ /// 'ContentAwareEncodingExperimental', 'ContentAwareEncoding',
+ /// 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p',
+ /// 'H264MultipleBitrateSD'
///
[JsonProperty(PropertyName = "presetName")]
public EncoderNamedPreset PresetName { get; set; }
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/ContentKeyPolicyFairPlayConfiguration.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/ContentKeyPolicyFairPlayConfiguration.cs
index 15aa129fdd52..474fe96109d5 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/ContentKeyPolicyFairPlayConfiguration.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/ContentKeyPolicyFairPlayConfiguration.cs
@@ -41,17 +41,20 @@ public ContentKeyPolicyFairPlayConfiguration()
/// certificate in PKCS 12 (pfx) format (including private
/// key).
/// The rental and lease key type.
- /// Possible values include: 'Unknown', 'Undefined',
+ /// Possible values include: 'Unknown', 'Undefined', 'DualExpiry',
/// 'PersistentUnlimited', 'PersistentLimited'
/// The rental duration. Must be greater
/// than or equal to 0.
- public ContentKeyPolicyFairPlayConfiguration(byte[] ask, string fairPlayPfxPassword, string fairPlayPfx, ContentKeyPolicyFairPlayRentalAndLeaseKeyType rentalAndLeaseKeyType, long rentalDuration)
+ /// Offline rental
+ /// policy
+ public ContentKeyPolicyFairPlayConfiguration(byte[] ask, string fairPlayPfxPassword, string fairPlayPfx, ContentKeyPolicyFairPlayRentalAndLeaseKeyType rentalAndLeaseKeyType, long rentalDuration, ContentKeyPolicyFairPlayOfflineRentalConfiguration offlineRentalConfiguration = default(ContentKeyPolicyFairPlayOfflineRentalConfiguration))
{
Ask = ask;
FairPlayPfxPassword = fairPlayPfxPassword;
FairPlayPfx = fairPlayPfx;
RentalAndLeaseKeyType = rentalAndLeaseKeyType;
RentalDuration = rentalDuration;
+ OfflineRentalConfiguration = offlineRentalConfiguration;
CustomInit();
}
@@ -83,8 +86,8 @@ public ContentKeyPolicyFairPlayConfiguration(byte[] ask, string fairPlayPfxPassw
///
/// Gets or sets the rental and lease key type. Possible values
- /// include: 'Unknown', 'Undefined', 'PersistentUnlimited',
- /// 'PersistentLimited'
+ /// include: 'Unknown', 'Undefined', 'DualExpiry',
+ /// 'PersistentUnlimited', 'PersistentLimited'
///
[JsonProperty(PropertyName = "rentalAndLeaseKeyType")]
public ContentKeyPolicyFairPlayRentalAndLeaseKeyType RentalAndLeaseKeyType { get; set; }
@@ -96,6 +99,12 @@ public ContentKeyPolicyFairPlayConfiguration(byte[] ask, string fairPlayPfxPassw
[JsonProperty(PropertyName = "rentalDuration")]
public long RentalDuration { get; set; }
+ ///
+ /// Gets or sets offline rental policy
+ ///
+ [JsonProperty(PropertyName = "offlineRentalConfiguration")]
+ public ContentKeyPolicyFairPlayOfflineRentalConfiguration OfflineRentalConfiguration { get; set; }
+
///
/// Validate the object.
///
@@ -116,6 +125,10 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "FairPlayPfx");
}
+ if (OfflineRentalConfiguration != null)
+ {
+ OfflineRentalConfiguration.Validate();
+ }
}
}
}
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/ContentKeyPolicyFairPlayOfflineRentalConfiguration.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/ContentKeyPolicyFairPlayOfflineRentalConfiguration.cs
new file mode 100644
index 000000000000..736b5359d64e
--- /dev/null
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/ContentKeyPolicyFairPlayOfflineRentalConfiguration.cs
@@ -0,0 +1,68 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Media.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ public partial class ContentKeyPolicyFairPlayOfflineRentalConfiguration
+ {
+ ///
+ /// Initializes a new instance of the
+ /// ContentKeyPolicyFairPlayOfflineRentalConfiguration class.
+ ///
+ public ContentKeyPolicyFairPlayOfflineRentalConfiguration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// ContentKeyPolicyFairPlayOfflineRentalConfiguration class.
+ ///
+ /// Playback duration
+ /// Storage duration
+ public ContentKeyPolicyFairPlayOfflineRentalConfiguration(long playbackDurationSeconds, long storageDurationSeconds)
+ {
+ PlaybackDurationSeconds = playbackDurationSeconds;
+ StorageDurationSeconds = storageDurationSeconds;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets playback duration
+ ///
+ [JsonProperty(PropertyName = "playbackDurationSeconds")]
+ public long PlaybackDurationSeconds { get; set; }
+
+ ///
+ /// Gets or sets storage duration
+ ///
+ [JsonProperty(PropertyName = "storageDurationSeconds")]
+ public long StorageDurationSeconds { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ //Nothing to validate
+ }
+ }
+}
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/ContentKeyPolicyFairPlayRentalAndLeaseKeyType.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/ContentKeyPolicyFairPlayRentalAndLeaseKeyType.cs
index 704b8ea29a0e..8ece717490e6 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/ContentKeyPolicyFairPlayRentalAndLeaseKeyType.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/ContentKeyPolicyFairPlayRentalAndLeaseKeyType.cs
@@ -38,6 +38,11 @@ private ContentKeyPolicyFairPlayRentalAndLeaseKeyType(string underlyingValue)
///
public static readonly ContentKeyPolicyFairPlayRentalAndLeaseKeyType Undefined = "Undefined";
+ ///
+ /// Dual expiry for offline rental.
+ ///
+ public static readonly ContentKeyPolicyFairPlayRentalAndLeaseKeyType DualExpiry = "DualExpiry";
+
///
/// Content key can be persisted with an unlimited duration
///
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/EncoderNamedPreset.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/EncoderNamedPreset.cs
index 607607869837..901797126a5e 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/EncoderNamedPreset.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/EncoderNamedPreset.cs
@@ -75,6 +75,19 @@ private EncoderNamedPreset(string underlyingValue)
///
public static readonly EncoderNamedPreset ContentAwareEncodingExperimental = "ContentAwareEncodingExperimental";
+ ///
+ /// 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.
+ ///
+ public static readonly EncoderNamedPreset ContentAwareEncoding = "ContentAwareEncoding";
+
///
/// Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps
/// to 400 kbps, and stereo AAC audio. Resolution starts at 1080p and
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/FaceDetectorPreset.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/FaceDetectorPreset.cs
index 17984f1b6b8b..28bd8dc3e9d9 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/FaceDetectorPreset.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/FaceDetectorPreset.cs
@@ -11,6 +11,8 @@
namespace Microsoft.Azure.Management.Media.Models
{
using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
using System.Linq;
///
@@ -45,9 +47,12 @@ public FaceDetectorPreset()
/// for details). However, faces that end up being too small in the
/// resized video may not be detected. Possible values include:
/// 'SourceResolution', 'StandardDefinition'
- public FaceDetectorPreset(AnalysisResolution? resolution = default(AnalysisResolution?))
+ /// Dictionary containing key value
+ /// pairs for parameters not exposed in the preset itself
+ public FaceDetectorPreset(AnalysisResolution? resolution = default(AnalysisResolution?), IDictionary experimentalOptions = default(IDictionary))
{
Resolution = resolution;
+ ExperimentalOptions = experimentalOptions;
CustomInit();
}
@@ -75,5 +80,12 @@ public FaceDetectorPreset()
[JsonProperty(PropertyName = "resolution")]
public AnalysisResolution? Resolution { get; set; }
+ ///
+ /// Gets or sets dictionary containing key value pairs for parameters
+ /// not exposed in the preset itself
+ ///
+ [JsonProperty(PropertyName = "experimentalOptions")]
+ public IDictionary ExperimentalOptions { get; set; }
+
}
}
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/FilterTrackPropertyCondition.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/FilterTrackPropertyCondition.cs
index f4718a2dd77a..1c614037d9bc 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/FilterTrackPropertyCondition.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/FilterTrackPropertyCondition.cs
@@ -35,7 +35,7 @@ public FilterTrackPropertyCondition()
/// The track property type. Possible values
/// include: 'Unknown', 'Type', 'Name', 'Language', 'FourCC',
/// 'Bitrate'
- /// The track proprty value.
+ /// The track property value.
/// The track property condition operation.
/// Possible values include: 'Equal', 'NotEqual'
public FilterTrackPropertyCondition(FilterTrackPropertyType property, string value, FilterTrackPropertyCompareOperation operation)
@@ -59,7 +59,7 @@ public FilterTrackPropertyCondition(FilterTrackPropertyType property, string val
public FilterTrackPropertyType Property { get; set; }
///
- /// Gets or sets the track proprty value.
+ /// Gets or sets the track property value.
///
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/Job.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/Job.cs
index d34f20674f38..a34d1f31dfab 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/Job.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/Job.cs
@@ -56,7 +56,11 @@ public Job()
/// 'Low', 'Normal', 'High'
/// Customer provided key, value pairs
/// that will be returned in Job and JobOutput state events.
- public Job(JobInput input, IList outputs, string id = default(string), string name = default(string), string type = default(string), System.DateTime created = default(System.DateTime), JobState state = default(JobState), string description = default(string), System.DateTime lastModified = default(System.DateTime), Priority? priority = default(Priority?), IDictionary correlationData = default(IDictionary))
+ /// The UTC date and time at which this Job
+ /// began processing.
+ /// The UTC date and time at which this Job
+ /// finished processing.
+ public Job(JobInput input, IList outputs, string id = default(string), string name = default(string), string type = default(string), System.DateTime created = default(System.DateTime), JobState state = default(JobState), string description = default(string), System.DateTime lastModified = default(System.DateTime), Priority? priority = default(Priority?), IDictionary correlationData = default(IDictionary), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?))
: base(id, name, type)
{
Created = created;
@@ -67,6 +71,8 @@ public Job()
Outputs = outputs;
Priority = priority;
CorrelationData = correlationData;
+ StartTime = startTime;
+ EndTime = endTime;
CustomInit();
}
@@ -131,6 +137,18 @@ public Job()
[JsonProperty(PropertyName = "properties.correlationData")]
public IDictionary CorrelationData { get; set; }
+ ///
+ /// Gets the UTC date and time at which this Job began processing.
+ ///
+ [JsonProperty(PropertyName = "properties.startTime")]
+ public System.DateTime? StartTime { get; private set; }
+
+ ///
+ /// Gets the UTC date and time at which this Job finished processing.
+ ///
+ [JsonProperty(PropertyName = "properties.endTime")]
+ public System.DateTime? EndTime { get; private set; }
+
///
/// Validate the object.
///
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/JobOutput.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/JobOutput.cs
index 9b2ac8cde407..2fa12234cd7c 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/JobOutput.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/JobOutput.cs
@@ -53,12 +53,18 @@ public JobOutput()
/// this JobOutput within the Job. Note that this index is the same as
/// the relative index of the corresponding TransformOutput within its
/// Transform.
- public JobOutput(JobError error = default(JobError), JobState state = default(JobState), int progress = default(int), string label = default(string))
+ /// The UTC date and time at which this Job
+ /// Output began processing.
+ /// The UTC date and time at which this Job
+ /// Output finished processing.
+ public JobOutput(JobError error = default(JobError), JobState state = default(JobState), int progress = default(int), string label = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?))
{
Error = error;
State = state;
Progress = progress;
Label = label;
+ StartTime = startTime;
+ EndTime = endTime;
CustomInit();
}
@@ -109,5 +115,19 @@ public JobOutput()
[JsonProperty(PropertyName = "label")]
public string Label { get; set; }
+ ///
+ /// Gets the UTC date and time at which this Job Output began
+ /// processing.
+ ///
+ [JsonProperty(PropertyName = "startTime")]
+ public System.DateTime? StartTime { get; private set; }
+
+ ///
+ /// Gets the UTC date and time at which this Job Output finished
+ /// processing.
+ ///
+ [JsonProperty(PropertyName = "endTime")]
+ public System.DateTime? EndTime { get; private set; }
+
}
}
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/JobOutputAsset.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/JobOutputAsset.cs
index 661be29054b8..3afc45d40020 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/JobOutputAsset.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/JobOutputAsset.cs
@@ -56,8 +56,12 @@ public JobOutputAsset()
/// this JobOutput within the Job. Note that this index is the same as
/// the relative index of the corresponding TransformOutput within its
/// Transform.
- public JobOutputAsset(string assetName, JobError error = default(JobError), JobState state = default(JobState), int progress = default(int), string label = default(string))
- : base(error, state, progress, label)
+ /// The UTC date and time at which this Job
+ /// Output began processing.
+ /// The UTC date and time at which this Job
+ /// Output finished processing.
+ public JobOutputAsset(string assetName, JobError error = default(JobError), JobState state = default(JobState), int progress = default(int), string label = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?))
+ : base(error, state, progress, label, startTime, endTime)
{
AssetName = assetName;
CustomInit();
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/PresentationTimeRange.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/PresentationTimeRange.cs
index 2cc14b617b77..f452cf17087e 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/PresentationTimeRange.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/PresentationTimeRange.cs
@@ -38,7 +38,7 @@ public PresentationTimeRange()
/// The relative to end right
/// edge.
/// The time scale of time stamps.
- /// The indicator of forcing exsiting
+ /// The indicator of forcing existing
/// of end time stamp.
public PresentationTimeRange(long? startTimestamp = default(long?), long? endTimestamp = default(long?), long? presentationWindowDuration = default(long?), long? liveBackoffDuration = default(long?), long? timescale = default(long?), bool? forceEndTimestamp = default(bool?))
{
@@ -87,7 +87,7 @@ public PresentationTimeRange()
public long? Timescale { get; set; }
///
- /// Gets or sets the indicator of forcing exsiting of end time stamp.
+ /// Gets or sets the indicator of forcing existing of end time stamp.
///
[JsonProperty(PropertyName = "forceEndTimestamp")]
public bool? ForceEndTimestamp { get; set; }
diff --git a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/VideoAnalyzerPreset.cs b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/VideoAnalyzerPreset.cs
index 1797d3c80694..6781a3391110 100644
--- a/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/VideoAnalyzerPreset.cs
+++ b/sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/VideoAnalyzerPreset.cs
@@ -11,6 +11,8 @@
namespace Microsoft.Azure.Management.Media.Models
{
using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
using System.Linq;
///
@@ -33,22 +35,19 @@ public VideoAnalyzerPreset()
///
/// The language for the audio payload in
/// the input using the BCP-47 format of 'language tag-region' (e.g:
- /// 'en-US'). The list of supported languages are English ('en-US' and
- /// 'en-GB'), Spanish ('es-ES' and 'es-MX'), French ('fr-FR'), Italian
- /// ('it-IT'), Japanese ('ja-JP'), Portuguese ('pt-BR'), Chinese
- /// ('zh-CN'), German ('de-DE'), Arabic ('ar-EG' and 'ar-SY'), Russian
- /// ('ru-RU'), Hindi ('hi-IN'), and Korean ('ko-KR'). If you know the
- /// language of your content, it is recommended that you specify it. If
- /// the language isn't specified or set to null, automatic language
- /// detection will choose the first language detected and process with
- /// the selected language for the duration of the file. This language
- /// detection feature currently supports English, Chinese, French,
- /// German, Italian, Japanese, Spanish, Russian, and Portuguese. It
- /// does not currently support dynamically switching between languages
- /// after the first language is detected. The automatic detection works
- /// best with audio recordings with clearly discernable speech. If
- /// automatic detection fails to find the language, transcription would
- /// fallback to 'en-US'."
+ /// 'en-US'). If you know the language of your content, it is
+ /// recommended that you specify it. If the language isn't specified or
+ /// set to null, automatic language detection will choose the first
+ /// language detected and process with the selected language for the
+ /// duration of the file. It does not currently support dynamically
+ /// switching between languages after the first language is detected.
+ /// The automatic detection works best with audio recordings with
+ /// clearly discernable speech. If automatic detection fails to find
+ /// the language, transcription would fallback to 'en-US'." The list of
+ /// supported languages is available here:
+ /// https://go.microsoft.com/fwlink/?linkid=2109463
+ /// Dictionary containing key value
+ /// pairs for parameters not exposed in the preset itself
/// Defines the type of insights that
/// you want the service to generate. The allowed values are
/// 'AudioInsightsOnly', 'VideoInsightsOnly', and 'AllInsights'. The
@@ -61,8 +60,8 @@ public VideoAnalyzerPreset()
/// only. Your Jobs in such conditions would error out. Possible values
/// include: 'AudioInsightsOnly', 'VideoInsightsOnly',
/// 'AllInsights'
- public VideoAnalyzerPreset(string audioLanguage = default(string), InsightsType? insightsToExtract = default(InsightsType?))
- : base(audioLanguage)
+ public VideoAnalyzerPreset(string audioLanguage = default(string), IDictionary experimentalOptions = default(IDictionary), InsightsType? insightsToExtract = default(InsightsType?))
+ : base(audioLanguage, experimentalOptions)
{
InsightsToExtract = insightsToExtract;
CustomInit();