Partager via


SearchPrivateEndpointConnectionCollection.ExistsAsync Méthode

Définition

Vérifie si la ressource existe dans Azure.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • IdPrivateEndpointConnections_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string privateEndpointConnectionName, Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (privateEndpointConnectionName As String, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Paramètres

privateEndpointConnectionName
String

Nom de la connexion de point de terminaison privé au service Recherche cognitive Azure avec le groupe de ressources spécifié.

searchManagementRequestOptions
SearchManagementRequestOptions

Groupe de paramètres.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

privateEndpointConnectionName est une chaîne vide et devait être non vide.

privateEndpointConnectionName a la valeur null.

S’applique à