Udostępnij za pośrednictwem


ApiCenterServiceResource.Update Method

Definition

Update service

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