Share via


DiskEncryptionSetsOperationsExtensions.BeginUpdateAsync Method

Definition

Updates (patches) a disk encryption set.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.DiskEncryptionSetInner> BeginUpdateAsync (this Microsoft.Azure.Management.Compute.Fluent.IDiskEncryptionSetsOperations operations, string resourceGroupName, string diskEncryptionSetName, Microsoft.Azure.Management.Compute.Fluent.Models.DiskEncryptionSetUpdate diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateAsync : Microsoft.Azure.Management.Compute.Fluent.IDiskEncryptionSetsOperations * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.DiskEncryptionSetUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.DiskEncryptionSetInner>
<Extension()>
Public Function BeginUpdateAsync (operations As IDiskEncryptionSetsOperations, resourceGroupName As String, diskEncryptionSetName As String, diskEncryptionSet As DiskEncryptionSetUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DiskEncryptionSetInner)

Parameters

operations
IDiskEncryptionSetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

diskEncryptionSetName
String

The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.

diskEncryptionSet
DiskEncryptionSetUpdate

disk encryption set object supplied in the body of the Patch disk encryption set operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to