Compartir a través de


SearchServiceCollection.Exists Método

Definición

Comprueba si el recurso existe en Azure.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
  • IdServices_Get de operación
public virtual Azure.Response<bool> Exists (string searchServiceName, Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (searchServiceName As String, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parámetros

searchServiceName
String

Nombre del servicio Azure Cognitive Search asociado al grupo de recursos especificado.

searchManagementRequestOptions
SearchManagementRequestOptions

Grupo de parámetros.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

searchServiceName es una cadena vacía y se espera que no esté vacía.

searchServiceName es null.

Se aplica a