你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PeeringServiceResource.GetConnectionMonitorTestAsync 方法

定义

获取给定订阅、资源组和对等互连服务下具有指定名称的现有连接监视器测试。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/connectionMonitorTests/{connectionMonitorTestName}
  • 操作IdConnectionMonitorTests_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.ConnectionMonitorTestResource>> GetConnectionMonitorTestAsync (string connectionMonitorTestName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConnectionMonitorTestAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.ConnectionMonitorTestResource>>
override this.GetConnectionMonitorTestAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.ConnectionMonitorTestResource>>
Public Overridable Function GetConnectionMonitorTestAsync (connectionMonitorTestName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConnectionMonitorTestResource))

参数

connectionMonitorTestName
String

连接监视器测试的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

connectionMonitorTestName 是一个空字符串,预期为非空。

connectionMonitorTestName 为 null。

适用于