Class ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource
The "replications" collection of methods.
Inherited Members
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
|
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
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource.DeleteRequest |
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
|
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
|
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:
|
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 |