SearchPrivateEndpointConnectionCollection.Exists メソッド

定義

リソースが Azure に存在するかどうかを確認します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • 操作IdPrivateEndpointConnections_Get
public virtual Azure.Response<bool> Exists (string privateEndpointConnectionName, 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 (privateEndpointConnectionName As String, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

パラメーター

privateEndpointConnectionName
String

指定したリソース グループを持つAzure Cognitive Search サービスへのプライベート エンドポイント接続の名前。

searchManagementRequestOptions
SearchManagementRequestOptions

パラメーター グループ。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

privateEndpointConnectionName は空の文字列であり、空でないと想定されていました。

privateEndpointConnectionName が null です。

適用対象