Partager via


SnapshotsOperationsExtensions.BeginUpdateAsync Méthode

Définition

Mises à jour (corrige) un instantané.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Snapshot> BeginUpdateAsync (this Microsoft.Azure.Management.Compute.ISnapshotsOperations operations, string resourceGroupName, string snapshotName, Microsoft.Azure.Management.Compute.Models.SnapshotUpdate snapshot, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateAsync : Microsoft.Azure.Management.Compute.ISnapshotsOperations * string * string * Microsoft.Azure.Management.Compute.Models.SnapshotUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Snapshot>
<Extension()>
Public Function BeginUpdateAsync (operations As ISnapshotsOperations, resourceGroupName As String, snapshotName As String, snapshot As SnapshotUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Snapshot)

Paramètres

operations
ISnapshotsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

snapshotName
String

Nom du instantané en cours de création. Le nom ne peut pas être modifié une fois le instantané créé. Les caractères pris en charge pour le nom sont a-z, A-Z, 0-9, _ et -. La longueur maximale du nom est de 80 caractères.

snapshot
SnapshotUpdate

Objet d’instantané fourni dans le corps de l’opération Patch instantané.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à