Fork me on GitHub

Module redis

@pulumi/gcp > redis

Index

redis/instance.ts

class Instance

constructor

new Instance(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions)

Create a Instance resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceState): Instance

Get an existing Instance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property alternativeLocationId

public alternativeLocationId: pulumi.Output<string | undefined>;

property authorizedNetwork

public authorizedNetwork: pulumi.Output<string>;

property createTime

public createTime: pulumi.Output<string>;

property currentLocationId

public currentLocationId: pulumi.Output<string>;

property displayName

public displayName: pulumi.Output<string | undefined>;

property host

public host: pulumi.Output<string>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property labels

public labels: pulumi.Output<{ ... } | undefined>;

property locationId

public locationId: pulumi.Output<string>;

property memorySizeGb

public memorySizeGb: pulumi.Output<number>;

property name

public name: pulumi.Output<string>;

property port

public port: pulumi.Output<number>;

property project

public project: pulumi.Output<string>;

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

property redisConfigs

public redisConfigs: pulumi.Output<{ ... } | undefined>;

property redisVersion

public redisVersion: pulumi.Output<string>;

property region

public region: pulumi.Output<string>;

property reservedIpRange

public reservedIpRange: pulumi.Output<string>;

property tier

public tier: pulumi.Output<string | undefined>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface InstanceArgs

The set of arguments for constructing a Instance resource.

property alternativeLocationId

alternativeLocationId?: pulumi.Input<string>;

property authorizedNetwork

authorizedNetwork?: pulumi.Input<string>;

property displayName

displayName?: pulumi.Input<string>;

property labels

labels?: pulumi.Input<{ ... }>;

property locationId

locationId?: pulumi.Input<string>;

property memorySizeGb

memorySizeGb: pulumi.Input<number>;

property name

name?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

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

property redisConfigs

redisConfigs?: pulumi.Input<{ ... }>;

property redisVersion

redisVersion?: pulumi.Input<string>;

property region

region?: pulumi.Input<string>;

property reservedIpRange

reservedIpRange?: pulumi.Input<string>;

property tier

tier?: pulumi.Input<string>;

interface InstanceState

Input properties used for looking up and filtering Instance resources.

property alternativeLocationId

alternativeLocationId?: pulumi.Input<string>;

property authorizedNetwork

authorizedNetwork?: pulumi.Input<string>;

property createTime

createTime?: pulumi.Input<string>;

property currentLocationId

currentLocationId?: pulumi.Input<string>;

property displayName

displayName?: pulumi.Input<string>;

property host

host?: pulumi.Input<string>;

property labels

labels?: pulumi.Input<{ ... }>;

property locationId

locationId?: pulumi.Input<string>;

property memorySizeGb

memorySizeGb?: pulumi.Input<number>;

property name

name?: pulumi.Input<string>;

property port

port?: pulumi.Input<number>;

property project

project?: pulumi.Input<string>;

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

property redisConfigs

redisConfigs?: pulumi.Input<{ ... }>;

property redisVersion

redisVersion?: pulumi.Input<string>;

property region

region?: pulumi.Input<string>;

property reservedIpRange

reservedIpRange?: pulumi.Input<string>;

property tier

tier?: pulumi.Input<string>;