Handshake

class Handshake : KotlinCustomResource

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

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.Handshake;
import com.pulumi.alicloud.resourcemanager.HandshakeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Handshake("example", HandshakeArgs.builder()
.note("test resource manager handshake")
.targetEntity("1182775234******")
.targetType("Account")
.build());
}
}

Import

Resource Manager handshake can be imported using the id, e.g.

$ pulumi import alicloud:resourcemanager/handshake:Handshake example h-QmdexeFm1kE*****

Properties

Link copied to clipboard
val expireTime: Output<String>

The expiration time of the invitation.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val masterAccountId: Output<String>

Resource account master account ID.

Link copied to clipboard

The name of the main account of the resource directory.

Link copied to clipboard
val modifyTime: Output<String>

The modification time of the invitation.

Link copied to clipboard
val note: Output<String>?

Remarks. The maximum length is 1024 characters.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Resource directory ID.

Link copied to clipboard
val status: Output<String>

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

Link copied to clipboard
val targetEntity: Output<String>

Invited account ID or login email.

Link copied to clipboard
val targetType: Output<String>

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

Link copied to clipboard
val urn: Output<String>