Partager via


PrivateDnsZoneResource.GetPrivateDnsARecordAsync Méthode

Définition

Obtient un jeu d’enregistrements.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{aRecordName}
  • IdRecordSets_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsARecordResource>> GetPrivateDnsARecordAsync (string aRecordName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateDnsARecordAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsARecordResource>>
override this.GetPrivateDnsARecordAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsARecordResource>>
Public Overridable Function GetPrivateDnsARecordAsync (aRecordName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PrivateDnsARecordResource))

Paramètres

aRecordName
String

Nom du jeu d’enregistrements, relatif au nom de la zone.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

aRecordName a la valeur null.

S’applique à