Skip to content

InstancesProps

Properties for defining a Instances.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-redis-instances

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkredis/datasource"
&datasource.InstancesProps {
    ArchitectureType: interface{},
    ChargeType: interface{},
    EditionType: interface{},
    EngineVersion: interface{},
    Expired: interface{},
    GlobalInstance: interface{},
    InstanceClass: interface{},
    InstanceIds: interface{},
    InstanceStatus: interface{},
    InstanceType: interface{},
    NetworkType: interface{},
    PrivateIp: interface{},
    RefreshOptions: interface{},
    ResourceGroupId: interface{},
    SearchKey: interface{},
    VpcId: interface{},
    VSwitchId: interface{},
    ZoneId: interface{},
}

Properties

Name Type Description
ArchitectureType interface{} Property architectureType: The architecture of the instance.
ChargeType interface{} Property chargeType: The billing method of the instance.
EditionType interface{} Property editionType: The edition of the instance.
EngineVersion interface{} Property engineVersion: The database engine version of the instance.
Expired interface{} Property expired: Specifies whether the instance has expired.
GlobalInstance interface{} Property globalInstance: Specifies whether to return the child instances of distributed instances.
InstanceClass interface{} Property instanceClass: The instance type.
InstanceIds interface{} Property instanceIds: The IDs of instances.
InstanceStatus interface{} Property instanceStatus: The state of the instance.
InstanceType interface{} Property instanceType: The category of the instance.
NetworkType interface{} Property networkType: The network type of the instance.
PrivateIp interface{} Property privateIp: The private IP address of the instance.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group to which the instance belongs.
SearchKey interface{} Property searchKey: The keyword used for fuzzy search.
VpcId interface{} Property vpcId: The ID of the VPC.
VSwitchId interface{} Property vSwitchId: The ID of the VSwitch.
ZoneId interface{} Property zoneId: The zone ID of the instance.

ArchitectureTypeOptional

ArchitectureType interface{}
  • Type: interface{}

Property architectureType: The architecture of the instance.

Valid values: cluster: The instance is a cluster instance. standard: The instance is a standard instance. rwsplit: The instance is a read/write splitting instance.


ChargeTypeOptional

ChargeType interface{}
  • Type: interface{}

Property chargeType: The billing method of the instance.

Valid values: PrePaid: subscription PostPaid: pay-as-you-go


EditionTypeOptional

EditionType interface{}
  • Type: interface{}

Property editionType: The edition of the instance.

Valid values: Community: Community Edition Enterprise: Enhance Edition (Tair)


EngineVersionOptional

EngineVersion interface{}
  • Type: interface{}

Property engineVersion: The database engine version of the instance.

Valid values: 2.8, 4.0, and 5.0.


ExpiredOptional

Expired interface{}
  • Type: interface{}

Property expired: Specifies whether the instance has expired.

Valid values: true: The instance has expired. false: The instance has not expired.


GlobalInstanceOptional

GlobalInstance interface{}
  • Type: interface{}

Property globalInstance: Specifies whether to return the child instances of distributed instances.

Valid values: true: Only child instances are returned. false: Child instances are not returned.


InstanceClassOptional

InstanceClass interface{}
  • Type: interface{}

Property instanceClass: The instance type.


InstanceIdsOptional

InstanceIds interface{}
  • Type: interface{}

Property instanceIds: The IDs of instances.

If you specify multiple instance IDs, separate the instance IDs with commas (,).


InstanceStatusOptional

InstanceStatus interface{}
  • Type: interface{}

Property instanceStatus: The state of the instance.

Valid values: Normal: The instance is normal. Creating: The instance is being created. Changing: The configurations of the instance are being changed. Inactive: The instance is disabled. Flushing: The instance is being released. Released: The instance is released. Transforming: The instance is being transformed. Unavailable: The instance is suspended. Error: The instance cannot be created. Migrating: The instance is being migrated. BackupRecovering: The instance is being restored from a backup. MinorVersionUpgrading: The minor version of the instance is being updated. NetworkModifying: The network type of the instance is being changed. SSLModifying: The SSL certificate of the instance is being changed. MajorVersionUpgrading: The major version of the instance is being upgraded. The instance remains available during the upgrade.


InstanceTypeOptional

InstanceType interface{}
  • Type: interface{}

Property instanceType: The category of the instance.

Valid values: Tair Redis Memcache


NetworkTypeOptional

NetworkType interface{}
  • Type: interface{}

Property networkType: The network type of the instance.

Valid values: CLASSIC: classic network VPC: Virtual Private Cloud (VPC)


PrivateIpOptional

PrivateIp interface{}
  • Type: interface{}

Property privateIp: The private IP address of the instance.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group to which the instance belongs.


SearchKeyOptional

SearchKey interface{}
  • Type: interface{}

Property searchKey: The keyword used for fuzzy search.

The keyword can be based on an instance name or an instance ID.


VpcIdOptional

VpcId interface{}
  • Type: interface{}

Property vpcId: The ID of the VPC.


VSwitchIdOptional

VSwitchId interface{}
  • Type: interface{}

Property vSwitchId: The ID of the VSwitch.


ZoneIdOptional

ZoneId interface{}
  • Type: interface{}

Property zoneId: The zone ID of the instance.