Freigeben über


NetworkManagementClientExtensions.PutBastionShareableLinkAsync Methode

Definition

Erstellt bastion shareable Links für alle in der Anforderung angegebenen VMs.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionShareableLink>> PutBastionShareableLinkAsync (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 PutBastionShareableLinkAsync : 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 PutBastionShareableLinkAsync (operations As INetworkManagementClient, resourceGroupName As String, bastionHostName As String, bslRequest As BastionShareableLinkListRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BastionShareableLink))

Parameter

operations
INetworkManagementClient

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

bastionHostName
String

Der Name des Bastion-Hosts.

bslRequest
BastionShareableLinkListRequest

Post-Anforderung für alle Bastion Shareable Link-Endpunkte.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: