你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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