Skip to content

DrdsInstance

This class encapsulates and extends the ROS resource type DATASOURCE::DRDS::DrdsInstance, which is used to query the information about a PolarDB-X 1.0 instance.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Drds;
new DrdsInstance(Construct Scope, string Id, DrdsInstanceProps Props, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props DrdsInstanceProps No description.
EnableResourcePropertyConstraint bool No description.

ScopeRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct

IdRequired

  • Type: string

PropsRequired


EnableResourcePropertyConstraintOptional

  • Type: bool

Methods

Name Description
ToString Returns a string representation of this construct.
Synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
AddCondition No description.
AddCount No description.
AddDependency No description.
AddResourceDesc No description.
ApplyRemovalPolicy No description.
GetAtt No description.
SetMetadata No description.

ToString

private string ToString()

Returns a string representation of this construct.

Synthesize

private void Synthesize(ISynthesisSession Session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

SessionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession

The synthesis session.


AddCondition

private void AddCondition(RosCondition Condition)

ConditionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition

AddCount

private void AddCount(object Count)

CountRequired

  • Type: object

AddDependency

private void AddDependency(Resource Resource)

ResourceRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource

AddResourceDesc

private void AddResourceDesc(string Desc)

DescRequired

  • Type: string

ApplyRemovalPolicy

private void ApplyRemovalPolicy(RemovalPolicy Policy)

PolicyRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy

GetAtt

private IResolvable GetAtt(string Name)

NameRequired

  • Type: string

SetMetadata

private void SetMetadata(string Key, object Value)

KeyRequired

  • Type: string

ValueRequired

  • Type: object

Static Functions

Name Description
IsConstruct Return whether the given object is a Construct.

IsConstruct

using AlibabaCloud.SDK.ROS.CDK.Drds;
DrdsInstance.IsConstruct(object X);

Return whether the given object is a Construct.

XRequired

  • Type: object

Properties

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

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node associated with this construct.


RefRequired

public string Ref { get; }
  • Type: string

StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


ResourceOptional

public RosResource Resource { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource

AttrCommodityCodeRequired

public IResolvable AttrCommodityCode { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute CommodityCode: The commodity code of the service.


AttrCreateTimeRequired

public IResolvable AttrCreateTime { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrDescriptionRequired

public IResolvable AttrDescription { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Description: The description of the instance.


AttrDrdsInstanceIdRequired

public IResolvable AttrDrdsInstanceId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute DrdsInstanceId: The ID of the Drds instance.


AttrExpireDateRequired

public IResolvable AttrExpireDate { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrInstanceSeriesRequired

public IResolvable AttrInstanceSeries { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute InstanceSeries: The edition of the instance.

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


AttrInstanceSpecRequired

public IResolvable AttrInstanceSpec { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute InstanceSpec: The specification of the instance.


AttrInstRoleRequired

public IResolvable AttrInstRole { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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

public IResolvable AttrLabel { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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

public IResolvable AttrMachineType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute MachineType: The machine type of the instance.

Valid value: ecs.


AttrMasterInstanceIdRequired

public IResolvable AttrMasterInstanceId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute MasterInstanceId: The ID of the primary instance.


AttrMysqlVersionRequired

public IResolvable AttrMysqlVersion { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute MysqlVersion: Engine version.


AttrNetworkTypeRequired

public IResolvable AttrNetworkType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute NetworkType: The network type of the instance.

Valid values: CLASSIC VPC


AttrOrderInstanceIdRequired

public IResolvable AttrOrderInstanceId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute OrderInstanceId: The ID of the purchased instance.


AttrReadOnlyDbInstanceIdsRequired

public IResolvable AttrReadOnlyDbInstanceIds { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrResourceGroupIdRequired

public IResolvable AttrResourceGroupId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrStorageTypeRequired

public IResolvable AttrStorageType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute StorageType: The storage type of the Drds database.

Valid values: RDS PolarDB


AttrTypeRequired

public IResolvable AttrType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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

public IResolvable AttrVersion { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Version: The version of the instance.


AttrVersionActionRequired

public IResolvable AttrVersionAction { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrVipsRequired

public IResolvable AttrVips { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrVpcCloudInstanceIdRequired

public IResolvable AttrVpcCloudInstanceId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrZoneIdRequired

public IResolvable AttrZoneId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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