Share via


NetworkGroupsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a network group.

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

Parameters

operations
INetworkGroupsOperations

The operations group for this extension method.

parameters
NetworkGroup

Parameters supplied to the specify which network group need to create

resourceGroupName
String

The name of the resource group.

networkManagerName
String

The name of the network manager.

networkGroupName
String

The name of the network group.

ifMatch
String

The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to