Skip to content

Commit d2f9a79

Browse files
author
SDK Automation
committed
Generated from 4b9ce59c5d971851a46d1fa96ccfb4851bf6c83c
Add new API version 2019-08-01
1 parent ea2f43a commit d2f9a79

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+6379
-0
lines changed
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
<!--
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
-->
8+
<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">
9+
<modelVersion>4.0.0</modelVersion>
10+
<groupId>com.microsoft.azure.batch.v2017_01_01</groupId>
11+
<parent>
12+
<groupId>com.microsoft.azure</groupId>
13+
<artifactId>azure-arm-parent</artifactId>
14+
<version>0.0.3-beta</version>
15+
<relativePath>../../../pom.xml</relativePath>
16+
</parent>
17+
<artifactId>azure-mgmt-batch</artifactId>
18+
<version>1.0.0-beta</version>
19+
<packaging>jar</packaging>
20+
<name>Microsoft Azure SDK for Batch Management</name>
21+
<description>This package contains Microsoft Batch Management SDK.</description>
22+
<url>https://github.com/Azure/azure-sdk-for-java</url>
23+
<licenses>
24+
<license>
25+
<name>The MIT License (MIT)</name>
26+
<url>http://opensource.org/licenses/MIT</url>
27+
<distribution>repo</distribution>
28+
</license>
29+
</licenses>
30+
<scm>
31+
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
32+
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
33+
<tag>HEAD</tag>
34+
</scm>
35+
<properties>
36+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37+
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal>
38+
</properties>
39+
<developers>
40+
<developer>
41+
<id>microsoft</id>
42+
<name>Microsoft</name>
43+
</developer>
44+
</developers>
45+
<dependencies>
46+
<dependency>
47+
<groupId>com.microsoft.azure</groupId>
48+
<artifactId>azure-client-runtime</artifactId>
49+
</dependency>
50+
<dependency>
51+
<groupId>com.microsoft.azure</groupId>
52+
<artifactId>azure-arm-client-runtime</artifactId>
53+
</dependency>
54+
<dependency>
55+
<groupId>junit</groupId>
56+
<artifactId>junit</artifactId>
57+
<scope>test</scope>
58+
</dependency>
59+
<dependency>
60+
<groupId>com.microsoft.azure</groupId>
61+
<artifactId>azure-client-authentication</artifactId>
62+
<scope>test</scope>
63+
</dependency>
64+
<dependency>
65+
<groupId>com.microsoft.azure</groupId>
66+
<artifactId>azure-mgmt-resources</artifactId>
67+
<scope>test</scope>
68+
</dependency>
69+
<dependency>
70+
<groupId>com.microsoft.azure</groupId>
71+
<artifactId>azure-arm-client-runtime</artifactId>
72+
<type>test-jar</type>
73+
<scope>test</scope>
74+
</dependency>
75+
</dependencies>
76+
<build>
77+
<plugins>
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-jar-plugin</artifactId>
81+
<configuration>
82+
<archive>
83+
<manifest>
84+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
85+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
86+
</manifest>
87+
</archive>
88+
</configuration>
89+
</plugin>
90+
<plugin>
91+
<groupId>org.codehaus.mojo</groupId>
92+
<artifactId>build-helper-maven-plugin</artifactId>
93+
</plugin>
94+
<plugin>
95+
<groupId>org.apache.maven.plugins</groupId>
96+
<artifactId>maven-compiler-plugin</artifactId>
97+
<version>3.1</version>
98+
<configuration>
99+
<source>1.7</source>
100+
<target>1.7</target>
101+
<annotationProcessors>
102+
<annotationProcessor>
103+
com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
104+
</annotationProcessor>
105+
</annotationProcessors>
106+
<debug>true</debug>
107+
<optimize>true</optimize>
108+
<compilerArguments>
109+
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation>
110+
<Adebug>true</Adebug>
111+
</compilerArguments>
112+
</configuration>
113+
</plugin>
114+
<plugin>
115+
<groupId>org.apache.maven.plugins</groupId>
116+
<artifactId>maven-javadoc-plugin</artifactId>
117+
<version>2.8</version>
118+
<configuration>
119+
<excludePackageNames>*.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search</excludePackageNames>
120+
<bottom>
121+
<![CDATA[<code>
122+
/**
123+
<br />* Copyright (c) Microsoft Corporation. All rights reserved.
124+
<br />* Licensed under the MIT License. See License.txt in the project root for
125+
<br />* license information.
126+
<br />*/
127+
</code>]]>
128+
</bottom>
129+
</configuration>
130+
</plugin>
131+
</plugins>
132+
</build>
133+
</project>
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.batch.v2017_01_01;
10+
11+
import com.fasterxml.jackson.annotation.JsonCreator;
12+
import com.fasterxml.jackson.annotation.JsonValue;
13+
14+
/**
15+
* Defines values for AccountKeyType.
16+
*/
17+
public enum AccountKeyType {
18+
/** Enum value Primary. */
19+
PRIMARY("Primary"),
20+
21+
/** Enum value Secondary. */
22+
SECONDARY("Secondary");
23+
24+
/** The actual serialized value for a AccountKeyType instance. */
25+
private String value;
26+
27+
AccountKeyType(String value) {
28+
this.value = value;
29+
}
30+
31+
/**
32+
* Parses a serialized value to a AccountKeyType instance.
33+
*
34+
* @param value the serialized value to parse.
35+
* @return the parsed AccountKeyType object, or null if unable to parse.
36+
*/
37+
@JsonCreator
38+
public static AccountKeyType fromString(String value) {
39+
AccountKeyType[] items = AccountKeyType.values();
40+
for (AccountKeyType item : items) {
41+
if (item.toString().equalsIgnoreCase(value)) {
42+
return item;
43+
}
44+
}
45+
return null;
46+
}
47+
48+
@JsonValue
49+
@Override
50+
public String toString() {
51+
return this.value;
52+
}
53+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.batch.v2017_01_01;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* Parameters for an ApplicationOperations.ActivateApplicationPackage request.
15+
*/
16+
public class ActivateApplicationPackageParameters {
17+
/**
18+
* The format of the application package binary file.
19+
*/
20+
@JsonProperty(value = "format", required = true)
21+
private String format;
22+
23+
/**
24+
* Get the format of the application package binary file.
25+
*
26+
* @return the format value
27+
*/
28+
public String format() {
29+
return this.format;
30+
}
31+
32+
/**
33+
* Set the format of the application package binary file.
34+
*
35+
* @param format the format value to set
36+
* @return the ActivateApplicationPackageParameters object itself.
37+
*/
38+
public ActivateApplicationPackageParameters withFormat(String format) {
39+
this.format = format;
40+
return this;
41+
}
42+
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.batch.v2017_01_01;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* Parameters for an ApplicationOperations.AddApplication request.
15+
*/
16+
public class AddApplicationParameters {
17+
/**
18+
* A value indicating whether packages within the application may be
19+
* overwritten using the same version string.
20+
*/
21+
@JsonProperty(value = "allowUpdates")
22+
private Boolean allowUpdates;
23+
24+
/**
25+
* The display name for the application.
26+
*/
27+
@JsonProperty(value = "displayName")
28+
private String displayName;
29+
30+
/**
31+
* Get a value indicating whether packages within the application may be overwritten using the same version string.
32+
*
33+
* @return the allowUpdates value
34+
*/
35+
public Boolean allowUpdates() {
36+
return this.allowUpdates;
37+
}
38+
39+
/**
40+
* Set a value indicating whether packages within the application may be overwritten using the same version string.
41+
*
42+
* @param allowUpdates the allowUpdates value to set
43+
* @return the AddApplicationParameters object itself.
44+
*/
45+
public AddApplicationParameters withAllowUpdates(Boolean allowUpdates) {
46+
this.allowUpdates = allowUpdates;
47+
return this;
48+
}
49+
50+
/**
51+
* Get the display name for the application.
52+
*
53+
* @return the displayName value
54+
*/
55+
public String displayName() {
56+
return this.displayName;
57+
}
58+
59+
/**
60+
* Set the display name for the application.
61+
*
62+
* @param displayName the displayName value to set
63+
* @return the AddApplicationParameters object itself.
64+
*/
65+
public AddApplicationParameters withDisplayName(String displayName) {
66+
this.displayName = displayName;
67+
return this;
68+
}
69+
70+
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.batch.v2017_01_01;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.management.batch.v2017_01_01.implementation.ApplicationInner;
13+
import com.microsoft.azure.arm.model.Indexable;
14+
import com.microsoft.azure.arm.model.Refreshable;
15+
import com.microsoft.azure.arm.resources.models.HasManager;
16+
import com.microsoft.azure.management.batch.v2017_01_01.implementation.BatchManager;
17+
import java.util.List;
18+
19+
/**
20+
* Type representing Application.
21+
*/
22+
public interface Application extends HasInner<ApplicationInner>, Indexable, Refreshable<Application>, HasManager<BatchManager> {
23+
/**
24+
* @return the allowUpdates value.
25+
*/
26+
Boolean allowUpdates();
27+
28+
/**
29+
* @return the defaultVersion value.
30+
*/
31+
String defaultVersion();
32+
33+
/**
34+
* @return the displayName value.
35+
*/
36+
String displayName();
37+
38+
/**
39+
* @return the id value.
40+
*/
41+
String id();
42+
43+
/**
44+
* @return the packages value.
45+
*/
46+
List<ApplicationPackage> packages();
47+
48+
}

0 commit comments

Comments
 (0)