Documentation ¶
Index ¶
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMaintenancePolicy
- type InstanceMaintenancePolicyArgs
- func (InstanceMaintenancePolicyArgs) ElementType() reflect.Type
- func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput
- func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutputWithContext(ctx context.Context) InstanceMaintenancePolicyOutput
- func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput
- func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutputWithContext(ctx context.Context) InstanceMaintenancePolicyPtrOutput
- type InstanceMaintenancePolicyInput
- type InstanceMaintenancePolicyOutput
- func (o InstanceMaintenancePolicyOutput) CreateTime() pulumi.StringPtrOutput
- func (o InstanceMaintenancePolicyOutput) Description() pulumi.StringPtrOutput
- func (InstanceMaintenancePolicyOutput) ElementType() reflect.Type
- func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput
- func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutputWithContext(ctx context.Context) InstanceMaintenancePolicyOutput
- func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput
- func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutputWithContext(ctx context.Context) InstanceMaintenancePolicyPtrOutput
- func (o InstanceMaintenancePolicyOutput) UpdateTime() pulumi.StringPtrOutput
- func (o InstanceMaintenancePolicyOutput) WeeklyMaintenanceWindows() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
- type InstanceMaintenancePolicyPtrInput
- type InstanceMaintenancePolicyPtrOutput
- func (o InstanceMaintenancePolicyPtrOutput) CreateTime() pulumi.StringPtrOutput
- func (o InstanceMaintenancePolicyPtrOutput) Description() pulumi.StringPtrOutput
- func (o InstanceMaintenancePolicyPtrOutput) Elem() InstanceMaintenancePolicyOutput
- func (InstanceMaintenancePolicyPtrOutput) ElementType() reflect.Type
- func (o InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput
- func (o InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutputWithContext(ctx context.Context) InstanceMaintenancePolicyPtrOutput
- func (o InstanceMaintenancePolicyPtrOutput) UpdateTime() pulumi.StringPtrOutput
- func (o InstanceMaintenancePolicyPtrOutput) WeeklyMaintenanceWindows() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
- type InstanceMaintenancePolicyWeeklyMaintenanceWindow
- type InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs
- func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ElementType() reflect.Type
- func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
- func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
- type InstanceMaintenancePolicyWeeklyMaintenanceWindowArray
- func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ElementType() reflect.Type
- func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
- func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
- type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput
- type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
- func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ElementType() reflect.Type
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) Index(i pulumi.IntInput) InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
- type InstanceMaintenancePolicyWeeklyMaintenanceWindowInput
- type InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Day() pulumi.StringOutput
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Duration() pulumi.StringOutput
- func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ElementType() reflect.Type
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) StartTime() InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
- type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
- type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs
- func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ElementType() reflect.Type
- func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
- func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
- type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput
- type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
- func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ElementType() reflect.Type
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Hours() pulumi.IntPtrOutput
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Minutes() pulumi.IntPtrOutput
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Nanos() pulumi.IntPtrOutput
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Seconds() pulumi.IntPtrOutput
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
- func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
- type InstanceMaintenanceSchedule
- type InstanceMaintenanceScheduleArgs
- func (InstanceMaintenanceScheduleArgs) ElementType() reflect.Type
- func (i InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput
- func (i InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleOutput
- type InstanceMaintenanceScheduleArray
- func (InstanceMaintenanceScheduleArray) ElementType() reflect.Type
- func (i InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutput() InstanceMaintenanceScheduleArrayOutput
- func (i InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleArrayOutput
- type InstanceMaintenanceScheduleArrayInput
- type InstanceMaintenanceScheduleArrayOutput
- func (InstanceMaintenanceScheduleArrayOutput) ElementType() reflect.Type
- func (o InstanceMaintenanceScheduleArrayOutput) Index(i pulumi.IntInput) InstanceMaintenanceScheduleOutput
- func (o InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutput() InstanceMaintenanceScheduleArrayOutput
- func (o InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleArrayOutput
- type InstanceMaintenanceScheduleInput
- type InstanceMaintenanceScheduleOutput
- func (InstanceMaintenanceScheduleOutput) ElementType() reflect.Type
- func (o InstanceMaintenanceScheduleOutput) EndTime() pulumi.StringPtrOutput
- func (o InstanceMaintenanceScheduleOutput) ScheduleDeadlineTime() pulumi.StringPtrOutput
- func (o InstanceMaintenanceScheduleOutput) StartTime() pulumi.StringPtrOutput
- func (o InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput
- func (o InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleOutput
- 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 (o InstanceOutput) AuthorizedNetwork() pulumi.StringOutput
- func (o InstanceOutput) CreateTime() pulumi.StringOutput
- func (o InstanceOutput) DiscoveryEndpoint() pulumi.StringOutput
- func (o InstanceOutput) DisplayName() pulumi.StringOutput
- func (o InstanceOutput) EffectiveLabels() pulumi.StringMapOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) Labels() pulumi.StringMapOutput
- func (o InstanceOutput) MaintenancePolicy() InstanceMaintenancePolicyPtrOutput
- func (o InstanceOutput) MaintenanceSchedules() InstanceMaintenanceScheduleArrayOutput
- func (o InstanceOutput) MemcacheFullVersion() pulumi.StringOutput
- func (o InstanceOutput) MemcacheNodes() InstanceMemcacheNodeArrayOutput
- func (o InstanceOutput) MemcacheParameters() InstanceMemcacheParametersPtrOutput
- func (o InstanceOutput) MemcacheVersion() pulumi.StringPtrOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) NodeConfig() InstanceNodeConfigOutput
- func (o InstanceOutput) NodeCount() pulumi.IntOutput
- func (o InstanceOutput) Project() pulumi.StringOutput
- func (o InstanceOutput) PulumiLabels() pulumi.StringMapOutput
- func (o InstanceOutput) Region() pulumi.StringOutput
- func (o InstanceOutput) ReservedIpRangeIds() pulumi.StringArrayOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) Zones() pulumi.StringArrayOutput
- 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"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Resource labels to represent user-provided metadata. **Note**: This field is non-authoritative, and will only manage the // labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the // resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // Maintenance policy for an instance. MaintenancePolicy InstanceMaintenancePolicyPtrOutput `pulumi:"maintenancePolicy"` // Output only. Published maintenance schedule. // Structure is documented below. MaintenanceSchedules InstanceMaintenanceScheduleArrayOutput `pulumi:"maintenanceSchedules"` // The full version of memcached server running on this instance. MemcacheFullVersion pulumi.StringOutput `pulumi:"memcacheFullVersion"` // Additional information about the instance state, if available. // Structure is documented below. MemcacheNodes InstanceMemcacheNodeArrayOutput `pulumi:"memcacheNodes"` // User-specified parameters for this memcache instance. 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: "MEMCACHE_1_5" Possible values: ["MEMCACHE_1_5", "MEMCACHE_1_6_15"] 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"` Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // The region of the Memcache instance. If it is not provided, the provider region is used. Region pulumi.StringOutput `pulumi:"region"` // Contains the name of allocated IP address ranges associated with the private service access connection for example, // "test-default" associated with IP range 10.0.0.0/29. ReservedIpRangeIds pulumi.StringArrayOutput `pulumi:"reservedIpRangeIds"` // 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/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/memcache" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/servicenetworking" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // This example assumes this network already exists. // The API creates a tenant network per network authorized for a // Memcache instance and that network is not deleted when the user-created // network (authorized_network) is deleted, so this prevents issues // with tenant network quota. // If this network hasn't been created and you are using this example in your // config, add an additional network resource or change // this from "data"to "resource" memcacheNetwork, err := compute.NewNetwork(ctx, "memcache_network", &compute.NetworkArgs{ Name: pulumi.String("test-network"), }) if err != nil { return err } serviceRange, err := compute.NewGlobalAddress(ctx, "service_range", &compute.GlobalAddressArgs{ Name: pulumi.String("address"), Purpose: pulumi.String("VPC_PEERING"), AddressType: pulumi.String("INTERNAL"), PrefixLength: pulumi.Int(16), Network: memcacheNetwork.ID(), }) if err != nil { return err } privateServiceConnection, err := servicenetworking.NewConnection(ctx, "private_service_connection", &servicenetworking.ConnectionArgs{ Network: 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{ Name: pulumi.String("test-instance"), AuthorizedNetwork: privateServiceConnection.Network, Labels: pulumi.StringMap{ "env": pulumi.String("test"), }, NodeConfig: &memcache.InstanceNodeConfigArgs{ CpuCount: pulumi.Int(1), MemorySizeMb: pulumi.Int(1024), }, NodeCount: pulumi.Int(1), MemcacheVersion: pulumi.String("MEMCACHE_1_5"), MaintenancePolicy: &memcache.InstanceMaintenancePolicyArgs{ WeeklyMaintenanceWindows: memcache.InstanceMaintenancePolicyWeeklyMaintenanceWindowArray{ &memcache.InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs{ Day: pulumi.String("SATURDAY"), Duration: pulumi.String("14400s"), StartTime: &memcache.InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs{ Hours: pulumi.Int(0), Minutes: pulumi.Int(30), Seconds: pulumi.Int(0), Nanos: pulumi.Int(0), }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Instance can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{region}}/instances/{{name}}`
* `{{project}}/{{region}}/{{name}}`
* `{{region}}/{{name}}`
* `{{name}}`
When using the `pulumi import` command, Instance can be imported using one of the formats above. For example:
```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
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. **Note**: This field is non-authoritative, and will only manage the // labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the // resource. Labels pulumi.StringMapInput // Maintenance policy for an instance. MaintenancePolicy InstanceMaintenancePolicyPtrInput // User-specified parameters for this memcache instance. 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: "MEMCACHE_1_5" Possible values: ["MEMCACHE_1_5", "MEMCACHE_1_6_15"] 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 Project pulumi.StringPtrInput // The region of the Memcache instance. If it is not provided, the provider region is used. Region pulumi.StringPtrInput // Contains the name of allocated IP address ranges associated with the private service access connection for example, // "test-default" associated with IP range 10.0.0.0/29. ReservedIpRangeIds pulumi.StringArrayInput // 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 InstanceMaintenancePolicy ¶
type InstanceMaintenancePolicy struct { // (Output) // Output only. The time when the policy was created. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits CreateTime *string `pulumi:"createTime"` // Optional. Description of what this policy is for. // Create/Update methods return INVALID_ARGUMENT if the // length is greater than 512. Description *string `pulumi:"description"` // (Output) // Output only. The time when the policy was updated. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. UpdateTime *string `pulumi:"updateTime"` // Required. Maintenance window that is applied to resources covered by this policy. // Minimum 1. For the current version, the maximum number of weeklyMaintenanceWindows // is expected to be one. // Structure is documented below. WeeklyMaintenanceWindows []InstanceMaintenancePolicyWeeklyMaintenanceWindow `pulumi:"weeklyMaintenanceWindows"` }
type InstanceMaintenancePolicyArgs ¶
type InstanceMaintenancePolicyArgs struct { // (Output) // Output only. The time when the policy was created. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits CreateTime pulumi.StringPtrInput `pulumi:"createTime"` // Optional. Description of what this policy is for. // Create/Update methods return INVALID_ARGUMENT if the // length is greater than 512. Description pulumi.StringPtrInput `pulumi:"description"` // (Output) // Output only. The time when the policy was updated. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. UpdateTime pulumi.StringPtrInput `pulumi:"updateTime"` // Required. Maintenance window that is applied to resources covered by this policy. // Minimum 1. For the current version, the maximum number of weeklyMaintenanceWindows // is expected to be one. // Structure is documented below. WeeklyMaintenanceWindows InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput `pulumi:"weeklyMaintenanceWindows"` }
func (InstanceMaintenancePolicyArgs) ElementType ¶
func (InstanceMaintenancePolicyArgs) ElementType() reflect.Type
func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutput ¶
func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput
func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutputWithContext ¶
func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyOutputWithContext(ctx context.Context) InstanceMaintenancePolicyOutput
func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutput ¶
func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput
func (InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutputWithContext ¶
func (i InstanceMaintenancePolicyArgs) ToInstanceMaintenancePolicyPtrOutputWithContext(ctx context.Context) InstanceMaintenancePolicyPtrOutput
type InstanceMaintenancePolicyInput ¶
type InstanceMaintenancePolicyInput interface { pulumi.Input ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput ToInstanceMaintenancePolicyOutputWithContext(context.Context) InstanceMaintenancePolicyOutput }
InstanceMaintenancePolicyInput is an input type that accepts InstanceMaintenancePolicyArgs and InstanceMaintenancePolicyOutput values. You can construct a concrete instance of `InstanceMaintenancePolicyInput` via:
InstanceMaintenancePolicyArgs{...}
type InstanceMaintenancePolicyOutput ¶
type InstanceMaintenancePolicyOutput struct{ *pulumi.OutputState }
func (InstanceMaintenancePolicyOutput) CreateTime ¶
func (o InstanceMaintenancePolicyOutput) CreateTime() pulumi.StringPtrOutput
(Output) Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits
func (InstanceMaintenancePolicyOutput) Description ¶
func (o InstanceMaintenancePolicyOutput) Description() pulumi.StringPtrOutput
Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
func (InstanceMaintenancePolicyOutput) ElementType ¶
func (InstanceMaintenancePolicyOutput) ElementType() reflect.Type
func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutput ¶
func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutput() InstanceMaintenancePolicyOutput
func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutputWithContext ¶
func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyOutputWithContext(ctx context.Context) InstanceMaintenancePolicyOutput
func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutput ¶
func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput
func (InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutputWithContext ¶
func (o InstanceMaintenancePolicyOutput) ToInstanceMaintenancePolicyPtrOutputWithContext(ctx context.Context) InstanceMaintenancePolicyPtrOutput
func (InstanceMaintenancePolicyOutput) UpdateTime ¶
func (o InstanceMaintenancePolicyOutput) UpdateTime() pulumi.StringPtrOutput
(Output) Output only. The time when the policy was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
func (InstanceMaintenancePolicyOutput) WeeklyMaintenanceWindows ¶
func (o InstanceMaintenancePolicyOutput) WeeklyMaintenanceWindows() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
Required. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weeklyMaintenanceWindows is expected to be one. Structure is documented below.
type InstanceMaintenancePolicyPtrInput ¶
type InstanceMaintenancePolicyPtrInput interface { pulumi.Input ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput ToInstanceMaintenancePolicyPtrOutputWithContext(context.Context) InstanceMaintenancePolicyPtrOutput }
InstanceMaintenancePolicyPtrInput is an input type that accepts InstanceMaintenancePolicyArgs, InstanceMaintenancePolicyPtr and InstanceMaintenancePolicyPtrOutput values. You can construct a concrete instance of `InstanceMaintenancePolicyPtrInput` via:
InstanceMaintenancePolicyArgs{...} or: nil
func InstanceMaintenancePolicyPtr ¶
func InstanceMaintenancePolicyPtr(v *InstanceMaintenancePolicyArgs) InstanceMaintenancePolicyPtrInput
type InstanceMaintenancePolicyPtrOutput ¶
type InstanceMaintenancePolicyPtrOutput struct{ *pulumi.OutputState }
func (InstanceMaintenancePolicyPtrOutput) CreateTime ¶
func (o InstanceMaintenancePolicyPtrOutput) CreateTime() pulumi.StringPtrOutput
(Output) Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits
func (InstanceMaintenancePolicyPtrOutput) Description ¶
func (o InstanceMaintenancePolicyPtrOutput) Description() pulumi.StringPtrOutput
Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
func (InstanceMaintenancePolicyPtrOutput) Elem ¶
func (o InstanceMaintenancePolicyPtrOutput) Elem() InstanceMaintenancePolicyOutput
func (InstanceMaintenancePolicyPtrOutput) ElementType ¶
func (InstanceMaintenancePolicyPtrOutput) ElementType() reflect.Type
func (InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutput ¶
func (o InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutput() InstanceMaintenancePolicyPtrOutput
func (InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutputWithContext ¶
func (o InstanceMaintenancePolicyPtrOutput) ToInstanceMaintenancePolicyPtrOutputWithContext(ctx context.Context) InstanceMaintenancePolicyPtrOutput
func (InstanceMaintenancePolicyPtrOutput) UpdateTime ¶
func (o InstanceMaintenancePolicyPtrOutput) UpdateTime() pulumi.StringPtrOutput
(Output) Output only. The time when the policy was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
func (InstanceMaintenancePolicyPtrOutput) WeeklyMaintenanceWindows ¶
func (o InstanceMaintenancePolicyPtrOutput) WeeklyMaintenanceWindows() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
Required. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weeklyMaintenanceWindows is expected to be one. Structure is documented below.
type InstanceMaintenancePolicyWeeklyMaintenanceWindow ¶
type InstanceMaintenancePolicyWeeklyMaintenanceWindow struct { // Required. The day of week that maintenance updates occur. // - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified. // - MONDAY: Monday // - TUESDAY: Tuesday // - WEDNESDAY: Wednesday // - THURSDAY: Thursday // - FRIDAY: Friday // - SATURDAY: Saturday // - SUNDAY: Sunday // Possible values are: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`. Day string `pulumi:"day"` // Required. The length of the maintenance window, ranging from 3 hours to 8 hours. // A duration in seconds with up to nine fractional digits, // terminated by 's'. Example: "3.5s". Duration string `pulumi:"duration"` // Required. Start time of the window in UTC time. // Structure is documented below. StartTime InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime `pulumi:"startTime"` }
type InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs ¶
type InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs struct { // Required. The day of week that maintenance updates occur. // - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified. // - MONDAY: Monday // - TUESDAY: Tuesday // - WEDNESDAY: Wednesday // - THURSDAY: Thursday // - FRIDAY: Friday // - SATURDAY: Saturday // - SUNDAY: Sunday // Possible values are: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`. Day pulumi.StringInput `pulumi:"day"` // Required. The length of the maintenance window, ranging from 3 hours to 8 hours. // A duration in seconds with up to nine fractional digits, // terminated by 's'. Example: "3.5s". Duration pulumi.StringInput `pulumi:"duration"` // Required. Start time of the window in UTC time. // Structure is documented below. StartTime InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput `pulumi:"startTime"` }
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ElementType ¶
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ElementType() reflect.Type
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput ¶
func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext ¶
func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
type InstanceMaintenancePolicyWeeklyMaintenanceWindowArray ¶
type InstanceMaintenancePolicyWeeklyMaintenanceWindowArray []InstanceMaintenancePolicyWeeklyMaintenanceWindowInput
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ElementType ¶
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ElementType() reflect.Type
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput ¶
func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext ¶
func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowArray) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput ¶
type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput interface { pulumi.Input ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext(context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput }
InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput is an input type that accepts InstanceMaintenancePolicyWeeklyMaintenanceWindowArray and InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput values. You can construct a concrete instance of `InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayInput` via:
InstanceMaintenancePolicyWeeklyMaintenanceWindowArray{ InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs{...} }
type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput ¶
type InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ElementType ¶
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ElementType() reflect.Type
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowArrayOutput
type InstanceMaintenancePolicyWeeklyMaintenanceWindowInput ¶
type InstanceMaintenancePolicyWeeklyMaintenanceWindowInput interface { pulumi.Input ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext(context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput }
InstanceMaintenancePolicyWeeklyMaintenanceWindowInput is an input type that accepts InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs and InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput values. You can construct a concrete instance of `InstanceMaintenancePolicyWeeklyMaintenanceWindowInput` via:
InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs{...}
type InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput ¶
type InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput struct{ *pulumi.OutputState }
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Day ¶
Required. The day of week that maintenance updates occur.
- DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
- MONDAY: Monday
- TUESDAY: Tuesday
- WEDNESDAY: Wednesday
- THURSDAY: Thursday
- FRIDAY: Friday
- SATURDAY: Saturday
- SUNDAY: Sunday Possible values are: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Duration ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) Duration() pulumi.StringOutput
Required. The length of the maintenance window, ranging from 3 hours to 8 hours. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ElementType ¶
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ElementType() reflect.Type
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) StartTime ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) StartTime() InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
Required. Start time of the window in UTC time. Structure is documented below.
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowOutput
type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime ¶
type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime struct { // Hours of day in 24 hour format. Should be from 0 to 23. // An API may choose to allow the value "24:00:00" for scenarios like business closing time. Hours *int `pulumi:"hours"` // Minutes of hour of day. Must be from 0 to 59. Minutes *int `pulumi:"minutes"` // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. Nanos *int `pulumi:"nanos"` // Seconds of minutes of the time. Must normally be from 0 to 59. // An API may allow the value 60 if it allows leap-seconds. Seconds *int `pulumi:"seconds"` }
type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs ¶
type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs struct { // Hours of day in 24 hour format. Should be from 0 to 23. // An API may choose to allow the value "24:00:00" for scenarios like business closing time. Hours pulumi.IntPtrInput `pulumi:"hours"` // Minutes of hour of day. Must be from 0 to 59. Minutes pulumi.IntPtrInput `pulumi:"minutes"` // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. Nanos pulumi.IntPtrInput `pulumi:"nanos"` // Seconds of minutes of the time. Must normally be from 0 to 59. // An API may allow the value 60 if it allows leap-seconds. Seconds pulumi.IntPtrInput `pulumi:"seconds"` }
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ElementType ¶
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ElementType() reflect.Type
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput ¶
func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext ¶
func (i InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput ¶
type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput interface { pulumi.Input ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext(context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput }
InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput is an input type that accepts InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs and InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput values. You can construct a concrete instance of `InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeInput` via:
InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeArgs{...}
type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput ¶
type InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput struct{ *pulumi.OutputState }
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ElementType ¶
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ElementType() reflect.Type
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Hours ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Hours() pulumi.IntPtrOutput
Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Minutes ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Minutes() pulumi.IntPtrOutput
Minutes of hour of day. Must be from 0 to 59.
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Nanos ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Nanos() pulumi.IntPtrOutput
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Seconds ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) Seconds() pulumi.IntPtrOutput
Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput() InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
func (InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext ¶
func (o InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput) ToInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputWithContext(ctx context.Context) InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutput
type InstanceMaintenanceSchedule ¶
type InstanceMaintenanceSchedule struct { // (Output) // Output only. The end time of any upcoming scheduled maintenance for this instance. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. EndTime *string `pulumi:"endTime"` // (Output) // Output only. The deadline that the maintenance schedule start time // can not go beyond, including reschedule. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. ScheduleDeadlineTime *string `pulumi:"scheduleDeadlineTime"` // (Output) // Output only. The start time of any upcoming scheduled maintenance for this instance. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. StartTime *string `pulumi:"startTime"` }
type InstanceMaintenanceScheduleArgs ¶
type InstanceMaintenanceScheduleArgs struct { // (Output) // Output only. The end time of any upcoming scheduled maintenance for this instance. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. EndTime pulumi.StringPtrInput `pulumi:"endTime"` // (Output) // Output only. The deadline that the maintenance schedule start time // can not go beyond, including reschedule. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. ScheduleDeadlineTime pulumi.StringPtrInput `pulumi:"scheduleDeadlineTime"` // (Output) // Output only. The start time of any upcoming scheduled maintenance for this instance. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. StartTime pulumi.StringPtrInput `pulumi:"startTime"` }
func (InstanceMaintenanceScheduleArgs) ElementType ¶
func (InstanceMaintenanceScheduleArgs) ElementType() reflect.Type
func (InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutput ¶
func (i InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput
func (InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutputWithContext ¶
func (i InstanceMaintenanceScheduleArgs) ToInstanceMaintenanceScheduleOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleOutput
type InstanceMaintenanceScheduleArray ¶
type InstanceMaintenanceScheduleArray []InstanceMaintenanceScheduleInput
func (InstanceMaintenanceScheduleArray) ElementType ¶
func (InstanceMaintenanceScheduleArray) ElementType() reflect.Type
func (InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutput ¶
func (i InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutput() InstanceMaintenanceScheduleArrayOutput
func (InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutputWithContext ¶
func (i InstanceMaintenanceScheduleArray) ToInstanceMaintenanceScheduleArrayOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleArrayOutput
type InstanceMaintenanceScheduleArrayInput ¶
type InstanceMaintenanceScheduleArrayInput interface { pulumi.Input ToInstanceMaintenanceScheduleArrayOutput() InstanceMaintenanceScheduleArrayOutput ToInstanceMaintenanceScheduleArrayOutputWithContext(context.Context) InstanceMaintenanceScheduleArrayOutput }
InstanceMaintenanceScheduleArrayInput is an input type that accepts InstanceMaintenanceScheduleArray and InstanceMaintenanceScheduleArrayOutput values. You can construct a concrete instance of `InstanceMaintenanceScheduleArrayInput` via:
InstanceMaintenanceScheduleArray{ InstanceMaintenanceScheduleArgs{...} }
type InstanceMaintenanceScheduleArrayOutput ¶
type InstanceMaintenanceScheduleArrayOutput struct{ *pulumi.OutputState }
func (InstanceMaintenanceScheduleArrayOutput) ElementType ¶
func (InstanceMaintenanceScheduleArrayOutput) ElementType() reflect.Type
func (InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutput ¶
func (o InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutput() InstanceMaintenanceScheduleArrayOutput
func (InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutputWithContext ¶
func (o InstanceMaintenanceScheduleArrayOutput) ToInstanceMaintenanceScheduleArrayOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleArrayOutput
type InstanceMaintenanceScheduleInput ¶
type InstanceMaintenanceScheduleInput interface { pulumi.Input ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput ToInstanceMaintenanceScheduleOutputWithContext(context.Context) InstanceMaintenanceScheduleOutput }
InstanceMaintenanceScheduleInput is an input type that accepts InstanceMaintenanceScheduleArgs and InstanceMaintenanceScheduleOutput values. You can construct a concrete instance of `InstanceMaintenanceScheduleInput` via:
InstanceMaintenanceScheduleArgs{...}
type InstanceMaintenanceScheduleOutput ¶
type InstanceMaintenanceScheduleOutput struct{ *pulumi.OutputState }
func (InstanceMaintenanceScheduleOutput) ElementType ¶
func (InstanceMaintenanceScheduleOutput) ElementType() reflect.Type
func (InstanceMaintenanceScheduleOutput) EndTime ¶
func (o InstanceMaintenanceScheduleOutput) EndTime() pulumi.StringPtrOutput
(Output) Output only. The end time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
func (InstanceMaintenanceScheduleOutput) ScheduleDeadlineTime ¶
func (o InstanceMaintenanceScheduleOutput) ScheduleDeadlineTime() pulumi.StringPtrOutput
(Output) Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
func (InstanceMaintenanceScheduleOutput) StartTime ¶
func (o InstanceMaintenanceScheduleOutput) StartTime() pulumi.StringPtrOutput
(Output) Output only. The start time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
func (InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutput ¶
func (o InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutput() InstanceMaintenanceScheduleOutput
func (InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutputWithContext ¶
func (o InstanceMaintenanceScheduleOutput) ToInstanceMaintenanceScheduleOutputWithContext(ctx context.Context) InstanceMaintenanceScheduleOutput
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 InstanceMemcacheNode struct { // (Output) // Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node. Host *string `pulumi:"host"` // (Output) // Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name. NodeId *string `pulumi:"nodeId"` // (Output) // The port number of the Memcached server on this node. Port *int `pulumi:"port"` // (Output) // Current state of the Memcached node. State *string `pulumi:"state"` // (Output) // Location (GCP Zone) for the Memcached node. Zone *string `pulumi:"zone"` }
type InstanceMemcacheNodeArgs ¶
type InstanceMemcacheNodeArgs struct { // (Output) // Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node. Host pulumi.StringPtrInput `pulumi:"host"` // (Output) // Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name. NodeId pulumi.StringPtrInput `pulumi:"nodeId"` // (Output) // The port number of the Memcached server on this node. Port pulumi.IntPtrInput `pulumi:"port"` // (Output) // Current state of the Memcached node. State pulumi.StringPtrInput `pulumi:"state"` // (Output) // Location (GCP Zone) for the Memcached node. Zone pulumi.StringPtrInput `pulumi:"zone"` }
func (InstanceMemcacheNodeArgs) ElementType ¶
func (InstanceMemcacheNodeArgs) ElementType() reflect.Type
func (InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutput ¶
func (i InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutput() InstanceMemcacheNodeOutput
func (InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutputWithContext ¶
func (i InstanceMemcacheNodeArgs) ToInstanceMemcacheNodeOutputWithContext(ctx context.Context) InstanceMemcacheNodeOutput
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
(Output) Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
func (InstanceMemcacheNodeOutput) NodeId ¶
func (o InstanceMemcacheNodeOutput) NodeId() pulumi.StringPtrOutput
(Output) Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
func (InstanceMemcacheNodeOutput) Port ¶
func (o InstanceMemcacheNodeOutput) Port() pulumi.IntPtrOutput
(Output) The port number of the Memcached server on this node.
func (InstanceMemcacheNodeOutput) State ¶
func (o InstanceMemcacheNodeOutput) State() pulumi.StringPtrOutput
(Output) Current state of the Memcached node.
func (InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutput ¶
func (o InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutput() InstanceMemcacheNodeOutput
func (InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutputWithContext ¶
func (o InstanceMemcacheNodeOutput) ToInstanceMemcacheNodeOutputWithContext(ctx context.Context) InstanceMemcacheNodeOutput
func (InstanceMemcacheNodeOutput) Zone ¶
func (o InstanceMemcacheNodeOutput) Zone() pulumi.StringPtrOutput
(Output) Location (GCP Zone) for the Memcached node.
type InstanceMemcacheParametersArgs ¶
type InstanceMemcacheParametersArgs struct { // (Output) // This is a unique ID associated with this set of parameters. Id pulumi.StringPtrInput `pulumi:"id"` // User-defined set of parameters to use in the memcache process. Params pulumi.StringMapInput `pulumi:"params"` }
func (InstanceMemcacheParametersArgs) ElementType ¶
func (InstanceMemcacheParametersArgs) 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
(Output) 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
(Output) 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) AuthorizedNetwork ¶
func (o InstanceOutput) AuthorizedNetwork() pulumi.StringOutput
The full name of the GCE network to connect the instance to. If not provided, 'default' will be used.
func (InstanceOutput) CreateTime ¶
func (o InstanceOutput) CreateTime() pulumi.StringOutput
Creation timestamp in RFC3339 text format.
func (InstanceOutput) DiscoveryEndpoint ¶
func (o InstanceOutput) DiscoveryEndpoint() pulumi.StringOutput
Endpoint for Discovery API
func (InstanceOutput) DisplayName ¶
func (o InstanceOutput) DisplayName() pulumi.StringOutput
A user-visible name for the instance.
func (InstanceOutput) EffectiveLabels ¶
func (o InstanceOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) Labels ¶
func (o InstanceOutput) Labels() pulumi.StringMapOutput
Resource labels to represent user-provided metadata. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
func (InstanceOutput) MaintenancePolicy ¶
func (o InstanceOutput) MaintenancePolicy() InstanceMaintenancePolicyPtrOutput
Maintenance policy for an instance.
func (InstanceOutput) MaintenanceSchedules ¶
func (o InstanceOutput) MaintenanceSchedules() InstanceMaintenanceScheduleArrayOutput
Output only. Published maintenance schedule. Structure is documented below.
func (InstanceOutput) MemcacheFullVersion ¶
func (o InstanceOutput) MemcacheFullVersion() pulumi.StringOutput
The full version of memcached server running on this instance.
func (InstanceOutput) MemcacheNodes ¶
func (o InstanceOutput) MemcacheNodes() InstanceMemcacheNodeArrayOutput
Additional information about the instance state, if available. Structure is documented below.
func (InstanceOutput) MemcacheParameters ¶
func (o InstanceOutput) MemcacheParameters() InstanceMemcacheParametersPtrOutput
User-specified parameters for this memcache instance.
func (InstanceOutput) MemcacheVersion ¶
func (o InstanceOutput) MemcacheVersion() pulumi.StringPtrOutput
The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version. Default value: "MEMCACHE_1_5" Possible values: ["MEMCACHE_1_5", "MEMCACHE_1_6_15"]
func (InstanceOutput) Name ¶
func (o InstanceOutput) Name() pulumi.StringOutput
The resource name of the instance.
func (InstanceOutput) NodeConfig ¶
func (o InstanceOutput) NodeConfig() InstanceNodeConfigOutput
Configuration for memcache nodes. Structure is documented below.
func (InstanceOutput) NodeCount ¶
func (o InstanceOutput) NodeCount() pulumi.IntOutput
Number of nodes in the memcache instance.
func (InstanceOutput) Project ¶
func (o InstanceOutput) Project() pulumi.StringOutput
func (InstanceOutput) PulumiLabels ¶
func (o InstanceOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (InstanceOutput) Region ¶
func (o InstanceOutput) Region() pulumi.StringOutput
The region of the Memcache instance. If it is not provided, the provider region is used.
func (InstanceOutput) ReservedIpRangeIds ¶
func (o InstanceOutput) ReservedIpRangeIds() pulumi.StringArrayOutput
Contains the name of allocated IP address ranges associated with the private service access connection for example, "test-default" associated with IP range 10.0.0.0/29.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) Zones ¶
func (o InstanceOutput) Zones() pulumi.StringArrayOutput
Zones where memcache nodes should be provisioned. If not provided, all zones will be used.
type InstanceState ¶
type InstanceState struct { // The full name of the GCE network to connect the instance to. If not provided, 'default' will be used. AuthorizedNetwork pulumi.StringPtrInput // 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 // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Resource labels to represent user-provided metadata. **Note**: This field is non-authoritative, and will only manage the // labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the // resource. Labels pulumi.StringMapInput // Maintenance policy for an instance. MaintenancePolicy InstanceMaintenancePolicyPtrInput // Output only. Published maintenance schedule. // Structure is documented below. MaintenanceSchedules InstanceMaintenanceScheduleArrayInput // The full version of memcached server running on this instance. MemcacheFullVersion pulumi.StringPtrInput // Additional information about the instance state, if available. // Structure is documented below. MemcacheNodes InstanceMemcacheNodeArrayInput // User-specified parameters for this memcache instance. 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: "MEMCACHE_1_5" Possible values: ["MEMCACHE_1_5", "MEMCACHE_1_6_15"] 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 Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // The region of the Memcache instance. If it is not provided, the provider region is used. Region pulumi.StringPtrInput // Contains the name of allocated IP address ranges associated with the private service access connection for example, // "test-default" associated with IP range 10.0.0.0/29. ReservedIpRangeIds pulumi.StringArrayInput // 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