Skip to content

IDrdsInstance

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: github.com/alibabacloud-go/ros-cdk/alicloudroscdkdrds.datasource.DrdsInstance, github.com/alibabacloud-go/ros-cdk/alicloudroscdkdrds.datasource.IDrdsInstance

Represents a DrdsInstance.

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node for this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
AttrCommodityCode interface{} Attribute CommodityCode: The commodity code of the service.
AttrCreateTime interface{} Attribute CreateTime: The timestamp that indicates when the instance is created.
AttrDescription interface{} Attribute Description: The description of the instance.
AttrDrdsInstanceId interface{} Attribute DrdsInstanceId: The ID of the Drds instance.
AttrExpireDate interface{} Attribute ExpireDate: The timestamp that indicates when the instance expires.
AttrInstanceSeries interface{} Attribute InstanceSeries: The edition of the instance.
AttrInstanceSpec interface{} Attribute InstanceSpec: The specification of the instance.
AttrInstRole interface{} Attribute InstRole: The role of the instance.
AttrLabel interface{} Attribute Label: The tag of the instance.
AttrMachineType interface{} Attribute MachineType: The machine type of the instance.
AttrMasterInstanceId interface{} Attribute MasterInstanceId: The ID of the primary instance.
AttrMysqlVersion interface{} Attribute MysqlVersion: Engine version.
AttrNetworkType interface{} Attribute NetworkType: The network type of the instance.
AttrOrderInstanceId interface{} Attribute OrderInstanceId: The ID of the purchased instance.
AttrReadOnlyDbInstanceIds interface{} Attribute ReadOnlyDBInstanceIds: The IDs of read-only instances that are associated with the instance.
AttrResourceGroupId interface{} Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.
AttrStorageType interface{} Attribute StorageType: The storage type of the Drds database.
AttrType interface{} Attribute Type: The type of the instance.
AttrVersion interface{} Attribute Version: The version of the instance.
AttrVersionAction interface{} Attribute VersionAction: Indicates whether the version of the instance can be upgraded.
AttrVips interface{} Attribute Vips: The list of returned virtual IP addresses (VIPs).
AttrVpcCloudInstanceId interface{} Attribute VpcCloudInstanceId: The ID of the instance that is deployed in the VPC.
AttrZoneId interface{} Attribute ZoneId: The ID of the zone in which the resource is located.
Props DrdsInstanceProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node for this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


AttrCommodityCodeRequired

func AttrCommodityCode() interface{}
  • Type: interface{}

Attribute CommodityCode: The commodity code of the service.


AttrCreateTimeRequired

func AttrCreateTime() interface{}
  • Type: interface{}

Attribute CreateTime: The timestamp that indicates when the instance is created.


AttrDescriptionRequired

func AttrDescription() interface{}
  • Type: interface{}

Attribute Description: The description of the instance.


AttrDrdsInstanceIdRequired

func AttrDrdsInstanceId() interface{}
  • Type: interface{}

Attribute DrdsInstanceId: The ID of the Drds instance.


AttrExpireDateRequired

func AttrExpireDate() interface{}
  • Type: interface{}

Attribute ExpireDate: The timestamp that indicates when the instance expires.


AttrInstanceSeriesRequired

func AttrInstanceSeries() interface{}
  • Type: interface{}

Attribute InstanceSeries: The edition of the instance.

Valid values: starter: Starter Edition enterprise: Enterprise Edition standard: Standard Edition


AttrInstanceSpecRequired

func AttrInstanceSpec() interface{}
  • Type: interface{}

Attribute InstanceSpec: The specification of the instance.


AttrInstRoleRequired

func AttrInstRole() interface{}
  • Type: interface{}

Attribute InstRole: The role of the instance.

Valid values: MASTER: The instance is a primary instance. SLAVE: The instance is a read-only instance to analyze complex queries. SLAVE_FLOW: The instance is a read-only instance for high-concurrency scenarios.


AttrLabelRequired

func AttrLabel() interface{}
  • Type: interface{}

Attribute Label: The tag of the instance.

Valid values: NORMAL: The instance is a standard instance. HA: The instance is a high-availability (HA) instance. VPC: The instance is a VPC-based instance.


AttrMachineTypeRequired

func AttrMachineType() interface{}
  • Type: interface{}

Attribute MachineType: The machine type of the instance.

Valid value: ecs.


AttrMasterInstanceIdRequired

func AttrMasterInstanceId() interface{}
  • Type: interface{}

Attribute MasterInstanceId: The ID of the primary instance.


AttrMysqlVersionRequired

func AttrMysqlVersion() interface{}
  • Type: interface{}

Attribute MysqlVersion: Engine version.


AttrNetworkTypeRequired

func AttrNetworkType() interface{}
  • Type: interface{}

Attribute NetworkType: The network type of the instance.

Valid values: CLASSIC VPC


AttrOrderInstanceIdRequired

func AttrOrderInstanceId() interface{}
  • Type: interface{}

Attribute OrderInstanceId: The ID of the purchased instance.


AttrReadOnlyDbInstanceIdsRequired

func AttrReadOnlyDbInstanceIds() interface{}
  • Type: interface{}

Attribute ReadOnlyDBInstanceIds: The IDs of read-only instances that are associated with the instance.


AttrResourceGroupIdRequired

func AttrResourceGroupId() interface{}
  • Type: interface{}

Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.


AttrStorageTypeRequired

func AttrStorageType() interface{}
  • Type: interface{}

Attribute StorageType: The storage type of the Drds database.

Valid values: RDS PolarDB


AttrTypeRequired

func AttrType() interface{}
  • Type: interface{}

Attribute Type: The type of the instance.

Valid values: PUBLIC: The returned instance is a shared instance. PRIVATE: The returned instance is a dedicated instance.


AttrVersionRequired

func AttrVersion() interface{}
  • Type: interface{}

Attribute Version: The version of the instance.


AttrVersionActionRequired

func AttrVersionAction() interface{}
  • Type: interface{}

Attribute VersionAction: Indicates whether the version of the instance can be upgraded.


AttrVipsRequired

func AttrVips() interface{}
  • Type: interface{}

Attribute Vips: The list of returned virtual IP addresses (VIPs).


AttrVpcCloudInstanceIdRequired

func AttrVpcCloudInstanceId() interface{}
  • Type: interface{}

Attribute VpcCloudInstanceId: The ID of the instance that is deployed in the VPC.


AttrZoneIdRequired

func AttrZoneId() interface{}
  • Type: interface{}

Attribute ZoneId: The ID of the zone in which the resource is located.


PropsRequired

func Props() DrdsInstanceProps