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.
- Output
File string
- Ids []string
A list of Resource Manager Handshake IDs.
- Output
File string
- ids string[]
A list of Resource Manager Handshake IDs.
- output
File 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.
Ali Cloud. Resource Manager. Outputs. Get Handshakes Handshake> 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.
- Output
File string
- Handshakes
[]Get
Handshakes Handshake 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.
- Output
File string
- handshakes
Get
Handshakes Handshake[] 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.
- output
File string
- handshakes
List[Get
Handshakes Handshake] 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.
- Expire
Time string The time when the invitation expires.
- Handshake
Id string - Id string
The ID of the resource. *
handshake_id- The ID of the invitation.- Master
Account stringId The ID of the master account of the resource directory.
- Master
Account stringName The name of the master account of the resource directory.
- Modify
Time string The time when the invitation was modified.
- Note string
The invitation note.
- Resource
Directory stringId The ID of the resource directory.
- Status string
The status of the invitation.
- Target
Entity string The ID or logon email address of the invited account.
- Target
Type string The type of the invited account.
- Expire
Time string The time when the invitation expires.
- Handshake
Id string - Id string
The ID of the resource. *
handshake_id- The ID of the invitation.- Master
Account stringId The ID of the master account of the resource directory.
- Master
Account stringName The name of the master account of the resource directory.
- Modify
Time string The time when the invitation was modified.
- Note string
The invitation note.
- Resource
Directory stringId The ID of the resource directory.
- Status string
The status of the invitation.
- Target
Entity string The ID or logon email address of the invited account.
- Target
Type string The type of the invited account.
- expire
Time string The time when the invitation expires.
- handshake
Id string - id string
The ID of the resource. *
handshake_id- The ID of the invitation.- master
Account stringId The ID of the master account of the resource directory.
- master
Account stringName The name of the master account of the resource directory.
- modify
Time string The time when the invitation was modified.
- note string
The invitation note.
- resource
Directory stringId The ID of the resource directory.
- status string
The status of the invitation.
- target
Entity string The ID or logon email address of the invited account.
- target
Type string The type of the invited account.
- expire_
time str The time when the invitation expires.
- handshake
Id str - id str
The ID of the resource. *
handshake_id- The ID of the invitation.- master_
account_ strid The ID of the master account of the resource directory.
- master_
account_ strname 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_ strid 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
alicloudTerraform Provider.