Interface NetappVolumeReplicationConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
NetappVolumeReplicationConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.025Z") @Stability(Stable) public interface NetappVolumeReplicationConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNetappVolumeReplicationConfig.BuilderA builder forNetappVolumeReplicationConfigstatic classNetappVolumeReplicationConfig.Jsii$ProxyAn implementation forNetappVolumeReplicationConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static NetappVolumeReplicationConfig.Builderbuilder()default ObjectgetDeleteDestinationVolume()A destination volume is created as part of replication creation.default StringgetDescription()An description of this resource.default NetappVolumeReplicationDestinationVolumeParametersgetDestinationVolumeParameters()destination_volume_parameters block.default ObjectgetForceStopping()Only replications with mirror_state=MIRRORED can be stopped.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#id NetappVolumeReplication#id}.default Map<String,String>getLabels()Labels as key value pairs.StringgetLocation()Name of region for this resource.StringgetName()The name of the replication.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#project NetappVolumeReplication#project}.default ObjectgetReplicationEnabled()Set to false to stop/break the mirror.StringgetReplicationSchedule()Specifies the replication interval.default NetappVolumeReplicationTimeoutsgetTimeouts()timeouts block.StringgetVolumeName()The name of the existing source volume.default ObjectgetWaitForMirror()Replication resource state is independent of mirror_state.
-
-
-
Method Detail
-
getLocation
@Stability(Stable) @NotNull String getLocation()
Name of region for this resource. The resource needs to be created in the region of the destination volume.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#location NetappVolumeReplication#location}
-
getName
@Stability(Stable) @NotNull String getName()
The name of the replication. Needs to be unique per location.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#name NetappVolumeReplication#name}
-
getReplicationSchedule
@Stability(Stable) @NotNull String getReplicationSchedule()
Specifies the replication interval. Possible values: ["EVERY_10_MINUTES", "HOURLY", "DAILY"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#replication_schedule NetappVolumeReplication#replication_schedule}
-
getVolumeName
@Stability(Stable) @NotNull String getVolumeName()
The name of the existing source volume.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#volume_name NetappVolumeReplication#volume_name}
-
getDeleteDestinationVolume
@Stability(Stable) @Nullable default Object getDeleteDestinationVolume()
A destination volume is created as part of replication creation.The destination volume will not became under Terraform management unless you import it manually. If you delete the replication, this volume will remain. Setting this parameter to true will delete the *current* destination volume when destroying the replication. If you reversed the replication direction, this will be your former source volume! For production use, it is recommended to keep this parameter false to avoid accidental volume deletion. Handle with care. Default is false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#delete_destination_volume NetappVolumeReplication#delete_destination_volume}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
An description of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#description NetappVolumeReplication#description}
-
getDestinationVolumeParameters
@Stability(Stable) @Nullable default NetappVolumeReplicationDestinationVolumeParameters getDestinationVolumeParameters()
destination_volume_parameters block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#destination_volume_parameters NetappVolumeReplication#destination_volume_parameters}
-
getForceStopping
@Stability(Stable) @Nullable default Object getForceStopping()
Only replications with mirror_state=MIRRORED can be stopped.A replication in mirror_state=TRANSFERRING currently receives an update and stopping the update might be undesirable. Set this parameter to true to stop anyway. All data transferred to the destination will be discarded and content of destination volume will remain at the state of the last successful update. Default is false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#force_stopping NetappVolumeReplication#force_stopping}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#id NetappVolumeReplication#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getLabels
@Stability(Stable) @Nullable default Map<String,String> getLabels()
Labels as key value pairs. Example: '{ "owner": "Bob", "department": "finance", "purpose": "testing" }'.**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#labels NetappVolumeReplication#labels}
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#project NetappVolumeReplication#project}.
-
getReplicationEnabled
@Stability(Stable) @Nullable default Object getReplicationEnabled()
Set to false to stop/break the mirror.Stopping the mirror makes the destination volume read-write and act independently from the source volume. Set to true to enable/resume the mirror. WARNING: Resuming a mirror overwrites any changes done to the destination volume with the content of the source volume. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#replication_enabled NetappVolumeReplication#replication_enabled}
-
getTimeouts
@Stability(Stable) @Nullable default NetappVolumeReplicationTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#timeouts NetappVolumeReplication#timeouts}
-
getWaitForMirror
@Stability(Stable) @Nullable default Object getWaitForMirror()
Replication resource state is independent of mirror_state.With enough data, it can take many hours for mirror_state to reach MIRRORED. If you want Terraform to wait for the mirror to finish on create/stop/resume operations, set this parameter to true. Default is false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_replication#wait_for_mirror NetappVolumeReplication#wait_for_mirror}
-
builder
@Stability(Stable) static NetappVolumeReplicationConfig.Builder builder()
-
-