-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
getBastionShareableLink.ts
68 lines (62 loc) 路 2.02 KB
/
getBastionShareableLink.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
import * as utilities from "./utilities";
/**
* Response for all the Bastion Shareable Link endpoints.
* API Version: 2020-11-01.
*/
export function getBastionShareableLink(args: GetBastionShareableLinkArgs, opts?: pulumi.InvokeOptions): Promise<GetBastionShareableLinkResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("mypkg::getBastionShareableLink", {
"bastionHostName": args.bastionHostName,
"resourceGroupName": args.resourceGroupName,
"vms": args.vms,
}, opts);
}
export interface GetBastionShareableLinkArgs {
/**
* The name of the Bastion Host.
*/
bastionHostName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
/**
* List of VM references.
*/
vms?: inputs.BastionShareableLink[];
}
/**
* Response for all the Bastion Shareable Link endpoints.
*/
export interface GetBastionShareableLinkResult {
/**
* The URL to get the next set of results.
*/
readonly nextLink?: string;
}
/**
* Response for all the Bastion Shareable Link endpoints.
* API Version: 2020-11-01.
*/
export function getBastionShareableLinkOutput(args: GetBastionShareableLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBastionShareableLinkResult> {
return pulumi.output(args).apply((a: any) => getBastionShareableLink(a, opts))
}
export interface GetBastionShareableLinkOutputArgs {
/**
* The name of the Bastion Host.
*/
bastionHostName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* List of VM references.
*/
vms?: pulumi.Input<pulumi.Input<inputs.BastionShareableLinkArgs>[]>;
}