Partager via


PrivateDnsZoneResource.GetPrivateDnsCnameRecordAsync Méthode

Définition

Obtient un jeu d’enregistrements.

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

Paramètres

cnameRecordName
String

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

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

cnameRecordName a la valeur null.

S’applique à