// *** 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.Cloud
{
    public static class TCRRepositories
    {
        public static Task<TCRRepositoriesResult> InvokeAsync(TCRRepositoriesArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<TCRRepositoriesResult>("tctest:Cloud/tCRRepositories:TCRRepositories", args ?? new TCRRepositoriesArgs(), options.WithDefaults());

        public static Output<TCRRepositoriesResult> Invoke(TCRRepositoriesInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<TCRRepositoriesResult>("tctest:Cloud/tCRRepositories:TCRRepositories", args ?? new TCRRepositoriesInvokeArgs(), options.WithDefaults());
    }


    public sealed class TCRRepositoriesArgs : Pulumi.InvokeArgs
    {
        [Input("instanceId", required: true)]
        public string InstanceId { get; set; } = null!;

        [Input("namespaceName", required: true)]
        public string NamespaceName { get; set; } = null!;

        [Input("repositoryName")]
        public string? RepositoryName { get; set; }

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

        public TCRRepositoriesArgs()
        {
        }
    }

    public sealed class TCRRepositoriesInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("instanceId", required: true)]
        public Input<string> InstanceId { get; set; } = null!;

        [Input("namespaceName", required: true)]
        public Input<string> NamespaceName { get; set; } = null!;

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

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

        public TCRRepositoriesInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class TCRRepositoriesResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string InstanceId;
        public readonly string NamespaceName;
        public readonly ImmutableArray<Outputs.TCRRepositoriesRepositoryListResult> RepositoryLists;
        public readonly string? RepositoryName;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private TCRRepositoriesResult(
            string id,

            string instanceId,

            string namespaceName,

            ImmutableArray<Outputs.TCRRepositoriesRepositoryListResult> repositoryLists,

            string? repositoryName,

            string? resultOutputFile)
        {
            Id = id;
            InstanceId = instanceId;
            NamespaceName = namespaceName;
            RepositoryLists = repositoryLists;
            RepositoryName = repositoryName;
            ResultOutputFile = resultOutputFile;
        }
    }
}
