<filename>sdk/dotnet/Tencentcloud/Cvm/Outputs/GetChcHostsChcHostSetPlacementResult.cs// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Cvm.Outputs
{

    [OutputType]
    public sealed class GetChcHostsChcHostSetPlacementResult
    {
        /// <summary>
        /// The ID of the CDH to which the instance belongs, only used as an output parameter.
        /// </summary>
        public readonly string HostId;
        /// <summary>
        /// ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
        /// </summary>
        public readonly ImmutableArray<string> HostIds;
        /// <summary>
        /// IPs of the hosts to create CVMs.
        /// </summary>
        public readonly ImmutableArray<string> HostIps;
        /// <summary>
        /// ID of the project to which the instance belongs. This parameter can be obtained from the projectId returned by DescribeProject. If this is left empty, the default project is used.
        /// </summary>
        public readonly int ProjectId;
        /// <summary>
        /// ID of the availability zone where the instance resides. You can call the [DescribeZones](https://www.tencentcloud.com/document/product/213/35071) API and obtain the ID in the returned Zone field.
        /// </summary>
        public readonly string Zone;

        [OutputConstructor]
        private GetChcHostsChcHostSetPlacementResult(
            string hostId,

            ImmutableArray<string> hostIds,

            ImmutableArray<string> hostIps,

            int projectId,

            string zone)
        {
            HostId = hostId;
            HostIds = hostIds;
            HostIps = hostIps;
            ProjectId = projectId;
            Zone = zone;
        }
    }
}
