Show / Hide Table of Contents

Class Handshake

Provides a Resource Manager handshake resource. You can invite accounts to join a resource directory for unified management. For information about Resource Manager handshake and how to use it, see What is Resource Manager handshake.

NOTE: Available in v1.82.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    // Add a Resource Manager handshake.
    var example = new AliCloud.ResourceManager.Handshake("example", new AliCloud.ResourceManager.HandshakeArgs
    {
        Note = "test resource manager handshake",
        TargetEntity = "1182775234******",
        TargetType = "Account",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Handshake
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 Handshake : CustomResource

Constructors

View Source

Handshake(String, HandshakeArgs, CustomResourceOptions)

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

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

The unique name of the resource

HandshakeArgs 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

ExpireTime

The expiration time of the invitation.

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

MasterAccountId

Resource account master account ID.

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

MasterAccountName

The name of the main account of the resource directory.

Declaration
public Output<string> MasterAccountName { 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

Note

Remarks. The maximum length is 1024 characters.

Declaration
public Output<string> Note { 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

Invitation status. Valid values: Pending waiting for confirmation, Accepted, Cancelled, Declined, Expired.

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

TargetEntity

Invited account ID or login email.

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

TargetType

Type of account being invited. Valid values: Account, Email.

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

Methods

View Source

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

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

Declaration
public static Handshake Get(string name, Input<string> id, HandshakeState 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.

HandshakeState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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