Class Replication (0.3.9)

Replication(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
name str
Identifier. The resource name of the Replication. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
state google.cloud.netapp_v1.types.Replication.State
Output only. State of the replication.
state_details str
Output only. State details of the replication.
role google.cloud.netapp_v1.types.Replication.ReplicationRole
Output only. Indicates whether this points to source or destination.
replication_schedule google.cloud.netapp_v1.types.Replication.ReplicationSchedule
Required. Indicates the schedule for replication.
mirror_state google.cloud.netapp_v1.types.Replication.MirrorState
Output only. Indicates the state of mirroring.
healthy bool
Output only. Condition of the relationship. Can be one of the following: - true: The replication relationship is healthy. It has not missed the most recent scheduled transfer. - false: The replication relationship is not healthy. It has missed the most recent scheduled transfer. This field is a member of oneof_ _healthy.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Replication create time.
destination_volume str
Output only. Full name of destination volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}".
transfer_stats google.cloud.netapp_v1.types.TransferStats
Output only. Replication transfer statistics.
labels MutableMapping[str, str]
Resource labels to represent user provided metadata.
description str
A description about this replication relationship. This field is a member of oneof_ _description.
destination_volume_parameters google.cloud.netapp_v1.types.DestinationVolumeParameters
Required. Input only. Destination volume parameters
source_volume str
Output only. Full name of source volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}".

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

MirrorState

MirrorState(value)

Mirroring states. No new value is expected to be added in future.

Values: MIRROR_STATE_UNSPECIFIED (0): Unspecified MirrorState PREPARING (1): Destination volume is being prepared. MIRRORED (2): Destination volume has been initialized and is ready to receive replication transfers. STOPPED (3): Destination volume is not receiving replication transfers. TRANSFERRING (4): Replication is in progress.

ReplicationRole

ReplicationRole(value)

New enum values may be added in future to support different replication topology.

Values: REPLICATION_ROLE_UNSPECIFIED (0): Unspecified replication role SOURCE (1): Indicates Source volume. DESTINATION (2): Indicates Destination volume.

ReplicationSchedule

ReplicationSchedule(value)

Schedule for Replication. New enum values may be added in future to support different frequency of replication.

Values: REPLICATION_SCHEDULE_UNSPECIFIED (0): Unspecified ReplicationSchedule EVERY_10_MINUTES (1): Replication happens once every 10 minutes. HOURLY (2): Replication happens once every hour. DAILY (3): Replication happens once every day.

State

State(value)

The replication states New enum values may be added in future to indicate possible new states.

Values: STATE_UNSPECIFIED (0): Unspecified replication State CREATING (1): Replication is creating. READY (2): Replication is ready. UPDATING (3): Replication is updating. DELETING (5): Replication is deleting. ERROR (6): Replication is in error state.