Compartilhar via


PrivateDnsZoneResource.GetPrivateDnsCnameRecordAsync Método

Definição

Obtém um conjunto de registros.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{cnameRecordName}
  • Operação IdRecordSets_Get
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))

Parâmetros

cnameRecordName
String

O nome do conjunto de registros, em relação ao nome da zona.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

cnameRecordName é nulo.

Aplica-se a