DedicatedHostGroup
- Implements: IDedicatedHostGroup
This class encapsulates and extends the ROS resource type ALIYUN::CDDC::DedicatedHostGroup.
Initializers
import com.aliyun.ros.cdk.cddc.DedicatedHostGroup;
DedicatedHostGroup.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.engine(java.lang.String)
.engine(IResolvable)
.vpcId(java.lang.String)
.vpcId(IResolvable)
// .allocationPolicy(java.lang.String)
// .allocationPolicy(IResolvable)
// .cpuAllocationRatio(java.lang.Number)
// .cpuAllocationRatio(IResolvable)
// .dedicatedHostGroupDesc(java.lang.String)
// .dedicatedHostGroupDesc(IResolvable)
// .diskAllocationRatio(java.lang.Number)
// .diskAllocationRatio(IResolvable)
// .hostReplacePolicy(java.lang.String)
// .hostReplacePolicy(IResolvable)
// .memAllocationRatio(java.lang.Number)
// .memAllocationRatio(IResolvable)
// .openPermission(java.lang.String)
// .openPermission(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. |
engine | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property engine: Database Engine Type. |
vpcId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property vpcId: VPC ID. |
allocationPolicy | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property allocationPolicy: Allocation Policy. |
cpuAllocationRatio | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property cpuAllocationRatio: Cpu Allocation Ratio. |
dedicatedHostGroupDesc | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dedicatedHostGroupDesc: Dedicated Host Group Description. |
diskAllocationRatio | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property diskAllocationRatio: Disk Allocation Ratio. |
hostReplacePolicy | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property hostReplacePolicy: Host Replace Policy. |
memAllocationRatio | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property memAllocationRatio: Memory Allocation Ratio. |
openPermission | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property openPermission: Whether Open OS Permission. |
scopeRequired
- Type: com.aliyun.ros.cdk.core.Construct
idRequired
- Type: java.lang.String
enableResourcePropertyConstraintOptional
- Type: java.lang.Boolean
engineRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property engine: Database Engine Type.
vpcIdRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcId: VPC ID.
allocationPolicyOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property allocationPolicy: Allocation Policy.
cpuAllocationRatioOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property cpuAllocationRatio: Cpu Allocation Ratio.
dedicatedHostGroupDescOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dedicatedHostGroupDesc: Dedicated Host Group Description.
diskAllocationRatioOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property diskAllocationRatio: Disk Allocation Ratio.
hostReplacePolicyOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property hostReplacePolicy: Host Replace Policy.
memAllocationRatioOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property memAllocationRatio: Memory Allocation Ratio.
openPermissionOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property openPermission: Whether Open OS Permission.
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.cddc.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. |
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. |
attrAllocationPolicy | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute AllocationPolicy: Allocation Policy. |
attrBastionInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute BastionInstanceId: BastionInstanceId. |
attrCpuAllocatedAmount | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CpuAllocatedAmount: CpuAllocatedAmount. |
attrCpuAllocateRation | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CpuAllocateRation: CpuAllocateRation. |
attrCpuAllocationRatio | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CpuAllocationRatio: Cpu Allocation Ratio. |
attrDedicatedHostGroupDesc | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DedicatedHostGroupDesc: Dedicated Host Group Description. |
attrDedicatedHostGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DedicatedHostGroupId: Dedicated Host Group ID. |
attrDeployType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DeployType: DeployType. |
attrDiskAllocatedAmount | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DiskAllocatedAmount: DiskAllocatedAmount. |
attrDiskAllocateRation | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DiskAllocateRation: DiskAllocateRation. |
attrDiskAllocationRatio | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DiskAllocationRatio: Disk Allocation Ratio. |
attrDiskUsedAmount | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DiskUsedAmount: DiskUsedAmount. |
attrDiskUtility | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DiskUtility: DiskUtility. |
attrEngine | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Engine: Database Engine Type. |
attrHostNumber | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute HostNumber: Total Host Number. |
attrHostReplacePolicy | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute HostReplacePolicy: Host Replace Policy. |
attrInstanceNumber | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute InstanceNumber: Total Instance Number. |
attrMemAllocatedAmount | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MemAllocatedAmount: MemAllocatedAmount. |
attrMemAllocateRation | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MemAllocateRation: MemAllocateRation. |
attrMemAllocationRatio | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MemAllocationRatio: Memory Allocation Ratio. |
attrMemUsedAmount | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MemUsedAmount: MemUsedAmount. |
attrMemUtility | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MemUtility: MemUtility. |
attrOpenPermission | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute OpenPermission: Whether Open OS Permission. |
attrText | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Text: Text. |
attrVpcId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute VpcId: VPC ID. |
props | DedicatedHostGroupProps | 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
attrAllocationPolicyRequired
public java.lang.Object getAttrAllocationPolicy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute AllocationPolicy: Allocation Policy.
attrBastionInstanceIdRequired
public java.lang.Object getAttrBastionInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute BastionInstanceId: BastionInstanceId.
attrCpuAllocatedAmountRequired
public java.lang.Object getAttrCpuAllocatedAmount();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CpuAllocatedAmount: CpuAllocatedAmount.
attrCpuAllocateRationRequired
public java.lang.Object getAttrCpuAllocateRation();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CpuAllocateRation: CpuAllocateRation.
attrCpuAllocationRatioRequired
public java.lang.Object getAttrCpuAllocationRatio();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CpuAllocationRatio: Cpu Allocation Ratio.
attrDedicatedHostGroupDescRequired
public java.lang.Object getAttrDedicatedHostGroupDesc();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DedicatedHostGroupDesc: Dedicated Host Group Description.
attrDedicatedHostGroupIdRequired
public java.lang.Object getAttrDedicatedHostGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DedicatedHostGroupId: Dedicated Host Group ID.
attrDeployTypeRequired
public java.lang.Object getAttrDeployType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DeployType: DeployType.
attrDiskAllocatedAmountRequired
public java.lang.Object getAttrDiskAllocatedAmount();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DiskAllocatedAmount: DiskAllocatedAmount.
attrDiskAllocateRationRequired
public java.lang.Object getAttrDiskAllocateRation();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DiskAllocateRation: DiskAllocateRation.
attrDiskAllocationRatioRequired
public java.lang.Object getAttrDiskAllocationRatio();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DiskAllocationRatio: Disk Allocation Ratio.
attrDiskUsedAmountRequired
public java.lang.Object getAttrDiskUsedAmount();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DiskUsedAmount: DiskUsedAmount.
attrDiskUtilityRequired
public java.lang.Object getAttrDiskUtility();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DiskUtility: DiskUtility.
attrEngineRequired
public java.lang.Object getAttrEngine();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Engine: Database Engine Type.
attrHostNumberRequired
public java.lang.Object getAttrHostNumber();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute HostNumber: Total Host Number.
attrHostReplacePolicyRequired
public java.lang.Object getAttrHostReplacePolicy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute HostReplacePolicy: Host Replace Policy.
attrInstanceNumberRequired
public java.lang.Object getAttrInstanceNumber();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceNumber: Total Instance Number.
attrMemAllocatedAmountRequired
public java.lang.Object getAttrMemAllocatedAmount();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MemAllocatedAmount: MemAllocatedAmount.
attrMemAllocateRationRequired
public java.lang.Object getAttrMemAllocateRation();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MemAllocateRation: MemAllocateRation.
attrMemAllocationRatioRequired
public java.lang.Object getAttrMemAllocationRatio();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MemAllocationRatio: Memory Allocation Ratio.
attrMemUsedAmountRequired
public java.lang.Object getAttrMemUsedAmount();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MemUsedAmount: MemUsedAmount.
attrMemUtilityRequired
public java.lang.Object getAttrMemUtility();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MemUtility: MemUtility.
attrOpenPermissionRequired
public java.lang.Object getAttrOpenPermission();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute OpenPermission: Whether Open OS Permission.
attrTextRequired
public java.lang.Object getAttrText();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Text: Text.
attrVpcIdRequired
public java.lang.Object getAttrVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute VpcId: VPC ID.
propsRequired
public DedicatedHostGroupProps getProps();
- Type: DedicatedHostGroupProps