Skip to content

DedicatedHost

This class encapsulates and extends the ROS resource type ALIYUN::CDDC::DedicatedHost, which is used to create a host in a dedicated cluster.

Initializers

import { DedicatedHost } from '@alicloud/ros-cdk-cddc'
new DedicatedHost(scope: Construct, id: string, props: DedicatedHostProps, enableResourcePropertyConstraint?: boolean)
Name Type Description
scope @alicloud/ros-cdk-core.Construct No description.
id string No description.
props DedicatedHostProps No description.
enableResourcePropertyConstraint boolean No description.

scopeRequired

  • Type: @alicloud/ros-cdk-core.Construct

idRequired

  • Type: string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: boolean

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 toString(): string

Returns a string representation of this construct.

synthesize

public synthesize(session: ISynthesisSession): void

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: @alicloud/ros-cdk-core.ISynthesisSession

The synthesis session.


addCondition

public addCondition(condition: RosCondition): void

conditionRequired

  • Type: @alicloud/ros-cdk-core.RosCondition

addCount

public addCount(count: number | IResolvable): void

countRequired

  • Type: number | @alicloud/ros-cdk-core.IResolvable

addDependency

public addDependency(resource: Resource): void

resourceRequired

  • Type: @alicloud/ros-cdk-core.Resource

addResourceDesc

public addResourceDesc(desc: string): void

descRequired

  • Type: string

applyRemovalPolicy

public applyRemovalPolicy(policy: RemovalPolicy): void

policyRequired

  • Type: @alicloud/ros-cdk-core.RemovalPolicy

getAtt

public getAtt(name: string): IResolvable

nameRequired

  • Type: string

setMetadata

public setMetadata(key: string, value: any): void

keyRequired

  • Type: string

valueRequired

  • Type: any

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import { DedicatedHost } from '@alicloud/ros-cdk-cddc'
DedicatedHost.isConstruct(x: any)

Return whether the given object is a Construct.

xRequired

  • Type: any

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node associated with this construct.
ref string No description.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
resource @alicloud/ros-cdk-core.RosResource No description.
attrAutoRenew @alicloud/ros-cdk-core.IResolvable Attribute AutoRenew: Whether Auto Renew.
attrCpuAllocationRatio @alicloud/ros-cdk-core.IResolvable Attribute CpuAllocationRatio: CPU Allocation Ratio.
attrCpuUsed @alicloud/ros-cdk-core.IResolvable Attribute CpuUsed: CPU Used.
attrDedicatedHostGroupId @alicloud/ros-cdk-core.IResolvable Attribute DedicatedHostGroupId: Dedicated Host Group ID.
attrDedicatedHostId @alicloud/ros-cdk-core.IResolvable Attribute DedicatedHostId: The first ID of the resource.
attrDiskAllocationRatio @alicloud/ros-cdk-core.IResolvable Attribute DiskAllocationRatio: Disk Allocation Ratio.
attrEcsClassCode @alicloud/ros-cdk-core.IResolvable Attribute EcsClassCode: ECS Class Code.
attrHostClass @alicloud/ros-cdk-core.IResolvable Attribute HostClass: Host Class.
attrHostCpu @alicloud/ros-cdk-core.IResolvable Attribute HostCpu: Host CPU.
attrHostMem @alicloud/ros-cdk-core.IResolvable Attribute HostMem: Host Memory.
attrHostName @alicloud/ros-cdk-core.IResolvable Attribute HostName: Host Name.
attrHostStorage @alicloud/ros-cdk-core.IResolvable Attribute HostStorage: Host Storage.
attrHostType @alicloud/ros-cdk-core.IResolvable Attribute HostType: Host Storage Type.
attrImageCategory @alicloud/ros-cdk-core.IResolvable Attribute ImageCategory: Host Image Category.
attrIpAddress @alicloud/ros-cdk-core.IResolvable Attribute IpAddress: Host IP Address.
attrMemAllocationRatio @alicloud/ros-cdk-core.IResolvable Attribute MemAllocationRatio: Memory Allocation Ratio.
attrMemoryUsed @alicloud/ros-cdk-core.IResolvable Attribute MemoryUsed: Host Memory Used.
attrOpenPermission @alicloud/ros-cdk-core.IResolvable Attribute OpenPermission: Whether Open OS Permission.
attrPaymentType @alicloud/ros-cdk-core.IResolvable Attribute PaymentType: Payment Type.
attrStorageUsed @alicloud/ros-cdk-core.IResolvable Attribute StorageUsed: Storage Used.
attrVpcId @alicloud/ros-cdk-core.IResolvable Attribute VpcId: VPC ID.
attrVSwitchId @alicloud/ros-cdk-core.IResolvable Attribute VSwitchId: VSwitch ID.
attrZoneId @alicloud/ros-cdk-core.IResolvable Attribute ZoneId: Zone ID.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node associated with this construct.


refRequired

public readonly ref: string;
  • Type: string

stackRequired

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


resourceOptional

public readonly resource: RosResource;
  • Type: @alicloud/ros-cdk-core.RosResource

attrAutoRenewRequired

public readonly attrAutoRenew: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute AutoRenew: Whether Auto Renew.


attrCpuAllocationRatioRequired

public readonly attrCpuAllocationRatio: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute CpuAllocationRatio: CPU Allocation Ratio.


attrCpuUsedRequired

public readonly attrCpuUsed: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute CpuUsed: CPU Used.


attrDedicatedHostGroupIdRequired

public readonly attrDedicatedHostGroupId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute DedicatedHostGroupId: Dedicated Host Group ID.


attrDedicatedHostIdRequired

public readonly attrDedicatedHostId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute DedicatedHostId: The first ID of the resource.


attrDiskAllocationRatioRequired

public readonly attrDiskAllocationRatio: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute DiskAllocationRatio: Disk Allocation Ratio.


attrEcsClassCodeRequired

public readonly attrEcsClassCode: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute EcsClassCode: ECS Class Code.


attrHostClassRequired

public readonly attrHostClass: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute HostClass: Host Class.


attrHostCpuRequired

public readonly attrHostCpu: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute HostCpu: Host CPU.


attrHostMemRequired

public readonly attrHostMem: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute HostMem: Host Memory.


attrHostNameRequired

public readonly attrHostName: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute HostName: Host Name.


attrHostStorageRequired

public readonly attrHostStorage: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute HostStorage: Host Storage.


attrHostTypeRequired

public readonly attrHostType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute HostType: Host Storage Type.


attrImageCategoryRequired

public readonly attrImageCategory: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ImageCategory: Host Image Category.


attrIpAddressRequired

public readonly attrIpAddress: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute IpAddress: Host IP Address.


attrMemAllocationRatioRequired

public readonly attrMemAllocationRatio: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute MemAllocationRatio: Memory Allocation Ratio.


attrMemoryUsedRequired

public readonly attrMemoryUsed: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute MemoryUsed: Host Memory Used.


attrOpenPermissionRequired

public readonly attrOpenPermission: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute OpenPermission: Whether Open OS Permission.


attrPaymentTypeRequired

public readonly attrPaymentType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute PaymentType: Payment Type.


attrStorageUsedRequired

public readonly attrStorageUsed: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute StorageUsed: Storage Used.


attrVpcIdRequired

public readonly attrVpcId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VpcId: VPC ID.


attrVSwitchIdRequired

public readonly attrVSwitchId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VSwitchId: VSwitch ID.


attrZoneIdRequired

public readonly attrZoneId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ZoneId: Zone ID.