// *** 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;

namespace Pulumi.Yandex.Outputs
{

    [OutputType]
    public sealed class DatatransferEndpointSettingsMysqlSourceConnectionOnPremise
    {
        /// <summary>
        /// Host names of the replica set.
        /// </summary>
        public readonly ImmutableArray<string> Hosts;
        /// <summary>
        /// TCP Port number.
        /// </summary>
        public readonly int? Port;
        /// <summary>
        /// Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
        /// </summary>
        public readonly string? SubnetId;
        /// <summary>
        /// TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
        /// </summary>
        public readonly Outputs.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsMode? TlsMode;

        [OutputConstructor]
        private DatatransferEndpointSettingsMysqlSourceConnectionOnPremise(
            ImmutableArray<string> hosts,

            int? port,

            string? subnetId,

            Outputs.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsMode? tlsMode)
        {
            Hosts = hosts;
            Port = port;
            SubnetId = subnetId;
            TlsMode = tlsMode;
        }
    }
}
