<reponame>Regrau/pulumi-yandex// *** 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 VpcSecurityGroupEgress
    {
        /// <summary>
        /// Description of the security group.
        /// </summary>
        public readonly string? Description;
        public readonly int? FromPort;
        /// <summary>
        /// Id of the rule.
        /// </summary>
        public readonly string? Id;
        /// <summary>
        /// Labels to assign to this security group.
        /// </summary>
        public readonly ImmutableDictionary<string, string>? Labels;
        public readonly int? Port;
        public readonly string? PredefinedTarget;
        public readonly string Protocol;
        public readonly string? SecurityGroupId;
        public readonly int? ToPort;
        public readonly ImmutableArray<string> V4CidrBlocks;
        public readonly ImmutableArray<string> V6CidrBlocks;

        [OutputConstructor]
        private VpcSecurityGroupEgress(
            string? description,

            int? fromPort,

            string? id,

            ImmutableDictionary<string, string>? labels,

            int? port,

            string? predefinedTarget,

            string protocol,

            string? securityGroupId,

            int? toPort,

            ImmutableArray<string> v4CidrBlocks,

            ImmutableArray<string> v6CidrBlocks)
        {
            Description = description;
            FromPort = fromPort;
            Id = id;
            Labels = labels;
            Port = port;
            PredefinedTarget = predefinedTarget;
            Protocol = protocol;
            SecurityGroupId = securityGroupId;
            ToPort = toPort;
            V4CidrBlocks = v4CidrBlocks;
            V6CidrBlocks = v6CidrBlocks;
        }
    }
}
