Partager via


PrivateDnsZoneResource.GetPrivateDnsSoaRecord Méthode

Définition

Obtient un jeu d’enregistrements.

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

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 à