GetHandshakes

This data source provides the Resource Manager Handshakes of the current Alibaba Cloud user.

NOTE: Available in 1.86.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(AliCloud.ResourceManager.GetHandshakes.InvokeAsync());
        this.FirstHandshakeId = example.Apply(example => example.Handshakes[0].Id);
    }

    [Output("firstHandshakeId")]
    public Output<string> FirstHandshakeId { get; set; }
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

example = alicloud.resourcemanager.get_handshakes()
pulumi.export("firstHandshakeId", example.handshakes[0]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = pulumi.output(alicloud.resourcemanager.getHandshakes({ async: true }));

export const firstHandshakeId = example.handshakes[0].id;

Using GetHandshakes

function getHandshakes(args: GetHandshakesArgs, opts?: InvokeOptions): Promise<GetHandshakesResult>
function  get_handshakes(ids=None, output_file=None, opts=None)
func GetHandshakes(ctx *Context, args *GetHandshakesArgs, opts ...InvokeOption) (*GetHandshakesResult, error)
public static class GetHandshakes {
    public static Task<GetHandshakesResult> InvokeAsync(GetHandshakesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Ids List<string>

A list of Resource Manager Handshake IDs.

OutputFile string
Ids []string

A list of Resource Manager Handshake IDs.

OutputFile string
ids string[]

A list of Resource Manager Handshake IDs.

outputFile string
ids List[str]

A list of Resource Manager Handshake IDs.

output_file str

GetHandshakes Result

The following output properties are available:

Handshakes List<Pulumi.AliCloud.ResourceManager.Outputs.GetHandshakesHandshake>

A list of Resource Manager Handshakes. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of Resource Manager Handshake IDs.

OutputFile string
Handshakes []GetHandshakesHandshake

A list of Resource Manager Handshakes. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of Resource Manager Handshake IDs.

OutputFile string
handshakes GetHandshakesHandshake[]

A list of Resource Manager Handshakes. Each element contains the following attributes:

id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of Resource Manager Handshake IDs.

outputFile string
handshakes List[GetHandshakesHandshake]

A list of Resource Manager Handshakes. Each element contains the following attributes:

id str

The provider-assigned unique ID for this managed resource.

ids List[str]

A list of Resource Manager Handshake IDs.

output_file str

Supporting Types

GetHandshakesHandshake

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

ExpireTime string

The time when the invitation expires.

HandshakeId string
Id string

The ID of the resource. * handshake_id- The ID of the invitation.

MasterAccountId string

The ID of the master account of the resource directory.

MasterAccountName string

The name of the master account of the resource directory.

ModifyTime string

The time when the invitation was modified.

Note string

The invitation note.

ResourceDirectoryId string

The ID of the resource directory.

Status string

The status of the invitation.

TargetEntity string

The ID or logon email address of the invited account.

TargetType string

The type of the invited account.

ExpireTime string

The time when the invitation expires.

HandshakeId string
Id string

The ID of the resource. * handshake_id- The ID of the invitation.

MasterAccountId string

The ID of the master account of the resource directory.

MasterAccountName string

The name of the master account of the resource directory.

ModifyTime string

The time when the invitation was modified.

Note string

The invitation note.

ResourceDirectoryId string

The ID of the resource directory.

Status string

The status of the invitation.

TargetEntity string

The ID or logon email address of the invited account.

TargetType string

The type of the invited account.

expireTime string

The time when the invitation expires.

handshakeId string
id string

The ID of the resource. * handshake_id- The ID of the invitation.

masterAccountId string

The ID of the master account of the resource directory.

masterAccountName string

The name of the master account of the resource directory.

modifyTime string

The time when the invitation was modified.

note string

The invitation note.

resourceDirectoryId string

The ID of the resource directory.

status string

The status of the invitation.

targetEntity string

The ID or logon email address of the invited account.

targetType string

The type of the invited account.

expire_time str

The time when the invitation expires.

handshakeId str
id str

The ID of the resource. * handshake_id- The ID of the invitation.

master_account_id str

The ID of the master account of the resource directory.

master_account_name str

The name of the master account of the resource directory.

modify_time str

The time when the invitation was modified.

note str

The invitation note.

resource_directory_id str

The ID of the resource directory.

status str

The status of the invitation.

target_entity str

The ID or logon email address of the invited account.

target_type str

The type of the invited account.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.