azure-native.network.getBastionShareableLink
Explore with Pulumi AI
Return the Bastion Shareable Links for all the VMs specified in the request.
Uses Azure REST API version 2024-05-01.
Other available API versions: 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the version guide for details.
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)
public static Output<GetBastionShareableLinkResult> getBastionShareableLink(GetBastionShareableLinkArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getBastionShareableLink
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Bastion
Host stringName  - The name of the Bastion Host.
 - Resource
Group stringName  - The name of the resource group.
 - Vms
List<Pulumi.
Azure Native. Network. Inputs. 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.
 - Value
List<Pulumi.
Azure Native. Network. Outputs. Bastion Shareable Link Response>  - List of Bastion Shareable Links for the request.
 
- Next
Link string - The URL to get the next set of results.
 - Value
[]Bastion
Shareable Link Response  - List of Bastion Shareable Links for the request.
 
- next
Link String - The URL to get the next set of results.
 - value
List<Bastion
Shareable Link Response>  - List of Bastion Shareable Links for the request.
 
- next
Link string - The URL to get the next set of results.
 - value
Bastion
Shareable Link Response[]  - List of Bastion Shareable Links for the request.
 
- next_
link str - The URL to get the next set of results.
 - value
Sequence[Bastion
Shareable Link Response]  - List of Bastion Shareable Links for the request.
 
- next
Link String - The URL to get the next set of results.
 - value List<Property Map>
 - List of Bastion Shareable Links for the request.
 
Supporting Types
BastionShareableLink  
- Vm
Pulumi.
Azure Native. Network. Inputs. VM  - Reference of the virtual machine resource.
 
- vm Property Map
 - Reference of the virtual machine resource.
 
BastionShareableLinkResponse   
- Bsl string
 - The unique Bastion Shareable Link to the virtual machine.
 - Created
At string - The time when the link was created.
 - Message string
 - Optional field indicating the warning or error message related to the vm in case of partial failure.
 - Vm
Pulumi.
Azure Native. Network. Inputs. VMResponse  - Reference of the virtual machine resource.
 
- Bsl string
 - The unique Bastion Shareable Link to the virtual machine.
 - Created
At string - The time when the link was created.
 - Message string
 - Optional field indicating the warning or error message related to the vm in case of partial failure.
 - Vm VMResponse
 - Reference of the virtual machine resource.
 
- bsl String
 - The unique Bastion Shareable Link to the virtual machine.
 - created
At String - The time when the link was created.
 - message String
 - Optional field indicating the warning or error message related to the vm in case of partial failure.
 - vm VMResponse
 - Reference of the virtual machine resource.
 
- bsl string
 - The unique Bastion Shareable Link to the virtual machine.
 - created
At string - The time when the link was created.
 - message string
 - Optional field indicating the warning or error message related to the vm in case of partial failure.
 - vm VMResponse
 - Reference of the virtual machine resource.
 
- bsl str
 - The unique Bastion Shareable Link to the virtual machine.
 - created_
at str - The time when the link was created.
 - message str
 - Optional field indicating the warning or error message related to the vm in case of partial failure.
 - vm VMResponse
 - Reference of the virtual machine resource.
 
- bsl String
 - The unique Bastion Shareable Link to the virtual machine.
 - created
At String - The time when the link was created.
 - message String
 - Optional field indicating the warning or error message related to the vm in case of partial failure.
 - vm Property Map
 - Reference of the virtual machine resource.
 
VM
VMResponse
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0