<filename>sdk/dotnet/MongoDB/Outputs/InstanceReplicaSet.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;

namespace Pulumi.AliCloud.MongoDB.Outputs
{

    [OutputType]
    public sealed class InstanceReplicaSet
    {
        /// <summary>
        /// The connection address of the node.
        /// </summary>
        public readonly string? ConnectionDomain;
        /// <summary>
        /// The connection port of the node.
        /// </summary>
        public readonly string? ConnectionPort;
        /// <summary>
        /// The network type of the instance. Valid values:`Classic` or `VPC`. Default value: `Classic`.
        /// </summary>
        public readonly string? NetworkType;
        /// <summary>
        /// The role of the node. Valid values: `Primary`,`Secondary`.
        /// </summary>
        public readonly string? ReplicaSetRole;
        /// <summary>
        /// VPC instance ID.
        /// </summary>
        public readonly string? VpcCloudInstanceId;
        /// <summary>
        /// The ID of the VPC. &gt; **NOTE:** This parameter is valid only when NetworkType is set to VPC.
        /// </summary>
        public readonly string? VpcId;
        /// <summary>
        /// The virtual switch ID to launch DB instances in one VPC.
        /// </summary>
        public readonly string? VswitchId;

        [OutputConstructor]
        private InstanceReplicaSet(
            string? connectionDomain,

            string? connectionPort,

            string? networkType,

            string? replicaSetRole,

            string? vpcCloudInstanceId,

            string? vpcId,

            string? vswitchId)
        {
            ConnectionDomain = connectionDomain;
            ConnectionPort = connectionPort;
            NetworkType = networkType;
            ReplicaSetRole = replicaSetRole;
            VpcCloudInstanceId = vpcCloudInstanceId;
            VpcId = vpcId;
            VswitchId = vswitchId;
        }
    }
}
