VolumeReplicationArgs constructor
- Input<
bool?> ? deleteDestinationVolume, - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
VolumeReplicationDestinationVolumeParameters?> ? destinationVolumeParameters, - Input<
bool?> ? forceStopping, - Input<
Map< ? labels,String, String> ?> - 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
Implementation
const VolumeReplicationArgs({
this.deleteDestinationVolume,
this.deletionPolicy,
this.description,
this.destinationVolumeParameters,
this.forceStopping,
this.labels,
required this.location,
this.name,
this.project,
this.replicationEnabled,
required this.replicationSchedule,
required this.volumeName,
this.waitForMirror,
});