Cluster class
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.
Constructors
- Cluster(String name, {ClusterArgs? args, CustomResourceOptions? options})
-
Creates a new Cluster.
nameThe Pulumi resource name.argsArguments used to configure this Cluster. The set of arguments for Cluster.optionsResource options controlling this resource's behavior.
Properties
-
Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
clusterId
↔ Output<
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
latefinal
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
createTime
↔ Output<
String> -
The timestamp associated with the cluster creation request.
latefinal
-
discoveryEndpoints
↔ Output<
List< Map< >String, dynamic> > -
Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
location
↔ Output<
String> -
latefinal
-
name
↔ Output<
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}latefinal -
project
↔ Output<
String> -
latefinal
-
pscConfigs
↔ Output<
List< Map< >String, dynamic> > -
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.
latefinal
-
pscConnections
↔ Output<
List< Map< >String, dynamic> > -
PSC connections for discovery of the cluster topology and accessing the cluster.
latefinal
-
replicaCount
↔ Output<
int> -
Optional. The number of replica nodes per shard.
latefinal
-
requestId
↔ Output<
String?> -
Idempotent request UUID.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Number of shards for the Redis cluster.
latefinal
-
sizeGb
↔ Output<
int> -
Redis memory size in GB for the entire cluster.
latefinal
-
state
↔ Output<
String> -
The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
latefinal
-
stateInfo
↔ Output<
StateInfoResponse> -
Additional information about the current state of the cluster.
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
transitEncryptionMode
↔ Output<
String> -
Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
latefinal
-
uid
↔ Output<
String> -
System assigned, unique identifier for the cluster.
latefinal
-
urn
↔ Output<
String> -
latefinalinherited
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited