memorystore

package
v8.12.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// Optional. Immutable. Authorization mode of the instance. Possible values:
	// AUTH_DISABLED
	// IAM_AUTH
	AuthorizationMode pulumi.StringOutput `pulumi:"authorizationMode"`
	// Output only. Creation timestamp of the instance.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. If set to true deletion of the instance will fail.
	DeletionProtectionEnabled pulumi.BoolPtrOutput `pulumi:"deletionProtectionEnabled"`
	// Required. Immutable. User inputs for the auto-created PSC connections.
	DesiredPscAutoConnections InstanceDesiredPscAutoConnectionArrayOutput `pulumi:"desiredPscAutoConnections"`
	// Output only. Endpoints clients can connect to the instance through. Currently only one
	// discovery endpoint is supported.
	// Structure is documented below.
	DiscoveryEndpoints InstanceDiscoveryEndpointArrayOutput `pulumi:"discoveryEndpoints"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// Endpoints for the instance.
	Endpoints pulumi.ArrayArrayOutput `pulumi:"endpoints"`
	// Optional. User-provided engine configurations for the instance.
	EngineConfigs pulumi.StringMapOutput `pulumi:"engineConfigs"`
	// Optional. Immutable. Engine version of the instance.
	EngineVersion pulumi.StringOutput `pulumi:"engineVersion"`
	// Required. The ID to use for the instance, which will become the final component of
	// the instance's resource name.
	// This value is subject to the following restrictions:
	// * Must be 4-63 characters in length
	// * Must begin with a letter or digit
	// * Must contain only lowercase letters, digits, and hyphens
	// * Must not end with a hyphen
	// * Must be unique within a location
	//
	// ***
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Optional. Labels to represent user-provided metadata.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `memorystore.googleapis.com/CertificateAuthority`.
	Location pulumi.StringOutput `pulumi:"location"`
	// Optional. Standalone or cluster.
	// Possible values:
	// CLUSTER
	// STANDALONE
	// Possible values are: `CLUSTER`, `STANDALONE`.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// Identifier. Unique name of the instance.
	// Format: projects/{project}/locations/{location}/instances/{instance}
	Name pulumi.StringOutput `pulumi:"name"`
	// Represents configuration for nodes of the instance.
	// Structure is documented below.
	NodeConfigs InstanceNodeConfigArrayOutput `pulumi:"nodeConfigs"`
	// Optional. Immutable. Machine type for individual nodes of the instance.
	// Possible values:
	// SHARED_CORE_NANO
	// HIGHMEM_MEDIUM
	// HIGHMEM_XLARGE
	// STANDARD_SMALL
	NodeType pulumi.StringOutput `pulumi:"nodeType"`
	// Represents persistence configuration for a instance.
	// Structure is documented below.
	PersistenceConfig InstancePersistenceConfigOutput `pulumi:"persistenceConfig"`
	// 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. User inputs and resource details of the auto-created PSC connections.
	// Structure is documented below.
	PscAutoConnections InstancePscAutoConnectionArrayOutput `pulumi:"pscAutoConnections"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.
	ReplicaCount pulumi.IntOutput `pulumi:"replicaCount"`
	// Required. Number of shards for the instance.
	ShardCount pulumi.IntOutput `pulumi:"shardCount"`
	// Output only. Current state of the instance.
	// Possible values:
	// CREATING
	// ACTIVE
	// UPDATING
	// DELETING
	State pulumi.StringOutput `pulumi:"state"`
	// Additional information about the state of the instance.
	// Structure is documented below.
	StateInfos InstanceStateInfoArrayOutput `pulumi:"stateInfos"`
	// Optional. Immutable. In-transit encryption mode of the instance.
	// Possible values:
	// TRANSIT_ENCRYPTION_DISABLED
	// SERVER_AUTHENTICATION
	TransitEncryptionMode pulumi.StringOutput `pulumi:"transitEncryptionMode"`
	// Output only. System assigned, unique identifier for the instance.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// Output only. Latest update timestamp of the instance.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// Zone distribution configuration for allocation of instance resources.
	// Structure is documented below.
	ZoneDistributionConfig InstanceZoneDistributionConfigOutput `pulumi:"zoneDistributionConfig"`
}

A Google Cloud Memorystore instance.

## Example Usage

### Memorystore Instance Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/memorystore"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		producerNet, err := compute.NewNetwork(ctx, "producer_net", &compute.NetworkArgs{
			Name:                  pulumi.String("my-network"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		producerSubnet, err := compute.NewSubnetwork(ctx, "producer_subnet", &compute.SubnetworkArgs{
			Name:        pulumi.String("my-subnet"),
			IpCidrRange: pulumi.String("10.0.0.248/29"),
			Region:      pulumi.String("us-central1"),
			Network:     producerNet.ID(),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewServiceConnectionPolicy(ctx, "default", &networkconnectivity.ServiceConnectionPolicyArgs{
			Name:         pulumi.String("my-policy"),
			Location:     pulumi.String("us-central1"),
			ServiceClass: pulumi.String("gcp-memorystore"),
			Description:  pulumi.String("my basic service connection policy"),
			Network:      producerNet.ID(),
			PscConfig: &networkconnectivity.ServiceConnectionPolicyPscConfigArgs{
				Subnetworks: pulumi.StringArray{
					producerSubnet.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil)
		if err != nil {
			return err
		}
		_, err = memorystore.NewInstance(ctx, "instance-basic", &memorystore.InstanceArgs{
			InstanceId: pulumi.String("basic-instance"),
			ShardCount: pulumi.Int(3),
			DesiredPscAutoConnections: memorystore.InstanceDesiredPscAutoConnectionArray{
				&memorystore.InstanceDesiredPscAutoConnectionArgs{
					Network:   producerNet.ID(),
					ProjectId: pulumi.String(project.ProjectId),
				},
			},
			Location:                  pulumi.String("us-central1"),
			DeletionProtectionEnabled: pulumi.Bool(false),
		}, pulumi.DependsOn([]pulumi.Resource{
			_default,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Memorystore Instance Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/memorystore"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		producerNet, err := compute.NewNetwork(ctx, "producer_net", &compute.NetworkArgs{
			Name:                  pulumi.String("my-network"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		producerSubnet, err := compute.NewSubnetwork(ctx, "producer_subnet", &compute.SubnetworkArgs{
			Name:        pulumi.String("my-subnet"),
			IpCidrRange: pulumi.String("10.0.0.248/29"),
			Region:      pulumi.String("us-central1"),
			Network:     producerNet.ID(),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewServiceConnectionPolicy(ctx, "default", &networkconnectivity.ServiceConnectionPolicyArgs{
			Name:         pulumi.String("my-policy"),
			Location:     pulumi.String("us-central1"),
			ServiceClass: pulumi.String("gcp-memorystore"),
			Description:  pulumi.String("my basic service connection policy"),
			Network:      producerNet.ID(),
			PscConfig: &networkconnectivity.ServiceConnectionPolicyPscConfigArgs{
				Subnetworks: pulumi.StringArray{
					producerSubnet.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil)
		if err != nil {
			return err
		}
		_, err = memorystore.NewInstance(ctx, "instance-full", &memorystore.InstanceArgs{
			InstanceId: pulumi.String("full-instance"),
			ShardCount: pulumi.Int(3),
			DesiredPscAutoConnections: memorystore.InstanceDesiredPscAutoConnectionArray{
				&memorystore.InstanceDesiredPscAutoConnectionArgs{
					Network:   producerNet.ID(),
					ProjectId: pulumi.String(project.ProjectId),
				},
			},
			Location:              pulumi.String("us-central1"),
			ReplicaCount:          pulumi.Int(2),
			NodeType:              pulumi.String("SHARED_CORE_NANO"),
			TransitEncryptionMode: pulumi.String("TRANSIT_ENCRYPTION_DISABLED"),
			AuthorizationMode:     pulumi.String("AUTH_DISABLED"),
			EngineConfigs: pulumi.StringMap{
				"maxmemory-policy": pulumi.String("volatile-ttl"),
			},
			ZoneDistributionConfig: &memorystore.InstanceZoneDistributionConfigArgs{
				Mode: pulumi.String("SINGLE_ZONE"),
				Zone: pulumi.String("us-central1-b"),
			},
			EngineVersion:             pulumi.String("VALKEY_7_2"),
			DeletionProtectionEnabled: pulumi.Bool(false),
			Mode:                      pulumi.String("CLUSTER"),
			PersistenceConfig: &memorystore.InstancePersistenceConfigArgs{
				Mode: pulumi.String("RDB"),
				RdbConfig: &memorystore.InstancePersistenceConfigRdbConfigArgs{
					RdbSnapshotPeriod:    pulumi.String("ONE_HOUR"),
					RdbSnapshotStartTime: pulumi.String("2024-10-02T15:01:23Z"),
				},
			},
			Labels: pulumi.StringMap{
				"abc": pulumi.String("xyz"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			_default,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Memorystore Instance Persistence Aof

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/memorystore"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		producerNet, err := compute.NewNetwork(ctx, "producer_net", &compute.NetworkArgs{
			Name:                  pulumi.String("my-network"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		producerSubnet, err := compute.NewSubnetwork(ctx, "producer_subnet", &compute.SubnetworkArgs{
			Name:        pulumi.String("my-subnet"),
			IpCidrRange: pulumi.String("10.0.0.248/29"),
			Region:      pulumi.String("us-central1"),
			Network:     producerNet.ID(),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewServiceConnectionPolicy(ctx, "default", &networkconnectivity.ServiceConnectionPolicyArgs{
			Name:         pulumi.String("my-policy"),
			Location:     pulumi.String("us-central1"),
			ServiceClass: pulumi.String("gcp-memorystore"),
			Description:  pulumi.String("my basic service connection policy"),
			Network:      producerNet.ID(),
			PscConfig: &networkconnectivity.ServiceConnectionPolicyPscConfigArgs{
				Subnetworks: pulumi.StringArray{
					producerSubnet.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil)
		if err != nil {
			return err
		}
		_, err = memorystore.NewInstance(ctx, "instance-persistence-aof", &memorystore.InstanceArgs{
			InstanceId: pulumi.String("aof-instance"),
			ShardCount: pulumi.Int(3),
			DesiredPscAutoConnections: memorystore.InstanceDesiredPscAutoConnectionArray{
				&memorystore.InstanceDesiredPscAutoConnectionArgs{
					Network:   producerNet.ID(),
					ProjectId: pulumi.String(project.ProjectId),
				},
			},
			Location: pulumi.String("us-central1"),
			PersistenceConfig: &memorystore.InstancePersistenceConfigArgs{
				Mode: pulumi.String("AOF"),
				AofConfig: &memorystore.InstancePersistenceConfigAofConfigArgs{
					AppendFsync: pulumi.String("EVERY_SEC"),
				},
			},
			DeletionProtectionEnabled: pulumi.Bool(false),
		}, pulumi.DependsOn([]pulumi.Resource{
			_default,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Instance can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/instances/{{instance_id}}`

* `{{project}}/{{location}}/{{instance_id}}`

* `{{location}}/{{instance_id}}`

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

```sh $ pulumi import gcp:memorystore/instance:Instance default projects/{{project}}/locations/{{location}}/instances/{{instance_id}} ```

```sh $ pulumi import gcp:memorystore/instance:Instance default {{project}}/{{location}}/{{instance_id}} ```

```sh $ pulumi import gcp:memorystore/instance:Instance default {{location}}/{{instance_id}} ```

func GetInstance

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

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

func NewInstance

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

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

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

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

type InstanceArgs

type InstanceArgs struct {
	// Optional. Immutable. Authorization mode of the instance. Possible values:
	// AUTH_DISABLED
	// IAM_AUTH
	AuthorizationMode pulumi.StringPtrInput
	// Optional. If set to true deletion of the instance will fail.
	DeletionProtectionEnabled pulumi.BoolPtrInput
	// Required. Immutable. User inputs for the auto-created PSC connections.
	DesiredPscAutoConnections InstanceDesiredPscAutoConnectionArrayInput
	// Optional. User-provided engine configurations for the instance.
	EngineConfigs pulumi.StringMapInput
	// Optional. Immutable. Engine version of the instance.
	EngineVersion pulumi.StringPtrInput
	// Required. The ID to use for the instance, which will become the final component of
	// the instance's resource name.
	// This value is subject to the following restrictions:
	// * Must be 4-63 characters in length
	// * Must begin with a letter or digit
	// * Must contain only lowercase letters, digits, and hyphens
	// * Must not end with a hyphen
	// * Must be unique within a location
	//
	// ***
	InstanceId pulumi.StringInput
	// Optional. Labels to represent user-provided metadata.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `memorystore.googleapis.com/CertificateAuthority`.
	Location pulumi.StringInput
	// Optional. Standalone or cluster.
	// Possible values:
	// CLUSTER
	// STANDALONE
	// Possible values are: `CLUSTER`, `STANDALONE`.
	Mode pulumi.StringPtrInput
	// Optional. Immutable. Machine type for individual nodes of the instance.
	// Possible values:
	// SHARED_CORE_NANO
	// HIGHMEM_MEDIUM
	// HIGHMEM_XLARGE
	// STANDARD_SMALL
	NodeType pulumi.StringPtrInput
	// Represents persistence configuration for a 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. Number of replica nodes per shard. If omitted the default is 0 replicas.
	ReplicaCount pulumi.IntPtrInput
	// Required. Number of shards for the instance.
	ShardCount pulumi.IntInput
	// Optional. Immutable. In-transit encryption mode of the instance.
	// Possible values:
	// TRANSIT_ENCRYPTION_DISABLED
	// SERVER_AUTHENTICATION
	TransitEncryptionMode pulumi.StringPtrInput
	// Zone distribution configuration for allocation of instance resources.
	// Structure is documented below.
	ZoneDistributionConfig InstanceZoneDistributionConfigPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

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

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

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

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

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

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

type InstanceDesiredPscAutoConnection

type InstanceDesiredPscAutoConnection struct {
	// (Output)
	// Output only. The consumer network where the IP address resides, in the form of
	// projects/{project_id}/global/networks/{network_id}.
	Network string `pulumi:"network"`
	// (Output)
	// Output only. The consumer projectId where the forwarding rule is created from.
	ProjectId string `pulumi:"projectId"`
}

type InstanceDesiredPscAutoConnectionArgs

type InstanceDesiredPscAutoConnectionArgs struct {
	// (Output)
	// Output only. The consumer network where the IP address resides, in the form of
	// projects/{project_id}/global/networks/{network_id}.
	Network pulumi.StringInput `pulumi:"network"`
	// (Output)
	// Output only. The consumer projectId where the forwarding rule is created from.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

func (InstanceDesiredPscAutoConnectionArgs) ElementType

func (InstanceDesiredPscAutoConnectionArgs) ToInstanceDesiredPscAutoConnectionOutput

func (i InstanceDesiredPscAutoConnectionArgs) ToInstanceDesiredPscAutoConnectionOutput() InstanceDesiredPscAutoConnectionOutput

func (InstanceDesiredPscAutoConnectionArgs) ToInstanceDesiredPscAutoConnectionOutputWithContext

func (i InstanceDesiredPscAutoConnectionArgs) ToInstanceDesiredPscAutoConnectionOutputWithContext(ctx context.Context) InstanceDesiredPscAutoConnectionOutput

type InstanceDesiredPscAutoConnectionArray

type InstanceDesiredPscAutoConnectionArray []InstanceDesiredPscAutoConnectionInput

func (InstanceDesiredPscAutoConnectionArray) ElementType

func (InstanceDesiredPscAutoConnectionArray) ToInstanceDesiredPscAutoConnectionArrayOutput

func (i InstanceDesiredPscAutoConnectionArray) ToInstanceDesiredPscAutoConnectionArrayOutput() InstanceDesiredPscAutoConnectionArrayOutput

func (InstanceDesiredPscAutoConnectionArray) ToInstanceDesiredPscAutoConnectionArrayOutputWithContext

func (i InstanceDesiredPscAutoConnectionArray) ToInstanceDesiredPscAutoConnectionArrayOutputWithContext(ctx context.Context) InstanceDesiredPscAutoConnectionArrayOutput

type InstanceDesiredPscAutoConnectionArrayInput

type InstanceDesiredPscAutoConnectionArrayInput interface {
	pulumi.Input

	ToInstanceDesiredPscAutoConnectionArrayOutput() InstanceDesiredPscAutoConnectionArrayOutput
	ToInstanceDesiredPscAutoConnectionArrayOutputWithContext(context.Context) InstanceDesiredPscAutoConnectionArrayOutput
}

InstanceDesiredPscAutoConnectionArrayInput is an input type that accepts InstanceDesiredPscAutoConnectionArray and InstanceDesiredPscAutoConnectionArrayOutput values. You can construct a concrete instance of `InstanceDesiredPscAutoConnectionArrayInput` via:

InstanceDesiredPscAutoConnectionArray{ InstanceDesiredPscAutoConnectionArgs{...} }

type InstanceDesiredPscAutoConnectionArrayOutput

type InstanceDesiredPscAutoConnectionArrayOutput struct{ *pulumi.OutputState }

func (InstanceDesiredPscAutoConnectionArrayOutput) ElementType

func (InstanceDesiredPscAutoConnectionArrayOutput) Index

func (InstanceDesiredPscAutoConnectionArrayOutput) ToInstanceDesiredPscAutoConnectionArrayOutput

func (o InstanceDesiredPscAutoConnectionArrayOutput) ToInstanceDesiredPscAutoConnectionArrayOutput() InstanceDesiredPscAutoConnectionArrayOutput

func (InstanceDesiredPscAutoConnectionArrayOutput) ToInstanceDesiredPscAutoConnectionArrayOutputWithContext

func (o InstanceDesiredPscAutoConnectionArrayOutput) ToInstanceDesiredPscAutoConnectionArrayOutputWithContext(ctx context.Context) InstanceDesiredPscAutoConnectionArrayOutput

type InstanceDesiredPscAutoConnectionInput

type InstanceDesiredPscAutoConnectionInput interface {
	pulumi.Input

	ToInstanceDesiredPscAutoConnectionOutput() InstanceDesiredPscAutoConnectionOutput
	ToInstanceDesiredPscAutoConnectionOutputWithContext(context.Context) InstanceDesiredPscAutoConnectionOutput
}

InstanceDesiredPscAutoConnectionInput is an input type that accepts InstanceDesiredPscAutoConnectionArgs and InstanceDesiredPscAutoConnectionOutput values. You can construct a concrete instance of `InstanceDesiredPscAutoConnectionInput` via:

InstanceDesiredPscAutoConnectionArgs{...}

type InstanceDesiredPscAutoConnectionOutput

type InstanceDesiredPscAutoConnectionOutput struct{ *pulumi.OutputState }

func (InstanceDesiredPscAutoConnectionOutput) ElementType

func (InstanceDesiredPscAutoConnectionOutput) Network

(Output) Output only. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.

func (InstanceDesiredPscAutoConnectionOutput) ProjectId

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

func (InstanceDesiredPscAutoConnectionOutput) ToInstanceDesiredPscAutoConnectionOutput

func (o InstanceDesiredPscAutoConnectionOutput) ToInstanceDesiredPscAutoConnectionOutput() InstanceDesiredPscAutoConnectionOutput

func (InstanceDesiredPscAutoConnectionOutput) ToInstanceDesiredPscAutoConnectionOutputWithContext

func (o InstanceDesiredPscAutoConnectionOutput) ToInstanceDesiredPscAutoConnectionOutputWithContext(ctx context.Context) InstanceDesiredPscAutoConnectionOutput

type InstanceDiscoveryEndpoint

type InstanceDiscoveryEndpoint struct {
	// (Output)
	// Output only. IP address of the exposed endpoint clients connect to.
	Address *string `pulumi:"address"`
	// (Output)
	// Output only. The consumer network where the IP address resides, in the form of
	// projects/{project_id}/global/networks/{network_id}.
	Network *string `pulumi:"network"`
	// (Output)
	// Output only. Ports of the exposed endpoint.
	Port *int `pulumi:"port"`
}

type InstanceDiscoveryEndpointArgs

type InstanceDiscoveryEndpointArgs struct {
	// (Output)
	// Output only. IP address of the exposed endpoint clients connect to.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// (Output)
	// Output only. The consumer network where the IP address resides, in the form of
	// projects/{project_id}/global/networks/{network_id}.
	Network pulumi.StringPtrInput `pulumi:"network"`
	// (Output)
	// Output only. Ports of the exposed endpoint.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (InstanceDiscoveryEndpointArgs) ElementType

func (InstanceDiscoveryEndpointArgs) ToInstanceDiscoveryEndpointOutput

func (i InstanceDiscoveryEndpointArgs) ToInstanceDiscoveryEndpointOutput() InstanceDiscoveryEndpointOutput

func (InstanceDiscoveryEndpointArgs) ToInstanceDiscoveryEndpointOutputWithContext

func (i InstanceDiscoveryEndpointArgs) ToInstanceDiscoveryEndpointOutputWithContext(ctx context.Context) InstanceDiscoveryEndpointOutput

type InstanceDiscoveryEndpointArray

type InstanceDiscoveryEndpointArray []InstanceDiscoveryEndpointInput

func (InstanceDiscoveryEndpointArray) ElementType

func (InstanceDiscoveryEndpointArray) ToInstanceDiscoveryEndpointArrayOutput

func (i InstanceDiscoveryEndpointArray) ToInstanceDiscoveryEndpointArrayOutput() InstanceDiscoveryEndpointArrayOutput

func (InstanceDiscoveryEndpointArray) ToInstanceDiscoveryEndpointArrayOutputWithContext

func (i InstanceDiscoveryEndpointArray) ToInstanceDiscoveryEndpointArrayOutputWithContext(ctx context.Context) InstanceDiscoveryEndpointArrayOutput

type InstanceDiscoveryEndpointArrayInput

type InstanceDiscoveryEndpointArrayInput interface {
	pulumi.Input

	ToInstanceDiscoveryEndpointArrayOutput() InstanceDiscoveryEndpointArrayOutput
	ToInstanceDiscoveryEndpointArrayOutputWithContext(context.Context) InstanceDiscoveryEndpointArrayOutput
}

InstanceDiscoveryEndpointArrayInput is an input type that accepts InstanceDiscoveryEndpointArray and InstanceDiscoveryEndpointArrayOutput values. You can construct a concrete instance of `InstanceDiscoveryEndpointArrayInput` via:

InstanceDiscoveryEndpointArray{ InstanceDiscoveryEndpointArgs{...} }

type InstanceDiscoveryEndpointArrayOutput

type InstanceDiscoveryEndpointArrayOutput struct{ *pulumi.OutputState }

func (InstanceDiscoveryEndpointArrayOutput) ElementType

func (InstanceDiscoveryEndpointArrayOutput) Index

func (InstanceDiscoveryEndpointArrayOutput) ToInstanceDiscoveryEndpointArrayOutput

func (o InstanceDiscoveryEndpointArrayOutput) ToInstanceDiscoveryEndpointArrayOutput() InstanceDiscoveryEndpointArrayOutput

func (InstanceDiscoveryEndpointArrayOutput) ToInstanceDiscoveryEndpointArrayOutputWithContext

func (o InstanceDiscoveryEndpointArrayOutput) ToInstanceDiscoveryEndpointArrayOutputWithContext(ctx context.Context) InstanceDiscoveryEndpointArrayOutput

type InstanceDiscoveryEndpointInput

type InstanceDiscoveryEndpointInput interface {
	pulumi.Input

	ToInstanceDiscoveryEndpointOutput() InstanceDiscoveryEndpointOutput
	ToInstanceDiscoveryEndpointOutputWithContext(context.Context) InstanceDiscoveryEndpointOutput
}

InstanceDiscoveryEndpointInput is an input type that accepts InstanceDiscoveryEndpointArgs and InstanceDiscoveryEndpointOutput values. You can construct a concrete instance of `InstanceDiscoveryEndpointInput` via:

InstanceDiscoveryEndpointArgs{...}

type InstanceDiscoveryEndpointOutput

type InstanceDiscoveryEndpointOutput struct{ *pulumi.OutputState }

func (InstanceDiscoveryEndpointOutput) Address

(Output) Output only. IP address of the exposed endpoint clients connect to.

func (InstanceDiscoveryEndpointOutput) ElementType

func (InstanceDiscoveryEndpointOutput) Network

(Output) Output only. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.

func (InstanceDiscoveryEndpointOutput) Port

(Output) Output only. Ports of the exposed endpoint.

func (InstanceDiscoveryEndpointOutput) ToInstanceDiscoveryEndpointOutput

func (o InstanceDiscoveryEndpointOutput) ToInstanceDiscoveryEndpointOutput() InstanceDiscoveryEndpointOutput

func (InstanceDiscoveryEndpointOutput) ToInstanceDiscoveryEndpointOutputWithContext

func (o InstanceDiscoveryEndpointOutput) ToInstanceDiscoveryEndpointOutputWithContext(ctx context.Context) InstanceDiscoveryEndpointOutput

type InstanceInput

type InstanceInput interface {
	pulumi.Input

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

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

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

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

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

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

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

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

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

type InstanceNodeConfig

type InstanceNodeConfig struct {
	// (Output)
	// Output only. Memory size in GB of the node.
	SizeGb *float64 `pulumi:"sizeGb"`
}

type InstanceNodeConfigArgs

type InstanceNodeConfigArgs struct {
	// (Output)
	// Output only. Memory size in GB of the node.
	SizeGb pulumi.Float64PtrInput `pulumi:"sizeGb"`
}

func (InstanceNodeConfigArgs) ElementType

func (InstanceNodeConfigArgs) ElementType() reflect.Type

func (InstanceNodeConfigArgs) ToInstanceNodeConfigOutput

func (i InstanceNodeConfigArgs) ToInstanceNodeConfigOutput() InstanceNodeConfigOutput

func (InstanceNodeConfigArgs) ToInstanceNodeConfigOutputWithContext

func (i InstanceNodeConfigArgs) ToInstanceNodeConfigOutputWithContext(ctx context.Context) InstanceNodeConfigOutput

type InstanceNodeConfigArray

type InstanceNodeConfigArray []InstanceNodeConfigInput

func (InstanceNodeConfigArray) ElementType

func (InstanceNodeConfigArray) ElementType() reflect.Type

func (InstanceNodeConfigArray) ToInstanceNodeConfigArrayOutput

func (i InstanceNodeConfigArray) ToInstanceNodeConfigArrayOutput() InstanceNodeConfigArrayOutput

func (InstanceNodeConfigArray) ToInstanceNodeConfigArrayOutputWithContext

func (i InstanceNodeConfigArray) ToInstanceNodeConfigArrayOutputWithContext(ctx context.Context) InstanceNodeConfigArrayOutput

type InstanceNodeConfigArrayInput

type InstanceNodeConfigArrayInput interface {
	pulumi.Input

	ToInstanceNodeConfigArrayOutput() InstanceNodeConfigArrayOutput
	ToInstanceNodeConfigArrayOutputWithContext(context.Context) InstanceNodeConfigArrayOutput
}

InstanceNodeConfigArrayInput is an input type that accepts InstanceNodeConfigArray and InstanceNodeConfigArrayOutput values. You can construct a concrete instance of `InstanceNodeConfigArrayInput` via:

InstanceNodeConfigArray{ InstanceNodeConfigArgs{...} }

type InstanceNodeConfigArrayOutput

type InstanceNodeConfigArrayOutput struct{ *pulumi.OutputState }

func (InstanceNodeConfigArrayOutput) ElementType

func (InstanceNodeConfigArrayOutput) Index

func (InstanceNodeConfigArrayOutput) ToInstanceNodeConfigArrayOutput

func (o InstanceNodeConfigArrayOutput) ToInstanceNodeConfigArrayOutput() InstanceNodeConfigArrayOutput

func (InstanceNodeConfigArrayOutput) ToInstanceNodeConfigArrayOutputWithContext

func (o InstanceNodeConfigArrayOutput) ToInstanceNodeConfigArrayOutputWithContext(ctx context.Context) InstanceNodeConfigArrayOutput

type InstanceNodeConfigInput

type InstanceNodeConfigInput interface {
	pulumi.Input

	ToInstanceNodeConfigOutput() InstanceNodeConfigOutput
	ToInstanceNodeConfigOutputWithContext(context.Context) InstanceNodeConfigOutput
}

InstanceNodeConfigInput is an input type that accepts InstanceNodeConfigArgs and InstanceNodeConfigOutput values. You can construct a concrete instance of `InstanceNodeConfigInput` via:

InstanceNodeConfigArgs{...}

type InstanceNodeConfigOutput

type InstanceNodeConfigOutput struct{ *pulumi.OutputState }

func (InstanceNodeConfigOutput) ElementType

func (InstanceNodeConfigOutput) ElementType() reflect.Type

func (InstanceNodeConfigOutput) SizeGb

(Output) Output only. Memory size in GB of the node.

func (InstanceNodeConfigOutput) ToInstanceNodeConfigOutput

func (o InstanceNodeConfigOutput) ToInstanceNodeConfigOutput() InstanceNodeConfigOutput

func (InstanceNodeConfigOutput) ToInstanceNodeConfigOutputWithContext

func (o InstanceNodeConfigOutput) ToInstanceNodeConfigOutputWithContext(ctx context.Context) InstanceNodeConfigOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) AuthorizationMode

func (o InstanceOutput) AuthorizationMode() pulumi.StringOutput

Optional. Immutable. Authorization mode of the instance. Possible values: AUTH_DISABLED IAM_AUTH

func (InstanceOutput) CreateTime

func (o InstanceOutput) CreateTime() pulumi.StringOutput

Output only. Creation timestamp of the instance.

func (InstanceOutput) DeletionProtectionEnabled

func (o InstanceOutput) DeletionProtectionEnabled() pulumi.BoolPtrOutput

Optional. If set to true deletion of the instance will fail.

func (InstanceOutput) DesiredPscAutoConnections

func (o InstanceOutput) DesiredPscAutoConnections() InstanceDesiredPscAutoConnectionArrayOutput

Required. Immutable. User inputs for the auto-created PSC connections.

func (InstanceOutput) DiscoveryEndpoints

Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported. Structure is documented below.

func (InstanceOutput) EffectiveLabels

func (o InstanceOutput) EffectiveLabels() pulumi.StringMapOutput

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

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) Endpoints added in v8.8.0

func (o InstanceOutput) Endpoints() pulumi.ArrayArrayOutput

Endpoints for the instance.

func (InstanceOutput) EngineConfigs

func (o InstanceOutput) EngineConfigs() pulumi.StringMapOutput

Optional. User-provided engine configurations for the instance.

func (InstanceOutput) EngineVersion

func (o InstanceOutput) EngineVersion() pulumi.StringOutput

Optional. Immutable. Engine version of the instance.

func (InstanceOutput) InstanceId

func (o InstanceOutput) InstanceId() pulumi.StringOutput

Required. The ID to use for the instance, which will become the final component of the instance's resource name. This value is subject to the following restrictions: * Must be 4-63 characters in length * Must begin with a letter or digit * Must contain only lowercase letters, digits, and hyphens * Must not end with a hyphen * Must be unique within a location

***

func (InstanceOutput) Labels

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

func (InstanceOutput) Location

func (o InstanceOutput) Location() pulumi.StringOutput

Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `memorystore.googleapis.com/CertificateAuthority`.

func (InstanceOutput) Mode added in v8.8.0

Optional. Standalone or cluster. Possible values: CLUSTER STANDALONE Possible values are: `CLUSTER`, `STANDALONE`.

func (InstanceOutput) Name

Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}

func (InstanceOutput) NodeConfigs

Represents configuration for nodes of the instance. Structure is documented below.

func (InstanceOutput) NodeType

func (o InstanceOutput) NodeType() pulumi.StringOutput

Optional. Immutable. Machine type for individual nodes of the instance. Possible values: SHARED_CORE_NANO HIGHMEM_MEDIUM HIGHMEM_XLARGE STANDARD_SMALL

func (InstanceOutput) PersistenceConfig

func (o InstanceOutput) PersistenceConfig() InstancePersistenceConfigOutput

Represents persistence configuration for a instance. Structure is documented below.

func (InstanceOutput) Project

func (o InstanceOutput) Project() pulumi.StringOutput

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

func (InstanceOutput) PscAutoConnections

Output only. User inputs and resource details of the auto-created PSC connections. Structure is documented below.

func (InstanceOutput) PulumiLabels

func (o InstanceOutput) PulumiLabels() pulumi.StringMapOutput

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

func (InstanceOutput) ReplicaCount

func (o InstanceOutput) ReplicaCount() pulumi.IntOutput

Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.

func (InstanceOutput) ShardCount

func (o InstanceOutput) ShardCount() pulumi.IntOutput

Required. Number of shards for the instance.

func (InstanceOutput) State

Output only. Current state of the instance. Possible values: CREATING ACTIVE UPDATING DELETING

func (InstanceOutput) StateInfos

Additional information about the state of the instance. Structure is documented below.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

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

func (InstanceOutput) TransitEncryptionMode

func (o InstanceOutput) TransitEncryptionMode() pulumi.StringOutput

Optional. Immutable. In-transit encryption mode of the instance. Possible values: TRANSIT_ENCRYPTION_DISABLED SERVER_AUTHENTICATION

func (InstanceOutput) Uid

Output only. System assigned, unique identifier for the instance.

func (InstanceOutput) UpdateTime

func (o InstanceOutput) UpdateTime() pulumi.StringOutput

Output only. Latest update timestamp of the instance.

func (InstanceOutput) ZoneDistributionConfig

func (o InstanceOutput) ZoneDistributionConfig() InstanceZoneDistributionConfigOutput

Zone distribution configuration for allocation of instance resources. Structure is documented below.

type InstancePersistenceConfig

type InstancePersistenceConfig struct {
	// Configuration for AOF based persistence.
	// Structure is documented below.
	AofConfig *InstancePersistenceConfigAofConfig `pulumi:"aofConfig"`
	// Optional. Current persistence mode.
	// Possible values:
	// DISABLED
	// RDB
	// AOF
	// Possible values are: `DISABLED`, `RDB`, `AOF`.
	Mode *string `pulumi:"mode"`
	// Configuration for RDB based persistence.
	// Structure is documented below.
	RdbConfig *InstancePersistenceConfigRdbConfig `pulumi:"rdbConfig"`
}

type InstancePersistenceConfigAofConfig

type InstancePersistenceConfigAofConfig struct {
	// Optional. The fsync mode.
	// Possible values:
	// NEVER
	// EVERY_SEC
	// ALWAYS
	AppendFsync *string `pulumi:"appendFsync"`
}

type InstancePersistenceConfigAofConfigArgs

type InstancePersistenceConfigAofConfigArgs struct {
	// Optional. The fsync mode.
	// Possible values:
	// NEVER
	// EVERY_SEC
	// ALWAYS
	AppendFsync pulumi.StringPtrInput `pulumi:"appendFsync"`
}

func (InstancePersistenceConfigAofConfigArgs) ElementType

func (InstancePersistenceConfigAofConfigArgs) ToInstancePersistenceConfigAofConfigOutput

func (i InstancePersistenceConfigAofConfigArgs) ToInstancePersistenceConfigAofConfigOutput() InstancePersistenceConfigAofConfigOutput

func (InstancePersistenceConfigAofConfigArgs) ToInstancePersistenceConfigAofConfigOutputWithContext

func (i InstancePersistenceConfigAofConfigArgs) ToInstancePersistenceConfigAofConfigOutputWithContext(ctx context.Context) InstancePersistenceConfigAofConfigOutput

func (InstancePersistenceConfigAofConfigArgs) ToInstancePersistenceConfigAofConfigPtrOutput

func (i InstancePersistenceConfigAofConfigArgs) ToInstancePersistenceConfigAofConfigPtrOutput() InstancePersistenceConfigAofConfigPtrOutput

func (InstancePersistenceConfigAofConfigArgs) ToInstancePersistenceConfigAofConfigPtrOutputWithContext

func (i InstancePersistenceConfigAofConfigArgs) ToInstancePersistenceConfigAofConfigPtrOutputWithContext(ctx context.Context) InstancePersistenceConfigAofConfigPtrOutput

type InstancePersistenceConfigAofConfigInput

type InstancePersistenceConfigAofConfigInput interface {
	pulumi.Input

	ToInstancePersistenceConfigAofConfigOutput() InstancePersistenceConfigAofConfigOutput
	ToInstancePersistenceConfigAofConfigOutputWithContext(context.Context) InstancePersistenceConfigAofConfigOutput
}

InstancePersistenceConfigAofConfigInput is an input type that accepts InstancePersistenceConfigAofConfigArgs and InstancePersistenceConfigAofConfigOutput values. You can construct a concrete instance of `InstancePersistenceConfigAofConfigInput` via:

InstancePersistenceConfigAofConfigArgs{...}

type InstancePersistenceConfigAofConfigOutput

type InstancePersistenceConfigAofConfigOutput struct{ *pulumi.OutputState }

func (InstancePersistenceConfigAofConfigOutput) AppendFsync

Optional. The fsync mode. Possible values: NEVER EVERY_SEC ALWAYS

func (InstancePersistenceConfigAofConfigOutput) ElementType

func (InstancePersistenceConfigAofConfigOutput) ToInstancePersistenceConfigAofConfigOutput

func (o InstancePersistenceConfigAofConfigOutput) ToInstancePersistenceConfigAofConfigOutput() InstancePersistenceConfigAofConfigOutput

func (InstancePersistenceConfigAofConfigOutput) ToInstancePersistenceConfigAofConfigOutputWithContext

func (o InstancePersistenceConfigAofConfigOutput) ToInstancePersistenceConfigAofConfigOutputWithContext(ctx context.Context) InstancePersistenceConfigAofConfigOutput

func (InstancePersistenceConfigAofConfigOutput) ToInstancePersistenceConfigAofConfigPtrOutput

func (o InstancePersistenceConfigAofConfigOutput) ToInstancePersistenceConfigAofConfigPtrOutput() InstancePersistenceConfigAofConfigPtrOutput

func (InstancePersistenceConfigAofConfigOutput) ToInstancePersistenceConfigAofConfigPtrOutputWithContext

func (o InstancePersistenceConfigAofConfigOutput) ToInstancePersistenceConfigAofConfigPtrOutputWithContext(ctx context.Context) InstancePersistenceConfigAofConfigPtrOutput

type InstancePersistenceConfigAofConfigPtrInput

type InstancePersistenceConfigAofConfigPtrInput interface {
	pulumi.Input

	ToInstancePersistenceConfigAofConfigPtrOutput() InstancePersistenceConfigAofConfigPtrOutput
	ToInstancePersistenceConfigAofConfigPtrOutputWithContext(context.Context) InstancePersistenceConfigAofConfigPtrOutput
}

InstancePersistenceConfigAofConfigPtrInput is an input type that accepts InstancePersistenceConfigAofConfigArgs, InstancePersistenceConfigAofConfigPtr and InstancePersistenceConfigAofConfigPtrOutput values. You can construct a concrete instance of `InstancePersistenceConfigAofConfigPtrInput` via:

        InstancePersistenceConfigAofConfigArgs{...}

or:

        nil

type InstancePersistenceConfigAofConfigPtrOutput

type InstancePersistenceConfigAofConfigPtrOutput struct{ *pulumi.OutputState }

func (InstancePersistenceConfigAofConfigPtrOutput) AppendFsync

Optional. The fsync mode. Possible values: NEVER EVERY_SEC ALWAYS

func (InstancePersistenceConfigAofConfigPtrOutput) Elem

func (InstancePersistenceConfigAofConfigPtrOutput) ElementType

func (InstancePersistenceConfigAofConfigPtrOutput) ToInstancePersistenceConfigAofConfigPtrOutput

func (o InstancePersistenceConfigAofConfigPtrOutput) ToInstancePersistenceConfigAofConfigPtrOutput() InstancePersistenceConfigAofConfigPtrOutput

func (InstancePersistenceConfigAofConfigPtrOutput) ToInstancePersistenceConfigAofConfigPtrOutputWithContext

func (o InstancePersistenceConfigAofConfigPtrOutput) ToInstancePersistenceConfigAofConfigPtrOutputWithContext(ctx context.Context) InstancePersistenceConfigAofConfigPtrOutput

type InstancePersistenceConfigArgs

type InstancePersistenceConfigArgs struct {
	// Configuration for AOF based persistence.
	// Structure is documented below.
	AofConfig InstancePersistenceConfigAofConfigPtrInput `pulumi:"aofConfig"`
	// Optional. Current persistence mode.
	// Possible values:
	// DISABLED
	// RDB
	// AOF
	// Possible values are: `DISABLED`, `RDB`, `AOF`.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// Configuration for RDB based persistence.
	// Structure is documented below.
	RdbConfig InstancePersistenceConfigRdbConfigPtrInput `pulumi:"rdbConfig"`
}

func (InstancePersistenceConfigArgs) ElementType

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigOutput

func (i InstancePersistenceConfigArgs) ToInstancePersistenceConfigOutput() InstancePersistenceConfigOutput

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigOutputWithContext

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

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigPtrOutput

func (i InstancePersistenceConfigArgs) ToInstancePersistenceConfigPtrOutput() InstancePersistenceConfigPtrOutput

func (InstancePersistenceConfigArgs) ToInstancePersistenceConfigPtrOutputWithContext

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

type InstancePersistenceConfigInput

type InstancePersistenceConfigInput interface {
	pulumi.Input

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

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

InstancePersistenceConfigArgs{...}

type InstancePersistenceConfigOutput

type InstancePersistenceConfigOutput struct{ *pulumi.OutputState }

func (InstancePersistenceConfigOutput) AofConfig

Configuration for AOF based persistence. Structure is documented below.

func (InstancePersistenceConfigOutput) ElementType

func (InstancePersistenceConfigOutput) Mode

Optional. Current persistence mode. Possible values: DISABLED RDB AOF Possible values are: `DISABLED`, `RDB`, `AOF`.

func (InstancePersistenceConfigOutput) RdbConfig

Configuration for RDB based persistence. Structure is documented below.

func (InstancePersistenceConfigOutput) ToInstancePersistenceConfigOutput

func (o InstancePersistenceConfigOutput) ToInstancePersistenceConfigOutput() InstancePersistenceConfigOutput

func (InstancePersistenceConfigOutput) ToInstancePersistenceConfigOutputWithContext

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

func (InstancePersistenceConfigOutput) ToInstancePersistenceConfigPtrOutput

func (o InstancePersistenceConfigOutput) ToInstancePersistenceConfigPtrOutput() InstancePersistenceConfigPtrOutput

func (InstancePersistenceConfigOutput) ToInstancePersistenceConfigPtrOutputWithContext

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

type InstancePersistenceConfigPtrInput

type InstancePersistenceConfigPtrInput interface {
	pulumi.Input

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

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

        InstancePersistenceConfigArgs{...}

or:

        nil

type InstancePersistenceConfigPtrOutput

type InstancePersistenceConfigPtrOutput struct{ *pulumi.OutputState }

func (InstancePersistenceConfigPtrOutput) AofConfig

Configuration for AOF based persistence. Structure is documented below.

func (InstancePersistenceConfigPtrOutput) Elem

func (InstancePersistenceConfigPtrOutput) ElementType

func (InstancePersistenceConfigPtrOutput) Mode

Optional. Current persistence mode. Possible values: DISABLED RDB AOF Possible values are: `DISABLED`, `RDB`, `AOF`.

func (InstancePersistenceConfigPtrOutput) RdbConfig

Configuration for RDB based persistence. Structure is documented below.

func (InstancePersistenceConfigPtrOutput) ToInstancePersistenceConfigPtrOutput

func (o InstancePersistenceConfigPtrOutput) ToInstancePersistenceConfigPtrOutput() InstancePersistenceConfigPtrOutput

func (InstancePersistenceConfigPtrOutput) ToInstancePersistenceConfigPtrOutputWithContext

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

type InstancePersistenceConfigRdbConfig

type InstancePersistenceConfigRdbConfig struct {
	// Optional. Period between RDB snapshots.
	// Possible values:
	// ONE_HOUR
	// SIX_HOURS
	// TWELVE_HOURS
	// TWENTY_FOUR_HOURS
	RdbSnapshotPeriod *string `pulumi:"rdbSnapshotPeriod"`
	// Optional. 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.
	RdbSnapshotStartTime *string `pulumi:"rdbSnapshotStartTime"`
}

type InstancePersistenceConfigRdbConfigArgs

type InstancePersistenceConfigRdbConfigArgs struct {
	// Optional. Period between RDB snapshots.
	// Possible values:
	// ONE_HOUR
	// SIX_HOURS
	// TWELVE_HOURS
	// TWENTY_FOUR_HOURS
	RdbSnapshotPeriod pulumi.StringPtrInput `pulumi:"rdbSnapshotPeriod"`
	// Optional. 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.
	RdbSnapshotStartTime pulumi.StringPtrInput `pulumi:"rdbSnapshotStartTime"`
}

func (InstancePersistenceConfigRdbConfigArgs) ElementType

func (InstancePersistenceConfigRdbConfigArgs) ToInstancePersistenceConfigRdbConfigOutput

func (i InstancePersistenceConfigRdbConfigArgs) ToInstancePersistenceConfigRdbConfigOutput() InstancePersistenceConfigRdbConfigOutput

func (InstancePersistenceConfigRdbConfigArgs) ToInstancePersistenceConfigRdbConfigOutputWithContext

func (i InstancePersistenceConfigRdbConfigArgs) ToInstancePersistenceConfigRdbConfigOutputWithContext(ctx context.Context) InstancePersistenceConfigRdbConfigOutput

func (InstancePersistenceConfigRdbConfigArgs) ToInstancePersistenceConfigRdbConfigPtrOutput

func (i InstancePersistenceConfigRdbConfigArgs) ToInstancePersistenceConfigRdbConfigPtrOutput() InstancePersistenceConfigRdbConfigPtrOutput

func (InstancePersistenceConfigRdbConfigArgs) ToInstancePersistenceConfigRdbConfigPtrOutputWithContext

func (i InstancePersistenceConfigRdbConfigArgs) ToInstancePersistenceConfigRdbConfigPtrOutputWithContext(ctx context.Context) InstancePersistenceConfigRdbConfigPtrOutput

type InstancePersistenceConfigRdbConfigInput

type InstancePersistenceConfigRdbConfigInput interface {
	pulumi.Input

	ToInstancePersistenceConfigRdbConfigOutput() InstancePersistenceConfigRdbConfigOutput
	ToInstancePersistenceConfigRdbConfigOutputWithContext(context.Context) InstancePersistenceConfigRdbConfigOutput
}

InstancePersistenceConfigRdbConfigInput is an input type that accepts InstancePersistenceConfigRdbConfigArgs and InstancePersistenceConfigRdbConfigOutput values. You can construct a concrete instance of `InstancePersistenceConfigRdbConfigInput` via:

InstancePersistenceConfigRdbConfigArgs{...}

type InstancePersistenceConfigRdbConfigOutput

type InstancePersistenceConfigRdbConfigOutput struct{ *pulumi.OutputState }

func (InstancePersistenceConfigRdbConfigOutput) ElementType

func (InstancePersistenceConfigRdbConfigOutput) RdbSnapshotPeriod

Optional. Period between RDB snapshots. Possible values: ONE_HOUR SIX_HOURS TWELVE_HOURS TWENTY_FOUR_HOURS

func (InstancePersistenceConfigRdbConfigOutput) RdbSnapshotStartTime

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

func (InstancePersistenceConfigRdbConfigOutput) ToInstancePersistenceConfigRdbConfigOutput

func (o InstancePersistenceConfigRdbConfigOutput) ToInstancePersistenceConfigRdbConfigOutput() InstancePersistenceConfigRdbConfigOutput

func (InstancePersistenceConfigRdbConfigOutput) ToInstancePersistenceConfigRdbConfigOutputWithContext

func (o InstancePersistenceConfigRdbConfigOutput) ToInstancePersistenceConfigRdbConfigOutputWithContext(ctx context.Context) InstancePersistenceConfigRdbConfigOutput

func (InstancePersistenceConfigRdbConfigOutput) ToInstancePersistenceConfigRdbConfigPtrOutput

func (o InstancePersistenceConfigRdbConfigOutput) ToInstancePersistenceConfigRdbConfigPtrOutput() InstancePersistenceConfigRdbConfigPtrOutput

func (InstancePersistenceConfigRdbConfigOutput) ToInstancePersistenceConfigRdbConfigPtrOutputWithContext

func (o InstancePersistenceConfigRdbConfigOutput) ToInstancePersistenceConfigRdbConfigPtrOutputWithContext(ctx context.Context) InstancePersistenceConfigRdbConfigPtrOutput

type InstancePersistenceConfigRdbConfigPtrInput

type InstancePersistenceConfigRdbConfigPtrInput interface {
	pulumi.Input

	ToInstancePersistenceConfigRdbConfigPtrOutput() InstancePersistenceConfigRdbConfigPtrOutput
	ToInstancePersistenceConfigRdbConfigPtrOutputWithContext(context.Context) InstancePersistenceConfigRdbConfigPtrOutput
}

InstancePersistenceConfigRdbConfigPtrInput is an input type that accepts InstancePersistenceConfigRdbConfigArgs, InstancePersistenceConfigRdbConfigPtr and InstancePersistenceConfigRdbConfigPtrOutput values. You can construct a concrete instance of `InstancePersistenceConfigRdbConfigPtrInput` via:

        InstancePersistenceConfigRdbConfigArgs{...}

or:

        nil

type InstancePersistenceConfigRdbConfigPtrOutput

type InstancePersistenceConfigRdbConfigPtrOutput struct{ *pulumi.OutputState }

func (InstancePersistenceConfigRdbConfigPtrOutput) Elem

func (InstancePersistenceConfigRdbConfigPtrOutput) ElementType

func (InstancePersistenceConfigRdbConfigPtrOutput) RdbSnapshotPeriod

Optional. Period between RDB snapshots. Possible values: ONE_HOUR SIX_HOURS TWELVE_HOURS TWENTY_FOUR_HOURS

func (InstancePersistenceConfigRdbConfigPtrOutput) RdbSnapshotStartTime

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

func (InstancePersistenceConfigRdbConfigPtrOutput) ToInstancePersistenceConfigRdbConfigPtrOutput

func (o InstancePersistenceConfigRdbConfigPtrOutput) ToInstancePersistenceConfigRdbConfigPtrOutput() InstancePersistenceConfigRdbConfigPtrOutput

func (InstancePersistenceConfigRdbConfigPtrOutput) ToInstancePersistenceConfigRdbConfigPtrOutputWithContext

func (o InstancePersistenceConfigRdbConfigPtrOutput) ToInstancePersistenceConfigRdbConfigPtrOutputWithContext(ctx context.Context) InstancePersistenceConfigRdbConfigPtrOutput

type InstancePscAutoConnection

type InstancePscAutoConnection struct {
	// (Output)
	// Output Only. Type of a PSC Connection.
	// Possible values:
	// CONNECTION_TYPE_DISCOVERY
	// CONNECTION_TYPE_PRIMARY
	// CONNECTION_TYPE_READER
	ConnectionType *string `pulumi:"connectionType"`
	// (Output)
	// Output only. The URI of the consumer side forwarding rule.
	// Format:
	// projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
	ForwardingRule *string `pulumi:"forwardingRule"`
	// (Output)
	// Output only. The IP allocated on the consumer network for the PSC forwarding rule.
	IpAddress *string `pulumi:"ipAddress"`
	// (Output)
	// Output only. The consumer network where the IP address resides, in the form of
	// projects/{project_id}/global/networks/{network_id}.
	Network *string `pulumi:"network"`
	// (Output)
	// Output only. Ports of the exposed endpoint.
	Port *int `pulumi:"port"`
	// (Output)
	// Output only. The consumer projectId where the forwarding rule is created from.
	ProjectId *string `pulumi:"projectId"`
	// (Output)
	// Output only. The PSC connection id of the forwarding rule connected to the
	// service attachment.
	PscConnectionId *string `pulumi:"pscConnectionId"`
	// (Output)
	// Output Only. The status of the PSC connection: whether a connection exists and ACTIVE or it no longer exists.
	// Possible values:
	// ACTIVE
	// NOT_FOUND
	PscConnectionStatus *string `pulumi:"pscConnectionStatus"`
	// (Output)
	// Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
	ServiceAttachment *string `pulumi:"serviceAttachment"`
}

type InstancePscAutoConnectionArgs

type InstancePscAutoConnectionArgs struct {
	// (Output)
	// Output Only. Type of a PSC Connection.
	// Possible values:
	// CONNECTION_TYPE_DISCOVERY
	// CONNECTION_TYPE_PRIMARY
	// CONNECTION_TYPE_READER
	ConnectionType pulumi.StringPtrInput `pulumi:"connectionType"`
	// (Output)
	// Output only. The URI of the consumer side forwarding rule.
	// Format:
	// projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
	ForwardingRule pulumi.StringPtrInput `pulumi:"forwardingRule"`
	// (Output)
	// Output only. The IP allocated on the consumer network for the PSC forwarding rule.
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// (Output)
	// Output only. The consumer network where the IP address resides, in the form of
	// projects/{project_id}/global/networks/{network_id}.
	Network pulumi.StringPtrInput `pulumi:"network"`
	// (Output)
	// Output only. Ports of the exposed endpoint.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// (Output)
	// Output only. The consumer projectId where the forwarding rule is created from.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// (Output)
	// Output only. The PSC connection id of the forwarding rule connected to the
	// service attachment.
	PscConnectionId pulumi.StringPtrInput `pulumi:"pscConnectionId"`
	// (Output)
	// Output Only. The status of the PSC connection: whether a connection exists and ACTIVE or it no longer exists.
	// Possible values:
	// ACTIVE
	// NOT_FOUND
	PscConnectionStatus pulumi.StringPtrInput `pulumi:"pscConnectionStatus"`
	// (Output)
	// Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
	ServiceAttachment pulumi.StringPtrInput `pulumi:"serviceAttachment"`
}

func (InstancePscAutoConnectionArgs) ElementType

func (InstancePscAutoConnectionArgs) ToInstancePscAutoConnectionOutput

func (i InstancePscAutoConnectionArgs) ToInstancePscAutoConnectionOutput() InstancePscAutoConnectionOutput

func (InstancePscAutoConnectionArgs) ToInstancePscAutoConnectionOutputWithContext

func (i InstancePscAutoConnectionArgs) ToInstancePscAutoConnectionOutputWithContext(ctx context.Context) InstancePscAutoConnectionOutput

type InstancePscAutoConnectionArray

type InstancePscAutoConnectionArray []InstancePscAutoConnectionInput

func (InstancePscAutoConnectionArray) ElementType

func (InstancePscAutoConnectionArray) ToInstancePscAutoConnectionArrayOutput

func (i InstancePscAutoConnectionArray) ToInstancePscAutoConnectionArrayOutput() InstancePscAutoConnectionArrayOutput

func (InstancePscAutoConnectionArray) ToInstancePscAutoConnectionArrayOutputWithContext

func (i InstancePscAutoConnectionArray) ToInstancePscAutoConnectionArrayOutputWithContext(ctx context.Context) InstancePscAutoConnectionArrayOutput

type InstancePscAutoConnectionArrayInput

type InstancePscAutoConnectionArrayInput interface {
	pulumi.Input

	ToInstancePscAutoConnectionArrayOutput() InstancePscAutoConnectionArrayOutput
	ToInstancePscAutoConnectionArrayOutputWithContext(context.Context) InstancePscAutoConnectionArrayOutput
}

InstancePscAutoConnectionArrayInput is an input type that accepts InstancePscAutoConnectionArray and InstancePscAutoConnectionArrayOutput values. You can construct a concrete instance of `InstancePscAutoConnectionArrayInput` via:

InstancePscAutoConnectionArray{ InstancePscAutoConnectionArgs{...} }

type InstancePscAutoConnectionArrayOutput

type InstancePscAutoConnectionArrayOutput struct{ *pulumi.OutputState }

func (InstancePscAutoConnectionArrayOutput) ElementType

func (InstancePscAutoConnectionArrayOutput) Index

func (InstancePscAutoConnectionArrayOutput) ToInstancePscAutoConnectionArrayOutput

func (o InstancePscAutoConnectionArrayOutput) ToInstancePscAutoConnectionArrayOutput() InstancePscAutoConnectionArrayOutput

func (InstancePscAutoConnectionArrayOutput) ToInstancePscAutoConnectionArrayOutputWithContext

func (o InstancePscAutoConnectionArrayOutput) ToInstancePscAutoConnectionArrayOutputWithContext(ctx context.Context) InstancePscAutoConnectionArrayOutput

type InstancePscAutoConnectionInput

type InstancePscAutoConnectionInput interface {
	pulumi.Input

	ToInstancePscAutoConnectionOutput() InstancePscAutoConnectionOutput
	ToInstancePscAutoConnectionOutputWithContext(context.Context) InstancePscAutoConnectionOutput
}

InstancePscAutoConnectionInput is an input type that accepts InstancePscAutoConnectionArgs and InstancePscAutoConnectionOutput values. You can construct a concrete instance of `InstancePscAutoConnectionInput` via:

InstancePscAutoConnectionArgs{...}

type InstancePscAutoConnectionOutput

type InstancePscAutoConnectionOutput struct{ *pulumi.OutputState }

func (InstancePscAutoConnectionOutput) ConnectionType added in v8.8.0

(Output) Output Only. Type of a PSC Connection. Possible values: CONNECTION_TYPE_DISCOVERY CONNECTION_TYPE_PRIMARY CONNECTION_TYPE_READER

func (InstancePscAutoConnectionOutput) ElementType

func (InstancePscAutoConnectionOutput) ForwardingRule

(Output) Output only. The URI of the consumer side forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}

func (InstancePscAutoConnectionOutput) IpAddress

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

func (InstancePscAutoConnectionOutput) Network

(Output) Output only. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.

func (InstancePscAutoConnectionOutput) Port added in v8.8.0

(Output) Output only. Ports of the exposed endpoint.

func (InstancePscAutoConnectionOutput) ProjectId

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

func (InstancePscAutoConnectionOutput) PscConnectionId

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

func (InstancePscAutoConnectionOutput) PscConnectionStatus added in v8.8.0

func (o InstancePscAutoConnectionOutput) PscConnectionStatus() pulumi.StringPtrOutput

(Output) Output Only. The status of the PSC connection: whether a connection exists and ACTIVE or it no longer exists. Possible values: ACTIVE NOT_FOUND

func (InstancePscAutoConnectionOutput) ServiceAttachment added in v8.8.0

(Output) Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.

func (InstancePscAutoConnectionOutput) ToInstancePscAutoConnectionOutput

func (o InstancePscAutoConnectionOutput) ToInstancePscAutoConnectionOutput() InstancePscAutoConnectionOutput

func (InstancePscAutoConnectionOutput) ToInstancePscAutoConnectionOutputWithContext

func (o InstancePscAutoConnectionOutput) ToInstancePscAutoConnectionOutputWithContext(ctx context.Context) InstancePscAutoConnectionOutput

type InstanceState

type InstanceState struct {
	// Optional. Immutable. Authorization mode of the instance. Possible values:
	// AUTH_DISABLED
	// IAM_AUTH
	AuthorizationMode pulumi.StringPtrInput
	// Output only. Creation timestamp of the instance.
	CreateTime pulumi.StringPtrInput
	// Optional. If set to true deletion of the instance will fail.
	DeletionProtectionEnabled pulumi.BoolPtrInput
	// Required. Immutable. User inputs for the auto-created PSC connections.
	DesiredPscAutoConnections InstanceDesiredPscAutoConnectionArrayInput
	// Output only. Endpoints clients can connect to the instance through. Currently only one
	// discovery endpoint is supported.
	// Structure is documented below.
	DiscoveryEndpoints InstanceDiscoveryEndpointArrayInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// Endpoints for the instance.
	Endpoints pulumi.ArrayArrayInput
	// Optional. User-provided engine configurations for the instance.
	EngineConfigs pulumi.StringMapInput
	// Optional. Immutable. Engine version of the instance.
	EngineVersion pulumi.StringPtrInput
	// Required. The ID to use for the instance, which will become the final component of
	// the instance's resource name.
	// This value is subject to the following restrictions:
	// * Must be 4-63 characters in length
	// * Must begin with a letter or digit
	// * Must contain only lowercase letters, digits, and hyphens
	// * Must not end with a hyphen
	// * Must be unique within a location
	//
	// ***
	InstanceId pulumi.StringPtrInput
	// Optional. Labels to represent user-provided metadata.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `memorystore.googleapis.com/CertificateAuthority`.
	Location pulumi.StringPtrInput
	// Optional. Standalone or cluster.
	// Possible values:
	// CLUSTER
	// STANDALONE
	// Possible values are: `CLUSTER`, `STANDALONE`.
	Mode pulumi.StringPtrInput
	// Identifier. Unique name of the instance.
	// Format: projects/{project}/locations/{location}/instances/{instance}
	Name pulumi.StringPtrInput
	// Represents configuration for nodes of the instance.
	// Structure is documented below.
	NodeConfigs InstanceNodeConfigArrayInput
	// Optional. Immutable. Machine type for individual nodes of the instance.
	// Possible values:
	// SHARED_CORE_NANO
	// HIGHMEM_MEDIUM
	// HIGHMEM_XLARGE
	// STANDARD_SMALL
	NodeType pulumi.StringPtrInput
	// Represents persistence configuration for a 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
	// Output only. User inputs and resource details of the auto-created PSC connections.
	// Structure is documented below.
	PscAutoConnections InstancePscAutoConnectionArrayInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.
	ReplicaCount pulumi.IntPtrInput
	// Required. Number of shards for the instance.
	ShardCount pulumi.IntPtrInput
	// Output only. Current state of the instance.
	// Possible values:
	// CREATING
	// ACTIVE
	// UPDATING
	// DELETING
	State pulumi.StringPtrInput
	// Additional information about the state of the instance.
	// Structure is documented below.
	StateInfos InstanceStateInfoArrayInput
	// Optional. Immutable. In-transit encryption mode of the instance.
	// Possible values:
	// TRANSIT_ENCRYPTION_DISABLED
	// SERVER_AUTHENTICATION
	TransitEncryptionMode pulumi.StringPtrInput
	// Output only. System assigned, unique identifier for the instance.
	Uid pulumi.StringPtrInput
	// Output only. Latest update timestamp of the instance.
	UpdateTime pulumi.StringPtrInput
	// Zone distribution configuration for allocation of instance resources.
	// Structure is documented below.
	ZoneDistributionConfig InstanceZoneDistributionConfigPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type InstanceStateInfo

type InstanceStateInfo struct {
	// (Output)
	// Represents information about instance with state UPDATING.
	// Structure is documented below.
	UpdateInfos []InstanceStateInfoUpdateInfo `pulumi:"updateInfos"`
}

type InstanceStateInfoArgs

type InstanceStateInfoArgs struct {
	// (Output)
	// Represents information about instance with state UPDATING.
	// Structure is documented below.
	UpdateInfos InstanceStateInfoUpdateInfoArrayInput `pulumi:"updateInfos"`
}

func (InstanceStateInfoArgs) ElementType

func (InstanceStateInfoArgs) ElementType() reflect.Type

func (InstanceStateInfoArgs) ToInstanceStateInfoOutput

func (i InstanceStateInfoArgs) ToInstanceStateInfoOutput() InstanceStateInfoOutput

func (InstanceStateInfoArgs) ToInstanceStateInfoOutputWithContext

func (i InstanceStateInfoArgs) ToInstanceStateInfoOutputWithContext(ctx context.Context) InstanceStateInfoOutput

type InstanceStateInfoArray

type InstanceStateInfoArray []InstanceStateInfoInput

func (InstanceStateInfoArray) ElementType

func (InstanceStateInfoArray) ElementType() reflect.Type

func (InstanceStateInfoArray) ToInstanceStateInfoArrayOutput

func (i InstanceStateInfoArray) ToInstanceStateInfoArrayOutput() InstanceStateInfoArrayOutput

func (InstanceStateInfoArray) ToInstanceStateInfoArrayOutputWithContext

func (i InstanceStateInfoArray) ToInstanceStateInfoArrayOutputWithContext(ctx context.Context) InstanceStateInfoArrayOutput

type InstanceStateInfoArrayInput

type InstanceStateInfoArrayInput interface {
	pulumi.Input

	ToInstanceStateInfoArrayOutput() InstanceStateInfoArrayOutput
	ToInstanceStateInfoArrayOutputWithContext(context.Context) InstanceStateInfoArrayOutput
}

InstanceStateInfoArrayInput is an input type that accepts InstanceStateInfoArray and InstanceStateInfoArrayOutput values. You can construct a concrete instance of `InstanceStateInfoArrayInput` via:

InstanceStateInfoArray{ InstanceStateInfoArgs{...} }

type InstanceStateInfoArrayOutput

type InstanceStateInfoArrayOutput struct{ *pulumi.OutputState }

func (InstanceStateInfoArrayOutput) ElementType

func (InstanceStateInfoArrayOutput) Index

func (InstanceStateInfoArrayOutput) ToInstanceStateInfoArrayOutput

func (o InstanceStateInfoArrayOutput) ToInstanceStateInfoArrayOutput() InstanceStateInfoArrayOutput

func (InstanceStateInfoArrayOutput) ToInstanceStateInfoArrayOutputWithContext

func (o InstanceStateInfoArrayOutput) ToInstanceStateInfoArrayOutputWithContext(ctx context.Context) InstanceStateInfoArrayOutput

type InstanceStateInfoInput

type InstanceStateInfoInput interface {
	pulumi.Input

	ToInstanceStateInfoOutput() InstanceStateInfoOutput
	ToInstanceStateInfoOutputWithContext(context.Context) InstanceStateInfoOutput
}

InstanceStateInfoInput is an input type that accepts InstanceStateInfoArgs and InstanceStateInfoOutput values. You can construct a concrete instance of `InstanceStateInfoInput` via:

InstanceStateInfoArgs{...}

type InstanceStateInfoOutput

type InstanceStateInfoOutput struct{ *pulumi.OutputState }

func (InstanceStateInfoOutput) ElementType

func (InstanceStateInfoOutput) ElementType() reflect.Type

func (InstanceStateInfoOutput) ToInstanceStateInfoOutput

func (o InstanceStateInfoOutput) ToInstanceStateInfoOutput() InstanceStateInfoOutput

func (InstanceStateInfoOutput) ToInstanceStateInfoOutputWithContext

func (o InstanceStateInfoOutput) ToInstanceStateInfoOutputWithContext(ctx context.Context) InstanceStateInfoOutput

func (InstanceStateInfoOutput) UpdateInfos

(Output) Represents information about instance with state UPDATING. Structure is documented below.

type InstanceStateInfoUpdateInfo

type InstanceStateInfoUpdateInfo struct {
	// (Output)
	// Output only. Target number of replica nodes per shard for the instance.
	TargetReplicaCount *int `pulumi:"targetReplicaCount"`
	// (Output)
	// Output only. Target number of shards for the instance.
	TargetShardCount *int `pulumi:"targetShardCount"`
}

type InstanceStateInfoUpdateInfoArgs

type InstanceStateInfoUpdateInfoArgs struct {
	// (Output)
	// Output only. Target number of replica nodes per shard for the instance.
	TargetReplicaCount pulumi.IntPtrInput `pulumi:"targetReplicaCount"`
	// (Output)
	// Output only. Target number of shards for the instance.
	TargetShardCount pulumi.IntPtrInput `pulumi:"targetShardCount"`
}

func (InstanceStateInfoUpdateInfoArgs) ElementType

func (InstanceStateInfoUpdateInfoArgs) ToInstanceStateInfoUpdateInfoOutput

func (i InstanceStateInfoUpdateInfoArgs) ToInstanceStateInfoUpdateInfoOutput() InstanceStateInfoUpdateInfoOutput

func (InstanceStateInfoUpdateInfoArgs) ToInstanceStateInfoUpdateInfoOutputWithContext

func (i InstanceStateInfoUpdateInfoArgs) ToInstanceStateInfoUpdateInfoOutputWithContext(ctx context.Context) InstanceStateInfoUpdateInfoOutput

type InstanceStateInfoUpdateInfoArray

type InstanceStateInfoUpdateInfoArray []InstanceStateInfoUpdateInfoInput

func (InstanceStateInfoUpdateInfoArray) ElementType

func (InstanceStateInfoUpdateInfoArray) ToInstanceStateInfoUpdateInfoArrayOutput

func (i InstanceStateInfoUpdateInfoArray) ToInstanceStateInfoUpdateInfoArrayOutput() InstanceStateInfoUpdateInfoArrayOutput

func (InstanceStateInfoUpdateInfoArray) ToInstanceStateInfoUpdateInfoArrayOutputWithContext

func (i InstanceStateInfoUpdateInfoArray) ToInstanceStateInfoUpdateInfoArrayOutputWithContext(ctx context.Context) InstanceStateInfoUpdateInfoArrayOutput

type InstanceStateInfoUpdateInfoArrayInput

type InstanceStateInfoUpdateInfoArrayInput interface {
	pulumi.Input

	ToInstanceStateInfoUpdateInfoArrayOutput() InstanceStateInfoUpdateInfoArrayOutput
	ToInstanceStateInfoUpdateInfoArrayOutputWithContext(context.Context) InstanceStateInfoUpdateInfoArrayOutput
}

InstanceStateInfoUpdateInfoArrayInput is an input type that accepts InstanceStateInfoUpdateInfoArray and InstanceStateInfoUpdateInfoArrayOutput values. You can construct a concrete instance of `InstanceStateInfoUpdateInfoArrayInput` via:

InstanceStateInfoUpdateInfoArray{ InstanceStateInfoUpdateInfoArgs{...} }

type InstanceStateInfoUpdateInfoArrayOutput

type InstanceStateInfoUpdateInfoArrayOutput struct{ *pulumi.OutputState }

func (InstanceStateInfoUpdateInfoArrayOutput) ElementType

func (InstanceStateInfoUpdateInfoArrayOutput) Index

func (InstanceStateInfoUpdateInfoArrayOutput) ToInstanceStateInfoUpdateInfoArrayOutput

func (o InstanceStateInfoUpdateInfoArrayOutput) ToInstanceStateInfoUpdateInfoArrayOutput() InstanceStateInfoUpdateInfoArrayOutput

func (InstanceStateInfoUpdateInfoArrayOutput) ToInstanceStateInfoUpdateInfoArrayOutputWithContext

func (o InstanceStateInfoUpdateInfoArrayOutput) ToInstanceStateInfoUpdateInfoArrayOutputWithContext(ctx context.Context) InstanceStateInfoUpdateInfoArrayOutput

type InstanceStateInfoUpdateInfoInput

type InstanceStateInfoUpdateInfoInput interface {
	pulumi.Input

	ToInstanceStateInfoUpdateInfoOutput() InstanceStateInfoUpdateInfoOutput
	ToInstanceStateInfoUpdateInfoOutputWithContext(context.Context) InstanceStateInfoUpdateInfoOutput
}

InstanceStateInfoUpdateInfoInput is an input type that accepts InstanceStateInfoUpdateInfoArgs and InstanceStateInfoUpdateInfoOutput values. You can construct a concrete instance of `InstanceStateInfoUpdateInfoInput` via:

InstanceStateInfoUpdateInfoArgs{...}

type InstanceStateInfoUpdateInfoOutput

type InstanceStateInfoUpdateInfoOutput struct{ *pulumi.OutputState }

func (InstanceStateInfoUpdateInfoOutput) ElementType

func (InstanceStateInfoUpdateInfoOutput) TargetReplicaCount

func (o InstanceStateInfoUpdateInfoOutput) TargetReplicaCount() pulumi.IntPtrOutput

(Output) Output only. Target number of replica nodes per shard for the instance.

func (InstanceStateInfoUpdateInfoOutput) TargetShardCount

(Output) Output only. Target number of shards for the instance.

func (InstanceStateInfoUpdateInfoOutput) ToInstanceStateInfoUpdateInfoOutput

func (o InstanceStateInfoUpdateInfoOutput) ToInstanceStateInfoUpdateInfoOutput() InstanceStateInfoUpdateInfoOutput

func (InstanceStateInfoUpdateInfoOutput) ToInstanceStateInfoUpdateInfoOutputWithContext

func (o InstanceStateInfoUpdateInfoOutput) ToInstanceStateInfoUpdateInfoOutputWithContext(ctx context.Context) InstanceStateInfoUpdateInfoOutput

type InstanceZoneDistributionConfig

type InstanceZoneDistributionConfig struct {
	// Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
	// Possible values:
	// MULTI_ZONE
	// SINGLE_ZONE
	// Possible values are: `MULTI_ZONE`, `SINGLE_ZONE`.
	Mode *string `pulumi:"mode"`
	// Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode.
	// Ignored for MULTI_ZONE mode.
	Zone *string `pulumi:"zone"`
}

type InstanceZoneDistributionConfigArgs

type InstanceZoneDistributionConfigArgs struct {
	// Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
	// Possible values:
	// MULTI_ZONE
	// SINGLE_ZONE
	// Possible values are: `MULTI_ZONE`, `SINGLE_ZONE`.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode.
	// Ignored for MULTI_ZONE mode.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

func (InstanceZoneDistributionConfigArgs) ElementType

func (InstanceZoneDistributionConfigArgs) ToInstanceZoneDistributionConfigOutput

func (i InstanceZoneDistributionConfigArgs) ToInstanceZoneDistributionConfigOutput() InstanceZoneDistributionConfigOutput

func (InstanceZoneDistributionConfigArgs) ToInstanceZoneDistributionConfigOutputWithContext

func (i InstanceZoneDistributionConfigArgs) ToInstanceZoneDistributionConfigOutputWithContext(ctx context.Context) InstanceZoneDistributionConfigOutput

func (InstanceZoneDistributionConfigArgs) ToInstanceZoneDistributionConfigPtrOutput

func (i InstanceZoneDistributionConfigArgs) ToInstanceZoneDistributionConfigPtrOutput() InstanceZoneDistributionConfigPtrOutput

func (InstanceZoneDistributionConfigArgs) ToInstanceZoneDistributionConfigPtrOutputWithContext

func (i InstanceZoneDistributionConfigArgs) ToInstanceZoneDistributionConfigPtrOutputWithContext(ctx context.Context) InstanceZoneDistributionConfigPtrOutput

type InstanceZoneDistributionConfigInput

type InstanceZoneDistributionConfigInput interface {
	pulumi.Input

	ToInstanceZoneDistributionConfigOutput() InstanceZoneDistributionConfigOutput
	ToInstanceZoneDistributionConfigOutputWithContext(context.Context) InstanceZoneDistributionConfigOutput
}

InstanceZoneDistributionConfigInput is an input type that accepts InstanceZoneDistributionConfigArgs and InstanceZoneDistributionConfigOutput values. You can construct a concrete instance of `InstanceZoneDistributionConfigInput` via:

InstanceZoneDistributionConfigArgs{...}

type InstanceZoneDistributionConfigOutput

type InstanceZoneDistributionConfigOutput struct{ *pulumi.OutputState }

func (InstanceZoneDistributionConfigOutput) ElementType

func (InstanceZoneDistributionConfigOutput) Mode

Optional. Current zone distribution mode. Defaults to MULTI_ZONE. Possible values: MULTI_ZONE SINGLE_ZONE Possible values are: `MULTI_ZONE`, `SINGLE_ZONE`.

func (InstanceZoneDistributionConfigOutput) ToInstanceZoneDistributionConfigOutput

func (o InstanceZoneDistributionConfigOutput) ToInstanceZoneDistributionConfigOutput() InstanceZoneDistributionConfigOutput

func (InstanceZoneDistributionConfigOutput) ToInstanceZoneDistributionConfigOutputWithContext

func (o InstanceZoneDistributionConfigOutput) ToInstanceZoneDistributionConfigOutputWithContext(ctx context.Context) InstanceZoneDistributionConfigOutput

func (InstanceZoneDistributionConfigOutput) ToInstanceZoneDistributionConfigPtrOutput

func (o InstanceZoneDistributionConfigOutput) ToInstanceZoneDistributionConfigPtrOutput() InstanceZoneDistributionConfigPtrOutput

func (InstanceZoneDistributionConfigOutput) ToInstanceZoneDistributionConfigPtrOutputWithContext

func (o InstanceZoneDistributionConfigOutput) ToInstanceZoneDistributionConfigPtrOutputWithContext(ctx context.Context) InstanceZoneDistributionConfigPtrOutput

func (InstanceZoneDistributionConfigOutput) Zone

Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.

type InstanceZoneDistributionConfigPtrInput

type InstanceZoneDistributionConfigPtrInput interface {
	pulumi.Input

	ToInstanceZoneDistributionConfigPtrOutput() InstanceZoneDistributionConfigPtrOutput
	ToInstanceZoneDistributionConfigPtrOutputWithContext(context.Context) InstanceZoneDistributionConfigPtrOutput
}

InstanceZoneDistributionConfigPtrInput is an input type that accepts InstanceZoneDistributionConfigArgs, InstanceZoneDistributionConfigPtr and InstanceZoneDistributionConfigPtrOutput values. You can construct a concrete instance of `InstanceZoneDistributionConfigPtrInput` via:

        InstanceZoneDistributionConfigArgs{...}

or:

        nil

type InstanceZoneDistributionConfigPtrOutput

type InstanceZoneDistributionConfigPtrOutput struct{ *pulumi.OutputState }

func (InstanceZoneDistributionConfigPtrOutput) Elem

func (InstanceZoneDistributionConfigPtrOutput) ElementType

func (InstanceZoneDistributionConfigPtrOutput) Mode

Optional. Current zone distribution mode. Defaults to MULTI_ZONE. Possible values: MULTI_ZONE SINGLE_ZONE Possible values are: `MULTI_ZONE`, `SINGLE_ZONE`.

func (InstanceZoneDistributionConfigPtrOutput) ToInstanceZoneDistributionConfigPtrOutput

func (o InstanceZoneDistributionConfigPtrOutput) ToInstanceZoneDistributionConfigPtrOutput() InstanceZoneDistributionConfigPtrOutput

func (InstanceZoneDistributionConfigPtrOutput) ToInstanceZoneDistributionConfigPtrOutputWithContext

func (o InstanceZoneDistributionConfigPtrOutput) ToInstanceZoneDistributionConfigPtrOutputWithContext(ctx context.Context) InstanceZoneDistributionConfigPtrOutput

func (InstanceZoneDistributionConfigPtrOutput) Zone

Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.

Jump to

Keyboard shortcuts

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