// *** 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.Availability
{
    public static class GetServerTypesAvailability
    {
        public static Task<GetServerTypesAvailabilityResult> InvokeAsync(GetServerTypesAvailabilityArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetServerTypesAvailabilityResult>("scaleway-instances:availability:getServerTypesAvailability", args ?? new GetServerTypesAvailabilityArgs(), options.WithDefaults());

        public static Output<GetServerTypesAvailabilityResult> Invoke(GetServerTypesAvailabilityInvokeArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<GetServerTypesAvailabilityResult>("scaleway-instances:availability:getServerTypesAvailability", args ?? new GetServerTypesAvailabilityInvokeArgs(), options.WithDefaults());
    }


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

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

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

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


    [OutputType]
    public sealed class GetServerTypesAvailabilityResult
    {
        public readonly Outputs.ScalewayInstanceV1GetServerTypesAvailabilityResponse Items;

        [OutputConstructor]
        private GetServerTypesAvailabilityResult(Outputs.ScalewayInstanceV1GetServerTypesAvailabilityResponse items)
        {
            Items = items;
        }
    }
}
