Compartilhar via


ApiCenterServiceResource.UpdateAsync Método

Definição

Atualizar serviço

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}
  • IdServices_Update de operação
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))

Parâmetros

patch
ApiCenterServicePatch

As propriedades de serviço a serem atualizadas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a