SphereImageResource.UpdateAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Créer une image
- Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}
- IdImages_CreateOrUpdate d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Sphere.SphereImageResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Sphere.SphereImageData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Sphere.SphereImageData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Sphere.SphereImageResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Sphere.SphereImageData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Sphere.SphereImageResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As SphereImageData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SphereImageResource))
Paramètres
- waitUntil
- WaitUntil
Completed si la méthode doit attendre la fin de l’opération de longue durée sur le service ; Started s’il doit retourner après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations Azure.Core Long-Running.
- data
- SphereImageData
Paramètres de création de ressource.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Exceptions
data
a la valeur null.
S’applique à
Azure SDK for .NET