SearchPrivateEndpointConnectionCollection.GetIfExists メソッド

定義

サービスからこのリソースの詳細の取得を試みます。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • 操作IdPrivateEndpointConnections_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Search.SearchPrivateEndpointConnectionResource> GetIfExists (string privateEndpointConnectionName, Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Search.SearchPrivateEndpointConnectionResource>
override this.GetIfExists : string * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Search.SearchPrivateEndpointConnectionResource>
Public Overridable Function GetIfExists (privateEndpointConnectionName As String, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SearchPrivateEndpointConnectionResource)

パラメーター

privateEndpointConnectionName
String

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

searchManagementRequestOptions
SearchManagementRequestOptions

パラメーター グループ。

cancellationToken
CancellationToken

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

戻り値

例外

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

privateEndpointConnectionName が null です。

適用対象