Partilhar via


ContainerServiceFleetResource.UpdateAsync Método

Definição

Corrige um recurso de frota.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • IdFleets_Update de operação
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))

Parâmetros

patch
ContainerServiceFleetPatch

As propriedades de uma Frota a ser atualizada.

ifMatch
String

Omita esse valor para sempre substituir o recurso atual. Especifique o valor de ETag visto pela última vez para evitar a substituição acidental de alterações simultâneas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a