Partager via


DnsZoneResource.GetDnsSoaRecord(String, CancellationToken) Méthode

Définition

Obtient un jeu d’enregistrements.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{soaRecordName}
  • IdRecordSets_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.Dns.DnsSoaRecordResource> GetDnsSoaRecord (string soaRecordName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDnsSoaRecord : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Dns.DnsSoaRecordResource>
override this.GetDnsSoaRecord : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Dns.DnsSoaRecordResource>
Public Overridable Function GetDnsSoaRecord (soaRecordName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DnsSoaRecordResource)

Paramètres

soaRecordName
String

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

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

soaRecordName a la valeur null.

S’applique à