Compartir a través de


TrafficControllerResource.GetAssociationAsync Método

Definición

Obtener una asociación

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName}
  • IdAssociationsInterface_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.AssociationResource>> GetAssociationAsync (string associationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAssociationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.AssociationResource>>
override this.GetAssociationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.AssociationResource>>
Public Overridable Function GetAssociationAsync (associationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(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 esperaba que no estuviera vacía.

associationName es null.

Se aplica a