- NAME
-
- gcloud netapp volumes replications create - create a Cloud NetApp Volume Replication
- SYNOPSIS
-
-
gcloud netapp volumes replications create(REPLICATION:--location=LOCATION)--destination-volume-parameters=[description=DESCRIPTION],[share_name=SHARE_NAME],[storage_pool=STORAGE_POOL],[tiering_policy=TIERING_POLICY],[volume_id=VOLUME_ID]--replication-schedule=REPLICATION_SCHEDULE[--async] [--cluster-location=CLUSTER_LOCATION] [--description=DESCRIPTION] [--labels=[KEY=VALUE,…]] [--volume=VOLUME] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Create a Cloud NetApp Volume Replication.
- EXAMPLES
-
The following command creates a Replication named NAME using the required
arguments:
gcloud netapp volumes replications create NAME --location=us-central1 --volume=vol1 --replication-schedule=EVERY_10_MINUTES --destination-volume-parameters=storage_pool=sp1,volume_id=vol2,share_name=share2 - POSITIONAL ARGUMENTS
-
-
Replication resource - The Replication to create. The arguments in this group
can be used to specify the attributes of this resource. (NOTE) Some attributes
are not given arguments in this group but can be set in other ways.
To set the
projectattribute:-
provide the argument
replicationon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
volumeattribute:-
provide the argument
replicationon the command line with a fully specified name; -
provide the argument
--volumeon the command line.
This must be specified.
REPLICATION-
ID of the replication or fully qualified identifier for the replication.
To set the
replicationattribute:-
provide the argument
replicationon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--location=LOCATION-
The location of the replication.
To set the
locationattribute:-
provide the argument
replicationon the command line with a fully specified name; -
provide the argument
--locationon the command line; -
set the property
netapp/location.
-
provide the argument
-
provide the argument
-
Replication resource - The Replication to create. The arguments in this group
can be used to specify the attributes of this resource. (NOTE) Some attributes
are not given arguments in this group but can be set in other ways.
- REQUIRED FLAGS
-
--destination-volume-parameters=[description=DESCRIPTION],[share_name=SHARE_NAME],[storage_pool=STORAGE_POOL],[tiering_policy=TIERING_POLICY],[volume_id=VOLUME_ID]-
Required, sets
destination_volume_parametersvalue.description-
Sets
descriptionvalue. -
Sets
share_namevalue. storage_pool-
Required, sets
storage_poolvalue. tiering_policy-
Sets
tiering_policyvalue.cooling-threshold-days-
Sets
cooling-threshold-daysvalue. tier-action-
Sets
tier-actionvalue.
volume_id-
Sets
volume_idvalue.
Shorthand Example:--destination-volume-parameters='description=string,share_name=string,storage_pool=string,tiering_policy={"cooling-threshold-days": int, "tier-action": "string"},volume_id=string'
JSON Example:--destination-volume-parameters='{"description": "string", "share_name": "string", "storage_pool": "string", "tiering_policy": {"cooling-threshold-days": int, "tier-action": "string"}, "volume_id": "string"}'
File Example:--destination-volume-parameters=path_to_file.(yaml|json)
--replication-schedule=REPLICATION_SCHEDULE- The schedule for the Replication.
- OPTIONAL FLAGS
-
--async- Return immediately, without waiting for the operation in progress to complete.
--cluster-location=CLUSTER_LOCATION- Location of the user cluster.
--description=DESCRIPTION- A description of the Cloud NetApp Replication
--labels=[KEY=VALUE,…]-
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens (
-), underscores (_), lowercase characters, and numbers. Values must contain only hyphens (-), underscores (_), lowercase characters, and numbers. -
Volume resource - The Volume that the Replication is based on This represents a
Cloud resource. (NOTE) Some attributes are not given arguments in this group but
can be set in other ways.
To set the
projectattribute:-
provide the argument
--volumeon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
locationattribute:-
provide the argument
--volumeon the command line with a fully specified name; -
provide the argument
--locationon the command line; -
set the property
netapp/location.
--volume=VOLUME-
ID of the volume or fully qualified identifier for the volume.
To set the
volumeattribute:-
provide the argument
--volumeon the command line.
-
provide the argument
-
provide the argument
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
-
These variants are also available:
gcloud alpha netapp volumes replications creategcloud beta netapp volumes replications create
gcloud netapp volumes replications create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-22 UTC.