Partager via


SandboxCustomImageCollection.CreateOrUpdateAsync Méthode

Définition

Crée ou met à jour une image personnalisée de bac à sable.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}
  • IdSandboxCustomImages_CreateOrUpdate d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.SandboxCustomImageResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string sandboxCustomImageName, Azure.ResourceManager.Kusto.SandboxCustomImageData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Kusto.SandboxCustomImageData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.SandboxCustomImageResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Kusto.SandboxCustomImageData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.SandboxCustomImageResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, sandboxCustomImageName As String, data As SandboxCustomImageData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SandboxCustomImageResource))

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.

sandboxCustomImageName
String

Nom de l’image personnalisée du bac à sable.

data
SandboxCustomImageData

Paramètres d’image personnalisée du bac à sable.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

sandboxCustomImageName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

sandboxCustomImageName ou data est null.

S’applique à