次の方法で共有


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

定義

サービスからこのリソースの詳細の取得を試みます。

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

パラメーター

connectionMonitorTestName
String

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

cancellationToken
CancellationToken

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

戻り値

例外

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

connectionMonitorTestName が null です。

適用対象