Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/mediaservices/mgmt-v2018_07_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-media</artifactId>
<version>1.0.0-beta-4</version>
<version>1.0.0-beta-5</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Media Management</name>
<description>This package contains Microsoft Media Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

package com.microsoft.azure.management.mediaservices.v2018_07_01;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
Expand All @@ -26,27 +27,30 @@
public class AudioAnalyzerPreset extends Preset {
/**
* 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'.".
* 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(value = "audioLanguage")
private String audioLanguage;

/**
* Get 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'.".
* Dictionary containing key value pairs for parameters not exposed in the
* preset itself.
*/
@JsonProperty(value = "experimentalOptions")
private Map<String, String> experimentalOptions;

/**
* Get the language for the audio payload in the input using 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.
*
* @return the audioLanguage value
*/
Expand All @@ -55,7 +59,7 @@ public String audioLanguage() {
}

/**
* Set 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'.".
* Set the language for the audio payload in the input using 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.
*
* @param audioLanguage the audioLanguage value to set
* @return the AudioAnalyzerPreset object itself.
Expand All @@ -65,4 +69,24 @@ public AudioAnalyzerPreset withAudioLanguage(String audioLanguage) {
return this;
}

/**
* Get dictionary containing key value pairs for parameters not exposed in the preset itself.
*
* @return the experimentalOptions value
*/
public Map<String, String> experimentalOptions() {
return this.experimentalOptions;
}

/**
* Set dictionary containing key value pairs for parameters not exposed in the preset itself.
*
* @param experimentalOptions the experimentalOptions value to set
* @return the AudioAnalyzerPreset object itself.
*/
public AudioAnalyzerPreset withExperimentalOptions(Map<String, String> experimentalOptions) {
this.experimentalOptions = experimentalOptions;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ public class BuiltInStandardEncoderPreset extends Preset {
* The built-in preset to be used for encoding videos. Possible values
* include: 'H264SingleBitrateSD', 'H264SingleBitrate720p',
* 'H264SingleBitrate1080p', 'AdaptiveStreaming', 'AACGoodQualityAudio',
* 'ContentAwareEncodingExperimental', 'H264MultipleBitrate1080p',
* 'H264MultipleBitrate720p', 'H264MultipleBitrateSD'.
* 'ContentAwareEncodingExperimental', 'ContentAwareEncoding',
* 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p',
* 'H264MultipleBitrateSD'.
*/
@JsonProperty(value = "presetName", required = true)
private EncoderNamedPreset presetName;

/**
* Get the built-in preset to be used for encoding videos. Possible values include: 'H264SingleBitrateSD', 'H264SingleBitrate720p', 'H264SingleBitrate1080p', 'AdaptiveStreaming', 'AACGoodQualityAudio', 'ContentAwareEncodingExperimental', 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', 'H264MultipleBitrateSD'.
* Get the built-in preset to be used for encoding videos. Possible values include: 'H264SingleBitrateSD', 'H264SingleBitrate720p', 'H264SingleBitrate1080p', 'AdaptiveStreaming', 'AACGoodQualityAudio', 'ContentAwareEncodingExperimental', 'ContentAwareEncoding', 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', 'H264MultipleBitrateSD'.
*
* @return the presetName value
*/
Expand All @@ -39,7 +40,7 @@ public EncoderNamedPreset presetName() {
}

/**
* Set the built-in preset to be used for encoding videos. Possible values include: 'H264SingleBitrateSD', 'H264SingleBitrate720p', 'H264SingleBitrate1080p', 'AdaptiveStreaming', 'AACGoodQualityAudio', 'ContentAwareEncodingExperimental', 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', 'H264MultipleBitrateSD'.
* Set the built-in preset to be used for encoding videos. Possible values include: 'H264SingleBitrateSD', 'H264SingleBitrate720p', 'H264SingleBitrate1080p', 'AdaptiveStreaming', 'AACGoodQualityAudio', 'ContentAwareEncodingExperimental', 'ContentAwareEncoding', 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', 'H264MultipleBitrateSD'.
*
* @param presetName the presetName value to set
* @return the BuiltInStandardEncoderPreset object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ContentKeyPolicyFairPlayConfiguration extends ContentKeyPolicyConfi

/**
* The rental and lease key type. Possible values include: 'Unknown',
* 'Undefined', 'PersistentUnlimited', 'PersistentLimited'.
* 'Undefined', 'DualExpiry', 'PersistentUnlimited', 'PersistentLimited'.
*/
@JsonProperty(value = "rentalAndLeaseKeyType", required = true)
private ContentKeyPolicyFairPlayRentalAndLeaseKeyType rentalAndLeaseKeyType;
Expand All @@ -50,6 +50,12 @@ public class ContentKeyPolicyFairPlayConfiguration extends ContentKeyPolicyConfi
@JsonProperty(value = "rentalDuration", required = true)
private long rentalDuration;

/**
* Offline rental policy.
*/
@JsonProperty(value = "offlineRentalConfiguration")
private ContentKeyPolicyFairPlayOfflineRentalConfiguration offlineRentalConfiguration;

/**
* Get the key that must be used as FairPlay Application Secret key.
*
Expand Down Expand Up @@ -111,7 +117,7 @@ public ContentKeyPolicyFairPlayConfiguration withFairPlayPfx(String fairPlayPfx)
}

/**
* Get the rental and lease key type. Possible values include: 'Unknown', 'Undefined', 'PersistentUnlimited', 'PersistentLimited'.
* Get the rental and lease key type. Possible values include: 'Unknown', 'Undefined', 'DualExpiry', 'PersistentUnlimited', 'PersistentLimited'.
*
* @return the rentalAndLeaseKeyType value
*/
Expand All @@ -120,7 +126,7 @@ public ContentKeyPolicyFairPlayRentalAndLeaseKeyType rentalAndLeaseKeyType() {
}

/**
* Set the rental and lease key type. Possible values include: 'Unknown', 'Undefined', 'PersistentUnlimited', 'PersistentLimited'.
* Set the rental and lease key type. Possible values include: 'Unknown', 'Undefined', 'DualExpiry', 'PersistentUnlimited', 'PersistentLimited'.
*
* @param rentalAndLeaseKeyType the rentalAndLeaseKeyType value to set
* @return the ContentKeyPolicyFairPlayConfiguration object itself.
Expand Down Expand Up @@ -150,4 +156,24 @@ public ContentKeyPolicyFairPlayConfiguration withRentalDuration(long rentalDurat
return this;
}

/**
* Get offline rental policy.
*
* @return the offlineRentalConfiguration value
*/
public ContentKeyPolicyFairPlayOfflineRentalConfiguration offlineRentalConfiguration() {
return this.offlineRentalConfiguration;
}

/**
* Set offline rental policy.
*
* @param offlineRentalConfiguration the offlineRentalConfiguration value to set
* @return the ContentKeyPolicyFairPlayConfiguration object itself.
*/
public ContentKeyPolicyFairPlayConfiguration withOfflineRentalConfiguration(ContentKeyPolicyFairPlayOfflineRentalConfiguration offlineRentalConfiguration) {
this.offlineRentalConfiguration = offlineRentalConfiguration;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/**
* 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.
*/

package com.microsoft.azure.management.mediaservices.v2018_07_01;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The ContentKeyPolicyFairPlayOfflineRentalConfiguration model.
*/
public class ContentKeyPolicyFairPlayOfflineRentalConfiguration {
/**
* Playback duration.
*/
@JsonProperty(value = "playbackDurationSeconds", required = true)
private long playbackDurationSeconds;

/**
* Storage duration.
*/
@JsonProperty(value = "storageDurationSeconds", required = true)
private long storageDurationSeconds;

/**
* Get playback duration.
*
* @return the playbackDurationSeconds value
*/
public long playbackDurationSeconds() {
return this.playbackDurationSeconds;
}

/**
* Set playback duration.
*
* @param playbackDurationSeconds the playbackDurationSeconds value to set
* @return the ContentKeyPolicyFairPlayOfflineRentalConfiguration object itself.
*/
public ContentKeyPolicyFairPlayOfflineRentalConfiguration withPlaybackDurationSeconds(long playbackDurationSeconds) {
this.playbackDurationSeconds = playbackDurationSeconds;
return this;
}

/**
* Get storage duration.
*
* @return the storageDurationSeconds value
*/
public long storageDurationSeconds() {
return this.storageDurationSeconds;
}

/**
* Set storage duration.
*
* @param storageDurationSeconds the storageDurationSeconds value to set
* @return the ContentKeyPolicyFairPlayOfflineRentalConfiguration object itself.
*/
public ContentKeyPolicyFairPlayOfflineRentalConfiguration withStorageDurationSeconds(long storageDurationSeconds) {
this.storageDurationSeconds = storageDurationSeconds;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public final class ContentKeyPolicyFairPlayRentalAndLeaseKeyType extends Expanda
/** Static value Undefined for ContentKeyPolicyFairPlayRentalAndLeaseKeyType. */
public static final ContentKeyPolicyFairPlayRentalAndLeaseKeyType UNDEFINED = fromString("Undefined");

/** Static value DualExpiry for ContentKeyPolicyFairPlayRentalAndLeaseKeyType. */
public static final ContentKeyPolicyFairPlayRentalAndLeaseKeyType DUAL_EXPIRY = fromString("DualExpiry");

/** Static value PersistentUnlimited for ContentKeyPolicyFairPlayRentalAndLeaseKeyType. */
public static final ContentKeyPolicyFairPlayRentalAndLeaseKeyType PERSISTENT_UNLIMITED = fromString("PersistentUnlimited");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public final class EncoderNamedPreset extends ExpandableStringEnum<EncoderNamedP
/** Static value ContentAwareEncodingExperimental for EncoderNamedPreset. */
public static final EncoderNamedPreset CONTENT_AWARE_ENCODING_EXPERIMENTAL = fromString("ContentAwareEncodingExperimental");

/** Static value ContentAwareEncoding for EncoderNamedPreset. */
public static final EncoderNamedPreset CONTENT_AWARE_ENCODING = fromString("ContentAwareEncoding");

/** Static value H264MultipleBitrate1080p for EncoderNamedPreset. */
public static final EncoderNamedPreset H264MULTIPLE_BITRATE1080P = fromString("H264MultipleBitrate1080p");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

package com.microsoft.azure.management.mediaservices.v2018_07_01;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
Expand Down Expand Up @@ -37,6 +38,13 @@ public class FaceDetectorPreset extends Preset {
@JsonProperty(value = "resolution")
private AnalysisResolution resolution;

/**
* Dictionary containing key value pairs for parameters not exposed in the
* preset itself.
*/
@JsonProperty(value = "experimentalOptions")
private Map<String, String> experimentalOptions;

/**
* Get 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. Possible values include: 'SourceResolution', 'StandardDefinition'.
*
Expand All @@ -57,4 +65,24 @@ public FaceDetectorPreset withResolution(AnalysisResolution resolution) {
return this;
}

/**
* Get dictionary containing key value pairs for parameters not exposed in the preset itself.
*
* @return the experimentalOptions value
*/
public Map<String, String> experimentalOptions() {
return this.experimentalOptions;
}

/**
* Set dictionary containing key value pairs for parameters not exposed in the preset itself.
*
* @param experimentalOptions the experimentalOptions value to set
* @return the FaceDetectorPreset object itself.
*/
public FaceDetectorPreset withExperimentalOptions(Map<String, String> experimentalOptions) {
this.experimentalOptions = experimentalOptions;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ public interface Job extends HasInner<JobInner>, Indexable, Refreshable<Job>, Up
*/
String description();

/**
* @return the endTime value.
*/
DateTime endTime();

/**
* @return the id value.
*/
Expand Down Expand Up @@ -70,6 +75,11 @@ public interface Job extends HasInner<JobInner>, Indexable, Refreshable<Job>, Up
*/
Priority priority();

/**
* @return the startTime value.
*/
DateTime startTime();

/**
* @return the state value.
*/
Expand Down
Loading