다음을 통해 공유


ZonesOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates a DNS zone. Does not modify DNS records within the zone.

public static Microsoft.Azure.Management.Dns.Models.Zone CreateOrUpdate (this Microsoft.Azure.Management.Dns.IZonesOperations operations, string resourceGroupName, string zoneName, Microsoft.Azure.Management.Dns.Models.Zone parameters, string ifMatch = default, string ifNoneMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.Dns.IZonesOperations * string * string * Microsoft.Azure.Management.Dns.Models.Zone * string * string -> Microsoft.Azure.Management.Dns.Models.Zone
<Extension()>
Public Function CreateOrUpdate (operations As IZonesOperations, resourceGroupName As String, zoneName As String, parameters As Zone, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing) As Zone

Parameters

operations
IZonesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

zoneName
String

The name of the DNS zone (without a terminating dot).

parameters
Zone

Parameters supplied to the CreateOrUpdate operation.

ifMatch
String

The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwritting any concurrent changes.

ifNoneMatch
String

Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored.

Returns

Applies to