// *** 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.TailscaleNative.Device
{
    public static class GetRoutes
    {
        public static Task<GetRoutesResult> InvokeAsync(GetRoutesArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetRoutesResult>("tailscale-native:device:getRoutes", args ?? new GetRoutesArgs(), options.WithDefaults());

        public static Output<GetRoutesResult> Invoke(GetRoutesInvokeArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<GetRoutesResult>("tailscale-native:device:getRoutes", args ?? new GetRoutesInvokeArgs(), options.WithDefaults());
    }


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

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

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

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


    [OutputType]
    public sealed class GetRoutesResult
    {
        public readonly Outputs.DeviceRoutes Items;

        [OutputConstructor]
        private GetRoutesResult(Outputs.DeviceRoutes items)
        {
            Items = items;
        }
    }
}
