Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Data Source schema for Volcengine::Redis::Instance
Using getInstance
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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>def get_instance(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput> Note: This function is named LookupInstance in the Go SDK.
public static class GetInstance
{
public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:redis/getInstance:getInstance
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getInstance Result
The following output properties are available:
- Allow
List List<string>Ids - Allowlist ID list. If left empty, the new instance will not be added to any allowlist by default. You can call the DescribeAllowLists API to query all IP allowlist information, including allowlist IDs, for the specified region under your account. Each instance supports binding up to 100 allowlists, and you can batch bind up to 100 allowlists at a time. Each instance supports binding up to 1000 IP addresses or CIDR-format IP address ranges.
- Auto
Renew bool - Whether to enable auto-renewal. Value options: false (default): Disabled; true: Enabled.
- Backup
Point stringName - Set a backup name for the full backup created before changes.
- Blue
Green stringRole - Blue-green deployment role of the instance. Valid values: Blue: blue instance. Green: green instance. This parameter is returned only for Redis instances that have used the blue-green deployment feature.
- Capacity
Volcengine.
Get Instance Capacity - Capacity information of the instance.
- Charge
Type string - Instance billing type. Value options: PrePaid: Subscription (also called prepaid). PostPaid: Pay-as-you-go (also called postpaid).
- Configure
Nodes List<Volcengine.Get Instance Configure Node> - Set the list of availability zones to which the node belongs.
- Create
Backup bool - Whether to create a backup before making changes.
- Create
Time string - Creation time of the instance.
- Data
Layout string - Data storage type of the instance. This parameter is only relevant for Enterprise Edition instances (ServiceType=Enterprise). Community Edition instances (ServiceType=Basic) do not involve data storage type, and DataLayout is always set to RAM. If this parameter is left empty, data storage type is not used as a filter.
- Deletion
Protection string - Enable or disable instance deletion protection.
- Engine
Version string - Database version number.
- Expired
Time string - Instance expiration time.
- Id string
- Uniquely identifies the resource.
- Instance
Class string - Type of Redis instance. Valid values: PrimarySecondary: primary-secondary instance; Standalone: single-node instance. If this parameter is left empty, instance type is not used as a filter. For more information about instance types, see Product Architecture.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name. Naming rules: Cannot start with a digit or hyphen (-); can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-); length must be 1–128 characters.
- Instance
Shards List<Volcengine.Get Instance Instance Shard> - Detailed list of all shards in the instance.
- Maintenance
Time string - Maintenance window for the instance, format: HH:mm-HH:mm (UTC+8).
- Max
Connections int - Current maximum connections per shard for the instance. The default connection limit per shard is 10,000. You can also call the ModifyDBInstanceMaxConn API to adjust the maximum connections per shard based on your business needs.
- Multi
Az string - Set the deployment scheme for the instance's availability zone.
- No
Auth stringMode - Enable or disable password-free access for new instances. Valid values: open: enable password-free access; close (default): disable password-free access.
- Node
Ids List<string> - List of Proxy and Server node IDs.
- Node
Number int - Number of nodes in each shard. Value range: 1–6. By default, each account can create up to 4 nodes of 256 MiB specification per region. To increase the quota limit to 10, see Account Quotas. A value of 1 creates a single-node instance; a value greater than 1 creates a primary-secondary instance. For details on the differences between these two types of instances, see Feature Differences.
- Parameter
Group stringId - The parameter template to be applied to the new instance. Redis for Cache Database creates a default system parameter template for each database version, which includes all parameters supported by that version and their default values. If this parameter is left blank, the system will select and apply the corresponding version's system parameter template for the new instance based on the database version you set (i.e., EngineVersion). You can call the DescribeParameterGroups API to query basic information about all parameter templates under your account and region, including the parameter template ID.
- Password string
- Set the password for the default account of the default database.
- Port int
- Custom port number for the private network connection address. Value range: 1024~65535. If this parameter is left blank, the private network connection address uses port 6379 by default. After the instance is created, you can also modify the port number of the private network address. For instructions, see Modify Port Number.
- Private
Address string - The domain name for the instance's private network connection address.
- Private
Port string - Port number for the instance's private network connection address.
- Project
Name string - Project to which the instance belongs.
- Purchase
Months int - Purchase duration, unit: month. Value options: Monthly purchase: 1, 2, 3, 4, 5, 6, 7, 8, 9. Annual purchase: 12, 24, 36. When ChargeType is PrePaid, this parameter is required.
- Reserve
Additional boolBandwidth - Set whether to reserve additional bandwidth
- Service
Type string - Service type of the instance
- int
- Memory capacity of each shard in the instance. Unit: MiB.
- int
- Number of shards in the instance. Value range: 2–256. Specify this parameter only when ShardedCluster is set to 1 (enabled).
- int
- Whether to enable sharded cluster. Value options: 0: Disabled. 1: Enabled.
- Status string
- Service type of the instance. Value options: Basic (default): Community Edition; Enterprise: Enterprise Edition.
- Subnet
Id string - Set the subnet ID for the instance. Subnets have availability zone attributes; you must select a subnet in the target private network that belongs to the same availability zone as the instance. A subnet is an IP address block within a private network. All cloud resources in the private network must be deployed in a subnet. The subnet assigns private IP addresses to cloud resources. You can call the CreateSubnet API to create a subnet. You can call the DescribeSubnets API to query the list of all subnets in a specified availability zone, including subnet IDs.
-
List<Volcengine.
Get Instance Tag> - Set the tag list for the instance.
- Vi
Pv6 string - The IPv6 address corresponding to the instance's private network connection address. This parameter is returned only if the instance uses an IPv6 address.
- Vip string
- IPv4 address corresponding to the instance's private network connection address.
- Visit
Addrs List<Volcengine.Get Instance Visit Addr> - Connection address information.
- Vpc
Auth stringMode - Enable or disable password-free access. Valid values: open: enable password-free access; close: disable password-free access. Values are case-insensitive.
- Vpc
Id string - Set the private network ID for the instance. It is recommended that the Redis instance and the ECS instance you want to connect to are in the same private network; otherwise, they cannot communicate optimally via the internal network. You can call the CreateVpc API to create a private network. You can call the DescribeVpcs API to query private network information that meets specified conditions, including the private network ID.
- Zone
Ids List<string> - List of available zones where the instance is located.
- Allow
List []stringIds - Allowlist ID list. If left empty, the new instance will not be added to any allowlist by default. You can call the DescribeAllowLists API to query all IP allowlist information, including allowlist IDs, for the specified region under your account. Each instance supports binding up to 100 allowlists, and you can batch bind up to 100 allowlists at a time. Each instance supports binding up to 1000 IP addresses or CIDR-format IP address ranges.
- Auto
Renew bool - Whether to enable auto-renewal. Value options: false (default): Disabled; true: Enabled.
- Backup
Point stringName - Set a backup name for the full backup created before changes.
- Blue
Green stringRole - Blue-green deployment role of the instance. Valid values: Blue: blue instance. Green: green instance. This parameter is returned only for Redis instances that have used the blue-green deployment feature.
- Capacity
Get
Instance Capacity - Capacity information of the instance.
- Charge
Type string - Instance billing type. Value options: PrePaid: Subscription (also called prepaid). PostPaid: Pay-as-you-go (also called postpaid).
- Configure
Nodes []GetInstance Configure Node - Set the list of availability zones to which the node belongs.
- Create
Backup bool - Whether to create a backup before making changes.
- Create
Time string - Creation time of the instance.
- Data
Layout string - Data storage type of the instance. This parameter is only relevant for Enterprise Edition instances (ServiceType=Enterprise). Community Edition instances (ServiceType=Basic) do not involve data storage type, and DataLayout is always set to RAM. If this parameter is left empty, data storage type is not used as a filter.
- Deletion
Protection string - Enable or disable instance deletion protection.
- Engine
Version string - Database version number.
- Expired
Time string - Instance expiration time.
- Id string
- Uniquely identifies the resource.
- Instance
Class string - Type of Redis instance. Valid values: PrimarySecondary: primary-secondary instance; Standalone: single-node instance. If this parameter is left empty, instance type is not used as a filter. For more information about instance types, see Product Architecture.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name. Naming rules: Cannot start with a digit or hyphen (-); can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-); length must be 1–128 characters.
- Instance
Shards []GetInstance Instance Shard - Detailed list of all shards in the instance.
- Maintenance
Time string - Maintenance window for the instance, format: HH:mm-HH:mm (UTC+8).
- Max
Connections int - Current maximum connections per shard for the instance. The default connection limit per shard is 10,000. You can also call the ModifyDBInstanceMaxConn API to adjust the maximum connections per shard based on your business needs.
- Multi
Az string - Set the deployment scheme for the instance's availability zone.
- No
Auth stringMode - Enable or disable password-free access for new instances. Valid values: open: enable password-free access; close (default): disable password-free access.
- Node
Ids []string - List of Proxy and Server node IDs.
- Node
Number int - Number of nodes in each shard. Value range: 1–6. By default, each account can create up to 4 nodes of 256 MiB specification per region. To increase the quota limit to 10, see Account Quotas. A value of 1 creates a single-node instance; a value greater than 1 creates a primary-secondary instance. For details on the differences between these two types of instances, see Feature Differences.
- Parameter
Group stringId - The parameter template to be applied to the new instance. Redis for Cache Database creates a default system parameter template for each database version, which includes all parameters supported by that version and their default values. If this parameter is left blank, the system will select and apply the corresponding version's system parameter template for the new instance based on the database version you set (i.e., EngineVersion). You can call the DescribeParameterGroups API to query basic information about all parameter templates under your account and region, including the parameter template ID.
- Password string
- Set the password for the default account of the default database.
- Port int
- Custom port number for the private network connection address. Value range: 1024~65535. If this parameter is left blank, the private network connection address uses port 6379 by default. After the instance is created, you can also modify the port number of the private network address. For instructions, see Modify Port Number.
- Private
Address string - The domain name for the instance's private network connection address.
- Private
Port string - Port number for the instance's private network connection address.
- Project
Name string - Project to which the instance belongs.
- Purchase
Months int - Purchase duration, unit: month. Value options: Monthly purchase: 1, 2, 3, 4, 5, 6, 7, 8, 9. Annual purchase: 12, 24, 36. When ChargeType is PrePaid, this parameter is required.
- Reserve
Additional boolBandwidth - Set whether to reserve additional bandwidth
- Service
Type string - Service type of the instance
- int
- Memory capacity of each shard in the instance. Unit: MiB.
- int
- Number of shards in the instance. Value range: 2–256. Specify this parameter only when ShardedCluster is set to 1 (enabled).
- int
- Whether to enable sharded cluster. Value options: 0: Disabled. 1: Enabled.
- Status string
- Service type of the instance. Value options: Basic (default): Community Edition; Enterprise: Enterprise Edition.
- Subnet
Id string - Set the subnet ID for the instance. Subnets have availability zone attributes; you must select a subnet in the target private network that belongs to the same availability zone as the instance. A subnet is an IP address block within a private network. All cloud resources in the private network must be deployed in a subnet. The subnet assigns private IP addresses to cloud resources. You can call the CreateSubnet API to create a subnet. You can call the DescribeSubnets API to query the list of all subnets in a specified availability zone, including subnet IDs.
-
[]Get
Instance Tag - Set the tag list for the instance.
- Vi
Pv6 string - The IPv6 address corresponding to the instance's private network connection address. This parameter is returned only if the instance uses an IPv6 address.
- Vip string
- IPv4 address corresponding to the instance's private network connection address.
- Visit
Addrs []GetInstance Visit Addr - Connection address information.
- Vpc
Auth stringMode - Enable or disable password-free access. Valid values: open: enable password-free access; close: disable password-free access. Values are case-insensitive.
- Vpc
Id string - Set the private network ID for the instance. It is recommended that the Redis instance and the ECS instance you want to connect to are in the same private network; otherwise, they cannot communicate optimally via the internal network. You can call the CreateVpc API to create a private network. You can call the DescribeVpcs API to query private network information that meets specified conditions, including the private network ID.
- Zone
Ids []string - List of available zones where the instance is located.
- allow
List List<String>Ids - Allowlist ID list. If left empty, the new instance will not be added to any allowlist by default. You can call the DescribeAllowLists API to query all IP allowlist information, including allowlist IDs, for the specified region under your account. Each instance supports binding up to 100 allowlists, and you can batch bind up to 100 allowlists at a time. Each instance supports binding up to 1000 IP addresses or CIDR-format IP address ranges.
- auto
Renew Boolean - Whether to enable auto-renewal. Value options: false (default): Disabled; true: Enabled.
- backup
Point StringName - Set a backup name for the full backup created before changes.
- blue
Green StringRole - Blue-green deployment role of the instance. Valid values: Blue: blue instance. Green: green instance. This parameter is returned only for Redis instances that have used the blue-green deployment feature.
- capacity
Get
Instance Capacity - Capacity information of the instance.
- charge
Type String - Instance billing type. Value options: PrePaid: Subscription (also called prepaid). PostPaid: Pay-as-you-go (also called postpaid).
- configure
Nodes List<GetInstance Configure Node> - Set the list of availability zones to which the node belongs.
- create
Backup Boolean - Whether to create a backup before making changes.
- create
Time String - Creation time of the instance.
- data
Layout String - Data storage type of the instance. This parameter is only relevant for Enterprise Edition instances (ServiceType=Enterprise). Community Edition instances (ServiceType=Basic) do not involve data storage type, and DataLayout is always set to RAM. If this parameter is left empty, data storage type is not used as a filter.
- deletion
Protection String - Enable or disable instance deletion protection.
- engine
Version String - Database version number.
- expired
Time String - Instance expiration time.
- id String
- Uniquely identifies the resource.
- instance
Class String - Type of Redis instance. Valid values: PrimarySecondary: primary-secondary instance; Standalone: single-node instance. If this parameter is left empty, instance type is not used as a filter. For more information about instance types, see Product Architecture.
- instance
Id String - Instance ID.
- instance
Name String - Instance name. Naming rules: Cannot start with a digit or hyphen (-); can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-); length must be 1–128 characters.
- instance
Shards List<GetInstance Instance Shard> - Detailed list of all shards in the instance.
- maintenance
Time String - Maintenance window for the instance, format: HH:mm-HH:mm (UTC+8).
- max
Connections Integer - Current maximum connections per shard for the instance. The default connection limit per shard is 10,000. You can also call the ModifyDBInstanceMaxConn API to adjust the maximum connections per shard based on your business needs.
- multi
Az String - Set the deployment scheme for the instance's availability zone.
- no
Auth StringMode - Enable or disable password-free access for new instances. Valid values: open: enable password-free access; close (default): disable password-free access.
- node
Ids List<String> - List of Proxy and Server node IDs.
- node
Number Integer - Number of nodes in each shard. Value range: 1–6. By default, each account can create up to 4 nodes of 256 MiB specification per region. To increase the quota limit to 10, see Account Quotas. A value of 1 creates a single-node instance; a value greater than 1 creates a primary-secondary instance. For details on the differences between these two types of instances, see Feature Differences.
- parameter
Group StringId - The parameter template to be applied to the new instance. Redis for Cache Database creates a default system parameter template for each database version, which includes all parameters supported by that version and their default values. If this parameter is left blank, the system will select and apply the corresponding version's system parameter template for the new instance based on the database version you set (i.e., EngineVersion). You can call the DescribeParameterGroups API to query basic information about all parameter templates under your account and region, including the parameter template ID.
- password String
- Set the password for the default account of the default database.
- port Integer
- Custom port number for the private network connection address. Value range: 1024~65535. If this parameter is left blank, the private network connection address uses port 6379 by default. After the instance is created, you can also modify the port number of the private network address. For instructions, see Modify Port Number.
- private
Address String - The domain name for the instance's private network connection address.
- private
Port String - Port number for the instance's private network connection address.
- project
Name String - Project to which the instance belongs.
- purchase
Months Integer - Purchase duration, unit: month. Value options: Monthly purchase: 1, 2, 3, 4, 5, 6, 7, 8, 9. Annual purchase: 12, 24, 36. When ChargeType is PrePaid, this parameter is required.
- reserve
Additional BooleanBandwidth - Set whether to reserve additional bandwidth
- service
Type String - Service type of the instance
- Integer
- Memory capacity of each shard in the instance. Unit: MiB.
- Integer
- Number of shards in the instance. Value range: 2–256. Specify this parameter only when ShardedCluster is set to 1 (enabled).
- Integer
- Whether to enable sharded cluster. Value options: 0: Disabled. 1: Enabled.
- status String
- Service type of the instance. Value options: Basic (default): Community Edition; Enterprise: Enterprise Edition.
- subnet
Id String - Set the subnet ID for the instance. Subnets have availability zone attributes; you must select a subnet in the target private network that belongs to the same availability zone as the instance. A subnet is an IP address block within a private network. All cloud resources in the private network must be deployed in a subnet. The subnet assigns private IP addresses to cloud resources. You can call the CreateSubnet API to create a subnet. You can call the DescribeSubnets API to query the list of all subnets in a specified availability zone, including subnet IDs.
-
List<Get
Instance Tag> - Set the tag list for the instance.
- vi
Pv6 String - The IPv6 address corresponding to the instance's private network connection address. This parameter is returned only if the instance uses an IPv6 address.
- vip String
- IPv4 address corresponding to the instance's private network connection address.
- visit
Addrs List<GetInstance Visit Addr> - Connection address information.
- vpc
Auth StringMode - Enable or disable password-free access. Valid values: open: enable password-free access; close: disable password-free access. Values are case-insensitive.
- vpc
Id String - Set the private network ID for the instance. It is recommended that the Redis instance and the ECS instance you want to connect to are in the same private network; otherwise, they cannot communicate optimally via the internal network. You can call the CreateVpc API to create a private network. You can call the DescribeVpcs API to query private network information that meets specified conditions, including the private network ID.
- zone
Ids List<String> - List of available zones where the instance is located.
- allow
List string[]Ids - Allowlist ID list. If left empty, the new instance will not be added to any allowlist by default. You can call the DescribeAllowLists API to query all IP allowlist information, including allowlist IDs, for the specified region under your account. Each instance supports binding up to 100 allowlists, and you can batch bind up to 100 allowlists at a time. Each instance supports binding up to 1000 IP addresses or CIDR-format IP address ranges.
- auto
Renew boolean - Whether to enable auto-renewal. Value options: false (default): Disabled; true: Enabled.
- backup
Point stringName - Set a backup name for the full backup created before changes.
- blue
Green stringRole - Blue-green deployment role of the instance. Valid values: Blue: blue instance. Green: green instance. This parameter is returned only for Redis instances that have used the blue-green deployment feature.
- capacity
Get
Instance Capacity - Capacity information of the instance.
- charge
Type string - Instance billing type. Value options: PrePaid: Subscription (also called prepaid). PostPaid: Pay-as-you-go (also called postpaid).
- configure
Nodes GetInstance Configure Node[] - Set the list of availability zones to which the node belongs.
- create
Backup boolean - Whether to create a backup before making changes.
- create
Time string - Creation time of the instance.
- data
Layout string - Data storage type of the instance. This parameter is only relevant for Enterprise Edition instances (ServiceType=Enterprise). Community Edition instances (ServiceType=Basic) do not involve data storage type, and DataLayout is always set to RAM. If this parameter is left empty, data storage type is not used as a filter.
- deletion
Protection string - Enable or disable instance deletion protection.
- engine
Version string - Database version number.
- expired
Time string - Instance expiration time.
- id string
- Uniquely identifies the resource.
- instance
Class string - Type of Redis instance. Valid values: PrimarySecondary: primary-secondary instance; Standalone: single-node instance. If this parameter is left empty, instance type is not used as a filter. For more information about instance types, see Product Architecture.
- instance
Id string - Instance ID.
- instance
Name string - Instance name. Naming rules: Cannot start with a digit or hyphen (-); can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-); length must be 1–128 characters.
- instance
Shards GetInstance Instance Shard[] - Detailed list of all shards in the instance.
- maintenance
Time string - Maintenance window for the instance, format: HH:mm-HH:mm (UTC+8).
- max
Connections number - Current maximum connections per shard for the instance. The default connection limit per shard is 10,000. You can also call the ModifyDBInstanceMaxConn API to adjust the maximum connections per shard based on your business needs.
- multi
Az string - Set the deployment scheme for the instance's availability zone.
- no
Auth stringMode - Enable or disable password-free access for new instances. Valid values: open: enable password-free access; close (default): disable password-free access.
- node
Ids string[] - List of Proxy and Server node IDs.
- node
Number number - Number of nodes in each shard. Value range: 1–6. By default, each account can create up to 4 nodes of 256 MiB specification per region. To increase the quota limit to 10, see Account Quotas. A value of 1 creates a single-node instance; a value greater than 1 creates a primary-secondary instance. For details on the differences between these two types of instances, see Feature Differences.
- parameter
Group stringId - The parameter template to be applied to the new instance. Redis for Cache Database creates a default system parameter template for each database version, which includes all parameters supported by that version and their default values. If this parameter is left blank, the system will select and apply the corresponding version's system parameter template for the new instance based on the database version you set (i.e., EngineVersion). You can call the DescribeParameterGroups API to query basic information about all parameter templates under your account and region, including the parameter template ID.
- password string
- Set the password for the default account of the default database.
- port number
- Custom port number for the private network connection address. Value range: 1024~65535. If this parameter is left blank, the private network connection address uses port 6379 by default. After the instance is created, you can also modify the port number of the private network address. For instructions, see Modify Port Number.
- private
Address string - The domain name for the instance's private network connection address.
- private
Port string - Port number for the instance's private network connection address.
- project
Name string - Project to which the instance belongs.
- purchase
Months number - Purchase duration, unit: month. Value options: Monthly purchase: 1, 2, 3, 4, 5, 6, 7, 8, 9. Annual purchase: 12, 24, 36. When ChargeType is PrePaid, this parameter is required.
- reserve
Additional booleanBandwidth - Set whether to reserve additional bandwidth
- service
Type string - Service type of the instance
- number
- Memory capacity of each shard in the instance. Unit: MiB.
- number
- Number of shards in the instance. Value range: 2–256. Specify this parameter only when ShardedCluster is set to 1 (enabled).
- number
- Whether to enable sharded cluster. Value options: 0: Disabled. 1: Enabled.
- status string
- Service type of the instance. Value options: Basic (default): Community Edition; Enterprise: Enterprise Edition.
- subnet
Id string - Set the subnet ID for the instance. Subnets have availability zone attributes; you must select a subnet in the target private network that belongs to the same availability zone as the instance. A subnet is an IP address block within a private network. All cloud resources in the private network must be deployed in a subnet. The subnet assigns private IP addresses to cloud resources. You can call the CreateSubnet API to create a subnet. You can call the DescribeSubnets API to query the list of all subnets in a specified availability zone, including subnet IDs.
-
Get
Instance Tag[] - Set the tag list for the instance.
- vi
Pv6 string - The IPv6 address corresponding to the instance's private network connection address. This parameter is returned only if the instance uses an IPv6 address.
- vip string
- IPv4 address corresponding to the instance's private network connection address.
- visit
Addrs GetInstance Visit Addr[] - Connection address information.
- vpc
Auth stringMode - Enable or disable password-free access. Valid values: open: enable password-free access; close: disable password-free access. Values are case-insensitive.
- vpc
Id string - Set the private network ID for the instance. It is recommended that the Redis instance and the ECS instance you want to connect to are in the same private network; otherwise, they cannot communicate optimally via the internal network. You can call the CreateVpc API to create a private network. You can call the DescribeVpcs API to query private network information that meets specified conditions, including the private network ID.
- zone
Ids string[] - List of available zones where the instance is located.
- allow_
list_ Sequence[str]ids - Allowlist ID list. If left empty, the new instance will not be added to any allowlist by default. You can call the DescribeAllowLists API to query all IP allowlist information, including allowlist IDs, for the specified region under your account. Each instance supports binding up to 100 allowlists, and you can batch bind up to 100 allowlists at a time. Each instance supports binding up to 1000 IP addresses or CIDR-format IP address ranges.
- auto_
renew bool - Whether to enable auto-renewal. Value options: false (default): Disabled; true: Enabled.
- backup_
point_ strname - Set a backup name for the full backup created before changes.
- blue_
green_ strrole - Blue-green deployment role of the instance. Valid values: Blue: blue instance. Green: green instance. This parameter is returned only for Redis instances that have used the blue-green deployment feature.
- capacity
Get
Instance Capacity - Capacity information of the instance.
- charge_
type str - Instance billing type. Value options: PrePaid: Subscription (also called prepaid). PostPaid: Pay-as-you-go (also called postpaid).
- configure_
nodes Sequence[GetInstance Configure Node] - Set the list of availability zones to which the node belongs.
- create_
backup bool - Whether to create a backup before making changes.
- create_
time str - Creation time of the instance.
- data_
layout str - Data storage type of the instance. This parameter is only relevant for Enterprise Edition instances (ServiceType=Enterprise). Community Edition instances (ServiceType=Basic) do not involve data storage type, and DataLayout is always set to RAM. If this parameter is left empty, data storage type is not used as a filter.
- deletion_
protection str - Enable or disable instance deletion protection.
- engine_
version str - Database version number.
- expired_
time str - Instance expiration time.
- id str
- Uniquely identifies the resource.
- instance_
class str - Type of Redis instance. Valid values: PrimarySecondary: primary-secondary instance; Standalone: single-node instance. If this parameter is left empty, instance type is not used as a filter. For more information about instance types, see Product Architecture.
- instance_
id str - Instance ID.
- instance_
name str - Instance name. Naming rules: Cannot start with a digit or hyphen (-); can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-); length must be 1–128 characters.
- instance_
shards Sequence[GetInstance Instance Shard] - Detailed list of all shards in the instance.
- maintenance_
time str - Maintenance window for the instance, format: HH:mm-HH:mm (UTC+8).
- max_
connections int - Current maximum connections per shard for the instance. The default connection limit per shard is 10,000. You can also call the ModifyDBInstanceMaxConn API to adjust the maximum connections per shard based on your business needs.
- multi_
az str - Set the deployment scheme for the instance's availability zone.
- no_
auth_ strmode - Enable or disable password-free access for new instances. Valid values: open: enable password-free access; close (default): disable password-free access.
- node_
ids Sequence[str] - List of Proxy and Server node IDs.
- node_
number int - Number of nodes in each shard. Value range: 1–6. By default, each account can create up to 4 nodes of 256 MiB specification per region. To increase the quota limit to 10, see Account Quotas. A value of 1 creates a single-node instance; a value greater than 1 creates a primary-secondary instance. For details on the differences between these two types of instances, see Feature Differences.
- parameter_
group_ strid - The parameter template to be applied to the new instance. Redis for Cache Database creates a default system parameter template for each database version, which includes all parameters supported by that version and their default values. If this parameter is left blank, the system will select and apply the corresponding version's system parameter template for the new instance based on the database version you set (i.e., EngineVersion). You can call the DescribeParameterGroups API to query basic information about all parameter templates under your account and region, including the parameter template ID.
- password str
- Set the password for the default account of the default database.
- port int
- Custom port number for the private network connection address. Value range: 1024~65535. If this parameter is left blank, the private network connection address uses port 6379 by default. After the instance is created, you can also modify the port number of the private network address. For instructions, see Modify Port Number.
- private_
address str - The domain name for the instance's private network connection address.
- private_
port str - Port number for the instance's private network connection address.
- project_
name str - Project to which the instance belongs.
- purchase_
months int - Purchase duration, unit: month. Value options: Monthly purchase: 1, 2, 3, 4, 5, 6, 7, 8, 9. Annual purchase: 12, 24, 36. When ChargeType is PrePaid, this parameter is required.
- reserve_
additional_ boolbandwidth - Set whether to reserve additional bandwidth
- service_
type str - Service type of the instance
- int
- Memory capacity of each shard in the instance. Unit: MiB.
- int
- Number of shards in the instance. Value range: 2–256. Specify this parameter only when ShardedCluster is set to 1 (enabled).
- int
- Whether to enable sharded cluster. Value options: 0: Disabled. 1: Enabled.
- status str
- Service type of the instance. Value options: Basic (default): Community Edition; Enterprise: Enterprise Edition.
- subnet_
id str - Set the subnet ID for the instance. Subnets have availability zone attributes; you must select a subnet in the target private network that belongs to the same availability zone as the instance. A subnet is an IP address block within a private network. All cloud resources in the private network must be deployed in a subnet. The subnet assigns private IP addresses to cloud resources. You can call the CreateSubnet API to create a subnet. You can call the DescribeSubnets API to query the list of all subnets in a specified availability zone, including subnet IDs.
-
Sequence[Get
Instance Tag] - Set the tag list for the instance.
- vi_
pv6 str - The IPv6 address corresponding to the instance's private network connection address. This parameter is returned only if the instance uses an IPv6 address.
- vip str
- IPv4 address corresponding to the instance's private network connection address.
- visit_
addrs Sequence[GetInstance Visit Addr] - Connection address information.
- vpc_
auth_ strmode - Enable or disable password-free access. Valid values: open: enable password-free access; close: disable password-free access. Values are case-insensitive.
- vpc_
id str - Set the private network ID for the instance. It is recommended that the Redis instance and the ECS instance you want to connect to are in the same private network; otherwise, they cannot communicate optimally via the internal network. You can call the CreateVpc API to create a private network. You can call the DescribeVpcs API to query private network information that meets specified conditions, including the private network ID.
- zone_
ids Sequence[str] - List of available zones where the instance is located.
- allow
List List<String>Ids - Allowlist ID list. If left empty, the new instance will not be added to any allowlist by default. You can call the DescribeAllowLists API to query all IP allowlist information, including allowlist IDs, for the specified region under your account. Each instance supports binding up to 100 allowlists, and you can batch bind up to 100 allowlists at a time. Each instance supports binding up to 1000 IP addresses or CIDR-format IP address ranges.
- auto
Renew Boolean - Whether to enable auto-renewal. Value options: false (default): Disabled; true: Enabled.
- backup
Point StringName - Set a backup name for the full backup created before changes.
- blue
Green StringRole - Blue-green deployment role of the instance. Valid values: Blue: blue instance. Green: green instance. This parameter is returned only for Redis instances that have used the blue-green deployment feature.
- capacity Property Map
- Capacity information of the instance.
- charge
Type String - Instance billing type. Value options: PrePaid: Subscription (also called prepaid). PostPaid: Pay-as-you-go (also called postpaid).
- configure
Nodes List<Property Map> - Set the list of availability zones to which the node belongs.
- create
Backup Boolean - Whether to create a backup before making changes.
- create
Time String - Creation time of the instance.
- data
Layout String - Data storage type of the instance. This parameter is only relevant for Enterprise Edition instances (ServiceType=Enterprise). Community Edition instances (ServiceType=Basic) do not involve data storage type, and DataLayout is always set to RAM. If this parameter is left empty, data storage type is not used as a filter.
- deletion
Protection String - Enable or disable instance deletion protection.
- engine
Version String - Database version number.
- expired
Time String - Instance expiration time.
- id String
- Uniquely identifies the resource.
- instance
Class String - Type of Redis instance. Valid values: PrimarySecondary: primary-secondary instance; Standalone: single-node instance. If this parameter is left empty, instance type is not used as a filter. For more information about instance types, see Product Architecture.
- instance
Id String - Instance ID.
- instance
Name String - Instance name. Naming rules: Cannot start with a digit or hyphen (-); can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-); length must be 1–128 characters.
- instance
Shards List<Property Map> - Detailed list of all shards in the instance.
- maintenance
Time String - Maintenance window for the instance, format: HH:mm-HH:mm (UTC+8).
- max
Connections Number - Current maximum connections per shard for the instance. The default connection limit per shard is 10,000. You can also call the ModifyDBInstanceMaxConn API to adjust the maximum connections per shard based on your business needs.
- multi
Az String - Set the deployment scheme for the instance's availability zone.
- no
Auth StringMode - Enable or disable password-free access for new instances. Valid values: open: enable password-free access; close (default): disable password-free access.
- node
Ids List<String> - List of Proxy and Server node IDs.
- node
Number Number - Number of nodes in each shard. Value range: 1–6. By default, each account can create up to 4 nodes of 256 MiB specification per region. To increase the quota limit to 10, see Account Quotas. A value of 1 creates a single-node instance; a value greater than 1 creates a primary-secondary instance. For details on the differences between these two types of instances, see Feature Differences.
- parameter
Group StringId - The parameter template to be applied to the new instance. Redis for Cache Database creates a default system parameter template for each database version, which includes all parameters supported by that version and their default values. If this parameter is left blank, the system will select and apply the corresponding version's system parameter template for the new instance based on the database version you set (i.e., EngineVersion). You can call the DescribeParameterGroups API to query basic information about all parameter templates under your account and region, including the parameter template ID.
- password String
- Set the password for the default account of the default database.
- port Number
- Custom port number for the private network connection address. Value range: 1024~65535. If this parameter is left blank, the private network connection address uses port 6379 by default. After the instance is created, you can also modify the port number of the private network address. For instructions, see Modify Port Number.
- private
Address String - The domain name for the instance's private network connection address.
- private
Port String - Port number for the instance's private network connection address.
- project
Name String - Project to which the instance belongs.
- purchase
Months Number - Purchase duration, unit: month. Value options: Monthly purchase: 1, 2, 3, 4, 5, 6, 7, 8, 9. Annual purchase: 12, 24, 36. When ChargeType is PrePaid, this parameter is required.
- reserve
Additional BooleanBandwidth - Set whether to reserve additional bandwidth
- service
Type String - Service type of the instance
- Number
- Memory capacity of each shard in the instance. Unit: MiB.
- Number
- Number of shards in the instance. Value range: 2–256. Specify this parameter only when ShardedCluster is set to 1 (enabled).
- Number
- Whether to enable sharded cluster. Value options: 0: Disabled. 1: Enabled.
- status String
- Service type of the instance. Value options: Basic (default): Community Edition; Enterprise: Enterprise Edition.
- subnet
Id String - Set the subnet ID for the instance. Subnets have availability zone attributes; you must select a subnet in the target private network that belongs to the same availability zone as the instance. A subnet is an IP address block within a private network. All cloud resources in the private network must be deployed in a subnet. The subnet assigns private IP addresses to cloud resources. You can call the CreateSubnet API to create a subnet. You can call the DescribeSubnets API to query the list of all subnets in a specified availability zone, including subnet IDs.
- List<Property Map>
- Set the tag list for the instance.
- vi
Pv6 String - The IPv6 address corresponding to the instance's private network connection address. This parameter is returned only if the instance uses an IPv6 address.
- vip String
- IPv4 address corresponding to the instance's private network connection address.
- visit
Addrs List<Property Map> - Connection address information.
- vpc
Auth StringMode - Enable or disable password-free access. Valid values: open: enable password-free access; close: disable password-free access. Values are case-insensitive.
- vpc
Id String - Set the private network ID for the instance. It is recommended that the Redis instance and the ECS instance you want to connect to are in the same private network; otherwise, they cannot communicate optimally via the internal network. You can call the CreateVpc API to create a private network. You can call the DescribeVpcs API to query private network information that meets specified conditions, including the private network ID.
- zone
Ids List<String> - List of available zones where the instance is located.
Supporting Types
GetInstanceCapacity
GetInstanceConfigureNode
- Az string
- The availability zone each node belongs to.
- Az string
- The availability zone each node belongs to.
- az String
- The availability zone each node belongs to.
- az string
- The availability zone each node belongs to.
- az str
- The availability zone each node belongs to.
- az String
- The availability zone each node belongs to.
GetInstanceInstanceShard
- Node
Number int - Number of nodes in each shard
- Server
Nodes List<Volcengine.Get Instance Instance Shard Server Node> - Detailed list of all Server nodes in the shard.
- string
- Shard ID.
- Node
Number int - Number of nodes in each shard
- Server
Nodes []GetInstance Instance Shard Server Node - Detailed list of all Server nodes in the shard.
- string
- Shard ID.
- node
Number Integer - Number of nodes in each shard
- server
Nodes List<GetInstance Instance Shard Server Node> - Detailed list of all Server nodes in the shard.
- String
- Shard ID.
- node
Number number - Number of nodes in each shard
- server
Nodes GetInstance Instance Shard Server Node[] - Detailed list of all Server nodes in the shard.
- string
- Shard ID.
- node_
number int - Number of nodes in each shard
- server_
nodes Sequence[GetInstance Instance Shard Server Node] - Detailed list of all Server nodes in the shard.
- str
- Shard ID.
- node
Number Number - Number of nodes in each shard
- server
Nodes List<Property Map> - Detailed list of all Server nodes in the shard.
- String
- Shard ID.
GetInstanceInstanceShardServerNode
- Current
Role string - Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
- Node
Id string - Node ID.
- Status string
- Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
- Zone
Id string - Availability zone where the node is located.
- Current
Role string - Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
- Node
Id string - Node ID.
- Status string
- Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
- Zone
Id string - Availability zone where the node is located.
- current
Role String - Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
- node
Id String - Node ID.
- status String
- Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
- zone
Id String - Availability zone where the node is located.
- current
Role string - Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
- node
Id string - Node ID.
- status string
- Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
- zone
Id string - Availability zone where the node is located.
- current_
role str - Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
- node_
id str - Node ID.
- status str
- Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
- zone_
id str - Availability zone where the node is located.
- current
Role String - Current role of the node. Valid values: PrimaryNode: primary node; SecondaryNode: secondary node.
- node
Id String - Node ID.
- status String
- Node status. Valid values: deploy: starting; running: running; loading: loading data; error: error.
- zone
Id String - Availability zone where the node is located.
GetInstanceTag
GetInstanceVisitAddr
- Addr
Type string - Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
- Address string
- IP address or domain name.
- Eip
Id string - EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
- Port string
- Port number.
- Vi
Pv6 string - IPv6 address corresponding to the connection address.
- Vip string
- The IPv4 address corresponding to the connection address.
- Addr
Type string - Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
- Address string
- IP address or domain name.
- Eip
Id string - EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
- Port string
- Port number.
- Vi
Pv6 string - IPv6 address corresponding to the connection address.
- Vip string
- The IPv4 address corresponding to the connection address.
- addr
Type String - Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
- address String
- IP address or domain name.
- eip
Id String - EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
- port String
- Port number.
- vi
Pv6 String - IPv6 address corresponding to the connection address.
- vip String
- The IPv4 address corresponding to the connection address.
- addr
Type string - Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
- address string
- IP address or domain name.
- eip
Id string - EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
- port string
- Port number.
- vi
Pv6 string - IPv6 address corresponding to the connection address.
- vip string
- The IPv4 address corresponding to the connection address.
- addr_
type str - Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
- address str
- IP address or domain name.
- eip_
id str - EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
- port str
- Port number.
- vi_
pv6 str - IPv6 address corresponding to the connection address.
- vip str
- The IPv4 address corresponding to the connection address.
- addr
Type String - Connection address type. Value options: Private: Private network connection address; Public: Public network connection address; DirectLink: Direct connection address.
- address String
- IP address or domain name.
- eip
Id String - EIP ID bound to the instance's public address. This parameter is returned only when the connection address type (AddrType) is Public.
- port String
- Port number.
- vi
Pv6 String - IPv6 address corresponding to the connection address.
- vip String
- The IPv4 address corresponding to the connection address.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
