次の方法で共有


PrivateLinkServiceResource.GetNetworkPrivateEndpointConnection メソッド

定義

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

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

パラメーター

peConnectionName
String

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

expand
String

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

cancellationToken
CancellationToken

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

戻り値

例外

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

peConnectionName が null です。

適用対象