VolumeReplicationArgs class

The set of arguments for VolumeReplication. The set of arguments for VolumeReplication.

Constructors

VolumeReplicationArgs({Input<bool?>? deleteDestinationVolume, Input<String?>? deletionPolicy, Input<String?>? description, Input<VolumeReplicationDestinationVolumeParameters?>? destinationVolumeParameters, Input<bool?>? forceStopping, Input<Map<String, String>?>? labels, required Input<String> location, Input<String?>? name, Input<String?>? project, Input<bool?>? replicationEnabled, required Input<String> replicationSchedule, required Input<String> volumeName, Input<bool?>? waitForMirror})
Creates a new VolumeReplicationArgs. deleteDestinationVolume A destination volume is created as part of replication creation. The destination volume will not became deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An description of this resource. destinationVolumeParameters Destination volume parameters. forceStopping Only replications with mirror_state=MIRRORED can be stopped. A replication in mirror_state=TRANSFERRING labels Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" } location Name of region for this resource. The resource needs to be created in the region of the destination volume. name The name of the replication. Needs to be unique per location. project The ID of the project in which the resource belongs. replicationEnabled Set to false to stop/break the mirror. Stopping the mirror makes the destination volume read-write replicationSchedule Specifies the replication interval. volumeName The name of the existing source volume. waitForMirror Replication resource state is independent of mirror_state. With enough data, it can take many hours
const
VolumeReplicationArgs.fromMap(Map<String, dynamic> map)
factory

Properties

deleteDestinationVolume → Input<bool?>?
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.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
An description of this resource.
final
destinationVolumeParameters → Input<VolumeReplicationDestinationVolumeParameters?>?
Destination volume parameters. Structure is documented below.
final
forceStopping → Input<bool?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }
final
location → Input<String>
Name of region for this resource. The resource needs to be created in the region of the destination volume.
final
name → Input<String?>?
The name of the replication. Needs to be unique per location.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
replicationEnabled → Input<bool?>?
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.
final
replicationSchedule → Input<String>
Specifies the replication interval. Possible values are: EVERY_10_MINUTES, HOURLY, DAILY.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
volumeName → Input<String>
The name of the existing source volume.
final
waitForMirror → Input<bool?>?
Replication resource state is independent of mirror_state. With enough data, it can take many hours for mirrorState 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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited