public sealed class Cluster : IMessage<Cluster>, IEquatable<Cluster>, IDeepCloneable<Cluster>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API class Cluster.
A cluster instance.
Namespace
Google.Cloud.Redis.Cluster.V1Assembly
Google.Cloud.Redis.Cluster.V1.dll
Constructors
Cluster()
public Cluster()
Cluster(Cluster)
public Cluster(Cluster other)
Parameter | |
---|---|
Name | Description |
other |
Cluster |
Properties
AuthorizationMode
public AuthorizationMode AuthorizationMode { get; set; }
Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
Property Value | |
---|---|
Type | Description |
AuthorizationMode |
ClusterName
public ClusterName ClusterName { get; set; }
ClusterName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ClusterName |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The timestamp associated with the cluster creation request.
Property Value | |
---|---|
Type | Description |
Timestamp |
DiscoveryEndpoints
public RepeatedField<DiscoveryEndpoint> DiscoveryEndpoints { get; }
Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
Property Value | |
---|---|
Type | Description |
RepeatedFieldDiscoveryEndpoint |
HasReplicaCount
public bool HasReplicaCount { get; }
Gets whether the "replica_count" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasShardCount
public bool HasShardCount { get; }
Gets whether the "shard_count" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSizeGb
public bool HasSizeGb { get; }
Gets whether the "size_gb" field is set
Property Value | |
---|---|
Type | Description |
bool |
Name
public string Name { get; set; }
Required. Unique name of the resource in this scope including project and
location using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
Property Value | |
---|---|
Type | Description |
string |
PscConfigs
public RepeatedField<PscConfig> PscConfigs { get; }
Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
Property Value | |
---|---|
Type | Description |
RepeatedFieldPscConfig |
PscConnections
public RepeatedField<PscConnection> PscConnections { get; }
Output only. PSC connections for discovery of the cluster topology and accessing the cluster.
Property Value | |
---|---|
Type | Description |
RepeatedFieldPscConnection |
ReplicaCount
public int ReplicaCount { get; set; }
Optional. The number of replica nodes per shard.
Property Value | |
---|---|
Type | Description |
int |
ShardCount
public int ShardCount { get; set; }
Required. Number of shards for the Redis cluster.
Property Value | |
---|---|
Type | Description |
int |
SizeGb
public int SizeGb { get; set; }
Output only. Redis memory size in GB for the entire cluster.
Property Value | |
---|---|
Type | Description |
int |
State
public Cluster.Types.State State { get; set; }
Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
Property Value | |
---|---|
Type | Description |
ClusterTypesState |
StateInfo
public Cluster.Types.StateInfo StateInfo { get; set; }
Output only. Additional information about the current state of the cluster.
Property Value | |
---|---|
Type | Description |
ClusterTypesStateInfo |
TransitEncryptionMode
public TransitEncryptionMode TransitEncryptionMode { get; set; }
Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
Property Value | |
---|---|
Type | Description |
TransitEncryptionMode |
Uid
public string Uid { get; set; }
Output only. System assigned, unique identifier for the cluster.
Property Value | |
---|---|
Type | Description |
string |