memcache

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 Instance

type Instance struct {
	pulumi.CustomResourceState

	// The full name of the GCE network to connect the instance to.  If not provided,
	// 'default' will be used.
	AuthorizedNetwork pulumi.StringOutput `pulumi:"authorizedNetwork"`
	// (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"`
	// Endpoint for Discovery API
	DiscoveryEndpoint pulumi.StringOutput `pulumi:"discoveryEndpoint"`
	// A user-visible name for the instance.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Resource labels to represent user-provided metadata.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Maintenance policy for an instance.
	// Structure is documented below.
	MaintenancePolicy InstanceMaintenancePolicyPtrOutput `pulumi:"maintenancePolicy"`
	// Output only. Published maintenance schedule.
	// Structure is documented below.
	MaintenanceSchedules InstanceMaintenanceScheduleArrayOutput `pulumi:"maintenanceSchedules"`
	// The full version of memcached server running on this instance.
	MemcacheFullVersion pulumi.StringOutput `pulumi:"memcacheFullVersion"`
	// Additional information about the instance state, if available.
	// Structure is documented below.
	MemcacheNodes InstanceMemcacheNodeArrayOutput `pulumi:"memcacheNodes"`
	// User-specified parameters for this memcache instance.
	// Structure is documented below.
	MemcacheParameters InstanceMemcacheParametersPtrOutput `pulumi:"memcacheParameters"`
	// The major version of Memcached software. If not provided, latest supported version will be used.
	// Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically
	// determined by our system based on the latest supported minor version.
	// Default value is `MEMCACHE_1_5`.
	// Possible values are: `MEMCACHE_1_5`.
	MemcacheVersion pulumi.StringPtrOutput `pulumi:"memcacheVersion"`
	// The resource name of the instance.
	Name pulumi.StringOutput `pulumi:"name"`
	// Configuration for memcache nodes.
	// Structure is documented below.
	NodeConfig InstanceNodeConfigOutput `pulumi:"nodeConfig"`
	// Number of nodes in the memcache instance.
	NodeCount pulumi.IntOutput `pulumi:"nodeCount"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The region of the Memcache instance. If it is not provided, the provider region is used.
	Region pulumi.StringOutput `pulumi:"region"`
	// Zones where memcache nodes should be provisioned.  If not
	// provided, all zones will be used.
	Zones pulumi.StringArrayOutput `pulumi:"zones"`
}

A Google Cloud Memcache instance.

To get more information about Instance, see:

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

## Example Usage ### Memcache Instance Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/memcache"
"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 {
		memcacheNetwork, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{
			Name: "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(memcacheNetwork.Id),
		})
		if err != nil {
			return err
		}
		privateServiceConnection, err := servicenetworking.NewConnection(ctx, "privateServiceConnection", &servicenetworking.ConnectionArgs{
			Network: *pulumi.String(memcacheNetwork.Id),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				serviceRange.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = memcache.NewInstance(ctx, "instance", &memcache.InstanceArgs{
			AuthorizedNetwork: privateServiceConnection.Network,
			NodeConfig: &memcache.InstanceNodeConfigArgs{
				CpuCount:     pulumi.Int(1),
				MemorySizeMb: pulumi.Int(1024),
			},
			NodeCount:       pulumi.Int(1),
			MemcacheVersion: pulumi.String("MEMCACHE_1_5"),
			MaintenancePolicy: &memcache.InstanceMaintenancePolicyArgs{
				WeeklyMaintenanceWindows: memcache.InstanceMaintenancePolicyWeeklyMaintenanceWindowArray{
					&memcache.InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs{
						Day:      pulumi.String("SATURDAY"),
						Duration: pulumi.String("14400s"),
						StartTime: &memcache.InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs{
							Hours:   pulumi.Int(0),
							Minutes: pulumi.Int(30),
							Seconds: pulumi.Int(0),
							Nanos:   pulumi.Int(0),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Instance can be imported using any of these accepted formats

```sh

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

```

```sh

$ pulumi import gcp:memcache/instance:Instance default {{project}}/{{region}}/{{name}}

```

```sh

$ pulumi import gcp:memcache/instance:Instance default {{region}}/{{name}}

```

```sh

$ pulumi import gcp:memcache/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 {
	// The full name of the GCE network to connect the instance to.  If not provided,
	// 'default' will be used.
	AuthorizedNetwork pulumi.StringPtrInput
	// A user-visible name for the instance.
	DisplayName pulumi.StringPtrInput
	// Resource labels to represent user-provided metadata.
	Labels pulumi.StringMapInput
	// Maintenance policy for an instance.
	// Structure is documented below.
	MaintenancePolicy InstanceMaintenancePolicyPtrInput
	// User-specified parameters for this memcache instance.
	// Structure is documented below.
	MemcacheParameters InstanceMemcacheParametersPtrInput
	// The major version of Memcached software. If not provided, latest supported version will be used.
	// Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically
	// determined by our system based on the latest supported minor version.
	// Default value is `MEMCACHE_1_5`.
	// Possible values are: `MEMCACHE_1_5`.
	MemcacheVersion pulumi.StringPtrInput
	// The resource name of the instance.
	Name pulumi.StringPtrInput
	// Configuration for memcache nodes.
	// Structure is documented below.
	NodeConfig InstanceNodeConfigInput
	// Number of nodes in the memcache instance.
	NodeCount pulumi.IntInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The region of the Memcache instance. If it is not provided, the provider region is used.
	Region pulumi.StringPtrInput
	// Zones where memcache nodes should be provisioned.  If not
	// provided, all zones will be used.
	Zones pulumi.StringArrayInput
}

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.26.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 updated.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	UpdateTime *string `pulumi:"updateTime"`
	// Required. Maintenance window that is applied to resources covered by this policy.
	// Minimum 1. For the current version, the maximum number of weeklyMaintenanceWindows
	// is expected to be one.
	// Structure is documented below.
	WeeklyMaintenanceWindows []InstanceMaintenancePolicyWeeklyMaintenanceWindow `pulumi:"weeklyMaintenanceWindows"`
}

type InstanceMaintenancePolicyArgs added in v6.26.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 updated.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	UpdateTime pulumi.StringPtrInput `pulumi:"updateTime"`
	// Required. Maintenance window that is applied to resources covered by this policy.
	// Minimum 1. For the current version, the maximum number of weeklyMaintenanceWindows
	// is expected to be one.
	// Structure is documented below.
	WeeklyMaintenanceWindows InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput `pulumi:"weeklyMaintenanceWindows"`
}

func (InstanceMaintenancePolicyArgs) ElementType added in v6.26.0

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutput added in v6.26.0

func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutputWithContext added in v6.26.0

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

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutput added in v6.26.0

func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput

func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutputWithContext added in v6.26.0

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

func (InstanceMaintenancePolicyArgs) ToOutput added in v6.65.1

type InstanceMaintenancePolicyInput added in v6.26.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.26.0

type InstanceMaintenancePolicyOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyOutput) CreateTime added in v6.26.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.26.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.26.0

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutput added in v6.26.0

func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutputWithContext added in v6.26.0

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

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutput added in v6.26.0

func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput

func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutputWithContext added in v6.26.0

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

func (InstanceMaintenancePolicyOutput) ToOutput added in v6.65.1

func (InstanceMaintenancePolicyOutput) UpdateTime added in v6.26.0

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

func (InstanceMaintenancePolicyOutput) WeeklyMaintenanceWindows added in v6.26.0

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

type InstanceMaintenancePolicyPtrInput added in v6.26.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.26.0

type InstanceMaintenancePolicyPtrOutput added in v6.26.0

type InstanceMaintenancePolicyPtrOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyPtrOutput) CreateTime added in v6.26.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.26.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.26.0

func (InstanceMaintenancePolicyPtrOutput) ElementType added in v6.26.0

func (InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutput added in v6.26.0

func (o InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput

func (InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutputWithContext added in v6.26.0

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

func (InstanceMaintenancePolicyPtrOutput) ToOutput added in v6.65.1

func (InstanceMaintenancePolicyPtrOutput) UpdateTime added in v6.26.0

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

func (InstanceMaintenancePolicyPtrOutput) WeeklyMaintenanceWindows added in v6.26.0

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

type InstanceMaintenancePolicyWeeklyMaintenanceWindow added in v6.26.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"`
	// Required. The length of the maintenance window, ranging from 3 hours to 8 hours.
	// 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.26.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"`
	// Required. The length of the maintenance window, ranging from 3 hours to 8 hours.
	// A duration in seconds with up to nine fractional digits,
	// terminated by 's'. Example: "3.5s".
	Duration pulumi.StringInput `pulumi:"duration"`
	// Required. Start time of the window in UTC time.
	// Structure is documented below.
	StartTime InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput `pulumi:"startTime"`
}

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ElementType added in v6.26.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput added in v6.26.0

func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext added in v6.26.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToOutput added in v6.65.1

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArray added in v6.26.0

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArray []InstanceMaintenancePolicyWeeklyMaintenanceWindowInput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ElementType added in v6.26.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput added in v6.26.0

func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext added in v6.26.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToOutput added in v6.65.1

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput added in v6.26.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.26.0

type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ElementType added in v6.26.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) Index added in v6.26.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput added in v6.26.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext added in v6.26.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToOutput added in v6.65.1

type InstanceMaintenancePolicyWeeklyMaintenanceWindowInput added in v6.26.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.26.0

type InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Day added in v6.26.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.26.0

Required. The length of the maintenance window, ranging from 3 hours to 8 hours. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ElementType added in v6.26.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) StartTime added in v6.26.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput added in v6.26.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext added in v6.26.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToOutput added in v6.65.1

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime added in v6.26.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.26.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.26.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput added in v6.26.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext added in v6.26.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToOutput added in v6.65.1

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput added in v6.26.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.26.0

type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput struct{ *pulumi.OutputState }

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ElementType added in v6.26.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Hours added in v6.26.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.26.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Nanos added in v6.26.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Seconds added in v6.26.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.26.0

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext added in v6.26.0

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

func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToOutput added in v6.65.1

type InstanceMaintenanceSchedule added in v6.26.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.26.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.26.0

func (InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutput added in v6.26.0

func (i InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput

func (InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutputWithContext added in v6.26.0

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

func (InstanceMaintenanceScheduleArgs) ToOutput added in v6.65.1

type InstanceMaintenanceScheduleArray added in v6.26.0

type InstanceMaintenanceScheduleArray []InstanceMaintenanceScheduleInput

func (InstanceMaintenanceScheduleArray) ElementType added in v6.26.0

func (InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutput added in v6.26.0

func (i InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutput() InstanceMaintenanceScheduleArrayOutput

func (InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutputWithContext added in v6.26.0

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

func (InstanceMaintenanceScheduleArray) ToOutput added in v6.65.1

type InstanceMaintenanceScheduleArrayInput added in v6.26.0

type InstanceMaintenanceScheduleArrayInput interface {
	pulumi.Input

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

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

InstanceMaintenanceScheduleArray{ InstanceMaintenanceScheduleArgs{...} }

type InstanceMaintenanceScheduleArrayOutput added in v6.26.0

type InstanceMaintenanceScheduleArrayOutput struct{ *pulumi.OutputState }

func (InstanceMaintenanceScheduleArrayOutput) ElementType added in v6.26.0

func (InstanceMaintenanceScheduleArrayOutput) Index added in v6.26.0

func (InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutput added in v6.26.0

func (o InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutput() InstanceMaintenanceScheduleArrayOutput

func (InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutputWithContext added in v6.26.0

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

func (InstanceMaintenanceScheduleArrayOutput) ToOutput added in v6.65.1

type InstanceMaintenanceScheduleInput added in v6.26.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.26.0

type InstanceMaintenanceScheduleOutput struct{ *pulumi.OutputState }

func (InstanceMaintenanceScheduleOutput) ElementType added in v6.26.0

func (InstanceMaintenanceScheduleOutput) EndTime added in v6.26.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.26.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.26.0

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

func (InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutput added in v6.26.0

func (o InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput

func (InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutputWithContext added in v6.26.0

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

func (InstanceMaintenanceScheduleOutput) 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 InstanceMemcacheNode

type InstanceMemcacheNode struct {
	// (Output)
	// Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
	Host *string `pulumi:"host"`
	// (Output)
	// Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
	NodeId *string `pulumi:"nodeId"`
	// (Output)
	// The port number of the Memcached server on this node.
	Port *int `pulumi:"port"`
	// (Output)
	// Current state of the Memcached node.
	State *string `pulumi:"state"`
	// (Output)
	// Location (GCP Zone) for the Memcached node.
	Zone *string `pulumi:"zone"`
}

type InstanceMemcacheNodeArgs

type InstanceMemcacheNodeArgs struct {
	// (Output)
	// Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
	Host pulumi.StringPtrInput `pulumi:"host"`
	// (Output)
	// Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
	NodeId pulumi.StringPtrInput `pulumi:"nodeId"`
	// (Output)
	// The port number of the Memcached server on this node.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// (Output)
	// Current state of the Memcached node.
	State pulumi.StringPtrInput `pulumi:"state"`
	// (Output)
	// Location (GCP Zone) for the Memcached node.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

func (InstanceMemcacheNodeArgs) ElementType

func (InstanceMemcacheNodeArgs) ElementType() reflect.Type

func (InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutput

func (i InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutput() InstanceMemcacheNodeOutput

func (InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutputWithContext

func (i InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutputWithContext(ctx context.Context) InstanceMemcacheNodeOutput

func (InstanceMemcacheNodeArgs) ToOutput added in v6.65.1

type InstanceMemcacheNodeArray

type InstanceMemcacheNodeArray []InstanceMemcacheNodeInput

func (InstanceMemcacheNodeArray) ElementType

func (InstanceMemcacheNodeArray) ElementType() reflect.Type

func (InstanceMemcacheNodeArray) ToInstanceMemcacheNodeArrayOutput

func (i InstanceMemcacheNodeArray) ToInstanceMemcacheNodeArrayOutput() InstanceMemcacheNodeArrayOutput

func (InstanceMemcacheNodeArray) ToInstanceMemcacheNodeArrayOutputWithContext

func (i InstanceMemcacheNodeArray) ToInstanceMemcacheNodeArrayOutputWithContext(ctx context.Context) InstanceMemcacheNodeArrayOutput

func (InstanceMemcacheNodeArray) ToOutput added in v6.65.1

type InstanceMemcacheNodeArrayInput

type InstanceMemcacheNodeArrayInput interface {
	pulumi.Input

	ToInstanceMemcacheNodeArrayOutput() InstanceMemcacheNodeArrayOutput
	ToInstanceMemcacheNodeArrayOutputWithContext(context.Context) InstanceMemcacheNodeArrayOutput
}

InstanceMemcacheNodeArrayInput is an input type that accepts InstanceMemcacheNodeArray and InstanceMemcacheNodeArrayOutput values. You can construct a concrete instance of `InstanceMemcacheNodeArrayInput` via:

InstanceMemcacheNodeArray{ InstanceMemcacheNodeArgs{...} }

type InstanceMemcacheNodeArrayOutput

type InstanceMemcacheNodeArrayOutput struct{ *pulumi.OutputState }

func (InstanceMemcacheNodeArrayOutput) ElementType

func (InstanceMemcacheNodeArrayOutput) Index

func (InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutput

func (o InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutput() InstanceMemcacheNodeArrayOutput

func (InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutputWithContext

func (o InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutputWithContext(ctx context.Context) InstanceMemcacheNodeArrayOutput

func (InstanceMemcacheNodeArrayOutput) ToOutput added in v6.65.1

type InstanceMemcacheNodeInput

type InstanceMemcacheNodeInput interface {
	pulumi.Input

	ToInstanceMemcacheNodeOutput() InstanceMemcacheNodeOutput
	ToInstanceMemcacheNodeOutputWithContext(context.Context) InstanceMemcacheNodeOutput
}

InstanceMemcacheNodeInput is an input type that accepts InstanceMemcacheNodeArgs and InstanceMemcacheNodeOutput values. You can construct a concrete instance of `InstanceMemcacheNodeInput` via:

InstanceMemcacheNodeArgs{...}

type InstanceMemcacheNodeOutput

type InstanceMemcacheNodeOutput struct{ *pulumi.OutputState }

func (InstanceMemcacheNodeOutput) ElementType

func (InstanceMemcacheNodeOutput) ElementType() reflect.Type

func (InstanceMemcacheNodeOutput) Host

(Output) Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.

func (InstanceMemcacheNodeOutput) NodeId

(Output) Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.

func (InstanceMemcacheNodeOutput) Port

(Output) The port number of the Memcached server on this node.

func (InstanceMemcacheNodeOutput) State

(Output) Current state of the Memcached node.

func (InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutput

func (o InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutput() InstanceMemcacheNodeOutput

func (InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutputWithContext

func (o InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutputWithContext(ctx context.Context) InstanceMemcacheNodeOutput

func (InstanceMemcacheNodeOutput) ToOutput added in v6.65.1

func (InstanceMemcacheNodeOutput) Zone

(Output) Location (GCP Zone) for the Memcached node.

type InstanceMemcacheParameters

type InstanceMemcacheParameters struct {
	// (Output)
	// This is a unique ID associated with this set of parameters.
	Id *string `pulumi:"id"`
	// User-defined set of parameters to use in the memcache process.
	Params map[string]string `pulumi:"params"`
}

type InstanceMemcacheParametersArgs

type InstanceMemcacheParametersArgs struct {
	// (Output)
	// This is a unique ID associated with this set of parameters.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// User-defined set of parameters to use in the memcache process.
	Params pulumi.StringMapInput `pulumi:"params"`
}

func (InstanceMemcacheParametersArgs) ElementType

func (InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersOutput

func (i InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersOutput() InstanceMemcacheParametersOutput

func (InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersOutputWithContext

func (i InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersOutputWithContext(ctx context.Context) InstanceMemcacheParametersOutput

func (InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersPtrOutput

func (i InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersPtrOutput() InstanceMemcacheParametersPtrOutput

func (InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersPtrOutputWithContext

func (i InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersPtrOutputWithContext(ctx context.Context) InstanceMemcacheParametersPtrOutput

func (InstanceMemcacheParametersArgs) ToOutput added in v6.65.1

type InstanceMemcacheParametersInput

type InstanceMemcacheParametersInput interface {
	pulumi.Input

	ToInstanceMemcacheParametersOutput() InstanceMemcacheParametersOutput
	ToInstanceMemcacheParametersOutputWithContext(context.Context) InstanceMemcacheParametersOutput
}

InstanceMemcacheParametersInput is an input type that accepts InstanceMemcacheParametersArgs and InstanceMemcacheParametersOutput values. You can construct a concrete instance of `InstanceMemcacheParametersInput` via:

InstanceMemcacheParametersArgs{...}

type InstanceMemcacheParametersOutput

type InstanceMemcacheParametersOutput struct{ *pulumi.OutputState }

func (InstanceMemcacheParametersOutput) ElementType

func (InstanceMemcacheParametersOutput) Id

(Output) This is a unique ID associated with this set of parameters.

func (InstanceMemcacheParametersOutput) Params

User-defined set of parameters to use in the memcache process.

func (InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersOutput

func (o InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersOutput() InstanceMemcacheParametersOutput

func (InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersOutputWithContext

func (o InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersOutputWithContext(ctx context.Context) InstanceMemcacheParametersOutput

func (InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersPtrOutput

func (o InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersPtrOutput() InstanceMemcacheParametersPtrOutput

func (InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersPtrOutputWithContext

func (o InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersPtrOutputWithContext(ctx context.Context) InstanceMemcacheParametersPtrOutput

func (InstanceMemcacheParametersOutput) ToOutput added in v6.65.1

type InstanceMemcacheParametersPtrInput

type InstanceMemcacheParametersPtrInput interface {
	pulumi.Input

	ToInstanceMemcacheParametersPtrOutput() InstanceMemcacheParametersPtrOutput
	ToInstanceMemcacheParametersPtrOutputWithContext(context.Context) InstanceMemcacheParametersPtrOutput
}

InstanceMemcacheParametersPtrInput is an input type that accepts InstanceMemcacheParametersArgs, InstanceMemcacheParametersPtr and InstanceMemcacheParametersPtrOutput values. You can construct a concrete instance of `InstanceMemcacheParametersPtrInput` via:

        InstanceMemcacheParametersArgs{...}

or:

        nil

type InstanceMemcacheParametersPtrOutput

type InstanceMemcacheParametersPtrOutput struct{ *pulumi.OutputState }

func (InstanceMemcacheParametersPtrOutput) Elem

func (InstanceMemcacheParametersPtrOutput) ElementType

func (InstanceMemcacheParametersPtrOutput) Id

(Output) This is a unique ID associated with this set of parameters.

func (InstanceMemcacheParametersPtrOutput) Params

User-defined set of parameters to use in the memcache process.

func (InstanceMemcacheParametersPtrOutput) ToInstanceMemcacheParametersPtrOutput

func (o InstanceMemcacheParametersPtrOutput) ToInstanceMemcacheParametersPtrOutput() InstanceMemcacheParametersPtrOutput

func (InstanceMemcacheParametersPtrOutput) ToInstanceMemcacheParametersPtrOutputWithContext

func (o InstanceMemcacheParametersPtrOutput) ToInstanceMemcacheParametersPtrOutputWithContext(ctx context.Context) InstanceMemcacheParametersPtrOutput

func (InstanceMemcacheParametersPtrOutput) ToOutput added in v6.65.1

type InstanceNodeConfig

type InstanceNodeConfig struct {
	// Number of CPUs per node.
	CpuCount int `pulumi:"cpuCount"`
	// Memory size in Mebibytes for each memcache node.
	//
	// ***
	MemorySizeMb int `pulumi:"memorySizeMb"`
}

type InstanceNodeConfigArgs

type InstanceNodeConfigArgs struct {
	// Number of CPUs per node.
	CpuCount pulumi.IntInput `pulumi:"cpuCount"`
	// Memory size in Mebibytes for each memcache node.
	//
	// ***
	MemorySizeMb pulumi.IntInput `pulumi:"memorySizeMb"`
}

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

func (InstanceNodeConfigArgs) ToInstanceNodeConfigPtrOutput

func (i InstanceNodeConfigArgs) ToInstanceNodeConfigPtrOutput() InstanceNodeConfigPtrOutput

func (InstanceNodeConfigArgs) ToInstanceNodeConfigPtrOutputWithContext

func (i InstanceNodeConfigArgs) ToInstanceNodeConfigPtrOutputWithContext(ctx context.Context) InstanceNodeConfigPtrOutput

func (InstanceNodeConfigArgs) ToOutput added in v6.65.1

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

Number of CPUs per node.

func (InstanceNodeConfigOutput) ElementType

func (InstanceNodeConfigOutput) ElementType() reflect.Type

func (InstanceNodeConfigOutput) MemorySizeMb

func (o InstanceNodeConfigOutput) MemorySizeMb() pulumi.IntOutput

Memory size in Mebibytes for each memcache node.

***

func (InstanceNodeConfigOutput) ToInstanceNodeConfigOutput

func (o InstanceNodeConfigOutput) ToInstanceNodeConfigOutput() InstanceNodeConfigOutput

func (InstanceNodeConfigOutput) ToInstanceNodeConfigOutputWithContext

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

func (InstanceNodeConfigOutput) ToInstanceNodeConfigPtrOutput

func (o InstanceNodeConfigOutput) ToInstanceNodeConfigPtrOutput() InstanceNodeConfigPtrOutput

func (InstanceNodeConfigOutput) ToInstanceNodeConfigPtrOutputWithContext

func (o InstanceNodeConfigOutput) ToInstanceNodeConfigPtrOutputWithContext(ctx context.Context) InstanceNodeConfigPtrOutput

func (InstanceNodeConfigOutput) ToOutput added in v6.65.1

type InstanceNodeConfigPtrInput

type InstanceNodeConfigPtrInput interface {
	pulumi.Input

	ToInstanceNodeConfigPtrOutput() InstanceNodeConfigPtrOutput
	ToInstanceNodeConfigPtrOutputWithContext(context.Context) InstanceNodeConfigPtrOutput
}

InstanceNodeConfigPtrInput is an input type that accepts InstanceNodeConfigArgs, InstanceNodeConfigPtr and InstanceNodeConfigPtrOutput values. You can construct a concrete instance of `InstanceNodeConfigPtrInput` via:

        InstanceNodeConfigArgs{...}

or:

        nil

type InstanceNodeConfigPtrOutput

type InstanceNodeConfigPtrOutput struct{ *pulumi.OutputState }

func (InstanceNodeConfigPtrOutput) CpuCount

Number of CPUs per node.

func (InstanceNodeConfigPtrOutput) Elem

func (InstanceNodeConfigPtrOutput) ElementType

func (InstanceNodeConfigPtrOutput) MemorySizeMb

Memory size in Mebibytes for each memcache node.

***

func (InstanceNodeConfigPtrOutput) ToInstanceNodeConfigPtrOutput

func (o InstanceNodeConfigPtrOutput) ToInstanceNodeConfigPtrOutput() InstanceNodeConfigPtrOutput

func (InstanceNodeConfigPtrOutput) ToInstanceNodeConfigPtrOutputWithContext

func (o InstanceNodeConfigPtrOutput) ToInstanceNodeConfigPtrOutputWithContext(ctx context.Context) InstanceNodeConfigPtrOutput

func (InstanceNodeConfigPtrOutput) ToOutput added in v6.65.1

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) AuthorizedNetwork added in v6.23.0

func (o InstanceOutput) AuthorizedNetwork() pulumi.StringOutput

The full name of the GCE network to connect the instance to. If not provided, 'default' will be used.

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

func (o InstanceOutput) DiscoveryEndpoint() pulumi.StringOutput

Endpoint for Discovery API

func (InstanceOutput) DisplayName added in v6.23.0

func (o InstanceOutput) DisplayName() pulumi.StringOutput

A user-visible name for the instance.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) Labels added in v6.23.0

Resource labels to represent user-provided metadata.

func (InstanceOutput) MaintenancePolicy added in v6.26.0

func (o InstanceOutput) MaintenancePolicy() InstanceMaintenancePolicyPtrOutput

Maintenance policy for an instance. Structure is documented below.

func (InstanceOutput) MaintenanceSchedules added in v6.26.0

func (o InstanceOutput) MaintenanceSchedules() InstanceMaintenanceScheduleArrayOutput

Output only. Published maintenance schedule. Structure is documented below.

func (InstanceOutput) MemcacheFullVersion added in v6.23.0

func (o InstanceOutput) MemcacheFullVersion() pulumi.StringOutput

The full version of memcached server running on this instance.

func (InstanceOutput) MemcacheNodes added in v6.23.0

Additional information about the instance state, if available. Structure is documented below.

func (InstanceOutput) MemcacheParameters added in v6.23.0

func (o InstanceOutput) MemcacheParameters() InstanceMemcacheParametersPtrOutput

User-specified parameters for this memcache instance. Structure is documented below.

func (InstanceOutput) MemcacheVersion added in v6.23.0

func (o InstanceOutput) MemcacheVersion() pulumi.StringPtrOutput

The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version. Default value is `MEMCACHE_1_5`. Possible values are: `MEMCACHE_1_5`.

func (InstanceOutput) Name added in v6.23.0

The resource name of the instance.

func (InstanceOutput) NodeConfig added in v6.23.0

Configuration for memcache nodes. Structure is documented below.

func (InstanceOutput) NodeCount added in v6.23.0

func (o InstanceOutput) NodeCount() pulumi.IntOutput

Number of nodes in the memcache instance.

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

func (o InstanceOutput) Region() pulumi.StringOutput

The region of the Memcache instance. If it is not provided, the provider region is used.

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

Zones where memcache nodes should be provisioned. If not provided, all zones will be used.

type InstanceState

type InstanceState struct {
	// The full name of the GCE network to connect the instance to.  If not provided,
	// 'default' will be used.
	AuthorizedNetwork 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
	// Endpoint for Discovery API
	DiscoveryEndpoint pulumi.StringPtrInput
	// A user-visible name for the instance.
	DisplayName pulumi.StringPtrInput
	// Resource labels to represent user-provided metadata.
	Labels pulumi.StringMapInput
	// Maintenance policy for an instance.
	// Structure is documented below.
	MaintenancePolicy InstanceMaintenancePolicyPtrInput
	// Output only. Published maintenance schedule.
	// Structure is documented below.
	MaintenanceSchedules InstanceMaintenanceScheduleArrayInput
	// The full version of memcached server running on this instance.
	MemcacheFullVersion pulumi.StringPtrInput
	// Additional information about the instance state, if available.
	// Structure is documented below.
	MemcacheNodes InstanceMemcacheNodeArrayInput
	// User-specified parameters for this memcache instance.
	// Structure is documented below.
	MemcacheParameters InstanceMemcacheParametersPtrInput
	// The major version of Memcached software. If not provided, latest supported version will be used.
	// Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically
	// determined by our system based on the latest supported minor version.
	// Default value is `MEMCACHE_1_5`.
	// Possible values are: `MEMCACHE_1_5`.
	MemcacheVersion pulumi.StringPtrInput
	// The resource name of the instance.
	Name pulumi.StringPtrInput
	// Configuration for memcache nodes.
	// Structure is documented below.
	NodeConfig InstanceNodeConfigPtrInput
	// Number of nodes in the memcache instance.
	NodeCount pulumi.IntPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The region of the Memcache instance. If it is not provided, the provider region is used.
	Region pulumi.StringPtrInput
	// Zones where memcache nodes should be provisioned.  If not
	// provided, all zones will be used.
	Zones pulumi.StringArrayInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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