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

using AlibabaCloud.SDK.ROS.CDK.Cddc;
new DedicatedHost(Construct Scope, string Id, DedicatedHostProps Props, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props DedicatedHostProps No description.
EnableResourcePropertyConstraint bool No description.

ScopeRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct

IdRequired

  • Type: string

PropsRequired


EnableResourcePropertyConstraintOptional

  • Type: bool

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

private string ToString()

Returns a string representation of this construct.

Synthesize

private 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: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession

The synthesis session.


AddCondition

private void AddCondition(RosCondition Condition)

ConditionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition

AddCount

private void AddCount(object Count)

CountRequired

  • Type: object

AddDependency

private void AddDependency(Resource Resource)

ResourceRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource

AddResourceDesc

private void AddResourceDesc(string Desc)

DescRequired

  • Type: string

ApplyRemovalPolicy

private void ApplyRemovalPolicy(RemovalPolicy Policy)

PolicyRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy

GetAtt

private IResolvable GetAtt(string Name)

NameRequired

  • Type: string

SetMetadata

private void SetMetadata(string Key, object Value)

KeyRequired

  • Type: string

ValueRequired

  • Type: object

Static Functions

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

IsConstruct

using AlibabaCloud.SDK.ROS.CDK.Cddc;
DedicatedHost.IsConstruct(object X);

Return whether the given object is a Construct.

XRequired

  • Type: object

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node associated with this construct.
Ref string No description.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
Resource AlibabaCloud.SDK.ROS.CDK.Core.RosResource No description.
AttrAutoRenew AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute AutoRenew: Whether Auto Renew.
AttrCpuAllocationRatio AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CpuAllocationRatio: CPU Allocation Ratio.
AttrCpuUsed AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CpuUsed: CPU Used.
AttrDedicatedHostGroupId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DedicatedHostGroupId: Dedicated Host Group ID.
AttrDedicatedHostId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DedicatedHostId: The first ID of the resource.
AttrDiskAllocationRatio AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DiskAllocationRatio: Disk Allocation Ratio.
AttrEcsClassCode AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute EcsClassCode: ECS Class Code.
AttrHostClass AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute HostClass: Host Class.
AttrHostCpu AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute HostCpu: Host CPU.
AttrHostMem AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute HostMem: Host Memory.
AttrHostName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute HostName: Host Name.
AttrHostStorage AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute HostStorage: Host Storage.
AttrHostType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute HostType: Host Storage Type.
AttrImageCategory AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ImageCategory: Host Image Category.
AttrIpAddress AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute IpAddress: Host IP Address.
AttrMemAllocationRatio AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute MemAllocationRatio: Memory Allocation Ratio.
AttrMemoryUsed AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute MemoryUsed: Host Memory Used.
AttrOpenPermission AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute OpenPermission: Whether Open OS Permission.
AttrPaymentType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PaymentType: Payment Type.
AttrStorageUsed AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute StorageUsed: Storage Used.
AttrVpcId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute VpcId: VPC ID.
AttrVSwitchId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute VSwitchId: VSwitch ID.
AttrZoneId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ZoneId: Zone ID.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node associated with this construct.


RefRequired

public string Ref { get; }
  • Type: string

StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


ResourceOptional

public RosResource Resource { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource

AttrAutoRenewRequired

public IResolvable AttrAutoRenew { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute AutoRenew: Whether Auto Renew.


AttrCpuAllocationRatioRequired

public IResolvable AttrCpuAllocationRatio { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute CpuAllocationRatio: CPU Allocation Ratio.


AttrCpuUsedRequired

public IResolvable AttrCpuUsed { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute CpuUsed: CPU Used.


AttrDedicatedHostGroupIdRequired

public IResolvable AttrDedicatedHostGroupId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute DedicatedHostGroupId: Dedicated Host Group ID.


AttrDedicatedHostIdRequired

public IResolvable AttrDedicatedHostId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute DedicatedHostId: The first ID of the resource.


AttrDiskAllocationRatioRequired

public IResolvable AttrDiskAllocationRatio { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute DiskAllocationRatio: Disk Allocation Ratio.


AttrEcsClassCodeRequired

public IResolvable AttrEcsClassCode { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute EcsClassCode: ECS Class Code.


AttrHostClassRequired

public IResolvable AttrHostClass { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute HostClass: Host Class.


AttrHostCpuRequired

public IResolvable AttrHostCpu { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute HostCpu: Host CPU.


AttrHostMemRequired

public IResolvable AttrHostMem { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute HostMem: Host Memory.


AttrHostNameRequired

public IResolvable AttrHostName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute HostName: Host Name.


AttrHostStorageRequired

public IResolvable AttrHostStorage { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute HostStorage: Host Storage.


AttrHostTypeRequired

public IResolvable AttrHostType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute HostType: Host Storage Type.


AttrImageCategoryRequired

public IResolvable AttrImageCategory { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ImageCategory: Host Image Category.


AttrIpAddressRequired

public IResolvable AttrIpAddress { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute IpAddress: Host IP Address.


AttrMemAllocationRatioRequired

public IResolvable AttrMemAllocationRatio { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute MemAllocationRatio: Memory Allocation Ratio.


AttrMemoryUsedRequired

public IResolvable AttrMemoryUsed { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute MemoryUsed: Host Memory Used.


AttrOpenPermissionRequired

public IResolvable AttrOpenPermission { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute OpenPermission: Whether Open OS Permission.


AttrPaymentTypeRequired

public IResolvable AttrPaymentType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute PaymentType: Payment Type.


AttrStorageUsedRequired

public IResolvable AttrStorageUsed { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute StorageUsed: Storage Used.


AttrVpcIdRequired

public IResolvable AttrVpcId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute VpcId: VPC ID.


AttrVSwitchIdRequired

public IResolvable AttrVSwitchId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute VSwitchId: VSwitch ID.


AttrZoneIdRequired

public IResolvable AttrZoneId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ZoneId: Zone ID.