// *** 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 DatatransferEndpointSettingsMongoSourceConnectionConnectionOptionsOnPremise
    {
        /// <summary>
        /// Host names of the replica set.
        /// </summary>
        public readonly ImmutableArray<string> Hosts;
        /// <summary>
        /// TCP Port number.
        /// </summary>
        public readonly int? Port;
        /// <summary>
        /// Replica set name.
        /// </summary>
        public readonly string? ReplicaSet;
        /// <summary>
        /// TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
        /// </summary>
        public readonly Outputs.DatatransferEndpointSettingsMongoSourceConnectionConnectionOptionsOnPremiseTlsMode? TlsMode;

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

            int? port,

            string? replicaSet,

            Outputs.DatatransferEndpointSettingsMongoSourceConnectionConnectionOptionsOnPremiseTlsMode? tlsMode)
        {
            Hosts = hosts;
            Port = port;
            ReplicaSet = replicaSet;
            TlsMode = tlsMode;
        }
    }
}
