Compartir a través de


RoutingIntentCollection.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.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}
  • IdRoutingIntent_Get de operaciones
public virtual Azure.NullableResponse<Azure.ResourceManager.Network.RoutingIntentResource> GetIfExists (string routingIntentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.RoutingIntentResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.RoutingIntentResource>
Public Overridable Function GetIfExists (routingIntentName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of RoutingIntentResource)

Parámetros

routingIntentName
String

Nombre de RoutingIntent.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

routingIntentName es null.

Se aplica a