ContainerServiceFleetResource.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.
Patches a fleet resource.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
- Operation Id: Fleets_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource>> UpdateAsync (Azure.ResourceManager.ContainerService.Models.ContainerServiceFleetPatch patch, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ContainerService.Models.ContainerServiceFleetPatch * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource>>
override this.UpdateAsync : Azure.ResourceManager.ContainerService.Models.ContainerServiceFleetPatch * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource>>
Public Overridable Function UpdateAsync (patch As ContainerServiceFleetPatch, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerServiceFleetResource))
Parameters
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.