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

PeeringServiceResource.GetConnectionMonitorTest 方法

定义

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

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

参数

connectionMonitorTestName
String

连接监视器测试的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

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

connectionMonitorTestName 为 null。

适用于