// *** 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.Bootscripts
{
    public static class GetBootscript
    {
        public static Task<GetBootscriptResult> InvokeAsync(GetBootscriptArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetBootscriptResult>("scaleway-instances:bootscripts:getBootscript", args ?? new GetBootscriptArgs(), options.WithDefaults());

        public static Output<GetBootscriptResult> Invoke(GetBootscriptInvokeArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<GetBootscriptResult>("scaleway-instances:bootscripts:getBootscript", args ?? new GetBootscriptInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetBootscriptArgs : global::Pulumi.InvokeArgs
    {
        [Input("id", required: true)]
        public string Id { get; set; } = null!;

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

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

    public sealed class GetBootscriptInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("id", required: true)]
        public Input<string> Id { get; set; } = null!;

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

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


    [OutputType]
    public sealed class GetBootscriptResult
    {
        public readonly Outputs.ScalewayInstanceV1GetBootscriptResponse Items;

        [OutputConstructor]
        private GetBootscriptResult(Outputs.ScalewayInstanceV1GetBootscriptResponse items)
        {
            Items = items;
        }
    }
}
