All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azure.netapp.inputs.VolumeDataProtectionReplicationArgs Maven / Gradle / Ivy
Go to download
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.netapp.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class VolumeDataProtectionReplicationArgs extends com.pulumi.resources.ResourceArgs {
public static final VolumeDataProtectionReplicationArgs Empty = new VolumeDataProtectionReplicationArgs();
/**
* The endpoint type, default value is `dst` for destination.
*
*/
@Import(name="endpointType")
private @Nullable Output endpointType;
/**
* @return The endpoint type, default value is `dst` for destination.
*
*/
public Optional> endpointType() {
return Optional.ofNullable(this.endpointType);
}
/**
* Location of the primary volume. Changing this forces a new resource to be created.
*
*/
@Import(name="remoteVolumeLocation", required=true)
private Output remoteVolumeLocation;
/**
* @return Location of the primary volume. Changing this forces a new resource to be created.
*
*/
public Output remoteVolumeLocation() {
return this.remoteVolumeLocation;
}
/**
* Resource ID of the primary volume.
*
*/
@Import(name="remoteVolumeResourceId", required=true)
private Output remoteVolumeResourceId;
/**
* @return Resource ID of the primary volume.
*
*/
public Output remoteVolumeResourceId() {
return this.remoteVolumeResourceId;
}
/**
* Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
*
* A full example of the `data_protection_replication` attribute can be found in the `./examples/netapp/volume_crr` directory within the GitHub Repository
*
* > **NOTE:** `data_protection_replication` can be defined only once per secondary volume, adding a second instance of it is not supported.
*
*/
@Import(name="replicationFrequency", required=true)
private Output replicationFrequency;
/**
* @return Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
*
* A full example of the `data_protection_replication` attribute can be found in the `./examples/netapp/volume_crr` directory within the GitHub Repository
*
* > **NOTE:** `data_protection_replication` can be defined only once per secondary volume, adding a second instance of it is not supported.
*
*/
public Output replicationFrequency() {
return this.replicationFrequency;
}
private VolumeDataProtectionReplicationArgs() {}
private VolumeDataProtectionReplicationArgs(VolumeDataProtectionReplicationArgs $) {
this.endpointType = $.endpointType;
this.remoteVolumeLocation = $.remoteVolumeLocation;
this.remoteVolumeResourceId = $.remoteVolumeResourceId;
this.replicationFrequency = $.replicationFrequency;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VolumeDataProtectionReplicationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private VolumeDataProtectionReplicationArgs $;
public Builder() {
$ = new VolumeDataProtectionReplicationArgs();
}
public Builder(VolumeDataProtectionReplicationArgs defaults) {
$ = new VolumeDataProtectionReplicationArgs(Objects.requireNonNull(defaults));
}
/**
* @param endpointType The endpoint type, default value is `dst` for destination.
*
* @return builder
*
*/
public Builder endpointType(@Nullable Output endpointType) {
$.endpointType = endpointType;
return this;
}
/**
* @param endpointType The endpoint type, default value is `dst` for destination.
*
* @return builder
*
*/
public Builder endpointType(String endpointType) {
return endpointType(Output.of(endpointType));
}
/**
* @param remoteVolumeLocation Location of the primary volume. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder remoteVolumeLocation(Output remoteVolumeLocation) {
$.remoteVolumeLocation = remoteVolumeLocation;
return this;
}
/**
* @param remoteVolumeLocation Location of the primary volume. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder remoteVolumeLocation(String remoteVolumeLocation) {
return remoteVolumeLocation(Output.of(remoteVolumeLocation));
}
/**
* @param remoteVolumeResourceId Resource ID of the primary volume.
*
* @return builder
*
*/
public Builder remoteVolumeResourceId(Output remoteVolumeResourceId) {
$.remoteVolumeResourceId = remoteVolumeResourceId;
return this;
}
/**
* @param remoteVolumeResourceId Resource ID of the primary volume.
*
* @return builder
*
*/
public Builder remoteVolumeResourceId(String remoteVolumeResourceId) {
return remoteVolumeResourceId(Output.of(remoteVolumeResourceId));
}
/**
* @param replicationFrequency Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
*
* A full example of the `data_protection_replication` attribute can be found in the `./examples/netapp/volume_crr` directory within the GitHub Repository
*
* > **NOTE:** `data_protection_replication` can be defined only once per secondary volume, adding a second instance of it is not supported.
*
* @return builder
*
*/
public Builder replicationFrequency(Output replicationFrequency) {
$.replicationFrequency = replicationFrequency;
return this;
}
/**
* @param replicationFrequency Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
*
* A full example of the `data_protection_replication` attribute can be found in the `./examples/netapp/volume_crr` directory within the GitHub Repository
*
* > **NOTE:** `data_protection_replication` can be defined only once per secondary volume, adding a second instance of it is not supported.
*
* @return builder
*
*/
public Builder replicationFrequency(String replicationFrequency) {
return replicationFrequency(Output.of(replicationFrequency));
}
public VolumeDataProtectionReplicationArgs build() {
if ($.remoteVolumeLocation == null) {
throw new MissingRequiredPropertyException("VolumeDataProtectionReplicationArgs", "remoteVolumeLocation");
}
if ($.remoteVolumeResourceId == null) {
throw new MissingRequiredPropertyException("VolumeDataProtectionReplicationArgs", "remoteVolumeResourceId");
}
if ($.replicationFrequency == null) {
throw new MissingRequiredPropertyException("VolumeDataProtectionReplicationArgs", "replicationFrequency");
}
return $;
}
}
}