Freigeben über


DnsZoneResource.GetDnsCnameRecordAsync(String, CancellationToken) Methode

Definition

Ruft einen Datensatzsatz ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{cnameRecordName}
  • Vorgangs-IdRecordSets_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Dns.DnsCnameRecordResource>> GetDnsCnameRecordAsync (string cnameRecordName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDnsCnameRecordAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Dns.DnsCnameRecordResource>>
override this.GetDnsCnameRecordAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Dns.DnsCnameRecordResource>>
Public Overridable Function GetDnsCnameRecordAsync (cnameRecordName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DnsCnameRecordResource))

Parameter

cnameRecordName
String

Der Name des Datensatzsatzes relativ zum Namen der Zone.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

cnameRecordName ist NULL.

Gilt für: