Documentation ¶
Index ¶
- type Instance
- func (*Instance) ElementType() reflect.Type
- func (i *Instance) ToInstanceOutput() InstanceOutput
- func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (i *Instance) ToInstancePtrOutput() InstancePtrOutput
- func (i *Instance) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceMemcacheNode
- type InstanceMemcacheNodeArgs
- type InstanceMemcacheNodeArray
- type InstanceMemcacheNodeArrayInput
- type InstanceMemcacheNodeArrayOutput
- func (InstanceMemcacheNodeArrayOutput) ElementType() reflect.Type
- func (o InstanceMemcacheNodeArrayOutput) Index(i pulumi.IntInput) InstanceMemcacheNodeOutput
- func (o InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutput() InstanceMemcacheNodeArrayOutput
- func (o InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutputWithContext(ctx context.Context) InstanceMemcacheNodeArrayOutput
- type InstanceMemcacheNodeInput
- type InstanceMemcacheNodeOutput
- func (InstanceMemcacheNodeOutput) ElementType() reflect.Type
- func (o InstanceMemcacheNodeOutput) Host() pulumi.StringPtrOutput
- func (o InstanceMemcacheNodeOutput) NodeId() pulumi.StringPtrOutput
- func (o InstanceMemcacheNodeOutput) Port() pulumi.IntPtrOutput
- func (o InstanceMemcacheNodeOutput) State() pulumi.StringPtrOutput
- func (o InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutput() InstanceMemcacheNodeOutput
- func (o InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutputWithContext(ctx context.Context) InstanceMemcacheNodeOutput
- func (o InstanceMemcacheNodeOutput) Zone() pulumi.StringPtrOutput
- type InstanceMemcacheParameters
- type InstanceMemcacheParametersArgs
- func (InstanceMemcacheParametersArgs) ElementType() reflect.Type
- func (i InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersOutput() InstanceMemcacheParametersOutput
- func (i InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersOutputWithContext(ctx context.Context) InstanceMemcacheParametersOutput
- func (i InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersPtrOutput() InstanceMemcacheParametersPtrOutput
- func (i InstanceMemcacheParametersArgs) ToInstanceMemcacheParametersPtrOutputWithContext(ctx context.Context) InstanceMemcacheParametersPtrOutput
- type InstanceMemcacheParametersInput
- type InstanceMemcacheParametersOutput
- func (InstanceMemcacheParametersOutput) ElementType() reflect.Type
- func (o InstanceMemcacheParametersOutput) Id() pulumi.StringPtrOutput
- func (o InstanceMemcacheParametersOutput) Params() pulumi.StringMapOutput
- func (o InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersOutput() InstanceMemcacheParametersOutput
- func (o InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersOutputWithContext(ctx context.Context) InstanceMemcacheParametersOutput
- func (o InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersPtrOutput() InstanceMemcacheParametersPtrOutput
- func (o InstanceMemcacheParametersOutput) ToInstanceMemcacheParametersPtrOutputWithContext(ctx context.Context) InstanceMemcacheParametersPtrOutput
- type InstanceMemcacheParametersPtrInput
- type InstanceMemcacheParametersPtrOutput
- func (o InstanceMemcacheParametersPtrOutput) Elem() InstanceMemcacheParametersOutput
- func (InstanceMemcacheParametersPtrOutput) ElementType() reflect.Type
- func (o InstanceMemcacheParametersPtrOutput) Id() pulumi.StringPtrOutput
- func (o InstanceMemcacheParametersPtrOutput) Params() pulumi.StringMapOutput
- func (o InstanceMemcacheParametersPtrOutput) ToInstanceMemcacheParametersPtrOutput() InstanceMemcacheParametersPtrOutput
- func (o InstanceMemcacheParametersPtrOutput) ToInstanceMemcacheParametersPtrOutputWithContext(ctx context.Context) InstanceMemcacheParametersPtrOutput
- type InstanceNodeConfig
- type InstanceNodeConfigArgs
- func (InstanceNodeConfigArgs) ElementType() reflect.Type
- func (i InstanceNodeConfigArgs) ToInstanceNodeConfigOutput() InstanceNodeConfigOutput
- func (i InstanceNodeConfigArgs) ToInstanceNodeConfigOutputWithContext(ctx context.Context) InstanceNodeConfigOutput
- func (i InstanceNodeConfigArgs) ToInstanceNodeConfigPtrOutput() InstanceNodeConfigPtrOutput
- func (i InstanceNodeConfigArgs) ToInstanceNodeConfigPtrOutputWithContext(ctx context.Context) InstanceNodeConfigPtrOutput
- type InstanceNodeConfigInput
- type InstanceNodeConfigOutput
- func (o InstanceNodeConfigOutput) CpuCount() pulumi.IntOutput
- func (InstanceNodeConfigOutput) ElementType() reflect.Type
- func (o InstanceNodeConfigOutput) MemorySizeMb() pulumi.IntOutput
- func (o InstanceNodeConfigOutput) ToInstanceNodeConfigOutput() InstanceNodeConfigOutput
- func (o InstanceNodeConfigOutput) ToInstanceNodeConfigOutputWithContext(ctx context.Context) InstanceNodeConfigOutput
- func (o InstanceNodeConfigOutput) ToInstanceNodeConfigPtrOutput() InstanceNodeConfigPtrOutput
- func (o InstanceNodeConfigOutput) ToInstanceNodeConfigPtrOutputWithContext(ctx context.Context) InstanceNodeConfigPtrOutput
- type InstanceNodeConfigPtrInput
- type InstanceNodeConfigPtrOutput
- func (o InstanceNodeConfigPtrOutput) CpuCount() pulumi.IntPtrOutput
- func (o InstanceNodeConfigPtrOutput) Elem() InstanceNodeConfigOutput
- func (InstanceNodeConfigPtrOutput) ElementType() reflect.Type
- func (o InstanceNodeConfigPtrOutput) MemorySizeMb() pulumi.IntPtrOutput
- func (o InstanceNodeConfigPtrOutput) ToInstanceNodeConfigPtrOutput() InstanceNodeConfigPtrOutput
- func (o InstanceNodeConfigPtrOutput) ToInstanceNodeConfigPtrOutputWithContext(ctx context.Context) InstanceNodeConfigPtrOutput
- type InstanceOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput
- func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
- type InstancePtrInput
- type InstancePtrOutput
- type InstanceState
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"` // Creation timestamp in RFC3339 text format. 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"` // The full version of memcached server running on this instance. MemcacheFullVersion pulumi.StringOutput `pulumi:"memcacheFullVersion"` // Additional information about the instance state, if available. 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
- [Official Documentation](https://cloud.google.com/memcache/docs/creating-instances)
## Example Usage ### Memcache Instance Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/memcache" "github.com/pulumi/pulumi-gcp/sdk/v5/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"), }) 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) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (*Instance) ToInstancePtrOutput ¶
func (i *Instance) ToInstancePtrOutput() InstancePtrOutput
func (*Instance) ToInstancePtrOutputWithContext ¶
func (i *Instance) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
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 // 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
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 (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMemcacheNode ¶
type InstanceMemcacheNodeArgs ¶
type InstanceMemcacheNodeArgs struct { Host pulumi.StringPtrInput `pulumi:"host"` NodeId pulumi.StringPtrInput `pulumi:"nodeId"` Port pulumi.IntPtrInput `pulumi:"port"` State pulumi.StringPtrInput `pulumi:"state"` 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
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
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) ElementType() reflect.Type
func (InstanceMemcacheNodeArrayOutput) Index ¶
func (o InstanceMemcacheNodeArrayOutput) Index(i pulumi.IntInput) InstanceMemcacheNodeOutput
func (InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutput ¶
func (o InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutput() InstanceMemcacheNodeArrayOutput
func (InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutputWithContext ¶
func (o InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutputWithContext(ctx context.Context) InstanceMemcacheNodeArrayOutput
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 ¶
func (o InstanceMemcacheNodeOutput) Host() pulumi.StringPtrOutput
func (InstanceMemcacheNodeOutput) NodeId ¶
func (o InstanceMemcacheNodeOutput) NodeId() pulumi.StringPtrOutput
func (InstanceMemcacheNodeOutput) Port ¶
func (o InstanceMemcacheNodeOutput) Port() pulumi.IntPtrOutput
func (InstanceMemcacheNodeOutput) State ¶
func (o InstanceMemcacheNodeOutput) State() pulumi.StringPtrOutput
func (InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutput ¶
func (o InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutput() InstanceMemcacheNodeOutput
func (InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutputWithContext ¶
func (o InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutputWithContext(ctx context.Context) InstanceMemcacheNodeOutput
func (InstanceMemcacheNodeOutput) Zone ¶
func (o InstanceMemcacheNodeOutput) Zone() pulumi.StringPtrOutput
type InstanceMemcacheParametersArgs ¶
type InstanceMemcacheParametersArgs struct { // - // 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) ElementType() reflect.Type
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
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) ElementType() reflect.Type
func (InstanceMemcacheParametersOutput) Id ¶
func (o InstanceMemcacheParametersOutput) Id() pulumi.StringPtrOutput
- This is a unique ID associated with this set of parameters.
func (InstanceMemcacheParametersOutput) Params ¶
func (o InstanceMemcacheParametersOutput) Params() pulumi.StringMapOutput
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
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
func InstanceMemcacheParametersPtr ¶
func InstanceMemcacheParametersPtr(v *InstanceMemcacheParametersArgs) InstanceMemcacheParametersPtrInput
type InstanceMemcacheParametersPtrOutput ¶
type InstanceMemcacheParametersPtrOutput struct{ *pulumi.OutputState }
func (InstanceMemcacheParametersPtrOutput) Elem ¶
func (o InstanceMemcacheParametersPtrOutput) Elem() InstanceMemcacheParametersOutput
func (InstanceMemcacheParametersPtrOutput) ElementType ¶
func (InstanceMemcacheParametersPtrOutput) ElementType() reflect.Type
func (InstanceMemcacheParametersPtrOutput) Id ¶
func (o InstanceMemcacheParametersPtrOutput) Id() pulumi.StringPtrOutput
- This is a unique ID associated with this set of parameters.
func (InstanceMemcacheParametersPtrOutput) Params ¶
func (o InstanceMemcacheParametersPtrOutput) Params() pulumi.StringMapOutput
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
type InstanceNodeConfig ¶
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
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 ¶
func (o InstanceNodeConfigOutput) CpuCount() pulumi.IntOutput
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
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
func InstanceNodeConfigPtr ¶
func InstanceNodeConfigPtr(v *InstanceNodeConfigArgs) InstanceNodeConfigPtrInput
type InstanceNodeConfigPtrOutput ¶
type InstanceNodeConfigPtrOutput struct{ *pulumi.OutputState }
func (InstanceNodeConfigPtrOutput) CpuCount ¶
func (o InstanceNodeConfigPtrOutput) CpuCount() pulumi.IntPtrOutput
Number of CPUs per node.
func (InstanceNodeConfigPtrOutput) Elem ¶
func (o InstanceNodeConfigPtrOutput) Elem() InstanceNodeConfigOutput
func (InstanceNodeConfigPtrOutput) ElementType ¶
func (InstanceNodeConfigPtrOutput) ElementType() reflect.Type
func (InstanceNodeConfigPtrOutput) MemorySizeMb ¶
func (o InstanceNodeConfigPtrOutput) MemorySizeMb() pulumi.IntPtrOutput
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
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
func (InstanceOutput) ToInstancePtrOutput ¶
func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstanceOutput) ToInstancePtrOutputWithContext ¶
func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstancePtrInput ¶
type InstancePtrInput interface { pulumi.Input ToInstancePtrOutput() InstancePtrOutput ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput }
type InstancePtrOutput ¶
type InstancePtrOutput struct {
*pulumi.OutputState
}
func (InstancePtrOutput) ElementType ¶
func (InstancePtrOutput) ElementType() reflect.Type
func (InstancePtrOutput) ToInstancePtrOutput ¶
func (o InstancePtrOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstancePtrOutput) ToInstancePtrOutputWithContext ¶
func (o InstancePtrOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
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 // Creation timestamp in RFC3339 text format. 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 // The full version of memcached server running on this instance. MemcacheFullVersion pulumi.StringPtrInput // Additional information about the instance state, if available. 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