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. |
scope
Required
- Type: com.aliyun.ros.cdk.core.Construct
id
Required
- Type: java.lang.String
enableResourcePropertyConstraint
Optional
- Type: java.lang.Boolean
dedicatedHostGroupId
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dedicatedHostGroupId: Dedicated Host Group ID.
refreshOptions
Optional
- 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. |
node
Required
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public java.lang.String getRef();
- Type: java.lang.String
stack
Required
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
resource
Optional
public RosResource getResource();
- Type: com.aliyun.ros.cdk.core.RosResource
attrAllocationPolicy
Required
public IResolvable getAttrAllocationPolicy();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute AllocationPolicy: Allocation Policy.
attrBastionInstanceId
Required
public IResolvable getAttrBastionInstanceId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute BastionInstanceId: BastionInstanceId.
attrCategory
Required
public IResolvable getAttrCategory();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Category: The dedicated cluster family to which the host belongs.
attrCpuAllocatedAmount
Required
public IResolvable getAttrCpuAllocatedAmount();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CpuAllocatedAmount: CpuAllocatedAmount.
attrCpuAllocateRation
Required
public IResolvable getAttrCpuAllocateRation();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CpuAllocateRation: CpuAllocateRation.
attrCpuAllocationRatio
Required
public IResolvable getAttrCpuAllocationRatio();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CpuAllocationRatio: Cpu Allocation Ratio.
attrCreateTime
Required
public IResolvable getAttrCreateTime();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: Create Time.
attrDedicatedHostCountGroupByHostType
Required
public IResolvable getAttrDedicatedHostCountGroupByHostType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DedicatedHostCountGroupByHostType: DedicatedHostCountGroupByHostType.
attrDedicatedHostGroupDesc
Required
public IResolvable getAttrDedicatedHostGroupDesc();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DedicatedHostGroupDesc: Dedicated Host Group Description.
attrDedicatedHostGroupId
Required
public IResolvable getAttrDedicatedHostGroupId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DedicatedHostGroupId: Dedicated Host Group ID.
attrDeployType
Required
public IResolvable getAttrDeployType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DeployType: DeployType.
attrDiskAllocatedAmount
Required
public IResolvable getAttrDiskAllocatedAmount();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DiskAllocatedAmount: DiskAllocatedAmount.
attrDiskAllocateRation
Required
public IResolvable getAttrDiskAllocateRation();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DiskAllocateRation: DiskAllocateRation.
attrDiskAllocationRatio
Required
public IResolvable getAttrDiskAllocationRatio();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DiskAllocationRatio: Disk Allocation Ratio.
attrDiskUsedAmount
Required
public IResolvable getAttrDiskUsedAmount();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DiskUsedAmount: DiskUsedAmount.
attrDiskUtility
Required
public IResolvable getAttrDiskUtility();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DiskUtility: DiskUtility.
attrEngine
Required
public IResolvable getAttrEngine();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Engine: Database Engine Type.
attrHostNumber
Required
public IResolvable getAttrHostNumber();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute HostNumber: Total Host Number.
attrHostReplacePolicy
Required
public IResolvable getAttrHostReplacePolicy();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute HostReplacePolicy: Host Replace Policy.
attrInstanceNumber
Required
public IResolvable getAttrInstanceNumber();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceNumber: Total Instance Number.
attrMemAllocatedAmount
Required
public IResolvable getAttrMemAllocatedAmount();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute MemAllocatedAmount: MemAllocatedAmount.
attrMemAllocateRation
Required
public IResolvable getAttrMemAllocateRation();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute MemAllocateRation: MemAllocateRation.
attrMemAllocationRatio
Required
public IResolvable getAttrMemAllocationRatio();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute MemAllocationRatio: Memory Allocation Ratio.
attrMemUsedAmount
Required
public IResolvable getAttrMemUsedAmount();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute MemUsedAmount: MemUsedAmount.
attrMemUtility
Required
public IResolvable getAttrMemUtility();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute MemUtility: MemUtility.
attrOpenPermission
Required
public IResolvable getAttrOpenPermission();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute OpenPermission: Whether Open OS Permission.
attrText
Required
public IResolvable getAttrText();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Text: Text.
attrVpcId
Required
public IResolvable getAttrVpcId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute VpcId: VPC ID.
attrZoneIdList
Required
public IResolvable getAttrZoneIdList();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ZoneIdList: ZoneIDList.