alicloud.kvstore.getInstances
Explore with Pulumi AI
The alicloud.kvstore.getInstances
data source provides a collection of kvstore instances available in Alicloud account.
Filters support regular expression for the instance name, searches by tags, and other filters which are listed below.
Example Usage
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)),
};
});
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
})
}
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());
}
}
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.kvstore.get_instances(name_regex="testname")
pulumi.export("firstInstanceName", default.instances[0].name)
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);
variables:
default:
fn::invoke:
Function: alicloud:kvstore:getInstances
Arguments:
nameRegex: testname
outputs:
firstInstanceName: ${default.instances[0].name}
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>
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, Any]] = 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, Any]]] = 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]
func GetInstances(ctx *Context, args *GetInstancesArgs, opts ...InvokeOption) (*GetInstancesResult, error)
func GetInstancesOutput(ctx *Context, args *GetInstancesOutputArgs, opts ...InvokeOption) GetInstancesResultOutput
> 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)
}
public static CompletableFuture<GetInstancesResult> getInstances(GetInstancesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:kvstore/getInstances:getInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Architecture
Type string The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- Edition
Type string 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 string The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- Expired string
The expiration status of the instance.
- Global
Instance bool Whether to create a distributed cache.
- Ids List<string>
A list of KVStore DBInstance IDs.
- Instance
Class string Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- Instance
Type string The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- Name
Regex string A regex string to apply to the instance name.
- Network
Type string The type of the network. Valid values:
CLASSIC
,VPC
.- Output
File string The name of file that can save the collection of instances after running
pulumi preview
.- Payment
Type string The payment type. Valid values:
PostPaid
,PrePaid
.- Resource
Group stringId The ID of the resource group.
- Search
Key string The name of the instance.
- Status string
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- Dictionary<string, object>
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- Vpc
Id string Used to retrieve instances belong to specified VPC.
- Vswitch
Id string Used to retrieve instances belong to specified
vswitch
resources.- Zone
Id string The ID of the zone.
- Architecture
Type string The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- Edition
Type string 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 string The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- Expired string
The expiration status of the instance.
- Global
Instance bool Whether to create a distributed cache.
- Ids []string
A list of KVStore DBInstance IDs.
- Instance
Class string Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- Instance
Type string The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- Name
Regex string A regex string to apply to the instance name.
- Network
Type string The type of the network. Valid values:
CLASSIC
,VPC
.- Output
File string The name of file that can save the collection of instances after running
pulumi preview
.- Payment
Type string The payment type. Valid values:
PostPaid
,PrePaid
.- Resource
Group stringId The ID of the resource group.
- Search
Key string The name of the instance.
- Status string
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- map[string]interface{}
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- Vpc
Id string Used to retrieve instances belong to specified VPC.
- Vswitch
Id string Used to retrieve instances belong to specified
vswitch
resources.- Zone
Id string The ID of the zone.
- architecture
Type String The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- edition
Type String Used to retrieve instances belong to specified
vswitch
resources. Valid values:Enterprise
,Community
.- enable
Details Boolean Default to
false
. Set it to true can output more details.- engine
Version String The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- expired String
The expiration status of the instance.
- global
Instance Boolean Whether to create a distributed cache.
- ids List<String>
A list of KVStore DBInstance IDs.
- instance
Class String Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- instance
Type String The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- name
Regex String A regex string to apply to the instance name.
- network
Type String The type of the network. Valid values:
CLASSIC
,VPC
.- output
File String The name of file that can save the collection of instances after running
pulumi preview
.- payment
Type String The payment type. Valid values:
PostPaid
,PrePaid
.- resource
Group StringId The ID of the resource group.
- search
Key String The name of the instance.
- status String
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- Map<String,Object>
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- vpc
Id String Used to retrieve instances belong to specified VPC.
- vswitch
Id String Used to retrieve instances belong to specified
vswitch
resources.- zone
Id String The ID of the zone.
- architecture
Type string The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- edition
Type string Used to retrieve instances belong to specified
vswitch
resources. Valid values:Enterprise
,Community
.- enable
Details boolean Default to
false
. Set it to true can output more details.- engine
Version string The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- expired string
The expiration status of the instance.
- global
Instance boolean Whether to create a distributed cache.
- ids string[]
A list of KVStore DBInstance IDs.
- instance
Class string Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- instance
Type string The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- name
Regex string A regex string to apply to the instance name.
- network
Type string The type of the network. Valid values:
CLASSIC
,VPC
.- output
File string The name of file that can save the collection of instances after running
pulumi preview
.- payment
Type string The payment type. Valid values:
PostPaid
,PrePaid
.- resource
Group stringId The ID of the resource group.
- search
Key string The name of the instance.
- status string
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- {[key: string]: any}
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- vpc
Id string Used to retrieve instances belong to specified VPC.
- vswitch
Id string Used to retrieve instances belong to specified
vswitch
resources.- zone
Id string The ID of the zone.
- architecture_
type str The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- edition_
type 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 str The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- expired str
The expiration status of the instance.
- global_
instance bool Whether to create a distributed cache.
- ids Sequence[str]
A list of KVStore DBInstance IDs.
- instance_
class str Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- instance_
type str The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- name_
regex str A regex string to apply to the instance name.
- network_
type 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 str The payment type. Valid values:
PostPaid
,PrePaid
.- resource_
group_ strid The ID of the resource group.
- search_
key str The name of the instance.
- status str
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- Mapping[str, Any]
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- vpc_
id str Used to retrieve instances belong to specified VPC.
- vswitch_
id str Used to retrieve instances belong to specified
vswitch
resources.- zone_
id str The ID of the zone.
- architecture
Type String The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- edition
Type String Used to retrieve instances belong to specified
vswitch
resources. Valid values:Enterprise
,Community
.- enable
Details Boolean Default to
false
. Set it to true can output more details.- engine
Version String The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- expired String
The expiration status of the instance.
- global
Instance Boolean Whether to create a distributed cache.
- ids List<String>
A list of KVStore DBInstance IDs.
- instance
Class String Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- instance
Type String The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- name
Regex String A regex string to apply to the instance name.
- network
Type String The type of the network. Valid values:
CLASSIC
,VPC
.- output
File String The name of file that can save the collection of instances after running
pulumi preview
.- payment
Type String The payment type. Valid values:
PostPaid
,PrePaid
.- resource
Group StringId The ID of the resource group.
- search
Key String The name of the instance.
- status String
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- Map<Any>
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- vpc
Id String Used to retrieve instances belong to specified VPC.
- vswitch
Id String Used to retrieve instances belong to specified
vswitch
resources.- zone
Id 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.
Ali Cloud. KVStore. Outputs. Get Instances Instance> A list of KVStore Instances. Its every element contains the following attributes:
- Names List<string>
A list of KVStore Instance names.
- Architecture
Type string - Edition
Type string - Enable
Details bool - Engine
Version string The engine version of the instance.
- Expired string
- Global
Instance bool - Instance
Class string (Optional) Type of the applied ApsaraDB for instance. For more information, see Instance type table.
- Instance
Type string (Optional) Database type. Valid Values:
Memcache
,Redis
. If no value is specified, all types are returned.- Name
Regex string - Network
Type string The network type of the instance.
- Output
File string - Payment
Type string Billing method. Valid Values:
PostPaid
for Pay-As-You-Go andPrePaid
for subscription.- Resource
Group stringId - Search
Key string - Status string
Status of the instance.
- Dictionary<string, object>
- Vpc
Id string VPC ID the instance belongs to.
- Vswitch
Id string VSwitch ID the instance belongs to.
- Zone
Id 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
[]Get
Instances Instance A list of KVStore Instances. Its every element contains the following attributes:
- Names []string
A list of KVStore Instance names.
- Architecture
Type string - Edition
Type string - Enable
Details bool - Engine
Version string The engine version of the instance.
- Expired string
- Global
Instance bool - Instance
Class string (Optional) Type of the applied ApsaraDB for instance. For more information, see Instance type table.
- Instance
Type string (Optional) Database type. Valid Values:
Memcache
,Redis
. If no value is specified, all types are returned.- Name
Regex string - Network
Type string The network type of the instance.
- Output
File string - Payment
Type string Billing method. Valid Values:
PostPaid
for Pay-As-You-Go andPrePaid
for subscription.- Resource
Group stringId - Search
Key string - Status string
Status of the instance.
- map[string]interface{}
- Vpc
Id string VPC ID the instance belongs to.
- Vswitch
Id string VSwitch ID the instance belongs to.
- Zone
Id 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<Get
Instances Instance> A list of KVStore Instances. Its every element contains the following attributes:
- names List<String>
A list of KVStore Instance names.
- architecture
Type String - edition
Type String - enable
Details Boolean - engine
Version String The engine version of the instance.
- expired String
- global
Instance Boolean - instance
Class String (Optional) Type of the applied ApsaraDB for instance. For more information, see Instance type table.
- instance
Type String (Optional) Database type. Valid Values:
Memcache
,Redis
. If no value is specified, all types are returned.- name
Regex String - network
Type String The network type of the instance.
- output
File String - payment
Type String Billing method. Valid Values:
PostPaid
for Pay-As-You-Go andPrePaid
for subscription.- resource
Group StringId - search
Key String - status String
Status of the instance.
- Map<String,Object>
- vpc
Id String VPC ID the instance belongs to.
- vswitch
Id String VSwitch ID the instance belongs to.
- zone
Id 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
Get
Instances Instance[] A list of KVStore Instances. Its every element contains the following attributes:
- names string[]
A list of KVStore Instance names.
- architecture
Type string - edition
Type string - enable
Details boolean - engine
Version string The engine version of the instance.
- expired string
- global
Instance boolean - instance
Class string (Optional) Type of the applied ApsaraDB for instance. For more information, see Instance type table.
- instance
Type string (Optional) Database type. Valid Values:
Memcache
,Redis
. If no value is specified, all types are returned.- name
Regex string - network
Type string The network type of the instance.
- output
File string - payment
Type string Billing method. Valid Values:
PostPaid
for Pay-As-You-Go andPrePaid
for subscription.- resource
Group stringId - search
Key string - status string
Status of the instance.
- {[key: string]: any}
- vpc
Id string VPC ID the instance belongs to.
- vswitch
Id string VSwitch ID the instance belongs to.
- zone
Id 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[Get
Instances Instance] A list of KVStore Instances. Its every element contains the following attributes:
- names Sequence[str]
A list of KVStore Instance names.
- architecture_
type str - edition_
type str - enable_
details bool - engine_
version str The engine version of the instance.
- expired str
- global_
instance bool - instance_
class str (Optional) Type of the applied ApsaraDB for instance. For more information, see Instance type table.
- instance_
type str (Optional) 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 andPrePaid
for subscription.- resource_
group_ strid - search_
key str - status str
Status of the instance.
- Mapping[str, Any]
- 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.
- architecture
Type String - edition
Type String - enable
Details Boolean - engine
Version String The engine version of the instance.
- expired String
- global
Instance Boolean - instance
Class String (Optional) Type of the applied ApsaraDB for instance. For more information, see Instance type table.
- instance
Type String (Optional) Database type. Valid Values:
Memcache
,Redis
. If no value is specified, all types are returned.- name
Regex String - network
Type String The network type of the instance.
- output
File String - payment
Type String Billing method. Valid Values:
PostPaid
for Pay-As-You-Go andPrePaid
for subscription.- resource
Group StringId - search
Key String - status String
Status of the instance.
- Map<Any>
- vpc
Id String VPC ID the instance belongs to.
- vswitch
Id String VSwitch ID the instance belongs to.
- zone
Id String The ID of zone.
Supporting Types
GetInstancesInstance
- Architecture
Type string The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- Auto
Renew bool - Auto
Renew intPeriod - Availability
Zone string It has been deprecated from provider version 1.101.0 and
zone_id
instead.- Bandwidth int
Instance bandwidth limit. Unit: Mbit/s.
- Capacity int
Capacity of the applied ApsaraDB for the instance. Unit: MB.
- Charge
Type string It has been deprecated from provider version 1.101.0 and
payment_type
instead.- Config Dictionary<string, object>
The parameter configuration of the instance.
- Connection
Domain string Instance connection domain (only Intranet access supported).
- Connection
Mode string The connection mode of the instance.
- Connections int
IIt has been deprecated from provider version 1.101.0 and
max_connections
instead.- Create
Time string Creation time of the instance.
- Db
Instance stringId The ID of the instance.
- Db
Instance stringName The name of the instance.
- Destroy
Time string The time when the instance was destroyed.
- End
Time string Expiration time. Pay-As-You-Go instances are never expire.
- Engine
Version string The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- Expire
Time string It has been deprecated from provider version 1.101.0 and
end_time
instead.- Has
Renew boolChange Order Indicates whether there was an order of renewal with configuration change that had not taken effect.
- Id string
The ID of the instance.
- Instance
Class string Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- Instance
Release boolProtection - Instance
Type string The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- Is
Rds bool Indicates whether the instance is managed by Relational Database Service (RDS).
- Maintain
End stringTime - Maintain
Start stringTime - Max
Connections int Instance connection quantity limit. Unit: count.
- Name string
It has been deprecated from provider version 1.101.0 and
db_instance_name
instead.- Network
Type string The type of the network. Valid values:
CLASSIC
,VPC
.- Node
Type string The node type of the instance.
- Package
Type string The type of the package.
- Payment
Type string The payment type. Valid values:
PostPaid
,PrePaid
.- Port int
The service port of the instance.
- Private
Ip string Private IP address of the instance.
- Qps int
The queries per second (QPS) supported by the instance.
- Region
Id string Region ID the instance belongs to.
- Replacate
Id string The logical ID of the replica instance.
- Resource
Group stringId The ID of the resource group.
- Search
Key string The name of the instance.
- Secondary
Zone stringId (Optional, Available in 1.128.0+) The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
- Security
Group stringId - Security
Ip stringGroup Attribute - Security
Ip stringGroup Name - Security
Ips List<string> - Ssl
Enable string - Status string
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- Dictionary<string, object>
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- User
Name string The username of the instance.
- Vpc
Auth stringMode - Vpc
Cloud stringInstance Id Connection port of the instance.
- Vpc
Id string Used to retrieve instances belong to specified VPC.
- Vswitch
Id string Used to retrieve instances belong to specified
vswitch
resources.- Zone
Id string The ID of the zone.
- Architecture
Type string The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- Auto
Renew bool - Auto
Renew intPeriod - Availability
Zone string It has been deprecated from provider version 1.101.0 and
zone_id
instead.- Bandwidth int
Instance bandwidth limit. Unit: Mbit/s.
- Capacity int
Capacity of the applied ApsaraDB for the instance. Unit: MB.
- Charge
Type string It has been deprecated from provider version 1.101.0 and
payment_type
instead.- Config map[string]interface{}
The parameter configuration of the instance.
- Connection
Domain string Instance connection domain (only Intranet access supported).
- Connection
Mode string The connection mode of the instance.
- Connections int
IIt has been deprecated from provider version 1.101.0 and
max_connections
instead.- Create
Time string Creation time of the instance.
- Db
Instance stringId The ID of the instance.
- Db
Instance stringName The name of the instance.
- Destroy
Time string The time when the instance was destroyed.
- End
Time string Expiration time. Pay-As-You-Go instances are never expire.
- Engine
Version string The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- Expire
Time string It has been deprecated from provider version 1.101.0 and
end_time
instead.- Has
Renew boolChange Order Indicates whether there was an order of renewal with configuration change that had not taken effect.
- Id string
The ID of the instance.
- Instance
Class string Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- Instance
Release boolProtection - Instance
Type string The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- Is
Rds bool Indicates whether the instance is managed by Relational Database Service (RDS).
- Maintain
End stringTime - Maintain
Start stringTime - Max
Connections int Instance connection quantity limit. Unit: count.
- Name string
It has been deprecated from provider version 1.101.0 and
db_instance_name
instead.- Network
Type string The type of the network. Valid values:
CLASSIC
,VPC
.- Node
Type string The node type of the instance.
- Package
Type string The type of the package.
- Payment
Type string The payment type. Valid values:
PostPaid
,PrePaid
.- Port int
The service port of the instance.
- Private
Ip string Private IP address of the instance.
- Qps int
The queries per second (QPS) supported by the instance.
- Region
Id string Region ID the instance belongs to.
- Replacate
Id string The logical ID of the replica instance.
- Resource
Group stringId The ID of the resource group.
- Search
Key string The name of the instance.
- Secondary
Zone stringId (Optional, Available in 1.128.0+) The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
- Security
Group stringId - Security
Ip stringGroup Attribute - Security
Ip stringGroup Name - Security
Ips []string - Ssl
Enable string - Status string
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- map[string]interface{}
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- User
Name string The username of the instance.
- Vpc
Auth stringMode - Vpc
Cloud stringInstance Id Connection port of the instance.
- Vpc
Id string Used to retrieve instances belong to specified VPC.
- Vswitch
Id string Used to retrieve instances belong to specified
vswitch
resources.- Zone
Id string The ID of the zone.
- architecture
Type String The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- auto
Renew Boolean - auto
Renew IntegerPeriod - availability
Zone String It has been deprecated from provider version 1.101.0 and
zone_id
instead.- bandwidth Integer
Instance bandwidth limit. Unit: Mbit/s.
- capacity Integer
Capacity of the applied ApsaraDB for the instance. Unit: MB.
- charge
Type String It has been deprecated from provider version 1.101.0 and
payment_type
instead.- config Map<String,Object>
The parameter configuration of the instance.
- connection
Domain String Instance connection domain (only Intranet access supported).
- connection
Mode String The connection mode of the instance.
- connections Integer
IIt has been deprecated from provider version 1.101.0 and
max_connections
instead.- create
Time String Creation time of the instance.
- db
Instance StringId The ID of the instance.
- db
Instance StringName The name of the instance.
- destroy
Time String The time when the instance was destroyed.
- end
Time String Expiration time. Pay-As-You-Go instances are never expire.
- engine
Version String The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- expire
Time String It has been deprecated from provider version 1.101.0 and
end_time
instead.- has
Renew BooleanChange Order Indicates whether there was an order of renewal with configuration change that had not taken effect.
- id String
The ID of the instance.
- instance
Class String Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- instance
Release BooleanProtection - instance
Type String The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- is
Rds Boolean Indicates whether the instance is managed by Relational Database Service (RDS).
- maintain
End StringTime - maintain
Start StringTime - max
Connections Integer Instance connection quantity limit. Unit: count.
- name String
It has been deprecated from provider version 1.101.0 and
db_instance_name
instead.- network
Type String The type of the network. Valid values:
CLASSIC
,VPC
.- node
Type String The node type of the instance.
- package
Type String The type of the package.
- payment
Type String The payment type. Valid values:
PostPaid
,PrePaid
.- port Integer
The service port of the instance.
- private
Ip String Private IP address of the instance.
- qps Integer
The queries per second (QPS) supported by the instance.
- region
Id String Region ID the instance belongs to.
- replacate
Id String The logical ID of the replica instance.
- resource
Group StringId The ID of the resource group.
- search
Key String The name of the instance.
- secondary
Zone StringId (Optional, Available in 1.128.0+) The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
- security
Group StringId - security
Ip StringGroup Attribute - security
Ip StringGroup Name - security
Ips List<String> - ssl
Enable String - status String
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- Map<String,Object>
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- user
Name String The username of the instance.
- vpc
Auth StringMode - vpc
Cloud StringInstance Id Connection port of the instance.
- vpc
Id String Used to retrieve instances belong to specified VPC.
- vswitch
Id String Used to retrieve instances belong to specified
vswitch
resources.- zone
Id String The ID of the zone.
- architecture
Type string The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- auto
Renew boolean - auto
Renew numberPeriod - availability
Zone string It has been deprecated from provider version 1.101.0 and
zone_id
instead.- bandwidth number
Instance bandwidth limit. Unit: Mbit/s.
- capacity number
Capacity of the applied ApsaraDB for the instance. Unit: MB.
- charge
Type string It has been deprecated from provider version 1.101.0 and
payment_type
instead.- config {[key: string]: any}
The parameter configuration of the instance.
- connection
Domain string Instance connection domain (only Intranet access supported).
- connection
Mode string The connection mode of the instance.
- connections number
IIt has been deprecated from provider version 1.101.0 and
max_connections
instead.- create
Time string Creation time of the instance.
- db
Instance stringId The ID of the instance.
- db
Instance stringName The name of the instance.
- destroy
Time string The time when the instance was destroyed.
- end
Time string Expiration time. Pay-As-You-Go instances are never expire.
- engine
Version string The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- expire
Time string It has been deprecated from provider version 1.101.0 and
end_time
instead.- has
Renew booleanChange Order Indicates whether there was an order of renewal with configuration change that had not taken effect.
- id string
The ID of the instance.
- instance
Class string Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- instance
Release booleanProtection - instance
Type string The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- is
Rds boolean Indicates whether the instance is managed by Relational Database Service (RDS).
- maintain
End stringTime - maintain
Start stringTime - max
Connections number Instance connection quantity limit. Unit: count.
- name string
It has been deprecated from provider version 1.101.0 and
db_instance_name
instead.- network
Type string The type of the network. Valid values:
CLASSIC
,VPC
.- node
Type string The node type of the instance.
- package
Type string The type of the package.
- payment
Type string The payment type. Valid values:
PostPaid
,PrePaid
.- port number
The service port of the instance.
- private
Ip string Private IP address of the instance.
- qps number
The queries per second (QPS) supported by the instance.
- region
Id string Region ID the instance belongs to.
- replacate
Id string The logical ID of the replica instance.
- resource
Group stringId The ID of the resource group.
- search
Key string The name of the instance.
- secondary
Zone stringId (Optional, Available in 1.128.0+) The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
- security
Group stringId - security
Ip stringGroup Attribute - security
Ip stringGroup Name - security
Ips string[] - ssl
Enable string - status string
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- {[key: string]: any}
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- user
Name string The username of the instance.
- vpc
Auth stringMode - vpc
Cloud stringInstance Id Connection port of the instance.
- vpc
Id string Used to retrieve instances belong to specified VPC.
- vswitch
Id string Used to retrieve instances belong to specified
vswitch
resources.- zone
Id string The ID of the zone.
- architecture_
type str The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- auto_
renew bool - auto_
renew_ intperiod - availability_
zone str It has been deprecated from provider version 1.101.0 and
zone_id
instead.- bandwidth int
Instance bandwidth limit. Unit: Mbit/s.
- capacity int
Capacity of the applied ApsaraDB for the instance. Unit: MB.
- charge_
type str It has been deprecated from provider version 1.101.0 and
payment_type
instead.- config Mapping[str, Any]
The parameter configuration of the instance.
- connection_
domain str Instance connection domain (only Intranet access supported).
- connection_
mode str The connection mode of the instance.
- connections int
IIt has been deprecated from provider version 1.101.0 and
max_connections
instead.- create_
time str Creation time of the instance.
- db_
instance_ strid The ID of the instance.
- db_
instance_ strname The name of the instance.
- destroy_
time str The time when the instance was destroyed.
- end_
time str Expiration time. Pay-As-You-Go instances are never expire.
- engine_
version str The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- expire_
time str It has been deprecated from provider version 1.101.0 and
end_time
instead.- has_
renew_ boolchange_ order Indicates whether there was an order of renewal with configuration change that had not taken effect.
- id str
The ID of the instance.
- instance_
class str Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- instance_
release_ boolprotection - instance_
type str The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- is_
rds bool Indicates whether the instance is managed by Relational Database Service (RDS).
- maintain_
end_ strtime - maintain_
start_ strtime - max_
connections int Instance connection quantity limit. Unit: count.
- name str
It has been deprecated from provider version 1.101.0 and
db_instance_name
instead.- network_
type str The type of the network. Valid values:
CLASSIC
,VPC
.- node_
type str The node type of the instance.
- package_
type str The type of the package.
- payment_
type str The payment type. Valid values:
PostPaid
,PrePaid
.- port int
The service port of the instance.
- private_
ip str Private IP address of the instance.
- qps int
The queries per second (QPS) supported by the instance.
- region_
id str Region ID the instance belongs to.
- replacate_
id str The logical ID of the replica instance.
- resource_
group_ strid The ID of the resource group.
- search_
key str The name of the instance.
- secondary_
zone_ strid (Optional, Available in 1.128.0+) The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
- security_
group_ strid - security_
ip_ strgroup_ attribute - security_
ip_ strgroup_ name - security_
ips Sequence[str] - ssl_
enable str - status str
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- Mapping[str, Any]
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- user_
name str The username of the instance.
- vpc_
auth_ strmode - vpc_
cloud_ strinstance_ id Connection port of the instance.
- vpc_
id str Used to retrieve instances belong to specified VPC.
- vswitch_
id str Used to retrieve instances belong to specified
vswitch
resources.- zone_
id str The ID of the zone.
- architecture
Type String The type of the architecture. Valid values:
cluster
,standard
andSplitRW
.- auto
Renew Boolean - auto
Renew NumberPeriod - availability
Zone String It has been deprecated from provider version 1.101.0 and
zone_id
instead.- bandwidth Number
Instance bandwidth limit. Unit: Mbit/s.
- capacity Number
Capacity of the applied ApsaraDB for the instance. Unit: MB.
- charge
Type String It has been deprecated from provider version 1.101.0 and
payment_type
instead.- config Map<Any>
The parameter configuration of the instance.
- connection
Domain String Instance connection domain (only Intranet access supported).
- connection
Mode String The connection mode of the instance.
- connections Number
IIt has been deprecated from provider version 1.101.0 and
max_connections
instead.- create
Time String Creation time of the instance.
- db
Instance StringId The ID of the instance.
- db
Instance StringName The name of the instance.
- destroy
Time String The time when the instance was destroyed.
- end
Time String Expiration time. Pay-As-You-Go instances are never expire.
- engine
Version String The engine version. Valid values:
2.8
,4.0
,5.0
,6.0
,7.0
.- expire
Time String It has been deprecated from provider version 1.101.0 and
end_time
instead.- has
Renew BooleanChange Order Indicates whether there was an order of renewal with configuration change that had not taken effect.
- id String
The ID of the instance.
- instance
Class String Type of the applied ApsaraDB for Redis instance. For more information, see Instance type table.
- instance
Release BooleanProtection - instance
Type String The engine type of the KVStore DBInstance. Options are
Memcache
, andRedis
. If no value is specified, all types are returned.- is
Rds Boolean Indicates whether the instance is managed by Relational Database Service (RDS).
- maintain
End StringTime - maintain
Start StringTime - max
Connections Number Instance connection quantity limit. Unit: count.
- name String
It has been deprecated from provider version 1.101.0 and
db_instance_name
instead.- network
Type String The type of the network. Valid values:
CLASSIC
,VPC
.- node
Type String The node type of the instance.
- package
Type String The type of the package.
- payment
Type String The payment type. Valid values:
PostPaid
,PrePaid
.- port Number
The service port of the instance.
- private
Ip String Private IP address of the instance.
- qps Number
The queries per second (QPS) supported by the instance.
- region
Id String Region ID the instance belongs to.
- replacate
Id String The logical ID of the replica instance.
- resource
Group StringId The ID of the resource group.
- search
Key String The name of the instance.
- secondary
Zone StringId (Optional, Available in 1.128.0+) The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
- security
Group StringId - security
Ip StringGroup Attribute - security
Ip StringGroup Name - security
Ips List<String> - ssl
Enable String - status String
The status of the KVStore DBInstance. Valid values:
Changing
,CleaningUpExpiredData
,Creating
,Flushing
,HASwitching
,Inactive
,MajorVersionUpgrading
,Migrating
,NetworkModifying
,Normal
,Rebooting
,SSLModifying
,Transforming
,ZoneMigrating
.- Map<Any>
Query the instance bound to the tag. The format of the incoming value is
json
string, includingTagKey
andTagValue
.TagKey
cannot be null, andTagValue
can be empty. Format example{"key1":"value1"}
.- user
Name String The username of the instance.
- vpc
Auth StringMode - vpc
Cloud StringInstance Id Connection port of the instance.
- vpc
Id String Used to retrieve instances belong to specified VPC.
- vswitch
Id String Used to retrieve instances belong to specified
vswitch
resources.- zone
Id 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.