Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
135 changes: 135 additions & 0 deletions sdk/mediaservices/mgmt-v2020_05_01/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
<!--
* 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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure.mediaservices.v2020_05_01</groupId>
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-media</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Media Management</name>
<description>This package contains Microsoft Media Management SDK.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal>
</properties>
<developers>
<developer>
<id>microsoft</id>
<name>Microsoft</name>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-authentication</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<annotationProcessors>
<annotationProcessor>
com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
</annotationProcessor>
</annotationProcessors>
<debug>true</debug>
<optimize>true</optimize>
<compilerArguments>
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation>
<Adebug>true</Adebug>
</compilerArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<excludePackageNames>*.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search</excludePackageNames>
<bottom>
<![CDATA[<code>
/**
<br />* Copyright (c) Microsoft Corporation. All rights reserved.
<br />* Licensed under the MIT License. See License.txt in the project root for
<br />* license information.
<br />*/
</code>]]>
</bottom>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/**
* 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.v2020_05_01;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* Describes Advanced Audio Codec (AAC) audio encoding settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "@odata\\.type", defaultImpl = AacAudio.class)
@JsonTypeName("#Microsoft.Media.AacAudio")
public class AacAudio extends Audio {
/**
* The encoding profile to be used when encoding audio with AAC. Possible
* values include: 'AacLc', 'HeAacV1', 'HeAacV2'.
*/
@JsonProperty(value = "profile")
private AacAudioProfile profile;

/**
* Get the encoding profile to be used when encoding audio with AAC. Possible values include: 'AacLc', 'HeAacV1', 'HeAacV2'.
*
* @return the profile value
*/
public AacAudioProfile profile() {
return this.profile;
}

/**
* Set the encoding profile to be used when encoding audio with AAC. Possible values include: 'AacLc', 'HeAacV1', 'HeAacV2'.
*
* @param profile the profile value to set
* @return the AacAudio object itself.
*/
public AacAudio withProfile(AacAudioProfile profile) {
this.profile = profile;
return this;
}

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

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for AacAudioProfile.
*/
public final class AacAudioProfile extends ExpandableStringEnum<AacAudioProfile> {
/** Static value AacLc for AacAudioProfile. */
public static final AacAudioProfile AAC_LC = fromString("AacLc");

/** Static value HeAacV1 for AacAudioProfile. */
public static final AacAudioProfile HE_AAC_V1 = fromString("HeAacV1");

/** Static value HeAacV2 for AacAudioProfile. */
public static final AacAudioProfile HE_AAC_V2 = fromString("HeAacV2");

/**
* Creates or finds a AacAudioProfile from its string representation.
* @param name a name to look for
* @return the corresponding AacAudioProfile
*/
@JsonCreator
public static AacAudioProfile fromString(String name) {
return fromString(name, AacAudioProfile.class);
}

/**
* @return known AacAudioProfile values
*/
public static Collection<AacAudioProfile> values() {
return values(AacAudioProfile.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/**
* 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.v2020_05_01;

import org.joda.time.Period;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* 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.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "@odata\\.type", defaultImpl = AbsoluteClipTime.class)
@JsonTypeName("#Microsoft.Media.AbsoluteClipTime")
public class AbsoluteClipTime extends ClipTime {
/**
* The time position on the timeline of the input media. It is usually
* specified as an ISO8601 period. e.g PT30S for 30 seconds.
*/
@JsonProperty(value = "time", required = true)
private Period time;

/**
* Get the time position on the timeline of the input media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds.
*
* @return the time value
*/
public Period time() {
return this.time;
}

/**
* Set the time position on the timeline of the input media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds.
*
* @param time the time value to set
* @return the AbsoluteClipTime object itself.
*/
public AbsoluteClipTime withTime(Period time) {
this.time = time;
return this;
}

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

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The AccountEncryption model.
*/
public class AccountEncryption {
/**
* The type of key used to encrypt the Account Key. Possible values
* include: 'SystemKey', 'CustomerKey'.
*/
@JsonProperty(value = "type", required = true)
private AccountEncryptionKeyType type;

/**
* The properties of the key used to encrypt the account.
*/
@JsonProperty(value = "keyVaultProperties")
private KeyVaultProperties keyVaultProperties;

/**
* Get the type of key used to encrypt the Account Key. Possible values include: 'SystemKey', 'CustomerKey'.
*
* @return the type value
*/
public AccountEncryptionKeyType type() {
return this.type;
}

/**
* Set the type of key used to encrypt the Account Key. Possible values include: 'SystemKey', 'CustomerKey'.
*
* @param type the type value to set
* @return the AccountEncryption object itself.
*/
public AccountEncryption withType(AccountEncryptionKeyType type) {
this.type = type;
return this;
}

/**
* Get the properties of the key used to encrypt the account.
*
* @return the keyVaultProperties value
*/
public KeyVaultProperties keyVaultProperties() {
return this.keyVaultProperties;
}

/**
* Set the properties of the key used to encrypt the account.
*
* @param keyVaultProperties the keyVaultProperties value to set
* @return the AccountEncryption object itself.
*/
public AccountEncryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties) {
this.keyVaultProperties = keyVaultProperties;
return this;
}

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

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for AccountEncryptionKeyType.
*/
public final class AccountEncryptionKeyType extends ExpandableStringEnum<AccountEncryptionKeyType> {
/** Static value SystemKey for AccountEncryptionKeyType. */
public static final AccountEncryptionKeyType SYSTEM_KEY = fromString("SystemKey");

/** Static value CustomerKey for AccountEncryptionKeyType. */
public static final AccountEncryptionKeyType CUSTOMER_KEY = fromString("CustomerKey");

/**
* Creates or finds a AccountEncryptionKeyType from its string representation.
* @param name a name to look for
* @return the corresponding AccountEncryptionKeyType
*/
@JsonCreator
public static AccountEncryptionKeyType fromString(String name) {
return fromString(name, AccountEncryptionKeyType.class);
}

/**
* @return known AccountEncryptionKeyType values
*/
public static Collection<AccountEncryptionKeyType> values() {
return values(AccountEncryptionKeyType.class);
}
}
Loading