Freigeben über


DevTestLabDiskResource.Update(DevTestLabDiskPatch, CancellationToken) Methode

Definition

Ermöglicht das Ändern von Tags von Datenträgern. Alle anderen Eigenschaften werden ignoriert.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
  • Vorgangs-IdDisks_Update
public virtual Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabDiskResource> Update (Azure.ResourceManager.DevTestLabs.Models.DevTestLabDiskPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabDiskPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabDiskResource>
override this.Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabDiskPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabDiskResource>
Public Overridable Function Update (patch As DevTestLabDiskPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevTestLabDiskResource)

Parameter

patch
DevTestLabDiskPatch

Ein Datenträger.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: