redis

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

A Google Cloud Redis instance.

To get more information about Instance, see:

* [API documentation](https://cloud.google.com/memorystore/docs/redis/reference/rest/) * How-to Guides

<div class = "oics-button" style="float: right; margin: 0 0 -15px">

<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=redis_instance_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
  <img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
</a>

</div>

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.ID, state *InstanceState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Instance, error)

NewInstance registers a new resource with the given unique name, arguments, and options.

func (*Instance) AlternativeLocationId

func (r *Instance) AlternativeLocationId() *pulumi.StringOutput

func (*Instance) AuthorizedNetwork

func (r *Instance) AuthorizedNetwork() *pulumi.StringOutput

func (*Instance) CreateTime

func (r *Instance) CreateTime() *pulumi.StringOutput

func (*Instance) CurrentLocationId

func (r *Instance) CurrentLocationId() *pulumi.StringOutput

func (*Instance) DisplayName

func (r *Instance) DisplayName() *pulumi.StringOutput

func (*Instance) Host

func (r *Instance) Host() *pulumi.StringOutput

func (*Instance) ID

func (r *Instance) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Instance) Labels

func (r *Instance) Labels() *pulumi.MapOutput

func (*Instance) LocationId

func (r *Instance) LocationId() *pulumi.StringOutput

func (*Instance) MemorySizeGb

func (r *Instance) MemorySizeGb() *pulumi.IntOutput

func (*Instance) Name

func (r *Instance) Name() *pulumi.StringOutput

func (*Instance) Port

func (r *Instance) Port() *pulumi.IntOutput

func (*Instance) Project

func (r *Instance) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*Instance) RedisConfigs

func (r *Instance) RedisConfigs() *pulumi.MapOutput

func (*Instance) RedisVersion

func (r *Instance) RedisVersion() *pulumi.StringOutput

func (*Instance) Region

func (r *Instance) Region() *pulumi.StringOutput

func (*Instance) ReservedIpRange

func (r *Instance) ReservedIpRange() *pulumi.StringOutput

func (*Instance) Tier

func (r *Instance) Tier() *pulumi.StringOutput

func (*Instance) URN

func (r *Instance) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type InstanceArgs

type InstanceArgs struct {
	AlternativeLocationId interface{}
	AuthorizedNetwork     interface{}
	DisplayName           interface{}
	Labels                interface{}
	LocationId            interface{}
	MemorySizeGb          interface{}
	Name                  interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project         interface{}
	RedisConfigs    interface{}
	RedisVersion    interface{}
	Region          interface{}
	ReservedIpRange interface{}
	Tier            interface{}
}

The set of arguments for constructing a Instance resource.

type InstanceState

type InstanceState struct {
	AlternativeLocationId interface{}
	AuthorizedNetwork     interface{}
	CreateTime            interface{}
	CurrentLocationId     interface{}
	DisplayName           interface{}
	Host                  interface{}
	Labels                interface{}
	LocationId            interface{}
	MemorySizeGb          interface{}
	Name                  interface{}
	Port                  interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project         interface{}
	RedisConfigs    interface{}
	RedisVersion    interface{}
	Region          interface{}
	ReservedIpRange interface{}
	Tier            interface{}
}

Input properties used for looking up and filtering Instance resources.

Jump to

Keyboard shortcuts

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