Skip navigation links
com.tencentcloudapi.as.v20180419.models

Class HostNameSettings

Returns:
HostName Host name of a CVM.
  • A period (.) and hyphen (-) cannot be used as the first and the last characters of HostName, and multiple consecutive hyphens (-) or periods (.) are not allowed.
  • No support for Windows instances.
  • Other types of instances (such as Linux): the name should be a combination of 2 to 40 characters, supports multiple periods (.). The string between two periods can be composed of letters (case insensitive), numbers, and hyphens (-). Note: This field may return null, indicating that no valid values can be obtained.
  • Parameters:
    HostName - Host name of a CVM.
  • A period (.) and hyphen (-) cannot be used as the first and the last characters of HostName, and multiple consecutive hyphens (-) or periods (.) are not allowed.
  • No support for Windows instances.
  • Other types of instances (such as Linux): the name should be a combination of 2 to 40 characters, supports multiple periods (.). The string between two periods can be composed of letters (case insensitive), numbers, and hyphens (-). Note: This field may return null, indicating that no valid values can be obtained.
  • Skip navigation links

    Copyright © 2020. All rights reserved.