DedicatedHostAccountArgs

data class DedicatedHostAccountArgs(val accountName: Output<String>? = null, val accountPassword: Output<String>? = null, val accountType: Output<String>? = null, val dedicatedHostId: Output<String>? = null) : ConvertibleToJava<DedicatedHostAccountArgs>

Provides a ApsaraDB for MyBase Dedicated Host Account resource. For information about ApsaraDB for MyBase Dedicated Host Account and how to use it, see What is Dedicated Host Account.

NOTE: Available in v1.148.0+. NOTE: Each Dedicated host can have only one account. Before you create an account for a host, make sure that the existing account is deleted.

Import

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

$ pulumi import alicloud:cddc/dedicatedHostAccount:DedicatedHostAccount example <dedicated_host_id>:<account_name>

Constructors

Link copied to clipboard
fun DedicatedHostAccountArgs(accountName: Output<String>? = null, accountPassword: Output<String>? = null, accountType: Output<String>? = null, dedicatedHostId: Output<String>? = null)

Functions

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

Properties

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

The name of the Dedicated host account. The account name must be 2 to 16 characters in length, contain lower case letters, digits, and underscore(_). At the same time, the name must start with a letter and end with a letter or number.

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

The password of the Dedicated host account. The account password must be 6 to 32 characters in length, and can contain letters, digits, and special characters !@#$%^&*()_+-=.

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

The type of the Dedicated host account. Valid values: Admin, Normal.

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

The ID of Dedicated the host.