NetworkGroupResource.Update Method

Definition

Creates or updates a network group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}
  • Operation Id: NetworkGroups_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: NetworkGroupResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.NetworkGroupResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.NetworkGroupData data, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Network.NetworkGroupData * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.NetworkGroupResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Network.NetworkGroupData * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.NetworkGroupResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As NetworkGroupData, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of NetworkGroupResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

data
NetworkGroupData

Parameters supplied to the specify which network group need to create.

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 to use.

Returns

Exceptions

data is null.

Applies to