// *** 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 luxifer.Scaleway.Outputs
{

    [OutputType]
    public sealed class RdbReadReplicaPrivateNetwork
    {
        /// <summary>
        /// The ID of the endpoint of the read replica.
        /// </summary>
        public readonly string? EndpointId;
        /// <summary>
        /// Hostname of the endpoint. Only one of ip and hostname may be set.
        /// </summary>
        public readonly string? Hostname;
        /// <summary>
        /// IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
        /// </summary>
        public readonly string? Ip;
        /// <summary>
        /// Name of the endpoint.
        /// </summary>
        public readonly string? Name;
        /// <summary>
        /// TCP port of the endpoint.
        /// </summary>
        public readonly int? Port;
        /// <summary>
        /// UUID of the private network to be connected to the read replica.
        /// </summary>
        public readonly string PrivateNetworkId;
        /// <summary>
        /// Endpoint IPv4 address with a CIDR notation. Check documentation about IP and subnet
        /// limitations. (IP network).
        /// </summary>
        public readonly string ServiceIp;
        public readonly string? Zone;

        [OutputConstructor]
        private RdbReadReplicaPrivateNetwork(
            string? endpointId,

            string? hostname,

            string? ip,

            string? name,

            int? port,

            string privateNetworkId,

            string serviceIp,

            string? zone)
        {
            EndpointId = endpointId;
            Hostname = hostname;
            Ip = ip;
            Name = name;
            Port = port;
            PrivateNetworkId = privateNetworkId;
            ServiceIp = serviceIp;
            Zone = zone;
        }
    }
}
