Skip to content

DedicatedHostAccountProps

Properties for defining a DedicatedHostAccount.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cddc-dedicatedhostaccount

Initializer

import com.aliyun.ros.cdk.cddc.DedicatedHostAccountProps;
DedicatedHostAccountProps.builder()
    .accountName(java.lang.String)
    .accountName(IResolvable)
    .accountPassword(java.lang.String)
    .accountPassword(IResolvable)
    .dedicatedHostId(java.lang.String)
    .dedicatedHostId(IResolvable)
//  .accountType(java.lang.String)
//  .accountType(IResolvable)
//  .bastionInstanceId(java.lang.String)
//  .bastionInstanceId(IResolvable)
    .build();

Properties

Name Type Description
accountName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accountName: The name of the account.
accountPassword java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accountPassword: The password for the host account.
dedicatedHostId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dedicatedHostId: The ID of the dedicated host.
accountType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accountType: The type of the account.
bastionInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property bastionInstanceId: The ID of the bastion instance.

accountNameRequired

public java.lang.Object getAccountName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property accountName: The name of the account.


accountPasswordRequired

public java.lang.Object getAccountPassword();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property accountPassword: The password for the host account.

The password must meet the following requirements:

  • The password must be 6 to 32 characters in length.
  • It must contain uppercase letters, lowercase letters, digits, and special characters.
  • Supported special characters: !@#$%^&*()_+-=

If your engine is SQL Server, the password cannot contain the account name (case-insensitive).


dedicatedHostIdRequired

public java.lang.Object getDedicatedHostId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dedicatedHostId: The ID of the dedicated host.


accountTypeOptional

public java.lang.Object getAccountType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property accountType: The type of the account.


bastionInstanceIdOptional

public java.lang.Object getBastionInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property bastionInstanceId: The ID of the bastion instance.