VolumeReplicationState constructor

const VolumeReplicationState({
  1. Input<String?>? createTime,
  2. Input<bool?>? deleteDestinationVolume,
  3. Input<String?>? deletionPolicy,
  4. Input<String?>? description,
  5. Input<String?>? destinationVolume,
  6. Input<VolumeReplicationDestinationVolumeParameters?>? destinationVolumeParameters,
  7. Input<Map<String, String>?>? effectiveLabels,
  8. Input<bool?>? forceStopping,
  9. Input<bool?>? healthy,
  10. Input<List<VolumeReplicationHybridPeeringDetail>?>? hybridPeeringDetails,
  11. Input<String?>? hybridReplicationType,
  12. Input<List<VolumeReplicationHybridReplicationUserCommand>?>? hybridReplicationUserCommands,
  13. Input<Map<String, String>?>? labels,
  14. Input<String?>? location,
  15. Input<String?>? mirrorState,
  16. Input<String?>? name,
  17. Input<String?>? project,
  18. Input<Map<String, String>?>? pulumiLabels,
  19. Input<bool?>? replicationEnabled,
  20. Input<String?>? replicationSchedule,
  21. Input<String?>? role,
  22. Input<String?>? sourceVolume,
  23. Input<String?>? state,
  24. Input<String?>? stateDetails,
  25. Input<List<VolumeReplicationTransferStat>?>? transferStats,
  26. Input<String?>? volumeName,
  27. Input<bool?>? waitForMirror,
})

Creates a new VolumeReplicationState. createTime Create time of the active directory. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z". 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. destinationVolume Full resource name of destination volume with format: projects/{{project}}/locations/{{location}}/volumes/{{volumeId}} destinationVolumeParameters Destination volume parameters. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. forceStopping Only replications with mirror_state=MIRRORED can be stopped. A replication in mirror_state=TRANSFERRING healthy Condition of the relationship. Can be one of the following: hybridPeeringDetails HybridPeeringDetails contains details about the hybrid peering. hybridReplicationType Hybrid replication type. hybridReplicationUserCommands Copy pastable snapmirror commands to be executed on onprem cluster by the customer. 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. mirrorState Indicates the state of the mirror between source and destination volumes. Depending on the amount of data name The name of the replication. Needs to be unique per location. project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource replicationEnabled Set to false to stop/break the mirror. Stopping the mirror makes the destination volume read-write replicationSchedule Specifies the replication interval. role Reverting a replication can swap source and destination volume roles. This field indicates if the location hosts sourceVolume Full resource name of source volume with format: projects/{{project}}/locations/{{location}}/volumes/{{volumeId}} state Indicates the state of replication resource. State of the mirror itself is indicated in mirrorState. stateDetails State details of the replication resource. transferStats Replication transfer statistics. All statistics are updated every 5 minutes. 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 VolumeReplicationState({
  this.createTime,
  this.deleteDestinationVolume,
  this.deletionPolicy,
  this.description,
  this.destinationVolume,
  this.destinationVolumeParameters,
  this.effectiveLabels,
  this.forceStopping,
  this.healthy,
  this.hybridPeeringDetails,
  this.hybridReplicationType,
  this.hybridReplicationUserCommands,
  this.labels,
  this.location,
  this.mirrorState,
  this.name,
  this.project,
  this.pulumiLabels,
  this.replicationEnabled,
  this.replicationSchedule,
  this.role,
  this.sourceVolume,
  this.state,
  this.stateDetails,
  this.transferStats,
  this.volumeName,
  this.waitForMirror,
});