DedicatedHostGroup
This class encapsulates and extends the ROS resource type DATASOURCE::CDDC::DedicatedHostGroup.
Initializers
import com.aliyun.ros.cdk.cddc.datasource.DedicatedHostGroup;
DedicatedHostGroup.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.dedicatedHostGroupId(java.lang.String)
.dedicatedHostGroupId(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. |
dedicatedHostGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dedicatedHostGroupId: Dedicated Host Group ID. |
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
dedicatedHostGroupIdRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dedicatedHostGroupId: Dedicated Host Group ID.
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. |
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
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.cddc.datasource.DedicatedHostGroup;
DedicatedHostGroup.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. |
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. |
attrAllocationPolicy |
com.aliyun.ros.cdk.core.IResolvable |
Attribute AllocationPolicy: Allocation Policy. |
attrBastionInstanceId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute BastionInstanceId: BastionInstanceId. |
attrCategory |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Category: The dedicated cluster family to which the host belongs. |
attrCpuAllocatedAmount |
com.aliyun.ros.cdk.core.IResolvable |
Attribute CpuAllocatedAmount: CpuAllocatedAmount. |
attrCpuAllocateRation |
com.aliyun.ros.cdk.core.IResolvable |
Attribute CpuAllocateRation: CpuAllocateRation. |
attrCpuAllocationRatio |
com.aliyun.ros.cdk.core.IResolvable |
Attribute CpuAllocationRatio: Cpu Allocation Ratio. |
attrCreateTime |
com.aliyun.ros.cdk.core.IResolvable |
Attribute CreateTime: Create Time. |
attrDedicatedHostCountGroupByHostType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute DedicatedHostCountGroupByHostType: DedicatedHostCountGroupByHostType. |
attrDedicatedHostGroupDesc |
com.aliyun.ros.cdk.core.IResolvable |
Attribute DedicatedHostGroupDesc: Dedicated Host Group Description. |
attrDedicatedHostGroupId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute DedicatedHostGroupId: Dedicated Host Group ID. |
attrDeployType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute DeployType: DeployType. |
attrDiskAllocatedAmount |
com.aliyun.ros.cdk.core.IResolvable |
Attribute DiskAllocatedAmount: DiskAllocatedAmount. |
attrDiskAllocateRation |
com.aliyun.ros.cdk.core.IResolvable |
Attribute DiskAllocateRation: DiskAllocateRation. |
attrDiskAllocationRatio |
com.aliyun.ros.cdk.core.IResolvable |
Attribute DiskAllocationRatio: Disk Allocation Ratio. |
attrDiskUsedAmount |
com.aliyun.ros.cdk.core.IResolvable |
Attribute DiskUsedAmount: DiskUsedAmount. |
attrDiskUtility |
com.aliyun.ros.cdk.core.IResolvable |
Attribute DiskUtility: DiskUtility. |
attrEngine |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Engine: Database Engine Type. |
attrHostNumber |
com.aliyun.ros.cdk.core.IResolvable |
Attribute HostNumber: Total Host Number. |
attrHostReplacePolicy |
com.aliyun.ros.cdk.core.IResolvable |
Attribute HostReplacePolicy: Host Replace Policy. |
attrInstanceNumber |
com.aliyun.ros.cdk.core.IResolvable |
Attribute InstanceNumber: Total Instance Number. |
attrMemAllocatedAmount |
com.aliyun.ros.cdk.core.IResolvable |
Attribute MemAllocatedAmount: MemAllocatedAmount. |
attrMemAllocateRation |
com.aliyun.ros.cdk.core.IResolvable |
Attribute MemAllocateRation: MemAllocateRation. |
attrMemAllocationRatio |
com.aliyun.ros.cdk.core.IResolvable |
Attribute MemAllocationRatio: Memory Allocation Ratio. |
attrMemUsedAmount |
com.aliyun.ros.cdk.core.IResolvable |
Attribute MemUsedAmount: MemUsedAmount. |
attrMemUtility |
com.aliyun.ros.cdk.core.IResolvable |
Attribute MemUtility: MemUtility. |
attrOpenPermission |
com.aliyun.ros.cdk.core.IResolvable |
Attribute OpenPermission: Whether Open OS Permission. |
attrText |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Text: Text. |
attrVpcId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute VpcId: VPC ID. |
attrZoneIdList |
com.aliyun.ros.cdk.core.IResolvable |
Attribute ZoneIdList: ZoneIDList. |
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
attrAllocationPolicyRequired
public IResolvable getAttrAllocationPolicy();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute AllocationPolicy: Allocation Policy.
attrBastionInstanceIdRequired
public IResolvable getAttrBastionInstanceId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute BastionInstanceId: BastionInstanceId.
attrCategoryRequired
public IResolvable getAttrCategory();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Category: The dedicated cluster family to which the host belongs.
attrCpuAllocatedAmountRequired
public IResolvable getAttrCpuAllocatedAmount();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CpuAllocatedAmount: CpuAllocatedAmount.
attrCpuAllocateRationRequired
public IResolvable getAttrCpuAllocateRation();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CpuAllocateRation: CpuAllocateRation.
attrCpuAllocationRatioRequired
public IResolvable getAttrCpuAllocationRatio();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CpuAllocationRatio: Cpu Allocation Ratio.
attrCreateTimeRequired
public IResolvable getAttrCreateTime();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: Create Time.
attrDedicatedHostCountGroupByHostTypeRequired
public IResolvable getAttrDedicatedHostCountGroupByHostType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DedicatedHostCountGroupByHostType: DedicatedHostCountGroupByHostType.
attrDedicatedHostGroupDescRequired
public IResolvable getAttrDedicatedHostGroupDesc();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DedicatedHostGroupDesc: Dedicated Host Group Description.
attrDedicatedHostGroupIdRequired
public IResolvable getAttrDedicatedHostGroupId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DedicatedHostGroupId: Dedicated Host Group ID.
attrDeployTypeRequired
public IResolvable getAttrDeployType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DeployType: DeployType.
attrDiskAllocatedAmountRequired
public IResolvable getAttrDiskAllocatedAmount();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DiskAllocatedAmount: DiskAllocatedAmount.
attrDiskAllocateRationRequired
public IResolvable getAttrDiskAllocateRation();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DiskAllocateRation: DiskAllocateRation.
attrDiskAllocationRatioRequired
public IResolvable getAttrDiskAllocationRatio();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DiskAllocationRatio: Disk Allocation Ratio.
attrDiskUsedAmountRequired
public IResolvable getAttrDiskUsedAmount();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DiskUsedAmount: DiskUsedAmount.
attrDiskUtilityRequired
public IResolvable getAttrDiskUtility();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DiskUtility: DiskUtility.
attrEngineRequired
public IResolvable getAttrEngine();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Engine: Database Engine Type.
attrHostNumberRequired
public IResolvable getAttrHostNumber();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute HostNumber: Total Host Number.
attrHostReplacePolicyRequired
public IResolvable getAttrHostReplacePolicy();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute HostReplacePolicy: Host Replace Policy.
attrInstanceNumberRequired
public IResolvable getAttrInstanceNumber();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceNumber: Total Instance Number.
attrMemAllocatedAmountRequired
public IResolvable getAttrMemAllocatedAmount();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute MemAllocatedAmount: MemAllocatedAmount.
attrMemAllocateRationRequired
public IResolvable getAttrMemAllocateRation();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute MemAllocateRation: MemAllocateRation.
attrMemAllocationRatioRequired
public IResolvable getAttrMemAllocationRatio();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute MemAllocationRatio: Memory Allocation Ratio.
attrMemUsedAmountRequired
public IResolvable getAttrMemUsedAmount();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute MemUsedAmount: MemUsedAmount.
attrMemUtilityRequired
public IResolvable getAttrMemUtility();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute MemUtility: MemUtility.
attrOpenPermissionRequired
public IResolvable getAttrOpenPermission();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute OpenPermission: Whether Open OS Permission.
attrTextRequired
public IResolvable getAttrText();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Text: Text.
attrVpcIdRequired
public IResolvable getAttrVpcId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute VpcId: VPC ID.
attrZoneIdListRequired
public IResolvable getAttrZoneIdList();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ZoneIdList: ZoneIDList.