SearchPrivateEndpointConnectionCollection.GetIfExistsAsync メソッド

定義

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • 操作IdPrivateEndpointConnections_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Search.SearchPrivateEndpointConnectionResource>> GetIfExistsAsync (string privateEndpointConnectionName, Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Search.SearchPrivateEndpointConnectionResource>>
override this.GetIfExistsAsync : string * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Search.SearchPrivateEndpointConnectionResource>>
Public Overridable Function GetIfExistsAsync (privateEndpointConnectionName As String, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SearchPrivateEndpointConnectionResource))

パラメーター

privateEndpointConnectionName
String

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

searchManagementRequestOptions
SearchManagementRequestOptions

パラメーター グループ。

cancellationToken
CancellationToken

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

戻り値

例外

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

privateEndpointConnectionName が null です。

適用対象