DevTestLabDiskResource.Update(DevTestLabDiskPatch, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows modifying tags of disks. All other properties will be ignored.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
- Operation Id: Disks_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)
Parameters
- patch
- DevTestLabDiskPatch
A Disk.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET