DedicatedBlockStorageCluster
- Implements: com.aliyun.ros.cdk.ebs.datasource.IDedicatedBlockStorageCluster
This class encapsulates and extends the ROS resource type DATASOURCE::EBS::DedicatedBlockStorageCluster.
Initializers
import com.aliyun.ros.cdk.ebs.datasource.DedicatedBlockStorageCluster;
DedicatedBlockStorageCluster.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.dedicatedBlockStorageClusterId(java.lang.String)
.dedicatedBlockStorageClusterId(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(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. |
dedicatedBlockStorageClusterId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dedicatedBlockStorageClusterId: The ID of the dedicated block storage cluster. |
refreshOptions | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
scopeRequired
- Type: com.aliyun.ros.cdk.core.Construct
idRequired
- Type: java.lang.String
enableResourcePropertyConstraintOptional
- Type: java.lang.Boolean
dedicatedBlockStorageClusterIdRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dedicatedBlockStorageClusterId: The ID of the dedicated block storage cluster.
refreshOptionsOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
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.datasource.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. |
attrAvailableCapacity | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute AvailableCapacity: The available capacity of the dedicated block storage cluster. |
attrCategory | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Category: The category of disks that can be created in the dedicated block storage cluster. |
attrCreateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CreateTime: The time when the dedicated block storage cluster was created. |
attrDedicatedBlockStorageClusterId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DedicatedBlockStorageClusterId: The ID of the dedicated block storage cluster. |
attrDedicatedBlockStorageClusterName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DedicatedBlockStorageClusterName: The name of the dedicated block storage cluster. |
attrDeliveryCapacity | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DeliveryCapacity: The capacity to be delivered for the dedicated block storage cluster. |
attrDescription | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Description: The description of the dedicated block storage cluster. |
attrExpiredTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ExpiredTime: The expiration time of the dedicated block storage cluster, in the Unix timestamp format, in seconds. |
attrPerformanceLevel | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute PerformanceLevel: The performance level of disks. |
attrResourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ResourceGroupId: The ID of the resource group. |
attrSupportedCategory | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute SupportedCategory: This parameter is not supported. |
attrTags | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Tags: The tags of the dedicated block storage cluster. |
attrTotalCapacity | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute TotalCapacity: The total capacity of the dedicated block storage cluster. |
attrType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Type: The dedicated block storage cluster performance type. |
attrUsedCapacity | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute UsedCapacity: The used (created disk) capacity of the current cluster, in GB. |
attrZoneId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ZoneId: The zone 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
attrAvailableCapacityRequired
public java.lang.Object getAttrAvailableCapacity();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute AvailableCapacity: The available capacity of the dedicated block storage cluster.
Unit: GiB.
attrCategoryRequired
public java.lang.Object getAttrCategory();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Category: The category of disks that can be created in the dedicated block storage cluster.
attrCreateTimeRequired
public java.lang.Object getAttrCreateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: The time when the dedicated block storage cluster was created.
The value is a UNIX timestamp. Unit: seconds.
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.
attrDedicatedBlockStorageClusterNameRequired
public java.lang.Object getAttrDedicatedBlockStorageClusterName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DedicatedBlockStorageClusterName: The name of the dedicated block storage cluster.
attrDeliveryCapacityRequired
public java.lang.Object getAttrDeliveryCapacity();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DeliveryCapacity: The capacity to be delivered for the dedicated block storage cluster.
Unit: GiB.
attrDescriptionRequired
public java.lang.Object getAttrDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Description: The description of the dedicated block storage cluster.
attrExpiredTimeRequired
public java.lang.Object getAttrExpiredTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ExpiredTime: The expiration time of the dedicated block storage cluster, in the Unix timestamp format, in seconds.
attrPerformanceLevelRequired
public java.lang.Object getAttrPerformanceLevel();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute PerformanceLevel: The performance level of disks.
attrResourceGroupIdRequired
public java.lang.Object getAttrResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
attrSupportedCategoryRequired
public java.lang.Object getAttrSupportedCategory();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute SupportedCategory: This parameter is not supported.
attrTagsRequired
public java.lang.Object getAttrTags();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Tags: The tags of the dedicated block storage cluster.
attrTotalCapacityRequired
public java.lang.Object getAttrTotalCapacity();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute TotalCapacity: The total capacity of the dedicated block storage cluster.
Unit: GiB.
attrTypeRequired
public java.lang.Object getAttrType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Type: The dedicated block storage cluster performance type.
attrUsedCapacityRequired
public java.lang.Object getAttrUsedCapacity();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute UsedCapacity: The used (created disk) capacity of the current cluster, in GB.
attrZoneIdRequired
public java.lang.Object getAttrZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ZoneId: The zone ID of the dedicated block storage cluster.
propsRequired
public DedicatedBlockStorageClusterProps getProps();