Class Replication (0.3.17)

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

Name Description
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}".
hybrid_peering_details google.cloud.netapp_v1.types.HybridPeeringDetails
Output only. Hybrid peering details.
cluster_location str
Optional. Location of the user cluster.
hybrid_replication_type google.cloud.netapp_v1.types.Replication.HybridReplicationType
Output only. Type of the hybrid replication.

Classes

HybridReplicationType

HybridReplicationType(value)

Hybrid replication type.

LabelsEntry

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

The abstract base class for a message.

Parameters
Name Description
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.

ReplicationRole

ReplicationRole(value)

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

ReplicationSchedule

ReplicationSchedule(value)

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

State

State(value)

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