Share via


DnsClient.CreateDnsRecordSet Method

Definition

public Microsoft.Azure.Commands.Dns.DnsRecordSet CreateDnsRecordSet (string zoneName, string resourceGroupName, string relativeRecordSetName, uint? ttl, Microsoft.Azure.Management.Dns.Models.RecordType recordType, System.Collections.Hashtable tags, bool overwrite, Microsoft.Azure.Commands.Dns.DnsRecordBase[] resourceRecords, string targetResourceId);
member this.CreateDnsRecordSet : string * string * string * Nullable<uint32> * Microsoft.Azure.Management.Dns.Models.RecordType * System.Collections.Hashtable * bool * Microsoft.Azure.Commands.Dns.DnsRecordBase[] * string -> Microsoft.Azure.Commands.Dns.DnsRecordSet
Public Function CreateDnsRecordSet (zoneName As String, resourceGroupName As String, relativeRecordSetName As String, ttl As Nullable(Of UInteger), recordType As RecordType, tags As Hashtable, overwrite As Boolean, resourceRecords As DnsRecordBase(), targetResourceId As String) As DnsRecordSet

Parameters

zoneName
String
resourceGroupName
String
relativeRecordSetName
String
recordType
RecordType
tags
Hashtable
overwrite
Boolean
resourceRecords
DnsRecordBase[]
targetResourceId
String

Returns

Applies to