Share via


DnsResourceReferenceOperationsExtensions.GetByTargetResourcesAsync Method

Definition

Returns the DNS records specified by the referencing targetResourceIds.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Dns.Models.DnsResourceReferenceResult> GetByTargetResourcesAsync (this Microsoft.Azure.Management.Dns.IDnsResourceReferenceOperations operations, System.Collections.Generic.IList<Microsoft.Azure.Management.Dns.Models.SubResource> targetResources = default, System.Threading.CancellationToken cancellationToken = default);
static member GetByTargetResourcesAsync : Microsoft.Azure.Management.Dns.IDnsResourceReferenceOperations * System.Collections.Generic.IList<Microsoft.Azure.Management.Dns.Models.SubResource> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Dns.Models.DnsResourceReferenceResult>
<Extension()>
Public Function GetByTargetResourcesAsync (operations As IDnsResourceReferenceOperations, Optional targetResources As IList(Of SubResource) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DnsResourceReferenceResult)

Parameters

operations
IDnsResourceReferenceOperations

The operations group for this extension method.

targetResources
IList<SubResource>

A list of references to azure resources for which referencing dns records need to be queried.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to