Struct google_redis1::api::Cluster
source · pub struct Cluster {Show 13 fields
pub authorization_mode: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub discovery_endpoints: Option<Vec<DiscoveryEndpoint>>,
pub name: Option<String>,
pub psc_configs: Option<Vec<PscConfig>>,
pub psc_connections: Option<Vec<PscConnection>>,
pub replica_count: Option<i32>,
pub shard_count: Option<i32>,
pub size_gb: Option<i32>,
pub state: Option<String>,
pub state_info: Option<StateInfo>,
pub transit_encryption_mode: Option<String>,
pub uid: Option<String>,
}
Expand description
A cluster instance.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations clusters create projects (request)
- locations clusters get projects (response)
- locations clusters patch projects (request)
Fields§
Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
create_time: Option<DateTime<Utc>>
Output only. The timestamp associated with the cluster creation request.
discovery_endpoints: Option<Vec<DiscoveryEndpoint>>
Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
name: Option<String>
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}
psc_configs: Option<Vec<PscConfig>>
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.
psc_connections: Option<Vec<PscConnection>>
Output only. PSC connections for discovery of the cluster topology and accessing the cluster.
replica_count: Option<i32>
Optional. The number of replica nodes per shard.
shard_count: Option<i32>
Required. Number of shards for the Redis cluster.
size_gb: Option<i32>
Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
state: Option<String>
Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
state_info: Option<StateInfo>
Output only. Additional information about the current state of the cluster.
transit_encryption_mode: Option<String>
Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
uid: Option<String>
Output only. System assigned, unique identifier for the cluster.