ClusterArgs class
The set of arguments for Cluster. The set of arguments for Cluster.
Constructors
-
ClusterArgs({Input<
ClusterAuthorizationMode> ? authorizationMode, required Input<String> clusterId, Input<String> ? location, Input<String> ? name, Input<String> ? project, required Input<List< pscConfigs, Input<PscConfig> >int> ? replicaCount, Input<String> ? requestId, required Input<int> shardCount, Input<ClusterTransitEncryptionMode> ? transitEncryptionMode}) -
Creates a new ClusterArgs.
authorizationModeOptional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.clusterIdRequired. 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 / locationlocationOptional.nameUnique name of the resource in this scope including project and location using the form:projects/{project_id}/locations/{location_id}/clusters/{cluster_id}projectOptional.pscConfigsEach 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.replicaCountOptional. The number of replica nodes per shard.requestIdIdempotent request UUID.shardCountNumber of shards for the Redis cluster.transitEncryptionModeOptional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.const -
ClusterArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
final
-
clusterId
→ Input<
String> -
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
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> ? -
final
-
name
→ Input<
String> ? -
Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}final -
project
→ Input<
String> ? -
final
-
pscConfigs
→ Input<
List< PscConfig> > -
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.
final
-
replicaCount
→ Input<
int> ? -
Optional. The number of replica nodes per shard.
final
-
requestId
→ Input<
String> ? -
Idempotent request UUID.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Number of shards for the Redis cluster.
final
-
transitEncryptionMode
→ Input<
ClusterTransitEncryptionMode> ? -
Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited