Share via


SapLandscapeMonitorResource.CreateOrUpdateAsync Method

Definition

Creates a SAP Landscape Monitor Dashboard for the specified subscription, resource group, and resource name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}/sapLandscapeMonitor/default
  • Operation Id: SapLandscapeMonitor_Create
  • Default Api Version: 2023-04-01
  • Resource: SapLandscapeMonitorResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Workloads.SapLandscapeMonitorResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Workloads.SapLandscapeMonitorData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Workloads.SapLandscapeMonitorData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Workloads.SapLandscapeMonitorResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Workloads.SapLandscapeMonitorData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Workloads.SapLandscapeMonitorResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, data As SapLandscapeMonitorData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SapLandscapeMonitorResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

data
SapLandscapeMonitorData

Request body representing a configuration for Sap Landscape Monitor Dashboard.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to