Freigeben über


NetworkManagementClient.BeginPutBastionShareableLinkWithHttpMessagesAsync Methode

Definition

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionShareableLink>>> BeginPutBastionShareableLinkWithHttpMessagesAsync(string resourceGroupName, string bastionHostName, Microsoft.Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginPutBastionShareableLinkWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Network.Models.BastionShareableLinkListRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionShareableLink>>>
override this.BeginPutBastionShareableLinkWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Network.Models.BastionShareableLinkListRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionShareableLink>>>
Public Function BeginPutBastionShareableLinkWithHttpMessagesAsync (resourceGroupName As String, bastionHostName As String, bslRequest As BastionShareableLinkListRequest, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of BastionShareableLink)))

Parameter

resourceGroupName
String

Der Name der Ressourcengruppe.

bastionHostName
String

Der Name des Bastion-Hosts.

bslRequest
BastionShareableLinkListRequest

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

customHeaders
Dictionary<String,List<String>>

Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Implementiert

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Gilt für: