Compartilhar via


DevCenterEnvironmentTypeResource.UpdateAsync Método

Definição

Atualiza parcialmente um tipo de ambiente.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes/{environmentTypeName}
  • IdEnvironmentTypes_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.DevCenterEnvironmentTypeResource>> UpdateAsync (Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentTypePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentTypePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.DevCenterEnvironmentTypeResource>>
override this.UpdateAsync : Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentTypePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.DevCenterEnvironmentTypeResource>>
Public Overridable Function UpdateAsync (patch As DevCenterEnvironmentTypePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevCenterEnvironmentTypeResource))

Parâmetros

patch
DevCenterEnvironmentTypePatch

Propriedades de tipo de ambiente atualizáveis.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a