Compartir a través de


DnsZoneResource.GetDnsSrvRecordAsync(String, CancellationToken) Método

Definición

Obtiene un conjunto de registros.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{srvRecordName}
  • IdRecordSets_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Dns.DnsSrvRecordResource>> GetDnsSrvRecordAsync (string srvRecordName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDnsSrvRecordAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Dns.DnsSrvRecordResource>>
override this.GetDnsSrvRecordAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Dns.DnsSrvRecordResource>>
Public Overridable Function GetDnsSrvRecordAsync (srvRecordName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DnsSrvRecordResource))

Parámetros

srvRecordName
String

Nombre del conjunto de registros, relativo al nombre de la zona.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

srvRecordName es null.

Se aplica a