Skip to content

Commit 57abfd6

Browse files
author
SDKAuto
committed
CodeGen from PR 11736 in Azure/azure-rest-api-specs
Merge 395ef8b15d512c2c85a51dd8b86a5e33ed01ce3c into a4e2481b68419504368711274d6994667ea8f5be
1 parent 5f6d50b commit 57abfd6

Some content is hidden

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

56 files changed

+7507
-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.loganalytics.v2020_10_01</groupId>
11+
<parent>
12+
<groupId>com.microsoft.azure</groupId>
13+
<artifactId>azure-arm-parent</artifactId>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
16+
</parent>
17+
<artifactId>azure-mgmt-loganalytics</artifactId>
18+
<version>1.0.0-beta</version>
19+
<packaging>jar</packaging>
20+
<name>Microsoft Azure SDK for LogAnalytics Management</name>
21+
<description>This package contains Microsoft LogAnalytics 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,77 @@
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.loganalytics.v2020_10_01;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* The list of Log Analytics workspaces associated with the cluster.
15+
*/
16+
public class AssociatedWorkspace {
17+
/**
18+
* The id of the assigned workspace.
19+
*/
20+
@JsonProperty(value = "workspaceId", access = JsonProperty.Access.WRITE_ONLY)
21+
private String workspaceId;
22+
23+
/**
24+
* The name id the assigned workspace.
25+
*/
26+
@JsonProperty(value = "workspaceName", access = JsonProperty.Access.WRITE_ONLY)
27+
private String workspaceName;
28+
29+
/**
30+
* The ResourceId id the assigned workspace.
31+
*/
32+
@JsonProperty(value = "resourceId", access = JsonProperty.Access.WRITE_ONLY)
33+
private String resourceId;
34+
35+
/**
36+
* The time of workspace association.
37+
*/
38+
@JsonProperty(value = "associateDate", access = JsonProperty.Access.WRITE_ONLY)
39+
private String associateDate;
40+
41+
/**
42+
* Get the id of the assigned workspace.
43+
*
44+
* @return the workspaceId value
45+
*/
46+
public String workspaceId() {
47+
return this.workspaceId;
48+
}
49+
50+
/**
51+
* Get the name id the assigned workspace.
52+
*
53+
* @return the workspaceName value
54+
*/
55+
public String workspaceName() {
56+
return this.workspaceName;
57+
}
58+
59+
/**
60+
* Get the ResourceId id the assigned workspace.
61+
*
62+
* @return the resourceId value
63+
*/
64+
public String resourceId() {
65+
return this.resourceId;
66+
}
67+
68+
/**
69+
* Get the time of workspace association.
70+
*
71+
* @return the associateDate value
72+
*/
73+
public String associateDate() {
74+
return this.associateDate;
75+
}
76+
77+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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.loganalytics.v2020_10_01;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
import com.microsoft.azure.ProxyResource;
13+
14+
/**
15+
* The resource model definition for an Azure Resource Manager resource with an
16+
* etag.
17+
*/
18+
public class AzureEntityResource extends ProxyResource {
19+
/**
20+
* Resource Etag.
21+
*/
22+
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
23+
private String etag;
24+
25+
/**
26+
* Get resource Etag.
27+
*
28+
* @return the etag value
29+
*/
30+
public String etag() {
31+
return this.etag;
32+
}
33+
34+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.loganalytics.v2020_10_01;
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 BillingType.
17+
*/
18+
public final class BillingType extends ExpandableStringEnum<BillingType> {
19+
/** Static value Cluster for BillingType. */
20+
public static final BillingType CLUSTER = fromString("Cluster");
21+
22+
/** Static value Workspaces for BillingType. */
23+
public static final BillingType WORKSPACES = fromString("Workspaces");
24+
25+
/**
26+
* Creates or finds a BillingType from its string representation.
27+
* @param name a name to look for
28+
* @return the corresponding BillingType
29+
*/
30+
@JsonCreator
31+
public static BillingType fromString(String name) {
32+
return fromString(name, BillingType.class);
33+
}
34+
35+
/**
36+
* @return known BillingType values
37+
*/
38+
public static Collection<BillingType> values() {
39+
return values(BillingType.class);
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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.loganalytics.v2020_10_01;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* The Capacity Reservation properties.
15+
*/
16+
public class CapacityReservationProperties {
17+
/**
18+
* The last time Sku was updated.
19+
*/
20+
@JsonProperty(value = "lastSkuUpdate", access = JsonProperty.Access.WRITE_ONLY)
21+
private String lastSkuUpdate;
22+
23+
/**
24+
* Minimum CapacityReservation value in GB.
25+
*/
26+
@JsonProperty(value = "minCapacity", access = JsonProperty.Access.WRITE_ONLY)
27+
private Long minCapacity;
28+
29+
/**
30+
* Maximum CapacityReservation value in GB.
31+
*/
32+
@JsonProperty(value = "maxCapacity", access = JsonProperty.Access.WRITE_ONLY)
33+
private Long maxCapacity;
34+
35+
/**
36+
* Get the last time Sku was updated.
37+
*
38+
* @return the lastSkuUpdate value
39+
*/
40+
public String lastSkuUpdate() {
41+
return this.lastSkuUpdate;
42+
}
43+
44+
/**
45+
* Get minimum CapacityReservation value in GB.
46+
*
47+
* @return the minCapacity value
48+
*/
49+
public Long minCapacity() {
50+
return this.minCapacity;
51+
}
52+
53+
/**
54+
* Get maximum CapacityReservation value in GB.
55+
*
56+
* @return the maxCapacity value
57+
*/
58+
public Long maxCapacity() {
59+
return this.maxCapacity;
60+
}
61+
62+
}

0 commit comments

Comments
 (0)