redis

package
v7.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
	// Default value: "AUTH_MODE_DISABLED" Possible values: ["AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH",
	// "AUTH_MODE_DISABLED"]
	AuthorizationMode pulumi.StringPtrOutput `pulumi:"authorizationMode"`
	// The timestamp associated with the cluster creation request. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Output only. Endpoints created on each given network,
	// for Redis clients to connect to the cluster.
	// Currently only one endpoint is supported.
	// Structure is documented below.
	DiscoveryEndpoints ClusterDiscoveryEndpointArrayOutput `pulumi:"discoveryEndpoints"`
	// Unique name of the resource in this scope including project and location using the form:
	// projects/{projectId}/locations/{locationId}/clusters/{clusterId}
	Name pulumi.StringOutput `pulumi:"name"`
	// The nodeType for the Redis cluster. If not provided, REDIS_HIGHMEM_MEDIUM will be used as default Possible values:
	// ["REDIS_SHARED_CORE_NANO", "REDIS_HIGHMEM_MEDIUM", "REDIS_HIGHMEM_XLARGE", "REDIS_STANDARD_SMALL"]
	NodeType pulumi.StringOutput `pulumi:"nodeType"`
	// Output only. Redis memory precise size in GB for the entire cluster.
	PreciseSizeGb pulumi.Float64Output `pulumi:"preciseSizeGb"`
	Project       pulumi.StringOutput  `pulumi:"project"`
	// Required. Each PscConfig configures the consumer network where two
	// network addresses will be designated to the cluster for client access.
	// Currently, only one PscConfig is supported.
	// Structure is documented below.
	PscConfigs ClusterPscConfigArrayOutput `pulumi:"pscConfigs"`
	// Output only. PSC connections for discovery of the cluster topology and accessing the cluster.
	// Structure is documented below.
	PscConnections ClusterPscConnectionArrayOutput `pulumi:"pscConnections"`
	// The name of the region of the Redis cluster.
	Region pulumi.StringOutput `pulumi:"region"`
	// Optional. The number of replica nodes per shard.
	ReplicaCount pulumi.IntPtrOutput `pulumi:"replicaCount"`
	// Required. Number of shards for the Redis cluster.
	ShardCount pulumi.IntOutput `pulumi:"shardCount"`
	// Output only. Redis memory size in GB for the entire cluster.
	SizeGb pulumi.IntOutput `pulumi:"sizeGb"`
	// The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
	State pulumi.StringOutput `pulumi:"state"`
	// Output only. Additional information about the current state of the cluster.
	// Structure is documented below.
	StateInfos ClusterStateInfoArrayOutput `pulumi:"stateInfos"`
	// Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
	// Default value: "TRANSIT_ENCRYPTION_MODE_DISABLED" Possible values: ["TRANSIT_ENCRYPTION_MODE_UNSPECIFIED",
	// "TRANSIT_ENCRYPTION_MODE_DISABLED", "TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION"]
	TransitEncryptionMode pulumi.StringPtrOutput `pulumi:"transitEncryptionMode"`
	// System assigned, unique identifier for the cluster.
	Uid pulumi.StringOutput `pulumi:"uid"`
}

A Google Cloud Redis Cluster instance.

To get more information about Cluster, see:

* [API documentation](https://cloud.google.com/memorystore/docs/cluster/reference/rest/v1/projects.locations.clusters) * How-to Guides

## Example Usage

### Redis Cluster Ha

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/redis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		producerNet, err := compute.NewNetwork(ctx, "producer_net", &compute.NetworkArgs{
			Name:                  pulumi.String("mynetwork"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = redis.NewCluster(ctx, "cluster-ha", &redis.ClusterArgs{
			Name:       pulumi.String("ha-cluster"),
			ShardCount: pulumi.Int(3),
			PscConfigs: redis.ClusterPscConfigArray{
				&redis.ClusterPscConfigArgs{
					Network: producerNet.ID(),
				},
			},
			Region:                pulumi.String("us-central1"),
			ReplicaCount:          pulumi.Int(1),
			NodeType:              pulumi.String("REDIS_SHARED_CORE_NANO"),
			TransitEncryptionMode: pulumi.String("TRANSIT_ENCRYPTION_MODE_DISABLED"),
			AuthorizationMode:     pulumi.String("AUTH_MODE_DISABLED"),
		})
		if err != nil {
			return err
		}
		producerSubnet, err := compute.NewSubnetwork(ctx, "producer_subnet", &compute.SubnetworkArgs{
			Name:        pulumi.String("mysubnet"),
			IpCidrRange: pulumi.String("10.0.0.248/29"),
			Region:      pulumi.String("us-central1"),
			Network:     producerNet.ID(),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewServiceConnectionPolicy(ctx, "default", &networkconnectivity.ServiceConnectionPolicyArgs{
			Name:         pulumi.String("mypolicy"),
			Location:     pulumi.String("us-central1"),
			ServiceClass: pulumi.String("gcp-memorystore-redis"),
			Description:  pulumi.String("my basic service connection policy"),
			Network:      producerNet.ID(),
			PscConfig: &networkconnectivity.ServiceConnectionPolicyPscConfigArgs{
				Subnetworks: pulumi.StringArray{
					producerSubnet.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cluster can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{region}}/clusters/{{name}}`

* `{{project}}/{{region}}/{{name}}`

* `{{region}}/{{name}}`

* `{{name}}`

When using the `pulumi import` command, Cluster can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:redis/cluster:Cluster default projects/{{project}}/locations/{{region}}/clusters/{{name}} ```

```sh $ pulumi import gcp:redis/cluster:Cluster default {{project}}/{{region}}/{{name}} ```

```sh $ pulumi import gcp:redis/cluster:Cluster default {{region}}/{{name}} ```

```sh $ pulumi import gcp:redis/cluster:Cluster default {{name}} ```

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

NewCluster registers a new resource with the given unique name, arguments, and options.

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterArgs

type ClusterArgs struct {
	// Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
	// Default value: "AUTH_MODE_DISABLED" Possible values: ["AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH",
	// "AUTH_MODE_DISABLED"]
	AuthorizationMode pulumi.StringPtrInput
	// Unique name of the resource in this scope including project and location using the form:
	// projects/{projectId}/locations/{locationId}/clusters/{clusterId}
	Name pulumi.StringPtrInput
	// The nodeType for the Redis cluster. If not provided, REDIS_HIGHMEM_MEDIUM will be used as default Possible values:
	// ["REDIS_SHARED_CORE_NANO", "REDIS_HIGHMEM_MEDIUM", "REDIS_HIGHMEM_XLARGE", "REDIS_STANDARD_SMALL"]
	NodeType pulumi.StringPtrInput
	Project  pulumi.StringPtrInput
	// Required. Each PscConfig configures the consumer network where two
	// network addresses will be designated to the cluster for client access.
	// Currently, only one PscConfig is supported.
	// Structure is documented below.
	PscConfigs ClusterPscConfigArrayInput
	// The name of the region of the Redis cluster.
	Region pulumi.StringPtrInput
	// Optional. The number of replica nodes per shard.
	ReplicaCount pulumi.IntPtrInput
	// Required. Number of shards for the Redis cluster.
	ShardCount pulumi.IntInput
	// Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
	// Default value: "TRANSIT_ENCRYPTION_MODE_DISABLED" Possible values: ["TRANSIT_ENCRYPTION_MODE_UNSPECIFIED",
	// "TRANSIT_ENCRYPTION_MODE_DISABLED", "TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION"]
	TransitEncryptionMode pulumi.StringPtrInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterDiscoveryEndpoint

type ClusterDiscoveryEndpoint struct {
	// Output only. The IP allocated on the consumer network for the PSC forwarding rule.
	Address *string `pulumi:"address"`
	// Output only. The port number of the exposed Redis endpoint.
	Port *int `pulumi:"port"`
	// Output only. Customer configuration for where the endpoint
	// is created and accessed from.
	// Structure is documented below.
	PscConfig *ClusterDiscoveryEndpointPscConfig `pulumi:"pscConfig"`
}

type ClusterDiscoveryEndpointArgs

type ClusterDiscoveryEndpointArgs struct {
	// Output only. The IP allocated on the consumer network for the PSC forwarding rule.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// Output only. The port number of the exposed Redis endpoint.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// Output only. Customer configuration for where the endpoint
	// is created and accessed from.
	// Structure is documented below.
	PscConfig ClusterDiscoveryEndpointPscConfigPtrInput `pulumi:"pscConfig"`
}

func (ClusterDiscoveryEndpointArgs) ElementType

func (ClusterDiscoveryEndpointArgs) ToClusterDiscoveryEndpointOutput

func (i ClusterDiscoveryEndpointArgs) ToClusterDiscoveryEndpointOutput() ClusterDiscoveryEndpointOutput

func (ClusterDiscoveryEndpointArgs) ToClusterDiscoveryEndpointOutputWithContext

func (i ClusterDiscoveryEndpointArgs) ToClusterDiscoveryEndpointOutputWithContext(ctx context.Context) ClusterDiscoveryEndpointOutput

type ClusterDiscoveryEndpointArray

type ClusterDiscoveryEndpointArray []ClusterDiscoveryEndpointInput

func (ClusterDiscoveryEndpointArray) ElementType

func (ClusterDiscoveryEndpointArray) ToClusterDiscoveryEndpointArrayOutput

func (i ClusterDiscoveryEndpointArray) ToClusterDiscoveryEndpointArrayOutput() ClusterDiscoveryEndpointArrayOutput

func (ClusterDiscoveryEndpointArray) ToClusterDiscoveryEndpointArrayOutputWithContext

func (i ClusterDiscoveryEndpointArray) ToClusterDiscoveryEndpointArrayOutputWithContext(ctx context.Context) ClusterDiscoveryEndpointArrayOutput

type ClusterDiscoveryEndpointArrayInput

type ClusterDiscoveryEndpointArrayInput interface {
	pulumi.Input

	ToClusterDiscoveryEndpointArrayOutput() ClusterDiscoveryEndpointArrayOutput
	ToClusterDiscoveryEndpointArrayOutputWithContext(context.Context) ClusterDiscoveryEndpointArrayOutput
}

ClusterDiscoveryEndpointArrayInput is an input type that accepts ClusterDiscoveryEndpointArray and ClusterDiscoveryEndpointArrayOutput values. You can construct a concrete instance of `ClusterDiscoveryEndpointArrayInput` via:

ClusterDiscoveryEndpointArray{ ClusterDiscoveryEndpointArgs{...} }

type ClusterDiscoveryEndpointArrayOutput

type ClusterDiscoveryEndpointArrayOutput struct{ *pulumi.OutputState }

func (ClusterDiscoveryEndpointArrayOutput) ElementType

func (ClusterDiscoveryEndpointArrayOutput) Index

func (ClusterDiscoveryEndpointArrayOutput) ToClusterDiscoveryEndpointArrayOutput

func (o ClusterDiscoveryEndpointArrayOutput) ToClusterDiscoveryEndpointArrayOutput() ClusterDiscoveryEndpointArrayOutput

func (ClusterDiscoveryEndpointArrayOutput) ToClusterDiscoveryEndpointArrayOutputWithContext

func (o ClusterDiscoveryEndpointArrayOutput) ToClusterDiscoveryEndpointArrayOutputWithContext(ctx context.Context) ClusterDiscoveryEndpointArrayOutput

type ClusterDiscoveryEndpointInput

type ClusterDiscoveryEndpointInput interface {
	pulumi.Input

	ToClusterDiscoveryEndpointOutput() ClusterDiscoveryEndpointOutput
	ToClusterDiscoveryEndpointOutputWithContext(context.Context) ClusterDiscoveryEndpointOutput
}

ClusterDiscoveryEndpointInput is an input type that accepts ClusterDiscoveryEndpointArgs and ClusterDiscoveryEndpointOutput values. You can construct a concrete instance of `ClusterDiscoveryEndpointInput` via:

ClusterDiscoveryEndpointArgs{...}

type ClusterDiscoveryEndpointOutput

type ClusterDiscoveryEndpointOutput struct{ *pulumi.OutputState }

func (ClusterDiscoveryEndpointOutput) Address

Output only. The IP allocated on the consumer network for the PSC forwarding rule.

func (ClusterDiscoveryEndpointOutput) ElementType

func (ClusterDiscoveryEndpointOutput) Port

Output only. The port number of the exposed Redis endpoint.

func (ClusterDiscoveryEndpointOutput) PscConfig

Output only. Customer configuration for where the endpoint is created and accessed from. Structure is documented below.

func (ClusterDiscoveryEndpointOutput) ToClusterDiscoveryEndpointOutput

func (o ClusterDiscoveryEndpointOutput) ToClusterDiscoveryEndpointOutput() ClusterDiscoveryEndpointOutput

func (ClusterDiscoveryEndpointOutput) ToClusterDiscoveryEndpointOutputWithContext

func (o ClusterDiscoveryEndpointOutput) ToClusterDiscoveryEndpointOutputWithContext(ctx context.Context) ClusterDiscoveryEndpointOutput

type ClusterDiscoveryEndpointPscConfig

type ClusterDiscoveryEndpointPscConfig struct {
	// The consumer network where the IP address resides, in the form of projects/{projectId}/global/networks/{network_id}.
	Network *string `pulumi:"network"`
}

type ClusterDiscoveryEndpointPscConfigArgs

type ClusterDiscoveryEndpointPscConfigArgs struct {
	// The consumer network where the IP address resides, in the form of projects/{projectId}/global/networks/{network_id}.
	Network pulumi.StringPtrInput `pulumi:"network"`
}

func (ClusterDiscoveryEndpointPscConfigArgs) ElementType

func (ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigOutput

func (i ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigOutput() ClusterDiscoveryEndpointPscConfigOutput

func (ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigOutputWithContext

func (i ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigOutputWithContext(ctx context.Context) ClusterDiscoveryEndpointPscConfigOutput

func (ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigPtrOutput

func (i ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigPtrOutput() ClusterDiscoveryEndpointPscConfigPtrOutput

func (ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigPtrOutputWithContext

func (i ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigPtrOutputWithContext(ctx context.Context) ClusterDiscoveryEndpointPscConfigPtrOutput

type ClusterDiscoveryEndpointPscConfigInput

type ClusterDiscoveryEndpointPscConfigInput interface {
	pulumi.Input

	ToClusterDiscoveryEndpointPscConfigOutput() ClusterDiscoveryEndpointPscConfigOutput
	ToClusterDiscoveryEndpointPscConfigOutputWithContext(context.Context) ClusterDiscoveryEndpointPscConfigOutput
}

ClusterDiscoveryEndpointPscConfigInput is an input type that accepts ClusterDiscoveryEndpointPscConfigArgs and ClusterDiscoveryEndpointPscConfigOutput values. You can construct a concrete instance of `ClusterDiscoveryEndpointPscConfigInput` via:

ClusterDiscoveryEndpointPscConfigArgs{...}

type ClusterDiscoveryEndpointPscConfigOutput

type ClusterDiscoveryEndpointPscConfigOutput struct{ *pulumi.OutputState }

func (ClusterDiscoveryEndpointPscConfigOutput) ElementType

func (ClusterDiscoveryEndpointPscConfigOutput) Network

The consumer network where the IP address resides, in the form of projects/{projectId}/global/networks/{network_id}.

func (ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigOutput

func (o ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigOutput() ClusterDiscoveryEndpointPscConfigOutput

func (ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigOutputWithContext

func (o ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigOutputWithContext(ctx context.Context) ClusterDiscoveryEndpointPscConfigOutput

func (ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigPtrOutput

func (o ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigPtrOutput() ClusterDiscoveryEndpointPscConfigPtrOutput

func (ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigPtrOutputWithContext

func (o ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigPtrOutputWithContext(ctx context.Context) ClusterDiscoveryEndpointPscConfigPtrOutput

type ClusterDiscoveryEndpointPscConfigPtrInput

type ClusterDiscoveryEndpointPscConfigPtrInput interface {
	pulumi.Input

	ToClusterDiscoveryEndpointPscConfigPtrOutput() ClusterDiscoveryEndpointPscConfigPtrOutput
	ToClusterDiscoveryEndpointPscConfigPtrOutputWithContext(context.Context) ClusterDiscoveryEndpointPscConfigPtrOutput
}

ClusterDiscoveryEndpointPscConfigPtrInput is an input type that accepts ClusterDiscoveryEndpointPscConfigArgs, ClusterDiscoveryEndpointPscConfigPtr and ClusterDiscoveryEndpointPscConfigPtrOutput values. You can construct a concrete instance of `ClusterDiscoveryEndpointPscConfigPtrInput` via:

        ClusterDiscoveryEndpointPscConfigArgs{...}

or:

        nil

type ClusterDiscoveryEndpointPscConfigPtrOutput

type ClusterDiscoveryEndpointPscConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterDiscoveryEndpointPscConfigPtrOutput) Elem

func (ClusterDiscoveryEndpointPscConfigPtrOutput) ElementType

func (ClusterDiscoveryEndpointPscConfigPtrOutput) Network

The consumer network where the IP address resides, in the form of projects/{projectId}/global/networks/{network_id}.

func (ClusterDiscoveryEndpointPscConfigPtrOutput) ToClusterDiscoveryEndpointPscConfigPtrOutput

func (o ClusterDiscoveryEndpointPscConfigPtrOutput) ToClusterDiscoveryEndpointPscConfigPtrOutput() ClusterDiscoveryEndpointPscConfigPtrOutput

func (ClusterDiscoveryEndpointPscConfigPtrOutput) ToClusterDiscoveryEndpointPscConfigPtrOutputWithContext

func (o ClusterDiscoveryEndpointPscConfigPtrOutput) ToClusterDiscoveryEndpointPscConfigPtrOutputWithContext(ctx context.Context) ClusterDiscoveryEndpointPscConfigPtrOutput

type ClusterInput

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) AuthorizationMode

func (o ClusterOutput) AuthorizationMode() pulumi.StringPtrOutput

Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value: "AUTH_MODE_DISABLED" Possible values: ["AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH", "AUTH_MODE_DISABLED"]

func (ClusterOutput) CreateTime

func (o ClusterOutput) CreateTime() pulumi.StringOutput

The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (ClusterOutput) DiscoveryEndpoints

func (o ClusterOutput) DiscoveryEndpoints() ClusterDiscoveryEndpointArrayOutput

Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) Name

Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

func (ClusterOutput) NodeType added in v7.18.0

func (o ClusterOutput) NodeType() pulumi.StringOutput

The nodeType for the Redis cluster. If not provided, REDIS_HIGHMEM_MEDIUM will be used as default Possible values: ["REDIS_SHARED_CORE_NANO", "REDIS_HIGHMEM_MEDIUM", "REDIS_HIGHMEM_XLARGE", "REDIS_STANDARD_SMALL"]

func (ClusterOutput) PreciseSizeGb added in v7.18.0

func (o ClusterOutput) PreciseSizeGb() pulumi.Float64Output

Output only. Redis memory precise size in GB for the entire cluster.

func (ClusterOutput) Project

func (o ClusterOutput) Project() pulumi.StringOutput

func (ClusterOutput) PscConfigs

Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

func (ClusterOutput) PscConnections

Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

func (ClusterOutput) Region

func (o ClusterOutput) Region() pulumi.StringOutput

The name of the region of the Redis cluster.

func (ClusterOutput) ReplicaCount

func (o ClusterOutput) ReplicaCount() pulumi.IntPtrOutput

Optional. The number of replica nodes per shard.

func (ClusterOutput) ShardCount

func (o ClusterOutput) ShardCount() pulumi.IntOutput

Required. Number of shards for the Redis cluster.

func (ClusterOutput) SizeGb

func (o ClusterOutput) SizeGb() pulumi.IntOutput

Output only. Redis memory size in GB for the entire cluster.

func (ClusterOutput) State

func (o ClusterOutput) State() pulumi.StringOutput

The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED

func (ClusterOutput) StateInfos

Output only. Additional information about the current state of the cluster. Structure is documented below.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) TransitEncryptionMode

func (o ClusterOutput) TransitEncryptionMode() pulumi.StringPtrOutput

Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value: "TRANSIT_ENCRYPTION_MODE_DISABLED" Possible values: ["TRANSIT_ENCRYPTION_MODE_UNSPECIFIED", "TRANSIT_ENCRYPTION_MODE_DISABLED", "TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION"]

func (ClusterOutput) Uid

System assigned, unique identifier for the cluster.

type ClusterPscConfig

type ClusterPscConfig struct {
	// Required. The consumer network where the network address of
	// the discovery endpoint will be reserved, in the form of
	// projects/{network_project_id_or_number}/global/networks/{network_id}.
	//
	// ***
	Network string `pulumi:"network"`
}

type ClusterPscConfigArgs

type ClusterPscConfigArgs struct {
	// Required. The consumer network where the network address of
	// the discovery endpoint will be reserved, in the form of
	// projects/{network_project_id_or_number}/global/networks/{network_id}.
	//
	// ***
	Network pulumi.StringInput `pulumi:"network"`
}

func (ClusterPscConfigArgs) ElementType

func (ClusterPscConfigArgs) ElementType() reflect.Type

func (ClusterPscConfigArgs) ToClusterPscConfigOutput

func (i ClusterPscConfigArgs) ToClusterPscConfigOutput() ClusterPscConfigOutput

func (ClusterPscConfigArgs) ToClusterPscConfigOutputWithContext

func (i ClusterPscConfigArgs) ToClusterPscConfigOutputWithContext(ctx context.Context) ClusterPscConfigOutput

type ClusterPscConfigArray

type ClusterPscConfigArray []ClusterPscConfigInput

func (ClusterPscConfigArray) ElementType

func (ClusterPscConfigArray) ElementType() reflect.Type

func (ClusterPscConfigArray) ToClusterPscConfigArrayOutput

func (i ClusterPscConfigArray) ToClusterPscConfigArrayOutput() ClusterPscConfigArrayOutput

func (ClusterPscConfigArray) ToClusterPscConfigArrayOutputWithContext

func (i ClusterPscConfigArray) ToClusterPscConfigArrayOutputWithContext(ctx context.Context) ClusterPscConfigArrayOutput

type ClusterPscConfigArrayInput

type ClusterPscConfigArrayInput interface {
	pulumi.Input

	ToClusterPscConfigArrayOutput() ClusterPscConfigArrayOutput
	ToClusterPscConfigArrayOutputWithContext(context.Context) ClusterPscConfigArrayOutput
}

ClusterPscConfigArrayInput is an input type that accepts ClusterPscConfigArray and ClusterPscConfigArrayOutput values. You can construct a concrete instance of `ClusterPscConfigArrayInput` via:

ClusterPscConfigArray{ ClusterPscConfigArgs{...} }

type ClusterPscConfigArrayOutput

type ClusterPscConfigArrayOutput struct{ *pulumi.OutputState }

func (ClusterPscConfigArrayOutput) ElementType

func (ClusterPscConfigArrayOutput) Index

func (ClusterPscConfigArrayOutput) ToClusterPscConfigArrayOutput

func (o ClusterPscConfigArrayOutput) ToClusterPscConfigArrayOutput() ClusterPscConfigArrayOutput

func (ClusterPscConfigArrayOutput) ToClusterPscConfigArrayOutputWithContext

func (o ClusterPscConfigArrayOutput) ToClusterPscConfigArrayOutputWithContext(ctx context.Context) ClusterPscConfigArrayOutput

type ClusterPscConfigInput

type ClusterPscConfigInput interface {
	pulumi.Input

	ToClusterPscConfigOutput() ClusterPscConfigOutput
	ToClusterPscConfigOutputWithContext(context.Context) ClusterPscConfigOutput
}

ClusterPscConfigInput is an input type that accepts ClusterPscConfigArgs and ClusterPscConfigOutput values. You can construct a concrete instance of `ClusterPscConfigInput` via:

ClusterPscConfigArgs{...}

type ClusterPscConfigOutput

type ClusterPscConfigOutput struct{ *pulumi.OutputState }

func (ClusterPscConfigOutput) ElementType

func (ClusterPscConfigOutput) ElementType() reflect.Type

func (ClusterPscConfigOutput) Network

Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.

***

func (ClusterPscConfigOutput) ToClusterPscConfigOutput

func (o ClusterPscConfigOutput) ToClusterPscConfigOutput() ClusterPscConfigOutput

func (ClusterPscConfigOutput) ToClusterPscConfigOutputWithContext

func (o ClusterPscConfigOutput) ToClusterPscConfigOutputWithContext(ctx context.Context) ClusterPscConfigOutput

type ClusterPscConnection

type ClusterPscConnection struct {
	// Output only. The IP allocated on the consumer network for the PSC forwarding rule.
	Address *string `pulumi:"address"`
	// Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
	ForwardingRule *string `pulumi:"forwardingRule"`
	// The consumer network where the IP address resides, in the form of projects/{projectId}/global/networks/{network_id}.
	Network *string `pulumi:"network"`
	// Output only. The consumer projectId where the forwarding rule is created from.
	ProjectId *string `pulumi:"projectId"`
	// Output only. The PSC connection id of the forwarding rule connected to the service attachment.
	PscConnectionId *string `pulumi:"pscConnectionId"`
}

type ClusterPscConnectionArgs

type ClusterPscConnectionArgs struct {
	// Output only. The IP allocated on the consumer network for the PSC forwarding rule.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
	ForwardingRule pulumi.StringPtrInput `pulumi:"forwardingRule"`
	// The consumer network where the IP address resides, in the form of projects/{projectId}/global/networks/{network_id}.
	Network pulumi.StringPtrInput `pulumi:"network"`
	// Output only. The consumer projectId where the forwarding rule is created from.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// Output only. The PSC connection id of the forwarding rule connected to the service attachment.
	PscConnectionId pulumi.StringPtrInput `pulumi:"pscConnectionId"`
}

func (ClusterPscConnectionArgs) ElementType

func (ClusterPscConnectionArgs) ElementType() reflect.Type

func (ClusterPscConnectionArgs) ToClusterPscConnectionOutput

func (i ClusterPscConnectionArgs) ToClusterPscConnectionOutput() ClusterPscConnectionOutput

func (ClusterPscConnectionArgs) ToClusterPscConnectionOutputWithContext

func (i ClusterPscConnectionArgs) ToClusterPscConnectionOutputWithContext(ctx context.Context) ClusterPscConnectionOutput

type ClusterPscConnectionArray

type ClusterPscConnectionArray []ClusterPscConnectionInput

func (ClusterPscConnectionArray) ElementType

func (ClusterPscConnectionArray) ElementType() reflect.Type

func (ClusterPscConnectionArray) ToClusterPscConnectionArrayOutput

func (i ClusterPscConnectionArray) ToClusterPscConnectionArrayOutput() ClusterPscConnectionArrayOutput

func (ClusterPscConnectionArray) ToClusterPscConnectionArrayOutputWithContext

func (i ClusterPscConnectionArray) ToClusterPscConnectionArrayOutputWithContext(ctx context.Context) ClusterPscConnectionArrayOutput

type ClusterPscConnectionArrayInput

type ClusterPscConnectionArrayInput interface {
	pulumi.Input

	ToClusterPscConnectionArrayOutput() ClusterPscConnectionArrayOutput
	ToClusterPscConnectionArrayOutputWithContext(context.Context) ClusterPscConnectionArrayOutput
}

ClusterPscConnectionArrayInput is an input type that accepts ClusterPscConnectionArray and ClusterPscConnectionArrayOutput values. You can construct a concrete instance of `ClusterPscConnectionArrayInput` via:

ClusterPscConnectionArray{ ClusterPscConnectionArgs{...} }

type ClusterPscConnectionArrayOutput

type ClusterPscConnectionArrayOutput struct{ *pulumi.OutputState }

func (ClusterPscConnectionArrayOutput) ElementType

func (ClusterPscConnectionArrayOutput) Index

func (ClusterPscConnectionArrayOutput) ToClusterPscConnectionArrayOutput

func (o ClusterPscConnectionArrayOutput) ToClusterPscConnectionArrayOutput() ClusterPscConnectionArrayOutput

func (ClusterPscConnectionArrayOutput) ToClusterPscConnectionArrayOutputWithContext

func (o ClusterPscConnectionArrayOutput) ToClusterPscConnectionArrayOutputWithContext(ctx context.Context) ClusterPscConnectionArrayOutput

type ClusterPscConnectionInput

type ClusterPscConnectionInput interface {
	pulumi.Input

	ToClusterPscConnectionOutput() ClusterPscConnectionOutput
	ToClusterPscConnectionOutputWithContext(context.Context) ClusterPscConnectionOutput
}

ClusterPscConnectionInput is an input type that accepts ClusterPscConnectionArgs and ClusterPscConnectionOutput values. You can construct a concrete instance of `ClusterPscConnectionInput` via:

ClusterPscConnectionArgs{...}

type ClusterPscConnectionOutput

type ClusterPscConnectionOutput struct{ *pulumi.OutputState }

func (ClusterPscConnectionOutput) Address

Output only. The IP allocated on the consumer network for the PSC forwarding rule.

func (ClusterPscConnectionOutput) ElementType

func (ClusterPscConnectionOutput) ElementType() reflect.Type

func (ClusterPscConnectionOutput) ForwardingRule

Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

func (ClusterPscConnectionOutput) Network

The consumer network where the IP address resides, in the form of projects/{projectId}/global/networks/{network_id}.

func (ClusterPscConnectionOutput) ProjectId

Output only. The consumer projectId where the forwarding rule is created from.

func (ClusterPscConnectionOutput) PscConnectionId

Output only. The PSC connection id of the forwarding rule connected to the service attachment.

func (ClusterPscConnectionOutput) ToClusterPscConnectionOutput

func (o ClusterPscConnectionOutput) ToClusterPscConnectionOutput() ClusterPscConnectionOutput

func (ClusterPscConnectionOutput) ToClusterPscConnectionOutputWithContext

func (o ClusterPscConnectionOutput) ToClusterPscConnectionOutputWithContext(ctx context.Context) ClusterPscConnectionOutput

type ClusterState

type ClusterState struct {
	// Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
	// Default value: "AUTH_MODE_DISABLED" Possible values: ["AUTH_MODE_UNSPECIFIED", "AUTH_MODE_IAM_AUTH",
	// "AUTH_MODE_DISABLED"]
	AuthorizationMode pulumi.StringPtrInput
	// The timestamp associated with the cluster creation request. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// Output only. Endpoints created on each given network,
	// for Redis clients to connect to the cluster.
	// Currently only one endpoint is supported.
	// Structure is documented below.
	DiscoveryEndpoints ClusterDiscoveryEndpointArrayInput
	// Unique name of the resource in this scope including project and location using the form:
	// projects/{projectId}/locations/{locationId}/clusters/{clusterId}
	Name pulumi.StringPtrInput
	// The nodeType for the Redis cluster. If not provided, REDIS_HIGHMEM_MEDIUM will be used as default Possible values:
	// ["REDIS_SHARED_CORE_NANO", "REDIS_HIGHMEM_MEDIUM", "REDIS_HIGHMEM_XLARGE", "REDIS_STANDARD_SMALL"]
	NodeType pulumi.StringPtrInput
	// Output only. Redis memory precise size in GB for the entire cluster.
	PreciseSizeGb pulumi.Float64PtrInput
	Project       pulumi.StringPtrInput
	// Required. Each PscConfig configures the consumer network where two
	// network addresses will be designated to the cluster for client access.
	// Currently, only one PscConfig is supported.
	// Structure is documented below.
	PscConfigs ClusterPscConfigArrayInput
	// Output only. PSC connections for discovery of the cluster topology and accessing the cluster.
	// Structure is documented below.
	PscConnections ClusterPscConnectionArrayInput
	// The name of the region of the Redis cluster.
	Region pulumi.StringPtrInput
	// Optional. The number of replica nodes per shard.
	ReplicaCount pulumi.IntPtrInput
	// Required. Number of shards for the Redis cluster.
	ShardCount pulumi.IntPtrInput
	// Output only. Redis memory size in GB for the entire cluster.
	SizeGb pulumi.IntPtrInput
	// The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
	State pulumi.StringPtrInput
	// Output only. Additional information about the current state of the cluster.
	// Structure is documented below.
	StateInfos ClusterStateInfoArrayInput
	// Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
	// Default value: "TRANSIT_ENCRYPTION_MODE_DISABLED" Possible values: ["TRANSIT_ENCRYPTION_MODE_UNSPECIFIED",
	// "TRANSIT_ENCRYPTION_MODE_DISABLED", "TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION"]
	TransitEncryptionMode pulumi.StringPtrInput
	// System assigned, unique identifier for the cluster.
	Uid pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type ClusterStateInfo

type ClusterStateInfo struct {
	// A nested object resource
	// Structure is documented below.
	UpdateInfo *ClusterStateInfoUpdateInfo `pulumi:"updateInfo"`
}

type ClusterStateInfoArgs

type ClusterStateInfoArgs struct {
	// A nested object resource
	// Structure is documented below.
	UpdateInfo ClusterStateInfoUpdateInfoPtrInput `pulumi:"updateInfo"`
}

func (ClusterStateInfoArgs) ElementType

func (ClusterStateInfoArgs) ElementType() reflect.Type

func (ClusterStateInfoArgs) ToClusterStateInfoOutput

func (i ClusterStateInfoArgs) ToClusterStateInfoOutput() ClusterStateInfoOutput

func (ClusterStateInfoArgs) ToClusterStateInfoOutputWithContext

func (i ClusterStateInfoArgs) ToClusterStateInfoOutputWithContext(ctx context.Context) ClusterStateInfoOutput

type ClusterStateInfoArray

type ClusterStateInfoArray []ClusterStateInfoInput

func (ClusterStateInfoArray) ElementType

func (ClusterStateInfoArray) ElementType() reflect.Type

func (ClusterStateInfoArray) ToClusterStateInfoArrayOutput

func (i ClusterStateInfoArray) ToClusterStateInfoArrayOutput() ClusterStateInfoArrayOutput

func (ClusterStateInfoArray) ToClusterStateInfoArrayOutputWithContext

func (i ClusterStateInfoArray) ToClusterStateInfoArrayOutputWithContext(ctx context.Context) ClusterStateInfoArrayOutput

type ClusterStateInfoArrayInput

type ClusterStateInfoArrayInput interface {
	pulumi.Input

	ToClusterStateInfoArrayOutput() ClusterStateInfoArrayOutput
	ToClusterStateInfoArrayOutputWithContext(context.Context) ClusterStateInfoArrayOutput
}

ClusterStateInfoArrayInput is an input type that accepts ClusterStateInfoArray and ClusterStateInfoArrayOutput values. You can construct a concrete instance of `ClusterStateInfoArrayInput` via:

ClusterStateInfoArray{ ClusterStateInfoArgs{...} }

type ClusterStateInfoArrayOutput

type ClusterStateInfoArrayOutput struct{ *pulumi.OutputState }

func (ClusterStateInfoArrayOutput) ElementType

func (ClusterStateInfoArrayOutput) Index

func (ClusterStateInfoArrayOutput) ToClusterStateInfoArrayOutput

func (o ClusterStateInfoArrayOutput) ToClusterStateInfoArrayOutput() ClusterStateInfoArrayOutput

func (ClusterStateInfoArrayOutput) ToClusterStateInfoArrayOutputWithContext

func (o ClusterStateInfoArrayOutput) ToClusterStateInfoArrayOutputWithContext(ctx context.Context) ClusterStateInfoArrayOutput

type ClusterStateInfoInput

type ClusterStateInfoInput interface {
	pulumi.Input

	ToClusterStateInfoOutput() ClusterStateInfoOutput
	ToClusterStateInfoOutputWithContext(context.Context) ClusterStateInfoOutput
}

ClusterStateInfoInput is an input type that accepts ClusterStateInfoArgs and ClusterStateInfoOutput values. You can construct a concrete instance of `ClusterStateInfoInput` via:

ClusterStateInfoArgs{...}

type ClusterStateInfoOutput

type ClusterStateInfoOutput struct{ *pulumi.OutputState }

func (ClusterStateInfoOutput) ElementType

func (ClusterStateInfoOutput) ElementType() reflect.Type

func (ClusterStateInfoOutput) ToClusterStateInfoOutput

func (o ClusterStateInfoOutput) ToClusterStateInfoOutput() ClusterStateInfoOutput

func (ClusterStateInfoOutput) ToClusterStateInfoOutputWithContext

func (o ClusterStateInfoOutput) ToClusterStateInfoOutputWithContext(ctx context.Context) ClusterStateInfoOutput

func (ClusterStateInfoOutput) UpdateInfo

A nested object resource Structure is documented below.

type ClusterStateInfoUpdateInfo

type ClusterStateInfoUpdateInfo struct {
	// Target number of replica nodes per shard.
	TargetReplicaCount *int `pulumi:"targetReplicaCount"`
	// Target number of shards for redis cluster.
	TargetShardCount *int `pulumi:"targetShardCount"`
}

type ClusterStateInfoUpdateInfoArgs

type ClusterStateInfoUpdateInfoArgs struct {
	// Target number of replica nodes per shard.
	TargetReplicaCount pulumi.IntPtrInput `pulumi:"targetReplicaCount"`
	// Target number of shards for redis cluster.
	TargetShardCount pulumi.IntPtrInput `pulumi:"targetShardCount"`
}

func (ClusterStateInfoUpdateInfoArgs) ElementType

func (ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoOutput

func (i ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoOutput() ClusterStateInfoUpdateInfoOutput

func (ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoOutputWithContext

func (i ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoOutputWithContext(ctx context.Context) ClusterStateInfoUpdateInfoOutput

func (ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoPtrOutput

func (i ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoPtrOutput() ClusterStateInfoUpdateInfoPtrOutput

func (ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoPtrOutputWithContext

func (i ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoPtrOutputWithContext(ctx context.Context) ClusterStateInfoUpdateInfoPtrOutput

type ClusterStateInfoUpdateInfoInput

type ClusterStateInfoUpdateInfoInput interface {
	pulumi.Input

	ToClusterStateInfoUpdateInfoOutput() ClusterStateInfoUpdateInfoOutput
	ToClusterStateInfoUpdateInfoOutputWithContext(context.Context) ClusterStateInfoUpdateInfoOutput
}

ClusterStateInfoUpdateInfoInput is an input type that accepts ClusterStateInfoUpdateInfoArgs and ClusterStateInfoUpdateInfoOutput values. You can construct a concrete instance of `ClusterStateInfoUpdateInfoInput` via:

ClusterStateInfoUpdateInfoArgs{...}

type ClusterStateInfoUpdateInfoOutput

type ClusterStateInfoUpdateInfoOutput struct{ *pulumi.OutputState }

func (ClusterStateInfoUpdateInfoOutput) ElementType

func (ClusterStateInfoUpdateInfoOutput) TargetReplicaCount

func (o ClusterStateInfoUpdateInfoOutput) TargetReplicaCount() pulumi.IntPtrOutput

Target number of replica nodes per shard.

func (ClusterStateInfoUpdateInfoOutput) TargetShardCount

Target number of shards for redis cluster.

func (ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoOutput

func (o ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoOutput() ClusterStateInfoUpdateInfoOutput

func (ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoOutputWithContext

func (o ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoOutputWithContext(ctx context.Context) ClusterStateInfoUpdateInfoOutput

func (ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoPtrOutput

func (o ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoPtrOutput() ClusterStateInfoUpdateInfoPtrOutput

func (ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoPtrOutputWithContext

func (o ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoPtrOutputWithContext(ctx context.Context) ClusterStateInfoUpdateInfoPtrOutput

type ClusterStateInfoUpdateInfoPtrInput

type ClusterStateInfoUpdateInfoPtrInput interface {
	pulumi.Input

	ToClusterStateInfoUpdateInfoPtrOutput() ClusterStateInfoUpdateInfoPtrOutput
	ToClusterStateInfoUpdateInfoPtrOutputWithContext(context.Context) ClusterStateInfoUpdateInfoPtrOutput
}

ClusterStateInfoUpdateInfoPtrInput is an input type that accepts ClusterStateInfoUpdateInfoArgs, ClusterStateInfoUpdateInfoPtr and ClusterStateInfoUpdateInfoPtrOutput values. You can construct a concrete instance of `ClusterStateInfoUpdateInfoPtrInput` via:

        ClusterStateInfoUpdateInfoArgs{...}

or:

        nil

type ClusterStateInfoUpdateInfoPtrOutput

type ClusterStateInfoUpdateInfoPtrOutput struct{ *pulumi.OutputState }

func (ClusterStateInfoUpdateInfoPtrOutput) Elem

func (ClusterStateInfoUpdateInfoPtrOutput) ElementType

func (ClusterStateInfoUpdateInfoPtrOutput) TargetReplicaCount

Target number of replica nodes per shard.

func (ClusterStateInfoUpdateInfoPtrOutput) TargetShardCount

Target number of shards for redis cluster.

func (ClusterStateInfoUpdateInfoPtrOutput) ToClusterStateInfoUpdateInfoPtrOutput

func (o ClusterStateInfoUpdateInfoPtrOutput) ToClusterStateInfoUpdateInfoPtrOutput() ClusterStateInfoUpdateInfoPtrOutput

func (ClusterStateInfoUpdateInfoPtrOutput) ToClusterStateInfoUpdateInfoPtrOutputWithContext

func (o ClusterStateInfoUpdateInfoPtrOutput) ToClusterStateInfoUpdateInfoPtrOutputWithContext(ctx context.Context) ClusterStateInfoUpdateInfoPtrOutput

type GetInstanceMaintenancePolicy

type GetInstanceMaintenancePolicy struct {
	// Output only. The time when the policy was created.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	CreateTime string `pulumi:"createTime"`
	// Optional. Description of what this policy is for.
	// Create/Update methods return INVALID_ARGUMENT if the
	// length is greater than 512.
	Description string `pulumi:"description"`
	// Output only. The time when the policy was last updated.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	UpdateTime string `pulumi:"updateTime"`
	// Optional. Maintenance window that is applied to resources covered by this policy.
	// Minimum 1. For the current version, the maximum number
	// of weeklyWindow is expected to be one.
	WeeklyMaintenanceWindows []GetInstanceMaintenancePolicyWeeklyMaintenanceWindow `pulumi:"weeklyMaintenanceWindows"`
}

type GetInstanceMaintenancePolicyArgs

type GetInstanceMaintenancePolicyArgs struct {
	// Output only. The time when the policy was created.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Optional. Description of what this policy is for.
	// Create/Update methods return INVALID_ARGUMENT if the
	// length is greater than 512.
	Description pulumi.StringInput `pulumi:"description"`
	// Output only. The time when the policy was last updated.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// Optional. Maintenance window that is applied to resources covered by this policy.
	// Minimum 1. For the current version, the maximum number
	// of weeklyWindow is expected to be one.
	WeeklyMaintenanceWindows GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput `pulumi:"weeklyMaintenanceWindows"`
}

func (GetInstanceMaintenancePolicyArgs) ElementType

func (GetInstanceMaintenancePolicyArgs) ToGetInstanceMaintenancePolicyOutput

func (i GetInstanceMaintenancePolicyArgs) ToGetInstanceMaintenancePolicyOutput() GetInstanceMaintenancePolicyOutput

func (GetInstanceMaintenancePolicyArgs) ToGetInstanceMaintenancePolicyOutputWithContext

func (i GetInstanceMaintenancePolicyArgs) ToGetInstanceMaintenancePolicyOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyOutput

type GetInstanceMaintenancePolicyArray

type GetInstanceMaintenancePolicyArray []GetInstanceMaintenancePolicyInput

func (GetInstanceMaintenancePolicyArray) ElementType

func (GetInstanceMaintenancePolicyArray) ToGetInstanceMaintenancePolicyArrayOutput

func (i GetInstanceMaintenancePolicyArray) ToGetInstanceMaintenancePolicyArrayOutput() GetInstanceMaintenancePolicyArrayOutput

func (GetInstanceMaintenancePolicyArray) ToGetInstanceMaintenancePolicyArrayOutputWithContext

func (i GetInstanceMaintenancePolicyArray) ToGetInstanceMaintenancePolicyArrayOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyArrayOutput

type GetInstanceMaintenancePolicyArrayInput

type GetInstanceMaintenancePolicyArrayInput interface {
	pulumi.Input

	ToGetInstanceMaintenancePolicyArrayOutput() GetInstanceMaintenancePolicyArrayOutput
	ToGetInstanceMaintenancePolicyArrayOutputWithContext(context.Context) GetInstanceMaintenancePolicyArrayOutput
}

GetInstanceMaintenancePolicyArrayInput is an input type that accepts GetInstanceMaintenancePolicyArray and GetInstanceMaintenancePolicyArrayOutput values. You can construct a concrete instance of `GetInstanceMaintenancePolicyArrayInput` via:

GetInstanceMaintenancePolicyArray{ GetInstanceMaintenancePolicyArgs{...} }

type GetInstanceMaintenancePolicyArrayOutput

type GetInstanceMaintenancePolicyArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyArrayOutput) ElementType

func (GetInstanceMaintenancePolicyArrayOutput) Index

func (GetInstanceMaintenancePolicyArrayOutput) ToGetInstanceMaintenancePolicyArrayOutput

func (o GetInstanceMaintenancePolicyArrayOutput) ToGetInstanceMaintenancePolicyArrayOutput() GetInstanceMaintenancePolicyArrayOutput

func (GetInstanceMaintenancePolicyArrayOutput) ToGetInstanceMaintenancePolicyArrayOutputWithContext

func (o GetInstanceMaintenancePolicyArrayOutput) ToGetInstanceMaintenancePolicyArrayOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyArrayOutput

type GetInstanceMaintenancePolicyInput

type GetInstanceMaintenancePolicyInput interface {
	pulumi.Input

	ToGetInstanceMaintenancePolicyOutput() GetInstanceMaintenancePolicyOutput
	ToGetInstanceMaintenancePolicyOutputWithContext(context.Context) GetInstanceMaintenancePolicyOutput
}

GetInstanceMaintenancePolicyInput is an input type that accepts GetInstanceMaintenancePolicyArgs and GetInstanceMaintenancePolicyOutput values. You can construct a concrete instance of `GetInstanceMaintenancePolicyInput` via:

GetInstanceMaintenancePolicyArgs{...}

type GetInstanceMaintenancePolicyOutput

type GetInstanceMaintenancePolicyOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyOutput) CreateTime

Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (GetInstanceMaintenancePolicyOutput) Description

Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.

func (GetInstanceMaintenancePolicyOutput) ElementType

func (GetInstanceMaintenancePolicyOutput) ToGetInstanceMaintenancePolicyOutput

func (o GetInstanceMaintenancePolicyOutput) ToGetInstanceMaintenancePolicyOutput() GetInstanceMaintenancePolicyOutput

func (GetInstanceMaintenancePolicyOutput) ToGetInstanceMaintenancePolicyOutputWithContext

func (o GetInstanceMaintenancePolicyOutput) ToGetInstanceMaintenancePolicyOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyOutput

func (GetInstanceMaintenancePolicyOutput) UpdateTime

Output only. The time when the policy was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (GetInstanceMaintenancePolicyOutput) WeeklyMaintenanceWindows

Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weeklyWindow is expected to be one.

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindow

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindow struct {
	// Required. The day of week that maintenance updates occur.
	//
	// - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
	// - MONDAY: Monday
	// - TUESDAY: Tuesday
	// - WEDNESDAY: Wednesday
	// - THURSDAY: Thursday
	// - FRIDAY: Friday
	// - SATURDAY: Saturday
	// - SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
	Day string `pulumi:"day"`
	// Output only. Duration of the maintenance window.
	// The current window is fixed at 1 hour.
	// A duration in seconds with up to nine fractional digits,
	// terminated by 's'. Example: "3.5s".
	Duration string `pulumi:"duration"`
	// Required. Start time of the window in UTC time.
	StartTimes []GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime `pulumi:"startTimes"`
}

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs struct {
	// Required. The day of week that maintenance updates occur.
	//
	// - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
	// - MONDAY: Monday
	// - TUESDAY: Tuesday
	// - WEDNESDAY: Wednesday
	// - THURSDAY: Thursday
	// - FRIDAY: Friday
	// - SATURDAY: Saturday
	// - SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
	Day pulumi.StringInput `pulumi:"day"`
	// Output only. Duration of the maintenance window.
	// The current window is fixed at 1 hour.
	// A duration in seconds with up to nine fractional digits,
	// terminated by 's'. Example: "3.5s".
	Duration pulumi.StringInput `pulumi:"duration"`
	// Required. Start time of the window in UTC time.
	StartTimes GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayInput `pulumi:"startTimes"`
}

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ElementType

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext

func (i GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray []GetInstanceMaintenancePolicyWeeklyMaintenanceWindowInput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ElementType

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

func (i GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext

func (i GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput interface {
	pulumi.Input

	ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
	ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext(context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
}

GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput is an input type that accepts GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray and GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput values. You can construct a concrete instance of `GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput` via:

GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray{ GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs{...} }

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ElementType

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) Index

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext

func (o GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowInput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowInput interface {
	pulumi.Input

	ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput() GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
	ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext(context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
}

GetInstanceMaintenancePolicyWeeklyMaintenanceWindowInput is an input type that accepts GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs and GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput values. You can construct a concrete instance of `GetInstanceMaintenancePolicyWeeklyMaintenanceWindowInput` via:

GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs{...}

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Day

Required. The day of week that maintenance updates occur.

- DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified. - MONDAY: Monday - TUESDAY: Tuesday - WEDNESDAY: Wednesday - THURSDAY: Thursday - FRIDAY: Friday - SATURDAY: Saturday - SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Duration

Output only. Duration of the maintenance window. The current window is fixed at 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ElementType

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) StartTimes

Required. Start time of the window in UTC time.

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext

func (o GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime struct {
	// 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.
	Hours int `pulumi:"hours"`
	// Minutes of hour of day. Must be from 0 to 59.
	Minutes int `pulumi:"minutes"`
	// Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
	Nanos int `pulumi:"nanos"`
	// 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.
	Seconds int `pulumi:"seconds"`
}

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs struct {
	// 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.
	Hours pulumi.IntInput `pulumi:"hours"`
	// Minutes of hour of day. Must be from 0 to 59.
	Minutes pulumi.IntInput `pulumi:"minutes"`
	// Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
	Nanos pulumi.IntInput `pulumi:"nanos"`
	// 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.
	Seconds pulumi.IntInput `pulumi:"seconds"`
}

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ElementType

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext

func (i GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray []GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray) ElementType

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutputWithContext

func (i GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayInput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayInput interface {
	pulumi.Input

	ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput() GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput
	ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutputWithContext(context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput
}

GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayInput is an input type that accepts GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray and GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput values. You can construct a concrete instance of `GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayInput` via:

GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray{ GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs{...} }

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput) ElementType

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutputWithContext

func (o GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput interface {
	pulumi.Input

	ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput() GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
	ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext(context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
}

GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput is an input type that accepts GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs and GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput values. You can construct a concrete instance of `GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput` via:

GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs{...}

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ElementType

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Hours

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.

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Minutes

Minutes of hour of day. Must be from 0 to 59.

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Nanos

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Seconds

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.

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext

func (o GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext(ctx context.Context) GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput

type GetInstanceMaintenanceSchedule

type GetInstanceMaintenanceSchedule struct {
	// Output only. The end time of any upcoming scheduled maintenance for this instance.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	EndTime string `pulumi:"endTime"`
	// Output only. The deadline that the maintenance schedule start time
	// can not go beyond, including reschedule.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	ScheduleDeadlineTime string `pulumi:"scheduleDeadlineTime"`
	// Output only. The start time of any upcoming scheduled maintenance for this instance.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	StartTime string `pulumi:"startTime"`
}

type GetInstanceMaintenanceScheduleArgs

type GetInstanceMaintenanceScheduleArgs struct {
	// Output only. The end time of any upcoming scheduled maintenance for this instance.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	EndTime pulumi.StringInput `pulumi:"endTime"`
	// Output only. The deadline that the maintenance schedule start time
	// can not go beyond, including reschedule.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	ScheduleDeadlineTime pulumi.StringInput `pulumi:"scheduleDeadlineTime"`
	// Output only. The start time of any upcoming scheduled maintenance for this instance.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (GetInstanceMaintenanceScheduleArgs) ElementType

func (GetInstanceMaintenanceScheduleArgs) ToGetInstanceMaintenanceScheduleOutput

func (i GetInstanceMaintenanceScheduleArgs) ToGetInstanceMaintenanceScheduleOutput() GetInstanceMaintenanceScheduleOutput

func (GetInstanceMaintenanceScheduleArgs) ToGetInstanceMaintenanceScheduleOutputWithContext

func (i GetInstanceMaintenanceScheduleArgs) ToGetInstanceMaintenanceScheduleOutputWithContext(ctx context.Context) GetInstanceMaintenanceScheduleOutput

type GetInstanceMaintenanceScheduleArray

type GetInstanceMaintenanceScheduleArray []GetInstanceMaintenanceScheduleInput

func (GetInstanceMaintenanceScheduleArray) ElementType

func (GetInstanceMaintenanceScheduleArray) ToGetInstanceMaintenanceScheduleArrayOutput

func (i GetInstanceMaintenanceScheduleArray) ToGetInstanceMaintenanceScheduleArrayOutput() GetInstanceMaintenanceScheduleArrayOutput

func (GetInstanceMaintenanceScheduleArray) ToGetInstanceMaintenanceScheduleArrayOutputWithContext

func (i GetInstanceMaintenanceScheduleArray) ToGetInstanceMaintenanceScheduleArrayOutputWithContext(ctx context.Context) GetInstanceMaintenanceScheduleArrayOutput

type GetInstanceMaintenanceScheduleArrayInput

type GetInstanceMaintenanceScheduleArrayInput interface {
	pulumi.Input

	ToGetInstanceMaintenanceScheduleArrayOutput() GetInstanceMaintenanceScheduleArrayOutput
	ToGetInstanceMaintenanceScheduleArrayOutputWithContext(context.Context) GetInstanceMaintenanceScheduleArrayOutput
}

GetInstanceMaintenanceScheduleArrayInput is an input type that accepts GetInstanceMaintenanceScheduleArray and GetInstanceMaintenanceScheduleArrayOutput values. You can construct a concrete instance of `GetInstanceMaintenanceScheduleArrayInput` via:

GetInstanceMaintenanceScheduleArray{ GetInstanceMaintenanceScheduleArgs{...} }

type GetInstanceMaintenanceScheduleArrayOutput

type GetInstanceMaintenanceScheduleArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenanceScheduleArrayOutput) ElementType

func (GetInstanceMaintenanceScheduleArrayOutput) Index

func (GetInstanceMaintenanceScheduleArrayOutput) ToGetInstanceMaintenanceScheduleArrayOutput

func (o GetInstanceMaintenanceScheduleArrayOutput) ToGetInstanceMaintenanceScheduleArrayOutput() GetInstanceMaintenanceScheduleArrayOutput

func (GetInstanceMaintenanceScheduleArrayOutput) ToGetInstanceMaintenanceScheduleArrayOutputWithContext

func (o GetInstanceMaintenanceScheduleArrayOutput) ToGetInstanceMaintenanceScheduleArrayOutputWithContext(ctx context.Context) GetInstanceMaintenanceScheduleArrayOutput

type GetInstanceMaintenanceScheduleInput

type GetInstanceMaintenanceScheduleInput interface {
	pulumi.Input

	ToGetInstanceMaintenanceScheduleOutput() GetInstanceMaintenanceScheduleOutput
	ToGetInstanceMaintenanceScheduleOutputWithContext(context.Context) GetInstanceMaintenanceScheduleOutput
}

GetInstanceMaintenanceScheduleInput is an input type that accepts GetInstanceMaintenanceScheduleArgs and GetInstanceMaintenanceScheduleOutput values. You can construct a concrete instance of `GetInstanceMaintenanceScheduleInput` via:

GetInstanceMaintenanceScheduleArgs{...}

type GetInstanceMaintenanceScheduleOutput

type GetInstanceMaintenanceScheduleOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenanceScheduleOutput) ElementType

func (GetInstanceMaintenanceScheduleOutput) EndTime

Output only. The end time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (GetInstanceMaintenanceScheduleOutput) ScheduleDeadlineTime

func (o GetInstanceMaintenanceScheduleOutput) ScheduleDeadlineTime() pulumi.StringOutput

Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (GetInstanceMaintenanceScheduleOutput) StartTime

Output only. The start time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (GetInstanceMaintenanceScheduleOutput) ToGetInstanceMaintenanceScheduleOutput

func (o GetInstanceMaintenanceScheduleOutput) ToGetInstanceMaintenanceScheduleOutput() GetInstanceMaintenanceScheduleOutput

func (GetInstanceMaintenanceScheduleOutput) ToGetInstanceMaintenanceScheduleOutputWithContext

func (o GetInstanceMaintenanceScheduleOutput) ToGetInstanceMaintenanceScheduleOutputWithContext(ctx context.Context) GetInstanceMaintenanceScheduleOutput

type GetInstanceNode

type GetInstanceNode struct {
	// Node identifying string. e.g. 'node-0', 'node-1'
	Id string `pulumi:"id"`
	// Location of the node.
	Zone string `pulumi:"zone"`
}

type GetInstanceNodeArgs

type GetInstanceNodeArgs struct {
	// Node identifying string. e.g. 'node-0', 'node-1'
	Id pulumi.StringInput `pulumi:"id"`
	// Location of the node.
	Zone pulumi.StringInput `pulumi:"zone"`
}

func (GetInstanceNodeArgs) ElementType

func (GetInstanceNodeArgs) ElementType() reflect.Type

func (GetInstanceNodeArgs) ToGetInstanceNodeOutput

func (i GetInstanceNodeArgs) ToGetInstanceNodeOutput() GetInstanceNodeOutput

func (GetInstanceNodeArgs) ToGetInstanceNodeOutputWithContext

func (i GetInstanceNodeArgs) ToGetInstanceNodeOutputWithContext(ctx context.Context) GetInstanceNodeOutput

type GetInstanceNodeArray

type GetInstanceNodeArray []GetInstanceNodeInput

func (GetInstanceNodeArray) ElementType

func (GetInstanceNodeArray) ElementType() reflect.Type

func (GetInstanceNodeArray) ToGetInstanceNodeArrayOutput

func (i GetInstanceNodeArray) ToGetInstanceNodeArrayOutput() GetInstanceNodeArrayOutput

func (GetInstanceNodeArray) ToGetInstanceNodeArrayOutputWithContext

func (i GetInstanceNodeArray) ToGetInstanceNodeArrayOutputWithContext(ctx context.Context) GetInstanceNodeArrayOutput

type GetInstanceNodeArrayInput

type GetInstanceNodeArrayInput interface {
	pulumi.Input

	ToGetInstanceNodeArrayOutput() GetInstanceNodeArrayOutput
	ToGetInstanceNodeArrayOutputWithContext(context.Context) GetInstanceNodeArrayOutput
}

GetInstanceNodeArrayInput is an input type that accepts GetInstanceNodeArray and GetInstanceNodeArrayOutput values. You can construct a concrete instance of `GetInstanceNodeArrayInput` via:

GetInstanceNodeArray{ GetInstanceNodeArgs{...} }

type GetInstanceNodeArrayOutput

type GetInstanceNodeArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceNodeArrayOutput) ElementType

func (GetInstanceNodeArrayOutput) ElementType() reflect.Type

func (GetInstanceNodeArrayOutput) Index

func (GetInstanceNodeArrayOutput) ToGetInstanceNodeArrayOutput

func (o GetInstanceNodeArrayOutput) ToGetInstanceNodeArrayOutput() GetInstanceNodeArrayOutput

func (GetInstanceNodeArrayOutput) ToGetInstanceNodeArrayOutputWithContext

func (o GetInstanceNodeArrayOutput) ToGetInstanceNodeArrayOutputWithContext(ctx context.Context) GetInstanceNodeArrayOutput

type GetInstanceNodeInput

type GetInstanceNodeInput interface {
	pulumi.Input

	ToGetInstanceNodeOutput() GetInstanceNodeOutput
	ToGetInstanceNodeOutputWithContext(context.Context) GetInstanceNodeOutput
}

GetInstanceNodeInput is an input type that accepts GetInstanceNodeArgs and GetInstanceNodeOutput values. You can construct a concrete instance of `GetInstanceNodeInput` via:

GetInstanceNodeArgs{...}

type GetInstanceNodeOutput

type GetInstanceNodeOutput struct{ *pulumi.OutputState }

func (GetInstanceNodeOutput) ElementType

func (GetInstanceNodeOutput) ElementType() reflect.Type

func (GetInstanceNodeOutput) Id

Node identifying string. e.g. 'node-0', 'node-1'

func (GetInstanceNodeOutput) ToGetInstanceNodeOutput

func (o GetInstanceNodeOutput) ToGetInstanceNodeOutput() GetInstanceNodeOutput

func (GetInstanceNodeOutput) ToGetInstanceNodeOutputWithContext

func (o GetInstanceNodeOutput) ToGetInstanceNodeOutputWithContext(ctx context.Context) GetInstanceNodeOutput

func (GetInstanceNodeOutput) Zone

Location of the node.

type GetInstancePersistenceConfig

type GetInstancePersistenceConfig struct {
	// Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
	//
	// - DISABLED: 	Persistence is disabled for the instance, and any existing snapshots are deleted.
	// - RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
	PersistenceMode string `pulumi:"persistenceMode"`
	// Output only. The next time that a snapshot attempt is scheduled to occur.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up
	// to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	RdbNextSnapshotTime string `pulumi:"rdbNextSnapshotTime"`
	// Optional. Available snapshot periods for scheduling.
	//
	// - ONE_HOUR:	Snapshot every 1 hour.
	// - SIX_HOURS:	Snapshot every 6 hours.
	// - TWELVE_HOURS:	Snapshot every 12 hours.
	// - TWENTY_FOUR_HOURS:	Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
	RdbSnapshotPeriod string `pulumi:"rdbSnapshotPeriod"`
	// 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.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution
	// and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	RdbSnapshotStartTime string `pulumi:"rdbSnapshotStartTime"`
}

type GetInstancePersistenceConfigArgs

type GetInstancePersistenceConfigArgs struct {
	// Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
	//
	// - DISABLED: 	Persistence is disabled for the instance, and any existing snapshots are deleted.
	// - RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
	PersistenceMode pulumi.StringInput `pulumi:"persistenceMode"`
	// Output only. The next time that a snapshot attempt is scheduled to occur.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up
	// to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	RdbNextSnapshotTime pulumi.StringInput `pulumi:"rdbNextSnapshotTime"`
	// Optional. Available snapshot periods for scheduling.
	//
	// - ONE_HOUR:	Snapshot every 1 hour.
	// - SIX_HOURS:	Snapshot every 6 hours.
	// - TWELVE_HOURS:	Snapshot every 12 hours.
	// - TWENTY_FOUR_HOURS:	Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
	RdbSnapshotPeriod pulumi.StringInput `pulumi:"rdbSnapshotPeriod"`
	// 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.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution
	// and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	RdbSnapshotStartTime pulumi.StringInput `pulumi:"rdbSnapshotStartTime"`
}

func (GetInstancePersistenceConfigArgs) ElementType

func (GetInstancePersistenceConfigArgs) ToGetInstancePersistenceConfigOutput

func (i GetInstancePersistenceConfigArgs) ToGetInstancePersistenceConfigOutput() GetInstancePersistenceConfigOutput

func (GetInstancePersistenceConfigArgs) ToGetInstancePersistenceConfigOutputWithContext

func (i GetInstancePersistenceConfigArgs) ToGetInstancePersistenceConfigOutputWithContext(ctx context.Context) GetInstancePersistenceConfigOutput

type GetInstancePersistenceConfigArray

type GetInstancePersistenceConfigArray []GetInstancePersistenceConfigInput

func (GetInstancePersistenceConfigArray) ElementType

func (GetInstancePersistenceConfigArray) ToGetInstancePersistenceConfigArrayOutput

func (i GetInstancePersistenceConfigArray) ToGetInstancePersistenceConfigArrayOutput() GetInstancePersistenceConfigArrayOutput

func (GetInstancePersistenceConfigArray) ToGetInstancePersistenceConfigArrayOutputWithContext

func (i GetInstancePersistenceConfigArray) ToGetInstancePersistenceConfigArrayOutputWithContext(ctx context.Context) GetInstancePersistenceConfigArrayOutput

type GetInstancePersistenceConfigArrayInput

type GetInstancePersistenceConfigArrayInput interface {
	pulumi.Input

	ToGetInstancePersistenceConfigArrayOutput() GetInstancePersistenceConfigArrayOutput
	ToGetInstancePersistenceConfigArrayOutputWithContext(context.Context) GetInstancePersistenceConfigArrayOutput
}

GetInstancePersistenceConfigArrayInput is an input type that accepts GetInstancePersistenceConfigArray and GetInstancePersistenceConfigArrayOutput values. You can construct a concrete instance of `GetInstancePersistenceConfigArrayInput` via:

GetInstancePersistenceConfigArray{ GetInstancePersistenceConfigArgs{...} }

type GetInstancePersistenceConfigArrayOutput

type GetInstancePersistenceConfigArrayOutput struct{ *pulumi.OutputState }

func (GetInstancePersistenceConfigArrayOutput) ElementType

func (GetInstancePersistenceConfigArrayOutput) Index

func (GetInstancePersistenceConfigArrayOutput) ToGetInstancePersistenceConfigArrayOutput

func (o GetInstancePersistenceConfigArrayOutput) ToGetInstancePersistenceConfigArrayOutput() GetInstancePersistenceConfigArrayOutput

func (GetInstancePersistenceConfigArrayOutput) ToGetInstancePersistenceConfigArrayOutputWithContext

func (o GetInstancePersistenceConfigArrayOutput) ToGetInstancePersistenceConfigArrayOutputWithContext(ctx context.Context) GetInstancePersistenceConfigArrayOutput

type GetInstancePersistenceConfigInput

type GetInstancePersistenceConfigInput interface {
	pulumi.Input

	ToGetInstancePersistenceConfigOutput() GetInstancePersistenceConfigOutput
	ToGetInstancePersistenceConfigOutputWithContext(context.Context) GetInstancePersistenceConfigOutput
}

GetInstancePersistenceConfigInput is an input type that accepts GetInstancePersistenceConfigArgs and GetInstancePersistenceConfigOutput values. You can construct a concrete instance of `GetInstancePersistenceConfigInput` via:

GetInstancePersistenceConfigArgs{...}

type GetInstancePersistenceConfigOutput

type GetInstancePersistenceConfigOutput struct{ *pulumi.OutputState }

func (GetInstancePersistenceConfigOutput) ElementType

func (GetInstancePersistenceConfigOutput) PersistenceMode

Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.

- DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted. - RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]

func (GetInstancePersistenceConfigOutput) RdbNextSnapshotTime

func (o GetInstancePersistenceConfigOutput) RdbNextSnapshotTime() pulumi.StringOutput

Output only. The next time that a snapshot attempt is scheduled to occur. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (GetInstancePersistenceConfigOutput) RdbSnapshotPeriod

Optional. Available snapshot periods for scheduling.

- ONE_HOUR: Snapshot every 1 hour. - SIX_HOURS: Snapshot every 6 hours. - TWELVE_HOURS: Snapshot every 12 hours. - TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]

func (GetInstancePersistenceConfigOutput) RdbSnapshotStartTime

func (o GetInstancePersistenceConfigOutput) RdbSnapshotStartTime() pulumi.StringOutput

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. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (GetInstancePersistenceConfigOutput) ToGetInstancePersistenceConfigOutput

func (o GetInstancePersistenceConfigOutput) ToGetInstancePersistenceConfigOutput() GetInstancePersistenceConfigOutput

func (GetInstancePersistenceConfigOutput) ToGetInstancePersistenceConfigOutputWithContext

func (o GetInstancePersistenceConfigOutput) ToGetInstancePersistenceConfigOutputWithContext(ctx context.Context) GetInstancePersistenceConfigOutput

type GetInstanceServerCaCert

type GetInstanceServerCaCert struct {
	// The certificate data in PEM format.
	Cert string `pulumi:"cert"`
	// The time when the certificate was created.
	CreateTime string `pulumi:"createTime"`
	// The time when the certificate expires.
	ExpireTime string `pulumi:"expireTime"`
	// Serial number, as extracted from the certificate.
	SerialNumber string `pulumi:"serialNumber"`
	// Sha1 Fingerprint of the certificate.
	Sha1Fingerprint string `pulumi:"sha1Fingerprint"`
}

type GetInstanceServerCaCertArgs

type GetInstanceServerCaCertArgs struct {
	// The certificate data in PEM format.
	Cert pulumi.StringInput `pulumi:"cert"`
	// The time when the certificate was created.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The time when the certificate expires.
	ExpireTime pulumi.StringInput `pulumi:"expireTime"`
	// Serial number, as extracted from the certificate.
	SerialNumber pulumi.StringInput `pulumi:"serialNumber"`
	// Sha1 Fingerprint of the certificate.
	Sha1Fingerprint pulumi.StringInput `pulumi:"sha1Fingerprint"`
}

func (GetInstanceServerCaCertArgs) ElementType

func (GetInstanceServerCaCertArgs) ToGetInstanceServerCaCertOutput

func (i GetInstanceServerCaCertArgs) ToGetInstanceServerCaCertOutput() GetInstanceServerCaCertOutput

func (GetInstanceServerCaCertArgs) ToGetInstanceServerCaCertOutputWithContext

func (i GetInstanceServerCaCertArgs) ToGetInstanceServerCaCertOutputWithContext(ctx context.Context) GetInstanceServerCaCertOutput

type GetInstanceServerCaCertArray

type GetInstanceServerCaCertArray []GetInstanceServerCaCertInput

func (GetInstanceServerCaCertArray) ElementType

func (GetInstanceServerCaCertArray) ToGetInstanceServerCaCertArrayOutput

func (i GetInstanceServerCaCertArray) ToGetInstanceServerCaCertArrayOutput() GetInstanceServerCaCertArrayOutput

func (GetInstanceServerCaCertArray) ToGetInstanceServerCaCertArrayOutputWithContext

func (i GetInstanceServerCaCertArray) ToGetInstanceServerCaCertArrayOutputWithContext(ctx context.Context) GetInstanceServerCaCertArrayOutput

type GetInstanceServerCaCertArrayInput

type GetInstanceServerCaCertArrayInput interface {
	pulumi.Input

	ToGetInstanceServerCaCertArrayOutput() GetInstanceServerCaCertArrayOutput
	ToGetInstanceServerCaCertArrayOutputWithContext(context.Context) GetInstanceServerCaCertArrayOutput
}

GetInstanceServerCaCertArrayInput is an input type that accepts GetInstanceServerCaCertArray and GetInstanceServerCaCertArrayOutput values. You can construct a concrete instance of `GetInstanceServerCaCertArrayInput` via:

GetInstanceServerCaCertArray{ GetInstanceServerCaCertArgs{...} }

type GetInstanceServerCaCertArrayOutput

type GetInstanceServerCaCertArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceServerCaCertArrayOutput) ElementType

func (GetInstanceServerCaCertArrayOutput) Index

func (GetInstanceServerCaCertArrayOutput) ToGetInstanceServerCaCertArrayOutput

func (o GetInstanceServerCaCertArrayOutput) ToGetInstanceServerCaCertArrayOutput() GetInstanceServerCaCertArrayOutput

func (GetInstanceServerCaCertArrayOutput) ToGetInstanceServerCaCertArrayOutputWithContext

func (o GetInstanceServerCaCertArrayOutput) ToGetInstanceServerCaCertArrayOutputWithContext(ctx context.Context) GetInstanceServerCaCertArrayOutput

type GetInstanceServerCaCertInput

type GetInstanceServerCaCertInput interface {
	pulumi.Input

	ToGetInstanceServerCaCertOutput() GetInstanceServerCaCertOutput
	ToGetInstanceServerCaCertOutputWithContext(context.Context) GetInstanceServerCaCertOutput
}

GetInstanceServerCaCertInput is an input type that accepts GetInstanceServerCaCertArgs and GetInstanceServerCaCertOutput values. You can construct a concrete instance of `GetInstanceServerCaCertInput` via:

GetInstanceServerCaCertArgs{...}

type GetInstanceServerCaCertOutput

type GetInstanceServerCaCertOutput struct{ *pulumi.OutputState }

func (GetInstanceServerCaCertOutput) Cert

The certificate data in PEM format.

func (GetInstanceServerCaCertOutput) CreateTime

The time when the certificate was created.

func (GetInstanceServerCaCertOutput) ElementType

func (GetInstanceServerCaCertOutput) ExpireTime

The time when the certificate expires.

func (GetInstanceServerCaCertOutput) SerialNumber

Serial number, as extracted from the certificate.

func (GetInstanceServerCaCertOutput) Sha1Fingerprint

Sha1 Fingerprint of the certificate.

func (GetInstanceServerCaCertOutput) ToGetInstanceServerCaCertOutput

func (o GetInstanceServerCaCertOutput) ToGetInstanceServerCaCertOutput() GetInstanceServerCaCertOutput

func (GetInstanceServerCaCertOutput) ToGetInstanceServerCaCertOutputWithContext

func (o GetInstanceServerCaCertOutput) ToGetInstanceServerCaCertOutputWithContext(ctx context.Context) GetInstanceServerCaCertOutput

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// 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].
	AlternativeLocationId pulumi.StringOutput `pulumi:"alternativeLocationId"`
	// 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.
	AuthEnabled pulumi.BoolPtrOutput `pulumi:"authEnabled"`
	// AUTH String set on the instance. This field will only be populated if auth_enabled is true.
	AuthString pulumi.StringOutput `pulumi:"authString"`
	// The full name of the Google Compute Engine network to which the
	// instance is connected. If left unspecified, the default network
	// will be used.
	AuthorizedNetwork pulumi.StringOutput `pulumi:"authorizedNetwork"`
	// The connection mode of the Redis instance.
	// Default value is `DIRECT_PEERING`.
	// Possible values are: `DIRECT_PEERING`, `PRIVATE_SERVICE_ACCESS`.
	ConnectMode pulumi.StringPtrOutput `pulumi:"connectMode"`
	// (Output)
	// The time when the certificate was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// 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.
	CurrentLocationId pulumi.StringOutput `pulumi:"currentLocationId"`
	// Optional. The KMS key reference that you want to use to encrypt the data at rest for this Redis
	// instance. If this is provided, CMEK is enabled.
	CustomerManagedKey pulumi.StringPtrOutput `pulumi:"customerManagedKey"`
	// An arbitrary and optional user-provided name for the instance.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// Hostname or IP address of the exposed Redis endpoint used by clients
	// to connect to the service.
	Host pulumi.StringOutput `pulumi:"host"`
	// Resource labels to represent user provided metadata.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// 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].
	LocationId pulumi.StringOutput `pulumi:"locationId"`
	// Maintenance policy for an instance.
	// Structure is documented below.
	MaintenancePolicy InstanceMaintenancePolicyPtrOutput `pulumi:"maintenancePolicy"`
	// Upcoming maintenance schedule.
	// Structure is documented below.
	MaintenanceSchedules InstanceMaintenanceScheduleArrayOutput `pulumi:"maintenanceSchedules"`
	// Redis memory size in GiB.
	//
	// ***
	MemorySizeGb pulumi.IntOutput `pulumi:"memorySizeGb"`
	// The ID of the instance or a fully qualified identifier for the instance.
	Name pulumi.StringOutput `pulumi:"name"`
	// Output only. Info per node.
	// Structure is documented below.
	Nodes InstanceNodeArrayOutput `pulumi:"nodes"`
	// Persistence configuration for an instance.
	// Structure is documented below.
	PersistenceConfig InstancePersistenceConfigOutput `pulumi:"persistenceConfig"`
	// Output only. 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.
	PersistenceIamIdentity pulumi.StringOutput `pulumi:"persistenceIamIdentity"`
	// The port number of the exposed Redis endpoint.
	Port pulumi.IntOutput `pulumi:"port"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Output only. 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'.
	ReadEndpoint pulumi.StringOutput `pulumi:"readEndpoint"`
	// Output only. The port number of the exposed readonly redis endpoint. Standard tier only.
	// Write requests should target 'port'.
	ReadEndpointPort pulumi.IntOutput `pulumi:"readEndpointPort"`
	// Optional. Read replica mode. Can only be specified when trying to create the instance.
	// If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
	// - READ_REPLICAS_DISABLED: If disabled, read endpoint will not be provided and the
	//   instance cannot scale up or down the number of replicas.
	// - READ_REPLICAS_ENABLED: If enabled, read endpoint will be provided and the instance
	//   can scale up and down the number of replicas.
	//   Possible values are: `READ_REPLICAS_DISABLED`, `READ_REPLICAS_ENABLED`.
	ReadReplicasMode pulumi.StringOutput `pulumi:"readReplicasMode"`
	// 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
	RedisConfigs pulumi.StringMapOutput `pulumi:"redisConfigs"`
	// The version of Redis software. If not provided, latest supported
	// version will be used. Please check the API documentation linked
	// at the top for the latest valid values.
	RedisVersion pulumi.StringOutput `pulumi:"redisVersion"`
	// The name of the Redis region of the instance.
	Region pulumi.StringOutput `pulumi:"region"`
	// 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.
	ReplicaCount pulumi.IntOutput `pulumi:"replicaCount"`
	// 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.
	ReservedIpRange pulumi.StringOutput `pulumi:"reservedIpRange"`
	// 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".
	SecondaryIpRange pulumi.StringOutput `pulumi:"secondaryIpRange"`
	// List of server CA certificates for the instance.
	// Structure is documented below.
	ServerCaCerts InstanceServerCaCertArrayOutput `pulumi:"serverCaCerts"`
	// The service tier of the instance. Must be one of these values:
	// - BASIC: standalone instance
	// - STANDARD_HA: highly available primary/replica instances
	//   Default value is `BASIC`.
	//   Possible values are: `BASIC`, `STANDARD_HA`.
	Tier pulumi.StringPtrOutput `pulumi:"tier"`
	// The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance.
	// - SERVER_AUTHENTICATION: Client to Server traffic encryption enabled with server authentication
	//   Default value is `DISABLED`.
	//   Possible values are: `SERVER_AUTHENTICATION`, `DISABLED`.
	TransitEncryptionMode pulumi.StringPtrOutput `pulumi:"transitEncryptionMode"`
}

A Google Cloud Redis instance.

To get more information about Instance, see:

* [API documentation](https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances) * How-to Guides

## Example Usage

### Redis Instance Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/redis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redis.NewInstance(ctx, "cache", &redis.InstanceArgs{
			Name:         pulumi.String("memory-cache"),
			MemorySizeGb: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Redis Instance Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/redis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// This example assumes this network already exists.
		// The API creates a tenant network per network authorized for a
		// Redis instance and that network is not deleted when the user-created
		// network (authorized_network) is deleted, so this prevents issues
		// with tenant network quota.
		// If this network hasn't been created and you are using this example in your
		// config, add an additional network resource or change
		// this from "data"to "resource"
		redis_network, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{
			Name: "redis-test-network",
		}, nil)
		if err != nil {
			return err
		}
		_, err = redis.NewInstance(ctx, "cache", &redis.InstanceArgs{
			Name:                  pulumi.String("ha-memory-cache"),
			Tier:                  pulumi.String("STANDARD_HA"),
			MemorySizeGb:          pulumi.Int(1),
			LocationId:            pulumi.String("us-central1-a"),
			AlternativeLocationId: pulumi.String("us-central1-f"),
			AuthorizedNetwork:     pulumi.String(redis_network.Id),
			RedisVersion:          pulumi.String("REDIS_4_0"),
			DisplayName:           pulumi.String("Test Instance"),
			ReservedIpRange:       pulumi.String("192.168.0.0/29"),
			Labels: pulumi.StringMap{
				"my_key":    pulumi.String("my_val"),
				"other_key": pulumi.String("other_val"),
			},
			MaintenancePolicy: &redis.InstanceMaintenancePolicyArgs{
				WeeklyMaintenanceWindows: redis.InstanceMaintenancePolicyWeeklyMaintenanceWindowArray{
					&redis.InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs{
						Day: pulumi.String("TUESDAY"),
						StartTime: &redis.InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs{
							Hours:   pulumi.Int(0),
							Minutes: pulumi.Int(30),
							Seconds: pulumi.Int(0),
							Nanos:   pulumi.Int(0),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Redis Instance Full With Persistence Config

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/redis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redis.NewInstance(ctx, "cache-persis", &redis.InstanceArgs{
			Name:                  pulumi.String("ha-memory-cache-persis"),
			Tier:                  pulumi.String("STANDARD_HA"),
			MemorySizeGb:          pulumi.Int(1),
			LocationId:            pulumi.String("us-central1-a"),
			AlternativeLocationId: pulumi.String("us-central1-f"),
			PersistenceConfig: &redis.InstancePersistenceConfigArgs{
				PersistenceMode:   pulumi.String("RDB"),
				RdbSnapshotPeriod: pulumi.String("TWELVE_HOURS"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Redis Instance Private Service

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/redis"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// This example assumes this network already exists.
		// The API creates a tenant network per network authorized for a
		// Redis instance and that network is not deleted when the user-created
		// network (authorized_network) is deleted, so this prevents issues
		// with tenant network quota.
		// If this network hasn't been created and you are using this example in your
		// config, add an additional network resource or change
		// this from "data"to "resource"
		_, err := compute.NewNetwork(ctx, "redis-network", &compute.NetworkArgs{
			Name: pulumi.String("redis-test-network"),
		})
		if err != nil {
			return err
		}
		serviceRange, err := compute.NewGlobalAddress(ctx, "service_range", &compute.GlobalAddressArgs{
			Name:         pulumi.String("address"),
			Purpose:      pulumi.String("VPC_PEERING"),
			AddressType:  pulumi.String("INTERNAL"),
			PrefixLength: pulumi.Int(16),
			Network:      redis_network.ID(),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "private_service_connection", &servicenetworking.ConnectionArgs{
			Network: redis_network.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				serviceRange.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = redis.NewInstance(ctx, "cache", &redis.InstanceArgs{
			Name:                  pulumi.String("private-cache"),
			Tier:                  pulumi.String("STANDARD_HA"),
			MemorySizeGb:          pulumi.Int(1),
			LocationId:            pulumi.String("us-central1-a"),
			AlternativeLocationId: pulumi.String("us-central1-f"),
			AuthorizedNetwork:     redis_network.ID(),
			ConnectMode:           pulumi.String("PRIVATE_SERVICE_ACCESS"),
			RedisVersion:          pulumi.String("REDIS_4_0"),
			DisplayName:           pulumi.String("Test Instance"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Redis Instance Mrr

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/redis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// This example assumes this network already exists.
		// The API creates a tenant network per network authorized for a
		// Redis instance and that network is not deleted when the user-created
		// network (authorized_network) is deleted, so this prevents issues
		// with tenant network quota.
		// If this network hasn't been created and you are using this example in your
		// config, add an additional network resource or change
		// this from "data"to "resource"
		redis_network, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{
			Name: "redis-test-network",
		}, nil)
		if err != nil {
			return err
		}
		_, err = redis.NewInstance(ctx, "cache", &redis.InstanceArgs{
			Name:                  pulumi.String("mrr-memory-cache"),
			Tier:                  pulumi.String("STANDARD_HA"),
			MemorySizeGb:          pulumi.Int(5),
			LocationId:            pulumi.String("us-central1-a"),
			AlternativeLocationId: pulumi.String("us-central1-f"),
			AuthorizedNetwork:     pulumi.String(redis_network.Id),
			RedisVersion:          pulumi.String("REDIS_6_X"),
			DisplayName:           pulumi.String("Terraform Test Instance"),
			ReservedIpRange:       pulumi.String("192.168.0.0/28"),
			ReplicaCount:          pulumi.Int(5),
			ReadReplicasMode:      pulumi.String("READ_REPLICAS_ENABLED"),
			Labels: pulumi.StringMap{
				"my_key":    pulumi.String("my_val"),
				"other_key": pulumi.String("other_val"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Redis Instance Cmek

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/kms"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/redis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		redisKeyring, err := kms.NewKeyRing(ctx, "redis_keyring", &kms.KeyRingArgs{
			Name:     pulumi.String("redis-keyring"),
			Location: pulumi.String("us-central1"),
		})
		if err != nil {
			return err
		}
		redisKey, err := kms.NewCryptoKey(ctx, "redis_key", &kms.CryptoKeyArgs{
			Name:    pulumi.String("redis-key"),
			KeyRing: redisKeyring.ID(),
		})
		if err != nil {
			return err
		}
		// This example assumes this network already exists.
		// The API creates a tenant network per network authorized for a
		// Redis instance and that network is not deleted when the user-created
		// network (authorized_network) is deleted, so this prevents issues
		// with tenant network quota.
		// If this network hasn't been created and you are using this example in your
		// config, add an additional network resource or change
		// this from "data"to "resource"
		redis_network, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{
			Name: "redis-test-network",
		}, nil)
		if err != nil {
			return err
		}
		_, err = redis.NewInstance(ctx, "cache", &redis.InstanceArgs{
			Name:                  pulumi.String("cmek-memory-cache"),
			Tier:                  pulumi.String("STANDARD_HA"),
			MemorySizeGb:          pulumi.Int(1),
			LocationId:            pulumi.String("us-central1-a"),
			AlternativeLocationId: pulumi.String("us-central1-f"),
			AuthorizedNetwork:     pulumi.String(redis_network.Id),
			RedisVersion:          pulumi.String("REDIS_6_X"),
			DisplayName:           pulumi.String("Terraform Test Instance"),
			ReservedIpRange:       pulumi.String("192.168.0.0/29"),
			Labels: pulumi.StringMap{
				"my_key":    pulumi.String("my_val"),
				"other_key": pulumi.String("other_val"),
			},
			CustomerManagedKey: redisKey.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Instance can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{region}}/instances/{{name}}`

* `{{project}}/{{region}}/{{name}}`

* `{{region}}/{{name}}`

* `{{name}}`

When using the `pulumi import` command, Instance can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:redis/instance:Instance default projects/{{project}}/locations/{{region}}/instances/{{name}} ```

```sh $ pulumi import gcp:redis/instance:Instance default {{project}}/{{region}}/{{name}} ```

```sh $ pulumi import gcp:redis/instance:Instance default {{region}}/{{name}} ```

```sh $ pulumi import gcp:redis/instance:Instance default {{name}} ```

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

NewInstance registers a new resource with the given unique name, arguments, and options.

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceArgs

type InstanceArgs struct {
	// 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].
	AlternativeLocationId pulumi.StringPtrInput
	// 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.
	AuthEnabled pulumi.BoolPtrInput
	// The full name of the Google Compute Engine network to which the
	// instance is connected. If left unspecified, the default network
	// will be used.
	AuthorizedNetwork pulumi.StringPtrInput
	// The connection mode of the Redis instance.
	// Default value is `DIRECT_PEERING`.
	// Possible values are: `DIRECT_PEERING`, `PRIVATE_SERVICE_ACCESS`.
	ConnectMode pulumi.StringPtrInput
	// Optional. The KMS key reference that you want to use to encrypt the data at rest for this Redis
	// instance. If this is provided, CMEK is enabled.
	CustomerManagedKey pulumi.StringPtrInput
	// An arbitrary and optional user-provided name for the instance.
	DisplayName pulumi.StringPtrInput
	// Resource labels to represent user provided metadata.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// 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].
	LocationId pulumi.StringPtrInput
	// Maintenance policy for an instance.
	// Structure is documented below.
	MaintenancePolicy InstanceMaintenancePolicyPtrInput
	// Redis memory size in GiB.
	//
	// ***
	MemorySizeGb pulumi.IntInput
	// The ID of the instance or a fully qualified identifier for the instance.
	Name pulumi.StringPtrInput
	// Persistence configuration for an instance.
	// Structure is documented below.
	PersistenceConfig InstancePersistenceConfigPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Optional. Read replica mode. Can only be specified when trying to create the instance.
	// If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
	// - READ_REPLICAS_DISABLED: If disabled, read endpoint will not be provided and the
	//   instance cannot scale up or down the number of replicas.
	// - READ_REPLICAS_ENABLED: If enabled, read endpoint will be provided and the instance
	//   can scale up and down the number of replicas.
	//   Possible values are: `READ_REPLICAS_DISABLED`, `READ_REPLICAS_ENABLED`.
	ReadReplicasMode pulumi.StringPtrInput
	// 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
	RedisConfigs pulumi.StringMapInput
	// The version of Redis software. If not provided, latest supported
	// version will be used. Please check the API documentation linked
	// at the top for the latest valid values.
	RedisVersion pulumi.StringPtrInput
	// The name of the Redis region of the instance.
	Region pulumi.StringPtrInput
	// 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.
	ReplicaCount pulumi.IntPtrInput
	// 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.
	ReservedIpRange pulumi.StringPtrInput
	// 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".
	SecondaryIpRange pulumi.StringPtrInput
	// The service tier of the instance. Must be one of these values:
	// - BASIC: standalone instance
	// - STANDARD_HA: highly available primary/replica instances
	//   Default value is `BASIC`.
	//   Possible values are: `BASIC`, `STANDARD_HA`.
	Tier pulumi.StringPtrInput
	// The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance.
	// - SERVER_AUTHENTICATION: Client to Server traffic encryption enabled with server authentication
	//   Default value is `DISABLED`.
	//   Possible values are: `SERVER_AUTHENTICATION`, `DISABLED`.
	TransitEncryptionMode pulumi.StringPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceInput

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

type InstanceMaintenancePolicy

type InstanceMaintenancePolicy struct {
	// (Output)
	// Output only. The time when the policy was created.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	CreateTime *string `pulumi:"createTime"`
	// Optional. Description of what this policy is for.
	// Create/Update methods return INVALID_ARGUMENT if the
	// length is greater than 512.
	Description *string `pulumi:"description"`
	// (Output)
	// Output only. The time when the policy was last updated.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	UpdateTime *string `pulumi:"updateTime"`
	// Optional. Maintenance window that is applied to resources covered by this policy.
	// Minimum 1. For the current version, the maximum number
	// of weeklyWindow is expected to be one.
	// Structure is documented below.
	WeeklyMaintenanceWindows []InstanceMaintenancePolicyWeeklyMaintenanceWindow `pulumi:"weeklyMaintenanceWindows"`
}

type InstanceMaintenancePolicyArgs

type InstanceMaintenancePolicyArgs struct {
	// (Output)
	// Output only. The time when the policy was created.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	CreateTime pulumi.StringPtrInput `pulumi:"createTime"`
	// Optional. Description of what this policy is for.
	// Create/Update methods return INVALID_ARGUMENT if the
	// length is greater than 512.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// (Output)
	// Output only. The time when the policy was last updated.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	UpdateTime pulumi.StringPtrInput `pulumi:"updateTime"`
	// Optional. Maintenance window that is applied to resources covered by this policy.
	// Minimum 1. For the current version, the maximum number
	// of weeklyWindow is expected to be one.
	// Structure is documented below.
	WeeklyMaintenanceWindows InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput `pulumi:"weeklyMaintenanceWindows"`
}

func (InstanceMaintenancePolicyArgs) ElementType

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutput

func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutputWithContext

func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutputWithContext(ctx context.Context) InstanceMaintenancePolicyOutput

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutput

func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutputWithContext

func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutputWithContext(ctx context.Context) InstanceMaintenancePolicyPtrOutput

type InstanceMaintenancePolicyInput

type InstanceMaintenancePolicyInput interface {
	pulumi.Input

	ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput
	ToInstanceMaintenancePolicyOutputWithContext(context.Context) InstanceMaintenancePolicyOutput
}

InstanceMaintenancePolicyInput is an input type that accepts InstanceMaintenancePolicyArgs and InstanceMaintenancePolicyOutput values. You can construct a concrete instance of `InstanceMaintenancePolicyInput` via:

InstanceMaintenancePolicyArgs{...}

type InstanceMaintenancePolicyOutput

type InstanceMaintenancePolicyOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyOutput) CreateTime

(Output) Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (InstanceMaintenancePolicyOutput) Description

Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.

func (InstanceMaintenancePolicyOutput) ElementType

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutput

func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutputWithContext

func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutputWithContext(ctx context.Context) InstanceMaintenancePolicyOutput

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutput

func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutputWithContext

func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutputWithContext(ctx context.Context) InstanceMaintenancePolicyPtrOutput

func (InstanceMaintenancePolicyOutput) UpdateTime

(Output) Output only. The time when the policy was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (InstanceMaintenancePolicyOutput) WeeklyMaintenanceWindows

Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weeklyWindow is expected to be one. Structure is documented below.

type InstanceMaintenancePolicyPtrInput

type InstanceMaintenancePolicyPtrInput interface {
	pulumi.Input

	ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput
	ToInstanceMaintenancePolicyPtrOutputWithContext(context.Context) InstanceMaintenancePolicyPtrOutput
}

InstanceMaintenancePolicyPtrInput is an input type that accepts InstanceMaintenancePolicyArgs, InstanceMaintenancePolicyPtr and InstanceMaintenancePolicyPtrOutput values. You can construct a concrete instance of `InstanceMaintenancePolicyPtrInput` via:

        InstanceMaintenancePolicyArgs{...}

or:

        nil

type InstanceMaintenancePolicyPtrOutput

type InstanceMaintenancePolicyPtrOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyPtrOutput) CreateTime

(Output) Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (InstanceMaintenancePolicyPtrOutput) Description

Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.

func (InstanceMaintenancePolicyPtrOutput) Elem

func (InstanceMaintenancePolicyPtrOutput) ElementType

func (InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutput

func (o InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput

func (InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutputWithContext

func (o InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutputWithContext(ctx context.Context) InstanceMaintenancePolicyPtrOutput

func (InstanceMaintenancePolicyPtrOutput) UpdateTime

(Output) Output only. The time when the policy was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (InstanceMaintenancePolicyPtrOutput) WeeklyMaintenanceWindows

Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weeklyWindow is expected to be one. Structure is documented below.

type InstanceMaintenancePolicyWeeklyMaintenanceWindow

type InstanceMaintenancePolicyWeeklyMaintenanceWindow struct {
	// Required. The day of week that maintenance updates occur.
	// - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
	// - MONDAY: Monday
	// - TUESDAY: Tuesday
	// - WEDNESDAY: Wednesday
	// - THURSDAY: Thursday
	// - FRIDAY: Friday
	// - SATURDAY: Saturday
	// - SUNDAY: Sunday
	//   Possible values are: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
	Day string `pulumi:"day"`
	// (Output)
	// Output only. Duration of the maintenance window.
	// The current window is fixed at 1 hour.
	// A duration in seconds with up to nine fractional digits,
	// terminated by 's'. Example: "3.5s".
	Duration *string `pulumi:"duration"`
	// Required. Start time of the window in UTC time.
	// Structure is documented below.
	StartTime InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime `pulumi:"startTime"`
}

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs struct {
	// Required. The day of week that maintenance updates occur.
	// - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
	// - MONDAY: Monday
	// - TUESDAY: Tuesday
	// - WEDNESDAY: Wednesday
	// - THURSDAY: Thursday
	// - FRIDAY: Friday
	// - SATURDAY: Saturday
	// - SUNDAY: Sunday
	//   Possible values are: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
	Day pulumi.StringInput `pulumi:"day"`
	// (Output)
	// Output only. Duration of the maintenance window.
	// The current window is fixed at 1 hour.
	// A duration in seconds with up to nine fractional digits,
	// terminated by 's'. Example: "3.5s".
	Duration pulumi.StringPtrInput `pulumi:"duration"`
	// Required. Start time of the window in UTC time.
	// Structure is documented below.
	StartTime InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput `pulumi:"startTime"`
}

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ElementType

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext

func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArray

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArray []InstanceMaintenancePolicyWeeklyMaintenanceWindowInput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ElementType

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext

func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput interface {
	pulumi.Input

	ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
	ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext(context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
}

InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput is an input type that accepts InstanceMaintenancePolicyWeeklyMaintenanceWindowArray and InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput values. You can construct a concrete instance of `InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput` via:

InstanceMaintenancePolicyWeeklyMaintenanceWindowArray{ InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs{...} }

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ElementType

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) Index

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext

func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

type InstanceMaintenancePolicyWeeklyMaintenanceWindowInput

type InstanceMaintenancePolicyWeeklyMaintenanceWindowInput interface {
	pulumi.Input

	ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
	ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext(context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
}

InstanceMaintenancePolicyWeeklyMaintenanceWindowInput is an input type that accepts InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs and InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput values. You can construct a concrete instance of `InstanceMaintenancePolicyWeeklyMaintenanceWindowInput` via:

InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs{...}

type InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

type InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Day

Required. The day of week that maintenance updates occur.

  • DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
  • MONDAY: Monday
  • TUESDAY: Tuesday
  • WEDNESDAY: Wednesday
  • THURSDAY: Thursday
  • FRIDAY: Friday
  • SATURDAY: Saturday
  • SUNDAY: Sunday Possible values are: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Duration

(Output) Output only. Duration of the maintenance window. The current window is fixed at 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ElementType

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) StartTime

Required. Start time of the window in UTC time. Structure is documented below.

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext

func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime struct {
	// 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.
	Hours *int `pulumi:"hours"`
	// Minutes of hour of day. Must be from 0 to 59.
	Minutes *int `pulumi:"minutes"`
	// Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
	Nanos *int `pulumi:"nanos"`
	// 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.
	Seconds *int `pulumi:"seconds"`
}

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs struct {
	// 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.
	Hours pulumi.IntPtrInput `pulumi:"hours"`
	// Minutes of hour of day. Must be from 0 to 59.
	Minutes pulumi.IntPtrInput `pulumi:"minutes"`
	// Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
	Nanos pulumi.IntPtrInput `pulumi:"nanos"`
	// 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.
	Seconds pulumi.IntPtrInput `pulumi:"seconds"`
}

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ElementType

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext

func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput interface {
	pulumi.Input

	ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
	ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext(context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
}

InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput is an input type that accepts InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs and InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput values. You can construct a concrete instance of `InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput` via:

InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs{...}

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ElementType

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Hours

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.

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Minutes

Minutes of hour of day. Must be from 0 to 59.

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Nanos

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Seconds

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.

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext

func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput

type InstanceMaintenanceSchedule

type InstanceMaintenanceSchedule struct {
	// (Output)
	// Output only. The end time of any upcoming scheduled maintenance for this instance.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	EndTime *string `pulumi:"endTime"`
	// (Output)
	// Output only. The deadline that the maintenance schedule start time
	// can not go beyond, including reschedule.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	ScheduleDeadlineTime *string `pulumi:"scheduleDeadlineTime"`
	// (Output)
	// Output only. The start time of any upcoming scheduled maintenance for this instance.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	StartTime *string `pulumi:"startTime"`
}

type InstanceMaintenanceScheduleArgs

type InstanceMaintenanceScheduleArgs struct {
	// (Output)
	// Output only. The end time of any upcoming scheduled maintenance for this instance.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	EndTime pulumi.StringPtrInput `pulumi:"endTime"`
	// (Output)
	// Output only. The deadline that the maintenance schedule start time
	// can not go beyond, including reschedule.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	ScheduleDeadlineTime pulumi.StringPtrInput `pulumi:"scheduleDeadlineTime"`
	// (Output)
	// Output only. The start time of any upcoming scheduled maintenance for this instance.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
}

func (InstanceMaintenanceScheduleArgs) ElementType

func (InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutput

func (i InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput

func (InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutputWithContext

func (i InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleOutput

type InstanceMaintenanceScheduleArray

type InstanceMaintenanceScheduleArray []InstanceMaintenanceScheduleInput

func (InstanceMaintenanceScheduleArray) ElementType

func (InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutput

func (i InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutput() InstanceMaintenanceScheduleArrayOutput

func (InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutputWithContext

func (i InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleArrayOutput

type InstanceMaintenanceScheduleArrayInput

type InstanceMaintenanceScheduleArrayInput interface {
	pulumi.Input

	ToInstanceMaintenanceScheduleArrayOutput() InstanceMaintenanceScheduleArrayOutput
	ToInstanceMaintenanceScheduleArrayOutputWithContext(context.Context) InstanceMaintenanceScheduleArrayOutput
}

InstanceMaintenanceScheduleArrayInput is an input type that accepts InstanceMaintenanceScheduleArray and InstanceMaintenanceScheduleArrayOutput values. You can construct a concrete instance of `InstanceMaintenanceScheduleArrayInput` via:

InstanceMaintenanceScheduleArray{ InstanceMaintenanceScheduleArgs{...} }

type InstanceMaintenanceScheduleArrayOutput

type InstanceMaintenanceScheduleArrayOutput struct{ *pulumi.OutputState }

func (InstanceMaintenanceScheduleArrayOutput) ElementType

func (InstanceMaintenanceScheduleArrayOutput) Index

func (InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutput

func (o InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutput() InstanceMaintenanceScheduleArrayOutput

func (InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutputWithContext

func (o InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleArrayOutput

type InstanceMaintenanceScheduleInput

type InstanceMaintenanceScheduleInput interface {
	pulumi.Input

	ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput
	ToInstanceMaintenanceScheduleOutputWithContext(context.Context) InstanceMaintenanceScheduleOutput
}

InstanceMaintenanceScheduleInput is an input type that accepts InstanceMaintenanceScheduleArgs and InstanceMaintenanceScheduleOutput values. You can construct a concrete instance of `InstanceMaintenanceScheduleInput` via:

InstanceMaintenanceScheduleArgs{...}

type InstanceMaintenanceScheduleOutput

type InstanceMaintenanceScheduleOutput struct{ *pulumi.OutputState }

func (InstanceMaintenanceScheduleOutput) ElementType

func (InstanceMaintenanceScheduleOutput) EndTime

(Output) Output only. The end time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (InstanceMaintenanceScheduleOutput) ScheduleDeadlineTime

func (o InstanceMaintenanceScheduleOutput) ScheduleDeadlineTime() pulumi.StringPtrOutput

(Output) Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (InstanceMaintenanceScheduleOutput) StartTime

(Output) Output only. The start time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutput

func (o InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput

func (InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutputWithContext

func (o InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleOutput

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceNode

type InstanceNode struct {
	// (Output)
	// Node identifying string. e.g. 'node-0', 'node-1'
	Id *string `pulumi:"id"`
	// (Output)
	// Location of the node.
	Zone *string `pulumi:"zone"`
}

type InstanceNodeArgs

type InstanceNodeArgs struct {
	// (Output)
	// Node identifying string. e.g. 'node-0', 'node-1'
	Id pulumi.StringPtrInput `pulumi:"id"`
	// (Output)
	// Location of the node.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

func (InstanceNodeArgs) ElementType

func (InstanceNodeArgs) ElementType() reflect.Type

func (InstanceNodeArgs) ToInstanceNodeOutput

func (i InstanceNodeArgs) ToInstanceNodeOutput() InstanceNodeOutput

func (InstanceNodeArgs) ToInstanceNodeOutputWithContext

func (i InstanceNodeArgs) ToInstanceNodeOutputWithContext(ctx context.Context) InstanceNodeOutput

type InstanceNodeArray

type InstanceNodeArray []InstanceNodeInput

func (InstanceNodeArray) ElementType

func (InstanceNodeArray) ElementType() reflect.Type

func (InstanceNodeArray) ToInstanceNodeArrayOutput

func (i InstanceNodeArray) ToInstanceNodeArrayOutput() InstanceNodeArrayOutput

func (InstanceNodeArray) ToInstanceNodeArrayOutputWithContext

func (i InstanceNodeArray) ToInstanceNodeArrayOutputWithContext(ctx context.Context) InstanceNodeArrayOutput

type InstanceNodeArrayInput

type InstanceNodeArrayInput interface {
	pulumi.Input

	ToInstanceNodeArrayOutput() InstanceNodeArrayOutput
	ToInstanceNodeArrayOutputWithContext(context.Context) InstanceNodeArrayOutput
}

InstanceNodeArrayInput is an input type that accepts InstanceNodeArray and InstanceNodeArrayOutput values. You can construct a concrete instance of `InstanceNodeArrayInput` via:

InstanceNodeArray{ InstanceNodeArgs{...} }

type InstanceNodeArrayOutput

type InstanceNodeArrayOutput struct{ *pulumi.OutputState }

func (InstanceNodeArrayOutput) ElementType

func (InstanceNodeArrayOutput) ElementType() reflect.Type

func (InstanceNodeArrayOutput) Index

func (InstanceNodeArrayOutput) ToInstanceNodeArrayOutput

func (o InstanceNodeArrayOutput) ToInstanceNodeArrayOutput() InstanceNodeArrayOutput

func (InstanceNodeArrayOutput) ToInstanceNodeArrayOutputWithContext

func (o InstanceNodeArrayOutput) ToInstanceNodeArrayOutputWithContext(ctx context.Context) InstanceNodeArrayOutput

type InstanceNodeInput

type InstanceNodeInput interface {
	pulumi.Input

	ToInstanceNodeOutput() InstanceNodeOutput
	ToInstanceNodeOutputWithContext(context.Context) InstanceNodeOutput
}

InstanceNodeInput is an input type that accepts InstanceNodeArgs and InstanceNodeOutput values. You can construct a concrete instance of `InstanceNodeInput` via:

InstanceNodeArgs{...}

type InstanceNodeOutput

type InstanceNodeOutput struct{ *pulumi.OutputState }

func (InstanceNodeOutput) ElementType

func (InstanceNodeOutput) ElementType() reflect.Type

func (InstanceNodeOutput) Id

(Output) Node identifying string. e.g. 'node-0', 'node-1'

func (InstanceNodeOutput) ToInstanceNodeOutput

func (o InstanceNodeOutput) ToInstanceNodeOutput() InstanceNodeOutput

func (InstanceNodeOutput) ToInstanceNodeOutputWithContext

func (o InstanceNodeOutput) ToInstanceNodeOutputWithContext(ctx context.Context) InstanceNodeOutput

func (InstanceNodeOutput) Zone

(Output) Location of the node.

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) AlternativeLocationId

func (o InstanceOutput) AlternativeLocationId() pulumi.StringOutput

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].

func (InstanceOutput) AuthEnabled

func (o InstanceOutput) AuthEnabled() pulumi.BoolPtrOutput

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.

func (InstanceOutput) AuthString

func (o InstanceOutput) AuthString() pulumi.StringOutput

AUTH String set on the instance. This field will only be populated if auth_enabled is true.

func (InstanceOutput) AuthorizedNetwork

func (o InstanceOutput) AuthorizedNetwork() pulumi.StringOutput

The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the default network will be used.

func (InstanceOutput) ConnectMode

func (o InstanceOutput) ConnectMode() pulumi.StringPtrOutput

The connection mode of the Redis instance. Default value is `DIRECT_PEERING`. Possible values are: `DIRECT_PEERING`, `PRIVATE_SERVICE_ACCESS`.

func (InstanceOutput) CreateTime

func (o InstanceOutput) CreateTime() pulumi.StringOutput

(Output) The time when the certificate was created.

func (InstanceOutput) CurrentLocationId

func (o InstanceOutput) CurrentLocationId() pulumi.StringOutput

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.

func (InstanceOutput) CustomerManagedKey

func (o InstanceOutput) CustomerManagedKey() pulumi.StringPtrOutput

Optional. The KMS key reference that you want to use to encrypt the data at rest for this Redis instance. If this is provided, CMEK is enabled.

func (InstanceOutput) DisplayName

func (o InstanceOutput) DisplayName() pulumi.StringPtrOutput

An arbitrary and optional user-provided name for the instance.

func (InstanceOutput) EffectiveLabels

func (o InstanceOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) Host

Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.

func (InstanceOutput) Labels

Resource labels to represent user provided metadata. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (InstanceOutput) LocationId

func (o InstanceOutput) LocationId() pulumi.StringOutput

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].

func (InstanceOutput) MaintenancePolicy

func (o InstanceOutput) MaintenancePolicy() InstanceMaintenancePolicyPtrOutput

Maintenance policy for an instance. Structure is documented below.

func (InstanceOutput) MaintenanceSchedules

func (o InstanceOutput) MaintenanceSchedules() InstanceMaintenanceScheduleArrayOutput

Upcoming maintenance schedule. Structure is documented below.

func (InstanceOutput) MemorySizeGb

func (o InstanceOutput) MemorySizeGb() pulumi.IntOutput

Redis memory size in GiB.

***

func (InstanceOutput) Name

The ID of the instance or a fully qualified identifier for the instance.

func (InstanceOutput) Nodes

Output only. Info per node. Structure is documented below.

func (InstanceOutput) PersistenceConfig

func (o InstanceOutput) PersistenceConfig() InstancePersistenceConfigOutput

Persistence configuration for an instance. Structure is documented below.

func (InstanceOutput) PersistenceIamIdentity

func (o InstanceOutput) PersistenceIamIdentity() pulumi.StringOutput

Output only. 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.

func (InstanceOutput) Port

func (o InstanceOutput) Port() pulumi.IntOutput

The port number of the exposed Redis endpoint.

func (InstanceOutput) Project

func (o InstanceOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (InstanceOutput) PulumiLabels

func (o InstanceOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (InstanceOutput) ReadEndpoint

func (o InstanceOutput) ReadEndpoint() pulumi.StringOutput

Output only. 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'.

func (InstanceOutput) ReadEndpointPort

func (o InstanceOutput) ReadEndpointPort() pulumi.IntOutput

Output only. The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target 'port'.

func (InstanceOutput) ReadReplicasMode

func (o InstanceOutput) ReadReplicasMode() pulumi.StringOutput

Optional. Read replica mode. Can only be specified when trying to create the instance. If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.

  • READ_REPLICAS_DISABLED: If disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.
  • READ_REPLICAS_ENABLED: If enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Possible values are: `READ_REPLICAS_DISABLED`, `READ_REPLICAS_ENABLED`.

func (InstanceOutput) RedisConfigs

func (o InstanceOutput) RedisConfigs() pulumi.StringMapOutput

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

func (InstanceOutput) RedisVersion

func (o InstanceOutput) RedisVersion() pulumi.StringOutput

The version of Redis software. If not provided, latest supported version will be used. Please check the API documentation linked at the top for the latest valid values.

func (InstanceOutput) Region

func (o InstanceOutput) Region() pulumi.StringOutput

The name of the Redis region of the instance.

func (InstanceOutput) ReplicaCount

func (o InstanceOutput) ReplicaCount() pulumi.IntOutput

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.

func (InstanceOutput) ReservedIpRange

func (o InstanceOutput) ReservedIpRange() pulumi.StringOutput

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.

func (InstanceOutput) SecondaryIpRange

func (o InstanceOutput) SecondaryIpRange() pulumi.StringOutput

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".

func (InstanceOutput) ServerCaCerts

List of server CA certificates for the instance. Structure is documented below.

func (InstanceOutput) Tier

The service tier of the instance. Must be one of these values:

  • BASIC: standalone instance
  • STANDARD_HA: highly available primary/replica instances Default value is `BASIC`. Possible values are: `BASIC`, `STANDARD_HA`.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (InstanceOutput) TransitEncryptionMode

func (o InstanceOutput) TransitEncryptionMode() pulumi.StringPtrOutput

The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance.

  • SERVER_AUTHENTICATION: Client to Server traffic encryption enabled with server authentication Default value is `DISABLED`. Possible values are: `SERVER_AUTHENTICATION`, `DISABLED`.

type InstancePersistenceConfig

type InstancePersistenceConfig struct {
	// Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
	// - DISABLED: 	Persistence is disabled for the instance, and any existing snapshots are deleted.
	// - RDB: RDB based Persistence is enabled.
	//   Possible values are: `DISABLED`, `RDB`.
	PersistenceMode *string `pulumi:"persistenceMode"`
	// (Output)
	// Output only. The next time that a snapshot attempt is scheduled to occur.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up
	// to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	RdbNextSnapshotTime *string `pulumi:"rdbNextSnapshotTime"`
	// Optional. Available snapshot periods for scheduling.
	// - ONE_HOUR:	Snapshot every 1 hour.
	// - SIX_HOURS:	Snapshot every 6 hours.
	// - TWELVE_HOURS:	Snapshot every 12 hours.
	// - TWENTY_FOUR_HOURS:	Snapshot every 24 hours.
	//   Possible values are: `ONE_HOUR`, `SIX_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`.
	RdbSnapshotPeriod *string `pulumi:"rdbSnapshotPeriod"`
	// 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.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution
	// and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	RdbSnapshotStartTime *string `pulumi:"rdbSnapshotStartTime"`
}

type InstancePersistenceConfigArgs

type InstancePersistenceConfigArgs struct {
	// Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
	// - DISABLED: 	Persistence is disabled for the instance, and any existing snapshots are deleted.
	// - RDB: RDB based Persistence is enabled.
	//   Possible values are: `DISABLED`, `RDB`.
	PersistenceMode pulumi.StringPtrInput `pulumi:"persistenceMode"`
	// (Output)
	// Output only. The next time that a snapshot attempt is scheduled to occur.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up
	// to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	RdbNextSnapshotTime pulumi.StringPtrInput `pulumi:"rdbNextSnapshotTime"`
	// Optional. Available snapshot periods for scheduling.
	// - ONE_HOUR:	Snapshot every 1 hour.
	// - SIX_HOURS:	Snapshot every 6 hours.
	// - TWELVE_HOURS:	Snapshot every 12 hours.
	// - TWENTY_FOUR_HOURS:	Snapshot every 24 hours.
	//   Possible values are: `ONE_HOUR`, `SIX_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`.
	RdbSnapshotPeriod pulumi.StringPtrInput `pulumi:"rdbSnapshotPeriod"`
	// 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.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution
	// and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	RdbSnapshotStartTime pulumi.StringPtrInput `pulumi:"rdbSnapshotStartTime"`
}

func (InstancePersistenceConfigArgs) ElementType

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigOutput

func (i InstancePersistenceConfigArgs) ToInstancePersistenceConfigOutput() InstancePersistenceConfigOutput

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigOutputWithContext

func (i InstancePersistenceConfigArgs) ToInstancePersistenceConfigOutputWithContext(ctx context.Context) InstancePersistenceConfigOutput

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigPtrOutput

func (i InstancePersistenceConfigArgs) ToInstancePersistenceConfigPtrOutput() InstancePersistenceConfigPtrOutput

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigPtrOutputWithContext

func (i InstancePersistenceConfigArgs) ToInstancePersistenceConfigPtrOutputWithContext(ctx context.Context) InstancePersistenceConfigPtrOutput

type InstancePersistenceConfigInput

type InstancePersistenceConfigInput interface {
	pulumi.Input

	ToInstancePersistenceConfigOutput() InstancePersistenceConfigOutput
	ToInstancePersistenceConfigOutputWithContext(context.Context) InstancePersistenceConfigOutput
}

InstancePersistenceConfigInput is an input type that accepts InstancePersistenceConfigArgs and InstancePersistenceConfigOutput values. You can construct a concrete instance of `InstancePersistenceConfigInput` via:

InstancePersistenceConfigArgs{...}

type InstancePersistenceConfigOutput

type InstancePersistenceConfigOutput struct{ *pulumi.OutputState }

func (InstancePersistenceConfigOutput) ElementType

func (InstancePersistenceConfigOutput) PersistenceMode

Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.

  • DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
  • RDB: RDB based Persistence is enabled. Possible values are: `DISABLED`, `RDB`.

func (InstancePersistenceConfigOutput) RdbNextSnapshotTime

func (o InstancePersistenceConfigOutput) RdbNextSnapshotTime() pulumi.StringPtrOutput

(Output) Output only. The next time that a snapshot attempt is scheduled to occur. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (InstancePersistenceConfigOutput) RdbSnapshotPeriod

Optional. Available snapshot periods for scheduling.

  • ONE_HOUR: Snapshot every 1 hour.
  • SIX_HOURS: Snapshot every 6 hours.
  • TWELVE_HOURS: Snapshot every 12 hours.
  • TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values are: `ONE_HOUR`, `SIX_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`.

func (InstancePersistenceConfigOutput) RdbSnapshotStartTime

func (o InstancePersistenceConfigOutput) RdbSnapshotStartTime() pulumi.StringPtrOutput

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. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (InstancePersistenceConfigOutput) ToInstancePersistenceConfigOutput

func (o InstancePersistenceConfigOutput) ToInstancePersistenceConfigOutput() InstancePersistenceConfigOutput

func (InstancePersistenceConfigOutput) ToInstancePersistenceConfigOutputWithContext

func (o InstancePersistenceConfigOutput) ToInstancePersistenceConfigOutputWithContext(ctx context.Context) InstancePersistenceConfigOutput

func (InstancePersistenceConfigOutput) ToInstancePersistenceConfigPtrOutput

func (o InstancePersistenceConfigOutput) ToInstancePersistenceConfigPtrOutput() InstancePersistenceConfigPtrOutput

func (InstancePersistenceConfigOutput) ToInstancePersistenceConfigPtrOutputWithContext

func (o InstancePersistenceConfigOutput) ToInstancePersistenceConfigPtrOutputWithContext(ctx context.Context) InstancePersistenceConfigPtrOutput

type InstancePersistenceConfigPtrInput

type InstancePersistenceConfigPtrInput interface {
	pulumi.Input

	ToInstancePersistenceConfigPtrOutput() InstancePersistenceConfigPtrOutput
	ToInstancePersistenceConfigPtrOutputWithContext(context.Context) InstancePersistenceConfigPtrOutput
}

InstancePersistenceConfigPtrInput is an input type that accepts InstancePersistenceConfigArgs, InstancePersistenceConfigPtr and InstancePersistenceConfigPtrOutput values. You can construct a concrete instance of `InstancePersistenceConfigPtrInput` via:

        InstancePersistenceConfigArgs{...}

or:

        nil

type InstancePersistenceConfigPtrOutput

type InstancePersistenceConfigPtrOutput struct{ *pulumi.OutputState }

func (InstancePersistenceConfigPtrOutput) Elem

func (InstancePersistenceConfigPtrOutput) ElementType

func (InstancePersistenceConfigPtrOutput) PersistenceMode

Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.

  • DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
  • RDB: RDB based Persistence is enabled. Possible values are: `DISABLED`, `RDB`.

func (InstancePersistenceConfigPtrOutput) RdbNextSnapshotTime

(Output) Output only. The next time that a snapshot attempt is scheduled to occur. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (InstancePersistenceConfigPtrOutput) RdbSnapshotPeriod

Optional. Available snapshot periods for scheduling.

  • ONE_HOUR: Snapshot every 1 hour.
  • SIX_HOURS: Snapshot every 6 hours.
  • TWELVE_HOURS: Snapshot every 12 hours.
  • TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values are: `ONE_HOUR`, `SIX_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`.

func (InstancePersistenceConfigPtrOutput) RdbSnapshotStartTime

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. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (InstancePersistenceConfigPtrOutput) ToInstancePersistenceConfigPtrOutput

func (o InstancePersistenceConfigPtrOutput) ToInstancePersistenceConfigPtrOutput() InstancePersistenceConfigPtrOutput

func (InstancePersistenceConfigPtrOutput) ToInstancePersistenceConfigPtrOutputWithContext

func (o InstancePersistenceConfigPtrOutput) ToInstancePersistenceConfigPtrOutputWithContext(ctx context.Context) InstancePersistenceConfigPtrOutput

type InstanceServerCaCert

type InstanceServerCaCert struct {
	// (Output)
	// The certificate data in PEM format.
	Cert *string `pulumi:"cert"`
	// (Output)
	// The time when the certificate was created.
	CreateTime *string `pulumi:"createTime"`
	// (Output)
	// The time when the certificate expires.
	ExpireTime *string `pulumi:"expireTime"`
	// (Output)
	// Serial number, as extracted from the certificate.
	SerialNumber *string `pulumi:"serialNumber"`
	// (Output)
	// Sha1 Fingerprint of the certificate.
	Sha1Fingerprint *string `pulumi:"sha1Fingerprint"`
}

type InstanceServerCaCertArgs

type InstanceServerCaCertArgs struct {
	// (Output)
	// The certificate data in PEM format.
	Cert pulumi.StringPtrInput `pulumi:"cert"`
	// (Output)
	// The time when the certificate was created.
	CreateTime pulumi.StringPtrInput `pulumi:"createTime"`
	// (Output)
	// The time when the certificate expires.
	ExpireTime pulumi.StringPtrInput `pulumi:"expireTime"`
	// (Output)
	// Serial number, as extracted from the certificate.
	SerialNumber pulumi.StringPtrInput `pulumi:"serialNumber"`
	// (Output)
	// Sha1 Fingerprint of the certificate.
	Sha1Fingerprint pulumi.StringPtrInput `pulumi:"sha1Fingerprint"`
}

func (InstanceServerCaCertArgs) ElementType

func (InstanceServerCaCertArgs) ElementType() reflect.Type

func (InstanceServerCaCertArgs) ToInstanceServerCaCertOutput

func (i InstanceServerCaCertArgs) ToInstanceServerCaCertOutput() InstanceServerCaCertOutput

func (InstanceServerCaCertArgs) ToInstanceServerCaCertOutputWithContext

func (i InstanceServerCaCertArgs) ToInstanceServerCaCertOutputWithContext(ctx context.Context) InstanceServerCaCertOutput

type InstanceServerCaCertArray

type InstanceServerCaCertArray []InstanceServerCaCertInput

func (InstanceServerCaCertArray) ElementType

func (InstanceServerCaCertArray) ElementType() reflect.Type

func (InstanceServerCaCertArray) ToInstanceServerCaCertArrayOutput

func (i InstanceServerCaCertArray) ToInstanceServerCaCertArrayOutput() InstanceServerCaCertArrayOutput

func (InstanceServerCaCertArray) ToInstanceServerCaCertArrayOutputWithContext

func (i InstanceServerCaCertArray) ToInstanceServerCaCertArrayOutputWithContext(ctx context.Context) InstanceServerCaCertArrayOutput

type InstanceServerCaCertArrayInput

type InstanceServerCaCertArrayInput interface {
	pulumi.Input

	ToInstanceServerCaCertArrayOutput() InstanceServerCaCertArrayOutput
	ToInstanceServerCaCertArrayOutputWithContext(context.Context) InstanceServerCaCertArrayOutput
}

InstanceServerCaCertArrayInput is an input type that accepts InstanceServerCaCertArray and InstanceServerCaCertArrayOutput values. You can construct a concrete instance of `InstanceServerCaCertArrayInput` via:

InstanceServerCaCertArray{ InstanceServerCaCertArgs{...} }

type InstanceServerCaCertArrayOutput

type InstanceServerCaCertArrayOutput struct{ *pulumi.OutputState }

func (InstanceServerCaCertArrayOutput) ElementType

func (InstanceServerCaCertArrayOutput) Index

func (InstanceServerCaCertArrayOutput) ToInstanceServerCaCertArrayOutput

func (o InstanceServerCaCertArrayOutput) ToInstanceServerCaCertArrayOutput() InstanceServerCaCertArrayOutput

func (InstanceServerCaCertArrayOutput) ToInstanceServerCaCertArrayOutputWithContext

func (o InstanceServerCaCertArrayOutput) ToInstanceServerCaCertArrayOutputWithContext(ctx context.Context) InstanceServerCaCertArrayOutput

type InstanceServerCaCertInput

type InstanceServerCaCertInput interface {
	pulumi.Input

	ToInstanceServerCaCertOutput() InstanceServerCaCertOutput
	ToInstanceServerCaCertOutputWithContext(context.Context) InstanceServerCaCertOutput
}

InstanceServerCaCertInput is an input type that accepts InstanceServerCaCertArgs and InstanceServerCaCertOutput values. You can construct a concrete instance of `InstanceServerCaCertInput` via:

InstanceServerCaCertArgs{...}

type InstanceServerCaCertOutput

type InstanceServerCaCertOutput struct{ *pulumi.OutputState }

func (InstanceServerCaCertOutput) Cert

(Output) The certificate data in PEM format.

func (InstanceServerCaCertOutput) CreateTime

(Output) The time when the certificate was created.

func (InstanceServerCaCertOutput) ElementType

func (InstanceServerCaCertOutput) ElementType() reflect.Type

func (InstanceServerCaCertOutput) ExpireTime

(Output) The time when the certificate expires.

func (InstanceServerCaCertOutput) SerialNumber

(Output) Serial number, as extracted from the certificate.

func (InstanceServerCaCertOutput) Sha1Fingerprint

(Output) Sha1 Fingerprint of the certificate.

func (InstanceServerCaCertOutput) ToInstanceServerCaCertOutput

func (o InstanceServerCaCertOutput) ToInstanceServerCaCertOutput() InstanceServerCaCertOutput

func (InstanceServerCaCertOutput) ToInstanceServerCaCertOutputWithContext

func (o InstanceServerCaCertOutput) ToInstanceServerCaCertOutputWithContext(ctx context.Context) InstanceServerCaCertOutput

type InstanceState

type InstanceState struct {
	// 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].
	AlternativeLocationId pulumi.StringPtrInput
	// 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.
	AuthEnabled pulumi.BoolPtrInput
	// AUTH String set on the instance. This field will only be populated if auth_enabled is true.
	AuthString pulumi.StringPtrInput
	// The full name of the Google Compute Engine network to which the
	// instance is connected. If left unspecified, the default network
	// will be used.
	AuthorizedNetwork pulumi.StringPtrInput
	// The connection mode of the Redis instance.
	// Default value is `DIRECT_PEERING`.
	// Possible values are: `DIRECT_PEERING`, `PRIVATE_SERVICE_ACCESS`.
	ConnectMode pulumi.StringPtrInput
	// (Output)
	// The time when the certificate was created.
	CreateTime pulumi.StringPtrInput
	// 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.
	CurrentLocationId pulumi.StringPtrInput
	// Optional. The KMS key reference that you want to use to encrypt the data at rest for this Redis
	// instance. If this is provided, CMEK is enabled.
	CustomerManagedKey pulumi.StringPtrInput
	// An arbitrary and optional user-provided name for the instance.
	DisplayName pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// Hostname or IP address of the exposed Redis endpoint used by clients
	// to connect to the service.
	Host pulumi.StringPtrInput
	// Resource labels to represent user provided metadata.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// 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].
	LocationId pulumi.StringPtrInput
	// Maintenance policy for an instance.
	// Structure is documented below.
	MaintenancePolicy InstanceMaintenancePolicyPtrInput
	// Upcoming maintenance schedule.
	// Structure is documented below.
	MaintenanceSchedules InstanceMaintenanceScheduleArrayInput
	// Redis memory size in GiB.
	//
	// ***
	MemorySizeGb pulumi.IntPtrInput
	// The ID of the instance or a fully qualified identifier for the instance.
	Name pulumi.StringPtrInput
	// Output only. Info per node.
	// Structure is documented below.
	Nodes InstanceNodeArrayInput
	// Persistence configuration for an instance.
	// Structure is documented below.
	PersistenceConfig InstancePersistenceConfigPtrInput
	// Output only. 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.
	PersistenceIamIdentity pulumi.StringPtrInput
	// The port number of the exposed Redis endpoint.
	Port pulumi.IntPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Output only. 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'.
	ReadEndpoint pulumi.StringPtrInput
	// Output only. The port number of the exposed readonly redis endpoint. Standard tier only.
	// Write requests should target 'port'.
	ReadEndpointPort pulumi.IntPtrInput
	// Optional. Read replica mode. Can only be specified when trying to create the instance.
	// If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
	// - READ_REPLICAS_DISABLED: If disabled, read endpoint will not be provided and the
	//   instance cannot scale up or down the number of replicas.
	// - READ_REPLICAS_ENABLED: If enabled, read endpoint will be provided and the instance
	//   can scale up and down the number of replicas.
	//   Possible values are: `READ_REPLICAS_DISABLED`, `READ_REPLICAS_ENABLED`.
	ReadReplicasMode pulumi.StringPtrInput
	// 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
	RedisConfigs pulumi.StringMapInput
	// The version of Redis software. If not provided, latest supported
	// version will be used. Please check the API documentation linked
	// at the top for the latest valid values.
	RedisVersion pulumi.StringPtrInput
	// The name of the Redis region of the instance.
	Region pulumi.StringPtrInput
	// 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.
	ReplicaCount pulumi.IntPtrInput
	// 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.
	ReservedIpRange pulumi.StringPtrInput
	// 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".
	SecondaryIpRange pulumi.StringPtrInput
	// List of server CA certificates for the instance.
	// Structure is documented below.
	ServerCaCerts InstanceServerCaCertArrayInput
	// The service tier of the instance. Must be one of these values:
	// - BASIC: standalone instance
	// - STANDARD_HA: highly available primary/replica instances
	//   Default value is `BASIC`.
	//   Possible values are: `BASIC`, `STANDARD_HA`.
	Tier pulumi.StringPtrInput
	// The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance.
	// - SERVER_AUTHENTICATION: Client to Server traffic encryption enabled with server authentication
	//   Default value is `DISABLED`.
	//   Possible values are: `SERVER_AUTHENTICATION`, `DISABLED`.
	TransitEncryptionMode pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type LookupInstanceArgs

type LookupInstanceArgs struct {
	// The name of a Redis instance.
	//
	// ***
	Name string `pulumi:"name"`
	// The project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project *string `pulumi:"project"`
	// The region in which the resource belongs. If it
	// is not provided, the provider region is used.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getInstance.

type LookupInstanceOutputArgs

type LookupInstanceOutputArgs struct {
	// The name of a Redis instance.
	//
	// ***
	Name pulumi.StringInput `pulumi:"name"`
	// The project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// The region in which the resource belongs. If it
	// is not provided, the provider region is used.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getInstance.

func (LookupInstanceOutputArgs) ElementType

func (LookupInstanceOutputArgs) ElementType() reflect.Type

type LookupInstanceResult

type LookupInstanceResult struct {
	AlternativeLocationId string            `pulumi:"alternativeLocationId"`
	AuthEnabled           bool              `pulumi:"authEnabled"`
	AuthString            string            `pulumi:"authString"`
	AuthorizedNetwork     string            `pulumi:"authorizedNetwork"`
	ConnectMode           string            `pulumi:"connectMode"`
	CreateTime            string            `pulumi:"createTime"`
	CurrentLocationId     string            `pulumi:"currentLocationId"`
	CustomerManagedKey    string            `pulumi:"customerManagedKey"`
	DisplayName           string            `pulumi:"displayName"`
	EffectiveLabels       map[string]string `pulumi:"effectiveLabels"`
	Host                  string            `pulumi:"host"`
	// The provider-assigned unique ID for this managed resource.
	Id                     string                           `pulumi:"id"`
	Labels                 map[string]string                `pulumi:"labels"`
	LocationId             string                           `pulumi:"locationId"`
	MaintenancePolicies    []GetInstanceMaintenancePolicy   `pulumi:"maintenancePolicies"`
	MaintenanceSchedules   []GetInstanceMaintenanceSchedule `pulumi:"maintenanceSchedules"`
	MemorySizeGb           int                              `pulumi:"memorySizeGb"`
	Name                   string                           `pulumi:"name"`
	Nodes                  []GetInstanceNode                `pulumi:"nodes"`
	PersistenceConfigs     []GetInstancePersistenceConfig   `pulumi:"persistenceConfigs"`
	PersistenceIamIdentity string                           `pulumi:"persistenceIamIdentity"`
	Port                   int                              `pulumi:"port"`
	Project                *string                          `pulumi:"project"`
	PulumiLabels           map[string]string                `pulumi:"pulumiLabels"`
	ReadEndpoint           string                           `pulumi:"readEndpoint"`
	ReadEndpointPort       int                              `pulumi:"readEndpointPort"`
	ReadReplicasMode       string                           `pulumi:"readReplicasMode"`
	RedisConfigs           map[string]string                `pulumi:"redisConfigs"`
	RedisVersion           string                           `pulumi:"redisVersion"`
	Region                 *string                          `pulumi:"region"`
	ReplicaCount           int                              `pulumi:"replicaCount"`
	ReservedIpRange        string                           `pulumi:"reservedIpRange"`
	SecondaryIpRange       string                           `pulumi:"secondaryIpRange"`
	ServerCaCerts          []GetInstanceServerCaCert        `pulumi:"serverCaCerts"`
	Tier                   string                           `pulumi:"tier"`
	TransitEncryptionMode  string                           `pulumi:"transitEncryptionMode"`
}

A collection of values returned by getInstance.

func LookupInstance

func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)

Get info about a Google Cloud Redis instance.

## Example Usage

type LookupInstanceResultOutput

type LookupInstanceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstance.

func (LookupInstanceResultOutput) AlternativeLocationId

func (o LookupInstanceResultOutput) AlternativeLocationId() pulumi.StringOutput

func (LookupInstanceResultOutput) AuthEnabled

func (LookupInstanceResultOutput) AuthString

func (LookupInstanceResultOutput) AuthorizedNetwork

func (o LookupInstanceResultOutput) AuthorizedNetwork() pulumi.StringOutput

func (LookupInstanceResultOutput) ConnectMode

func (LookupInstanceResultOutput) CreateTime

func (LookupInstanceResultOutput) CurrentLocationId

func (o LookupInstanceResultOutput) CurrentLocationId() pulumi.StringOutput

func (LookupInstanceResultOutput) CustomerManagedKey

func (o LookupInstanceResultOutput) CustomerManagedKey() pulumi.StringOutput

func (LookupInstanceResultOutput) DisplayName

func (LookupInstanceResultOutput) EffectiveLabels

func (LookupInstanceResultOutput) ElementType

func (LookupInstanceResultOutput) ElementType() reflect.Type

func (LookupInstanceResultOutput) Host

func (LookupInstanceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupInstanceResultOutput) Labels

func (LookupInstanceResultOutput) LocationId

func (LookupInstanceResultOutput) MaintenancePolicies

func (LookupInstanceResultOutput) MaintenanceSchedules

func (LookupInstanceResultOutput) MemorySizeGb

func (o LookupInstanceResultOutput) MemorySizeGb() pulumi.IntOutput

func (LookupInstanceResultOutput) Name

func (LookupInstanceResultOutput) Nodes

func (LookupInstanceResultOutput) PersistenceConfigs

func (LookupInstanceResultOutput) PersistenceIamIdentity

func (o LookupInstanceResultOutput) PersistenceIamIdentity() pulumi.StringOutput

func (LookupInstanceResultOutput) Port

func (LookupInstanceResultOutput) Project

func (LookupInstanceResultOutput) PulumiLabels

func (LookupInstanceResultOutput) ReadEndpoint

func (LookupInstanceResultOutput) ReadEndpointPort

func (o LookupInstanceResultOutput) ReadEndpointPort() pulumi.IntOutput

func (LookupInstanceResultOutput) ReadReplicasMode

func (o LookupInstanceResultOutput) ReadReplicasMode() pulumi.StringOutput

func (LookupInstanceResultOutput) RedisConfigs

func (LookupInstanceResultOutput) RedisVersion

func (LookupInstanceResultOutput) Region

func (LookupInstanceResultOutput) ReplicaCount

func (o LookupInstanceResultOutput) ReplicaCount() pulumi.IntOutput

func (LookupInstanceResultOutput) ReservedIpRange

func (o LookupInstanceResultOutput) ReservedIpRange() pulumi.StringOutput

func (LookupInstanceResultOutput) SecondaryIpRange

func (o LookupInstanceResultOutput) SecondaryIpRange() pulumi.StringOutput

func (LookupInstanceResultOutput) ServerCaCerts

func (LookupInstanceResultOutput) Tier

func (LookupInstanceResultOutput) ToLookupInstanceResultOutput

func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput

func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext

func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput

func (LookupInstanceResultOutput) TransitEncryptionMode

func (o LookupInstanceResultOutput) TransitEncryptionMode() pulumi.StringOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL