Share via


ApiCenterServiceResource.UpdateAsync Method

Definition

Update service

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}
  • Operation Id: Services_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiCenter.ApiCenterServiceResource>> UpdateAsync (Azure.ResourceManager.ApiCenter.Models.ApiCenterServicePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ApiCenter.Models.ApiCenterServicePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiCenter.ApiCenterServiceResource>>
override this.UpdateAsync : Azure.ResourceManager.ApiCenter.Models.ApiCenterServicePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiCenter.ApiCenterServiceResource>>
Public Overridable Function UpdateAsync (patch As ApiCenterServicePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApiCenterServiceResource))

Parameters

patch
ApiCenterServicePatch

The service properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to