共用方式為


ProximityPlacementGroupResource.Update Method

Definition

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 Azure.Response<Azure.ResourceManager.Compute.ProximityPlacementGroupResource> Update (Azure.ResourceManager.Compute.Models.ProximityPlacementGroupPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Compute.Models.ProximityPlacementGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>
override this.Update : Azure.ResourceManager.Compute.Models.ProximityPlacementGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>
Public Overridable Function Update (patch As ProximityPlacementGroupPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ProximityPlacementGroupResource)

Parameters

patch
ProximityPlacementGroupPatch

Parameters supplied to the Update Proximity Placement Group operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to