// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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.Tctest.Scf
{
    public static class Namespaces
    {
        public static Task<NamespacesResult> InvokeAsync(NamespacesArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<NamespacesResult>("tctest:Scf/namespaces:Namespaces", args ?? new NamespacesArgs(), options.WithDefaults());

        public static Output<NamespacesResult> Invoke(NamespacesInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<NamespacesResult>("tctest:Scf/namespaces:Namespaces", args ?? new NamespacesInvokeArgs(), options.WithDefaults());
    }


    public sealed class NamespacesArgs : Pulumi.InvokeArgs
    {
        [Input("description")]
        public string? Description { get; set; }

        [Input("namespace")]
        public string? Namespace { get; set; }

        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        public NamespacesArgs()
        {
        }
    }

    public sealed class NamespacesInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("description")]
        public Input<string>? Description { get; set; }

        [Input("namespace")]
        public Input<string>? Namespace { get; set; }

        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        public NamespacesInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class NamespacesResult
    {
        public readonly string? Description;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? Namespace;
        public readonly ImmutableArray<Outputs.NamespacesNamespaceResult> Namespaces;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private NamespacesResult(
            string? description,

            string id,

            string? @namespace,

            ImmutableArray<Outputs.NamespacesNamespaceResult> namespaces,

            string? resultOutputFile)
        {
            Description = description;
            Id = id;
            Namespace = @namespace;
            Namespaces = namespaces;
            ResultOutputFile = resultOutputFile;
        }
    }
}
