Compartilhar via


ConnectionMonitorTestCollection.GetIfExists(String, CancellationToken) Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/connectionMonitorTests/{connectionMonitorTestName}
  • IdConnectionMonitorTests_Get de operação
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)

Parâmetros

connectionMonitorTestName
String

O nome do teste do monitor de conexão.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

connectionMonitorTestName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

connectionMonitorTestName é nulo.

Aplica-se a