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",
});
}
}
Inherited Members
Namespace: Pulumi.AliCloud.ResourceManager
Assembly: Pulumi.AliCloud.dll
Syntax
public class Handshake : CustomResource
Constructors
View SourceHandshake(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 SourceExpireTime
The expiration time of the invitation.
Declaration
public Output<string> ExpireTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MasterAccountId
Resource account master account ID.
Declaration
public Output<string> MasterAccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MasterAccountName
The name of the main account of the resource directory.
Declaration
public Output<string> MasterAccountName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ModifyTime
The modification time of the invitation.
Declaration
public Output<string> ModifyTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Note
Remarks. The maximum length is 1024 characters.
Declaration
public Output<string> Note { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceDirectoryId
Resource directory ID.
Declaration
public Output<string> ResourceDirectoryId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
TargetEntity
Invited account ID or login email.
Declaration
public Output<string> TargetEntity { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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 SourceGet(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 |