umem

package
v0.0.0-...-6ede62d Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 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 MemcacheInstance

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

The UCloud Memcache instance is a key-value online storage service compatible with the Memcached protocol.

> This content is derived from https://github.com/terraform-providers/terraform-provider-ucloud/blob/master/website/docs/r/memcache_instance.html.markdown.

func GetMemcacheInstance

func GetMemcacheInstance(ctx *pulumi.Context,
	name string, id pulumi.ID, state *MemcacheInstanceState, opts ...pulumi.ResourceOpt) (*MemcacheInstance, error)

GetMemcacheInstance gets an existing MemcacheInstance 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 NewMemcacheInstance

func NewMemcacheInstance(ctx *pulumi.Context,
	name string, args *MemcacheInstanceArgs, opts ...pulumi.ResourceOpt) (*MemcacheInstance, error)

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

func (*MemcacheInstance) AvailabilityZone

func (r *MemcacheInstance) AvailabilityZone() *pulumi.StringOutput

Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to [list of availability zone](https://docs.ucloud.cn/api/summary/regionlist)

func (*MemcacheInstance) ChargeType

func (r *MemcacheInstance) ChargeType() *pulumi.StringOutput

The charge type of Memcache instance, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`).

func (*MemcacheInstance) CreateTime

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

The creation time of Memcache instance, formatted by RFC3339 time string.

func (*MemcacheInstance) Duration

func (r *MemcacheInstance) Duration() *pulumi.IntOutput

The duration that you will buy the Memcache instance (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour).

func (*MemcacheInstance) ExpireTime

func (r *MemcacheInstance) ExpireTime() *pulumi.StringOutput

The expiration time of Memcache instance, formatted by RFC3339 time string.

func (*MemcacheInstance) ID

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

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

func (*MemcacheInstance) InstanceType

func (r *MemcacheInstance) InstanceType() *pulumi.StringOutput

func (*MemcacheInstance) IpSets

func (r *MemcacheInstance) IpSets() *pulumi.ArrayOutput

ip_set is a nested type. ipSet documented below.

func (*MemcacheInstance) Name

func (*MemcacheInstance) Status

func (r *MemcacheInstance) Status() *pulumi.StringOutput

The status of KV Memcache instance.

func (*MemcacheInstance) SubnetId

func (r *MemcacheInstance) SubnetId() *pulumi.StringOutput

The ID of subnet linked to the Memcache instance.

func (*MemcacheInstance) Tag

A tag assigned to Memcache instance, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).

func (*MemcacheInstance) URN

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

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

func (*MemcacheInstance) VpcId

func (r *MemcacheInstance) VpcId() *pulumi.StringOutput

The ID of VPC linked to the Memcache instance.

type MemcacheInstanceArgs

type MemcacheInstanceArgs struct {
	// Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to [list of availability zone](https://docs.ucloud.cn/api/summary/regionlist)
	AvailabilityZone interface{}
	// The charge type of Memcache instance, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`).
	ChargeType interface{}
	// The duration that you will buy the Memcache instance (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour).
	Duration     interface{}
	InstanceType interface{}
	Name         interface{}
	// The ID of subnet linked to the Memcache instance.
	SubnetId interface{}
	// A tag assigned to Memcache instance, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag interface{}
	// The ID of VPC linked to the Memcache instance.
	VpcId interface{}
}

The set of arguments for constructing a MemcacheInstance resource.

type MemcacheInstanceState

type MemcacheInstanceState struct {
	// Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to [list of availability zone](https://docs.ucloud.cn/api/summary/regionlist)
	AvailabilityZone interface{}
	// The charge type of Memcache instance, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`).
	ChargeType interface{}
	// The creation time of Memcache instance, formatted by RFC3339 time string.
	CreateTime interface{}
	// The duration that you will buy the Memcache instance (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour).
	Duration interface{}
	// The expiration time of Memcache instance, formatted by RFC3339 time string.
	ExpireTime   interface{}
	InstanceType interface{}
	// ip_set is a nested type. ipSet documented below.
	IpSets interface{}
	Name   interface{}
	// The status of KV Memcache instance.
	Status interface{}
	// The ID of subnet linked to the Memcache instance.
	SubnetId interface{}
	// A tag assigned to Memcache instance, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag interface{}
	// The ID of VPC linked to the Memcache instance.
	VpcId interface{}
}

Input properties used for looking up and filtering MemcacheInstance resources.

type RedisInstance

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

The UCloud Redis instance is a key-value online storage service compatible with the Redis protocol.

> This content is derived from https://github.com/terraform-providers/terraform-provider-ucloud/blob/master/website/docs/r/redis_instance.html.markdown.

func GetRedisInstance

func GetRedisInstance(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RedisInstanceState, opts ...pulumi.ResourceOpt) (*RedisInstance, error)

GetRedisInstance gets an existing RedisInstance 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 NewRedisInstance

func NewRedisInstance(ctx *pulumi.Context,
	name string, args *RedisInstanceArgs, opts ...pulumi.ResourceOpt) (*RedisInstance, error)

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

func (*RedisInstance) AvailabilityZone

func (r *RedisInstance) AvailabilityZone() *pulumi.StringOutput

Availability zone where Redis instance is located. Such as: "cn-bj2-02". You may refer to [list of availability zone](https://docs.ucloud.cn/api/summary/regionlist)

func (*RedisInstance) ChargeType

func (r *RedisInstance) ChargeType() *pulumi.StringOutput

The charge type of Redis instance, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`).

func (*RedisInstance) CreateTime

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

The creation time of Redis instance, formatted by RFC3339 time string.

func (*RedisInstance) Duration

func (r *RedisInstance) Duration() *pulumi.IntOutput

The duration that you will buy the Redis instance (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour).

func (*RedisInstance) EngineVersion

func (r *RedisInstance) EngineVersion() *pulumi.StringOutput

The version of engine of active-standby Redis. Possible values are: 3.0, 3.2 and 4.0.

func (*RedisInstance) ExpireTime

func (r *RedisInstance) ExpireTime() *pulumi.StringOutput

The expiration time of Redis instance, formatted by RFC3339 time string.

func (*RedisInstance) ID

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

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

func (*RedisInstance) InstanceType

func (r *RedisInstance) InstanceType() *pulumi.StringOutput

func (*RedisInstance) IpSets

func (r *RedisInstance) IpSets() *pulumi.ArrayOutput

ip_set is a nested type. ipSet documented below.

func (*RedisInstance) Name

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

func (*RedisInstance) Password

func (r *RedisInstance) Password() *pulumi.StringOutput

The password for active-standby Redis instance which should have 6-36 characters. It must contain at least 3 items of Capital letters, small letter, numbers and special characters. The special characters include `-_`.

func (*RedisInstance) Status

func (r *RedisInstance) Status() *pulumi.StringOutput

The status of KV Redis instance.

func (*RedisInstance) SubnetId

func (r *RedisInstance) SubnetId() *pulumi.StringOutput

The ID of subnet linked to the Redis instance.

func (*RedisInstance) Tag

func (r *RedisInstance) Tag() *pulumi.StringOutput

A tag assigned to Redis instance, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).

func (*RedisInstance) URN

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

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

func (*RedisInstance) VpcId

func (r *RedisInstance) VpcId() *pulumi.StringOutput

The ID of VPC linked to the Redis instance.

type RedisInstanceArgs

type RedisInstanceArgs struct {
	// Availability zone where Redis instance is located. Such as: "cn-bj2-02". You may refer to [list of availability zone](https://docs.ucloud.cn/api/summary/regionlist)
	AvailabilityZone interface{}
	// The charge type of Redis instance, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`).
	ChargeType interface{}
	// The duration that you will buy the Redis instance (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour).
	Duration interface{}
	// The version of engine of active-standby Redis. Possible values are: 3.0, 3.2 and 4.0.
	EngineVersion interface{}
	InstanceType  interface{}
	Name          interface{}
	// The password for  active-standby Redis instance which should have 6-36 characters. It must contain at least 3 items of Capital letters, small letter, numbers and special characters. The special characters include `-_`.
	Password interface{}
	// The ID of subnet linked to the Redis instance.
	SubnetId interface{}
	// A tag assigned to Redis instance, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag interface{}
	// The ID of VPC linked to the Redis instance.
	VpcId interface{}
}

The set of arguments for constructing a RedisInstance resource.

type RedisInstanceState

type RedisInstanceState struct {
	// Availability zone where Redis instance is located. Such as: "cn-bj2-02". You may refer to [list of availability zone](https://docs.ucloud.cn/api/summary/regionlist)
	AvailabilityZone interface{}
	// The charge type of Redis instance, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`).
	ChargeType interface{}
	// The creation time of Redis instance, formatted by RFC3339 time string.
	CreateTime interface{}
	// The duration that you will buy the Redis instance (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour).
	Duration interface{}
	// The version of engine of active-standby Redis. Possible values are: 3.0, 3.2 and 4.0.
	EngineVersion interface{}
	// The expiration time of Redis instance, formatted by RFC3339 time string.
	ExpireTime   interface{}
	InstanceType interface{}
	// ip_set is a nested type. ipSet documented below.
	IpSets interface{}
	Name   interface{}
	// The password for  active-standby Redis instance which should have 6-36 characters. It must contain at least 3 items of Capital letters, small letter, numbers and special characters. The special characters include `-_`.
	Password interface{}
	// The status of KV Redis instance.
	Status interface{}
	// The ID of subnet linked to the Redis instance.
	SubnetId interface{}
	// A tag assigned to Redis instance, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag interface{}
	// The ID of VPC linked to the Redis instance.
	VpcId interface{}
}

Input properties used for looking up and filtering RedisInstance resources.

Jump to

Keyboard shortcuts

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