ProximityPlacementGroupResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update a proximity placement group.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
- Operation Id: ProximityPlacementGroups_Update
- Default Api Version: 2024-07-01
- Resource: ProximityPlacementGroupResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>> UpdateAsync (Azure.ResourceManager.Compute.Models.ProximityPlacementGroupPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Compute.Models.ProximityPlacementGroupPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>>
override this.UpdateAsync : Azure.ResourceManager.Compute.Models.ProximityPlacementGroupPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>>
Public Overridable Function UpdateAsync (patch As ProximityPlacementGroupPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ProximityPlacementGroupResource))
Parameters
Parameters supplied to the Update Proximity Placement Group operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.