Freigeben über


PrivateDnsZoneResource.GetPrivateDnsARecordAsync Methode

Definition

Ruft einen Datensatzsatz ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{aRecordName}
  • Vorgangs-IdRecordSets_Get
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))

Parameter

aRecordName
String

Der Name des Datensatzsatzes relativ zum Namen der Zone.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

aRecordName ist NULL.

Gilt für: