Freigeben über


ProfileResourceFormatResource.UpdateAsync Methode

Definition

Erstellt ein Profil innerhalb eines Hubs oder aktualisiert ein vorhandenes Profil.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/profiles/{profileName}
  • Vorgang IdProfiles_CreateOrUpdate
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))

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der lange ausgeführte Vorgang für den Dienst abgeschlossen ist; Started , wenn es nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführung finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

data
ProfileResourceFormatData

Parameter, die für den Vorgang zum Erstellen/Löschen des Profiltyps bereitgestellt werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: