Skip to content

DedicatedHostGroup

  • Implements: com.aliyun.ros.cdk.cddc.datasource.IDedicatedHostGroup

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.
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.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • 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)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • 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.

xRequired

  • 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.
attrCategory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Category: The dedicated cluster family to which the host belongs.
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.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: Create Time.
attrDedicatedHostCountGroupByHostType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DedicatedHostCountGroupByHostType: DedicatedHostCountGroupByHostType.
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.
attrZoneIdList java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ZoneIdList: ZoneIDList.
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.


attrCategoryRequired

public java.lang.Object getAttrCategory();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Category: The dedicated cluster family to which the host belongs.


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.


attrCreateTimeRequired

public java.lang.Object getAttrCreateTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CreateTime: Create Time.


attrDedicatedHostCountGroupByHostTypeRequired

public java.lang.Object getAttrDedicatedHostCountGroupByHostType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DedicatedHostCountGroupByHostType: DedicatedHostCountGroupByHostType.


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.


attrZoneIdListRequired

public java.lang.Object getAttrZoneIdList();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ZoneIdList: ZoneIDList.


propsRequired

public DedicatedHostGroupProps getProps();