InstanceArgs constructor
- Input<
String?> ? alternativeLocationId, - Input<
bool?> ? authEnabled, - Input<
String?> ? authorizedNetwork, - Input<
String?> ? connectMode, - Input<
String?> ? customerManagedKey, - Input<
String?> ? deletionPolicy, - Input<
bool?> ? deletionProtection, - Input<
String?> ? displayName, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? locationId, - Input<
InstanceMaintenancePolicy?> ? maintenancePolicy, - Input<
String?> ? maintenanceVersion, - required Input<
int> memorySizeGb, - Input<
String?> ? name, - Input<
InstancePersistenceConfig?> ? persistenceConfig, - Input<
String?> ? project, - Input<
String?> ? readReplicasMode, - Input<
Map< ? redisConfigs,String, String> ?> - Input<
String?> ? redisVersion, - Input<
String?> ? region, - Input<
int?> ? replicaCount, - Input<
String?> ? reservedIpRange, - Input<
String?> ? secondaryIpRange, - Input<
String?> ? tier, - Input<
String?> ? transitEncryptionMode,
Creates a new InstanceArgs.
alternativeLocationId Only applicable to STANDARD_HA tier which protects the instance
authEnabled Optional. Indicates whether OSS Redis AUTH is enabled for the
authorizedNetwork The full name of the Google Compute Engine network to which the
connectMode The connection mode of the Redis instance.
customerManagedKey Optional. The KMS key reference that you want to use to encrypt the data at rest for this Redis
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
deletionProtection Whether Terraform will be prevented from destroying the instance.
displayName An arbitrary and optional user-provided name for the instance.
labels Resource labels to represent user provided metadata.
locationId The zone where the instance will be provisioned. If not provided,
maintenancePolicy Maintenance policy for an instance.
maintenanceVersion The self service update maintenance version.
memorySizeGb Redis memory size in GiB.
name The ID of the instance or a fully qualified identifier for the instance.
persistenceConfig Persistence configuration for an instance.
project The ID of the project in which the resource belongs.
readReplicasMode Optional. Read replica mode. Can only be specified when trying to create the instance.
redisConfigs Redis configuration parameters, according to http://redis.io/topics/config.
redisVersion The version of Redis software. If not provided, latest supported
region The name of the Redis region of the instance.
replicaCount Optional. The number of replica nodes. The valid range for the Standard Tier with
reservedIpRange The CIDR range of internal addresses that are reserved for this
secondaryIpRange Optional. Additional IP range for node placement. Required when enabling read replicas on
tier The service tier of the instance. Must be one of these values:
transitEncryptionMode The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance.
Implementation
const InstanceArgs({
this.alternativeLocationId,
this.authEnabled,
this.authorizedNetwork,
this.connectMode,
this.customerManagedKey,
this.deletionPolicy,
this.deletionProtection,
this.displayName,
this.labels,
this.locationId,
this.maintenancePolicy,
this.maintenanceVersion,
required this.memorySizeGb,
this.name,
this.persistenceConfig,
this.project,
this.readReplicasMode,
this.redisConfigs,
this.redisVersion,
this.region,
this.replicaCount,
this.reservedIpRange,
this.secondaryIpRange,
this.tier,
this.transitEncryptionMode,
});