Freigeben über


DevTestLabFormulaResource.Update Methode

Definition

Ermöglicht das Ändern von Tags von Formeln. Alle anderen Eigenschaften werden ignoriert.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}
  • Vorgang IdFormulas_Update
public virtual Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabFormulaResource> Update (Azure.ResourceManager.DevTestLabs.Models.DevTestLabFormulaPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabFormulaPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabFormulaResource>
override this.Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabFormulaPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabFormulaResource>
Public Overridable Function Update (patch As DevTestLabFormulaPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevTestLabFormulaResource)

Parameter

patch
DevTestLabFormulaPatch

Eine Formel zum Erstellen eines virtuellen Computers unter Angabe einer Imagebasis und anderer Parameter.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: