// *** WARNING: this file was generated by pulumi. ***
// *** 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.AzureNative.Peering.V20221001.Outputs
{

    /// <summary>
    /// The properties that define a direct peering.
    /// </summary>
    [OutputType]
    public sealed class PeeringPropertiesDirectResponse
    {
        /// <summary>
        /// The set of connections that constitute a direct peering.
        /// </summary>
        public readonly ImmutableArray<Outputs.DirectConnectionResponse> Connections;
        /// <summary>
        /// The type of direct peering.
        /// </summary>
        public readonly string? DirectPeeringType;
        /// <summary>
        /// The reference of the peer ASN.
        /// </summary>
        public readonly Outputs.SubResourceResponse? PeerAsn;
        /// <summary>
        /// The flag that indicates whether or not the peering is used for peering service.
        /// </summary>
        public readonly bool UseForPeeringService;

        [OutputConstructor]
        private PeeringPropertiesDirectResponse(
            ImmutableArray<Outputs.DirectConnectionResponse> connections,

            string? directPeeringType,

            Outputs.SubResourceResponse? peerAsn,

            bool useForPeeringService)
        {
            Connections = connections;
            DirectPeeringType = directPeeringType;
            PeerAsn = peerAsn;
            UseForPeeringService = useForPeeringService;
        }
    }
}
