Compartir a través de


TrafficControllerResource.GetAssociation(String, CancellationToken) 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 Azure.Response<Azure.ResourceManager.ServiceNetworking.AssociationResource> GetAssociation (string associationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAssociation : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceNetworking.AssociationResource>
override this.GetAssociation : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceNetworking.AssociationResource>
Public Overridable Function GetAssociation (associationName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 espera que no esté vacía.

associationName es null.

Se aplica a