v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-134680139.0 KB
projects

Create a new replication for a volume.

post/v1/{+parent}/replications

Path parameters

parentstring required

Required. The NetApp volume to create the replications of, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}

Query parameters

replicationIdstring

Required. ID of the replication to create. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

Request body

state'STATE_UNSPECIFIED' | 'CREATING' | 'READY' | 'UPDATING' | 'DELETING' | 'ERROR' | 'PENDING_CLUSTER_PEERING' | 'PENDING_SVM_PEERING' | 'PENDING_REMOTE_RESYNC' | 'EXTERNALLY_MANAGED_REPLICATION'

Output only. State of the replication.

destinationVolumestring

Output only. Full name of destination volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}"

clusterLocationstring

Optional. Location of the user cluster.

replicationSchedule'REPLICATION_SCHEDULE_UNSPECIFIED' | 'EVERY_10_MINUTES' | 'HOURLY' | 'DAILY'

Required. Indicates the schedule for replication.

createTimestring google-datetime

Output only. Replication create time.

sourceVolumestring

Output only. Full name of source volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}"

stateDetailsstring

Output only. State details of the replication.

healthyboolean

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.

hybridReplicationType'HYBRID_REPLICATION_TYPE_UNSPECIFIED' | 'MIGRATION' | 'CONTINUOUS_REPLICATION' | 'ONPREM_REPLICATION' | 'REVERSE_ONPREM_REPLICATION'

Output only. Type of the hybrid replication.

descriptionstring

A description about this replication relationship.

namestring

Identifier. The resource name of the Replication. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

role'REPLICATION_ROLE_UNSPECIFIED' | 'SOURCE' | 'DESTINATION'

Output only. Indicates whether this points to source or destination.

mirrorState'MIRROR_STATE_UNSPECIFIED' | 'PREPARING' | 'MIRRORED' | 'STOPPED' | 'TRANSFERRING' | 'BASELINE_TRANSFERRING' | 'ABORTED' | 'EXTERNALLY_MANAGED' | 'PENDING_PEERING'

Output only. Indicates the state of mirroring.

labelsobject

Resource labels to represent user provided metadata.

Response

Successful response