v1

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstanceMemcacheVersionMemcacheVersionUnspecified = InstanceMemcacheVersion("MEMCACHE_VERSION_UNSPECIFIED")
	// Memcached 1.5 version.
	InstanceMemcacheVersionMemcache15 = InstanceMemcacheVersion("MEMCACHE_1_5")
)
View Source
const (
	// Message Code not set.
	InstanceMessageCodeCodeUnspecified = InstanceMessageCode("CODE_UNSPECIFIED")
	// Memcached nodes are distributed unevenly.
	InstanceMessageCodeZoneDistributionUnbalanced = InstanceMessageCode("ZONE_DISTRIBUTION_UNBALANCED")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. If left unspecified, the `default` network will be used.
	AuthorizedNetwork pulumi.StringOutput `pulumi:"authorizedNetwork"`
	// The time the instance was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Endpoint for the Discovery API.
	DiscoveryEndpoint pulumi.StringOutput `pulumi:"discoveryEndpoint"`
	// User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// List of messages that describe the current state of the Memcached instance.
	InstanceMessages InstanceMessageResponseArrayOutput `pulumi:"instanceMessages"`
	// Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be "memcached-1.5.16".
	MemcacheFullVersion pulumi.StringOutput `pulumi:"memcacheFullVersion"`
	// List of Memcached nodes. Refer to Node message for more details.
	MemcacheNodes NodeResponseArrayOutput `pulumi:"memcacheNodes"`
	// 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.
	MemcacheVersion pulumi.StringOutput `pulumi:"memcacheVersion"`
	// Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at the regional level so `location_id` here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.
	Name pulumi.StringOutput `pulumi:"name"`
	// Configuration for Memcached nodes.
	NodeConfig NodeConfigResponseOutput `pulumi:"nodeConfig"`
	// Number of nodes in the Memcached instance.
	NodeCount pulumi.IntOutput `pulumi:"nodeCount"`
	// User defined parameters to apply to the memcached process on each node.
	Parameters MemcacheParametersResponseOutput `pulumi:"parameters"`
	// The state of this Memcached instance.
	State pulumi.StringOutput `pulumi:"state"`
	// The time the instance was updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
	Zones pulumi.StringArrayOutput `pulumi:"zones"`
}

Creates a new Instance in a given location.

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 {
	// The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. If left unspecified, the `default` network will be used.
	AuthorizedNetwork pulumi.StringPtrInput
	// User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
	DisplayName pulumi.StringPtrInput
	// Required. The logical name of the Memcached instance in the user project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the user project / location. If any of the above are not met, the API raises an invalid argument error.
	InstanceId pulumi.StringInput
	// List of messages that describe the current state of the Memcached instance.
	InstanceMessages InstanceMessageArrayInput
	// Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
	Labels   pulumi.StringMapInput
	Location pulumi.StringPtrInput
	// 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.
	MemcacheVersion InstanceMemcacheVersionPtrInput
	// Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at the regional level so `location_id` here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.
	Name pulumi.StringPtrInput
	// Configuration for Memcached nodes.
	NodeConfig NodeConfigInput
	// Number of nodes in the Memcached instance.
	NodeCount pulumi.IntInput
	// User defined parameters to apply to the memcached process on each node.
	Parameters MemcacheParametersPtrInput
	Project    pulumi.StringPtrInput
	// Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
	Zones pulumi.StringArrayInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceInput

type InstanceInput interface {
	pulumi.Input

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

type InstanceMemcacheVersion added in v0.4.0

type InstanceMemcacheVersion string

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.

func (InstanceMemcacheVersion) ElementType added in v0.4.0

func (InstanceMemcacheVersion) ElementType() reflect.Type

func (InstanceMemcacheVersion) ToInstanceMemcacheVersionOutput added in v0.6.0

func (e InstanceMemcacheVersion) ToInstanceMemcacheVersionOutput() InstanceMemcacheVersionOutput

func (InstanceMemcacheVersion) ToInstanceMemcacheVersionOutputWithContext added in v0.6.0

func (e InstanceMemcacheVersion) ToInstanceMemcacheVersionOutputWithContext(ctx context.Context) InstanceMemcacheVersionOutput

func (InstanceMemcacheVersion) ToInstanceMemcacheVersionPtrOutput added in v0.6.0

func (e InstanceMemcacheVersion) ToInstanceMemcacheVersionPtrOutput() InstanceMemcacheVersionPtrOutput

func (InstanceMemcacheVersion) ToInstanceMemcacheVersionPtrOutputWithContext added in v0.6.0

func (e InstanceMemcacheVersion) ToInstanceMemcacheVersionPtrOutputWithContext(ctx context.Context) InstanceMemcacheVersionPtrOutput

func (InstanceMemcacheVersion) ToStringOutput added in v0.4.0

func (e InstanceMemcacheVersion) ToStringOutput() pulumi.StringOutput

func (InstanceMemcacheVersion) ToStringOutputWithContext added in v0.4.0

func (e InstanceMemcacheVersion) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (InstanceMemcacheVersion) ToStringPtrOutput added in v0.4.0

func (e InstanceMemcacheVersion) ToStringPtrOutput() pulumi.StringPtrOutput

func (InstanceMemcacheVersion) ToStringPtrOutputWithContext added in v0.4.0

func (e InstanceMemcacheVersion) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceMemcacheVersionInput added in v0.6.0

type InstanceMemcacheVersionInput interface {
	pulumi.Input

	ToInstanceMemcacheVersionOutput() InstanceMemcacheVersionOutput
	ToInstanceMemcacheVersionOutputWithContext(context.Context) InstanceMemcacheVersionOutput
}

InstanceMemcacheVersionInput is an input type that accepts InstanceMemcacheVersionArgs and InstanceMemcacheVersionOutput values. You can construct a concrete instance of `InstanceMemcacheVersionInput` via:

InstanceMemcacheVersionArgs{...}

type InstanceMemcacheVersionOutput added in v0.6.0

type InstanceMemcacheVersionOutput struct{ *pulumi.OutputState }

func (InstanceMemcacheVersionOutput) ElementType added in v0.6.0

func (InstanceMemcacheVersionOutput) ToInstanceMemcacheVersionOutput added in v0.6.0

func (o InstanceMemcacheVersionOutput) ToInstanceMemcacheVersionOutput() InstanceMemcacheVersionOutput

func (InstanceMemcacheVersionOutput) ToInstanceMemcacheVersionOutputWithContext added in v0.6.0

func (o InstanceMemcacheVersionOutput) ToInstanceMemcacheVersionOutputWithContext(ctx context.Context) InstanceMemcacheVersionOutput

func (InstanceMemcacheVersionOutput) ToInstanceMemcacheVersionPtrOutput added in v0.6.0

func (o InstanceMemcacheVersionOutput) ToInstanceMemcacheVersionPtrOutput() InstanceMemcacheVersionPtrOutput

func (InstanceMemcacheVersionOutput) ToInstanceMemcacheVersionPtrOutputWithContext added in v0.6.0

func (o InstanceMemcacheVersionOutput) ToInstanceMemcacheVersionPtrOutputWithContext(ctx context.Context) InstanceMemcacheVersionPtrOutput

func (InstanceMemcacheVersionOutput) ToStringOutput added in v0.6.0

func (InstanceMemcacheVersionOutput) ToStringOutputWithContext added in v0.6.0

func (o InstanceMemcacheVersionOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (InstanceMemcacheVersionOutput) ToStringPtrOutput added in v0.6.0

func (InstanceMemcacheVersionOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o InstanceMemcacheVersionOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceMemcacheVersionPtrInput added in v0.6.0

type InstanceMemcacheVersionPtrInput interface {
	pulumi.Input

	ToInstanceMemcacheVersionPtrOutput() InstanceMemcacheVersionPtrOutput
	ToInstanceMemcacheVersionPtrOutputWithContext(context.Context) InstanceMemcacheVersionPtrOutput
}

func InstanceMemcacheVersionPtr added in v0.6.0

func InstanceMemcacheVersionPtr(v string) InstanceMemcacheVersionPtrInput

type InstanceMemcacheVersionPtrOutput added in v0.6.0

type InstanceMemcacheVersionPtrOutput struct{ *pulumi.OutputState }

func (InstanceMemcacheVersionPtrOutput) Elem added in v0.6.0

func (InstanceMemcacheVersionPtrOutput) ElementType added in v0.6.0

func (InstanceMemcacheVersionPtrOutput) ToInstanceMemcacheVersionPtrOutput added in v0.6.0

func (o InstanceMemcacheVersionPtrOutput) ToInstanceMemcacheVersionPtrOutput() InstanceMemcacheVersionPtrOutput

func (InstanceMemcacheVersionPtrOutput) ToInstanceMemcacheVersionPtrOutputWithContext added in v0.6.0

func (o InstanceMemcacheVersionPtrOutput) ToInstanceMemcacheVersionPtrOutputWithContext(ctx context.Context) InstanceMemcacheVersionPtrOutput

func (InstanceMemcacheVersionPtrOutput) ToStringPtrOutput added in v0.6.0

func (InstanceMemcacheVersionPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o InstanceMemcacheVersionPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceMessage

type InstanceMessage struct {
	// A code that correspond to one type of user-facing message.
	Code *InstanceMessageCode `pulumi:"code"`
	// Message on memcached instance which will be exposed to users.
	Message *string `pulumi:"message"`
}

type InstanceMessageArgs

type InstanceMessageArgs struct {
	// A code that correspond to one type of user-facing message.
	Code InstanceMessageCodePtrInput `pulumi:"code"`
	// Message on memcached instance which will be exposed to users.
	Message pulumi.StringPtrInput `pulumi:"message"`
}

func (InstanceMessageArgs) ElementType

func (InstanceMessageArgs) ElementType() reflect.Type

func (InstanceMessageArgs) ToInstanceMessageOutput

func (i InstanceMessageArgs) ToInstanceMessageOutput() InstanceMessageOutput

func (InstanceMessageArgs) ToInstanceMessageOutputWithContext

func (i InstanceMessageArgs) ToInstanceMessageOutputWithContext(ctx context.Context) InstanceMessageOutput

type InstanceMessageArray

type InstanceMessageArray []InstanceMessageInput

func (InstanceMessageArray) ElementType

func (InstanceMessageArray) ElementType() reflect.Type

func (InstanceMessageArray) ToInstanceMessageArrayOutput

func (i InstanceMessageArray) ToInstanceMessageArrayOutput() InstanceMessageArrayOutput

func (InstanceMessageArray) ToInstanceMessageArrayOutputWithContext

func (i InstanceMessageArray) ToInstanceMessageArrayOutputWithContext(ctx context.Context) InstanceMessageArrayOutput

type InstanceMessageArrayInput

type InstanceMessageArrayInput interface {
	pulumi.Input

	ToInstanceMessageArrayOutput() InstanceMessageArrayOutput
	ToInstanceMessageArrayOutputWithContext(context.Context) InstanceMessageArrayOutput
}

InstanceMessageArrayInput is an input type that accepts InstanceMessageArray and InstanceMessageArrayOutput values. You can construct a concrete instance of `InstanceMessageArrayInput` via:

InstanceMessageArray{ InstanceMessageArgs{...} }

type InstanceMessageArrayOutput

type InstanceMessageArrayOutput struct{ *pulumi.OutputState }

func (InstanceMessageArrayOutput) ElementType

func (InstanceMessageArrayOutput) ElementType() reflect.Type

func (InstanceMessageArrayOutput) Index

func (InstanceMessageArrayOutput) ToInstanceMessageArrayOutput

func (o InstanceMessageArrayOutput) ToInstanceMessageArrayOutput() InstanceMessageArrayOutput

func (InstanceMessageArrayOutput) ToInstanceMessageArrayOutputWithContext

func (o InstanceMessageArrayOutput) ToInstanceMessageArrayOutputWithContext(ctx context.Context) InstanceMessageArrayOutput

type InstanceMessageCode added in v0.4.0

type InstanceMessageCode string

A code that correspond to one type of user-facing message.

func (InstanceMessageCode) ElementType added in v0.4.0

func (InstanceMessageCode) ElementType() reflect.Type

func (InstanceMessageCode) ToInstanceMessageCodeOutput added in v0.6.0

func (e InstanceMessageCode) ToInstanceMessageCodeOutput() InstanceMessageCodeOutput

func (InstanceMessageCode) ToInstanceMessageCodeOutputWithContext added in v0.6.0

func (e InstanceMessageCode) ToInstanceMessageCodeOutputWithContext(ctx context.Context) InstanceMessageCodeOutput

func (InstanceMessageCode) ToInstanceMessageCodePtrOutput added in v0.6.0

func (e InstanceMessageCode) ToInstanceMessageCodePtrOutput() InstanceMessageCodePtrOutput

func (InstanceMessageCode) ToInstanceMessageCodePtrOutputWithContext added in v0.6.0

func (e InstanceMessageCode) ToInstanceMessageCodePtrOutputWithContext(ctx context.Context) InstanceMessageCodePtrOutput

func (InstanceMessageCode) ToStringOutput added in v0.4.0

func (e InstanceMessageCode) ToStringOutput() pulumi.StringOutput

func (InstanceMessageCode) ToStringOutputWithContext added in v0.4.0

func (e InstanceMessageCode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (InstanceMessageCode) ToStringPtrOutput added in v0.4.0

func (e InstanceMessageCode) ToStringPtrOutput() pulumi.StringPtrOutput

func (InstanceMessageCode) ToStringPtrOutputWithContext added in v0.4.0

func (e InstanceMessageCode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceMessageCodeInput added in v0.6.0

type InstanceMessageCodeInput interface {
	pulumi.Input

	ToInstanceMessageCodeOutput() InstanceMessageCodeOutput
	ToInstanceMessageCodeOutputWithContext(context.Context) InstanceMessageCodeOutput
}

InstanceMessageCodeInput is an input type that accepts InstanceMessageCodeArgs and InstanceMessageCodeOutput values. You can construct a concrete instance of `InstanceMessageCodeInput` via:

InstanceMessageCodeArgs{...}

type InstanceMessageCodeOutput added in v0.6.0

type InstanceMessageCodeOutput struct{ *pulumi.OutputState }

func (InstanceMessageCodeOutput) ElementType added in v0.6.0

func (InstanceMessageCodeOutput) ElementType() reflect.Type

func (InstanceMessageCodeOutput) ToInstanceMessageCodeOutput added in v0.6.0

func (o InstanceMessageCodeOutput) ToInstanceMessageCodeOutput() InstanceMessageCodeOutput

func (InstanceMessageCodeOutput) ToInstanceMessageCodeOutputWithContext added in v0.6.0

func (o InstanceMessageCodeOutput) ToInstanceMessageCodeOutputWithContext(ctx context.Context) InstanceMessageCodeOutput

func (InstanceMessageCodeOutput) ToInstanceMessageCodePtrOutput added in v0.6.0

func (o InstanceMessageCodeOutput) ToInstanceMessageCodePtrOutput() InstanceMessageCodePtrOutput

func (InstanceMessageCodeOutput) ToInstanceMessageCodePtrOutputWithContext added in v0.6.0

func (o InstanceMessageCodeOutput) ToInstanceMessageCodePtrOutputWithContext(ctx context.Context) InstanceMessageCodePtrOutput

func (InstanceMessageCodeOutput) ToStringOutput added in v0.6.0

func (o InstanceMessageCodeOutput) ToStringOutput() pulumi.StringOutput

func (InstanceMessageCodeOutput) ToStringOutputWithContext added in v0.6.0

func (o InstanceMessageCodeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (InstanceMessageCodeOutput) ToStringPtrOutput added in v0.6.0

func (o InstanceMessageCodeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (InstanceMessageCodeOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o InstanceMessageCodeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceMessageCodePtrInput added in v0.6.0

type InstanceMessageCodePtrInput interface {
	pulumi.Input

	ToInstanceMessageCodePtrOutput() InstanceMessageCodePtrOutput
	ToInstanceMessageCodePtrOutputWithContext(context.Context) InstanceMessageCodePtrOutput
}

func InstanceMessageCodePtr added in v0.6.0

func InstanceMessageCodePtr(v string) InstanceMessageCodePtrInput

type InstanceMessageCodePtrOutput added in v0.6.0

type InstanceMessageCodePtrOutput struct{ *pulumi.OutputState }

func (InstanceMessageCodePtrOutput) Elem added in v0.6.0

func (InstanceMessageCodePtrOutput) ElementType added in v0.6.0

func (InstanceMessageCodePtrOutput) ToInstanceMessageCodePtrOutput added in v0.6.0

func (o InstanceMessageCodePtrOutput) ToInstanceMessageCodePtrOutput() InstanceMessageCodePtrOutput

func (InstanceMessageCodePtrOutput) ToInstanceMessageCodePtrOutputWithContext added in v0.6.0

func (o InstanceMessageCodePtrOutput) ToInstanceMessageCodePtrOutputWithContext(ctx context.Context) InstanceMessageCodePtrOutput

func (InstanceMessageCodePtrOutput) ToStringPtrOutput added in v0.6.0

func (o InstanceMessageCodePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (InstanceMessageCodePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o InstanceMessageCodePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceMessageInput

type InstanceMessageInput interface {
	pulumi.Input

	ToInstanceMessageOutput() InstanceMessageOutput
	ToInstanceMessageOutputWithContext(context.Context) InstanceMessageOutput
}

InstanceMessageInput is an input type that accepts InstanceMessageArgs and InstanceMessageOutput values. You can construct a concrete instance of `InstanceMessageInput` via:

InstanceMessageArgs{...}

type InstanceMessageOutput

type InstanceMessageOutput struct{ *pulumi.OutputState }

func (InstanceMessageOutput) Code

A code that correspond to one type of user-facing message.

func (InstanceMessageOutput) ElementType

func (InstanceMessageOutput) ElementType() reflect.Type

func (InstanceMessageOutput) Message

Message on memcached instance which will be exposed to users.

func (InstanceMessageOutput) ToInstanceMessageOutput

func (o InstanceMessageOutput) ToInstanceMessageOutput() InstanceMessageOutput

func (InstanceMessageOutput) ToInstanceMessageOutputWithContext

func (o InstanceMessageOutput) ToInstanceMessageOutputWithContext(ctx context.Context) InstanceMessageOutput

type InstanceMessageResponse

type InstanceMessageResponse struct {
	// A code that correspond to one type of user-facing message.
	Code string `pulumi:"code"`
	// Message on memcached instance which will be exposed to users.
	Message string `pulumi:"message"`
}

type InstanceMessageResponseArrayOutput

type InstanceMessageResponseArrayOutput struct{ *pulumi.OutputState }

func (InstanceMessageResponseArrayOutput) ElementType

func (InstanceMessageResponseArrayOutput) Index

func (InstanceMessageResponseArrayOutput) ToInstanceMessageResponseArrayOutput

func (o InstanceMessageResponseArrayOutput) ToInstanceMessageResponseArrayOutput() InstanceMessageResponseArrayOutput

func (InstanceMessageResponseArrayOutput) ToInstanceMessageResponseArrayOutputWithContext

func (o InstanceMessageResponseArrayOutput) ToInstanceMessageResponseArrayOutputWithContext(ctx context.Context) InstanceMessageResponseArrayOutput

type InstanceMessageResponseOutput

type InstanceMessageResponseOutput struct{ *pulumi.OutputState }

func (InstanceMessageResponseOutput) Code

A code that correspond to one type of user-facing message.

func (InstanceMessageResponseOutput) ElementType

func (InstanceMessageResponseOutput) Message

Message on memcached instance which will be exposed to users.

func (InstanceMessageResponseOutput) ToInstanceMessageResponseOutput

func (o InstanceMessageResponseOutput) ToInstanceMessageResponseOutput() InstanceMessageResponseOutput

func (InstanceMessageResponseOutput) ToInstanceMessageResponseOutputWithContext

func (o InstanceMessageResponseOutput) ToInstanceMessageResponseOutputWithContext(ctx context.Context) InstanceMessageResponseOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

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

type InstanceState

type InstanceState struct {
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type LookupInstanceArgs added in v0.4.0

type LookupInstanceArgs struct {
	InstanceId string  `pulumi:"instanceId"`
	Location   string  `pulumi:"location"`
	Project    *string `pulumi:"project"`
}

type LookupInstanceOutputArgs added in v0.8.0

type LookupInstanceOutputArgs struct {
	InstanceId pulumi.StringInput    `pulumi:"instanceId"`
	Location   pulumi.StringInput    `pulumi:"location"`
	Project    pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupInstanceOutputArgs) ElementType added in v0.8.0

func (LookupInstanceOutputArgs) ElementType() reflect.Type

type LookupInstanceResult added in v0.4.0

type LookupInstanceResult struct {
	// The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. If left unspecified, the `default` network will be used.
	AuthorizedNetwork string `pulumi:"authorizedNetwork"`
	// The time the instance was created.
	CreateTime string `pulumi:"createTime"`
	// Endpoint for the Discovery API.
	DiscoveryEndpoint string `pulumi:"discoveryEndpoint"`
	// User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
	DisplayName string `pulumi:"displayName"`
	// List of messages that describe the current state of the Memcached instance.
	InstanceMessages []InstanceMessageResponse `pulumi:"instanceMessages"`
	// Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
	Labels map[string]string `pulumi:"labels"`
	// The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be "memcached-1.5.16".
	MemcacheFullVersion string `pulumi:"memcacheFullVersion"`
	// List of Memcached nodes. Refer to Node message for more details.
	MemcacheNodes []NodeResponse `pulumi:"memcacheNodes"`
	// 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.
	MemcacheVersion string `pulumi:"memcacheVersion"`
	// Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at the regional level so `location_id` here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.
	Name string `pulumi:"name"`
	// Configuration for Memcached nodes.
	NodeConfig NodeConfigResponse `pulumi:"nodeConfig"`
	// Number of nodes in the Memcached instance.
	NodeCount int `pulumi:"nodeCount"`
	// User defined parameters to apply to the memcached process on each node.
	Parameters MemcacheParametersResponse `pulumi:"parameters"`
	// The state of this Memcached instance.
	State string `pulumi:"state"`
	// The time the instance was updated.
	UpdateTime string `pulumi:"updateTime"`
	// Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
	Zones []string `pulumi:"zones"`
}

func LookupInstance added in v0.4.0

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

Gets details of a single Instance.

type LookupInstanceResultOutput added in v0.8.0

type LookupInstanceResultOutput struct{ *pulumi.OutputState }

func LookupInstanceOutput added in v0.8.0

func LookupInstanceOutput(ctx *pulumi.Context, args LookupInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceResultOutput

func (LookupInstanceResultOutput) AuthorizedNetwork added in v0.8.0

func (o LookupInstanceResultOutput) AuthorizedNetwork() pulumi.StringOutput

The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. If left unspecified, the `default` network will be used.

func (LookupInstanceResultOutput) CreateTime added in v0.8.0

The time the instance was created.

func (LookupInstanceResultOutput) DiscoveryEndpoint added in v0.8.0

func (o LookupInstanceResultOutput) DiscoveryEndpoint() pulumi.StringOutput

Endpoint for the Discovery API.

func (LookupInstanceResultOutput) DisplayName added in v0.8.0

User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.

func (LookupInstanceResultOutput) ElementType added in v0.8.0

func (LookupInstanceResultOutput) ElementType() reflect.Type

func (LookupInstanceResultOutput) InstanceMessages added in v0.8.0

List of messages that describe the current state of the Memcached instance.

func (LookupInstanceResultOutput) Labels added in v0.8.0

Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

func (LookupInstanceResultOutput) MemcacheFullVersion added in v0.8.0

func (o LookupInstanceResultOutput) MemcacheFullVersion() pulumi.StringOutput

The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be "memcached-1.5.16".

func (LookupInstanceResultOutput) MemcacheNodes added in v0.8.0

List of Memcached nodes. Refer to Node message for more details.

func (LookupInstanceResultOutput) MemcacheVersion added in v0.8.0

func (o LookupInstanceResultOutput) MemcacheVersion() pulumi.StringOutput

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.

func (LookupInstanceResultOutput) Name added in v0.8.0

Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at the regional level so `location_id` here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.

func (LookupInstanceResultOutput) NodeConfig added in v0.8.0

Configuration for Memcached nodes.

func (LookupInstanceResultOutput) NodeCount added in v0.8.0

Number of nodes in the Memcached instance.

func (LookupInstanceResultOutput) Parameters added in v0.8.0

User defined parameters to apply to the memcached process on each node.

func (LookupInstanceResultOutput) State added in v0.8.0

The state of this Memcached instance.

func (LookupInstanceResultOutput) ToLookupInstanceResultOutput added in v0.8.0

func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput

func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext added in v0.8.0

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

func (LookupInstanceResultOutput) UpdateTime added in v0.8.0

The time the instance was updated.

func (LookupInstanceResultOutput) Zones added in v0.8.0

Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.

type MemcacheParameters

type MemcacheParameters struct {
	// User defined set of parameters to use in the memcached process.
	Params map[string]string `pulumi:"params"`
}

type MemcacheParametersArgs

type MemcacheParametersArgs struct {
	// User defined set of parameters to use in the memcached process.
	Params pulumi.StringMapInput `pulumi:"params"`
}

func (MemcacheParametersArgs) ElementType

func (MemcacheParametersArgs) ElementType() reflect.Type

func (MemcacheParametersArgs) ToMemcacheParametersOutput

func (i MemcacheParametersArgs) ToMemcacheParametersOutput() MemcacheParametersOutput

func (MemcacheParametersArgs) ToMemcacheParametersOutputWithContext

func (i MemcacheParametersArgs) ToMemcacheParametersOutputWithContext(ctx context.Context) MemcacheParametersOutput

func (MemcacheParametersArgs) ToMemcacheParametersPtrOutput

func (i MemcacheParametersArgs) ToMemcacheParametersPtrOutput() MemcacheParametersPtrOutput

func (MemcacheParametersArgs) ToMemcacheParametersPtrOutputWithContext

func (i MemcacheParametersArgs) ToMemcacheParametersPtrOutputWithContext(ctx context.Context) MemcacheParametersPtrOutput

type MemcacheParametersInput

type MemcacheParametersInput interface {
	pulumi.Input

	ToMemcacheParametersOutput() MemcacheParametersOutput
	ToMemcacheParametersOutputWithContext(context.Context) MemcacheParametersOutput
}

MemcacheParametersInput is an input type that accepts MemcacheParametersArgs and MemcacheParametersOutput values. You can construct a concrete instance of `MemcacheParametersInput` via:

MemcacheParametersArgs{...}

type MemcacheParametersOutput

type MemcacheParametersOutput struct{ *pulumi.OutputState }

func (MemcacheParametersOutput) ElementType

func (MemcacheParametersOutput) ElementType() reflect.Type

func (MemcacheParametersOutput) Params

User defined set of parameters to use in the memcached process.

func (MemcacheParametersOutput) ToMemcacheParametersOutput

func (o MemcacheParametersOutput) ToMemcacheParametersOutput() MemcacheParametersOutput

func (MemcacheParametersOutput) ToMemcacheParametersOutputWithContext

func (o MemcacheParametersOutput) ToMemcacheParametersOutputWithContext(ctx context.Context) MemcacheParametersOutput

func (MemcacheParametersOutput) ToMemcacheParametersPtrOutput

func (o MemcacheParametersOutput) ToMemcacheParametersPtrOutput() MemcacheParametersPtrOutput

func (MemcacheParametersOutput) ToMemcacheParametersPtrOutputWithContext

func (o MemcacheParametersOutput) ToMemcacheParametersPtrOutputWithContext(ctx context.Context) MemcacheParametersPtrOutput

type MemcacheParametersPtrInput

type MemcacheParametersPtrInput interface {
	pulumi.Input

	ToMemcacheParametersPtrOutput() MemcacheParametersPtrOutput
	ToMemcacheParametersPtrOutputWithContext(context.Context) MemcacheParametersPtrOutput
}

MemcacheParametersPtrInput is an input type that accepts MemcacheParametersArgs, MemcacheParametersPtr and MemcacheParametersPtrOutput values. You can construct a concrete instance of `MemcacheParametersPtrInput` via:

        MemcacheParametersArgs{...}

or:

        nil

type MemcacheParametersPtrOutput

type MemcacheParametersPtrOutput struct{ *pulumi.OutputState }

func (MemcacheParametersPtrOutput) Elem

func (MemcacheParametersPtrOutput) ElementType

func (MemcacheParametersPtrOutput) Params

User defined set of parameters to use in the memcached process.

func (MemcacheParametersPtrOutput) ToMemcacheParametersPtrOutput

func (o MemcacheParametersPtrOutput) ToMemcacheParametersPtrOutput() MemcacheParametersPtrOutput

func (MemcacheParametersPtrOutput) ToMemcacheParametersPtrOutputWithContext

func (o MemcacheParametersPtrOutput) ToMemcacheParametersPtrOutputWithContext(ctx context.Context) MemcacheParametersPtrOutput

type MemcacheParametersResponse

type MemcacheParametersResponse struct {
	// User defined set of parameters to use in the memcached process.
	Params map[string]string `pulumi:"params"`
}

type MemcacheParametersResponseOutput

type MemcacheParametersResponseOutput struct{ *pulumi.OutputState }

func (MemcacheParametersResponseOutput) ElementType

func (MemcacheParametersResponseOutput) Params

User defined set of parameters to use in the memcached process.

func (MemcacheParametersResponseOutput) ToMemcacheParametersResponseOutput

func (o MemcacheParametersResponseOutput) ToMemcacheParametersResponseOutput() MemcacheParametersResponseOutput

func (MemcacheParametersResponseOutput) ToMemcacheParametersResponseOutputWithContext

func (o MemcacheParametersResponseOutput) ToMemcacheParametersResponseOutputWithContext(ctx context.Context) MemcacheParametersResponseOutput

type NodeConfig

type NodeConfig struct {
	// Number of cpus per Memcached node.
	CpuCount int `pulumi:"cpuCount"`
	// Memory size in MiB for each Memcached node.
	MemorySizeMb int `pulumi:"memorySizeMb"`
}

Configuration for a Memcached Node.

type NodeConfigArgs

type NodeConfigArgs struct {
	// Number of cpus per Memcached node.
	CpuCount pulumi.IntInput `pulumi:"cpuCount"`
	// Memory size in MiB for each Memcached node.
	MemorySizeMb pulumi.IntInput `pulumi:"memorySizeMb"`
}

Configuration for a Memcached Node.

func (NodeConfigArgs) ElementType

func (NodeConfigArgs) ElementType() reflect.Type

func (NodeConfigArgs) ToNodeConfigOutput

func (i NodeConfigArgs) ToNodeConfigOutput() NodeConfigOutput

func (NodeConfigArgs) ToNodeConfigOutputWithContext

func (i NodeConfigArgs) ToNodeConfigOutputWithContext(ctx context.Context) NodeConfigOutput

type NodeConfigInput

type NodeConfigInput interface {
	pulumi.Input

	ToNodeConfigOutput() NodeConfigOutput
	ToNodeConfigOutputWithContext(context.Context) NodeConfigOutput
}

NodeConfigInput is an input type that accepts NodeConfigArgs and NodeConfigOutput values. You can construct a concrete instance of `NodeConfigInput` via:

NodeConfigArgs{...}

type NodeConfigOutput

type NodeConfigOutput struct{ *pulumi.OutputState }

Configuration for a Memcached Node.

func (NodeConfigOutput) CpuCount

func (o NodeConfigOutput) CpuCount() pulumi.IntOutput

Number of cpus per Memcached node.

func (NodeConfigOutput) ElementType

func (NodeConfigOutput) ElementType() reflect.Type

func (NodeConfigOutput) MemorySizeMb

func (o NodeConfigOutput) MemorySizeMb() pulumi.IntOutput

Memory size in MiB for each Memcached node.

func (NodeConfigOutput) ToNodeConfigOutput

func (o NodeConfigOutput) ToNodeConfigOutput() NodeConfigOutput

func (NodeConfigOutput) ToNodeConfigOutputWithContext

func (o NodeConfigOutput) ToNodeConfigOutputWithContext(ctx context.Context) NodeConfigOutput

type NodeConfigResponse

type NodeConfigResponse struct {
	// Number of cpus per Memcached node.
	CpuCount int `pulumi:"cpuCount"`
	// Memory size in MiB for each Memcached node.
	MemorySizeMb int `pulumi:"memorySizeMb"`
}

Configuration for a Memcached Node.

type NodeConfigResponseOutput

type NodeConfigResponseOutput struct{ *pulumi.OutputState }

Configuration for a Memcached Node.

func (NodeConfigResponseOutput) CpuCount

Number of cpus per Memcached node.

func (NodeConfigResponseOutput) ElementType

func (NodeConfigResponseOutput) ElementType() reflect.Type

func (NodeConfigResponseOutput) MemorySizeMb

func (o NodeConfigResponseOutput) MemorySizeMb() pulumi.IntOutput

Memory size in MiB for each Memcached node.

func (NodeConfigResponseOutput) ToNodeConfigResponseOutput

func (o NodeConfigResponseOutput) ToNodeConfigResponseOutput() NodeConfigResponseOutput

func (NodeConfigResponseOutput) ToNodeConfigResponseOutputWithContext

func (o NodeConfigResponseOutput) ToNodeConfigResponseOutputWithContext(ctx context.Context) NodeConfigResponseOutput

type NodeResponse

type NodeResponse struct {
	// 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"`
	// Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
	NodeId string `pulumi:"nodeId"`
	// User defined parameters currently applied to the node.
	Parameters MemcacheParametersResponse `pulumi:"parameters"`
	// The port number of the Memcached server on this node.
	Port int `pulumi:"port"`
	// Current state of the Memcached node.
	State string `pulumi:"state"`
	// Location (GCP Zone) for the Memcached node.
	Zone string `pulumi:"zone"`
}

type NodeResponseArrayOutput

type NodeResponseArrayOutput struct{ *pulumi.OutputState }

func (NodeResponseArrayOutput) ElementType

func (NodeResponseArrayOutput) ElementType() reflect.Type

func (NodeResponseArrayOutput) Index

func (NodeResponseArrayOutput) ToNodeResponseArrayOutput

func (o NodeResponseArrayOutput) ToNodeResponseArrayOutput() NodeResponseArrayOutput

func (NodeResponseArrayOutput) ToNodeResponseArrayOutputWithContext

func (o NodeResponseArrayOutput) ToNodeResponseArrayOutputWithContext(ctx context.Context) NodeResponseArrayOutput

type NodeResponseOutput

type NodeResponseOutput struct{ *pulumi.OutputState }

func (NodeResponseOutput) ElementType

func (NodeResponseOutput) ElementType() reflect.Type

func (NodeResponseOutput) Host

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

func (NodeResponseOutput) NodeId

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

func (NodeResponseOutput) Parameters

User defined parameters currently applied to the node.

func (NodeResponseOutput) Port

The port number of the Memcached server on this node.

func (NodeResponseOutput) State

Current state of the Memcached node.

func (NodeResponseOutput) ToNodeResponseOutput

func (o NodeResponseOutput) ToNodeResponseOutput() NodeResponseOutput

func (NodeResponseOutput) ToNodeResponseOutputWithContext

func (o NodeResponseOutput) ToNodeResponseOutputWithContext(ctx context.Context) NodeResponseOutput

func (NodeResponseOutput) Zone

Location (GCP Zone) for the Memcached node.

Jump to

Keyboard shortcuts

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