共用方式為


ZonesOperationsExtensions.UpdateAsync Method

Definition

Updates a DNS zone. Does not modify DNS records within the zone.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Dns.Fluent.Models.ZoneInner> UpdateAsync (this Microsoft.Azure.Management.Dns.Fluent.IZonesOperations operations, string resourceGroupName, string zoneName, string ifMatch = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Dns.Fluent.IZonesOperations * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Dns.Fluent.Models.ZoneInner>
<Extension()>
Public Function UpdateAsync (operations As IZonesOperations, resourceGroupName As String, zoneName As String, Optional ifMatch As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ZoneInner)

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).

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.

tags
IDictionary<String,String>

Resource tags.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to