// *** 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.Volumes
{
    public static class ListVolumesTypes
    {
        public static Task<ListVolumesTypesResult> InvokeAsync(ListVolumesTypesArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<ListVolumesTypesResult>("scaleway-instances:volumes:listVolumesTypes", args ?? new ListVolumesTypesArgs(), options.WithDefaults());

        public static Output<ListVolumesTypesResult> Invoke(ListVolumesTypesInvokeArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<ListVolumesTypesResult>("scaleway-instances:volumes:listVolumesTypes", args ?? new ListVolumesTypesInvokeArgs(), options.WithDefaults());
    }


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

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

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

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


    [OutputType]
    public sealed class ListVolumesTypesResult
    {
        public readonly Outputs.ScalewayInstanceV1ListVolumesTypesResponse Items;

        [OutputConstructor]
        private ListVolumesTypesResult(Outputs.ScalewayInstanceV1ListVolumesTypesResponse items)
        {
            Items = items;
        }
    }
}
