<filename>sdk/dotnet/Ssm/Secrets.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.Ssm
{
    public static class Secrets
    {
        public static Task<SecretsResult> InvokeAsync(SecretsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<SecretsResult>("tctest:Ssm/secrets:Secrets", args ?? new SecretsArgs(), options.WithDefaults());

        public static Output<SecretsResult> Invoke(SecretsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<SecretsResult>("tctest:Ssm/secrets:Secrets", args ?? new SecretsInvokeArgs(), options.WithDefaults());
    }


    public sealed class SecretsArgs : Pulumi.InvokeArgs
    {
        [Input("orderType")]
        public int? OrderType { get; set; }

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

        [Input("secretName")]
        public string? SecretName { get; set; }

        [Input("state")]
        public int? State { get; set; }

        [Input("tags")]
        private Dictionary<string, object>? _tags;
        public Dictionary<string, object> Tags
        {
            get => _tags ?? (_tags = new Dictionary<string, object>());
            set => _tags = value;
        }

        public SecretsArgs()
        {
        }
    }

    public sealed class SecretsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("orderType")]
        public Input<int>? OrderType { get; set; }

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

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

        [Input("state")]
        public Input<int>? State { get; set; }

        [Input("tags")]
        private InputMap<object>? _tags;
        public InputMap<object> Tags
        {
            get => _tags ?? (_tags = new InputMap<object>());
            set => _tags = value;
        }

        public SecretsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class SecretsResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly int? OrderType;
        public readonly string? ResultOutputFile;
        public readonly ImmutableArray<Outputs.SecretsSecretListResult> SecretLists;
        public readonly string? SecretName;
        public readonly int? State;
        public readonly ImmutableDictionary<string, object>? Tags;

        [OutputConstructor]
        private SecretsResult(
            string id,

            int? orderType,

            string? resultOutputFile,

            ImmutableArray<Outputs.SecretsSecretListResult> secretLists,

            string? secretName,

            int? state,

            ImmutableDictionary<string, object>? tags)
        {
            Id = id;
            OrderType = orderType;
            ResultOutputFile = resultOutputFile;
            SecretLists = secretLists;
            SecretName = secretName;
            State = state;
            Tags = tags;
        }
    }
}
