Partilhar via


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