Compartir a través de


ScopeConnectionCollection.GetIfExistsAsync(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/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}
  • IdScopeConnections_Get de operación
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Network.ScopeConnectionResource>> GetIfExistsAsync (string scopeConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Network.ScopeConnectionResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Network.ScopeConnectionResource>>
Public Overridable Function GetIfExistsAsync (scopeConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ScopeConnectionResource))

Parámetros

scopeConnectionName
String

Nombre de la conexión entre inquilinos.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

scopeConnectionName es null.

Se aplica a