HiTSDBInstance
- Implements: IHiTSDBInstance
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 storage capacity 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 ID of the request. |
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 ID of the VPC in which the instances reside. |
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 storage capacity of the instance.
Unit: GB.
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 ID of the request.
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 ID of the VPC in which the instances reside.
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. |
fetchCondition | No description. |
fetchDependency | No description. |
fetchResourceDesc | 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.
- Type: com.aliyun.ros.cdk.core.ISynthesisSession
The synthesis session.
addCondition
public void addCondition(RosCondition condition)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
addDependency
public void addDependency(Resource resource)
- Type: com.aliyun.ros.cdk.core.Resource
addResourceDesc
public void addResourceDesc(java.lang.String desc)
- Type: java.lang.String
applyRemovalPolicy
public void applyRemovalPolicy(RemovalPolicy policy)
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
fetchCondition
public RosCondition fetchCondition()
fetchDependency
public java.util.List<java.lang.String> fetchDependency()
fetchResourceDesc
public java.lang.String fetchResourceDesc()
getAtt
public IResolvable getAtt(java.lang.String name)
- Type: java.lang.String
setMetadata
public void setMetadata(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- 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.
- Type: java.lang.Object
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node associated with this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
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 | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ConnectionString: Connection string of the instance. |
attrEngineType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EngineType: Engine type of the instance. |
attrInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute InstanceId: The ID of the instance. |
attrOrderId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute OrderId: Order id of created instance. |
attrPublicConnectionString | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute PublicConnectionString: Public connection string of the instance. |
attrReverseVpcIp | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ReverseVpcIp: Reverse vpc ip of the instance. |
attrReverseVpcPort | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ReverseVpcPort: Reverse vpc port of the instance. |
props | HiTSDBInstanceProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.ros.cdk.core.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.
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 java.lang.Object getAttrConnectionString();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ConnectionString: Connection string of the instance.
attrEngineTypeRequired
public java.lang.Object getAttrEngineType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EngineType: Engine type of the instance.
attrInstanceIdRequired
public java.lang.Object getAttrInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceId: The ID of the instance.
attrOrderIdRequired
public java.lang.Object getAttrOrderId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute OrderId: Order id of created instance.
attrPublicConnectionStringRequired
public java.lang.Object getAttrPublicConnectionString();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute PublicConnectionString: Public connection string of the instance.
attrReverseVpcIpRequired
public java.lang.Object getAttrReverseVpcIp();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ReverseVpcIp: Reverse vpc ip of the instance.
attrReverseVpcPortRequired
public java.lang.Object getAttrReverseVpcPort();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ReverseVpcPort: Reverse vpc port of the instance.
propsRequired
public HiTSDBInstanceProps getProps();
- Type: HiTSDBInstanceProps