mirror of https://github.com/pulumi/pulumi.git
23 KiB
23 KiB
title: "getBastionShareableLink" title_tag: "mypkg.getBastionShareableLink" meta_desc: "Documentation for the mypkg.getBastionShareableLink function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true
Response for all the Bastion Shareable Link endpoints. API Version: 2020-11-01.
Using getBastionShareableLink
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBastionShareableLink(args: GetBastionShareableLinkArgs, opts?: InvokeOptions): Promise<GetBastionShareableLinkResult>
function getBastionShareableLinkOutput(args: GetBastionShareableLinkOutputArgs, opts?: InvokeOptions): Output<GetBastionShareableLinkResult>
def get_bastion_shareable_link(bastion_host_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
vms: Optional[Sequence[BastionShareableLink]] = None,
opts: Optional[InvokeOptions] = None) -> GetBastionShareableLinkResult
def get_bastion_shareable_link_output(bastion_host_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
vms: Optional[pulumi.Input[Sequence[pulumi.Input[BastionShareableLinkArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBastionShareableLinkResult]
func GetBastionShareableLink(ctx *Context, args *GetBastionShareableLinkArgs, opts ...InvokeOption) (*GetBastionShareableLinkResult, error)
func GetBastionShareableLinkOutput(ctx *Context, args *GetBastionShareableLinkOutputArgs, opts ...InvokeOption) GetBastionShareableLinkResultOutput
> Note: This function is named GetBastionShareableLink
in the Go SDK.
public static class GetBastionShareableLink
{
public static Task<GetBastionShareableLinkResult> InvokeAsync(GetBastionShareableLinkArgs args, InvokeOptions? opts = null)
public static Output<GetBastionShareableLinkResult> Invoke(GetBastionShareableLinkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBastionShareableLinkResult> getBastionShareableLink(GetBastionShareableLinkArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mypkg:getBastionShareableLink
arguments:
# arguments dictionary
The following arguments are supported:
-
Bastion
Host stringName - The name of the Bastion Host.
-
Resource
Group stringName - The name of the resource group.
-
Vms
List<Bastion
Shareable Link> - List of VM references.
-
Bastion
Host stringName - The name of the Bastion Host.
-
Resource
Group stringName - The name of the resource group.
-
Vms
[]Bastion
Shareable Link - List of VM references.
-
bastion
Host StringName - The name of the Bastion Host.
-
resource
Group StringName - The name of the resource group.
-
vms
List<Bastion
Shareable Link> - List of VM references.
-
bastion
Host stringName - The name of the Bastion Host.
-
resource
Group stringName - The name of the resource group.
-
vms
Bastion
Shareable Link[] - List of VM references.
-
bastion_
host_ strname - The name of the Bastion Host.
-
resource_
group_ strname - The name of the resource group.
-
vms
Sequence[Bastion
Shareable Link] - List of VM references.
-
bastion
Host StringName - The name of the Bastion Host.
-
resource
Group StringName - The name of the resource group.
- vms List<Property Map>
- List of VM references.
getBastionShareableLink Result
The following output properties are available:
-
Next
Link string - The URL to get the next set of results.
-
Next
Link string - The URL to get the next set of results.
-
next
Link String - The URL to get the next set of results.
-
next
Link string - The URL to get the next set of results.
-
next_
link str - The URL to get the next set of results.
-
next
Link String - The URL to get the next set of results.
Supporting Types
BastionShareableLink
- Vm string
- Reference of the virtual machine resource.
- Vm string
- Reference of the virtual machine resource.
- vm String
- Reference of the virtual machine resource.
- vm string
- Reference of the virtual machine resource.
- vm str
- Reference of the virtual machine resource.
- vm String
- Reference of the virtual machine resource.
Package Details
- Repository
- mypkg
- License