Share via


SiteHybridConnectionNamespaceRelayResource.UpdateAsync Method

Definition

Description for Creates a new Hybrid Connection using a Service Bus relay.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}
  • Operation Id: WebApps_UpdateHybridConnection
  • Default Api Version: 2024-04-01
  • Resource: SiteHybridConnectionNamespaceRelayResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteHybridConnectionNamespaceRelayResource>> UpdateAsync (Azure.ResourceManager.AppService.HybridConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.AppService.HybridConnectionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteHybridConnectionNamespaceRelayResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.HybridConnectionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteHybridConnectionNamespaceRelayResource>>
Public Overridable Function UpdateAsync (data As HybridConnectionData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteHybridConnectionNamespaceRelayResource))

Parameters

data
HybridConnectionData

The details of the hybrid connection.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to