<filename>sdk/dotnet/Cloud/TCRTokens.cs// *** 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 TCRTokens
    {
        public static Task<TCRTokensResult> InvokeAsync(TCRTokensArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<TCRTokensResult>("tctest:Cloud/tCRTokens:TCRTokens", args ?? new TCRTokensArgs(), options.WithDefaults());

        public static Output<TCRTokensResult> Invoke(TCRTokensInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<TCRTokensResult>("tctest:Cloud/tCRTokens:TCRTokens", args ?? new TCRTokensInvokeArgs(), options.WithDefaults());
    }


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

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

        [Input("tokenId")]
        public string? TokenId { get; set; }

        public TCRTokensArgs()
        {
        }
    }

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

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

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

        public TCRTokensInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class TCRTokensResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string InstanceId;
        public readonly string? ResultOutputFile;
        public readonly string? TokenId;
        public readonly ImmutableArray<Outputs.TCRTokensTokenListResult> TokenLists;

        [OutputConstructor]
        private TCRTokensResult(
            string id,

            string instanceId,

            string? resultOutputFile,

            string? tokenId,

            ImmutableArray<Outputs.TCRTokensTokenListResult> tokenLists)
        {
            Id = id;
            InstanceId = instanceId;
            ResultOutputFile = resultOutputFile;
            TokenId = tokenId;
            TokenLists = tokenLists;
        }
    }
}
