// *** 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
{
    public static class ListDefaultSecurityGroupRules
    {
        public static Task<ListDefaultSecurityGroupRulesResult> InvokeAsync(ListDefaultSecurityGroupRulesArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<ListDefaultSecurityGroupRulesResult>("scaleway-instances:rules:listDefaultSecurityGroupRules", args ?? new ListDefaultSecurityGroupRulesArgs(), options.WithDefaults());

        public static Output<ListDefaultSecurityGroupRulesResult> Invoke(ListDefaultSecurityGroupRulesInvokeArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<ListDefaultSecurityGroupRulesResult>("scaleway-instances:rules:listDefaultSecurityGroupRules", args ?? new ListDefaultSecurityGroupRulesInvokeArgs(), options.WithDefaults());
    }


    public sealed class ListDefaultSecurityGroupRulesArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The zone you want to target
        /// </summary>
        [Input("zone", required: true)]
        public string Zone { get; set; } = null!;

        public ListDefaultSecurityGroupRulesArgs()
        {
        }
        public static new ListDefaultSecurityGroupRulesArgs Empty => new ListDefaultSecurityGroupRulesArgs();
    }

    public sealed class ListDefaultSecurityGroupRulesInvokeArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The zone you want to target
        /// </summary>
        [Input("zone", required: true)]
        public Input<string> Zone { get; set; } = null!;

        public ListDefaultSecurityGroupRulesInvokeArgs()
        {
        }
        public static new ListDefaultSecurityGroupRulesInvokeArgs Empty => new ListDefaultSecurityGroupRulesInvokeArgs();
    }


    [OutputType]
    public sealed class ListDefaultSecurityGroupRulesResult
    {
        public readonly Outputs.ScalewayInstanceV1ListSecurityGroupRulesResponse Items;

        [OutputConstructor]
        private ListDefaultSecurityGroupRulesResult(Outputs.ScalewayInstanceV1ListSecurityGroupRulesResponse items)
        {
            Items = items;
        }
    }
}
