Skip to content

Commit 634c5c8

Browse files
authored
mgmt compute generate 2020-10-01-preview (Azure#18874)
* mgmt compute generate 2020-10-01-preview * fix compile errors
1 parent 9c76ab0 commit 634c5c8

File tree

596 files changed

+107918
-0
lines changed

Some content is hidden

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

596 files changed

+107918
-0
lines changed
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
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.compute.v2020_10_01_preview</groupId>
11+
<parent>
12+
<groupId>com.microsoft.azure</groupId>
13+
<artifactId>azure-arm-parent</artifactId>
14+
<version>1.3.2</version>
15+
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
16+
</parent>
17+
<artifactId>azure-mgmt-compute</artifactId>
18+
<version>1.0.0-beta</version>
19+
<packaging>jar</packaging>
20+
<name>Microsoft Azure SDK for Compute Management</name>
21+
<description>This package contains Microsoft Compute 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:git@github.com: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+
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
75+
<version>1.6.5</version>
76+
</dependency>
77+
</dependencies>
78+
<build>
79+
<plugins>
80+
<plugin>
81+
<groupId>org.apache.maven.plugins</groupId>
82+
<artifactId>maven-jar-plugin</artifactId>
83+
<configuration>
84+
<archive>
85+
<manifest>
86+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
87+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
88+
</manifest>
89+
</archive>
90+
</configuration>
91+
</plugin>
92+
<plugin>
93+
<groupId>org.codehaus.mojo</groupId>
94+
<artifactId>build-helper-maven-plugin</artifactId>
95+
</plugin>
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-compiler-plugin</artifactId>
99+
<version>3.1</version>
100+
<configuration>
101+
<source>1.7</source>
102+
<target>1.7</target>
103+
<annotationProcessors>
104+
<annotationProcessor>
105+
com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
106+
</annotationProcessor>
107+
</annotationProcessors>
108+
<debug>true</debug>
109+
<optimize>true</optimize>
110+
<compilerArguments>
111+
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation>
112+
<Adebug>true</Adebug>
113+
</compilerArguments>
114+
</configuration>
115+
</plugin>
116+
<plugin>
117+
<groupId>org.apache.maven.plugins</groupId>
118+
<artifactId>maven-javadoc-plugin</artifactId>
119+
<version>2.8</version>
120+
<configuration>
121+
<excludePackageNames>*.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search</excludePackageNames>
122+
<bottom>
123+
<![CDATA[<code>
124+
/**
125+
<br />* Copyright (c) Microsoft Corporation. All rights reserved.
126+
<br />* Licensed under the MIT License. See License.txt in the project root for
127+
<br />* license information.
128+
<br />*/
129+
</code>]]>
130+
</bottom>
131+
</configuration>
132+
</plugin>
133+
</plugins>
134+
</build>
135+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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.compute.v2020_10_01_preview;
10+
11+
import java.util.Collection;
12+
import com.fasterxml.jackson.annotation.JsonCreator;
13+
import com.microsoft.rest.ExpandableStringEnum;
14+
15+
/**
16+
* Defines values for AccessLevel.
17+
*/
18+
public final class AccessLevel extends ExpandableStringEnum<AccessLevel> {
19+
/** Static value None for AccessLevel. */
20+
public static final AccessLevel NONE = fromString("None");
21+
22+
/** Static value Read for AccessLevel. */
23+
public static final AccessLevel READ = fromString("Read");
24+
25+
/** Static value Write for AccessLevel. */
26+
public static final AccessLevel WRITE = fromString("Write");
27+
28+
/**
29+
* Creates or finds a AccessLevel from its string representation.
30+
* @param name a name to look for
31+
* @return the corresponding AccessLevel
32+
*/
33+
@JsonCreator
34+
public static AccessLevel fromString(String name) {
35+
return fromString(name, AccessLevel.class);
36+
}
37+
38+
/**
39+
* @return known AccessLevel values
40+
*/
41+
public static Collection<AccessLevel> values() {
42+
return values(AccessLevel.class);
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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.compute.v2020_10_01_preview;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.arm.resources.models.HasManager;
13+
import com.microsoft.azure.management.compute.v2020_10_01_preview.implementation.ComputeManager;
14+
import com.microsoft.azure.management.compute.v2020_10_01_preview.implementation.AccessUriInner;
15+
16+
/**
17+
* Type representing AccessUri.
18+
*/
19+
public interface AccessUri extends HasInner<AccessUriInner>, HasManager<ComputeManager> {
20+
/**
21+
* @return the accessSAS value.
22+
*/
23+
String accessSAS();
24+
25+
}
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.compute.v2020_10_01_preview;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* Enables or disables a capability on the virtual machine or virtual machine
15+
* scale set.
16+
*/
17+
public class AdditionalCapabilities {
18+
/**
19+
* The flag that enables or disables a capability to have one or more
20+
* managed data disks with UltraSSD_LRS storage account type on the VM or
21+
* VMSS. Managed disks with storage account type UltraSSD_LRS can be added
22+
* to a virtual machine or virtual machine scale set only if this property
23+
* is enabled.
24+
*/
25+
@JsonProperty(value = "ultraSSDEnabled")
26+
private Boolean ultraSSDEnabled;
27+
28+
/**
29+
* Get the flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
30+
*
31+
* @return the ultraSSDEnabled value
32+
*/
33+
public Boolean ultraSSDEnabled() {
34+
return this.ultraSSDEnabled;
35+
}
36+
37+
/**
38+
* Set the flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
39+
*
40+
* @param ultraSSDEnabled the ultraSSDEnabled value to set
41+
* @return the AdditionalCapabilities object itself.
42+
*/
43+
public AdditionalCapabilities withUltraSSDEnabled(Boolean ultraSSDEnabled) {
44+
this.ultraSSDEnabled = ultraSSDEnabled;
45+
return this;
46+
}
47+
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
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.compute.v2020_10_01_preview;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* Specifies additional XML formatted information that can be included in the
15+
* Unattend.xml file, which is used by Windows Setup. Contents are defined by
16+
* setting name, component name, and the pass in which the content is applied.
17+
*/
18+
public class AdditionalUnattendContent {
19+
/**
20+
* The pass name. Currently, the only allowable value is OobeSystem.
21+
* Possible values include: 'OobeSystem'.
22+
*/
23+
@JsonProperty(value = "passName")
24+
private PassNames passName;
25+
26+
/**
27+
* The component name. Currently, the only allowable value is
28+
* Microsoft-Windows-Shell-Setup. Possible values include:
29+
* 'Microsoft-Windows-Shell-Setup'.
30+
*/
31+
@JsonProperty(value = "componentName")
32+
private ComponentNames componentName;
33+
34+
/**
35+
* Specifies the name of the setting to which the content applies. Possible
36+
* values are: FirstLogonCommands and AutoLogon. Possible values include:
37+
* 'AutoLogon', 'FirstLogonCommands'.
38+
*/
39+
@JsonProperty(value = "settingName")
40+
private SettingNames settingName;
41+
42+
/**
43+
* Specifies the XML formatted content that is added to the unattend.xml
44+
* file for the specified path and component. The XML must be less than 4KB
45+
* and must include the root element for the setting or feature that is
46+
* being inserted.
47+
*/
48+
@JsonProperty(value = "content")
49+
private String content;
50+
51+
/**
52+
* Get the pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'.
53+
*
54+
* @return the passName value
55+
*/
56+
public PassNames passName() {
57+
return this.passName;
58+
}
59+
60+
/**
61+
* Set the pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'.
62+
*
63+
* @param passName the passName value to set
64+
* @return the AdditionalUnattendContent object itself.
65+
*/
66+
public AdditionalUnattendContent withPassName(PassNames passName) {
67+
this.passName = passName;
68+
return this;
69+
}
70+
71+
/**
72+
* Get the component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'Microsoft-Windows-Shell-Setup'.
73+
*
74+
* @return the componentName value
75+
*/
76+
public ComponentNames componentName() {
77+
return this.componentName;
78+
}
79+
80+
/**
81+
* Set the component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'Microsoft-Windows-Shell-Setup'.
82+
*
83+
* @param componentName the componentName value to set
84+
* @return the AdditionalUnattendContent object itself.
85+
*/
86+
public AdditionalUnattendContent withComponentName(ComponentNames componentName) {
87+
this.componentName = componentName;
88+
return this;
89+
}
90+
91+
/**
92+
* Get specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'.
93+
*
94+
* @return the settingName value
95+
*/
96+
public SettingNames settingName() {
97+
return this.settingName;
98+
}
99+
100+
/**
101+
* Set specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'.
102+
*
103+
* @param settingName the settingName value to set
104+
* @return the AdditionalUnattendContent object itself.
105+
*/
106+
public AdditionalUnattendContent withSettingName(SettingNames settingName) {
107+
this.settingName = settingName;
108+
return this;
109+
}
110+
111+
/**
112+
* Get specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
113+
*
114+
* @return the content value
115+
*/
116+
public String content() {
117+
return this.content;
118+
}
119+
120+
/**
121+
* Set specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
122+
*
123+
* @param content the content value to set
124+
* @return the AdditionalUnattendContent object itself.
125+
*/
126+
public AdditionalUnattendContent withContent(String content) {
127+
this.content = content;
128+
return this;
129+
}
130+
131+
}

0 commit comments

Comments
 (0)