Class ReplicasResource
The "replicas" collection of methods.
Inheritance
Namespace: Google.Apis.Replicapool.v1beta1
Assembly: Google.Apis.Replicapool.v1beta1.dll
Syntax
public class ReplicasResource : object
Constructors
ReplicasResource(IClientService)
Constructs a new resource.
Declaration
public ReplicasResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(ReplicasDeleteRequest, String, String, String, String)
Deletes a replica from the pool.
Declaration
public virtual ReplicasResource.DeleteRequest Delete(ReplicasDeleteRequest body, string projectName, string zone, string poolName, string replicaName)
Parameters
Type | Name | Description |
---|---|---|
ReplicasDeleteRequest | body | The body of the request. |
System.String | projectName | The project ID for this request. |
System.String | zone | The zone where the replica lives. |
System.String | poolName | The replica pool name for this request. |
System.String | replicaName | The name of the replica for this request. |
Returns
Type | Description |
---|---|
ReplicasResource.DeleteRequest |
Get(String, String, String, String)
Gets information about a specific replica.
Declaration
public virtual ReplicasResource.GetRequest Get(string projectName, string zone, string poolName, string replicaName)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectName | The project ID for this request. |
System.String | zone | The zone where the replica lives. |
System.String | poolName | The replica pool name for this request. |
System.String | replicaName | The name of the replica for this request. |
Returns
Type | Description |
---|---|
ReplicasResource.GetRequest |
List(String, String, String)
Lists all replicas in a pool.
Declaration
public virtual ReplicasResource.ListRequest List(string projectName, string zone, string poolName)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectName | The project ID for this request. |
System.String | zone | The zone where the replica pool lives. |
System.String | poolName | The replica pool name for this request. |
Returns
Type | Description |
---|---|
ReplicasResource.ListRequest |
Restart(String, String, String, String)
Restarts a replica in a pool.
Declaration
public virtual ReplicasResource.RestartRequest Restart(string projectName, string zone, string poolName, string replicaName)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectName | The project ID for this request. |
System.String | zone | The zone where the replica lives. |
System.String | poolName | The replica pool name for this request. |
System.String | replicaName | The name of the replica for this request. |
Returns
Type | Description |
---|---|
ReplicasResource.RestartRequest |