DedicatedBlockStorageCluster
- Implements: IDedicatedBlockStorageCluster
This class encapsulates and extends the ROS resource type ALIYUN::EBS::DedicatedBlockStorageCluster.
Initializers
import com.aliyun.ros.cdk.ebs.DedicatedBlockStorageCluster;
DedicatedBlockStorageCluster.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.azone(java.lang.String)
.azone(IResolvable)
.capacity(java.lang.Number)
.capacity(IResolvable)
.dbscName(java.lang.String)
.dbscName(IResolvable)
.period(java.lang.Number)
.period(IResolvable)
.periodUnit(java.lang.String)
.periodUnit(IResolvable)
.type(java.lang.String)
.type(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .tag(IResolvable)
// .tag(java.util.List<IResolvable)
// .tag(RosTag>)
.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. |
azone | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property azone: The ID of the zone in which to create the dedicated block storage cluster. |
capacity | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property capacity: The capacity of the dedicated block storage cluster. |
dbscName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dbscName: The name of the dedicated block storage cluster. |
period | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property period: The subscription duration of the dedicated block storage cluster. |
periodUnit | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property periodUnit: The unit of the subscription duration specified by Period. |
type | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property type: The type of the dedicated block storage cluster. |
resourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property resourceGroupId: The ID of the resource group to which to assign the dedicated block storage cluster. |
tag | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property tag: Tags of dedicated block storage cluster. |
scopeRequired
- Type: com.aliyun.ros.cdk.core.Construct
idRequired
- Type: java.lang.String
enableResourcePropertyConstraintOptional
- Type: java.lang.Boolean
azoneRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property azone: The ID of the zone in which to create the dedicated block storage cluster.
capacityRequired
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property capacity: The capacity of the dedicated block storage cluster.
Valid values: 61440 to 2334720. Unit: GiB. 2,334,720 GiB is equal to 2,280 TiB. The capacity increases in a minimum increment of 12,288 GiB.
dbscNameRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbscName: The name of the dedicated block storage cluster.
periodRequired
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property period: The subscription duration of the dedicated block storage cluster.
Valid values: 6, 7, 8, 9, 10, 11, 12, 24, and 36.
periodUnitRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property periodUnit: The unit of the subscription duration specified by Period.
Set the value to Month.
typeRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property type: The type of the dedicated block storage cluster.
Valid values: Standard: basic dedicated block storage cluster. Enterprise SSDs (ESSDs) at performance level 0 (PL0 ESSDs) can be created in basic dedicated block storage clusters. Premium: performance dedicated block storage cluster. ESSDs at performance level 1 (PL1 ESSDs) can be created in performance dedicated block storage clusters. Default value: Premium.
resourceGroupIdOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group to which to assign the dedicated block storage cluster.
tagOptional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property tag: Tags of dedicated block storage cluster.
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.ebs.DedicatedBlockStorageCluster;
DedicatedBlockStorageCluster.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. |
attrDedicatedBlockStorageClusterId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DedicatedBlockStorageClusterId: The ID of the dedicated block storage cluster. |
props | DedicatedBlockStorageClusterProps | 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
attrDedicatedBlockStorageClusterIdRequired
public java.lang.Object getAttrDedicatedBlockStorageClusterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DedicatedBlockStorageClusterId: The ID of the dedicated block storage cluster.
propsRequired
public DedicatedBlockStorageClusterProps getProps();