Reference documentation and code samples for the Google Cloud Net App V1 Client class EstablishVolumePeeringRequest.
EstablishVolumePeeringRequest establishes cluster and svm peerings between the source and destination clusters.
Generated from protobuf message google.cloud.netapp.v1.EstablishVolumePeeringRequest
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The volume resource name, in the format |
↳ peer_cluster_name |
string
Required. Name of the user's local source cluster to be peered with the destination cluster. |
↳ peer_svm_name |
string
Required. Name of the user's local source vserver svm to be peered with the destination vserver svm. |
↳ peer_ip_addresses |
string[]
Optional. List of IPv4 ip addresses to be used for peering. |
↳ peer_volume_name |
string
Required. Name of the user's local source volume to be peered with the destination volume. |
getName
Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The volume resource name, in the format
projects/{project_id}/locations/{location}/volumes/{volume_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPeerClusterName
Required. Name of the user's local source cluster to be peered with the destination cluster.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPeerClusterName
Required. Name of the user's local source cluster to be peered with the destination cluster.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPeerSvmName
Required. Name of the user's local source vserver svm to be peered with the destination vserver svm.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPeerSvmName
Required. Name of the user's local source vserver svm to be peered with the destination vserver svm.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPeerIpAddresses
Optional. List of IPv4 ip addresses to be used for peering.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setPeerIpAddresses
Optional. List of IPv4 ip addresses to be used for peering.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPeerVolumeName
Required. Name of the user's local source volume to be peered with the destination volume.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPeerVolumeName
Required. Name of the user's local source volume to be peered with the destination volume.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|