Skip to content

HiTSDBInstance

This class encapsulates and extends the ROS resource type ALIYUN::TSDB::HiTSDBInstance, which is used to create a Time Series Database (TSDB) instance.

Initializers

import com.aliyun.ros.cdk.tsdb.HiTSDBInstance;
HiTSDBInstance.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .instanceClass(java.lang.String)
    .instanceClass(IResolvable)
    .instanceStorage(java.lang.Number)
    .instanceStorage(IResolvable)
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
    .vSwitchId(java.lang.String)
    .vSwitchId(IResolvable)
    .zoneId(java.lang.String)
    .zoneId(IResolvable)
//  .diskCategory(java.lang.String)
//  .diskCategory(IResolvable)
//  .duration(java.lang.Number)
//  .duration(IResolvable)
//  .instanceAlias(java.lang.String)
//  .instanceAlias(IResolvable)
//  .payType(java.lang.String)
//  .payType(IResolvable)
//  .pricingCycle(java.lang.String)
//  .pricingCycle(IResolvable)
//  .securityIpList(IResolvable)
//  .securityIpList(java.util.List<java.lang.String)
//  .securityIpList(IResolvable>)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
instanceClass java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceClass: The type of the instance.
instanceStorage java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property instanceStorage: The storage capacity of the instance.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the virtual private cloud (VPC) that is connected to the instance.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: The ID of the VSwitch in the specified VPC.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: The zone ID of the instance.
diskCategory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property diskCategory: The category of disk.
duration java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property duration: The validity period of the instance.
instanceAlias java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceAlias: The alias of the instance.
payType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property payType: The billing method.
pricingCycle java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property pricingCycle: The unit of the validity period.
securityIpList com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property securityIpList: List of the IP patterns.For example, ["127.0.0.1", "192.168.0.1\/24"].

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

instanceClassRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceClass: The type of the instance.


instanceStorageRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property instanceStorage: The storage capacity of the instance.

Unit: GB. For example, the value 50 indicates 50 GB.


vpcIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: The ID of the virtual private cloud (VPC) that is connected to the instance.


vSwitchIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchId: The ID of the VSwitch in the specified VPC.


zoneIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property zoneId: The zone ID of the instance.


diskCategoryOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property diskCategory: The category of disk.


durationOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property duration: The validity period of the instance.

This parameter is valid only when the PayType parameter is set to PREPAY. Default value: 1.


instanceAliasOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceAlias: The alias of the instance.


payTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property payType: The billing method.

Valid values:

  • prepay: The prepay value indicates the subscription method.

pricingCycleOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property pricingCycle: The unit of the validity period.

This parameter is valid only when the PayType parameter is set to PREPAY. Default value: Month.


securityIpListOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property securityIpList: List of the IP patterns.For example, ["127.0.0.1", "192.168.0.1\/24"].


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

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public 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: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

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

isConstruct

import com.aliyun.ros.cdk.tsdb.HiTSDBInstance;
HiTSDBInstance.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrConnectionString com.aliyun.ros.cdk.core.IResolvable Attribute ConnectionString: Connection string of the instance.
attrEngineType com.aliyun.ros.cdk.core.IResolvable Attribute EngineType: Engine type of the instance.
attrInstanceId com.aliyun.ros.cdk.core.IResolvable Attribute InstanceId: The ID of the instance.
attrOrderId com.aliyun.ros.cdk.core.IResolvable Attribute OrderId: Order id of created instance.
attrPublicConnectionString com.aliyun.ros.cdk.core.IResolvable Attribute PublicConnectionString: Public connection string of the instance.
attrReverseVpcIp com.aliyun.ros.cdk.core.IResolvable Attribute ReverseVpcIp: Reverse vpc ip of the instance.
attrReverseVpcPort com.aliyun.ros.cdk.core.IResolvable Attribute ReverseVpcPort: Reverse vpc port of the instance.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrConnectionStringRequired

public IResolvable getAttrConnectionString();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ConnectionString: Connection string of the instance.


attrEngineTypeRequired

public IResolvable getAttrEngineType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute EngineType: Engine type of the instance.


attrInstanceIdRequired

public IResolvable getAttrInstanceId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceId: The ID of the instance.


attrOrderIdRequired

public IResolvable getAttrOrderId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute OrderId: Order id of created instance.


attrPublicConnectionStringRequired

public IResolvable getAttrPublicConnectionString();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute PublicConnectionString: Public connection string of the instance.


attrReverseVpcIpRequired

public IResolvable getAttrReverseVpcIp();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ReverseVpcIp: Reverse vpc ip of the instance.


attrReverseVpcPortRequired

public IResolvable getAttrReverseVpcPort();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ReverseVpcPort: Reverse vpc port of the instance.