azure-native.network.getBastionShareableLink
Explore with Pulumi AI
Return the Bastion Shareable Links for all the VMs specified in the request. Azure REST API version: 2023-02-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: azure-native:network: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<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