Partager via


ProfileResourceFormatResource.UpdateAsync Méthode

Définition

Crée un profil dans un hub ou met à jour un profil existant.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/profiles/{profileName}
  • IdProfiles_CreateOrUpdate d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CustomerInsights.ProfileResourceFormatResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.CustomerInsights.ProfileResourceFormatData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.CustomerInsights.ProfileResourceFormatData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CustomerInsights.ProfileResourceFormatResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.CustomerInsights.ProfileResourceFormatData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CustomerInsights.ProfileResourceFormatResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As ProfileResourceFormatData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ProfileResourceFormatResource))

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre pour retourner jusqu’à ce que l’opération de longue durée soit terminée sur le service ; Started si elle doit être retournée 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 de Long-Running Azure.Core.

data
ProfileResourceFormatData

Paramètres fournis à l’opération de type de profil de création/suppression.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à