Freigeben über


AppPlatformMonitoringSettingResource.CreateOrUpdate Methode

Definition

Aktualisieren Sie die Überwachungseinstellung.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/monitoringSettings/default
  • Vorgangs-IdMonitoringSettings_UpdatePut
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformMonitoringSettingResource> CreateOrUpdate (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppPlatform.AppPlatformMonitoringSettingData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.AppPlatformMonitoringSettingData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformMonitoringSettingResource>
override this.CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.AppPlatformMonitoringSettingData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformMonitoringSettingResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, data As AppPlatformMonitoringSettingData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AppPlatformMonitoringSettingResource)

Parameter

waitUntil
WaitUntil

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

data
AppPlatformMonitoringSettingData

Parameter für den Aktualisierungsvorgang.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: