CognitiveServicesAccountResource.GetCognitiveServicesPrivateEndpointConnectionAsync メソッド

定義

Cognitive Services アカウントに関連付けられている指定されたプライベート エンドポイント接続を取得します。

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

パラメーター

privateEndpointConnectionName
String

Cognitive Services アカウントに関連付けられているプライベート エンドポイント接続の名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

privateEndpointConnectionName が null です。

適用対象