DnsResourceReferenceOperations.GetByTargetResourcesAsync(DnsResourceReferenceRequest, CancellationToken) Method

Definition

Returns the DNS records specified by the referencing targetResourceIds.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Dns.Models.DnsResourceReferenceResult>> GetByTargetResourcesAsync (Azure.ResourceManager.Dns.Models.DnsResourceReferenceRequest parameters, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByTargetResourcesAsync : Azure.ResourceManager.Dns.Models.DnsResourceReferenceRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Dns.Models.DnsResourceReferenceResult>>
override this.GetByTargetResourcesAsync : Azure.ResourceManager.Dns.Models.DnsResourceReferenceRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Dns.Models.DnsResourceReferenceResult>>
Public Overridable Function GetByTargetResourcesAsync (parameters As DnsResourceReferenceRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DnsResourceReferenceResult))

Parameters

parameters
DnsResourceReferenceRequest

Properties for dns resource reference request.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<DnsResourceReferenceResult>>

Applies to