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. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
- Type: DrdsInstanceProps
EnableResourcePropertyConstraint
Optional
- 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.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- 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.
- 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. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrCommodityCode
Required
public IResolvable AttrCommodityCode { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CommodityCode: The commodity code of the service.
AttrCreateTime
Required
public IResolvable AttrCreateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTime: The timestamp that indicates when the instance is created.
AttrDescription
Required
public IResolvable AttrDescription { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Description: The description of the instance.
AttrDrdsInstanceId
Required
public IResolvable AttrDrdsInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DrdsInstanceId: The ID of the Drds instance.
AttrExpireDate
Required
public IResolvable AttrExpireDate { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ExpireDate: The timestamp that indicates when the instance expires.
AttrInstanceSeries
Required
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
AttrInstanceSpec
Required
public IResolvable AttrInstanceSpec { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceSpec: The specification of the instance.
AttrInstRole
Required
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.
AttrLabel
Required
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.
AttrMachineType
Required
public IResolvable AttrMachineType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MachineType: The machine type of the instance.
Valid value: ecs.
AttrMasterInstanceId
Required
public IResolvable AttrMasterInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MasterInstanceId: The ID of the primary instance.
AttrMysqlVersion
Required
public IResolvable AttrMysqlVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MysqlVersion: Engine version.
AttrNetworkType
Required
public IResolvable AttrNetworkType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute NetworkType: The network type of the instance.
Valid values: CLASSIC VPC
AttrOrderInstanceId
Required
public IResolvable AttrOrderInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute OrderInstanceId: The ID of the purchased instance.
AttrReadOnlyDbInstanceIds
Required
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.
AttrResourceGroupId
Required
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.
AttrStorageType
Required
public IResolvable AttrStorageType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute StorageType: The storage type of the Drds database.
Valid values: RDS PolarDB
AttrType
Required
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.
AttrVersion
Required
public IResolvable AttrVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Version: The version of the instance.
AttrVersionAction
Required
public IResolvable AttrVersionAction { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VersionAction: Indicates whether the version of the instance can be upgraded.
AttrVips
Required
public IResolvable AttrVips { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Vips: The list of returned virtual IP addresses (VIPs).
AttrVpcCloudInstanceId
Required
public IResolvable AttrVpcCloudInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcCloudInstanceId: The ID of the instance that is deployed in the VPC.
AttrZoneId
Required
public IResolvable AttrZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ZoneId: The ID of the zone in which the resource is located.