共用方式為


WebSiteHybridConnectionResource.Update Method

Definition

Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}
  • Operation Id: WebApps_UpdateRelayServiceConnection
  • Default Api Version: 2024-04-01
  • Resource: WebSiteHybridConnectionResource
public virtual Azure.Response<Azure.ResourceManager.AppService.WebSiteHybridConnectionResource> Update (Azure.ResourceManager.AppService.RelayServiceConnectionEntityData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.AppService.RelayServiceConnectionEntityData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.WebSiteHybridConnectionResource>
override this.Update : Azure.ResourceManager.AppService.RelayServiceConnectionEntityData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.WebSiteHybridConnectionResource>
Public Overridable Function Update (data As RelayServiceConnectionEntityData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of WebSiteHybridConnectionResource)

Parameters

data
RelayServiceConnectionEntityData

Details of the hybrid connection configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to