Documentation ¶
Index ¶
- type Instance
- type InstanceArgs
- 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 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.StringPtrOutput `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 name of the Memcache region of the instance. 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) * How-to Guides
- [Official Documentation](https://cloud.google.com/memcache/docs/creating-instances)
## Example Usage
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.
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 name of the Memcache region of the instance. Region pulumi.StringInput // 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 InstanceMemcacheNode ¶ added in v3.19.0
type InstanceMemcacheNodeArgs ¶ added in v3.19.0
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 ¶ added in v3.19.0
func (InstanceMemcacheNodeArgs) ElementType() reflect.Type
func (InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutput ¶ added in v3.19.0
func (i InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutput() InstanceMemcacheNodeOutput
func (InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutputWithContext ¶ added in v3.19.0
func (i InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutputWithContext(ctx context.Context) InstanceMemcacheNodeOutput
type InstanceMemcacheNodeArray ¶ added in v3.19.0
type InstanceMemcacheNodeArray []InstanceMemcacheNodeInput
func (InstanceMemcacheNodeArray) ElementType ¶ added in v3.19.0
func (InstanceMemcacheNodeArray) ElementType() reflect.Type
func (InstanceMemcacheNodeArray) ToInstanceMemcacheNodeArrayOutput ¶ added in v3.19.0
func (i InstanceMemcacheNodeArray) ToInstanceMemcacheNodeArrayOutput() InstanceMemcacheNodeArrayOutput
func (InstanceMemcacheNodeArray) ToInstanceMemcacheNodeArrayOutputWithContext ¶ added in v3.19.0
func (i InstanceMemcacheNodeArray) ToInstanceMemcacheNodeArrayOutputWithContext(ctx context.Context) InstanceMemcacheNodeArrayOutput
type InstanceMemcacheNodeArrayInput ¶ added in v3.19.0
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 ¶ added in v3.19.0
type InstanceMemcacheNodeArrayOutput struct{ *pulumi.OutputState }
func (InstanceMemcacheNodeArrayOutput) ElementType ¶ added in v3.19.0
func (InstanceMemcacheNodeArrayOutput) ElementType() reflect.Type
func (InstanceMemcacheNodeArrayOutput) Index ¶ added in v3.19.0
func (o InstanceMemcacheNodeArrayOutput) Index(i pulumi.IntInput) InstanceMemcacheNodeOutput
func (InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutput ¶ added in v3.19.0
func (o InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutput() InstanceMemcacheNodeArrayOutput
func (InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutputWithContext ¶ added in v3.19.0
func (o InstanceMemcacheNodeArrayOutput) ToInstanceMemcacheNodeArrayOutputWithContext(ctx context.Context) InstanceMemcacheNodeArrayOutput
type InstanceMemcacheNodeInput ¶ added in v3.19.0
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 ¶ added in v3.19.0
type InstanceMemcacheNodeOutput struct{ *pulumi.OutputState }
func (InstanceMemcacheNodeOutput) ElementType ¶ added in v3.19.0
func (InstanceMemcacheNodeOutput) ElementType() reflect.Type
func (InstanceMemcacheNodeOutput) Host ¶ added in v3.19.0
func (o InstanceMemcacheNodeOutput) Host() pulumi.StringPtrOutput
func (InstanceMemcacheNodeOutput) NodeId ¶ added in v3.19.0
func (o InstanceMemcacheNodeOutput) NodeId() pulumi.StringPtrOutput
func (InstanceMemcacheNodeOutput) Port ¶ added in v3.19.0
func (o InstanceMemcacheNodeOutput) Port() pulumi.IntPtrOutput
func (InstanceMemcacheNodeOutput) State ¶ added in v3.19.0
func (o InstanceMemcacheNodeOutput) State() pulumi.StringPtrOutput
func (InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutput ¶ added in v3.19.0
func (o InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutput() InstanceMemcacheNodeOutput
func (InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutputWithContext ¶ added in v3.19.0
func (o InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutputWithContext(ctx context.Context) InstanceMemcacheNodeOutput
func (InstanceMemcacheNodeOutput) Zone ¶ added in v3.19.0
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 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 name of the Memcache region of the instance. 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