Class InstanceState
Inherited Members
Namespace: Pulumi.Gcp.Redis
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceState : ResourceArgs
Constructors
View SourceInstanceState()
Declaration
public InstanceState()
Properties
View SourceAlternativeLocationId
Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in [locationId].
Declaration
public Input<string> AlternativeLocationId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
AuthorizedNetwork
The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the default network will be used.
Declaration
public Input<string> AuthorizedNetwork { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ConnectMode
The connection mode of the Redis instance.
Declaration
public Input<string> ConnectMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CreateTime
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
Declaration
public Input<string> CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CurrentLocationId
The current zone where the Redis endpoint is placed. For Basic Tier instances, this will always be the same as the [locationId] provided by the user at creation time. For Standard Tier instances, this can be either [locationId] or [alternativeLocationId] and can change after a failover event.
Declaration
public Input<string> CurrentLocationId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DisplayName
An arbitrary and optional user-provided name for the instance.
Declaration
public Input<string> DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Host
Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.
Declaration
public Input<string> Host { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Labels
Resource labels to represent user provided metadata.
Declaration
public InputMap<string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
LocationId
The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If [alternativeLocationId] is also provided, it must be different from [locationId].
Declaration
public Input<string> LocationId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MemorySizeGb
Redis memory size in GiB.
Declaration
public Input<int> MemorySizeGb { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Name
The ID of the instance or a fully qualified identifier for the instance.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Port
The port number of the exposed Redis endpoint.
Declaration
public Input<int> Port { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RedisConfigs
Redis configuration parameters, according to http://redis.io/topics/config. Please check Memorystore documentation for the list of supported parameters: https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance.FIELDS.redis_configs
Declaration
public InputMap<string> RedisConfigs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
RedisVersion
The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are:
- REDIS_4_0 for Redis 4.0 compatibility
- REDIS_3_2 for Redis 3.2 compatibility
Declaration
public Input<string> RedisVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
The name of the Redis region of the instance.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ReservedIpRange
The CIDR range of internal addresses that are reserved for this instance. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique and non-overlapping with existing subnets in an authorized network.
Declaration
public Input<string> ReservedIpRange { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tier
The service tier of the instance. Must be one of these values:
- BASIC: standalone instance
- STANDARD_HA: highly available primary/replica instances
Declaration
public Input<string> Tier { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |