Compartir a través de


AssociationCollection.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.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName}
  • IdAssociationsInterface_Get de operaciones
public virtual Azure.NullableResponse<Azure.ResourceManager.ServiceNetworking.AssociationResource> GetIfExists (string associationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ServiceNetworking.AssociationResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ServiceNetworking.AssociationResource>
Public Overridable Function GetIfExists (associationName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of AssociationResource)

Parámetros

associationName
String

Nombre de la asociación.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

associationName es null.

Se aplica a