1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. kvstore
  5. getInstances
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

alicloud.kvstore.getInstances

Explore with Pulumi AI

Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

This data source provides the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instances of the current Alibaba Cloud user.

NOTE: Available since v1.15.0.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = alicloud.kvstore.getInstances({
    nameRegex: "testname",
});
export const firstInstanceName = _default.then(_default => _default.instances?.[0]?.name);
Copy
import pulumi
import pulumi_alicloud as alicloud

default = alicloud.kvstore.get_instances(name_regex="testname")
pulumi.export("firstInstanceName", default.instances[0].name)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/kvstore"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := kvstore.GetInstances(ctx, &kvstore.GetInstancesArgs{
			NameRegex: pulumi.StringRef("testname"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstInstanceName", _default.Instances[0].Name)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var @default = AliCloud.KVStore.GetInstances.Invoke(new()
    {
        NameRegex = "testname",
    });

    return new Dictionary<string, object?>
    {
        ["firstInstanceName"] = @default.Apply(@default => @default.Apply(getInstancesResult => getInstancesResult.Instances[0]?.Name)),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.kvstore.KvstoreFunctions;
import com.pulumi.alicloud.kvstore.inputs.GetInstancesArgs;
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 = KvstoreFunctions.getInstances(GetInstancesArgs.builder()
            .nameRegex("testname")
            .build());

        ctx.export("firstInstanceName", default_.instances()[0].name());
    }
}
Copy
variables:
  default:
    fn::invoke:
      function: alicloud:kvstore:getInstances
      arguments:
        nameRegex: testname
outputs:
  firstInstanceName: ${default.instances[0].name}
Copy

Using getInstances

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getInstances(args: GetInstancesArgs, opts?: InvokeOptions): Promise<GetInstancesResult>
function getInstancesOutput(args: GetInstancesOutputArgs, opts?: InvokeOptions): Output<GetInstancesResult>
Copy
def get_instances(architecture_type: Optional[str] = None,
                  edition_type: Optional[str] = None,
                  enable_details: Optional[bool] = None,
                  engine_version: Optional[str] = None,
                  expired: Optional[str] = None,
                  global_instance: Optional[bool] = None,
                  ids: Optional[Sequence[str]] = None,
                  instance_class: Optional[str] = None,
                  instance_type: Optional[str] = None,
                  name_regex: Optional[str] = None,
                  network_type: Optional[str] = None,
                  output_file: Optional[str] = None,
                  payment_type: Optional[str] = None,
                  resource_group_id: Optional[str] = None,
                  search_key: Optional[str] = None,
                  status: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  vpc_id: Optional[str] = None,
                  vswitch_id: Optional[str] = None,
                  zone_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetInstancesResult
def get_instances_output(architecture_type: Optional[pulumi.Input[str]] = None,
                  edition_type: Optional[pulumi.Input[str]] = None,
                  enable_details: Optional[pulumi.Input[bool]] = None,
                  engine_version: Optional[pulumi.Input[str]] = None,
                  expired: Optional[pulumi.Input[str]] = None,
                  global_instance: Optional[pulumi.Input[bool]] = None,
                  ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                  instance_class: Optional[pulumi.Input[str]] = None,
                  instance_type: Optional[pulumi.Input[str]] = None,
                  name_regex: Optional[pulumi.Input[str]] = None,
                  network_type: Optional[pulumi.Input[str]] = None,
                  output_file: Optional[pulumi.Input[str]] = None,
                  payment_type: Optional[pulumi.Input[str]] = None,
                  resource_group_id: Optional[pulumi.Input[str]] = None,
                  search_key: Optional[pulumi.Input[str]] = None,
                  status: Optional[pulumi.Input[str]] = None,
                  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                  vpc_id: Optional[pulumi.Input[str]] = None,
                  vswitch_id: Optional[pulumi.Input[str]] = None,
                  zone_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetInstancesResult]
Copy
func GetInstances(ctx *Context, args *GetInstancesArgs, opts ...InvokeOption) (*GetInstancesResult, error)
func GetInstancesOutput(ctx *Context, args *GetInstancesOutputArgs, opts ...InvokeOption) GetInstancesResultOutput
Copy

> Note: This function is named GetInstances in the Go SDK.

public static class GetInstances 
{
    public static Task<GetInstancesResult> InvokeAsync(GetInstancesArgs args, InvokeOptions? opts = null)
    public static Output<GetInstancesResult> Invoke(GetInstancesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetInstancesResult> getInstances(GetInstancesArgs args, InvokeOptions options)
public static Output<GetInstancesResult> getInstances(GetInstancesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:kvstore/getInstances:getInstances
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ArchitectureType Changes to this property will trigger replacement. string
The type of the architecture. Valid values: cluster, standard and SplitRW.
EditionType Changes to this property will trigger replacement. string
Used to retrieve instances belong to specified vswitch resources. Valid values: Enterprise, Community.
EnableDetails bool
Default to false. Set it to true can output more details.
EngineVersion Changes to this property will trigger replacement. string
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
Expired Changes to this property will trigger replacement. string
The expiration status of the instance.
GlobalInstance Changes to this property will trigger replacement. bool
Whether to create a distributed cache.
Ids Changes to this property will trigger replacement. List<string>
A list of KVStore DBInstance IDs.
InstanceClass Changes to this property will trigger replacement. string
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
InstanceType Changes to this property will trigger replacement. string
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
NameRegex Changes to this property will trigger replacement. string
A regex string to apply to the instance name.
NetworkType Changes to this property will trigger replacement. string
The type of the network. Valid values: CLASSIC, VPC.
OutputFile string
The name of file that can save the collection of instances after running pulumi preview.
PaymentType Changes to this property will trigger replacement. string
The payment type. Valid values: PostPaid, PrePaid.
ResourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
SearchKey Changes to this property will trigger replacement. string
The name of the instance.
Status Changes to this property will trigger replacement. string
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
Tags Dictionary<string, string>
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
VpcId Changes to this property will trigger replacement. string
Used to retrieve instances belong to specified VPC.
VswitchId Changes to this property will trigger replacement. string
Used to retrieve instances belong to specified vswitch resources.
ZoneId Changes to this property will trigger replacement. string
The ID of the zone.
ArchitectureType Changes to this property will trigger replacement. string
The type of the architecture. Valid values: cluster, standard and SplitRW.
EditionType Changes to this property will trigger replacement. string
Used to retrieve instances belong to specified vswitch resources. Valid values: Enterprise, Community.
EnableDetails bool
Default to false. Set it to true can output more details.
EngineVersion Changes to this property will trigger replacement. string
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
Expired Changes to this property will trigger replacement. string
The expiration status of the instance.
GlobalInstance Changes to this property will trigger replacement. bool
Whether to create a distributed cache.
Ids Changes to this property will trigger replacement. []string
A list of KVStore DBInstance IDs.
InstanceClass Changes to this property will trigger replacement. string
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
InstanceType Changes to this property will trigger replacement. string
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
NameRegex Changes to this property will trigger replacement. string
A regex string to apply to the instance name.
NetworkType Changes to this property will trigger replacement. string
The type of the network. Valid values: CLASSIC, VPC.
OutputFile string
The name of file that can save the collection of instances after running pulumi preview.
PaymentType Changes to this property will trigger replacement. string
The payment type. Valid values: PostPaid, PrePaid.
ResourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
SearchKey Changes to this property will trigger replacement. string
The name of the instance.
Status Changes to this property will trigger replacement. string
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
Tags map[string]string
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
VpcId Changes to this property will trigger replacement. string
Used to retrieve instances belong to specified VPC.
VswitchId Changes to this property will trigger replacement. string
Used to retrieve instances belong to specified vswitch resources.
ZoneId Changes to this property will trigger replacement. string
The ID of the zone.
architectureType Changes to this property will trigger replacement. String
The type of the architecture. Valid values: cluster, standard and SplitRW.
editionType Changes to this property will trigger replacement. String
Used to retrieve instances belong to specified vswitch resources. Valid values: Enterprise, Community.
enableDetails Boolean
Default to false. Set it to true can output more details.
engineVersion Changes to this property will trigger replacement. String
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
expired Changes to this property will trigger replacement. String
The expiration status of the instance.
globalInstance Changes to this property will trigger replacement. Boolean
Whether to create a distributed cache.
ids Changes to this property will trigger replacement. List<String>
A list of KVStore DBInstance IDs.
instanceClass Changes to this property will trigger replacement. String
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
instanceType Changes to this property will trigger replacement. String
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
nameRegex Changes to this property will trigger replacement. String
A regex string to apply to the instance name.
networkType Changes to this property will trigger replacement. String
The type of the network. Valid values: CLASSIC, VPC.
outputFile String
The name of file that can save the collection of instances after running pulumi preview.
paymentType Changes to this property will trigger replacement. String
The payment type. Valid values: PostPaid, PrePaid.
resourceGroupId Changes to this property will trigger replacement. String
The ID of the resource group.
searchKey Changes to this property will trigger replacement. String
The name of the instance.
status Changes to this property will trigger replacement. String
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
tags Map<String,String>
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
vpcId Changes to this property will trigger replacement. String
Used to retrieve instances belong to specified VPC.
vswitchId Changes to this property will trigger replacement. String
Used to retrieve instances belong to specified vswitch resources.
zoneId Changes to this property will trigger replacement. String
The ID of the zone.
architectureType Changes to this property will trigger replacement. string
The type of the architecture. Valid values: cluster, standard and SplitRW.
editionType Changes to this property will trigger replacement. string
Used to retrieve instances belong to specified vswitch resources. Valid values: Enterprise, Community.
enableDetails boolean
Default to false. Set it to true can output more details.
engineVersion Changes to this property will trigger replacement. string
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
expired Changes to this property will trigger replacement. string
The expiration status of the instance.
globalInstance Changes to this property will trigger replacement. boolean
Whether to create a distributed cache.
ids Changes to this property will trigger replacement. string[]
A list of KVStore DBInstance IDs.
instanceClass Changes to this property will trigger replacement. string
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
instanceType Changes to this property will trigger replacement. string
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
nameRegex Changes to this property will trigger replacement. string
A regex string to apply to the instance name.
networkType Changes to this property will trigger replacement. string
The type of the network. Valid values: CLASSIC, VPC.
outputFile string
The name of file that can save the collection of instances after running pulumi preview.
paymentType Changes to this property will trigger replacement. string
The payment type. Valid values: PostPaid, PrePaid.
resourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
searchKey Changes to this property will trigger replacement. string
The name of the instance.
status Changes to this property will trigger replacement. string
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
tags {[key: string]: string}
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
vpcId Changes to this property will trigger replacement. string
Used to retrieve instances belong to specified VPC.
vswitchId Changes to this property will trigger replacement. string
Used to retrieve instances belong to specified vswitch resources.
zoneId Changes to this property will trigger replacement. string
The ID of the zone.
architecture_type Changes to this property will trigger replacement. str
The type of the architecture. Valid values: cluster, standard and SplitRW.
edition_type Changes to this property will trigger replacement. str
Used to retrieve instances belong to specified vswitch resources. Valid values: Enterprise, Community.
enable_details bool
Default to false. Set it to true can output more details.
engine_version Changes to this property will trigger replacement. str
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
expired Changes to this property will trigger replacement. str
The expiration status of the instance.
global_instance Changes to this property will trigger replacement. bool
Whether to create a distributed cache.
ids Changes to this property will trigger replacement. Sequence[str]
A list of KVStore DBInstance IDs.
instance_class Changes to this property will trigger replacement. str
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
instance_type Changes to this property will trigger replacement. str
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
name_regex Changes to this property will trigger replacement. str
A regex string to apply to the instance name.
network_type Changes to this property will trigger replacement. str
The type of the network. Valid values: CLASSIC, VPC.
output_file str
The name of file that can save the collection of instances after running pulumi preview.
payment_type Changes to this property will trigger replacement. str
The payment type. Valid values: PostPaid, PrePaid.
resource_group_id Changes to this property will trigger replacement. str
The ID of the resource group.
search_key Changes to this property will trigger replacement. str
The name of the instance.
status Changes to this property will trigger replacement. str
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
tags Mapping[str, str]
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
vpc_id Changes to this property will trigger replacement. str
Used to retrieve instances belong to specified VPC.
vswitch_id Changes to this property will trigger replacement. str
Used to retrieve instances belong to specified vswitch resources.
zone_id Changes to this property will trigger replacement. str
The ID of the zone.
architectureType Changes to this property will trigger replacement. String
The type of the architecture. Valid values: cluster, standard and SplitRW.
editionType Changes to this property will trigger replacement. String
Used to retrieve instances belong to specified vswitch resources. Valid values: Enterprise, Community.
enableDetails Boolean
Default to false. Set it to true can output more details.
engineVersion Changes to this property will trigger replacement. String
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
expired Changes to this property will trigger replacement. String
The expiration status of the instance.
globalInstance Changes to this property will trigger replacement. Boolean
Whether to create a distributed cache.
ids Changes to this property will trigger replacement. List<String>
A list of KVStore DBInstance IDs.
instanceClass Changes to this property will trigger replacement. String
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
instanceType Changes to this property will trigger replacement. String
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
nameRegex Changes to this property will trigger replacement. String
A regex string to apply to the instance name.
networkType Changes to this property will trigger replacement. String
The type of the network. Valid values: CLASSIC, VPC.
outputFile String
The name of file that can save the collection of instances after running pulumi preview.
paymentType Changes to this property will trigger replacement. String
The payment type. Valid values: PostPaid, PrePaid.
resourceGroupId Changes to this property will trigger replacement. String
The ID of the resource group.
searchKey Changes to this property will trigger replacement. String
The name of the instance.
status Changes to this property will trigger replacement. String
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
tags Map<String>
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
vpcId Changes to this property will trigger replacement. String
Used to retrieve instances belong to specified VPC.
vswitchId Changes to this property will trigger replacement. String
Used to retrieve instances belong to specified vswitch resources.
zoneId Changes to this property will trigger replacement. String
The ID of the zone.

getInstances Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
A list of KVStore Instance IDs.
Instances List<Pulumi.AliCloud.KVStore.Outputs.GetInstancesInstance>
A list of KVStore Instances. Its every element contains the following attributes:
Names List<string>
A list of KVStore Instance names.
ArchitectureType string
The architecture type of the instance.
EditionType string
EnableDetails bool
EngineVersion string
The engine version of the instance.
Expired string
GlobalInstance bool
InstanceClass string
Type of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. For more information, see Instance type table.
InstanceType string
Database type. Valid Values: Memcache, Redis. If no value is specified, all types are returned.
NameRegex string
NetworkType string
The network type of the instance.
OutputFile string
PaymentType string
Billing method. Valid Values: PostPaid for Pay-As-You-Go and PrePaid for subscription.
ResourceGroupId string
The ID of the resource group to which the instance belongs.
SearchKey string
The keyword used for fuzzy search. The keyword can be based on an instance name or an instance ID.
Status string
Status of the instance.
Tags Dictionary<string, string>
A mapping of tags to assign to the resource.
VpcId string
VPC ID the instance belongs to.
VswitchId string
VSwitch ID the instance belongs to.
ZoneId string
The ID of zone.
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
A list of KVStore Instance IDs.
Instances []GetInstancesInstance
A list of KVStore Instances. Its every element contains the following attributes:
Names []string
A list of KVStore Instance names.
ArchitectureType string
The architecture type of the instance.
EditionType string
EnableDetails bool
EngineVersion string
The engine version of the instance.
Expired string
GlobalInstance bool
InstanceClass string
Type of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. For more information, see Instance type table.
InstanceType string
Database type. Valid Values: Memcache, Redis. If no value is specified, all types are returned.
NameRegex string
NetworkType string
The network type of the instance.
OutputFile string
PaymentType string
Billing method. Valid Values: PostPaid for Pay-As-You-Go and PrePaid for subscription.
ResourceGroupId string
The ID of the resource group to which the instance belongs.
SearchKey string
The keyword used for fuzzy search. The keyword can be based on an instance name or an instance ID.
Status string
Status of the instance.
Tags map[string]string
A mapping of tags to assign to the resource.
VpcId string
VPC ID the instance belongs to.
VswitchId string
VSwitch ID the instance belongs to.
ZoneId string
The ID of zone.
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of KVStore Instance IDs.
instances List<GetInstancesInstance>
A list of KVStore Instances. Its every element contains the following attributes:
names List<String>
A list of KVStore Instance names.
architectureType String
The architecture type of the instance.
editionType String
enableDetails Boolean
engineVersion String
The engine version of the instance.
expired String
globalInstance Boolean
instanceClass String
Type of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. For more information, see Instance type table.
instanceType String
Database type. Valid Values: Memcache, Redis. If no value is specified, all types are returned.
nameRegex String
networkType String
The network type of the instance.
outputFile String
paymentType String
Billing method. Valid Values: PostPaid for Pay-As-You-Go and PrePaid for subscription.
resourceGroupId String
The ID of the resource group to which the instance belongs.
searchKey String
The keyword used for fuzzy search. The keyword can be based on an instance name or an instance ID.
status String
Status of the instance.
tags Map<String,String>
A mapping of tags to assign to the resource.
vpcId String
VPC ID the instance belongs to.
vswitchId String
VSwitch ID the instance belongs to.
zoneId String
The ID of zone.
id string
The provider-assigned unique ID for this managed resource.
ids string[]
A list of KVStore Instance IDs.
instances GetInstancesInstance[]
A list of KVStore Instances. Its every element contains the following attributes:
names string[]
A list of KVStore Instance names.
architectureType string
The architecture type of the instance.
editionType string
enableDetails boolean
engineVersion string
The engine version of the instance.
expired string
globalInstance boolean
instanceClass string
Type of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. For more information, see Instance type table.
instanceType string
Database type. Valid Values: Memcache, Redis. If no value is specified, all types are returned.
nameRegex string
networkType string
The network type of the instance.
outputFile string
paymentType string
Billing method. Valid Values: PostPaid for Pay-As-You-Go and PrePaid for subscription.
resourceGroupId string
The ID of the resource group to which the instance belongs.
searchKey string
The keyword used for fuzzy search. The keyword can be based on an instance name or an instance ID.
status string
Status of the instance.
tags {[key: string]: string}
A mapping of tags to assign to the resource.
vpcId string
VPC ID the instance belongs to.
vswitchId string
VSwitch ID the instance belongs to.
zoneId string
The ID of zone.
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
A list of KVStore Instance IDs.
instances Sequence[GetInstancesInstance]
A list of KVStore Instances. Its every element contains the following attributes:
names Sequence[str]
A list of KVStore Instance names.
architecture_type str
The architecture type of the instance.
edition_type str
enable_details bool
engine_version str
The engine version of the instance.
expired str
global_instance bool
instance_class str
Type of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. For more information, see Instance type table.
instance_type str
Database type. Valid Values: Memcache, Redis. If no value is specified, all types are returned.
name_regex str
network_type str
The network type of the instance.
output_file str
payment_type str
Billing method. Valid Values: PostPaid for Pay-As-You-Go and PrePaid for subscription.
resource_group_id str
The ID of the resource group to which the instance belongs.
search_key str
The keyword used for fuzzy search. The keyword can be based on an instance name or an instance ID.
status str
Status of the instance.
tags Mapping[str, str]
A mapping of tags to assign to the resource.
vpc_id str
VPC ID the instance belongs to.
vswitch_id str
VSwitch ID the instance belongs to.
zone_id str
The ID of zone.
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of KVStore Instance IDs.
instances List<Property Map>
A list of KVStore Instances. Its every element contains the following attributes:
names List<String>
A list of KVStore Instance names.
architectureType String
The architecture type of the instance.
editionType String
enableDetails Boolean
engineVersion String
The engine version of the instance.
expired String
globalInstance Boolean
instanceClass String
Type of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. For more information, see Instance type table.
instanceType String
Database type. Valid Values: Memcache, Redis. If no value is specified, all types are returned.
nameRegex String
networkType String
The network type of the instance.
outputFile String
paymentType String
Billing method. Valid Values: PostPaid for Pay-As-You-Go and PrePaid for subscription.
resourceGroupId String
The ID of the resource group to which the instance belongs.
searchKey String
The keyword used for fuzzy search. The keyword can be based on an instance name or an instance ID.
status String
Status of the instance.
tags Map<String>
A mapping of tags to assign to the resource.
vpcId String
VPC ID the instance belongs to.
vswitchId String
VSwitch ID the instance belongs to.
zoneId String
The ID of zone.

Supporting Types

GetInstancesInstance

ArchitectureType This property is required. string
The type of the architecture. Valid values: cluster, standard and SplitRW.
AutoRenew This property is required. bool
Indicates whether auto-renewal is enabled for the instance.
AutoRenewPeriod This property is required. int
The duration for which the instance is automatically renewed. Unit: months.
AvailabilityZone This property is required. string
It has been deprecated from provider version 1.101.0 and zone_id instead.
Bandwidth This property is required. int
Instance bandwidth limit. Unit: Mbit/s.
Capacity This property is required. int
Capacity of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. Unit: MB.
ChargeType This property is required. string
It has been deprecated from provider version 1.101.0 and payment_type instead.
Config This property is required. Dictionary<string, string>
The parameter configuration of the instance.
ConnectionDomain This property is required. string
Instance connection domain (only Intranet access supported).
ConnectionMode This property is required. string
The connection mode of the instance.
Connections This property is required. int
IIt has been deprecated from provider version 1.101.0 and max_connections instead.
CreateTime This property is required. string
Creation time of the instance.
DbInstanceId This property is required. string
The ID of the instance.
DbInstanceName This property is required. string
The name of the instance.
DestroyTime This property is required. string
The time when the instance was destroyed.
EndTime This property is required. string
Expiration time. Pay-As-You-Go instances are never expire.
EngineVersion This property is required. string
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
ExpireTime This property is required. string
It has been deprecated from provider version 1.101.0 and end_time instead.
HasRenewChangeOrder This property is required. bool
Indicates whether there was an order of renewal with configuration change that had not taken effect.
Id This property is required. string
The ID of the instance.
InstanceClass This property is required. string
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
InstanceReleaseProtection This property is required. bool
Indicates whether the release protection feature is enabled for the instance.
InstanceType This property is required. string
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
IsRds This property is required. bool
Indicates whether the instance is managed by Relational Database Service (RDS).
MaintainEndTime This property is required. string
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
MaintainStartTime This property is required. string
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
MaxConnections This property is required. int
Instance connection quantity limit. Unit: count.
Name This property is required. string
It has been deprecated from provider version 1.101.0 and db_instance_name instead.
NetworkType This property is required. string
The type of the network. Valid values: CLASSIC, VPC.
NodeType This property is required. string
The node type of the instance.
PackageType This property is required. string
The type of the package.
PaymentType This property is required. string
The payment type. Valid values: PostPaid, PrePaid.
Port This property is required. int
The service port of the instance.
PrivateIp This property is required. string
Private IP address of the instance.
Qps This property is required. int
The queries per second (QPS) supported by the instance.
RegionId This property is required. string
Region ID the instance belongs to.
ReplacateId This property is required. string
The logical ID of the replica instance.
ResourceGroupId This property is required. string
The ID of the resource group.
SearchKey This property is required. string
The name of the instance.
SecondaryZoneId This property is required. string
The ID of the secondary zone to which you want to migrate the Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.
SecurityGroupId This property is required. string
The ID of the security group associated with the instance.
SecurityIpGroupAttribute This property is required. string
By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is hidden
SecurityIpGroupName This property is required. string
The name of the IP address whitelist.
SecurityIps This property is required. List<string>
The IP addresses in the whitelist.
SslEnable This property is required. string
Indicates whether SSL encryption is enabled.
Status This property is required. string
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
Tags This property is required. Dictionary<string, string>
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
UserName This property is required. string
The username of the instance.
VpcAuthMode This property is required. string
Indicates whether password authentication is enabled. Valid values: Open, Close.
VpcCloudInstanceId This property is required. string
Connection port of the instance.
VpcId This property is required. string
Used to retrieve instances belong to specified VPC.
VswitchId This property is required. string
Used to retrieve instances belong to specified vswitch resources.
ZoneId This property is required. string
The ID of the zone.
ArchitectureType This property is required. string
The type of the architecture. Valid values: cluster, standard and SplitRW.
AutoRenew This property is required. bool
Indicates whether auto-renewal is enabled for the instance.
AutoRenewPeriod This property is required. int
The duration for which the instance is automatically renewed. Unit: months.
AvailabilityZone This property is required. string
It has been deprecated from provider version 1.101.0 and zone_id instead.
Bandwidth This property is required. int
Instance bandwidth limit. Unit: Mbit/s.
Capacity This property is required. int
Capacity of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. Unit: MB.
ChargeType This property is required. string
It has been deprecated from provider version 1.101.0 and payment_type instead.
Config This property is required. map[string]string
The parameter configuration of the instance.
ConnectionDomain This property is required. string
Instance connection domain (only Intranet access supported).
ConnectionMode This property is required. string
The connection mode of the instance.
Connections This property is required. int
IIt has been deprecated from provider version 1.101.0 and max_connections instead.
CreateTime This property is required. string
Creation time of the instance.
DbInstanceId This property is required. string
The ID of the instance.
DbInstanceName This property is required. string
The name of the instance.
DestroyTime This property is required. string
The time when the instance was destroyed.
EndTime This property is required. string
Expiration time. Pay-As-You-Go instances are never expire.
EngineVersion This property is required. string
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
ExpireTime This property is required. string
It has been deprecated from provider version 1.101.0 and end_time instead.
HasRenewChangeOrder This property is required. bool
Indicates whether there was an order of renewal with configuration change that had not taken effect.
Id This property is required. string
The ID of the instance.
InstanceClass This property is required. string
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
InstanceReleaseProtection This property is required. bool
Indicates whether the release protection feature is enabled for the instance.
InstanceType This property is required. string
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
IsRds This property is required. bool
Indicates whether the instance is managed by Relational Database Service (RDS).
MaintainEndTime This property is required. string
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
MaintainStartTime This property is required. string
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
MaxConnections This property is required. int
Instance connection quantity limit. Unit: count.
Name This property is required. string
It has been deprecated from provider version 1.101.0 and db_instance_name instead.
NetworkType This property is required. string
The type of the network. Valid values: CLASSIC, VPC.
NodeType This property is required. string
The node type of the instance.
PackageType This property is required. string
The type of the package.
PaymentType This property is required. string
The payment type. Valid values: PostPaid, PrePaid.
Port This property is required. int
The service port of the instance.
PrivateIp This property is required. string
Private IP address of the instance.
Qps This property is required. int
The queries per second (QPS) supported by the instance.
RegionId This property is required. string
Region ID the instance belongs to.
ReplacateId This property is required. string
The logical ID of the replica instance.
ResourceGroupId This property is required. string
The ID of the resource group.
SearchKey This property is required. string
The name of the instance.
SecondaryZoneId This property is required. string
The ID of the secondary zone to which you want to migrate the Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.
SecurityGroupId This property is required. string
The ID of the security group associated with the instance.
SecurityIpGroupAttribute This property is required. string
By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is hidden
SecurityIpGroupName This property is required. string
The name of the IP address whitelist.
SecurityIps This property is required. []string
The IP addresses in the whitelist.
SslEnable This property is required. string
Indicates whether SSL encryption is enabled.
Status This property is required. string
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
Tags This property is required. map[string]string
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
UserName This property is required. string
The username of the instance.
VpcAuthMode This property is required. string
Indicates whether password authentication is enabled. Valid values: Open, Close.
VpcCloudInstanceId This property is required. string
Connection port of the instance.
VpcId This property is required. string
Used to retrieve instances belong to specified VPC.
VswitchId This property is required. string
Used to retrieve instances belong to specified vswitch resources.
ZoneId This property is required. string
The ID of the zone.
architectureType This property is required. String
The type of the architecture. Valid values: cluster, standard and SplitRW.
autoRenew This property is required. Boolean
Indicates whether auto-renewal is enabled for the instance.
autoRenewPeriod This property is required. Integer
The duration for which the instance is automatically renewed. Unit: months.
availabilityZone This property is required. String
It has been deprecated from provider version 1.101.0 and zone_id instead.
bandwidth This property is required. Integer
Instance bandwidth limit. Unit: Mbit/s.
capacity This property is required. Integer
Capacity of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. Unit: MB.
chargeType This property is required. String
It has been deprecated from provider version 1.101.0 and payment_type instead.
config This property is required. Map<String,String>
The parameter configuration of the instance.
connectionDomain This property is required. String
Instance connection domain (only Intranet access supported).
connectionMode This property is required. String
The connection mode of the instance.
connections This property is required. Integer
IIt has been deprecated from provider version 1.101.0 and max_connections instead.
createTime This property is required. String
Creation time of the instance.
dbInstanceId This property is required. String
The ID of the instance.
dbInstanceName This property is required. String
The name of the instance.
destroyTime This property is required. String
The time when the instance was destroyed.
endTime This property is required. String
Expiration time. Pay-As-You-Go instances are never expire.
engineVersion This property is required. String
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
expireTime This property is required. String
It has been deprecated from provider version 1.101.0 and end_time instead.
hasRenewChangeOrder This property is required. Boolean
Indicates whether there was an order of renewal with configuration change that had not taken effect.
id This property is required. String
The ID of the instance.
instanceClass This property is required. String
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
instanceReleaseProtection This property is required. Boolean
Indicates whether the release protection feature is enabled for the instance.
instanceType This property is required. String
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
isRds This property is required. Boolean
Indicates whether the instance is managed by Relational Database Service (RDS).
maintainEndTime This property is required. String
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maintainStartTime This property is required. String
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maxConnections This property is required. Integer
Instance connection quantity limit. Unit: count.
name This property is required. String
It has been deprecated from provider version 1.101.0 and db_instance_name instead.
networkType This property is required. String
The type of the network. Valid values: CLASSIC, VPC.
nodeType This property is required. String
The node type of the instance.
packageType This property is required. String
The type of the package.
paymentType This property is required. String
The payment type. Valid values: PostPaid, PrePaid.
port This property is required. Integer
The service port of the instance.
privateIp This property is required. String
Private IP address of the instance.
qps This property is required. Integer
The queries per second (QPS) supported by the instance.
regionId This property is required. String
Region ID the instance belongs to.
replacateId This property is required. String
The logical ID of the replica instance.
resourceGroupId This property is required. String
The ID of the resource group.
searchKey This property is required. String
The name of the instance.
secondaryZoneId This property is required. String
The ID of the secondary zone to which you want to migrate the Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.
securityGroupId This property is required. String
The ID of the security group associated with the instance.
securityIpGroupAttribute This property is required. String
By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is hidden
securityIpGroupName This property is required. String
The name of the IP address whitelist.
securityIps This property is required. List<String>
The IP addresses in the whitelist.
sslEnable This property is required. String
Indicates whether SSL encryption is enabled.
status This property is required. String
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
tags This property is required. Map<String,String>
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
userName This property is required. String
The username of the instance.
vpcAuthMode This property is required. String
Indicates whether password authentication is enabled. Valid values: Open, Close.
vpcCloudInstanceId This property is required. String
Connection port of the instance.
vpcId This property is required. String
Used to retrieve instances belong to specified VPC.
vswitchId This property is required. String
Used to retrieve instances belong to specified vswitch resources.
zoneId This property is required. String
The ID of the zone.
architectureType This property is required. string
The type of the architecture. Valid values: cluster, standard and SplitRW.
autoRenew This property is required. boolean
Indicates whether auto-renewal is enabled for the instance.
autoRenewPeriod This property is required. number
The duration for which the instance is automatically renewed. Unit: months.
availabilityZone This property is required. string
It has been deprecated from provider version 1.101.0 and zone_id instead.
bandwidth This property is required. number
Instance bandwidth limit. Unit: Mbit/s.
capacity This property is required. number
Capacity of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. Unit: MB.
chargeType This property is required. string
It has been deprecated from provider version 1.101.0 and payment_type instead.
config This property is required. {[key: string]: string}
The parameter configuration of the instance.
connectionDomain This property is required. string
Instance connection domain (only Intranet access supported).
connectionMode This property is required. string
The connection mode of the instance.
connections This property is required. number
IIt has been deprecated from provider version 1.101.0 and max_connections instead.
createTime This property is required. string
Creation time of the instance.
dbInstanceId This property is required. string
The ID of the instance.
dbInstanceName This property is required. string
The name of the instance.
destroyTime This property is required. string
The time when the instance was destroyed.
endTime This property is required. string
Expiration time. Pay-As-You-Go instances are never expire.
engineVersion This property is required. string
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
expireTime This property is required. string
It has been deprecated from provider version 1.101.0 and end_time instead.
hasRenewChangeOrder This property is required. boolean
Indicates whether there was an order of renewal with configuration change that had not taken effect.
id This property is required. string
The ID of the instance.
instanceClass This property is required. string
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
instanceReleaseProtection This property is required. boolean
Indicates whether the release protection feature is enabled for the instance.
instanceType This property is required. string
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
isRds This property is required. boolean
Indicates whether the instance is managed by Relational Database Service (RDS).
maintainEndTime This property is required. string
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maintainStartTime This property is required. string
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maxConnections This property is required. number
Instance connection quantity limit. Unit: count.
name This property is required. string
It has been deprecated from provider version 1.101.0 and db_instance_name instead.
networkType This property is required. string
The type of the network. Valid values: CLASSIC, VPC.
nodeType This property is required. string
The node type of the instance.
packageType This property is required. string
The type of the package.
paymentType This property is required. string
The payment type. Valid values: PostPaid, PrePaid.
port This property is required. number
The service port of the instance.
privateIp This property is required. string
Private IP address of the instance.
qps This property is required. number
The queries per second (QPS) supported by the instance.
regionId This property is required. string
Region ID the instance belongs to.
replacateId This property is required. string
The logical ID of the replica instance.
resourceGroupId This property is required. string
The ID of the resource group.
searchKey This property is required. string
The name of the instance.
secondaryZoneId This property is required. string
The ID of the secondary zone to which you want to migrate the Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.
securityGroupId This property is required. string
The ID of the security group associated with the instance.
securityIpGroupAttribute This property is required. string
By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is hidden
securityIpGroupName This property is required. string
The name of the IP address whitelist.
securityIps This property is required. string[]
The IP addresses in the whitelist.
sslEnable This property is required. string
Indicates whether SSL encryption is enabled.
status This property is required. string
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
tags This property is required. {[key: string]: string}
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
userName This property is required. string
The username of the instance.
vpcAuthMode This property is required. string
Indicates whether password authentication is enabled. Valid values: Open, Close.
vpcCloudInstanceId This property is required. string
Connection port of the instance.
vpcId This property is required. string
Used to retrieve instances belong to specified VPC.
vswitchId This property is required. string
Used to retrieve instances belong to specified vswitch resources.
zoneId This property is required. string
The ID of the zone.
architecture_type This property is required. str
The type of the architecture. Valid values: cluster, standard and SplitRW.
auto_renew This property is required. bool
Indicates whether auto-renewal is enabled for the instance.
auto_renew_period This property is required. int
The duration for which the instance is automatically renewed. Unit: months.
availability_zone This property is required. str
It has been deprecated from provider version 1.101.0 and zone_id instead.
bandwidth This property is required. int
Instance bandwidth limit. Unit: Mbit/s.
capacity This property is required. int
Capacity of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. Unit: MB.
charge_type This property is required. str
It has been deprecated from provider version 1.101.0 and payment_type instead.
config This property is required. Mapping[str, str]
The parameter configuration of the instance.
connection_domain This property is required. str
Instance connection domain (only Intranet access supported).
connection_mode This property is required. str
The connection mode of the instance.
connections This property is required. int
IIt has been deprecated from provider version 1.101.0 and max_connections instead.
create_time This property is required. str
Creation time of the instance.
db_instance_id This property is required. str
The ID of the instance.
db_instance_name This property is required. str
The name of the instance.
destroy_time This property is required. str
The time when the instance was destroyed.
end_time This property is required. str
Expiration time. Pay-As-You-Go instances are never expire.
engine_version This property is required. str
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
expire_time This property is required. str
It has been deprecated from provider version 1.101.0 and end_time instead.
has_renew_change_order This property is required. bool
Indicates whether there was an order of renewal with configuration change that had not taken effect.
id This property is required. str
The ID of the instance.
instance_class This property is required. str
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
instance_release_protection This property is required. bool
Indicates whether the release protection feature is enabled for the instance.
instance_type This property is required. str
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
is_rds This property is required. bool
Indicates whether the instance is managed by Relational Database Service (RDS).
maintain_end_time This property is required. str
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maintain_start_time This property is required. str
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
max_connections This property is required. int
Instance connection quantity limit. Unit: count.
name This property is required. str
It has been deprecated from provider version 1.101.0 and db_instance_name instead.
network_type This property is required. str
The type of the network. Valid values: CLASSIC, VPC.
node_type This property is required. str
The node type of the instance.
package_type This property is required. str
The type of the package.
payment_type This property is required. str
The payment type. Valid values: PostPaid, PrePaid.
port This property is required. int
The service port of the instance.
private_ip This property is required. str
Private IP address of the instance.
qps This property is required. int
The queries per second (QPS) supported by the instance.
region_id This property is required. str
Region ID the instance belongs to.
replacate_id This property is required. str
The logical ID of the replica instance.
resource_group_id This property is required. str
The ID of the resource group.
search_key This property is required. str
The name of the instance.
secondary_zone_id This property is required. str
The ID of the secondary zone to which you want to migrate the Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.
security_group_id This property is required. str
The ID of the security group associated with the instance.
security_ip_group_attribute This property is required. str
By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is hidden
security_ip_group_name This property is required. str
The name of the IP address whitelist.
security_ips This property is required. Sequence[str]
The IP addresses in the whitelist.
ssl_enable This property is required. str
Indicates whether SSL encryption is enabled.
status This property is required. str
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
tags This property is required. Mapping[str, str]
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
user_name This property is required. str
The username of the instance.
vpc_auth_mode This property is required. str
Indicates whether password authentication is enabled. Valid values: Open, Close.
vpc_cloud_instance_id This property is required. str
Connection port of the instance.
vpc_id This property is required. str
Used to retrieve instances belong to specified VPC.
vswitch_id This property is required. str
Used to retrieve instances belong to specified vswitch resources.
zone_id This property is required. str
The ID of the zone.
architectureType This property is required. String
The type of the architecture. Valid values: cluster, standard and SplitRW.
autoRenew This property is required. Boolean
Indicates whether auto-renewal is enabled for the instance.
autoRenewPeriod This property is required. Number
The duration for which the instance is automatically renewed. Unit: months.
availabilityZone This property is required. String
It has been deprecated from provider version 1.101.0 and zone_id instead.
bandwidth This property is required. Number
Instance bandwidth limit. Unit: Mbit/s.
capacity This property is required. Number
Capacity of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. Unit: MB.
chargeType This property is required. String
It has been deprecated from provider version 1.101.0 and payment_type instead.
config This property is required. Map<String>
The parameter configuration of the instance.
connectionDomain This property is required. String
Instance connection domain (only Intranet access supported).
connectionMode This property is required. String
The connection mode of the instance.
connections This property is required. Number
IIt has been deprecated from provider version 1.101.0 and max_connections instead.
createTime This property is required. String
Creation time of the instance.
dbInstanceId This property is required. String
The ID of the instance.
dbInstanceName This property is required. String
The name of the instance.
destroyTime This property is required. String
The time when the instance was destroyed.
endTime This property is required. String
Expiration time. Pay-As-You-Go instances are never expire.
engineVersion This property is required. String
The engine version. Valid values: 2.8, 4.0, 5.0, 6.0, 7.0.
expireTime This property is required. String
It has been deprecated from provider version 1.101.0 and end_time instead.
hasRenewChangeOrder This property is required. Boolean
Indicates whether there was an order of renewal with configuration change that had not taken effect.
id This property is required. String
The ID of the instance.
instanceClass This property is required. String
Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see Instance type table.
instanceReleaseProtection This property is required. Boolean
Indicates whether the release protection feature is enabled for the instance.
instanceType This property is required. String
The engine type of the KVStore DBInstance. Options are Memcache, and Redis. If no value is specified, all types are returned.
isRds This property is required. Boolean
Indicates whether the instance is managed by Relational Database Service (RDS).
maintainEndTime This property is required. String
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maintainStartTime This property is required. String
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
maxConnections This property is required. Number
Instance connection quantity limit. Unit: count.
name This property is required. String
It has been deprecated from provider version 1.101.0 and db_instance_name instead.
networkType This property is required. String
The type of the network. Valid values: CLASSIC, VPC.
nodeType This property is required. String
The node type of the instance.
packageType This property is required. String
The type of the package.
paymentType This property is required. String
The payment type. Valid values: PostPaid, PrePaid.
port This property is required. Number
The service port of the instance.
privateIp This property is required. String
Private IP address of the instance.
qps This property is required. Number
The queries per second (QPS) supported by the instance.
regionId This property is required. String
Region ID the instance belongs to.
replacateId This property is required. String
The logical ID of the replica instance.
resourceGroupId This property is required. String
The ID of the resource group.
searchKey This property is required. String
The name of the instance.
secondaryZoneId This property is required. String
The ID of the secondary zone to which you want to migrate the Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.
securityGroupId This property is required. String
The ID of the security group associated with the instance.
securityIpGroupAttribute This property is required. String
By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is hidden
securityIpGroupName This property is required. String
The name of the IP address whitelist.
securityIps This property is required. List<String>
The IP addresses in the whitelist.
sslEnable This property is required. String
Indicates whether SSL encryption is enabled.
status This property is required. String
The status of the KVStore DBInstance. Valid values: Changing, CleaningUpExpiredData, Creating, Flushing, HASwitching, Inactive, MajorVersionUpgrading, Migrating, NetworkModifying, Normal, Rebooting, SSLModifying, Transforming, ZoneMigrating.
tags This property is required. Map<String>
Query the instance bound to the tag. The format of the incoming value is json string, including TagKey and TagValue. TagKey cannot be null, and TagValue can be empty. Format example {"key1":"value1"}.
userName This property is required. String
The username of the instance.
vpcAuthMode This property is required. String
Indicates whether password authentication is enabled. Valid values: Open, Close.
vpcCloudInstanceId This property is required. String
Connection port of the instance.
vpcId This property is required. String
Used to retrieve instances belong to specified VPC.
vswitchId This property is required. String
Used to retrieve instances belong to specified vswitch resources.
zoneId This property is required. String
The ID of the zone.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi