你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HybridConnectivityServiceConfigurationResource.UpdateAsync Method

Definition

Update the service details in the service configurations of the target resource.

  • Request Path: /{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations/{serviceConfigurationName}
  • Operation Id: ServiceConfigurations_Update
  • Default Api Version: 2023-03-15
  • Resource: HybridConnectivityServiceConfigurationResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.HybridConnectivityServiceConfigurationResource>> UpdateAsync (Azure.ResourceManager.HybridConnectivity.Models.HybridConnectivityServiceConfigurationPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.HybridConnectivity.Models.HybridConnectivityServiceConfigurationPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.HybridConnectivityServiceConfigurationResource>>
override this.UpdateAsync : Azure.ResourceManager.HybridConnectivity.Models.HybridConnectivityServiceConfigurationPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.HybridConnectivityServiceConfigurationResource>>
Public Overridable Function UpdateAsync (patch As HybridConnectivityServiceConfigurationPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridConnectivityServiceConfigurationResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to