Class ProjectsResource.LocationsResource.ClustersResource
The "clusters" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudRedis.v1beta1
Assembly: Google.Apis.CloudRedis.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource
Constructors
ClustersResource(IClientService)
Constructs a new resource.
Declaration
public ClustersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Cluster, string)
Creates a Redis cluster based on the specified properties. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis cluster will be fully functional. The completed longrunning.Operation will contain the new cluster object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.CreateRequest Create(Cluster body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Cluster | body | The body of the request. |
string | parent | Required. The resource name of the cluster location using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.CreateRequest |
Delete(string)
Deletes a specific Redis cluster. Cluster stops serving and data is deleted.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Redis cluster resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.DeleteRequest |
Get(string)
Gets the details of a specific Redis cluster.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Redis cluster resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.GetRequest |
GetCertificateAuthority(string)
Gets the details of certificate authority information for Redis cluster.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.GetCertificateAuthorityRequest GetCertificateAuthority(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Redis cluster certificate authority resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.GetCertificateAuthorityRequest |
List(string)
Lists all Redis clusters owned by a project in either the specified location (region) or all
locations. The location should have the following format: *
projects/{project_id}/locations/{location_id}
If location_id
is specified as -
(wildcard),
then all regions available to the project are queried, and the results are aggregated.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the cluster location using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.ListRequest |
Patch(Cluster, string)
Updates the metadata and configuration of a specific Redis cluster. Completed longrunning.Operation will contain the new cluster object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.PatchRequest Patch(Cluster body, string name)
Parameters
Type | Name | Description |
---|---|---|
Cluster | body | The body of the request. |
string | name | Required. Identifier. Unique name of the resource in this scope including project and location using
the form: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.PatchRequest |
RescheduleClusterMaintenance(RescheduleClusterMaintenanceRequest, string)
Reschedules upcoming maintenance event.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.RescheduleClusterMaintenanceRequest RescheduleClusterMaintenance(RescheduleClusterMaintenanceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RescheduleClusterMaintenanceRequest | body | The body of the request. |
string | name | Required. Redis Cluster instance resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.RescheduleClusterMaintenanceRequest |