Partager via


NetworkManagementClientExtensions.GetBastionShareableLinkAsync Méthode

Définition

Retourne les liens partageables Bastion pour toutes les machines virtuelles spécifiées dans la demande.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionShareableLink>> GetBastionShareableLinkAsync (this Microsoft.Azure.Management.Network.INetworkManagementClient operations, string resourceGroupName, string bastionHostName, Microsoft.Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default);
static member GetBastionShareableLinkAsync : Microsoft.Azure.Management.Network.INetworkManagementClient * string * string * Microsoft.Azure.Management.Network.Models.BastionShareableLinkListRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionShareableLink>>
<Extension()>
Public Function GetBastionShareableLinkAsync (operations As INetworkManagementClient, resourceGroupName As String, bastionHostName As String, bslRequest As BastionShareableLinkListRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BastionShareableLink))

Paramètres

operations
INetworkManagementClient

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

bastionHostName
String

Nom de l’hôte Bastion.

bslRequest
BastionShareableLinkListRequest

Post-requête pour tous les points de terminaison Bastion Shareable Link.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à