// *** 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.AliCloud.Ram
{
    public static class GetAccountAlias
    {
        public static Task<GetAccountAliasResult> InvokeAsync(GetAccountAliasArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetAccountAliasResult>("alicloud:ram/getAccountAlias:getAccountAlias", args ?? new GetAccountAliasArgs(), options.WithDefaults());

        public static Output<GetAccountAliasResult> Invoke(GetAccountAliasInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetAccountAliasResult>("alicloud:ram/getAccountAlias:getAccountAlias", args ?? new GetAccountAliasInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetAccountAliasArgs : global::Pulumi.InvokeArgs
    {
        [Input("outputFile")]
        public string? OutputFile { get; set; }

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

    public sealed class GetAccountAliasInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("outputFile")]
        public Input<string>? OutputFile { get; set; }

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


    [OutputType]
    public sealed class GetAccountAliasResult
    {
        public readonly string AccountAlias;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? OutputFile;

        [OutputConstructor]
        private GetAccountAliasResult(
            string accountAlias,

            string id,

            string? outputFile)
        {
            AccountAlias = accountAlias;
            Id = id;
            OutputFile = outputFile;
        }
    }
}
