Show / Hide Table of Contents

Class GetAccountAliases

Inheritance
System.Object
GetAccountAliases
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ram
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetAccountAliases

Methods

View Source

InvokeAsync(GetAccountAliasesArgs, InvokeOptions)

This data source provides an alias for the Alibaba Cloud account.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var aliasDs = Output.Create(AliCloud.Ram.GetAccountAliases.InvokeAsync(new AliCloud.Ram.GetAccountAliasesArgs
    {
        OutputFile = "alias.txt",
    }));
    this.AccountAlias = aliasDs.Apply(aliasDs => aliasDs.AccountAlias);
}

[Output("accountAlias")]
public Output<string> AccountAlias { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetAccountAliasesResult> InvokeAsync(GetAccountAliasesArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetAccountAliasesArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetAccountAliasesResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.