Share via


SiteSlotHybridConnectionNamespaceRelayResource.Update 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: 2024-04-01
  • Resource: SiteSlotHybridConnectionNamespaceRelayResource
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteSlotHybridConnectionNamespaceRelayResource> Update (Azure.ResourceManager.AppService.HybridConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.AppService.HybridConnectionData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.SiteSlotHybridConnectionNamespaceRelayResource>
override this.Update : Azure.ResourceManager.AppService.HybridConnectionData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.SiteSlotHybridConnectionNamespaceRelayResource>
Public Overridable Function Update (data As HybridConnectionData, Optional cancellationToken As CancellationToken = Nothing) As 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