Sdílet prostřednictvím


IpamPoolResource.UpdateAsync(IpamPoolPatch, CancellationToken) Method

Definition

Updates the specific Pool resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}
  • Operation Id: IpamPools_Update
  • Default Api Version: 2024-05-01
  • Resource: IpamPoolResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.IpamPoolResource>> UpdateAsync (Azure.ResourceManager.Network.Models.IpamPoolPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Network.Models.IpamPoolPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.IpamPoolResource>>
override this.UpdateAsync : Azure.ResourceManager.Network.Models.IpamPoolPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.IpamPoolResource>>
Public Overridable Function UpdateAsync (patch As IpamPoolPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IpamPoolResource))

Parameters

patch
IpamPoolPatch

Pool resource object to update partially.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to