Compartir a través de


ConnectionMonitorTestCollection.GetIfExists(String, CancellationToken) Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/connectionMonitorTests/{connectionMonitorTestName}
  • IdConnectionMonitorTests_Get de operación
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

Nombre de la prueba del monitor de conexión.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

connectionMonitorTestName es una cadena vacía y se espera que no esté vacía.

connectionMonitorTestName es null.

Se aplica a