次の方法で共有


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

定義

指定したサブスクリプション、リソース グループ、ピアリング サービスの下で、指定した名前の既存の接続モニター テストを取得します。

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

パラメーター

connectionMonitorTestName
String

接続モニター テストの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

connectionMonitorTestName が null です。

適用対象