Aracılığıyla paylaş


PrivateDnsZoneGroupsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a private dns zone group in the specified private endpoint.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.PrivateDnsZoneGroup> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.IPrivateDnsZoneGroupsOperations operations, string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, Microsoft.Azure.Management.Network.Models.PrivateDnsZoneGroup parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.IPrivateDnsZoneGroupsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.PrivateDnsZoneGroup * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.PrivateDnsZoneGroup>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateDnsZoneGroupsOperations, resourceGroupName As String, privateEndpointName As String, privateDnsZoneGroupName As String, parameters As PrivateDnsZoneGroup, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateDnsZoneGroup)

Parameters

operations
IPrivateDnsZoneGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

privateEndpointName
String

The name of the private endpoint.

privateDnsZoneGroupName
String

The name of the private dns zone group.

parameters
PrivateDnsZoneGroup

Parameters supplied to the create or update private dns zone group operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to