Show / Hide Table of Contents

Class InstanceState

Inheritance
System.Object
InputArgs
ResourceArgs
InstanceState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Redis
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceState : ResourceArgs

Constructors

View Source

InstanceState()

Declaration
public InstanceState()

Properties

View Source

AlternativeLocationId

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>
View Source

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>
View Source

ConnectMode

The connection mode of the Redis instance.

Declaration
public Input<string> ConnectMode { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Labels

Resource labels to represent user provided metadata.

Declaration
public InputMap<string> Labels { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

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>
View Source

MemorySizeGb

Redis memory size in GiB.

Declaration
public Input<int> MemorySizeGb { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

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>
View Source

Port

The port number of the exposed Redis endpoint.

Declaration
public Input<int> Port { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

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>
View Source

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>
View Source

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>
View Source

Region

The name of the Redis region of the instance.

Declaration
public Input<string> Region { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.