func GetHostAlias(ctx context.Context) (string, error) {
	if !config.IsCloudProviderEnabled(CloudProviderName) {
		return "", fmt.Errorf("cloud provider is disabled by configuration")
	}
	return GetInstanceID(ctx)
}
// GetHostAlias returns the VM ID from the Tencent Metadata api
GetHostAlias returns the VM ID from the Tencent Metadata api
// GetHostAlias returns the VM ID from the Tencent Metadata api
func GetHostAlias(ctx context.Context) (string, error) {
	if !config.IsCloudProviderEnabled(CloudProviderName) {
		return "", fmt.Errorf("cloud provider is disabled by configuration")
	}
	return GetInstanceID(ctx)
}
func GetHostAlias ( ctx context . Context ) ( string , error ) { if ! config . IsCloudProviderEnabled ( CloudProviderName ) { return " " , fmt . Errorf ( " " ) } return GetInstanceID ( ctx ) }
GetHostAlias returns the VM ID from the Tencent Metadata api
GetHostAlias returns the VM ID from the Tencent Metadata api