ClusterArgs constructor
- Input<
ClusterAuthorizationMode> ? authorizationMode, - required Input<
String> clusterId, - Input<
String> ? location, - Input<
String> ? name, - Input<
String> ? project, - required Input<
List< pscConfigs,PscConfig> > - Input<
int> ? replicaCount, - Input<
String> ? requestId, - required Input<
int> shardCount, - Input<
ClusterTransitEncryptionMode> ? transitEncryptionMode,
Creates a new ClusterArgs.
authorizationMode Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
clusterId Required. The logical name of the Redis cluster in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
location Optional.
name Unique name of the resource in this scope including project and location using the form: projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
project Optional.
pscConfigs 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.
replicaCount Optional. The number of replica nodes per shard.
requestId Idempotent request UUID.
shardCount Number of shards for the Redis cluster.
transitEncryptionMode Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
Implementation
const ClusterArgs({
this.authorizationMode,
required this.clusterId,
this.location,
this.name,
this.project,
required this.pscConfigs,
this.replicaCount,
this.requestId,
required this.shardCount,
this.transitEncryptionMode,
});