redis

package
v6.67.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster added in v6.65.0

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 is `AUTH_MODE_DISABLED`.
	// Possible values are: `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 ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	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 is `TRANSIT_ENCRYPTION_MODE_DISABLED`.
	// Possible values are: `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"`
}

## Example Usage ### Redis Cluster Ha

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi-gcp/sdk/v6/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, "producerNet", &compute.NetworkArgs{
			AutoCreateSubnetworks: pulumi.Bool(false),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		producerSubnet, err := compute.NewSubnetwork(ctx, "producerSubnet", &compute.SubnetworkArgs{
			IpCidrRange: pulumi.String("10.0.0.248/29"),
			Region:      pulumi.String("us-central1"),
			Network:     producerNet.ID(),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewServiceConnectionPolicy(ctx, "default", &networkconnectivity.ServiceConnectionPolicyArgs{
			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(),
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = redis.NewCluster(ctx, "cluster-ha", &redis.ClusterArgs{
			ShardCount: pulumi.Int(3),
			PscConfigs: redis.ClusterPscConfigArray{
				&redis.ClusterPscConfigArgs{
					Network: producerNet.ID(),
				},
			},
			Region:                pulumi.String("us-central1"),
			ReplicaCount:          pulumi.Int(1),
			TransitEncryptionMode: pulumi.String("TRANSIT_ENCRYPTION_MODE_DISABLED"),
			AuthorizationMode:     pulumi.String("AUTH_MODE_DISABLED"),
		}, pulumi.Provider(google_beta), pulumi.DependsOn([]pulumi.Resource{
			_default,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cluster can be imported using any of these accepted formats

```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 added in v6.65.0

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 added in v6.65.0

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 added in v6.65.0

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput added in v6.65.0

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext added in v6.65.0

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

func (*Cluster) ToOutput added in v6.65.1

func (i *Cluster) ToOutput(ctx context.Context) pulumix.Output[*Cluster]

type ClusterArgs added in v6.65.0

type ClusterArgs struct {
	// Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
	// Default value is `AUTH_MODE_DISABLED`.
	// Possible values are: `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 ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	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 is `TRANSIT_ENCRYPTION_MODE_DISABLED`.
	// Possible values are: `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 added in v6.65.0

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray added in v6.65.0

type ClusterArray []ClusterInput

func (ClusterArray) ElementType added in v6.65.0

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput added in v6.65.0

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext added in v6.65.0

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

func (ClusterArray) ToOutput added in v6.65.1

func (i ClusterArray) ToOutput(ctx context.Context) pulumix.Output[[]*Cluster]

type ClusterArrayInput added in v6.65.0

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 added in v6.65.0

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType added in v6.65.0

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index added in v6.65.0

func (ClusterArrayOutput) ToClusterArrayOutput added in v6.65.0

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext added in v6.65.0

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

func (ClusterArrayOutput) ToOutput added in v6.65.1

type ClusterDiscoveryEndpoint added in v6.65.0

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 added in v6.65.0

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 added in v6.65.0

func (ClusterDiscoveryEndpointArgs) ToClusterDiscoveryEndpointOutput added in v6.65.0

func (i ClusterDiscoveryEndpointArgs) ToClusterDiscoveryEndpointOutput() ClusterDiscoveryEndpointOutput

func (ClusterDiscoveryEndpointArgs) ToClusterDiscoveryEndpointOutputWithContext added in v6.65.0

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

func (ClusterDiscoveryEndpointArgs) ToOutput added in v6.65.1

type ClusterDiscoveryEndpointArray added in v6.65.0

type ClusterDiscoveryEndpointArray []ClusterDiscoveryEndpointInput

func (ClusterDiscoveryEndpointArray) ElementType added in v6.65.0

func (ClusterDiscoveryEndpointArray) ToClusterDiscoveryEndpointArrayOutput added in v6.65.0

func (i ClusterDiscoveryEndpointArray) ToClusterDiscoveryEndpointArrayOutput() ClusterDiscoveryEndpointArrayOutput

func (ClusterDiscoveryEndpointArray) ToClusterDiscoveryEndpointArrayOutputWithContext added in v6.65.0

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

func (ClusterDiscoveryEndpointArray) ToOutput added in v6.65.1

type ClusterDiscoveryEndpointArrayInput added in v6.65.0

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 added in v6.65.0

type ClusterDiscoveryEndpointArrayOutput struct{ *pulumi.OutputState }

func (ClusterDiscoveryEndpointArrayOutput) ElementType added in v6.65.0

func (ClusterDiscoveryEndpointArrayOutput) Index added in v6.65.0

func (ClusterDiscoveryEndpointArrayOutput) ToClusterDiscoveryEndpointArrayOutput added in v6.65.0

func (o ClusterDiscoveryEndpointArrayOutput) ToClusterDiscoveryEndpointArrayOutput() ClusterDiscoveryEndpointArrayOutput

func (ClusterDiscoveryEndpointArrayOutput) ToClusterDiscoveryEndpointArrayOutputWithContext added in v6.65.0

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

func (ClusterDiscoveryEndpointArrayOutput) ToOutput added in v6.65.1

type ClusterDiscoveryEndpointInput added in v6.65.0

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 added in v6.65.0

type ClusterDiscoveryEndpointOutput struct{ *pulumi.OutputState }

func (ClusterDiscoveryEndpointOutput) Address added in v6.65.0

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

func (ClusterDiscoveryEndpointOutput) ElementType added in v6.65.0

func (ClusterDiscoveryEndpointOutput) Port added in v6.65.0

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

func (ClusterDiscoveryEndpointOutput) PscConfig added in v6.65.0

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

func (ClusterDiscoveryEndpointOutput) ToClusterDiscoveryEndpointOutput added in v6.65.0

func (o ClusterDiscoveryEndpointOutput) ToClusterDiscoveryEndpointOutput() ClusterDiscoveryEndpointOutput

func (ClusterDiscoveryEndpointOutput) ToClusterDiscoveryEndpointOutputWithContext added in v6.65.0

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

func (ClusterDiscoveryEndpointOutput) ToOutput added in v6.65.1

type ClusterDiscoveryEndpointPscConfig added in v6.65.0

type ClusterDiscoveryEndpointPscConfig 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 ClusterDiscoveryEndpointPscConfigArgs added in v6.65.0

type ClusterDiscoveryEndpointPscConfigArgs 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.StringPtrInput `pulumi:"network"`
}

func (ClusterDiscoveryEndpointPscConfigArgs) ElementType added in v6.65.0

func (ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigOutput added in v6.65.0

func (i ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigOutput() ClusterDiscoveryEndpointPscConfigOutput

func (ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigOutputWithContext added in v6.65.0

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

func (ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigPtrOutput added in v6.65.0

func (i ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigPtrOutput() ClusterDiscoveryEndpointPscConfigPtrOutput

func (ClusterDiscoveryEndpointPscConfigArgs) ToClusterDiscoveryEndpointPscConfigPtrOutputWithContext added in v6.65.0

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

func (ClusterDiscoveryEndpointPscConfigArgs) ToOutput added in v6.65.1

type ClusterDiscoveryEndpointPscConfigInput added in v6.65.0

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 added in v6.65.0

type ClusterDiscoveryEndpointPscConfigOutput struct{ *pulumi.OutputState }

func (ClusterDiscoveryEndpointPscConfigOutput) ElementType added in v6.65.0

func (ClusterDiscoveryEndpointPscConfigOutput) Network added in v6.65.0

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 (ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigOutput added in v6.65.0

func (o ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigOutput() ClusterDiscoveryEndpointPscConfigOutput

func (ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigOutputWithContext added in v6.65.0

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

func (ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigPtrOutput added in v6.65.0

func (o ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigPtrOutput() ClusterDiscoveryEndpointPscConfigPtrOutput

func (ClusterDiscoveryEndpointPscConfigOutput) ToClusterDiscoveryEndpointPscConfigPtrOutputWithContext added in v6.65.0

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

func (ClusterDiscoveryEndpointPscConfigOutput) ToOutput added in v6.65.1

type ClusterDiscoveryEndpointPscConfigPtrInput added in v6.65.0

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 added in v6.65.0

type ClusterDiscoveryEndpointPscConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterDiscoveryEndpointPscConfigPtrOutput) Elem added in v6.65.0

func (ClusterDiscoveryEndpointPscConfigPtrOutput) ElementType added in v6.65.0

func (ClusterDiscoveryEndpointPscConfigPtrOutput) Network added in v6.65.0

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 (ClusterDiscoveryEndpointPscConfigPtrOutput) ToClusterDiscoveryEndpointPscConfigPtrOutput added in v6.65.0

func (o ClusterDiscoveryEndpointPscConfigPtrOutput) ToClusterDiscoveryEndpointPscConfigPtrOutput() ClusterDiscoveryEndpointPscConfigPtrOutput

func (ClusterDiscoveryEndpointPscConfigPtrOutput) ToClusterDiscoveryEndpointPscConfigPtrOutputWithContext added in v6.65.0

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

func (ClusterDiscoveryEndpointPscConfigPtrOutput) ToOutput added in v6.65.1

type ClusterInput added in v6.65.0

type ClusterInput interface {
	pulumi.Input

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

type ClusterMap added in v6.65.0

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType added in v6.65.0

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput added in v6.65.0

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext added in v6.65.0

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

func (ClusterMap) ToOutput added in v6.65.1

func (i ClusterMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Cluster]

type ClusterMapInput added in v6.65.0

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 added in v6.65.0

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType added in v6.65.0

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex added in v6.65.0

func (ClusterMapOutput) ToClusterMapOutput added in v6.65.0

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext added in v6.65.0

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

func (ClusterMapOutput) ToOutput added in v6.65.1

type ClusterOutput added in v6.65.0

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) AuthorizationMode added in v6.65.0

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 is `AUTH_MODE_DISABLED`. Possible values are: `AUTH_MODE_UNSPECIFIED`, `AUTH_MODE_IAM_AUTH`, `AUTH_MODE_DISABLED`.

func (ClusterOutput) CreateTime added in v6.65.0

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 added in v6.65.0

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 added in v6.65.0

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) Name added in v6.65.0

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

func (ClusterOutput) Project added in v6.65.0

func (o ClusterOutput) Project() pulumi.StringOutput

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

func (ClusterOutput) PscConfigs added in v6.65.0

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 added in v6.65.0

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

func (ClusterOutput) Region added in v6.65.0

func (o ClusterOutput) Region() pulumi.StringOutput

The name of the region of the Redis cluster.

func (ClusterOutput) ReplicaCount added in v6.65.0

func (o ClusterOutput) ReplicaCount() pulumi.IntPtrOutput

Optional. The number of replica nodes per shard.

func (ClusterOutput) ShardCount added in v6.65.0

func (o ClusterOutput) ShardCount() pulumi.IntOutput

Required. Number of shards for the Redis cluster.

func (ClusterOutput) SizeGb added in v6.65.0

func (o ClusterOutput) SizeGb() pulumi.IntOutput

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

func (ClusterOutput) State added in v6.65.0

func (o ClusterOutput) State() pulumi.StringOutput

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

func (ClusterOutput) StateInfos added in v6.65.0

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

func (ClusterOutput) ToClusterOutput added in v6.65.0

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext added in v6.65.0

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

func (ClusterOutput) ToOutput added in v6.65.1

func (o ClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*Cluster]

func (ClusterOutput) TransitEncryptionMode added in v6.65.0

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 is `TRANSIT_ENCRYPTION_MODE_DISABLED`. Possible values are: `TRANSIT_ENCRYPTION_MODE_UNSPECIFIED`, `TRANSIT_ENCRYPTION_MODE_DISABLED`, `TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION`.

func (ClusterOutput) Uid added in v6.65.0

System assigned, unique identifier for the cluster.

type ClusterPscConfig added in v6.65.0

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 added in v6.65.0

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 added in v6.65.0

func (ClusterPscConfigArgs) ElementType() reflect.Type

func (ClusterPscConfigArgs) ToClusterPscConfigOutput added in v6.65.0

func (i ClusterPscConfigArgs) ToClusterPscConfigOutput() ClusterPscConfigOutput

func (ClusterPscConfigArgs) ToClusterPscConfigOutputWithContext added in v6.65.0

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

func (ClusterPscConfigArgs) ToOutput added in v6.65.1

type ClusterPscConfigArray added in v6.65.0

type ClusterPscConfigArray []ClusterPscConfigInput

func (ClusterPscConfigArray) ElementType added in v6.65.0

func (ClusterPscConfigArray) ElementType() reflect.Type

func (ClusterPscConfigArray) ToClusterPscConfigArrayOutput added in v6.65.0

func (i ClusterPscConfigArray) ToClusterPscConfigArrayOutput() ClusterPscConfigArrayOutput

func (ClusterPscConfigArray) ToClusterPscConfigArrayOutputWithContext added in v6.65.0

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

func (ClusterPscConfigArray) ToOutput added in v6.65.1

type ClusterPscConfigArrayInput added in v6.65.0

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 added in v6.65.0

type ClusterPscConfigArrayOutput struct{ *pulumi.OutputState }

func (ClusterPscConfigArrayOutput) ElementType added in v6.65.0

func (ClusterPscConfigArrayOutput) Index added in v6.65.0

func (ClusterPscConfigArrayOutput) ToClusterPscConfigArrayOutput added in v6.65.0

func (o ClusterPscConfigArrayOutput) ToClusterPscConfigArrayOutput() ClusterPscConfigArrayOutput

func (ClusterPscConfigArrayOutput) ToClusterPscConfigArrayOutputWithContext added in v6.65.0

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

func (ClusterPscConfigArrayOutput) ToOutput added in v6.65.1

type ClusterPscConfigInput added in v6.65.0

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 added in v6.65.0

type ClusterPscConfigOutput struct{ *pulumi.OutputState }

func (ClusterPscConfigOutput) ElementType added in v6.65.0

func (ClusterPscConfigOutput) ElementType() reflect.Type

func (ClusterPscConfigOutput) Network added in v6.65.0

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 added in v6.65.0

func (o ClusterPscConfigOutput) ToClusterPscConfigOutput() ClusterPscConfigOutput

func (ClusterPscConfigOutput) ToClusterPscConfigOutputWithContext added in v6.65.0

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

func (ClusterPscConfigOutput) ToOutput added in v6.65.1

type ClusterPscConnection added in v6.65.0

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"`
	// 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"`
	// 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 added in v6.65.0

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"`
	// 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.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 added in v6.65.0

func (ClusterPscConnectionArgs) ElementType() reflect.Type

func (ClusterPscConnectionArgs) ToClusterPscConnectionOutput added in v6.65.0

func (i ClusterPscConnectionArgs) ToClusterPscConnectionOutput() ClusterPscConnectionOutput

func (ClusterPscConnectionArgs) ToClusterPscConnectionOutputWithContext added in v6.65.0

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

func (ClusterPscConnectionArgs) ToOutput added in v6.65.1

type ClusterPscConnectionArray added in v6.65.0

type ClusterPscConnectionArray []ClusterPscConnectionInput

func (ClusterPscConnectionArray) ElementType added in v6.65.0

func (ClusterPscConnectionArray) ElementType() reflect.Type

func (ClusterPscConnectionArray) ToClusterPscConnectionArrayOutput added in v6.65.0

func (i ClusterPscConnectionArray) ToClusterPscConnectionArrayOutput() ClusterPscConnectionArrayOutput

func (ClusterPscConnectionArray) ToClusterPscConnectionArrayOutputWithContext added in v6.65.0

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

func (ClusterPscConnectionArray) ToOutput added in v6.65.1

type ClusterPscConnectionArrayInput added in v6.65.0

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 added in v6.65.0

type ClusterPscConnectionArrayOutput struct{ *pulumi.OutputState }

func (ClusterPscConnectionArrayOutput) ElementType added in v6.65.0

func (ClusterPscConnectionArrayOutput) Index added in v6.65.0

func (ClusterPscConnectionArrayOutput) ToClusterPscConnectionArrayOutput added in v6.65.0

func (o ClusterPscConnectionArrayOutput) ToClusterPscConnectionArrayOutput() ClusterPscConnectionArrayOutput

func (ClusterPscConnectionArrayOutput) ToClusterPscConnectionArrayOutputWithContext added in v6.65.0

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

func (ClusterPscConnectionArrayOutput) ToOutput added in v6.65.1

type ClusterPscConnectionInput added in v6.65.0

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 added in v6.65.0

type ClusterPscConnectionOutput struct{ *pulumi.OutputState }

func (ClusterPscConnectionOutput) Address added in v6.65.0

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

func (ClusterPscConnectionOutput) ElementType added in v6.65.0

func (ClusterPscConnectionOutput) ElementType() reflect.Type

func (ClusterPscConnectionOutput) ForwardingRule added in v6.65.0

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

func (ClusterPscConnectionOutput) Network added in v6.65.0

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 (ClusterPscConnectionOutput) ProjectId added in v6.65.0

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

func (ClusterPscConnectionOutput) PscConnectionId added in v6.65.0

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

func (ClusterPscConnectionOutput) ToClusterPscConnectionOutput added in v6.65.0

func (o ClusterPscConnectionOutput) ToClusterPscConnectionOutput() ClusterPscConnectionOutput

func (ClusterPscConnectionOutput) ToClusterPscConnectionOutputWithContext added in v6.65.0

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

func (ClusterPscConnectionOutput) ToOutput added in v6.65.1

type ClusterState added in v6.65.0

type ClusterState struct {
	// Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
	// Default value is `AUTH_MODE_DISABLED`.
	// Possible values are: `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 ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	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 is `TRANSIT_ENCRYPTION_MODE_DISABLED`.
	// Possible values are: `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 added in v6.65.0

func (ClusterState) ElementType() reflect.Type

type ClusterStateInfo added in v6.65.0

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

type ClusterStateInfoArgs added in v6.65.0

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

func (ClusterStateInfoArgs) ElementType added in v6.65.0

func (ClusterStateInfoArgs) ElementType() reflect.Type

func (ClusterStateInfoArgs) ToClusterStateInfoOutput added in v6.65.0

func (i ClusterStateInfoArgs) ToClusterStateInfoOutput() ClusterStateInfoOutput

func (ClusterStateInfoArgs) ToClusterStateInfoOutputWithContext added in v6.65.0

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

func (ClusterStateInfoArgs) ToOutput added in v6.65.1

type ClusterStateInfoArray added in v6.65.0

type ClusterStateInfoArray []ClusterStateInfoInput

func (ClusterStateInfoArray) ElementType added in v6.65.0

func (ClusterStateInfoArray) ElementType() reflect.Type

func (ClusterStateInfoArray) ToClusterStateInfoArrayOutput added in v6.65.0

func (i ClusterStateInfoArray) ToClusterStateInfoArrayOutput() ClusterStateInfoArrayOutput

func (ClusterStateInfoArray) ToClusterStateInfoArrayOutputWithContext added in v6.65.0

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

func (ClusterStateInfoArray) ToOutput added in v6.65.1

type ClusterStateInfoArrayInput added in v6.65.0

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 added in v6.65.0

type ClusterStateInfoArrayOutput struct{ *pulumi.OutputState }

func (ClusterStateInfoArrayOutput) ElementType added in v6.65.0

func (ClusterStateInfoArrayOutput) Index added in v6.65.0

func (ClusterStateInfoArrayOutput) ToClusterStateInfoArrayOutput added in v6.65.0

func (o ClusterStateInfoArrayOutput) ToClusterStateInfoArrayOutput() ClusterStateInfoArrayOutput

func (ClusterStateInfoArrayOutput) ToClusterStateInfoArrayOutputWithContext added in v6.65.0

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

func (ClusterStateInfoArrayOutput) ToOutput added in v6.65.1

type ClusterStateInfoInput added in v6.65.0

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 added in v6.65.0

type ClusterStateInfoOutput struct{ *pulumi.OutputState }

func (ClusterStateInfoOutput) ElementType added in v6.65.0

func (ClusterStateInfoOutput) ElementType() reflect.Type

func (ClusterStateInfoOutput) ToClusterStateInfoOutput added in v6.65.0

func (o ClusterStateInfoOutput) ToClusterStateInfoOutput() ClusterStateInfoOutput

func (ClusterStateInfoOutput) ToClusterStateInfoOutputWithContext added in v6.65.0

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

func (ClusterStateInfoOutput) ToOutput added in v6.65.1

func (ClusterStateInfoOutput) UpdateInfo added in v6.65.0

A nested object resource Structure is documented below.

type ClusterStateInfoUpdateInfo added in v6.65.0

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 added in v6.65.0

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 added in v6.65.0

func (ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoOutput added in v6.65.0

func (i ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoOutput() ClusterStateInfoUpdateInfoOutput

func (ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoOutputWithContext added in v6.65.0

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

func (ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoPtrOutput added in v6.65.0

func (i ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoPtrOutput() ClusterStateInfoUpdateInfoPtrOutput

func (ClusterStateInfoUpdateInfoArgs) ToClusterStateInfoUpdateInfoPtrOutputWithContext added in v6.65.0

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

func (ClusterStateInfoUpdateInfoArgs) ToOutput added in v6.65.1

type ClusterStateInfoUpdateInfoInput added in v6.65.0

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 added in v6.65.0

type ClusterStateInfoUpdateInfoOutput struct{ *pulumi.OutputState }

func (ClusterStateInfoUpdateInfoOutput) ElementType added in v6.65.0

func (ClusterStateInfoUpdateInfoOutput) TargetReplicaCount added in v6.65.0

func (o ClusterStateInfoUpdateInfoOutput) TargetReplicaCount() pulumi.IntPtrOutput

Target number of replica nodes per shard.

func (ClusterStateInfoUpdateInfoOutput) TargetShardCount added in v6.65.0

Target number of shards for redis cluster.

func (ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoOutput added in v6.65.0

func (o ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoOutput() ClusterStateInfoUpdateInfoOutput

func (ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoOutputWithContext added in v6.65.0

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

func (ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoPtrOutput added in v6.65.0

func (o ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoPtrOutput() ClusterStateInfoUpdateInfoPtrOutput

func (ClusterStateInfoUpdateInfoOutput) ToClusterStateInfoUpdateInfoPtrOutputWithContext added in v6.65.0

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

func (ClusterStateInfoUpdateInfoOutput) ToOutput added in v6.65.1

type ClusterStateInfoUpdateInfoPtrInput added in v6.65.0

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

func ClusterStateInfoUpdateInfoPtr added in v6.65.0

type ClusterStateInfoUpdateInfoPtrOutput added in v6.65.0

type ClusterStateInfoUpdateInfoPtrOutput struct{ *pulumi.OutputState }

func (ClusterStateInfoUpdateInfoPtrOutput) Elem added in v6.65.0

func (ClusterStateInfoUpdateInfoPtrOutput) ElementType added in v6.65.0

func (ClusterStateInfoUpdateInfoPtrOutput) TargetReplicaCount added in v6.65.0

Target number of replica nodes per shard.

func (ClusterStateInfoUpdateInfoPtrOutput) TargetShardCount added in v6.65.0

Target number of shards for redis cluster.

func (ClusterStateInfoUpdateInfoPtrOutput) ToClusterStateInfoUpdateInfoPtrOutput added in v6.65.0

func (o ClusterStateInfoUpdateInfoPtrOutput) ToClusterStateInfoUpdateInfoPtrOutput() ClusterStateInfoUpdateInfoPtrOutput

func (ClusterStateInfoUpdateInfoPtrOutput) ToClusterStateInfoUpdateInfoPtrOutputWithContext added in v6.65.0

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

func (ClusterStateInfoUpdateInfoPtrOutput) ToOutput added in v6.65.1

type GetInstanceMaintenancePolicy added in v6.10.0

type GetInstanceMaintenancePolicy struct {
	CreateTime               string                                                `pulumi:"createTime"`
	Description              string                                                `pulumi:"description"`
	UpdateTime               string                                                `pulumi:"updateTime"`
	WeeklyMaintenanceWindows []GetInstanceMaintenancePolicyWeeklyMaintenanceWindow `pulumi:"weeklyMaintenanceWindows"`
}

type GetInstanceMaintenancePolicyArgs added in v6.10.0

type GetInstanceMaintenancePolicyArgs struct {
	CreateTime               pulumi.StringInput                                            `pulumi:"createTime"`
	Description              pulumi.StringInput                                            `pulumi:"description"`
	UpdateTime               pulumi.StringInput                                            `pulumi:"updateTime"`
	WeeklyMaintenanceWindows GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput `pulumi:"weeklyMaintenanceWindows"`
}

func (GetInstanceMaintenancePolicyArgs) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyArgs) ToGetInstanceMaintenancePolicyOutput added in v6.10.0

func (i GetInstanceMaintenancePolicyArgs) ToGetInstanceMaintenancePolicyOutput() GetInstanceMaintenancePolicyOutput

func (GetInstanceMaintenancePolicyArgs) ToGetInstanceMaintenancePolicyOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyArgs) ToOutput added in v6.65.1

type GetInstanceMaintenancePolicyArray added in v6.10.0

type GetInstanceMaintenancePolicyArray []GetInstanceMaintenancePolicyInput

func (GetInstanceMaintenancePolicyArray) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyArray) ToGetInstanceMaintenancePolicyArrayOutput added in v6.10.0

func (i GetInstanceMaintenancePolicyArray) ToGetInstanceMaintenancePolicyArrayOutput() GetInstanceMaintenancePolicyArrayOutput

func (GetInstanceMaintenancePolicyArray) ToGetInstanceMaintenancePolicyArrayOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyArray) ToOutput added in v6.65.1

type GetInstanceMaintenancePolicyArrayInput added in v6.10.0

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 added in v6.10.0

type GetInstanceMaintenancePolicyArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyArrayOutput) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyArrayOutput) Index added in v6.10.0

func (GetInstanceMaintenancePolicyArrayOutput) ToGetInstanceMaintenancePolicyArrayOutput added in v6.10.0

func (o GetInstanceMaintenancePolicyArrayOutput) ToGetInstanceMaintenancePolicyArrayOutput() GetInstanceMaintenancePolicyArrayOutput

func (GetInstanceMaintenancePolicyArrayOutput) ToGetInstanceMaintenancePolicyArrayOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyArrayOutput) ToOutput added in v6.65.1

type GetInstanceMaintenancePolicyInput added in v6.10.0

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 added in v6.10.0

type GetInstanceMaintenancePolicyOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyOutput) CreateTime added in v6.10.0

func (GetInstanceMaintenancePolicyOutput) Description added in v6.10.0

func (GetInstanceMaintenancePolicyOutput) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyOutput) ToGetInstanceMaintenancePolicyOutput added in v6.10.0

func (o GetInstanceMaintenancePolicyOutput) ToGetInstanceMaintenancePolicyOutput() GetInstanceMaintenancePolicyOutput

func (GetInstanceMaintenancePolicyOutput) ToGetInstanceMaintenancePolicyOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyOutput) ToOutput added in v6.65.1

func (GetInstanceMaintenancePolicyOutput) UpdateTime added in v6.10.0

func (GetInstanceMaintenancePolicyOutput) WeeklyMaintenanceWindows added in v6.10.0

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindow added in v6.10.0

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindow struct {
	Day        string                                                         `pulumi:"day"`
	Duration   string                                                         `pulumi:"duration"`
	StartTimes []GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime `pulumi:"startTimes"`
}

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs added in v6.10.0

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs struct {
	Day        pulumi.StringInput                                                     `pulumi:"day"`
	Duration   pulumi.StringInput                                                     `pulumi:"duration"`
	StartTimes GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayInput `pulumi:"startTimes"`
}

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToOutput added in v6.65.1

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray added in v6.10.0

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray []GetInstanceMaintenancePolicyWeeklyMaintenanceWindowInput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput added in v6.10.0

func (i GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToOutput added in v6.65.1

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput added in v6.10.0

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 added in v6.10.0

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) Index added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToOutput added in v6.65.1

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowInput added in v6.10.0

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 added in v6.10.0

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Day added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Duration added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) StartTimes added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToOutput added in v6.65.1

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime added in v6.10.0

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime struct {
	Hours   int `pulumi:"hours"`
	Minutes int `pulumi:"minutes"`
	Nanos   int `pulumi:"nanos"`
	Seconds int `pulumi:"seconds"`
}

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs added in v6.10.0

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs struct {
	Hours   pulumi.IntInput `pulumi:"hours"`
	Minutes pulumi.IntInput `pulumi:"minutes"`
	Nanos   pulumi.IntInput `pulumi:"nanos"`
	Seconds pulumi.IntInput `pulumi:"seconds"`
}

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToOutput added in v6.65.1

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray added in v6.10.0

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray []GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArray) ToOutput added in v6.65.1

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayInput added in v6.10.0

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 added in v6.10.0

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput) Index added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArrayOutput) ToOutput added in v6.65.1

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput added in v6.10.0

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 added in v6.10.0

type GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ElementType added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Hours added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Minutes added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Nanos added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Seconds added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput added in v6.10.0

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToGetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToOutput added in v6.65.1

type GetInstanceMaintenanceSchedule added in v6.10.0

type GetInstanceMaintenanceSchedule struct {
	EndTime              string `pulumi:"endTime"`
	ScheduleDeadlineTime string `pulumi:"scheduleDeadlineTime"`
	StartTime            string `pulumi:"startTime"`
}

type GetInstanceMaintenanceScheduleArgs added in v6.10.0

type GetInstanceMaintenanceScheduleArgs struct {
	EndTime              pulumi.StringInput `pulumi:"endTime"`
	ScheduleDeadlineTime pulumi.StringInput `pulumi:"scheduleDeadlineTime"`
	StartTime            pulumi.StringInput `pulumi:"startTime"`
}

func (GetInstanceMaintenanceScheduleArgs) ElementType added in v6.10.0

func (GetInstanceMaintenanceScheduleArgs) ToGetInstanceMaintenanceScheduleOutput added in v6.10.0

func (i GetInstanceMaintenanceScheduleArgs) ToGetInstanceMaintenanceScheduleOutput() GetInstanceMaintenanceScheduleOutput

func (GetInstanceMaintenanceScheduleArgs) ToGetInstanceMaintenanceScheduleOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenanceScheduleArgs) ToOutput added in v6.65.1

type GetInstanceMaintenanceScheduleArray added in v6.10.0

type GetInstanceMaintenanceScheduleArray []GetInstanceMaintenanceScheduleInput

func (GetInstanceMaintenanceScheduleArray) ElementType added in v6.10.0

func (GetInstanceMaintenanceScheduleArray) ToGetInstanceMaintenanceScheduleArrayOutput added in v6.10.0

func (i GetInstanceMaintenanceScheduleArray) ToGetInstanceMaintenanceScheduleArrayOutput() GetInstanceMaintenanceScheduleArrayOutput

func (GetInstanceMaintenanceScheduleArray) ToGetInstanceMaintenanceScheduleArrayOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenanceScheduleArray) ToOutput added in v6.65.1

type GetInstanceMaintenanceScheduleArrayInput added in v6.10.0

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 added in v6.10.0

type GetInstanceMaintenanceScheduleArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenanceScheduleArrayOutput) ElementType added in v6.10.0

func (GetInstanceMaintenanceScheduleArrayOutput) Index added in v6.10.0

func (GetInstanceMaintenanceScheduleArrayOutput) ToGetInstanceMaintenanceScheduleArrayOutput added in v6.10.0

func (o GetInstanceMaintenanceScheduleArrayOutput) ToGetInstanceMaintenanceScheduleArrayOutput() GetInstanceMaintenanceScheduleArrayOutput

func (GetInstanceMaintenanceScheduleArrayOutput) ToGetInstanceMaintenanceScheduleArrayOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenanceScheduleArrayOutput) ToOutput added in v6.65.1

type GetInstanceMaintenanceScheduleInput added in v6.10.0

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 added in v6.10.0

type GetInstanceMaintenanceScheduleOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenanceScheduleOutput) ElementType added in v6.10.0

func (GetInstanceMaintenanceScheduleOutput) EndTime added in v6.10.0

func (GetInstanceMaintenanceScheduleOutput) ScheduleDeadlineTime added in v6.10.0

func (o GetInstanceMaintenanceScheduleOutput) ScheduleDeadlineTime() pulumi.StringOutput

func (GetInstanceMaintenanceScheduleOutput) StartTime added in v6.10.0

func (GetInstanceMaintenanceScheduleOutput) ToGetInstanceMaintenanceScheduleOutput added in v6.10.0

func (o GetInstanceMaintenanceScheduleOutput) ToGetInstanceMaintenanceScheduleOutput() GetInstanceMaintenanceScheduleOutput

func (GetInstanceMaintenanceScheduleOutput) ToGetInstanceMaintenanceScheduleOutputWithContext added in v6.10.0

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

func (GetInstanceMaintenanceScheduleOutput) ToOutput added in v6.65.1

type GetInstanceNode added in v6.4.0

type GetInstanceNode struct {
	Id   string `pulumi:"id"`
	Zone string `pulumi:"zone"`
}

type GetInstanceNodeArgs added in v6.4.0

type GetInstanceNodeArgs struct {
	Id   pulumi.StringInput `pulumi:"id"`
	Zone pulumi.StringInput `pulumi:"zone"`
}

func (GetInstanceNodeArgs) ElementType added in v6.4.0

func (GetInstanceNodeArgs) ElementType() reflect.Type

func (GetInstanceNodeArgs) ToGetInstanceNodeOutput added in v6.4.0

func (i GetInstanceNodeArgs) ToGetInstanceNodeOutput() GetInstanceNodeOutput

func (GetInstanceNodeArgs) ToGetInstanceNodeOutputWithContext added in v6.4.0

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

func (GetInstanceNodeArgs) ToOutput added in v6.65.1

type GetInstanceNodeArray added in v6.4.0

type GetInstanceNodeArray []GetInstanceNodeInput

func (GetInstanceNodeArray) ElementType added in v6.4.0

func (GetInstanceNodeArray) ElementType() reflect.Type

func (GetInstanceNodeArray) ToGetInstanceNodeArrayOutput added in v6.4.0

func (i GetInstanceNodeArray) ToGetInstanceNodeArrayOutput() GetInstanceNodeArrayOutput

func (GetInstanceNodeArray) ToGetInstanceNodeArrayOutputWithContext added in v6.4.0

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

func (GetInstanceNodeArray) ToOutput added in v6.65.1

type GetInstanceNodeArrayInput added in v6.4.0

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 added in v6.4.0

type GetInstanceNodeArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceNodeArrayOutput) ElementType added in v6.4.0

func (GetInstanceNodeArrayOutput) ElementType() reflect.Type

func (GetInstanceNodeArrayOutput) Index added in v6.4.0

func (GetInstanceNodeArrayOutput) ToGetInstanceNodeArrayOutput added in v6.4.0

func (o GetInstanceNodeArrayOutput) ToGetInstanceNodeArrayOutput() GetInstanceNodeArrayOutput

func (GetInstanceNodeArrayOutput) ToGetInstanceNodeArrayOutputWithContext added in v6.4.0

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

func (GetInstanceNodeArrayOutput) ToOutput added in v6.65.1

type GetInstanceNodeInput added in v6.4.0

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 added in v6.4.0

type GetInstanceNodeOutput struct{ *pulumi.OutputState }

func (GetInstanceNodeOutput) ElementType added in v6.4.0

func (GetInstanceNodeOutput) ElementType() reflect.Type

func (GetInstanceNodeOutput) Id added in v6.4.0

func (GetInstanceNodeOutput) ToGetInstanceNodeOutput added in v6.4.0

func (o GetInstanceNodeOutput) ToGetInstanceNodeOutput() GetInstanceNodeOutput

func (GetInstanceNodeOutput) ToGetInstanceNodeOutputWithContext added in v6.4.0

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

func (GetInstanceNodeOutput) ToOutput added in v6.65.1

func (GetInstanceNodeOutput) Zone added in v6.4.0

type GetInstancePersistenceConfig added in v6.39.0

type GetInstancePersistenceConfig struct {
	PersistenceMode      string `pulumi:"persistenceMode"`
	RdbNextSnapshotTime  string `pulumi:"rdbNextSnapshotTime"`
	RdbSnapshotPeriod    string `pulumi:"rdbSnapshotPeriod"`
	RdbSnapshotStartTime string `pulumi:"rdbSnapshotStartTime"`
}

type GetInstancePersistenceConfigArgs added in v6.39.0

type GetInstancePersistenceConfigArgs struct {
	PersistenceMode      pulumi.StringInput `pulumi:"persistenceMode"`
	RdbNextSnapshotTime  pulumi.StringInput `pulumi:"rdbNextSnapshotTime"`
	RdbSnapshotPeriod    pulumi.StringInput `pulumi:"rdbSnapshotPeriod"`
	RdbSnapshotStartTime pulumi.StringInput `pulumi:"rdbSnapshotStartTime"`
}

func (GetInstancePersistenceConfigArgs) ElementType added in v6.39.0

func (GetInstancePersistenceConfigArgs) ToGetInstancePersistenceConfigOutput added in v6.39.0

func (i GetInstancePersistenceConfigArgs) ToGetInstancePersistenceConfigOutput() GetInstancePersistenceConfigOutput

func (GetInstancePersistenceConfigArgs) ToGetInstancePersistenceConfigOutputWithContext added in v6.39.0

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

func (GetInstancePersistenceConfigArgs) ToOutput added in v6.65.1

type GetInstancePersistenceConfigArray added in v6.39.0

type GetInstancePersistenceConfigArray []GetInstancePersistenceConfigInput

func (GetInstancePersistenceConfigArray) ElementType added in v6.39.0

func (GetInstancePersistenceConfigArray) ToGetInstancePersistenceConfigArrayOutput added in v6.39.0

func (i GetInstancePersistenceConfigArray) ToGetInstancePersistenceConfigArrayOutput() GetInstancePersistenceConfigArrayOutput

func (GetInstancePersistenceConfigArray) ToGetInstancePersistenceConfigArrayOutputWithContext added in v6.39.0

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

func (GetInstancePersistenceConfigArray) ToOutput added in v6.65.1

type GetInstancePersistenceConfigArrayInput added in v6.39.0

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 added in v6.39.0

type GetInstancePersistenceConfigArrayOutput struct{ *pulumi.OutputState }

func (GetInstancePersistenceConfigArrayOutput) ElementType added in v6.39.0

func (GetInstancePersistenceConfigArrayOutput) Index added in v6.39.0

func (GetInstancePersistenceConfigArrayOutput) ToGetInstancePersistenceConfigArrayOutput added in v6.39.0

func (o GetInstancePersistenceConfigArrayOutput) ToGetInstancePersistenceConfigArrayOutput() GetInstancePersistenceConfigArrayOutput

func (GetInstancePersistenceConfigArrayOutput) ToGetInstancePersistenceConfigArrayOutputWithContext added in v6.39.0

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

func (GetInstancePersistenceConfigArrayOutput) ToOutput added in v6.65.1

type GetInstancePersistenceConfigInput added in v6.39.0

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 added in v6.39.0

type GetInstancePersistenceConfigOutput struct{ *pulumi.OutputState }

func (GetInstancePersistenceConfigOutput) ElementType added in v6.39.0

func (GetInstancePersistenceConfigOutput) PersistenceMode added in v6.39.0

func (GetInstancePersistenceConfigOutput) RdbNextSnapshotTime added in v6.39.0

func (o GetInstancePersistenceConfigOutput) RdbNextSnapshotTime() pulumi.StringOutput

func (GetInstancePersistenceConfigOutput) RdbSnapshotPeriod added in v6.39.0

func (GetInstancePersistenceConfigOutput) RdbSnapshotStartTime added in v6.39.0

func (o GetInstancePersistenceConfigOutput) RdbSnapshotStartTime() pulumi.StringOutput

func (GetInstancePersistenceConfigOutput) ToGetInstancePersistenceConfigOutput added in v6.39.0

func (o GetInstancePersistenceConfigOutput) ToGetInstancePersistenceConfigOutput() GetInstancePersistenceConfigOutput

func (GetInstancePersistenceConfigOutput) ToGetInstancePersistenceConfigOutputWithContext added in v6.39.0

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

func (GetInstancePersistenceConfigOutput) ToOutput added in v6.65.1

type GetInstanceServerCaCert

type GetInstanceServerCaCert struct {
	Cert            string `pulumi:"cert"`
	CreateTime      string `pulumi:"createTime"`
	ExpireTime      string `pulumi:"expireTime"`
	SerialNumber    string `pulumi:"serialNumber"`
	Sha1Fingerprint string `pulumi:"sha1Fingerprint"`
}

type GetInstanceServerCaCertArgs

type GetInstanceServerCaCertArgs struct {
	Cert            pulumi.StringInput `pulumi:"cert"`
	CreateTime      pulumi.StringInput `pulumi:"createTime"`
	ExpireTime      pulumi.StringInput `pulumi:"expireTime"`
	SerialNumber    pulumi.StringInput `pulumi:"serialNumber"`
	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

func (GetInstanceServerCaCertArgs) ToOutput added in v6.65.1

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

func (GetInstanceServerCaCertArray) ToOutput added in v6.65.1

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

func (GetInstanceServerCaCertArrayOutput) ToOutput added in v6.65.1

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

func (GetInstanceServerCaCertOutput) CreateTime

func (GetInstanceServerCaCertOutput) ElementType

func (GetInstanceServerCaCertOutput) ExpireTime

func (GetInstanceServerCaCertOutput) SerialNumber

func (GetInstanceServerCaCertOutput) Sha1Fingerprint

func (GetInstanceServerCaCertOutput) ToGetInstanceServerCaCertOutput

func (o GetInstanceServerCaCertOutput) ToGetInstanceServerCaCertOutput() GetInstanceServerCaCertOutput

func (GetInstanceServerCaCertOutput) ToGetInstanceServerCaCertOutputWithContext

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

func (GetInstanceServerCaCertOutput) ToOutput added in v6.65.1

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)
	// 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.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"`
	// 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.
	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.
	MaintenanceSchedule InstanceMaintenanceScheduleOutput `pulumi:"maintenanceSchedule"`
	// 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"`
	// 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/v6/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{
			MemorySizeGb: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Redis Instance Full

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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{
			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/v6/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{
			AlternativeLocationId: pulumi.String("us-central1-f"),
			LocationId:            pulumi.String("us-central1-a"),
			MemorySizeGb:          pulumi.Int(1),
			PersistenceConfig: &redis.InstancePersistenceConfigArgs{
				PersistenceMode:   pulumi.String("RDB"),
				RdbSnapshotPeriod: pulumi.String("TWELVE_HOURS"),
			},
			Tier: pulumi.String("STANDARD_HA"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Redis Instance Private Service

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		redis_network, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{
			Name: "redis-test-network",
		}, nil)
		if err != nil {
			return err
		}
		serviceRange, err := compute.NewGlobalAddress(ctx, "serviceRange", &compute.GlobalAddressArgs{
			Purpose:      pulumi.String("VPC_PEERING"),
			AddressType:  pulumi.String("INTERNAL"),
			PrefixLength: pulumi.Int(16),
			Network:      *pulumi.String(redis_network.Id),
		})
		if err != nil {
			return err
		}
		privateServiceConnection, err := servicenetworking.NewConnection(ctx, "privateServiceConnection", &servicenetworking.ConnectionArgs{
			Network: *pulumi.String(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{
			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),
			ConnectMode:           pulumi.String("PRIVATE_SERVICE_ACCESS"),
			RedisVersion:          pulumi.String("REDIS_4_0"),
			DisplayName:           pulumi.String("Test Instance"),
		}, pulumi.DependsOn([]pulumi.Resource{
			privateServiceConnection,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Redis Instance Mrr

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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{
			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/v6/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/kms"
"github.com/pulumi/pulumi-gcp/sdk/v6/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, "redisKeyring", &kms.KeyRingArgs{
			Location: pulumi.String("us-central1"),
		})
		if err != nil {
			return err
		}
		redisKey, err := kms.NewCryptoKey(ctx, "redisKey", &kms.CryptoKeyArgs{
			KeyRing: redisKeyring.ID(),
		})
		if err != nil {
			return err
		}
		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{
			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

```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

func (*Instance) ToOutput added in v6.65.1

func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance]

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

func (InstanceArray) ToOutput added in v6.65.1

func (i InstanceArray) ToOutput(ctx context.Context) pulumix.Output[[]*Instance]

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

func (InstanceArrayOutput) ToOutput added in v6.65.1

type InstanceInput

type InstanceInput interface {
	pulumi.Input

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

type InstanceMaintenancePolicy added in v6.10.0

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 added in v6.10.0

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 added in v6.10.0

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutput added in v6.10.0

func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutputWithContext added in v6.10.0

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

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutput added in v6.10.0

func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutputWithContext added in v6.10.0

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

func (InstanceMaintenancePolicyArgs) ToOutput added in v6.65.1

type InstanceMaintenancePolicyInput added in v6.10.0

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 added in v6.10.0

type InstanceMaintenancePolicyOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyOutput) CreateTime added in v6.10.0

(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 added in v6.10.0

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

func (InstanceMaintenancePolicyOutput) ElementType added in v6.10.0

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutput added in v6.10.0

func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutputWithContext added in v6.10.0

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

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutput added in v6.10.0

func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutputWithContext added in v6.10.0

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

func (InstanceMaintenancePolicyOutput) ToOutput added in v6.65.1

func (InstanceMaintenancePolicyOutput) UpdateTime added in v6.10.0

(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 added in v6.10.0

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 added in v6.10.0

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

func InstanceMaintenancePolicyPtr added in v6.10.0

type InstanceMaintenancePolicyPtrOutput added in v6.10.0

type InstanceMaintenancePolicyPtrOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyPtrOutput) CreateTime added in v6.10.0

(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 added in v6.10.0

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

func (InstanceMaintenancePolicyPtrOutput) Elem added in v6.10.0

func (InstanceMaintenancePolicyPtrOutput) ElementType added in v6.10.0

func (InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutput added in v6.10.0

func (o InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput

func (InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutputWithContext added in v6.10.0

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

func (InstanceMaintenancePolicyPtrOutput) ToOutput added in v6.65.1

func (InstanceMaintenancePolicyPtrOutput) UpdateTime added in v6.10.0

(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 added in v6.10.0

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 added in v6.10.0

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 added in v6.10.0

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 added in v6.10.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput added in v6.10.0

func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext added in v6.10.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToOutput added in v6.65.1

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArray added in v6.10.0

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArray []InstanceMaintenancePolicyWeeklyMaintenanceWindowInput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ElementType added in v6.10.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput added in v6.10.0

func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext added in v6.10.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToOutput added in v6.65.1

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput added in v6.10.0

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 added in v6.10.0

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ElementType added in v6.10.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) Index added in v6.10.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput added in v6.10.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext added in v6.10.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToOutput added in v6.65.1

type InstanceMaintenancePolicyWeeklyMaintenanceWindowInput added in v6.10.0

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 added in v6.10.0

type InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Day added in v6.10.0

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 added in v6.10.0

(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 added in v6.10.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) StartTime added in v6.10.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput added in v6.10.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext added in v6.10.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToOutput added in v6.65.1

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime added in v6.10.0

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 added in v6.10.0

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 added in v6.10.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput added in v6.10.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext added in v6.10.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToOutput added in v6.65.1

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput added in v6.10.0

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 added in v6.10.0

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ElementType added in v6.10.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Hours added in v6.10.0

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 added in v6.10.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Nanos added in v6.10.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Seconds added in v6.10.0

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 added in v6.10.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext added in v6.10.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToOutput added in v6.65.1

type InstanceMaintenanceSchedule added in v6.10.0

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"`
	// Required. Start time of the window in UTC time.
	// Structure is documented below.
	StartTime *string `pulumi:"startTime"`
}

type InstanceMaintenanceScheduleArgs added in v6.10.0

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"`
	// Required. Start time of the window in UTC time.
	// Structure is documented below.
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
}

func (InstanceMaintenanceScheduleArgs) ElementType added in v6.10.0

func (InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutput added in v6.10.0

func (i InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput

func (InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutputWithContext added in v6.10.0

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

func (InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceSchedulePtrOutput added in v6.10.0

func (i InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceSchedulePtrOutput() InstanceMaintenanceSchedulePtrOutput

func (InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceSchedulePtrOutputWithContext added in v6.10.0

func (i InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceSchedulePtrOutputWithContext(ctx context.Context) InstanceMaintenanceSchedulePtrOutput

func (InstanceMaintenanceScheduleArgs) ToOutput added in v6.65.1

type InstanceMaintenanceScheduleInput added in v6.10.0

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 added in v6.10.0

type InstanceMaintenanceScheduleOutput struct{ *pulumi.OutputState }

func (InstanceMaintenanceScheduleOutput) ElementType added in v6.10.0

func (InstanceMaintenanceScheduleOutput) EndTime added in v6.10.0

(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 added in v6.10.0

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 added in v6.10.0

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

func (InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutput added in v6.10.0

func (o InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput

func (InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutputWithContext added in v6.10.0

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

func (InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceSchedulePtrOutput added in v6.10.0

func (o InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceSchedulePtrOutput() InstanceMaintenanceSchedulePtrOutput

func (InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceSchedulePtrOutputWithContext added in v6.10.0

func (o InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceSchedulePtrOutputWithContext(ctx context.Context) InstanceMaintenanceSchedulePtrOutput

func (InstanceMaintenanceScheduleOutput) ToOutput added in v6.65.1

type InstanceMaintenanceSchedulePtrInput added in v6.10.0

type InstanceMaintenanceSchedulePtrInput interface {
	pulumi.Input

	ToInstanceMaintenanceSchedulePtrOutput() InstanceMaintenanceSchedulePtrOutput
	ToInstanceMaintenanceSchedulePtrOutputWithContext(context.Context) InstanceMaintenanceSchedulePtrOutput
}

InstanceMaintenanceSchedulePtrInput is an input type that accepts InstanceMaintenanceScheduleArgs, InstanceMaintenanceSchedulePtr and InstanceMaintenanceSchedulePtrOutput values. You can construct a concrete instance of `InstanceMaintenanceSchedulePtrInput` via:

        InstanceMaintenanceScheduleArgs{...}

or:

        nil

func InstanceMaintenanceSchedulePtr added in v6.10.0

type InstanceMaintenanceSchedulePtrOutput added in v6.10.0

type InstanceMaintenanceSchedulePtrOutput struct{ *pulumi.OutputState }

func (InstanceMaintenanceSchedulePtrOutput) Elem added in v6.10.0

func (InstanceMaintenanceSchedulePtrOutput) ElementType added in v6.10.0

func (InstanceMaintenanceSchedulePtrOutput) EndTime added in v6.10.0

(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 (InstanceMaintenanceSchedulePtrOutput) ScheduleDeadlineTime added in v6.10.0

(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 (InstanceMaintenanceSchedulePtrOutput) StartTime added in v6.10.0

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

func (InstanceMaintenanceSchedulePtrOutput) ToInstanceMaintenanceSchedulePtrOutput added in v6.10.0

func (o InstanceMaintenanceSchedulePtrOutput) ToInstanceMaintenanceSchedulePtrOutput() InstanceMaintenanceSchedulePtrOutput

func (InstanceMaintenanceSchedulePtrOutput) ToInstanceMaintenanceSchedulePtrOutputWithContext added in v6.10.0

func (o InstanceMaintenanceSchedulePtrOutput) ToInstanceMaintenanceSchedulePtrOutputWithContext(ctx context.Context) InstanceMaintenanceSchedulePtrOutput

func (InstanceMaintenanceSchedulePtrOutput) ToOutput added in v6.65.1

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

func (InstanceMap) ToOutput added in v6.65.1

func (i InstanceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Instance]

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

func (InstanceMapOutput) ToOutput added in v6.65.1

type InstanceNode added in v6.4.0

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 added in v6.4.0

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 added in v6.4.0

func (InstanceNodeArgs) ElementType() reflect.Type

func (InstanceNodeArgs) ToInstanceNodeOutput added in v6.4.0

func (i InstanceNodeArgs) ToInstanceNodeOutput() InstanceNodeOutput

func (InstanceNodeArgs) ToInstanceNodeOutputWithContext added in v6.4.0

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

func (InstanceNodeArgs) ToOutput added in v6.65.1

type InstanceNodeArray added in v6.4.0

type InstanceNodeArray []InstanceNodeInput

func (InstanceNodeArray) ElementType added in v6.4.0

func (InstanceNodeArray) ElementType() reflect.Type

func (InstanceNodeArray) ToInstanceNodeArrayOutput added in v6.4.0

func (i InstanceNodeArray) ToInstanceNodeArrayOutput() InstanceNodeArrayOutput

func (InstanceNodeArray) ToInstanceNodeArrayOutputWithContext added in v6.4.0

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

func (InstanceNodeArray) ToOutput added in v6.65.1

type InstanceNodeArrayInput added in v6.4.0

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 added in v6.4.0

type InstanceNodeArrayOutput struct{ *pulumi.OutputState }

func (InstanceNodeArrayOutput) ElementType added in v6.4.0

func (InstanceNodeArrayOutput) ElementType() reflect.Type

func (InstanceNodeArrayOutput) Index added in v6.4.0

func (InstanceNodeArrayOutput) ToInstanceNodeArrayOutput added in v6.4.0

func (o InstanceNodeArrayOutput) ToInstanceNodeArrayOutput() InstanceNodeArrayOutput

func (InstanceNodeArrayOutput) ToInstanceNodeArrayOutputWithContext added in v6.4.0

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

func (InstanceNodeArrayOutput) ToOutput added in v6.65.1

type InstanceNodeInput added in v6.4.0

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 added in v6.4.0

type InstanceNodeOutput struct{ *pulumi.OutputState }

func (InstanceNodeOutput) ElementType added in v6.4.0

func (InstanceNodeOutput) ElementType() reflect.Type

func (InstanceNodeOutput) Id added in v6.4.0

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

func (InstanceNodeOutput) ToInstanceNodeOutput added in v6.4.0

func (o InstanceNodeOutput) ToInstanceNodeOutput() InstanceNodeOutput

func (InstanceNodeOutput) ToInstanceNodeOutputWithContext added in v6.4.0

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

func (InstanceNodeOutput) ToOutput added in v6.65.1

func (InstanceNodeOutput) Zone added in v6.4.0

(Output) Location of the node.

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) AlternativeLocationId added in v6.23.0

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 added in v6.23.0

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 added in v6.23.0

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 added in v6.23.0

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 added in v6.23.0

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 added in v6.23.0

func (o InstanceOutput) CreateTime() pulumi.StringOutput

(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 (InstanceOutput) CurrentLocationId added in v6.23.0

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 added in v6.31.0

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 added in v6.23.0

func (o InstanceOutput) DisplayName() pulumi.StringPtrOutput

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

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) Host added in v6.23.0

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

func (InstanceOutput) Labels added in v6.23.0

Resource labels to represent user provided metadata.

func (InstanceOutput) LocationId added in v6.23.0

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 added in v6.23.0

func (o InstanceOutput) MaintenancePolicy() InstanceMaintenancePolicyPtrOutput

Maintenance policy for an instance. Structure is documented below.

func (InstanceOutput) MaintenanceSchedule added in v6.23.0

func (o InstanceOutput) MaintenanceSchedule() InstanceMaintenanceScheduleOutput

Upcoming maintenance schedule. Structure is documented below.

func (InstanceOutput) MemorySizeGb added in v6.23.0

func (o InstanceOutput) MemorySizeGb() pulumi.IntOutput

Redis memory size in GiB.

***

func (InstanceOutput) Name added in v6.23.0

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

func (InstanceOutput) Nodes added in v6.23.0

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

func (InstanceOutput) PersistenceConfig added in v6.39.0

func (o InstanceOutput) PersistenceConfig() InstancePersistenceConfigOutput

Persistence configuration for an instance. Structure is documented below.

func (InstanceOutput) PersistenceIamIdentity added in v6.23.0

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 added in v6.23.0

func (o InstanceOutput) Port() pulumi.IntOutput

The port number of the exposed Redis endpoint.

func (InstanceOutput) Project added in v6.23.0

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) ReadEndpoint added in v6.23.0

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 added in v6.23.0

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 added in v6.23.0

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 added in v6.23.0

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 added in v6.23.0

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 added in v6.23.0

func (o InstanceOutput) Region() pulumi.StringOutput

The name of the Redis region of the instance.

func (InstanceOutput) ReplicaCount added in v6.23.0

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 added in v6.23.0

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 added in v6.23.0

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 added in v6.23.0

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

func (InstanceOutput) Tier added in v6.23.0

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) ToOutput added in v6.65.1

func (InstanceOutput) TransitEncryptionMode added in v6.23.0

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 added in v6.39.0

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 added in v6.39.0

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 added in v6.39.0

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigOutput added in v6.39.0

func (i InstancePersistenceConfigArgs) ToInstancePersistenceConfigOutput() InstancePersistenceConfigOutput

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigOutputWithContext added in v6.39.0

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

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigPtrOutput added in v6.39.0

func (i InstancePersistenceConfigArgs) ToInstancePersistenceConfigPtrOutput() InstancePersistenceConfigPtrOutput

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigPtrOutputWithContext added in v6.39.0

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

func (InstancePersistenceConfigArgs) ToOutput added in v6.65.1

type InstancePersistenceConfigInput added in v6.39.0

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 added in v6.39.0

type InstancePersistenceConfigOutput struct{ *pulumi.OutputState }

func (InstancePersistenceConfigOutput) ElementType added in v6.39.0

func (InstancePersistenceConfigOutput) PersistenceMode added in v6.39.0

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 added in v6.39.0

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 added in v6.39.0

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 added in v6.39.0

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 added in v6.39.0

func (o InstancePersistenceConfigOutput) ToInstancePersistenceConfigOutput() InstancePersistenceConfigOutput

func (InstancePersistenceConfigOutput) ToInstancePersistenceConfigOutputWithContext added in v6.39.0

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

func (InstancePersistenceConfigOutput) ToInstancePersistenceConfigPtrOutput added in v6.39.0

func (o InstancePersistenceConfigOutput) ToInstancePersistenceConfigPtrOutput() InstancePersistenceConfigPtrOutput

func (InstancePersistenceConfigOutput) ToInstancePersistenceConfigPtrOutputWithContext added in v6.39.0

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

func (InstancePersistenceConfigOutput) ToOutput added in v6.65.1

type InstancePersistenceConfigPtrInput added in v6.39.0

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

func InstancePersistenceConfigPtr added in v6.39.0

type InstancePersistenceConfigPtrOutput added in v6.39.0

type InstancePersistenceConfigPtrOutput struct{ *pulumi.OutputState }

func (InstancePersistenceConfigPtrOutput) Elem added in v6.39.0

func (InstancePersistenceConfigPtrOutput) ElementType added in v6.39.0

func (InstancePersistenceConfigPtrOutput) PersistenceMode added in v6.39.0

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 added in v6.39.0

(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 added in v6.39.0

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 added in v6.39.0

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 added in v6.39.0

func (o InstancePersistenceConfigPtrOutput) ToInstancePersistenceConfigPtrOutput() InstancePersistenceConfigPtrOutput

func (InstancePersistenceConfigPtrOutput) ToInstancePersistenceConfigPtrOutputWithContext added in v6.39.0

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

func (InstancePersistenceConfigPtrOutput) ToOutput added in v6.65.1

type InstanceServerCaCert

type InstanceServerCaCert struct {
	// (Output)
	// The certificate data in PEM format.
	Cert *string `pulumi:"cert"`
	// (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"`
	// (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)
	// 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"`
	// (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

func (InstanceServerCaCertArgs) ToOutput added in v6.65.1

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

func (InstanceServerCaCertArray) ToOutput added in v6.65.1

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

func (InstanceServerCaCertArrayOutput) ToOutput added in v6.65.1

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) 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 (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

func (InstanceServerCaCertOutput) ToOutput added in v6.65.1

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)
	// 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
	// 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
	// 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.
	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.
	MaintenanceSchedule InstanceMaintenanceSchedulePtrInput
	// 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
	// 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"`
	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"`
	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

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myInstance, err := redis.LookupInstance(ctx, &redis.LookupInstanceArgs{
			Name: "my-redis-instance",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("instanceMemorySizeGb", myInstance.MemorySizeGb)
		ctx.Export("instanceConnectMode", myInstance.ConnectMode)
		ctx.Export("instanceAuthorizedNetwork", myInstance.AuthorizedNetwork)
		return nil
	})
}

```

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 added in v6.31.0

func (o LookupInstanceResultOutput) CustomerManagedKey() pulumi.StringOutput

func (LookupInstanceResultOutput) DisplayName

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 added in v6.10.0

func (LookupInstanceResultOutput) MaintenanceSchedules added in v6.10.0

func (LookupInstanceResultOutput) MemorySizeGb

func (o LookupInstanceResultOutput) MemorySizeGb() pulumi.IntOutput

func (LookupInstanceResultOutput) Name

func (LookupInstanceResultOutput) Nodes added in v6.4.0

func (LookupInstanceResultOutput) PersistenceConfigs added in v6.39.0

func (LookupInstanceResultOutput) PersistenceIamIdentity

func (o LookupInstanceResultOutput) PersistenceIamIdentity() pulumi.StringOutput

func (LookupInstanceResultOutput) Port

func (LookupInstanceResultOutput) Project

func (LookupInstanceResultOutput) ReadEndpoint added in v6.4.0

func (LookupInstanceResultOutput) ReadEndpointPort added in v6.4.0

func (o LookupInstanceResultOutput) ReadEndpointPort() pulumi.IntOutput

func (LookupInstanceResultOutput) ReadReplicasMode added in v6.4.0

func (o LookupInstanceResultOutput) ReadReplicasMode() pulumi.StringOutput

func (LookupInstanceResultOutput) RedisConfigs

func (LookupInstanceResultOutput) RedisVersion

func (LookupInstanceResultOutput) Region

func (LookupInstanceResultOutput) ReplicaCount added in v6.4.0

func (o LookupInstanceResultOutput) ReplicaCount() pulumi.IntOutput

func (LookupInstanceResultOutput) ReservedIpRange

func (o LookupInstanceResultOutput) ReservedIpRange() pulumi.StringOutput

func (LookupInstanceResultOutput) SecondaryIpRange added in v6.22.0

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) ToOutput added in v6.65.1

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