File: //snap/google-cloud-cli/396/help/man/man1/gcloud_alpha_netapp_volumes_replications_create.1
.TH "GCLOUD_ALPHA_NETAPP_VOLUMES_REPLICATIONS_CREATE" 1
.SH "NAME"
.HP
gcloud alpha netapp volumes replications create \- create a Cloud NetApp Volume Replication
.SH "SYNOPSIS"
.HP
\f5gcloud alpha netapp volumes replications create\fR (\fIREPLICATION\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR) \fB\-\-destination\-volume\-parameters\fR=[\fIdescription\fR=\fIDESCRIPTION\fR],[\fIshare_name\fR=\fISHARE_NAME\fR],[\fIstorage_pool\fR=\fISTORAGE_POOL\fR],[\fItiering_policy\fR=\fITIERING_POLICY\fR],[\fIvolume_id\fR=\fIVOLUME_ID\fR] \fB\-\-replication\-schedule\fR=\fIREPLICATION_SCHEDULE\fR [\fB\-\-async\fR] [\fB\-\-cluster\-location\fR=\fICLUSTER_LOCATION\fR] [\fB\-\-description\fR=\fIDESCRIPTION\fR] [\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]] [\fB\-\-volume\fR=\fIVOLUME\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Create a Cloud NetApp Volume Replication.
.SH "EXAMPLES"
The following command creates a Replication named NAME using the required
arguments:
.RS 2m
$ gcloud alpha netapp volumes replications create NAME \e
\-\-location=us\-central1 \-\-volume=vol1 \e
\-\-replication\-schedule=EVERY_10_MINUTES \e
\-\-destination\-volume\-parameters=storage_pool=sp1,\e
volume_id=vol2,share_name=share2
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5replication\fR on the command line with a fully
specified name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
To set the \f5volume\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5replication\fR on the command line with a fully
specified name;
.IP "\(em" 2m
provide the argument \f5\-\-volume\fR on the command line.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fIREPLICATION\fR
ID of the replication or fully qualified identifier for the replication.
To set the \f5replication\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5replication\fR on the command line.
.RE
.sp
This positional argument must be specified if any of the other arguments in this
group are specified.
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
The location of the replication.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5replication\fR on the command line with a fully
specified name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line;
.IP "\(bu" 2m
set the property \f5netapp/location\fR.
.RE
.sp
.RE
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-destination\-volume\-parameters\fR=[\fIdescription\fR=\fIDESCRIPTION\fR],[\fIshare_name\fR=\fISHARE_NAME\fR],[\fIstorage_pool\fR=\fISTORAGE_POOL\fR],[\fItiering_policy\fR=\fITIERING_POLICY\fR],[\fIvolume_id\fR=\fIVOLUME_ID\fR]
Required, sets \f5destination_volume_parameters\fR value.
.RS 2m
.TP 2m
\fBdescription\fR
Sets \f5description\fR value.
.TP 2m
\fBshare_name\fR
Sets \f5share_name\fR value.
.TP 2m
\fBstorage_pool\fR
Required, sets \f5storage_pool\fR value.
.TP 2m
\fBtiering_policy\fR
Sets \f5tiering_policy\fR value.
.RS 2m
.TP 2m
\fBcooling\-threshold\-days\fR
Sets \f5cooling\-threshold\-days\fR value.
.TP 2m
\fBtier\-action\fR
Sets \f5tier\-action\fR value.
.RE
.sp
.TP 2m
\fBvolume_id\fR
Sets \f5volume_id\fR value.
.RE
.sp
\fBShorthand Example:\fR
.RS 2m
\-\-destination\-volume\-parameters='description=string,share_name=string,storage_pool=string,tiering_policy={"cooling\-threshold\-days": int, "tier\-action": "string"},volume_id=string'
.RE
\fBJSON Example:\fR
.RS 2m
\-\-destination\-volume\-parameters='{"description": "string", "share_name": "string", "storage_pool": "string", "tiering_policy": {"cooling\-threshold\-days": int, "tier\-action": "string"}, "volume_id": "string"}'
.RE
\fBFile Example:\fR
.RS 2m
\-\-destination\-volume\-parameters=path_to_file.(yaml|json)
.RE
.TP 2m
\fB\-\-replication\-schedule\fR=\fIREPLICATION_SCHEDULE\fR
The schedule for the Replication.
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
.TP 2m
\fB\-\-cluster\-location\fR=\fICLUSTER_LOCATION\fR
Location of the user cluster.
.TP 2m
\fB\-\-description\fR=\fIDESCRIPTION\fR
A description of the Cloud NetApp Replication
.TP 2m
\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens (\f5\-\fR),
underscores (\f5_\fR), lowercase characters, and numbers. Values must contain
only hyphens (\f5\-\fR), underscores (\f5_\fR), lowercase characters, and
numbers.
.TP 2m
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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-volume\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
To set the \f5location\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-volume\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-location\fR on the command line;
.IP "\(em" 2m
set the property \f5netapp/location\fR.
.RE
.sp
.RS 2m
.TP 2m
\fB\-\-volume\fR=\fIVOLUME\fR
ID of the volume or fully qualified identifier for the volume.
To set the \f5volume\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-volume\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation\-only early access
allowlist. These variants are also available:
.RS 2m
$ gcloud netapp volumes replications create
.RE
.RS 2m
$ gcloud beta netapp volumes replications create
.RE