Compartir a través de


SubscriptionNetworkManagerConnectionCollection.GetIfExists Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • IdSubscriptionNetworkManagerConnections_Get de operaciones
public virtual Azure.NullableResponse<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource> GetIfExists (string networkManagerConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource>
Public Overridable Function GetIfExists (networkManagerConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SubscriptionNetworkManagerConnectionResource)

Parámetros

networkManagerConnectionName
String

Nombre de la conexión del administrador de red.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

networkManagerConnectionName es una cadena vacía y se esperaba que no estuviera vacía.

networkManagerConnectionName es null.

Se aplica a