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. |
scope
Required
- Type: @alicloud/ros-cdk-core.Construct
id
Required
- Type: string
props
Required
- Type: DedicatedHostProps
enableResourcePropertyConstraint
Optional
- 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.
- Type: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- 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.
- 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. |
node
Required
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public readonly ref: string;
- Type: string
stack
Required
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resource
Optional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrAutoRenew
Required
public readonly attrAutoRenew: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AutoRenew: Whether Auto Renew.
attrCpuAllocationRatio
Required
public readonly attrCpuAllocationRatio: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CpuAllocationRatio: CPU Allocation Ratio.
attrCpuUsed
Required
public readonly attrCpuUsed: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CpuUsed: CPU Used.
attrDedicatedHostGroupId
Required
public readonly attrDedicatedHostGroupId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DedicatedHostGroupId: Dedicated Host Group ID.
attrDedicatedHostId
Required
public readonly attrDedicatedHostId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DedicatedHostId: The first ID of the resource.
attrDiskAllocationRatio
Required
public readonly attrDiskAllocationRatio: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DiskAllocationRatio: Disk Allocation Ratio.
attrEcsClassCode
Required
public readonly attrEcsClassCode: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute EcsClassCode: ECS Class Code.
attrHostClass
Required
public readonly attrHostClass: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute HostClass: Host Class.
attrHostCpu
Required
public readonly attrHostCpu: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute HostCpu: Host CPU.
attrHostMem
Required
public readonly attrHostMem: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute HostMem: Host Memory.
attrHostName
Required
public readonly attrHostName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute HostName: Host Name.
attrHostStorage
Required
public readonly attrHostStorage: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute HostStorage: Host Storage.
attrHostType
Required
public readonly attrHostType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute HostType: Host Storage Type.
attrImageCategory
Required
public readonly attrImageCategory: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ImageCategory: Host Image Category.
attrIpAddress
Required
public readonly attrIpAddress: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute IpAddress: Host IP Address.
attrMemAllocationRatio
Required
public readonly attrMemAllocationRatio: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MemAllocationRatio: Memory Allocation Ratio.
attrMemoryUsed
Required
public readonly attrMemoryUsed: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MemoryUsed: Host Memory Used.
attrOpenPermission
Required
public readonly attrOpenPermission: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute OpenPermission: Whether Open OS Permission.
attrPaymentType
Required
public readonly attrPaymentType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PaymentType: Payment Type.
attrStorageUsed
Required
public readonly attrStorageUsed: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute StorageUsed: Storage Used.
attrVpcId
Required
public readonly attrVpcId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VpcId: VPC ID.
attrVSwitchId
Required
public readonly attrVSwitchId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VSwitchId: VSwitch ID.
attrZoneId
Required
public readonly attrZoneId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ZoneId: Zone ID.