Condividi tramite


SiteSlotHybridConnectionNamespaceRelayResource.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}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}
  • Operation Id: WebApps_UpdateHybridConnectionSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotHybridConnectionNamespaceRelayResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotHybridConnectionNamespaceRelayResource>> 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.SiteSlotHybridConnectionNamespaceRelayResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.HybridConnectionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotHybridConnectionNamespaceRelayResource>>
Public Overridable Function UpdateAsync (data As HybridConnectionData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteSlotHybridConnectionNamespaceRelayResource))

Parameters

data
HybridConnectionData

The details of the hybrid connection.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to