Dela via


NetworkManagerResource.PostNetworkManagerCommitAsync Method

Definition

Post a Network Manager Commit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit
  • Operation Id: NetworkManagerCommits_Post
  • Default Api Version: 2024-03-01
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.NetworkManagerCommit>> PostNetworkManagerCommitAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.NetworkManagerCommit networkManagerCommit, System.Threading.CancellationToken cancellationToken = default);
abstract member PostNetworkManagerCommitAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.NetworkManagerCommit * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.NetworkManagerCommit>>
override this.PostNetworkManagerCommitAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.NetworkManagerCommit * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.NetworkManagerCommit>>
Public Overridable Function PostNetworkManagerCommitAsync (waitUntil As WaitUntil, networkManagerCommit As NetworkManagerCommit, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of NetworkManagerCommit))

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.

networkManagerCommit
NetworkManagerCommit

Parameters supplied to specify which Managed Network commit is.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

networkManagerCommit is null.

Applies to