ucloud.MemcacheInstance
Explore with Pulumi AI
The UCloud Memcache instance is a key-value online storage service compatible with the Memcached protocol.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ucloud from "@pulumi/ucloud";
const _default = ucloud.getZones({});
const master = new ucloud.MemcacheInstance("master", {
    availabilityZone: _default.then(_default => _default.zones?.[0]?.id),
    instanceType: "memcache-master-2",
    tag: "tf-example",
});
import pulumi
import pulumi_ucloud as ucloud
default = ucloud.get_zones()
master = ucloud.MemcacheInstance("master",
    availability_zone=default.zones[0].id,
    instance_type="memcache-master-2",
    tag="tf-example")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ucloud/ucloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := ucloud.GetZones(ctx, &ucloud.GetZonesArgs{}, nil)
		if err != nil {
			return err
		}
		_, err = ucloud.NewMemcacheInstance(ctx, "master", &ucloud.MemcacheInstanceArgs{
			AvailabilityZone: pulumi.String(_default.Zones[0].Id),
			InstanceType:     pulumi.String("memcache-master-2"),
			Tag:              pulumi.String("tf-example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ucloud = Pulumi.Ucloud;
return await Deployment.RunAsync(() => 
{
    var @default = Ucloud.GetZones.Invoke();
    var master = new Ucloud.MemcacheInstance("master", new()
    {
        AvailabilityZone = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
        InstanceType = "memcache-master-2",
        Tag = "tf-example",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ucloud.UcloudFunctions;
import com.pulumi.ucloud.inputs.GetZonesArgs;
import com.pulumi.ucloud.MemcacheInstance;
import com.pulumi.ucloud.MemcacheInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var default = UcloudFunctions.getZones();
        var master = new MemcacheInstance("master", MemcacheInstanceArgs.builder()
            .availabilityZone(default_.zones()[0].id())
            .instanceType("memcache-master-2")
            .tag("tf-example")
            .build());
    }
}
resources:
  master:
    type: ucloud:MemcacheInstance
    properties:
      availabilityZone: ${default.zones[0].id}
      instanceType: memcache-master-2
      tag: tf-example
variables:
  default:
    fn::invoke:
      function: ucloud:getZones
      arguments: {}
Create MemcacheInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MemcacheInstance(name: string, args: MemcacheInstanceArgs, opts?: CustomResourceOptions);@overload
def MemcacheInstance(resource_name: str,
                     args: MemcacheInstanceArgs,
                     opts: Optional[ResourceOptions] = None)
@overload
def MemcacheInstance(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     availability_zone: Optional[str] = None,
                     instance_type: Optional[str] = None,
                     charge_type: Optional[str] = None,
                     duration: Optional[float] = None,
                     memcache_instance_id: Optional[str] = None,
                     name: Optional[str] = None,
                     subnet_id: Optional[str] = None,
                     tag: Optional[str] = None,
                     vpc_id: Optional[str] = None)func NewMemcacheInstance(ctx *Context, name string, args MemcacheInstanceArgs, opts ...ResourceOption) (*MemcacheInstance, error)public MemcacheInstance(string name, MemcacheInstanceArgs args, CustomResourceOptions? opts = null)
public MemcacheInstance(String name, MemcacheInstanceArgs args)
public MemcacheInstance(String name, MemcacheInstanceArgs args, CustomResourceOptions options)
type: ucloud:MemcacheInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MemcacheInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MemcacheInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MemcacheInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MemcacheInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MemcacheInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var memcacheInstanceResource = new Ucloud.MemcacheInstance("memcacheInstanceResource", new()
{
    AvailabilityZone = "string",
    InstanceType = "string",
    ChargeType = "string",
    Duration = 0,
    MemcacheInstanceId = "string",
    Name = "string",
    SubnetId = "string",
    Tag = "string",
    VpcId = "string",
});
example, err := ucloud.NewMemcacheInstance(ctx, "memcacheInstanceResource", &ucloud.MemcacheInstanceArgs{
	AvailabilityZone:   pulumi.String("string"),
	InstanceType:       pulumi.String("string"),
	ChargeType:         pulumi.String("string"),
	Duration:           pulumi.Float64(0),
	MemcacheInstanceId: pulumi.String("string"),
	Name:               pulumi.String("string"),
	SubnetId:           pulumi.String("string"),
	Tag:                pulumi.String("string"),
	VpcId:              pulumi.String("string"),
})
var memcacheInstanceResource = new MemcacheInstance("memcacheInstanceResource", MemcacheInstanceArgs.builder()
    .availabilityZone("string")
    .instanceType("string")
    .chargeType("string")
    .duration(0.0)
    .memcacheInstanceId("string")
    .name("string")
    .subnetId("string")
    .tag("string")
    .vpcId("string")
    .build());
memcache_instance_resource = ucloud.MemcacheInstance("memcacheInstanceResource",
    availability_zone="string",
    instance_type="string",
    charge_type="string",
    duration=0,
    memcache_instance_id="string",
    name="string",
    subnet_id="string",
    tag="string",
    vpc_id="string")
const memcacheInstanceResource = new ucloud.MemcacheInstance("memcacheInstanceResource", {
    availabilityZone: "string",
    instanceType: "string",
    chargeType: "string",
    duration: 0,
    memcacheInstanceId: "string",
    name: "string",
    subnetId: "string",
    tag: "string",
    vpcId: "string",
});
type: ucloud:MemcacheInstance
properties:
    availabilityZone: string
    chargeType: string
    duration: 0
    instanceType: string
    memcacheInstanceId: string
    name: string
    subnetId: string
    tag: string
    vpcId: string
MemcacheInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MemcacheInstance resource accepts the following input properties:
- AvailabilityZone string
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- InstanceType string
- The type of Memcache instance, please visit the instance type table for more details.
- ChargeType string
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- Duration double
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- MemcacheInstance stringId 
- The ID of the resource Memcache instance.
- Name string
- SubnetId string
- The ID of subnet linked to the Memcache instance.
- Tag string
- 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).
- VpcId string
- The ID of VPC linked to the Memcache instance.
- AvailabilityZone string
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- InstanceType string
- The type of Memcache instance, please visit the instance type table for more details.
- ChargeType string
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- Duration float64
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- MemcacheInstance stringId 
- The ID of the resource Memcache instance.
- Name string
- SubnetId string
- The ID of subnet linked to the Memcache instance.
- Tag string
- 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).
- VpcId string
- The ID of VPC linked to the Memcache instance.
- availabilityZone String
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- instanceType String
- The type of Memcache instance, please visit the instance type table for more details.
- chargeType String
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- duration Double
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- memcacheInstance StringId 
- The ID of the resource Memcache instance.
- name String
- subnetId String
- The ID of subnet linked to the Memcache instance.
- tag String
- 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).
- vpcId String
- The ID of VPC linked to the Memcache instance.
- availabilityZone string
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- instanceType string
- The type of Memcache instance, please visit the instance type table for more details.
- chargeType string
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- duration number
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- memcacheInstance stringId 
- The ID of the resource Memcache instance.
- name string
- subnetId string
- The ID of subnet linked to the Memcache instance.
- tag string
- 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).
- vpcId string
- The ID of VPC linked to the Memcache instance.
- availability_zone str
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- instance_type str
- The type of Memcache instance, please visit the instance type table for more details.
- charge_type str
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- duration float
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- memcache_instance_ strid 
- The ID of the resource Memcache instance.
- name str
- subnet_id str
- The ID of subnet linked to the Memcache instance.
- tag str
- 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).
- vpc_id str
- The ID of VPC linked to the Memcache instance.
- availabilityZone String
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- instanceType String
- The type of Memcache instance, please visit the instance type table for more details.
- chargeType String
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- duration Number
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- memcacheInstance StringId 
- The ID of the resource Memcache instance.
- name String
- subnetId String
- The ID of subnet linked to the Memcache instance.
- tag String
- 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).
- vpcId String
- The ID of VPC linked to the Memcache instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the MemcacheInstance resource produces the following output properties:
- CreateTime string
- The creation time of Memcache instance, formatted by RFC3339 time string.
- ExpireTime string
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- Id string
- The provider-assigned unique ID for this managed resource.
- IpSets List<MemcacheInstance Ip Set> 
- ip_set is a nested type. ip_set documented below.
- Status string
- The status of KV Memcache instance.
- CreateTime string
- The creation time of Memcache instance, formatted by RFC3339 time string.
- ExpireTime string
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- Id string
- The provider-assigned unique ID for this managed resource.
- IpSets []MemcacheInstance Ip Set 
- ip_set is a nested type. ip_set documented below.
- Status string
- The status of KV Memcache instance.
- createTime String
- The creation time of Memcache instance, formatted by RFC3339 time string.
- expireTime String
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- id String
- The provider-assigned unique ID for this managed resource.
- ipSets List<MemcacheInstance Ip Set> 
- ip_set is a nested type. ip_set documented below.
- status String
- The status of KV Memcache instance.
- createTime string
- The creation time of Memcache instance, formatted by RFC3339 time string.
- expireTime string
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- id string
- The provider-assigned unique ID for this managed resource.
- ipSets MemcacheInstance Ip Set[] 
- ip_set is a nested type. ip_set documented below.
- status string
- The status of KV Memcache instance.
- create_time str
- The creation time of Memcache instance, formatted by RFC3339 time string.
- expire_time str
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_sets Sequence[MemcacheInstance Ip Set] 
- ip_set is a nested type. ip_set documented below.
- status str
- The status of KV Memcache instance.
- createTime String
- The creation time of Memcache instance, formatted by RFC3339 time string.
- expireTime String
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- id String
- The provider-assigned unique ID for this managed resource.
- ipSets List<Property Map>
- ip_set is a nested type. ip_set documented below.
- status String
- The status of KV Memcache instance.
Look up Existing MemcacheInstance Resource
Get an existing MemcacheInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MemcacheInstanceState, opts?: CustomResourceOptions): MemcacheInstance@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        availability_zone: Optional[str] = None,
        charge_type: Optional[str] = None,
        create_time: Optional[str] = None,
        duration: Optional[float] = None,
        expire_time: Optional[str] = None,
        instance_type: Optional[str] = None,
        ip_sets: Optional[Sequence[MemcacheInstanceIpSetArgs]] = None,
        memcache_instance_id: Optional[str] = None,
        name: Optional[str] = None,
        status: Optional[str] = None,
        subnet_id: Optional[str] = None,
        tag: Optional[str] = None,
        vpc_id: Optional[str] = None) -> MemcacheInstancefunc GetMemcacheInstance(ctx *Context, name string, id IDInput, state *MemcacheInstanceState, opts ...ResourceOption) (*MemcacheInstance, error)public static MemcacheInstance Get(string name, Input<string> id, MemcacheInstanceState? state, CustomResourceOptions? opts = null)public static MemcacheInstance get(String name, Output<String> id, MemcacheInstanceState state, CustomResourceOptions options)resources:  _:    type: ucloud:MemcacheInstance    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AvailabilityZone string
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- ChargeType string
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- CreateTime string
- The creation time of Memcache instance, formatted by RFC3339 time string.
- Duration double
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- ExpireTime string
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- InstanceType string
- The type of Memcache instance, please visit the instance type table for more details.
- IpSets List<MemcacheInstance Ip Set> 
- ip_set is a nested type. ip_set documented below.
- MemcacheInstance stringId 
- The ID of the resource Memcache instance.
- Name string
- Status string
- The status of KV Memcache instance.
- SubnetId string
- The ID of subnet linked to the Memcache instance.
- Tag string
- 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).
- VpcId string
- The ID of VPC linked to the Memcache instance.
- AvailabilityZone string
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- ChargeType string
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- CreateTime string
- The creation time of Memcache instance, formatted by RFC3339 time string.
- Duration float64
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- ExpireTime string
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- InstanceType string
- The type of Memcache instance, please visit the instance type table for more details.
- IpSets []MemcacheInstance Ip Set Args 
- ip_set is a nested type. ip_set documented below.
- MemcacheInstance stringId 
- The ID of the resource Memcache instance.
- Name string
- Status string
- The status of KV Memcache instance.
- SubnetId string
- The ID of subnet linked to the Memcache instance.
- Tag string
- 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).
- VpcId string
- The ID of VPC linked to the Memcache instance.
- availabilityZone String
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- chargeType String
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- createTime String
- The creation time of Memcache instance, formatted by RFC3339 time string.
- duration Double
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- expireTime String
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- instanceType String
- The type of Memcache instance, please visit the instance type table for more details.
- ipSets List<MemcacheInstance Ip Set> 
- ip_set is a nested type. ip_set documented below.
- memcacheInstance StringId 
- The ID of the resource Memcache instance.
- name String
- status String
- The status of KV Memcache instance.
- subnetId String
- The ID of subnet linked to the Memcache instance.
- tag String
- 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).
- vpcId String
- The ID of VPC linked to the Memcache instance.
- availabilityZone string
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- chargeType string
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- createTime string
- The creation time of Memcache instance, formatted by RFC3339 time string.
- duration number
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- expireTime string
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- instanceType string
- The type of Memcache instance, please visit the instance type table for more details.
- ipSets MemcacheInstance Ip Set[] 
- ip_set is a nested type. ip_set documented below.
- memcacheInstance stringId 
- The ID of the resource Memcache instance.
- name string
- status string
- The status of KV Memcache instance.
- subnetId string
- The ID of subnet linked to the Memcache instance.
- tag string
- 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).
- vpcId string
- The ID of VPC linked to the Memcache instance.
- availability_zone str
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- charge_type str
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- create_time str
- The creation time of Memcache instance, formatted by RFC3339 time string.
- duration float
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- expire_time str
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- instance_type str
- The type of Memcache instance, please visit the instance type table for more details.
- ip_sets Sequence[MemcacheInstance Ip Set Args] 
- ip_set is a nested type. ip_set documented below.
- memcache_instance_ strid 
- The ID of the resource Memcache instance.
- name str
- status str
- The status of KV Memcache instance.
- subnet_id str
- The ID of subnet linked to the Memcache instance.
- tag str
- 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).
- vpc_id str
- The ID of VPC linked to the Memcache instance.
- availabilityZone String
- Availability zone where Memcache instance is located. Such as: "cn-bj2-02". You may refer to list of availability zone
- chargeType String
- The charge type of Memcache instance, possible values are: year,monthanddynamicas pay by hour (specific permission required). (Default:month).
- createTime String
- The creation time of Memcache instance, formatted by RFC3339 time string.
- duration Number
- The duration that you will buy the Memcache instance (Default: 1). The value is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour).
- expireTime String
- The expiration time of Memcache instance, formatted by RFC3339 time string.
- instanceType String
- The type of Memcache instance, please visit the instance type table for more details.
- ipSets List<Property Map>
- ip_set is a nested type. ip_set documented below.
- memcacheInstance StringId 
- The ID of the resource Memcache instance.
- name String
- status String
- The status of KV Memcache instance.
- subnetId String
- The ID of subnet linked to the Memcache instance.
- tag String
- 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).
- vpcId String
- The ID of VPC linked to the Memcache instance.
Supporting Types
MemcacheInstanceIpSet, MemcacheInstanceIpSetArgs        
Package Details
- Repository
- ucloud ucloud/terraform-provider-ucloud
- License
- Notes
- This Pulumi package is based on the ucloudTerraform Provider.