DedicatedHostArgs

data class DedicatedHostArgs(val allocationStatus: Output<String>? = null, val autoRenew: Output<Boolean>? = null, val dedicatedHostGroupId: Output<String>? = null, val hostClass: Output<String>? = null, val hostName: Output<String>? = null, val imageCategory: Output<String>? = null, val osPassword: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val usedTime: Output<Int>? = null, val vswitchId: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<DedicatedHostArgs>

Import

ApsaraDB for MyBase Dedicated Host can be imported using the id, e.g.

$ pulumi import alicloud:cddc/dedicatedHost:DedicatedHost example <dedicated_host_group_id>:<dedicated_host_id>

Constructors

Link copied to clipboard
constructor(allocationStatus: Output<String>? = null, autoRenew: Output<Boolean>? = null, dedicatedHostGroupId: Output<String>? = null, hostClass: Output<String>? = null, hostName: Output<String>? = null, imageCategory: Output<String>? = null, osPassword: Output<String>? = null, paymentType: Output<String>? = null, period: Output<String>? = null, tags: Output<Map<String, String>>? = null, usedTime: Output<Int>? = null, vswitchId: Output<String>? = null, zoneId: Output<String>? = null)

Properties

Link copied to clipboard
val allocationStatus: Output<String>? = null

Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.

Link copied to clipboard
val autoRenew: Output<Boolean>? = null

Specifies whether to enable the auto-renewal feature.

Link copied to clipboard
val dedicatedHostGroupId: Output<String>? = null

The ID of the dedicated cluster.

Link copied to clipboard
val hostClass: Output<String>? = null

The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.

Link copied to clipboard
val hostName: Output<String>? = null

The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.

Link copied to clipboard
val imageCategory: Output<String>? = null

Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.

Link copied to clipboard
val osPassword: Output<String>? = null

Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.

Link copied to clipboard
val paymentType: Output<String>? = null

The payment type of the resource. Valid values: Subscription.

Link copied to clipboard
val period: Output<String>? = null

The unit of the subscription duration. Valid values: Year, Month, Week.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.

Link copied to clipboard
val usedTime: Output<Int>? = null

The subscription duration of the host. Valid values:

Link copied to clipboard
val vswitchId: Output<String>? = null

The ID of the vSwitch to which the host is connected.

Link copied to clipboard
val zoneId: Output<String>? = null

The ID of the zone.

Functions

Link copied to clipboard
open override fun toJava(): DedicatedHostArgs