PrivateZonesOperationsExtensions.UpdateAsync 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.
Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.PrivateDns.Models.PrivateZone> UpdateAsync (this Microsoft.Azure.Management.PrivateDns.IPrivateZonesOperations operations, string resourceGroupName, string privateZoneName, Microsoft.Azure.Management.PrivateDns.Models.PrivateZone parameters, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.PrivateDns.IPrivateZonesOperations * string * string * Microsoft.Azure.Management.PrivateDns.Models.PrivateZone * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.PrivateDns.Models.PrivateZone>
<Extension()>
Public Function UpdateAsync (operations As IPrivateZonesOperations, resourceGroupName As String, privateZoneName As String, parameters As PrivateZone, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateZone)
Parameters
- operations
- IPrivateZonesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- privateZoneName
- String
The name of the Private DNS zone (without a terminating dot).
- parameters
- PrivateZone
Parameters supplied to the Update operation.
- ifMatch
- String
The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
- cancellationToken
- CancellationToken
The cancellation token.