Partilhar via


SearchServiceResource.Update Método

Definição

Atualizações um serviço de pesquisa existente no grupo de recursos especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
  • Operação IdServices_Update
public virtual Azure.Response<Azure.ResourceManager.Search.SearchServiceResource> Update (Azure.ResourceManager.Search.Models.SearchServicePatch patch, Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Search.Models.SearchServicePatch * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Search.SearchServiceResource>
override this.Update : Azure.ResourceManager.Search.Models.SearchServicePatch * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Search.SearchServiceResource>
Public Overridable Function Update (patch As SearchServicePatch, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SearchServiceResource)

Parâmetros

patch
SearchServicePatch

A definição do serviço de pesquisa a ser atualizado.

searchManagementRequestOptions
SearchManagementRequestOptions

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a