Compartilhar via


PrivateDnsZoneResource.GetPrivateDnsTxtRecord Método

Definição

Obtém um conjunto de registros.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{txtRecordName}
  • Operação IdRecordSets_Get
public virtual Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsTxtRecordResource> GetPrivateDnsTxtRecord (string txtRecordName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateDnsTxtRecord : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsTxtRecordResource>
override this.GetPrivateDnsTxtRecord : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsTxtRecordResource>
Public Overridable Function GetPrivateDnsTxtRecord (txtRecordName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PrivateDnsTxtRecordResource)

Parâmetros

txtRecordName
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

txtRecordName é nulo.

Aplica-se a