Partilhar via


ContainerGroupResource.UpdateAsync Método

Definição

Atualizações marcas de grupo de contêineres com valores especificados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}
  • IdContainerGroups_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerInstance.ContainerGroupResource>> UpdateAsync (Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerInstance.ContainerGroupResource>>
override this.UpdateAsync : Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerInstance.ContainerGroupResource>>
Public Overridable Function UpdateAsync (patch As ContainerGroupPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerGroupResource))

Parâmetros

patch
ContainerGroupPatch

O recurso do grupo de contêineres com apenas as marcas a serem atualizadas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a