Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR recoveryservicessiterecovery/resource-manager] [Hub Generated] Review request: Enhanced A2ARecoveryPointDetails with "disks" #3035

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
133 changes: 133 additions & 0 deletions recoveryservicessiterecovery/resource-manager/v2018_01_10/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<!--
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure.recoveryservicessiterecovery.v2018_01_10</groupId>
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-recoveryservices</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for RecoveryServices Management</name>
<description>This package contains Microsoft RecoveryServices Management SDK.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal>
</properties>
<developers>
<developer>
<id>microsoft</id>
<name>Microsoft</name>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-authentication</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<annotationProcessors>
<annotationProcessor>
com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
</annotationProcessor>
</annotationProcessors>
<debug>true</debug>
<optimize>true</optimize>
<compilerArguments>
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation>
<Adebug>true</Adebug>
</compilerArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<excludePackageNames>*.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search</excludePackageNames>
<bottom>
<![CDATA[<code>
/**
<br />* Copyright (c) Microsoft Corporation. All rights reserved.
<br />* Licensed under the MIT License. See License.txt in the project root for
<br />* license information.
<br />*/
</code>]]>
</bottom>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.recoveryservicessiterecovery.v2018_01_10;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* ApplyRecoveryPoint input specific to A2A provider.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeName("A2A")
public class A2AApplyRecoveryPointInput extends ApplyRecoveryPointProviderSpecificInput {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.recoveryservicessiterecovery.v2018_01_10;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* A2A cloud creation input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeName("A2A")
public class A2AContainerCreationInput extends ReplicationProviderSpecificContainerCreationInput {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.recoveryservicessiterecovery.v2018_01_10;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* A2A enable protection input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeName("A2A")
public class A2AEnableProtectionInput extends EnableProtectionProviderSpecificInput {
/**
* The fabric specific object Id of the virtual machine.
*/
@JsonProperty(value = "fabricObjectId")
private String fabricObjectId;

/**
* The recovery container Id.
*/
@JsonProperty(value = "recoveryContainerId")
private String recoveryContainerId;

/**
* The recovery resource group Id. Valid for V2 scenarios.
*/
@JsonProperty(value = "recoveryResourceGroupId")
private String recoveryResourceGroupId;

/**
* The recovery cloud service Id. Valid for V1 scenarios.
*/
@JsonProperty(value = "recoveryCloudServiceId")
private String recoveryCloudServiceId;

/**
* The recovery availability set Id.
*/
@JsonProperty(value = "recoveryAvailabilitySetId")
private String recoveryAvailabilitySetId;

/**
* The list of vm disk details.
*/
@JsonProperty(value = "vmDisks")
private List<A2AVmDiskInputDetails> vmDisks;

/**
* The list of vm managed disk details.
*/
@JsonProperty(value = "vmManagedDisks")
private List<A2AVmManagedDiskInputDetails> vmManagedDisks;

/**
* Get the fabric specific object Id of the virtual machine.
*
* @return the fabricObjectId value
*/
public String fabricObjectId() {
return this.fabricObjectId;
}

/**
* Set the fabric specific object Id of the virtual machine.
*
* @param fabricObjectId the fabricObjectId value to set
* @return the A2AEnableProtectionInput object itself.
*/
public A2AEnableProtectionInput withFabricObjectId(String fabricObjectId) {
this.fabricObjectId = fabricObjectId;
return this;
}

/**
* Get the recovery container Id.
*
* @return the recoveryContainerId value
*/
public String recoveryContainerId() {
return this.recoveryContainerId;
}

/**
* Set the recovery container Id.
*
* @param recoveryContainerId the recoveryContainerId value to set
* @return the A2AEnableProtectionInput object itself.
*/
public A2AEnableProtectionInput withRecoveryContainerId(String recoveryContainerId) {
this.recoveryContainerId = recoveryContainerId;
return this;
}

/**
* Get the recovery resource group Id. Valid for V2 scenarios.
*
* @return the recoveryResourceGroupId value
*/
public String recoveryResourceGroupId() {
return this.recoveryResourceGroupId;
}

/**
* Set the recovery resource group Id. Valid for V2 scenarios.
*
* @param recoveryResourceGroupId the recoveryResourceGroupId value to set
* @return the A2AEnableProtectionInput object itself.
*/
public A2AEnableProtectionInput withRecoveryResourceGroupId(String recoveryResourceGroupId) {
this.recoveryResourceGroupId = recoveryResourceGroupId;
return this;
}

/**
* Get the recovery cloud service Id. Valid for V1 scenarios.
*
* @return the recoveryCloudServiceId value
*/
public String recoveryCloudServiceId() {
return this.recoveryCloudServiceId;
}

/**
* Set the recovery cloud service Id. Valid for V1 scenarios.
*
* @param recoveryCloudServiceId the recoveryCloudServiceId value to set
* @return the A2AEnableProtectionInput object itself.
*/
public A2AEnableProtectionInput withRecoveryCloudServiceId(String recoveryCloudServiceId) {
this.recoveryCloudServiceId = recoveryCloudServiceId;
return this;
}

/**
* Get the recovery availability set Id.
*
* @return the recoveryAvailabilitySetId value
*/
public String recoveryAvailabilitySetId() {
return this.recoveryAvailabilitySetId;
}

/**
* Set the recovery availability set Id.
*
* @param recoveryAvailabilitySetId the recoveryAvailabilitySetId value to set
* @return the A2AEnableProtectionInput object itself.
*/
public A2AEnableProtectionInput withRecoveryAvailabilitySetId(String recoveryAvailabilitySetId) {
this.recoveryAvailabilitySetId = recoveryAvailabilitySetId;
return this;
}

/**
* Get the list of vm disk details.
*
* @return the vmDisks value
*/
public List<A2AVmDiskInputDetails> vmDisks() {
return this.vmDisks;
}

/**
* Set the list of vm disk details.
*
* @param vmDisks the vmDisks value to set
* @return the A2AEnableProtectionInput object itself.
*/
public A2AEnableProtectionInput withVmDisks(List<A2AVmDiskInputDetails> vmDisks) {
this.vmDisks = vmDisks;
return this;
}

/**
* Get the list of vm managed disk details.
*
* @return the vmManagedDisks value
*/
public List<A2AVmManagedDiskInputDetails> vmManagedDisks() {
return this.vmManagedDisks;
}

/**
* Set the list of vm managed disk details.
*
* @param vmManagedDisks the vmManagedDisks value to set
* @return the A2AEnableProtectionInput object itself.
*/
public A2AEnableProtectionInput withVmManagedDisks(List<A2AVmManagedDiskInputDetails> vmManagedDisks) {
this.vmManagedDisks = vmManagedDisks;
return this;
}

}
Loading