Skip to content

Commit bb8bc63

Browse files
author
SDKAuto
committed
CodeGen from PR 11888 in Azure/azure-rest-api-specs
Merge 5e245c8d0b959535e4526dfb7cc467fcad6c3dda into c6ae7e9a1ff90c116baa2cacb944aebf74d72cb9
1 parent 33362b5 commit bb8bc63

File tree

478 files changed

+48264
-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.

478 files changed

+48264
-0
lines changed
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
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 1.0.0.0
7+
* Changes may cause incorrect behavior and will be lost if the code is
8+
* regenerated.
9+
-->
10+
<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">
11+
<modelVersion>4.0.0</modelVersion>
12+
<groupId>com.microsoft.azure.recoveryservices.backup.v2020_02_02</groupId>
13+
<parent>
14+
<groupId>com.microsoft.azure</groupId>
15+
<artifactId>azure-arm-parent</artifactId>
16+
<version>1.1.0</version>
17+
<relativePath>../../../pom.management.xml</relativePath>
18+
</parent>
19+
<artifactId>azure-mgmt-recoveryservices</artifactId>
20+
<version>1.0.0-beta</version>
21+
<packaging>jar</packaging>
22+
<name>Microsoft Azure SDK for RecoveryServices Management</name>
23+
<description>This package contains Microsoft RecoveryServices Management SDK.</description>
24+
<url>https://github.com/Azure/azure-sdk-for-java</url>
25+
<licenses>
26+
<license>
27+
<name>The MIT License (MIT)</name>
28+
<url>http://opensource.org/licenses/MIT</url>
29+
<distribution>repo</distribution>
30+
</license>
31+
</licenses>
32+
<scm>
33+
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
34+
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
35+
<tag>HEAD</tag>
36+
</scm>
37+
<properties>
38+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39+
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal>
40+
</properties>
41+
<developers>
42+
<developer>
43+
<id>microsoft</id>
44+
<name>Microsoft</name>
45+
</developer>
46+
</developers>
47+
<dependencies>
48+
<dependency>
49+
<groupId>com.microsoft.azure</groupId>
50+
<artifactId>azure-client-runtime</artifactId>
51+
</dependency>
52+
<dependency>
53+
<groupId>com.microsoft.azure</groupId>
54+
<artifactId>azure-arm-client-runtime</artifactId>
55+
</dependency>
56+
<dependency>
57+
<groupId>junit</groupId>
58+
<artifactId>junit</artifactId>
59+
<scope>test</scope>
60+
</dependency>
61+
<dependency>
62+
<groupId>com.microsoft.azure</groupId>
63+
<artifactId>azure-client-authentication</artifactId>
64+
<scope>test</scope>
65+
</dependency>
66+
<dependency>
67+
<groupId>com.microsoft.azure</groupId>
68+
<artifactId>azure-mgmt-resources</artifactId>
69+
<scope>test</scope>
70+
</dependency>
71+
<dependency>
72+
<groupId>com.microsoft.azure</groupId>
73+
<artifactId>azure-arm-client-runtime</artifactId>
74+
<type>test-jar</type>
75+
<scope>test</scope>
76+
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
77+
<version>1.6.5</version>
78+
</dependency>
79+
</dependencies>
80+
<build>
81+
<plugins>
82+
<plugin>
83+
<groupId>org.apache.maven.plugins</groupId>
84+
<artifactId>maven-jar-plugin</artifactId>
85+
<configuration>
86+
<archive>
87+
<manifest>
88+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
89+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
90+
</manifest>
91+
</archive>
92+
</configuration>
93+
</plugin>
94+
<plugin>
95+
<groupId>org.codehaus.mojo</groupId>
96+
<artifactId>build-helper-maven-plugin</artifactId>
97+
</plugin>
98+
<plugin>
99+
<groupId>org.apache.maven.plugins</groupId>
100+
<artifactId>maven-compiler-plugin</artifactId>
101+
<version>3.1</version>
102+
<configuration>
103+
<source>1.7</source>
104+
<target>1.7</target>
105+
<annotationProcessors>
106+
<annotationProcessor>
107+
com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
108+
</annotationProcessor>
109+
</annotationProcessors>
110+
<debug>true</debug>
111+
<optimize>true</optimize>
112+
<compilerArguments>
113+
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation>
114+
<Adebug>true</Adebug>
115+
</compilerArguments>
116+
</configuration>
117+
</plugin>
118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-javadoc-plugin</artifactId>
121+
<version>2.8</version>
122+
<configuration>
123+
<excludePackageNames>*.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search</excludePackageNames>
124+
<bottom>
125+
<![CDATA[<code>
126+
/**
127+
<br />* Copyright (c) Microsoft Corporation. All rights reserved.
128+
<br />* Licensed under the MIT License. See License.txt in the project root for
129+
<br />* license information.
130+
<br />*/
131+
</code>]]>
132+
</bottom>
133+
</configuration>
134+
</plugin>
135+
</plugins>
136+
</build>
137+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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 1.0.0.0
7+
* Changes may cause incorrect behavior and will be lost if the code is
8+
* regenerated.
9+
*/
10+
11+
package com.microsoft.azure.management.recoveryservices.backup.v2020_02_02;
12+
13+
import com.fasterxml.jackson.annotation.JsonTypeInfo;
14+
import com.fasterxml.jackson.annotation.JsonTypeName;
15+
16+
/**
17+
* Azure backup goal feature specific request.
18+
*/
19+
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "featureType", defaultImpl = AzureBackupGoalFeatureSupportRequest.class)
20+
@JsonTypeName("AzureBackupGoals")
21+
public class AzureBackupGoalFeatureSupportRequest extends FeatureSupportRequest {
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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 1.0.0.0
7+
* Changes may cause incorrect behavior and will be lost if the code is
8+
* regenerated.
9+
*/
10+
11+
package com.microsoft.azure.management.recoveryservices.backup.v2020_02_02;
12+
13+
import com.fasterxml.jackson.annotation.JsonTypeInfo;
14+
import com.fasterxml.jackson.annotation.JsonTypeName;
15+
16+
/**
17+
* AzureBackupServer (DPMVenus) workload-specific protection container.
18+
*/
19+
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "containerType", defaultImpl = AzureBackupServerContainer.class)
20+
@JsonTypeName("AzureBackupServerContainer")
21+
public class AzureBackupServerContainer extends DpmContainer {
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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 1.0.0.0
7+
* Changes may cause incorrect behavior and will be lost if the code is
8+
* regenerated.
9+
*/
10+
11+
package com.microsoft.azure.management.recoveryservices.backup.v2020_02_02;
12+
13+
import com.fasterxml.jackson.annotation.JsonTypeInfo;
14+
import com.fasterxml.jackson.annotation.JsonTypeName;
15+
16+
/**
17+
* Backup engine type when Azure Backup Server is used to manage the backups.
18+
*/
19+
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "backupEngineType", defaultImpl = AzureBackupServerEngine.class)
20+
@JsonTypeName("AzureBackupServerEngine")
21+
public class AzureBackupServerEngine extends BackupEngineBase {
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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 1.0.0.0
7+
* Changes may cause incorrect behavior and will be lost if the code is
8+
* regenerated.
9+
*/
10+
11+
package com.microsoft.azure.management.recoveryservices.backup.v2020_02_02;
12+
13+
import org.joda.time.DateTime;
14+
import com.fasterxml.jackson.annotation.JsonProperty;
15+
import com.fasterxml.jackson.annotation.JsonTypeInfo;
16+
import com.fasterxml.jackson.annotation.JsonTypeName;
17+
18+
/**
19+
* AzureFileShare workload-specific backup request.
20+
*/
21+
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "objectType", defaultImpl = AzureFileShareBackupRequest.class)
22+
@JsonTypeName("AzureFileShareBackupRequest")
23+
public class AzureFileShareBackupRequest extends BackupRequest {
24+
/**
25+
* Backup copy will expire after the time specified (UTC).
26+
*/
27+
@JsonProperty(value = "recoveryPointExpiryTimeInUTC")
28+
private DateTime recoveryPointExpiryTimeInUTC;
29+
30+
/**
31+
* Get backup copy will expire after the time specified (UTC).
32+
*
33+
* @return the recoveryPointExpiryTimeInUTC value
34+
*/
35+
public DateTime recoveryPointExpiryTimeInUTC() {
36+
return this.recoveryPointExpiryTimeInUTC;
37+
}
38+
39+
/**
40+
* Set backup copy will expire after the time specified (UTC).
41+
*
42+
* @param recoveryPointExpiryTimeInUTC the recoveryPointExpiryTimeInUTC value to set
43+
* @return the AzureFileShareBackupRequest object itself.
44+
*/
45+
public AzureFileShareBackupRequest withRecoveryPointExpiryTimeInUTC(DateTime recoveryPointExpiryTimeInUTC) {
46+
this.recoveryPointExpiryTimeInUTC = recoveryPointExpiryTimeInUTC;
47+
return this;
48+
}
49+
50+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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 1.0.0.0
7+
* Changes may cause incorrect behavior and will be lost if the code is
8+
* regenerated.
9+
*/
10+
11+
package com.microsoft.azure.management.recoveryservices.backup.v2020_02_02;
12+
13+
import com.fasterxml.jackson.annotation.JsonProperty;
14+
import com.fasterxml.jackson.annotation.JsonTypeInfo;
15+
import com.fasterxml.jackson.annotation.JsonTypeName;
16+
17+
/**
18+
* Protectable item for Azure Fileshare workloads.
19+
*/
20+
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "protectableItemType", defaultImpl = AzureFileShareProtectableItem.class)
21+
@JsonTypeName("AzureFileShare")
22+
public class AzureFileShareProtectableItem extends WorkloadProtectableItem {
23+
/**
24+
* Full Fabric ID of container to which this protectable item belongs. For
25+
* example, ARM ID.
26+
*/
27+
@JsonProperty(value = "parentContainerFabricId")
28+
private String parentContainerFabricId;
29+
30+
/**
31+
* Friendly name of container to which this protectable item belongs.
32+
*/
33+
@JsonProperty(value = "parentContainerFriendlyName")
34+
private String parentContainerFriendlyName;
35+
36+
/**
37+
* File Share type XSync or XSMB. Possible values include: 'Invalid',
38+
* 'XSMB', 'XSync'.
39+
*/
40+
@JsonProperty(value = "azureFileShareType")
41+
private AzureFileShareType azureFileShareType;
42+
43+
/**
44+
* Get full Fabric ID of container to which this protectable item belongs. For example, ARM ID.
45+
*
46+
* @return the parentContainerFabricId value
47+
*/
48+
public String parentContainerFabricId() {
49+
return this.parentContainerFabricId;
50+
}
51+
52+
/**
53+
* Set full Fabric ID of container to which this protectable item belongs. For example, ARM ID.
54+
*
55+
* @param parentContainerFabricId the parentContainerFabricId value to set
56+
* @return the AzureFileShareProtectableItem object itself.
57+
*/
58+
public AzureFileShareProtectableItem withParentContainerFabricId(String parentContainerFabricId) {
59+
this.parentContainerFabricId = parentContainerFabricId;
60+
return this;
61+
}
62+
63+
/**
64+
* Get friendly name of container to which this protectable item belongs.
65+
*
66+
* @return the parentContainerFriendlyName value
67+
*/
68+
public String parentContainerFriendlyName() {
69+
return this.parentContainerFriendlyName;
70+
}
71+
72+
/**
73+
* Set friendly name of container to which this protectable item belongs.
74+
*
75+
* @param parentContainerFriendlyName the parentContainerFriendlyName value to set
76+
* @return the AzureFileShareProtectableItem object itself.
77+
*/
78+
public AzureFileShareProtectableItem withParentContainerFriendlyName(String parentContainerFriendlyName) {
79+
this.parentContainerFriendlyName = parentContainerFriendlyName;
80+
return this;
81+
}
82+
83+
/**
84+
* Get file Share type XSync or XSMB. Possible values include: 'Invalid', 'XSMB', 'XSync'.
85+
*
86+
* @return the azureFileShareType value
87+
*/
88+
public AzureFileShareType azureFileShareType() {
89+
return this.azureFileShareType;
90+
}
91+
92+
/**
93+
* Set file Share type XSync or XSMB. Possible values include: 'Invalid', 'XSMB', 'XSync'.
94+
*
95+
* @param azureFileShareType the azureFileShareType value to set
96+
* @return the AzureFileShareProtectableItem object itself.
97+
*/
98+
public AzureFileShareProtectableItem withAzureFileShareType(AzureFileShareType azureFileShareType) {
99+
this.azureFileShareType = azureFileShareType;
100+
return this;
101+
}
102+
103+
}

0 commit comments

Comments
 (0)