pulumi/tests/testdata/codegen/output-funcs/docs/getbastionshareablelink/_index.md

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:

BastionHostName string
The name of the Bastion Host.
ResourceGroupName string
The name of the resource group.
Vms List<BastionShareableLink>
List of VM references.
BastionHostName string
The name of the Bastion Host.
ResourceGroupName string
The name of the resource group.
Vms []BastionShareableLink
List of VM references.
bastionHostName String
The name of the Bastion Host.
resourceGroupName String
The name of the resource group.
vms List<BastionShareableLink>
List of VM references.
bastionHostName string
The name of the Bastion Host.
resourceGroupName string
The name of the resource group.
vms BastionShareableLink[]
List of VM references.
bastion_host_name str
The name of the Bastion Host.
resource_group_name str
The name of the resource group.
vms Sequence[BastionShareableLink]
List of VM references.
bastionHostName String
The name of the Bastion Host.
resourceGroupName String
The name of the resource group.
vms List<Property Map>
List of VM references.

getBastionShareableLink Result

The following output properties are available:

NextLink string
The URL to get the next set of results.
NextLink string
The URL to get the next set of results.
nextLink String
The URL to get the next set of results.
nextLink string
The URL to get the next set of results.
next_link str
The URL to get the next set of results.
nextLink String
The URL to get the next set of results.

Supporting Types

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