次の方法で共有


NetworkPrivateEndpointConnectionCollection.GetAsync メソッド

定義

リソース グループ内の特定のプライベート リンク サービスによる特定のプライベート エンドポイント接続を取得します。

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

パラメーター

peConnectionName
String

プライベート エンドポイント接続の名前。

expand
String

参照先のリソースを展開します。

cancellationToken
CancellationToken

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

戻り値

例外

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

peConnectionName が null です。

適用対象