Skip to content

Commit fdb4995

Browse files
authored
mgmt storagecache generate package-2020-10-01 (Azure#18950)
1 parent c9d0b97 commit fdb4995

File tree

92 files changed

+11829
-1
lines changed

Some content is hidden

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

92 files changed

+11829
-1
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.storagecache.v2020_10_01</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-storagecache</artifactId>
18+
<version>1.0.0-beta</version>
19+
<packaging>jar</packaging>
20+
<name>Microsoft Azure SDK for StorageCache Management</name>
21+
<description>This package contains Microsoft StorageCache 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,45 @@
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.storagecache.v2020_10_01;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.arm.resources.models.HasManager;
13+
import com.microsoft.azure.management.storagecache.v2020_10_01.implementation.StorageCacheManager;
14+
import com.microsoft.azure.management.storagecache.v2020_10_01.implementation.ApiOperationInner;
15+
16+
/**
17+
* Type representing ApiOperation.
18+
*/
19+
public interface ApiOperation extends HasInner<ApiOperationInner>, HasManager<StorageCacheManager> {
20+
/**
21+
* @return the display value.
22+
*/
23+
ApiOperationDisplay display();
24+
25+
/**
26+
* @return the isDataAction value.
27+
*/
28+
Boolean isDataAction();
29+
30+
/**
31+
* @return the name value.
32+
*/
33+
String name();
34+
35+
/**
36+
* @return the origin value.
37+
*/
38+
String origin();
39+
40+
/**
41+
* @return the serviceSpecification value.
42+
*/
43+
ApiOperationPropertiesServiceSpecification serviceSpecification();
44+
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
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.storagecache.v2020_10_01;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* The object that represents the operation.
15+
*/
16+
public class ApiOperationDisplay {
17+
/**
18+
* Operation type: Read, write, delete, etc.
19+
*/
20+
@JsonProperty(value = "operation")
21+
private String operation;
22+
23+
/**
24+
* Service provider: Microsoft.StorageCache.
25+
*/
26+
@JsonProperty(value = "provider")
27+
private String provider;
28+
29+
/**
30+
* Resource on which the operation is performed: Cache, etc.
31+
*/
32+
@JsonProperty(value = "resource")
33+
private String resource;
34+
35+
/**
36+
* The description of the operation.
37+
*/
38+
@JsonProperty(value = "description")
39+
private String description;
40+
41+
/**
42+
* Get operation type: Read, write, delete, etc.
43+
*
44+
* @return the operation value
45+
*/
46+
public String operation() {
47+
return this.operation;
48+
}
49+
50+
/**
51+
* Set operation type: Read, write, delete, etc.
52+
*
53+
* @param operation the operation value to set
54+
* @return the ApiOperationDisplay object itself.
55+
*/
56+
public ApiOperationDisplay withOperation(String operation) {
57+
this.operation = operation;
58+
return this;
59+
}
60+
61+
/**
62+
* Get service provider: Microsoft.StorageCache.
63+
*
64+
* @return the provider value
65+
*/
66+
public String provider() {
67+
return this.provider;
68+
}
69+
70+
/**
71+
* Set service provider: Microsoft.StorageCache.
72+
*
73+
* @param provider the provider value to set
74+
* @return the ApiOperationDisplay object itself.
75+
*/
76+
public ApiOperationDisplay withProvider(String provider) {
77+
this.provider = provider;
78+
return this;
79+
}
80+
81+
/**
82+
* Get resource on which the operation is performed: Cache, etc.
83+
*
84+
* @return the resource value
85+
*/
86+
public String resource() {
87+
return this.resource;
88+
}
89+
90+
/**
91+
* Set resource on which the operation is performed: Cache, etc.
92+
*
93+
* @param resource the resource value to set
94+
* @return the ApiOperationDisplay object itself.
95+
*/
96+
public ApiOperationDisplay withResource(String resource) {
97+
this.resource = resource;
98+
return this;
99+
}
100+
101+
/**
102+
* Get the description of the operation.
103+
*
104+
* @return the description value
105+
*/
106+
public String description() {
107+
return this.description;
108+
}
109+
110+
/**
111+
* Set the description of the operation.
112+
*
113+
* @param description the description value to set
114+
* @return the ApiOperationDisplay object itself.
115+
*/
116+
public ApiOperationDisplay withDescription(String description) {
117+
this.description = description;
118+
return this;
119+
}
120+
121+
}
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.storagecache.v2020_10_01;
10+
11+
import java.util.List;
12+
import com.fasterxml.jackson.annotation.JsonProperty;
13+
14+
/**
15+
* Specification of the all the metrics provided for a resource type.
16+
*/
17+
public class ApiOperationPropertiesServiceSpecification {
18+
/**
19+
* Details about operations related to metrics.
20+
*/
21+
@JsonProperty(value = "metricSpecifications")
22+
private List<MetricSpecification> metricSpecifications;
23+
24+
/**
25+
* Get details about operations related to metrics.
26+
*
27+
* @return the metricSpecifications value
28+
*/
29+
public List<MetricSpecification> metricSpecifications() {
30+
return this.metricSpecifications;
31+
}
32+
33+
/**
34+
* Set details about operations related to metrics.
35+
*
36+
* @param metricSpecifications the metricSpecifications value to set
37+
* @return the ApiOperationPropertiesServiceSpecification object itself.
38+
*/
39+
public ApiOperationPropertiesServiceSpecification withMetricSpecifications(List<MetricSpecification> metricSpecifications) {
40+
this.metricSpecifications = metricSpecifications;
41+
return this;
42+
}
43+
44+
}

0 commit comments

Comments
 (0)