Show / Hide Table of Contents

Class Account

Provides a Resource Manager Account resource. Member accounts are containers for resources in a resource directory. These accounts isolate resources and serve as organizational units in the resource directory. You can create member accounts in a folder and then manage them in a unified manner. For information about Resource Manager Account and how to use it, see What is Resource Manager Account.

NOTE: Available in v1.83.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    // Add a Resource Manager Account.
    var f1 = new AliCloud.ResourceManager.Folder("f1", new AliCloud.ResourceManager.FolderArgs
    {
        FolderName = "test1",
    });
    var example = new AliCloud.ResourceManager.Account("example", new AliCloud.ResourceManager.AccountArgs
    {
        DisplayName = "RDAccount",
        FolderId = f1.Id,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Account
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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.ResourceManager
Assembly: Pulumi.AliCloud.dll
Syntax
public class Account : CustomResource

Constructors

View Source

Account(String, AccountArgs, CustomResourceOptions)

Create a Account resource with the given unique name, arguments, and options.

Declaration
public Account(string name, AccountArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AccountArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

DisplayName

Member name. The length is 2 ~ 50 characters or Chinese characters, which can include Chinese characters, English letters, numbers, underscores (_), dots (.) And dashes (-).

Declaration
public Output<string> DisplayName { get; }
Property Value
Type Description
Output<System.String>
View Source

FolderId

The ID of the parent folder.

Declaration
public Output<string> FolderId { get; }
Property Value
Type Description
Output<System.String>
View Source

JoinMethod

Ways for members to join the resource directory. Valid values: invited, created.

Declaration
public Output<string> JoinMethod { get; }
Property Value
Type Description
Output<System.String>
View Source

JoinTime

The time when the member joined the resource directory.

Declaration
public Output<string> JoinTime { get; }
Property Value
Type Description
Output<System.String>
View Source

ModifyTime

The modification time of the invitation.

Declaration
public Output<string> ModifyTime { get; }
Property Value
Type Description
Output<System.String>
View Source

PayerAccountId

Settlement account ID. If the value is empty, the current account will be used for settlement.

Declaration
public Output<string> PayerAccountId { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceDirectoryId

Resource directory ID.

Declaration
public Output<string> ResourceDirectoryId { get; }
Property Value
Type Description
Output<System.String>
View Source

Status

Member joining status. Valid values: CreateSuccess,CreateVerifying,CreateFailed,CreateExpired,CreateCancelled,PromoteVerifying,PromoteFailed,PromoteExpired,PromoteCancelled,PromoteSuccess,InviteSuccess,Removed.

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>
View Source

Type

Member type. The value of ResourceAccount indicates the resource account.

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, AccountState, CustomResourceOptions)

Get an existing Account resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Account Get(string name, Input<string> id, AccountState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AccountState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Account
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.