<filename>sdk/dotnet/Rules/Outputs/ScalewayInstanceV1SecurityGroupRule.cs// *** WARNING: this file was generated by pulumigen. ***
// *** 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.ScalewayInstances.Rules.Outputs
{

    [OutputType]
    public sealed class ScalewayInstanceV1SecurityGroupRule
    {
        public readonly Pulumi.ScalewayInstances.Rules.ScalewayInstanceV1SecurityGroupRuleAction? Action;
        public readonly Outputs.GoogleProtobufUInt32Value? Dest_port_from;
        public readonly Outputs.GoogleProtobufUInt32Value? Dest_port_to;
        public readonly Pulumi.ScalewayInstances.Rules.ScalewayInstanceV1SecurityGroupRuleDirection? Direction;
        public readonly bool? Editable;
        public readonly string? Id;
        /// <summary>
        /// (IP network)
        /// </summary>
        public readonly string? Ip_range;
        public readonly double? Position;
        public readonly Pulumi.ScalewayInstances.Rules.ScalewayInstanceV1SecurityGroupRuleProtocol? Protocol;
        public readonly string? Zone;

        [OutputConstructor]
        private ScalewayInstanceV1SecurityGroupRule(
            Pulumi.ScalewayInstances.Rules.ScalewayInstanceV1SecurityGroupRuleAction? action,

            Outputs.GoogleProtobufUInt32Value? dest_port_from,

            Outputs.GoogleProtobufUInt32Value? dest_port_to,

            Pulumi.ScalewayInstances.Rules.ScalewayInstanceV1SecurityGroupRuleDirection? direction,

            bool? editable,

            string? id,

            string? ip_range,

            double? position,

            Pulumi.ScalewayInstances.Rules.ScalewayInstanceV1SecurityGroupRuleProtocol? protocol,

            string? zone)
        {
            Action = action;
            Dest_port_from = dest_port_from;
            Dest_port_to = dest_port_to;
            Direction = direction;
            Editable = editable;
            Id = id;
            Ip_range = ip_range;
            Position = position;
            Protocol = protocol;
            Zone = zone;
        }
    }
}
