次の方法で共有


PrivateEndpointCollection.Get(String, String, CancellationToken) メソッド

定義

リソース グループ別に指定されたプライベート エンドポイントを取得します。

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

パラメーター

privateEndpointName
String

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

expand
String

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

cancellationToken
CancellationToken

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

戻り値

例外

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

privateEndpointName が null です。

適用対象