Freigeben über


WebAppsOperationsExtensions.UpdateRelayServiceConnectionAsync Methode

Definition

Erstellt eine neue Hybridverbindungskonfiguration (PUT) oder aktualisiert eine vorhandene (PATCH).

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.RelayServiceConnectionEntityInner> UpdateRelayServiceConnectionAsync(this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, string entityName, Microsoft.Azure.Management.AppService.Fluent.Models.RelayServiceConnectionEntityInner connectionEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member UpdateRelayServiceConnectionAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.RelayServiceConnectionEntityInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.RelayServiceConnectionEntityInner>
<Extension()>
Public Function UpdateRelayServiceConnectionAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, entityName As String, connectionEnvelope As RelayServiceConnectionEntityInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RelayServiceConnectionEntityInner)

Parameter

operations
IWebAppsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name der App

entityName
String

Name der Hybridverbindungskonfiguration.

connectionEnvelope
RelayServiceConnectionEntityInner

Details zur Hybridverbindungskonfiguration.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Erstellt eine neue Hybridverbindungskonfiguration (PUT) oder aktualisiert eine vorhandene (PATCH).

Gilt für: