Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.redis/v1.Instance
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a Redis instance based on the specified tier and memory size. By default, the instance is accessible from the project’s default network. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis instance will be fully functional. Completed longrunning.Operation will contain the new instance object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
tier: Optional[InstanceTier] = None,
memory_size_gb: Optional[int] = None,
display_name: Optional[str] = None,
persistence_config: Optional[PersistenceConfigArgs] = None,
customer_managed_key: Optional[str] = None,
alternative_location_id: Optional[str] = None,
available_maintenance_versions: Optional[Sequence[str]] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
maintenance_policy: Optional[MaintenancePolicyArgs] = None,
maintenance_version: Optional[str] = None,
authorized_network: Optional[str] = None,
name: Optional[str] = None,
connect_mode: Optional[InstanceConnectMode] = None,
project: Optional[str] = None,
read_replicas_mode: Optional[InstanceReadReplicasMode] = None,
redis_configs: Optional[Mapping[str, str]] = None,
redis_version: Optional[str] = None,
replica_count: Optional[int] = None,
reserved_ip_range: Optional[str] = None,
secondary_ip_range: Optional[str] = None,
suspension_reasons: Optional[Sequence[InstanceSuspensionReasonsItem]] = None,
auth_enabled: Optional[bool] = None,
transit_encryption_mode: Optional[InstanceTransitEncryptionMode] = None)
func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: google-native:redis/v1:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleinstanceResourceResourceFromRedisv1 = new GoogleNative.Redis.V1.Instance("exampleinstanceResourceResourceFromRedisv1", new()
{
InstanceId = "string",
Tier = GoogleNative.Redis.V1.InstanceTier.TierUnspecified,
MemorySizeGb = 0,
DisplayName = "string",
PersistenceConfig = new GoogleNative.Redis.V1.Inputs.PersistenceConfigArgs
{
PersistenceMode = GoogleNative.Redis.V1.PersistenceConfigPersistenceMode.PersistenceModeUnspecified,
RdbSnapshotPeriod = GoogleNative.Redis.V1.PersistenceConfigRdbSnapshotPeriod.SnapshotPeriodUnspecified,
RdbSnapshotStartTime = "string",
},
CustomerManagedKey = "string",
AlternativeLocationId = "string",
AvailableMaintenanceVersions = new[]
{
"string",
},
Labels =
{
{ "string", "string" },
},
Location = "string",
MaintenancePolicy = new GoogleNative.Redis.V1.Inputs.MaintenancePolicyArgs
{
Description = "string",
WeeklyMaintenanceWindow = new[]
{
new GoogleNative.Redis.V1.Inputs.WeeklyMaintenanceWindowArgs
{
Day = GoogleNative.Redis.V1.WeeklyMaintenanceWindowDay.DayOfWeekUnspecified,
StartTime = new GoogleNative.Redis.V1.Inputs.TimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
},
},
},
MaintenanceVersion = "string",
AuthorizedNetwork = "string",
Name = "string",
ConnectMode = GoogleNative.Redis.V1.InstanceConnectMode.ConnectModeUnspecified,
Project = "string",
ReadReplicasMode = GoogleNative.Redis.V1.InstanceReadReplicasMode.ReadReplicasModeUnspecified,
RedisConfigs =
{
{ "string", "string" },
},
RedisVersion = "string",
ReplicaCount = 0,
ReservedIpRange = "string",
SecondaryIpRange = "string",
SuspensionReasons = new[]
{
GoogleNative.Redis.V1.InstanceSuspensionReasonsItem.SuspensionReasonUnspecified,
},
AuthEnabled = false,
TransitEncryptionMode = GoogleNative.Redis.V1.InstanceTransitEncryptionMode.TransitEncryptionModeUnspecified,
});
example, err := redis.NewInstance(ctx, "exampleinstanceResourceResourceFromRedisv1", &redis.InstanceArgs{
InstanceId: pulumi.String("string"),
Tier: redis.InstanceTierTierUnspecified,
MemorySizeGb: pulumi.Int(0),
DisplayName: pulumi.String("string"),
PersistenceConfig: &redis.PersistenceConfigArgs{
PersistenceMode: redis.PersistenceConfigPersistenceModePersistenceModeUnspecified,
RdbSnapshotPeriod: redis.PersistenceConfigRdbSnapshotPeriodSnapshotPeriodUnspecified,
RdbSnapshotStartTime: pulumi.String("string"),
},
CustomerManagedKey: pulumi.String("string"),
AlternativeLocationId: pulumi.String("string"),
AvailableMaintenanceVersions: pulumi.StringArray{
pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
MaintenancePolicy: &redis.MaintenancePolicyArgs{
Description: pulumi.String("string"),
WeeklyMaintenanceWindow: redis.WeeklyMaintenanceWindowArray{
&redis.WeeklyMaintenanceWindowArgs{
Day: redis.WeeklyMaintenanceWindowDayDayOfWeekUnspecified,
StartTime: &redis.TimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
},
},
},
MaintenanceVersion: pulumi.String("string"),
AuthorizedNetwork: pulumi.String("string"),
Name: pulumi.String("string"),
ConnectMode: redis.InstanceConnectModeConnectModeUnspecified,
Project: pulumi.String("string"),
ReadReplicasMode: redis.InstanceReadReplicasModeReadReplicasModeUnspecified,
RedisConfigs: pulumi.StringMap{
"string": pulumi.String("string"),
},
RedisVersion: pulumi.String("string"),
ReplicaCount: pulumi.Int(0),
ReservedIpRange: pulumi.String("string"),
SecondaryIpRange: pulumi.String("string"),
SuspensionReasons: redis.InstanceSuspensionReasonsItemArray{
redis.InstanceSuspensionReasonsItemSuspensionReasonUnspecified,
},
AuthEnabled: pulumi.Bool(false),
TransitEncryptionMode: redis.InstanceTransitEncryptionModeTransitEncryptionModeUnspecified,
})
var exampleinstanceResourceResourceFromRedisv1 = new Instance("exampleinstanceResourceResourceFromRedisv1", InstanceArgs.builder()
.instanceId("string")
.tier("TIER_UNSPECIFIED")
.memorySizeGb(0)
.displayName("string")
.persistenceConfig(PersistenceConfigArgs.builder()
.persistenceMode("PERSISTENCE_MODE_UNSPECIFIED")
.rdbSnapshotPeriod("SNAPSHOT_PERIOD_UNSPECIFIED")
.rdbSnapshotStartTime("string")
.build())
.customerManagedKey("string")
.alternativeLocationId("string")
.availableMaintenanceVersions("string")
.labels(Map.of("string", "string"))
.location("string")
.maintenancePolicy(MaintenancePolicyArgs.builder()
.description("string")
.weeklyMaintenanceWindow(WeeklyMaintenanceWindowArgs.builder()
.day("DAY_OF_WEEK_UNSPECIFIED")
.startTime(TimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.build())
.build())
.maintenanceVersion("string")
.authorizedNetwork("string")
.name("string")
.connectMode("CONNECT_MODE_UNSPECIFIED")
.project("string")
.readReplicasMode("READ_REPLICAS_MODE_UNSPECIFIED")
.redisConfigs(Map.of("string", "string"))
.redisVersion("string")
.replicaCount(0)
.reservedIpRange("string")
.secondaryIpRange("string")
.suspensionReasons("SUSPENSION_REASON_UNSPECIFIED")
.authEnabled(false)
.transitEncryptionMode("TRANSIT_ENCRYPTION_MODE_UNSPECIFIED")
.build());
exampleinstance_resource_resource_from_redisv1 = google_native.redis.v1.Instance("exampleinstanceResourceResourceFromRedisv1",
instance_id="string",
tier=google_native.redis.v1.InstanceTier.TIER_UNSPECIFIED,
memory_size_gb=0,
display_name="string",
persistence_config=google_native.redis.v1.PersistenceConfigArgs(
persistence_mode=google_native.redis.v1.PersistenceConfigPersistenceMode.PERSISTENCE_MODE_UNSPECIFIED,
rdb_snapshot_period=google_native.redis.v1.PersistenceConfigRdbSnapshotPeriod.SNAPSHOT_PERIOD_UNSPECIFIED,
rdb_snapshot_start_time="string",
),
customer_managed_key="string",
alternative_location_id="string",
available_maintenance_versions=["string"],
labels={
"string": "string",
},
location="string",
maintenance_policy=google_native.redis.v1.MaintenancePolicyArgs(
description="string",
weekly_maintenance_window=[google_native.redis.v1.WeeklyMaintenanceWindowArgs(
day=google_native.redis.v1.WeeklyMaintenanceWindowDay.DAY_OF_WEEK_UNSPECIFIED,
start_time=google_native.redis.v1.TimeOfDayArgs(
hours=0,
minutes=0,
nanos=0,
seconds=0,
),
)],
),
maintenance_version="string",
authorized_network="string",
name="string",
connect_mode=google_native.redis.v1.InstanceConnectMode.CONNECT_MODE_UNSPECIFIED,
project="string",
read_replicas_mode=google_native.redis.v1.InstanceReadReplicasMode.READ_REPLICAS_MODE_UNSPECIFIED,
redis_configs={
"string": "string",
},
redis_version="string",
replica_count=0,
reserved_ip_range="string",
secondary_ip_range="string",
suspension_reasons=[google_native.redis.v1.InstanceSuspensionReasonsItem.SUSPENSION_REASON_UNSPECIFIED],
auth_enabled=False,
transit_encryption_mode=google_native.redis.v1.InstanceTransitEncryptionMode.TRANSIT_ENCRYPTION_MODE_UNSPECIFIED)
const exampleinstanceResourceResourceFromRedisv1 = new google_native.redis.v1.Instance("exampleinstanceResourceResourceFromRedisv1", {
instanceId: "string",
tier: google_native.redis.v1.InstanceTier.TierUnspecified,
memorySizeGb: 0,
displayName: "string",
persistenceConfig: {
persistenceMode: google_native.redis.v1.PersistenceConfigPersistenceMode.PersistenceModeUnspecified,
rdbSnapshotPeriod: google_native.redis.v1.PersistenceConfigRdbSnapshotPeriod.SnapshotPeriodUnspecified,
rdbSnapshotStartTime: "string",
},
customerManagedKey: "string",
alternativeLocationId: "string",
availableMaintenanceVersions: ["string"],
labels: {
string: "string",
},
location: "string",
maintenancePolicy: {
description: "string",
weeklyMaintenanceWindow: [{
day: google_native.redis.v1.WeeklyMaintenanceWindowDay.DayOfWeekUnspecified,
startTime: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
}],
},
maintenanceVersion: "string",
authorizedNetwork: "string",
name: "string",
connectMode: google_native.redis.v1.InstanceConnectMode.ConnectModeUnspecified,
project: "string",
readReplicasMode: google_native.redis.v1.InstanceReadReplicasMode.ReadReplicasModeUnspecified,
redisConfigs: {
string: "string",
},
redisVersion: "string",
replicaCount: 0,
reservedIpRange: "string",
secondaryIpRange: "string",
suspensionReasons: [google_native.redis.v1.InstanceSuspensionReasonsItem.SuspensionReasonUnspecified],
authEnabled: false,
transitEncryptionMode: google_native.redis.v1.InstanceTransitEncryptionMode.TransitEncryptionModeUnspecified,
});
type: google-native:redis/v1:Instance
properties:
alternativeLocationId: string
authEnabled: false
authorizedNetwork: string
availableMaintenanceVersions:
- string
connectMode: CONNECT_MODE_UNSPECIFIED
customerManagedKey: string
displayName: string
instanceId: string
labels:
string: string
location: string
maintenancePolicy:
description: string
weeklyMaintenanceWindow:
- day: DAY_OF_WEEK_UNSPECIFIED
startTime:
hours: 0
minutes: 0
nanos: 0
seconds: 0
maintenanceVersion: string
memorySizeGb: 0
name: string
persistenceConfig:
persistenceMode: PERSISTENCE_MODE_UNSPECIFIED
rdbSnapshotPeriod: SNAPSHOT_PERIOD_UNSPECIFIED
rdbSnapshotStartTime: string
project: string
readReplicasMode: READ_REPLICAS_MODE_UNSPECIFIED
redisConfigs:
string: string
redisVersion: string
replicaCount: 0
reservedIpRange: string
secondaryIpRange: string
suspensionReasons:
- SUSPENSION_REASON_UNSPECIFIED
tier: TIER_UNSPECIFIED
transitEncryptionMode: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED
Instance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Instance resource accepts the following input properties:
- Instance
Id string - Required. The logical name of the Redis instance 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-40 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
- Memory
Size intGb - Redis memory size in GiB.
- Tier
Pulumi.
Google Native. Redis. V1. Instance Tier - The service tier of the instance.
- Alternative
Location stringId - Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service.
- Auth
Enabled bool - Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to "true" AUTH is enabled on the instance. Default value is "false" meaning AUTH is disabled.
- string
- Optional. The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the
default
network will be used. - Available
Maintenance List<string>Versions - Optional. The available maintenance versions that an instance could update to.
- Connect
Mode Pulumi.Google Native. Redis. V1. Instance Connect Mode - Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING.
- Customer
Managed stringKey - Optional. The KMS key reference that the customer provides when trying to create the instance.
- Display
Name string - An arbitrary and optional user-provided name for the instance.
- Labels Dictionary<string, string>
- Resource labels to represent user provided metadata
- Location string
- Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, additional nodes will be added across multiple zones for protection against zonal failures. If specified, at least one node will be provisioned in this zone.
- Maintenance
Policy Pulumi.Google Native. Redis. V1. Inputs. Maintenance Policy - Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
- Maintenance
Version string - Optional. The self service update maintenance version. The version is date based such as "20210712_00_00".
- Name string
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details. - Persistence
Config Pulumi.Google Native. Redis. V1. Inputs. Persistence Config - Optional. Persistence configuration parameters
- Project string
- Read
Replicas Pulumi.Mode Google Native. Redis. V1. Instance Read Replicas Mode - Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED.
- Redis
Configs Dictionary<string, string> - Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
- Redis
Version string - Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: *
REDIS_3_2
for Redis 3.2 compatibility *REDIS_4_0
for Redis 4.0 compatibility (default) *REDIS_5_0
for Redis 5.0 compatibility *REDIS_6_X
for Redis 6.x compatibility - Replica
Count int - Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
- Reserved
Ip stringRange - Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.
- Secondary
Ip stringRange - Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or "auto".
- Suspension
Reasons List<Pulumi.Google Native. Redis. V1. Instance Suspension Reasons Item> - Optional. reasons that causes instance in "SUSPENDED" state.
- Transit
Encryption Pulumi.Mode Google Native. Redis. V1. Instance Transit Encryption Mode - Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance.
- Instance
Id string - Required. The logical name of the Redis instance 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-40 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
- Memory
Size intGb - Redis memory size in GiB.
- Tier
Instance
Tier - The service tier of the instance.
- Alternative
Location stringId - Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service.
- Auth
Enabled bool - Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to "true" AUTH is enabled on the instance. Default value is "false" meaning AUTH is disabled.
- string
- Optional. The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the
default
network will be used. - Available
Maintenance []stringVersions - Optional. The available maintenance versions that an instance could update to.
- Connect
Mode InstanceConnect Mode - Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING.
- Customer
Managed stringKey - Optional. The KMS key reference that the customer provides when trying to create the instance.
- Display
Name string - An arbitrary and optional user-provided name for the instance.
- Labels map[string]string
- Resource labels to represent user provided metadata
- Location string
- Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, additional nodes will be added across multiple zones for protection against zonal failures. If specified, at least one node will be provisioned in this zone.
- Maintenance
Policy MaintenancePolicy Args - Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
- Maintenance
Version string - Optional. The self service update maintenance version. The version is date based such as "20210712_00_00".
- Name string
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details. - Persistence
Config PersistenceConfig Args - Optional. Persistence configuration parameters
- Project string
- Read
Replicas InstanceMode Read Replicas Mode - Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED.
- Redis
Configs map[string]string - Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
- Redis
Version string - Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: *
REDIS_3_2
for Redis 3.2 compatibility *REDIS_4_0
for Redis 4.0 compatibility (default) *REDIS_5_0
for Redis 5.0 compatibility *REDIS_6_X
for Redis 6.x compatibility - Replica
Count int - Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
- Reserved
Ip stringRange - Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.
- Secondary
Ip stringRange - Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or "auto".
- Suspension
Reasons []InstanceSuspension Reasons Item - Optional. reasons that causes instance in "SUSPENDED" state.
- Transit
Encryption InstanceMode Transit Encryption Mode - Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance.
- instance
Id String - Required. The logical name of the Redis instance 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-40 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
- memory
Size IntegerGb - Redis memory size in GiB.
- tier
Instance
Tier - The service tier of the instance.
- alternative
Location StringId - Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service.
- auth
Enabled Boolean - Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to "true" AUTH is enabled on the instance. Default value is "false" meaning AUTH is disabled.
- String
- Optional. The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the
default
network will be used. - available
Maintenance List<String>Versions - Optional. The available maintenance versions that an instance could update to.
- connect
Mode InstanceConnect Mode - Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING.
- customer
Managed StringKey - Optional. The KMS key reference that the customer provides when trying to create the instance.
- display
Name String - An arbitrary and optional user-provided name for the instance.
- labels Map<String,String>
- Resource labels to represent user provided metadata
- location String
- Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, additional nodes will be added across multiple zones for protection against zonal failures. If specified, at least one node will be provisioned in this zone.
- maintenance
Policy MaintenancePolicy - Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
- maintenance
Version String - Optional. The self service update maintenance version. The version is date based such as "20210712_00_00".
- name String
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details. - persistence
Config PersistenceConfig - Optional. Persistence configuration parameters
- project String
- read
Replicas InstanceMode Read Replicas Mode - Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED.
- redis
Configs Map<String,String> - Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
- redis
Version String - Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: *
REDIS_3_2
for Redis 3.2 compatibility *REDIS_4_0
for Redis 4.0 compatibility (default) *REDIS_5_0
for Redis 5.0 compatibility *REDIS_6_X
for Redis 6.x compatibility - replica
Count Integer - Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
- reserved
Ip StringRange - Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.
- secondary
Ip StringRange - Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or "auto".
- suspension
Reasons List<InstanceSuspension Reasons Item> - Optional. reasons that causes instance in "SUSPENDED" state.
- transit
Encryption InstanceMode Transit Encryption Mode - Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance.
- instance
Id string - Required. The logical name of the Redis instance 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-40 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
- memory
Size numberGb - Redis memory size in GiB.
- tier
Instance
Tier - The service tier of the instance.
- alternative
Location stringId - Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service.
- auth
Enabled boolean - Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to "true" AUTH is enabled on the instance. Default value is "false" meaning AUTH is disabled.
- string
- Optional. The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the
default
network will be used. - available
Maintenance string[]Versions - Optional. The available maintenance versions that an instance could update to.
- connect
Mode InstanceConnect Mode - Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING.
- customer
Managed stringKey - Optional. The KMS key reference that the customer provides when trying to create the instance.
- display
Name string - An arbitrary and optional user-provided name for the instance.
- labels {[key: string]: string}
- Resource labels to represent user provided metadata
- location string
- Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, additional nodes will be added across multiple zones for protection against zonal failures. If specified, at least one node will be provisioned in this zone.
- maintenance
Policy MaintenancePolicy - Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
- maintenance
Version string - Optional. The self service update maintenance version. The version is date based such as "20210712_00_00".
- name string
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details. - persistence
Config PersistenceConfig - Optional. Persistence configuration parameters
- project string
- read
Replicas InstanceMode Read Replicas Mode - Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED.
- redis
Configs {[key: string]: string} - Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
- redis
Version string - Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: *
REDIS_3_2
for Redis 3.2 compatibility *REDIS_4_0
for Redis 4.0 compatibility (default) *REDIS_5_0
for Redis 5.0 compatibility *REDIS_6_X
for Redis 6.x compatibility - replica
Count number - Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
- reserved
Ip stringRange - Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.
- secondary
Ip stringRange - Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or "auto".
- suspension
Reasons InstanceSuspension Reasons Item[] - Optional. reasons that causes instance in "SUSPENDED" state.
- transit
Encryption InstanceMode Transit Encryption Mode - Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance.
- instance_
id str - Required. The logical name of the Redis instance 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-40 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
- memory_
size_ intgb - Redis memory size in GiB.
- tier
Instance
Tier - The service tier of the instance.
- alternative_
location_ strid - Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service.
- auth_
enabled bool - Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to "true" AUTH is enabled on the instance. Default value is "false" meaning AUTH is disabled.
- str
- Optional. The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the
default
network will be used. - available_
maintenance_ Sequence[str]versions - Optional. The available maintenance versions that an instance could update to.
- connect_
mode InstanceConnect Mode - Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING.
- customer_
managed_ strkey - Optional. The KMS key reference that the customer provides when trying to create the instance.
- display_
name str - An arbitrary and optional user-provided name for the instance.
- labels Mapping[str, str]
- Resource labels to represent user provided metadata
- location str
- Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, additional nodes will be added across multiple zones for protection against zonal failures. If specified, at least one node will be provisioned in this zone.
- maintenance_
policy MaintenancePolicy Args - Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
- maintenance_
version str - Optional. The self service update maintenance version. The version is date based such as "20210712_00_00".
- name str
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details. - persistence_
config PersistenceConfig Args - Optional. Persistence configuration parameters
- project str
- read_
replicas_ Instancemode Read Replicas Mode - Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED.
- redis_
configs Mapping[str, str] - Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
- redis_
version str - Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: *
REDIS_3_2
for Redis 3.2 compatibility *REDIS_4_0
for Redis 4.0 compatibility (default) *REDIS_5_0
for Redis 5.0 compatibility *REDIS_6_X
for Redis 6.x compatibility - replica_
count int - Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
- reserved_
ip_ strrange - Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.
- secondary_
ip_ strrange - Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or "auto".
- suspension_
reasons Sequence[InstanceSuspension Reasons Item] - Optional. reasons that causes instance in "SUSPENDED" state.
- transit_
encryption_ Instancemode Transit Encryption Mode - Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance.
- instance
Id String - Required. The logical name of the Redis instance 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-40 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
- memory
Size NumberGb - Redis memory size in GiB.
- tier "TIER_UNSPECIFIED" | "BASIC" | "STANDARD_HA"
- The service tier of the instance.
- alternative
Location StringId - Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service.
- auth
Enabled Boolean - Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to "true" AUTH is enabled on the instance. Default value is "false" meaning AUTH is disabled.
- String
- Optional. The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the
default
network will be used. - available
Maintenance List<String>Versions - Optional. The available maintenance versions that an instance could update to.
- connect
Mode "CONNECT_MODE_UNSPECIFIED" | "DIRECT_PEERING" | "PRIVATE_SERVICE_ACCESS" - Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING.
- customer
Managed StringKey - Optional. The KMS key reference that the customer provides when trying to create the instance.
- display
Name String - An arbitrary and optional user-provided name for the instance.
- labels Map<String>
- Resource labels to represent user provided metadata
- location String
- Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, additional nodes will be added across multiple zones for protection against zonal failures. If specified, at least one node will be provisioned in this zone.
- maintenance
Policy Property Map - Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
- maintenance
Version String - Optional. The self service update maintenance version. The version is date based such as "20210712_00_00".
- name String
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details. - persistence
Config Property Map - Optional. Persistence configuration parameters
- project String
- read
Replicas "READ_REPLICAS_MODE_UNSPECIFIED" | "READ_REPLICAS_DISABLED" | "READ_REPLICAS_ENABLED"Mode - Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED.
- redis
Configs Map<String> - Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
- redis
Version String - Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: *
REDIS_3_2
for Redis 3.2 compatibility *REDIS_4_0
for Redis 4.0 compatibility (default) *REDIS_5_0
for Redis 5.0 compatibility *REDIS_6_X
for Redis 6.x compatibility - replica
Count Number - Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
- reserved
Ip StringRange - Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.
- secondary
Ip StringRange - Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or "auto".
- suspension
Reasons List<"SUSPENSION_REASON_UNSPECIFIED" | "CUSTOMER_MANAGED_KEY_ISSUE"> - Optional. reasons that causes instance in "SUSPENDED" state.
- transit
Encryption "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED" | "SERVER_AUTHENTICATION" | "DISABLED"Mode - Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Create
Time string - The time the instance was created.
- Current
Location stringId - The current zone where the Redis primary node is located. In basic tier, this will always be the same as [location_id]. In standard tier, this can be the zone of any node in the instance.
- Host string
- Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Schedule Pulumi.Google Native. Redis. V1. Outputs. Maintenance Schedule Response - Date and time of upcoming maintenance events which have been scheduled.
- Nodes
List<Pulumi.
Google Native. Redis. V1. Outputs. Node Info Response> - Info per node.
- Persistence
Iam stringIdentity - Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is "serviceAccount:". The value may change over time for a given instance so should be checked before each import/export operation.
- Port int
- The port number of the exposed Redis endpoint.
- Read
Endpoint string - Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes will exhibit some lag behind the primary. Write requests must target 'host'.
- Read
Endpoint intPort - The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target 'port'.
- Satisfies
Pzs bool - Optional. Output only. Reserved for future use. Zone Separation compliance state of the instance. Field name and documentation is obfuscated according to go/zs-resource-status.
- Server
Ca List<Pulumi.Certs Google Native. Redis. V1. Outputs. Tls Certificate Response> - List of server CA certificates for the instance.
- State string
- The current state of this instance.
- Status
Message string - Additional information about the current status of this instance, if available.
- Create
Time string - The time the instance was created.
- Current
Location stringId - The current zone where the Redis primary node is located. In basic tier, this will always be the same as [location_id]. In standard tier, this can be the zone of any node in the instance.
- Host string
- Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Schedule MaintenanceSchedule Response - Date and time of upcoming maintenance events which have been scheduled.
- Nodes
[]Node
Info Response - Info per node.
- Persistence
Iam stringIdentity - Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is "serviceAccount:". The value may change over time for a given instance so should be checked before each import/export operation.
- Port int
- The port number of the exposed Redis endpoint.
- Read
Endpoint string - Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes will exhibit some lag behind the primary. Write requests must target 'host'.
- Read
Endpoint intPort - The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target 'port'.
- Satisfies
Pzs bool - Optional. Output only. Reserved for future use. Zone Separation compliance state of the instance. Field name and documentation is obfuscated according to go/zs-resource-status.
- Server
Ca []TlsCerts Certificate Response - List of server CA certificates for the instance.
- State string
- The current state of this instance.
- Status
Message string - Additional information about the current status of this instance, if available.
- create
Time String - The time the instance was created.
- current
Location StringId - The current zone where the Redis primary node is located. In basic tier, this will always be the same as [location_id]. In standard tier, this can be the zone of any node in the instance.
- host String
- Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Schedule MaintenanceSchedule Response - Date and time of upcoming maintenance events which have been scheduled.
- nodes
List<Node
Info Response> - Info per node.
- persistence
Iam StringIdentity - Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is "serviceAccount:". The value may change over time for a given instance so should be checked before each import/export operation.
- port Integer
- The port number of the exposed Redis endpoint.
- read
Endpoint String - Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes will exhibit some lag behind the primary. Write requests must target 'host'.
- read
Endpoint IntegerPort - The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target 'port'.
- satisfies
Pzs Boolean - Optional. Output only. Reserved for future use. Zone Separation compliance state of the instance. Field name and documentation is obfuscated according to go/zs-resource-status.
- server
Ca List<TlsCerts Certificate Response> - List of server CA certificates for the instance.
- state String
- The current state of this instance.
- status
Message String - Additional information about the current status of this instance, if available.
- create
Time string - The time the instance was created.
- current
Location stringId - The current zone where the Redis primary node is located. In basic tier, this will always be the same as [location_id]. In standard tier, this can be the zone of any node in the instance.
- host string
- Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.
- id string
- The provider-assigned unique ID for this managed resource.
- maintenance
Schedule MaintenanceSchedule Response - Date and time of upcoming maintenance events which have been scheduled.
- nodes
Node
Info Response[] - Info per node.
- persistence
Iam stringIdentity - Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is "serviceAccount:". The value may change over time for a given instance so should be checked before each import/export operation.
- port number
- The port number of the exposed Redis endpoint.
- read
Endpoint string - Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes will exhibit some lag behind the primary. Write requests must target 'host'.
- read
Endpoint numberPort - The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target 'port'.
- satisfies
Pzs boolean - Optional. Output only. Reserved for future use. Zone Separation compliance state of the instance. Field name and documentation is obfuscated according to go/zs-resource-status.
- server
Ca TlsCerts Certificate Response[] - List of server CA certificates for the instance.
- state string
- The current state of this instance.
- status
Message string - Additional information about the current status of this instance, if available.
- create_
time str - The time the instance was created.
- current_
location_ strid - The current zone where the Redis primary node is located. In basic tier, this will always be the same as [location_id]. In standard tier, this can be the zone of any node in the instance.
- host str
- Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.
- id str
- The provider-assigned unique ID for this managed resource.
- maintenance_
schedule MaintenanceSchedule Response - Date and time of upcoming maintenance events which have been scheduled.
- nodes
Sequence[Node
Info Response] - Info per node.
- persistence_
iam_ stridentity - Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is "serviceAccount:". The value may change over time for a given instance so should be checked before each import/export operation.
- port int
- The port number of the exposed Redis endpoint.
- read_
endpoint str - Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes will exhibit some lag behind the primary. Write requests must target 'host'.
- read_
endpoint_ intport - The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target 'port'.
- satisfies_
pzs bool - Optional. Output only. Reserved for future use. Zone Separation compliance state of the instance. Field name and documentation is obfuscated according to go/zs-resource-status.
- server_
ca_ Sequence[Tlscerts Certificate Response] - List of server CA certificates for the instance.
- state str
- The current state of this instance.
- status_
message str - Additional information about the current status of this instance, if available.
- create
Time String - The time the instance was created.
- current
Location StringId - The current zone where the Redis primary node is located. In basic tier, this will always be the same as [location_id]. In standard tier, this can be the zone of any node in the instance.
- host String
- Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Schedule Property Map - Date and time of upcoming maintenance events which have been scheduled.
- nodes List<Property Map>
- Info per node.
- persistence
Iam StringIdentity - Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is "serviceAccount:". The value may change over time for a given instance so should be checked before each import/export operation.
- port Number
- The port number of the exposed Redis endpoint.
- read
Endpoint String - Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes will exhibit some lag behind the primary. Write requests must target 'host'.
- read
Endpoint NumberPort - The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target 'port'.
- satisfies
Pzs Boolean - Optional. Output only. Reserved for future use. Zone Separation compliance state of the instance. Field name and documentation is obfuscated according to go/zs-resource-status.
- server
Ca List<Property Map>Certs - List of server CA certificates for the instance.
- state String
- The current state of this instance.
- status
Message String - Additional information about the current status of this instance, if available.
Supporting Types
InstanceConnectMode, InstanceConnectModeArgs
- Connect
Mode Unspecified - CONNECT_MODE_UNSPECIFIEDNot set.
- Direct
Peering - DIRECT_PEERINGConnect via direct peering to the Memorystore for Redis hosted service.
- Private
Service Access - PRIVATE_SERVICE_ACCESSConnect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore.
- Instance
Connect Mode Connect Mode Unspecified - CONNECT_MODE_UNSPECIFIEDNot set.
- Instance
Connect Mode Direct Peering - DIRECT_PEERINGConnect via direct peering to the Memorystore for Redis hosted service.
- Instance
Connect Mode Private Service Access - PRIVATE_SERVICE_ACCESSConnect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore.
- Connect
Mode Unspecified - CONNECT_MODE_UNSPECIFIEDNot set.
- Direct
Peering - DIRECT_PEERINGConnect via direct peering to the Memorystore for Redis hosted service.
- Private
Service Access - PRIVATE_SERVICE_ACCESSConnect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore.
- Connect
Mode Unspecified - CONNECT_MODE_UNSPECIFIEDNot set.
- Direct
Peering - DIRECT_PEERINGConnect via direct peering to the Memorystore for Redis hosted service.
- Private
Service Access - PRIVATE_SERVICE_ACCESSConnect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore.
- CONNECT_MODE_UNSPECIFIED
- CONNECT_MODE_UNSPECIFIEDNot set.
- DIRECT_PEERING
- DIRECT_PEERINGConnect via direct peering to the Memorystore for Redis hosted service.
- PRIVATE_SERVICE_ACCESS
- PRIVATE_SERVICE_ACCESSConnect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore.
- "CONNECT_MODE_UNSPECIFIED"
- CONNECT_MODE_UNSPECIFIEDNot set.
- "DIRECT_PEERING"
- DIRECT_PEERINGConnect via direct peering to the Memorystore for Redis hosted service.
- "PRIVATE_SERVICE_ACCESS"
- PRIVATE_SERVICE_ACCESSConnect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore.
InstanceReadReplicasMode, InstanceReadReplicasModeArgs
- Read
Replicas Mode Unspecified - READ_REPLICAS_MODE_UNSPECIFIEDIf not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
- Read
Replicas Disabled - READ_REPLICAS_DISABLEDIf disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.
- Read
Replicas Enabled - READ_REPLICAS_ENABLEDIf enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Not valid for basic tier.
- Instance
Read Replicas Mode Read Replicas Mode Unspecified - READ_REPLICAS_MODE_UNSPECIFIEDIf not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
- Instance
Read Replicas Mode Read Replicas Disabled - READ_REPLICAS_DISABLEDIf disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.
- Instance
Read Replicas Mode Read Replicas Enabled - READ_REPLICAS_ENABLEDIf enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Not valid for basic tier.
- Read
Replicas Mode Unspecified - READ_REPLICAS_MODE_UNSPECIFIEDIf not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
- Read
Replicas Disabled - READ_REPLICAS_DISABLEDIf disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.
- Read
Replicas Enabled - READ_REPLICAS_ENABLEDIf enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Not valid for basic tier.
- Read
Replicas Mode Unspecified - READ_REPLICAS_MODE_UNSPECIFIEDIf not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
- Read
Replicas Disabled - READ_REPLICAS_DISABLEDIf disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.
- Read
Replicas Enabled - READ_REPLICAS_ENABLEDIf enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Not valid for basic tier.
- READ_REPLICAS_MODE_UNSPECIFIED
- READ_REPLICAS_MODE_UNSPECIFIEDIf not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
- READ_REPLICAS_DISABLED
- READ_REPLICAS_DISABLEDIf disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.
- READ_REPLICAS_ENABLED
- READ_REPLICAS_ENABLEDIf enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Not valid for basic tier.
- "READ_REPLICAS_MODE_UNSPECIFIED"
- READ_REPLICAS_MODE_UNSPECIFIEDIf not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
- "READ_REPLICAS_DISABLED"
- READ_REPLICAS_DISABLEDIf disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.
- "READ_REPLICAS_ENABLED"
- READ_REPLICAS_ENABLEDIf enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Not valid for basic tier.
InstanceSuspensionReasonsItem, InstanceSuspensionReasonsItemArgs
- Suspension
Reason Unspecified - SUSPENSION_REASON_UNSPECIFIEDNot set.
- Customer
Managed Key Issue - CUSTOMER_MANAGED_KEY_ISSUESomething wrong with the CMEK key provided by customer.
- Instance
Suspension Reasons Item Suspension Reason Unspecified - SUSPENSION_REASON_UNSPECIFIEDNot set.
- Instance
Suspension Reasons Item Customer Managed Key Issue - CUSTOMER_MANAGED_KEY_ISSUESomething wrong with the CMEK key provided by customer.
- Suspension
Reason Unspecified - SUSPENSION_REASON_UNSPECIFIEDNot set.
- Customer
Managed Key Issue - CUSTOMER_MANAGED_KEY_ISSUESomething wrong with the CMEK key provided by customer.
- Suspension
Reason Unspecified - SUSPENSION_REASON_UNSPECIFIEDNot set.
- Customer
Managed Key Issue - CUSTOMER_MANAGED_KEY_ISSUESomething wrong with the CMEK key provided by customer.
- SUSPENSION_REASON_UNSPECIFIED
- SUSPENSION_REASON_UNSPECIFIEDNot set.
- CUSTOMER_MANAGED_KEY_ISSUE
- CUSTOMER_MANAGED_KEY_ISSUESomething wrong with the CMEK key provided by customer.
- "SUSPENSION_REASON_UNSPECIFIED"
- SUSPENSION_REASON_UNSPECIFIEDNot set.
- "CUSTOMER_MANAGED_KEY_ISSUE"
- CUSTOMER_MANAGED_KEY_ISSUESomething wrong with the CMEK key provided by customer.
InstanceTier, InstanceTierArgs
- Tier
Unspecified - TIER_UNSPECIFIEDNot set.
- Basic
- BASICBASIC tier: standalone instance
- Standard
Ha - STANDARD_HASTANDARD_HA tier: highly available primary/replica instances
- Instance
Tier Tier Unspecified - TIER_UNSPECIFIEDNot set.
- Instance
Tier Basic - BASICBASIC tier: standalone instance
- Instance
Tier Standard Ha - STANDARD_HASTANDARD_HA tier: highly available primary/replica instances
- Tier
Unspecified - TIER_UNSPECIFIEDNot set.
- Basic
- BASICBASIC tier: standalone instance
- Standard
Ha - STANDARD_HASTANDARD_HA tier: highly available primary/replica instances
- Tier
Unspecified - TIER_UNSPECIFIEDNot set.
- Basic
- BASICBASIC tier: standalone instance
- Standard
Ha - STANDARD_HASTANDARD_HA tier: highly available primary/replica instances
- TIER_UNSPECIFIED
- TIER_UNSPECIFIEDNot set.
- BASIC
- BASICBASIC tier: standalone instance
- STANDARD_HA
- STANDARD_HASTANDARD_HA tier: highly available primary/replica instances
- "TIER_UNSPECIFIED"
- TIER_UNSPECIFIEDNot set.
- "BASIC"
- BASICBASIC tier: standalone instance
- "STANDARD_HA"
- STANDARD_HASTANDARD_HA tier: highly available primary/replica instances
InstanceTransitEncryptionMode, InstanceTransitEncryptionModeArgs
- Transit
Encryption Mode Unspecified - TRANSIT_ENCRYPTION_MODE_UNSPECIFIEDNot set.
- Server
Authentication - SERVER_AUTHENTICATIONClient to Server traffic encryption enabled with server authentication.
- Disabled
- DISABLEDTLS is disabled for the instance.
- Instance
Transit Encryption Mode Transit Encryption Mode Unspecified - TRANSIT_ENCRYPTION_MODE_UNSPECIFIEDNot set.
- Instance
Transit Encryption Mode Server Authentication - SERVER_AUTHENTICATIONClient to Server traffic encryption enabled with server authentication.
- Instance
Transit Encryption Mode Disabled - DISABLEDTLS is disabled for the instance.
- Transit
Encryption Mode Unspecified - TRANSIT_ENCRYPTION_MODE_UNSPECIFIEDNot set.
- Server
Authentication - SERVER_AUTHENTICATIONClient to Server traffic encryption enabled with server authentication.
- Disabled
- DISABLEDTLS is disabled for the instance.
- Transit
Encryption Mode Unspecified - TRANSIT_ENCRYPTION_MODE_UNSPECIFIEDNot set.
- Server
Authentication - SERVER_AUTHENTICATIONClient to Server traffic encryption enabled with server authentication.
- Disabled
- DISABLEDTLS is disabled for the instance.
- TRANSIT_ENCRYPTION_MODE_UNSPECIFIED
- TRANSIT_ENCRYPTION_MODE_UNSPECIFIEDNot set.
- SERVER_AUTHENTICATION
- SERVER_AUTHENTICATIONClient to Server traffic encryption enabled with server authentication.
- DISABLED
- DISABLEDTLS is disabled for the instance.
- "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED"
- TRANSIT_ENCRYPTION_MODE_UNSPECIFIEDNot set.
- "SERVER_AUTHENTICATION"
- SERVER_AUTHENTICATIONClient to Server traffic encryption enabled with server authentication.
- "DISABLED"
- DISABLEDTLS is disabled for the instance.
MaintenancePolicy, MaintenancePolicyArgs
- Description string
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- Weekly
Maintenance List<Pulumi.Window Google Native. Redis. V1. Inputs. Weekly Maintenance Window> - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- Description string
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- Weekly
Maintenance []WeeklyWindow Maintenance Window - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- description String
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- weekly
Maintenance List<WeeklyWindow Maintenance Window> - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- description string
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- weekly
Maintenance WeeklyWindow Maintenance Window[] - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- description str
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- weekly_
maintenance_ Sequence[Weeklywindow Maintenance Window] - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- description String
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- weekly
Maintenance List<Property Map>Window - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
MaintenancePolicyResponse, MaintenancePolicyResponseArgs
- Create
Time string - The time when the policy was created.
- Description string
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- Update
Time string - The time when the policy was last updated.
- Weekly
Maintenance List<Pulumi.Window Google Native. Redis. V1. Inputs. Weekly Maintenance Window Response> - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- Create
Time string - The time when the policy was created.
- Description string
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- Update
Time string - The time when the policy was last updated.
- Weekly
Maintenance []WeeklyWindow Maintenance Window Response - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- create
Time String - The time when the policy was created.
- description String
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- update
Time String - The time when the policy was last updated.
- weekly
Maintenance List<WeeklyWindow Maintenance Window Response> - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- create
Time string - The time when the policy was created.
- description string
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- update
Time string - The time when the policy was last updated.
- weekly
Maintenance WeeklyWindow Maintenance Window Response[] - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- create_
time str - The time when the policy was created.
- description str
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- update_
time str - The time when the policy was last updated.
- weekly_
maintenance_ Sequence[Weeklywindow Maintenance Window Response] - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- create
Time String - The time when the policy was created.
- description String
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- update
Time String - The time when the policy was last updated.
- weekly
Maintenance List<Property Map>Window - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
MaintenanceScheduleResponse, MaintenanceScheduleResponseArgs
- Can
Reschedule bool - If the scheduled maintenance can be rescheduled, default is true.
- End
Time string - The end time of any upcoming scheduled maintenance for this instance.
- Schedule
Deadline stringTime - The deadline that the maintenance schedule start time can not go beyond, including reschedule.
- Start
Time string - The start time of any upcoming scheduled maintenance for this instance.
- Can
Reschedule bool - If the scheduled maintenance can be rescheduled, default is true.
- End
Time string - The end time of any upcoming scheduled maintenance for this instance.
- Schedule
Deadline stringTime - The deadline that the maintenance schedule start time can not go beyond, including reschedule.
- Start
Time string - The start time of any upcoming scheduled maintenance for this instance.
- can
Reschedule Boolean - If the scheduled maintenance can be rescheduled, default is true.
- end
Time String - The end time of any upcoming scheduled maintenance for this instance.
- schedule
Deadline StringTime - The deadline that the maintenance schedule start time can not go beyond, including reschedule.
- start
Time String - The start time of any upcoming scheduled maintenance for this instance.
- can
Reschedule boolean - If the scheduled maintenance can be rescheduled, default is true.
- end
Time string - The end time of any upcoming scheduled maintenance for this instance.
- schedule
Deadline stringTime - The deadline that the maintenance schedule start time can not go beyond, including reschedule.
- start
Time string - The start time of any upcoming scheduled maintenance for this instance.
- can_
reschedule bool - If the scheduled maintenance can be rescheduled, default is true.
- end_
time str - The end time of any upcoming scheduled maintenance for this instance.
- schedule_
deadline_ strtime - The deadline that the maintenance schedule start time can not go beyond, including reschedule.
- start_
time str - The start time of any upcoming scheduled maintenance for this instance.
- can
Reschedule Boolean - If the scheduled maintenance can be rescheduled, default is true.
- end
Time String - The end time of any upcoming scheduled maintenance for this instance.
- schedule
Deadline StringTime - The deadline that the maintenance schedule start time can not go beyond, including reschedule.
- start
Time String - The start time of any upcoming scheduled maintenance for this instance.
NodeInfoResponse, NodeInfoResponseArgs
- Zone string
- Location of the node.
- Zone string
- Location of the node.
- zone String
- Location of the node.
- zone string
- Location of the node.
- zone str
- Location of the node.
- zone String
- Location of the node.
PersistenceConfig, PersistenceConfigArgs
- Persistence
Mode Pulumi.Google Native. Redis. V1. Persistence Config Persistence Mode - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- Rdb
Snapshot Pulumi.Period Google Native. Redis. V1. Persistence Config Rdb Snapshot Period - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- Rdb
Snapshot stringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
- Persistence
Mode PersistenceConfig Persistence Mode - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- Rdb
Snapshot PersistencePeriod Config Rdb Snapshot Period - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- Rdb
Snapshot stringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
- persistence
Mode PersistenceConfig Persistence Mode - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- rdb
Snapshot PersistencePeriod Config Rdb Snapshot Period - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- rdb
Snapshot StringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
- persistence
Mode PersistenceConfig Persistence Mode - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- rdb
Snapshot PersistencePeriod Config Rdb Snapshot Period - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- rdb
Snapshot stringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
- persistence_
mode PersistenceConfig Persistence Mode - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- rdb_
snapshot_ Persistenceperiod Config Rdb Snapshot Period - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- rdb_
snapshot_ strstart_ time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
- persistence
Mode "PERSISTENCE_MODE_UNSPECIFIED" | "DISABLED" | "RDB" - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- rdb
Snapshot "SNAPSHOT_PERIOD_UNSPECIFIED" | "ONE_HOUR" | "SIX_HOURS" | "TWELVE_HOURS" | "TWENTY_FOUR_HOURS"Period - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- rdb
Snapshot StringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
PersistenceConfigPersistenceMode, PersistenceConfigPersistenceModeArgs
- Persistence
Mode Unspecified - PERSISTENCE_MODE_UNSPECIFIEDNot set.
- Disabled
- DISABLEDPersistence is disabled for the instance, and any existing snapshots are deleted.
- Rdb
- RDBRDB based Persistence is enabled.
- Persistence
Config Persistence Mode Persistence Mode Unspecified - PERSISTENCE_MODE_UNSPECIFIEDNot set.
- Persistence
Config Persistence Mode Disabled - DISABLEDPersistence is disabled for the instance, and any existing snapshots are deleted.
- Persistence
Config Persistence Mode Rdb - RDBRDB based Persistence is enabled.
- Persistence
Mode Unspecified - PERSISTENCE_MODE_UNSPECIFIEDNot set.
- Disabled
- DISABLEDPersistence is disabled for the instance, and any existing snapshots are deleted.
- Rdb
- RDBRDB based Persistence is enabled.
- Persistence
Mode Unspecified - PERSISTENCE_MODE_UNSPECIFIEDNot set.
- Disabled
- DISABLEDPersistence is disabled for the instance, and any existing snapshots are deleted.
- Rdb
- RDBRDB based Persistence is enabled.
- PERSISTENCE_MODE_UNSPECIFIED
- PERSISTENCE_MODE_UNSPECIFIEDNot set.
- DISABLED
- DISABLEDPersistence is disabled for the instance, and any existing snapshots are deleted.
- RDB
- RDBRDB based Persistence is enabled.
- "PERSISTENCE_MODE_UNSPECIFIED"
- PERSISTENCE_MODE_UNSPECIFIEDNot set.
- "DISABLED"
- DISABLEDPersistence is disabled for the instance, and any existing snapshots are deleted.
- "RDB"
- RDBRDB based Persistence is enabled.
PersistenceConfigRdbSnapshotPeriod, PersistenceConfigRdbSnapshotPeriodArgs
- Snapshot
Period Unspecified - SNAPSHOT_PERIOD_UNSPECIFIEDNot set.
- One
Hour - ONE_HOURSnapshot every 1 hour.
- Six
Hours - SIX_HOURSSnapshot every 6 hours.
- Twelve
Hours - TWELVE_HOURSSnapshot every 12 hours.
- Twenty
Four Hours - TWENTY_FOUR_HOURSSnapshot every 24 hours.
- Persistence
Config Rdb Snapshot Period Snapshot Period Unspecified - SNAPSHOT_PERIOD_UNSPECIFIEDNot set.
- Persistence
Config Rdb Snapshot Period One Hour - ONE_HOURSnapshot every 1 hour.
- Persistence
Config Rdb Snapshot Period Six Hours - SIX_HOURSSnapshot every 6 hours.
- Persistence
Config Rdb Snapshot Period Twelve Hours - TWELVE_HOURSSnapshot every 12 hours.
- Persistence
Config Rdb Snapshot Period Twenty Four Hours - TWENTY_FOUR_HOURSSnapshot every 24 hours.
- Snapshot
Period Unspecified - SNAPSHOT_PERIOD_UNSPECIFIEDNot set.
- One
Hour - ONE_HOURSnapshot every 1 hour.
- Six
Hours - SIX_HOURSSnapshot every 6 hours.
- Twelve
Hours - TWELVE_HOURSSnapshot every 12 hours.
- Twenty
Four Hours - TWENTY_FOUR_HOURSSnapshot every 24 hours.
- Snapshot
Period Unspecified - SNAPSHOT_PERIOD_UNSPECIFIEDNot set.
- One
Hour - ONE_HOURSnapshot every 1 hour.
- Six
Hours - SIX_HOURSSnapshot every 6 hours.
- Twelve
Hours - TWELVE_HOURSSnapshot every 12 hours.
- Twenty
Four Hours - TWENTY_FOUR_HOURSSnapshot every 24 hours.
- SNAPSHOT_PERIOD_UNSPECIFIED
- SNAPSHOT_PERIOD_UNSPECIFIEDNot set.
- ONE_HOUR
- ONE_HOURSnapshot every 1 hour.
- SIX_HOURS
- SIX_HOURSSnapshot every 6 hours.
- TWELVE_HOURS
- TWELVE_HOURSSnapshot every 12 hours.
- TWENTY_FOUR_HOURS
- TWENTY_FOUR_HOURSSnapshot every 24 hours.
- "SNAPSHOT_PERIOD_UNSPECIFIED"
- SNAPSHOT_PERIOD_UNSPECIFIEDNot set.
- "ONE_HOUR"
- ONE_HOURSnapshot every 1 hour.
- "SIX_HOURS"
- SIX_HOURSSnapshot every 6 hours.
- "TWELVE_HOURS"
- TWELVE_HOURSSnapshot every 12 hours.
- "TWENTY_FOUR_HOURS"
- TWENTY_FOUR_HOURSSnapshot every 24 hours.
PersistenceConfigResponse, PersistenceConfigResponseArgs
- Persistence
Mode string - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- Rdb
Next stringSnapshot Time - The next time that a snapshot attempt is scheduled to occur.
- Rdb
Snapshot stringPeriod - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- Rdb
Snapshot stringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
- Persistence
Mode string - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- Rdb
Next stringSnapshot Time - The next time that a snapshot attempt is scheduled to occur.
- Rdb
Snapshot stringPeriod - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- Rdb
Snapshot stringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
- persistence
Mode String - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- rdb
Next StringSnapshot Time - The next time that a snapshot attempt is scheduled to occur.
- rdb
Snapshot StringPeriod - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- rdb
Snapshot StringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
- persistence
Mode string - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- rdb
Next stringSnapshot Time - The next time that a snapshot attempt is scheduled to occur.
- rdb
Snapshot stringPeriod - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- rdb
Snapshot stringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
- persistence_
mode str - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- rdb_
next_ strsnapshot_ time - The next time that a snapshot attempt is scheduled to occur.
- rdb_
snapshot_ strperiod - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- rdb_
snapshot_ strstart_ time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
- persistence
Mode String - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- rdb
Next StringSnapshot Time - The next time that a snapshot attempt is scheduled to occur.
- rdb
Snapshot StringPeriod - Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- rdb
Snapshot StringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
TimeOfDay, TimeOfDayArgs
- Hours int
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- Minutes int
- Minutes of hour of day. Must be from 0 to 59.
- Nanos int
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- Seconds int
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- Hours int
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- Minutes int
- Minutes of hour of day. Must be from 0 to 59.
- Nanos int
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- Seconds int
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours Integer
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes Integer
- Minutes of hour of day. Must be from 0 to 59.
- nanos Integer
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds Integer
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours number
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes number
- Minutes of hour of day. Must be from 0 to 59.
- nanos number
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds number
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours int
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes int
- Minutes of hour of day. Must be from 0 to 59.
- nanos int
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds int
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours Number
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes Number
- Minutes of hour of day. Must be from 0 to 59.
- nanos Number
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds Number
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
TimeOfDayResponse, TimeOfDayResponseArgs
- Hours int
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- Minutes int
- Minutes of hour of day. Must be from 0 to 59.
- Nanos int
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- Seconds int
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- Hours int
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- Minutes int
- Minutes of hour of day. Must be from 0 to 59.
- Nanos int
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- Seconds int
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours Integer
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes Integer
- Minutes of hour of day. Must be from 0 to 59.
- nanos Integer
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds Integer
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours number
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes number
- Minutes of hour of day. Must be from 0 to 59.
- nanos number
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds number
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours int
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes int
- Minutes of hour of day. Must be from 0 to 59.
- nanos int
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds int
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours Number
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes Number
- Minutes of hour of day. Must be from 0 to 59.
- nanos Number
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds Number
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
TlsCertificateResponse, TlsCertificateResponseArgs
- Cert string
- PEM representation.
- Create
Time string - The time when the certificate was created in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - Expire
Time string - The time when the certificate expires in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - Serial
Number string - Serial number, as extracted from the certificate.
- Sha1Fingerprint string
- Sha1 Fingerprint of the certificate.
- Cert string
- PEM representation.
- Create
Time string - The time when the certificate was created in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - Expire
Time string - The time when the certificate expires in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - Serial
Number string - Serial number, as extracted from the certificate.
- Sha1Fingerprint string
- Sha1 Fingerprint of the certificate.
- cert String
- PEM representation.
- create
Time String - The time when the certificate was created in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - expire
Time String - The time when the certificate expires in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - serial
Number String - Serial number, as extracted from the certificate.
- sha1Fingerprint String
- Sha1 Fingerprint of the certificate.
- cert string
- PEM representation.
- create
Time string - The time when the certificate was created in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - expire
Time string - The time when the certificate expires in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - serial
Number string - Serial number, as extracted from the certificate.
- sha1Fingerprint string
- Sha1 Fingerprint of the certificate.
- cert str
- PEM representation.
- create_
time str - The time when the certificate was created in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - expire_
time str - The time when the certificate expires in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - serial_
number str - Serial number, as extracted from the certificate.
- sha1_
fingerprint str - Sha1 Fingerprint of the certificate.
- cert String
- PEM representation.
- create
Time String - The time when the certificate was created in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - expire
Time String - The time when the certificate expires in RFC 3339 format, for example
2020-05-18T00:00:00.094Z
. - serial
Number String - Serial number, as extracted from the certificate.
- sha1Fingerprint String
- Sha1 Fingerprint of the certificate.
WeeklyMaintenanceWindow, WeeklyMaintenanceWindowArgs
- Day
Pulumi.
Google Native. Redis. V1. Weekly Maintenance Window Day - The day of week that maintenance updates occur.
- Start
Time Pulumi.Google Native. Redis. V1. Inputs. Time Of Day - Start time of the window in UTC time.
- Day
Weekly
Maintenance Window Day - The day of week that maintenance updates occur.
- Start
Time TimeOf Day - Start time of the window in UTC time.
- day
Weekly
Maintenance Window Day - The day of week that maintenance updates occur.
- start
Time TimeOf Day - Start time of the window in UTC time.
- day
Weekly
Maintenance Window Day - The day of week that maintenance updates occur.
- start
Time TimeOf Day - Start time of the window in UTC time.
- day
Weekly
Maintenance Window Day - The day of week that maintenance updates occur.
- start_
time TimeOf Day - Start time of the window in UTC time.
- day "DAY_OF_WEEK_UNSPECIFIED" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"
- The day of week that maintenance updates occur.
- start
Time Property Map - Start time of the window in UTC time.
WeeklyMaintenanceWindowDay, WeeklyMaintenanceWindowDayArgs
- Day
Of Week Unspecified - DAY_OF_WEEK_UNSPECIFIEDThe day of the week is unspecified.
- Monday
- MONDAYMonday
- Tuesday
- TUESDAYTuesday
- Wednesday
- WEDNESDAYWednesday
- Thursday
- THURSDAYThursday
- Friday
- FRIDAYFriday
- Saturday
- SATURDAYSaturday
- Sunday
- SUNDAYSunday
- Weekly
Maintenance Window Day Day Of Week Unspecified - DAY_OF_WEEK_UNSPECIFIEDThe day of the week is unspecified.
- Weekly
Maintenance Window Day Monday - MONDAYMonday
- Weekly
Maintenance Window Day Tuesday - TUESDAYTuesday
- Weekly
Maintenance Window Day Wednesday - WEDNESDAYWednesday
- Weekly
Maintenance Window Day Thursday - THURSDAYThursday
- Weekly
Maintenance Window Day Friday - FRIDAYFriday
- Weekly
Maintenance Window Day Saturday - SATURDAYSaturday
- Weekly
Maintenance Window Day Sunday - SUNDAYSunday
- Day
Of Week Unspecified - DAY_OF_WEEK_UNSPECIFIEDThe day of the week is unspecified.
- Monday
- MONDAYMonday
- Tuesday
- TUESDAYTuesday
- Wednesday
- WEDNESDAYWednesday
- Thursday
- THURSDAYThursday
- Friday
- FRIDAYFriday
- Saturday
- SATURDAYSaturday
- Sunday
- SUNDAYSunday
- Day
Of Week Unspecified - DAY_OF_WEEK_UNSPECIFIEDThe day of the week is unspecified.
- Monday
- MONDAYMonday
- Tuesday
- TUESDAYTuesday
- Wednesday
- WEDNESDAYWednesday
- Thursday
- THURSDAYThursday
- Friday
- FRIDAYFriday
- Saturday
- SATURDAYSaturday
- Sunday
- SUNDAYSunday
- DAY_OF_WEEK_UNSPECIFIED
- DAY_OF_WEEK_UNSPECIFIEDThe day of the week is unspecified.
- MONDAY
- MONDAYMonday
- TUESDAY
- TUESDAYTuesday
- WEDNESDAY
- WEDNESDAYWednesday
- THURSDAY
- THURSDAYThursday
- FRIDAY
- FRIDAYFriday
- SATURDAY
- SATURDAYSaturday
- SUNDAY
- SUNDAYSunday
- "DAY_OF_WEEK_UNSPECIFIED"
- DAY_OF_WEEK_UNSPECIFIEDThe day of the week is unspecified.
- "MONDAY"
- MONDAYMonday
- "TUESDAY"
- TUESDAYTuesday
- "WEDNESDAY"
- WEDNESDAYWednesday
- "THURSDAY"
- THURSDAYThursday
- "FRIDAY"
- FRIDAYFriday
- "SATURDAY"
- SATURDAYSaturday
- "SUNDAY"
- SUNDAYSunday
WeeklyMaintenanceWindowResponse, WeeklyMaintenanceWindowResponseArgs
- Day string
- The day of week that maintenance updates occur.
- Duration string
- Duration of the maintenance window. The current window is fixed at 1 hour.
- Start
Time Pulumi.Google Native. Redis. V1. Inputs. Time Of Day Response - Start time of the window in UTC time.
- Day string
- The day of week that maintenance updates occur.
- Duration string
- Duration of the maintenance window. The current window is fixed at 1 hour.
- Start
Time TimeOf Day Response - Start time of the window in UTC time.
- day String
- The day of week that maintenance updates occur.
- duration String
- Duration of the maintenance window. The current window is fixed at 1 hour.
- start
Time TimeOf Day Response - Start time of the window in UTC time.
- day string
- The day of week that maintenance updates occur.
- duration string
- Duration of the maintenance window. The current window is fixed at 1 hour.
- start
Time TimeOf Day Response - Start time of the window in UTC time.
- day str
- The day of week that maintenance updates occur.
- duration str
- Duration of the maintenance window. The current window is fixed at 1 hour.
- start_
time TimeOf Day Response - Start time of the window in UTC time.
- day String
- The day of week that maintenance updates occur.
- duration String
- Duration of the maintenance window. The current window is fixed at 1 hour.
- start
Time Property Map - Start time of the window in UTC time.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.