Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource

The "replications" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.NetAppFiles.v1
Assembly: Google.Apis.NetAppFiles.v1.dll
Syntax
public class ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource

Constructors

ReplicationsResource(IClientService)

Constructs a new resource.

Declaration
public ReplicationsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(Replication, string)

Create a new replication for a volume.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.CreateRequest Create(Replication body, string parent)
Parameters
Type Name Description
Replication body

The body of the request.

string parent

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

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.CreateRequest

Delete(string)

Deletes a replication.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The replication resource name, in the format projects/*/locations/*/volumes/*/replications/{replication_id}

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.DeleteRequest

EstablishPeering(EstablishPeeringRequest, string)

Establish replication peering.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.EstablishPeeringRequest EstablishPeering(EstablishPeeringRequest body, string name)
Parameters
Type Name Description
EstablishPeeringRequest body

The body of the request.

string name

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.EstablishPeeringRequest

Get(string)

Describe a replication for a volume.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The replication resource name, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.GetRequest

List(string)

Returns descriptions of all replications for a volume.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The volume for which to retrieve replication information, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}.

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.ListRequest

Patch(Replication, string)

Updates the settings of a specific replication.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.PatchRequest Patch(Replication body, string name)
Parameters
Type Name Description
Replication body

The body of the request.

string name

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

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.PatchRequest

Resume(ResumeReplicationRequest, string)

Resume Cross Region Replication.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.ResumeRequest Resume(ResumeReplicationRequest body, string name)
Parameters
Type Name Description
ResumeReplicationRequest body

The body of the request.

string name

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.ResumeRequest

ReverseDirection(ReverseReplicationDirectionRequest, string)

Reverses direction of replication. Source becomes destination and destination becomes source.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.ReverseDirectionRequest ReverseDirection(ReverseReplicationDirectionRequest body, string name)
Parameters
Type Name Description
ReverseReplicationDirectionRequest body

The body of the request.

string name

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.ReverseDirectionRequest

Stop(StopReplicationRequest, string)

Stop Cross Region Replication.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.StopRequest Stop(StopReplicationRequest body, string name)
Parameters
Type Name Description
StopReplicationRequest body

The body of the request.

string name

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.StopRequest

Sync(SyncReplicationRequest, string)

Syncs the replication. This will invoke one time volume data transfer from source to destination.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.SyncRequest Sync(SyncReplicationRequest body, string name)
Parameters
Type Name Description
SyncReplicationRequest body

The body of the request.

string name

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.SyncRequest
In this article
Back to top Generated by DocFX