ArmDnsModelFactory.DnsResourceReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DnsResourceReference.
public static Azure.ResourceManager.Dns.Models.DnsResourceReference DnsResourceReference (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> dnsResources = default, Azure.Core.ResourceIdentifier targetResourceId = default);
static member DnsResourceReference : seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Dns.Models.DnsResourceReference
Public Shared Function DnsResourceReference (Optional dnsResources As IEnumerable(Of WritableSubResource) = Nothing, Optional targetResourceId As ResourceIdentifier = Nothing) As DnsResourceReference
Parameters
- dnsResources
- IEnumerable<WritableSubResource>
A list of dns Records.
- targetResourceId
- ResourceIdentifier
A reference to an azure resource from where the dns resource value is taken.
Returns
A new DnsResourceReference instance for mocking.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET