Monitors interface

Interface representing a Monitors.

Methods

beginCreate(string, string, Monitor, MonitorsCreateOptionalParams)

Creates a SAP monitor for the specified subscription, resource group, and resource name.

beginCreateAndWait(string, string, Monitor, MonitorsCreateOptionalParams)

Creates a SAP monitor for the specified subscription, resource group, and resource name.

beginDelete(string, string, MonitorsDeleteOptionalParams)

Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.

beginDeleteAndWait(string, string, MonitorsDeleteOptionalParams)

Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.

get(string, string, MonitorsGetOptionalParams)

Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.

list(MonitorsListOptionalParams)

Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.

listByResourceGroup(string, MonitorsListByResourceGroupOptionalParams)

Gets a list of SAP monitors in the specified resource group.

update(string, string, UpdateMonitorRequest, MonitorsUpdateOptionalParams)

Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name.

Method Details

beginCreate(string, string, Monitor, MonitorsCreateOptionalParams)

Creates a SAP monitor for the specified subscription, resource group, and resource name.

function beginCreate(resourceGroupName: string, monitorName: string, monitorParameter: Monitor, options?: MonitorsCreateOptionalParams): Promise<SimplePollerLike<OperationState<Monitor>, Monitor>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the SAP monitor resource.

monitorParameter
Monitor

Request body representing a SAP monitor

options
MonitorsCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Monitor>, Monitor>>

beginCreateAndWait(string, string, Monitor, MonitorsCreateOptionalParams)

Creates a SAP monitor for the specified subscription, resource group, and resource name.

function beginCreateAndWait(resourceGroupName: string, monitorName: string, monitorParameter: Monitor, options?: MonitorsCreateOptionalParams): Promise<Monitor>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the SAP monitor resource.

monitorParameter
Monitor

Request body representing a SAP monitor

options
MonitorsCreateOptionalParams

The options parameters.

Returns

Promise<Monitor>

beginDelete(string, string, MonitorsDeleteOptionalParams)

Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.

function beginDelete(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the SAP monitor resource.

options
MonitorsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

beginDeleteAndWait(string, string, MonitorsDeleteOptionalParams)

Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.

function beginDeleteAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<OperationStatusResult>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the SAP monitor resource.

options
MonitorsDeleteOptionalParams

The options parameters.

Returns

get(string, string, MonitorsGetOptionalParams)

Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.

function get(resourceGroupName: string, monitorName: string, options?: MonitorsGetOptionalParams): Promise<Monitor>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the SAP monitor resource.

options
MonitorsGetOptionalParams

The options parameters.

Returns

Promise<Monitor>

list(MonitorsListOptionalParams)

Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.

function list(options?: MonitorsListOptionalParams): PagedAsyncIterableIterator<Monitor, Monitor[], PageSettings>

Parameters

options
MonitorsListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, MonitorsListByResourceGroupOptionalParams)

Gets a list of SAP monitors in the specified resource group.

function listByResourceGroup(resourceGroupName: string, options?: MonitorsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Monitor, Monitor[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
MonitorsListByResourceGroupOptionalParams

The options parameters.

Returns

update(string, string, UpdateMonitorRequest, MonitorsUpdateOptionalParams)

Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name.

function update(resourceGroupName: string, monitorName: string, body: UpdateMonitorRequest, options?: MonitorsUpdateOptionalParams): Promise<Monitor>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the SAP monitor resource.

body
UpdateMonitorRequest

The Update SAP workload monitor request body.

options
MonitorsUpdateOptionalParams

The options parameters.

Returns

Promise<Monitor>