Share via


ContainerServiceFleetResource.Update Method

Definition

Patches a fleet resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operation Id: Fleets_Update
public virtual Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource> Update (Azure.ResourceManager.ContainerService.Models.ContainerServiceFleetPatch patch, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.ContainerService.Models.ContainerServiceFleetPatch * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource>
override this.Update : Azure.ResourceManager.ContainerService.Models.ContainerServiceFleetPatch * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource>
Public Overridable Function Update (patch As ContainerServiceFleetPatch, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerServiceFleetResource)

Parameters

patch
ContainerServiceFleetPatch

The properties of a Fleet to update.

ifMatch
String

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

patch is null.

Applies to