SapMonitors class

Class representing a SapMonitors.

Constructors

SapMonitors(HanaManagementClientContext)

Create a SapMonitors.

Methods

beginCreate(string, string, SapMonitor, RequestOptionsBase)

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

beginDeleteMethod(string, string, RequestOptionsBase)

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

create(string, string, SapMonitor, RequestOptionsBase)

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

deleteMethod(string, string, RequestOptionsBase)

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

get(string, string, RequestOptionsBase)

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

get(string, string, RequestOptionsBase, ServiceCallback<SapMonitor>)
get(string, string, ServiceCallback<SapMonitor>)
list(RequestOptionsBase)

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

list(RequestOptionsBase, ServiceCallback<SapMonitorListResult>)
list(ServiceCallback<SapMonitorListResult>)
listNext(string, RequestOptionsBase)

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

listNext(string, RequestOptionsBase, ServiceCallback<SapMonitorListResult>)
listNext(string, ServiceCallback<SapMonitorListResult>)
update(string, string, Tags, RequestOptionsBase)

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

update(string, string, Tags, RequestOptionsBase, ServiceCallback<SapMonitor>)
update(string, string, Tags, ServiceCallback<SapMonitor>)

Constructor Details

SapMonitors(HanaManagementClientContext)

Create a SapMonitors.

new SapMonitors(client: HanaManagementClientContext)

Parameters

client
HanaManagementClientContext

Reference to the service client.

Method Details

beginCreate(string, string, SapMonitor, RequestOptionsBase)

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

function beginCreate(resourceGroupName: string, sapMonitorName: string, sapMonitorParameter: SapMonitor, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

resourceGroupName

string

Name of the resource group.

sapMonitorName

string

Name of the SAP monitor resource.

sapMonitorParameter
SapMonitor

Request body representing a SAP Monitor

options
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

beginDeleteMethod(string, string, RequestOptionsBase)

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

function beginDeleteMethod(resourceGroupName: string, sapMonitorName: string, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

resourceGroupName

string

Name of the resource group.

sapMonitorName

string

Name of the SAP monitor resource.

options
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

create(string, string, SapMonitor, RequestOptionsBase)

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

function create(resourceGroupName: string, sapMonitorName: string, sapMonitorParameter: SapMonitor, options?: RequestOptionsBase): Promise<SapMonitorsCreateResponse>

Parameters

resourceGroupName

string

Name of the resource group.

sapMonitorName

string

Name of the SAP monitor resource.

sapMonitorParameter
SapMonitor

Request body representing a SAP Monitor

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SapMonitorsCreateResponse>

deleteMethod(string, string, RequestOptionsBase)

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

function deleteMethod(resourceGroupName: string, sapMonitorName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of the resource group.

sapMonitorName

string

Name of the SAP monitor resource.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

get(string, string, RequestOptionsBase)

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

function get(resourceGroupName: string, sapMonitorName: string, options?: RequestOptionsBase): Promise<SapMonitorsGetResponse>

Parameters

resourceGroupName

string

Name of the resource group.

sapMonitorName

string

Name of the SAP monitor resource.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SapMonitorsGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<SapMonitor>)

function get(resourceGroupName: string, sapMonitorName: string, options: RequestOptionsBase, callback: ServiceCallback<SapMonitor>)

Parameters

resourceGroupName

string

Name of the resource group.

sapMonitorName

string

Name of the SAP monitor resource.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<SapMonitor>

The callback

get(string, string, ServiceCallback<SapMonitor>)

function get(resourceGroupName: string, sapMonitorName: string, callback: ServiceCallback<SapMonitor>)

Parameters

resourceGroupName

string

Name of the resource group.

sapMonitorName

string

Name of the SAP monitor resource.

callback

ServiceCallback<SapMonitor>

The callback

list(RequestOptionsBase)

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

function list(options?: RequestOptionsBase): Promise<SapMonitorsListResponse>

Parameters

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SapMonitorsListResponse>

list(RequestOptionsBase, ServiceCallback<SapMonitorListResult>)

function list(options: RequestOptionsBase, callback: ServiceCallback<SapMonitorListResult>)

Parameters

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<SapMonitorListResult>

The callback

list(ServiceCallback<SapMonitorListResult>)

function list(callback: ServiceCallback<SapMonitorListResult>)

Parameters

callback

ServiceCallback<SapMonitorListResult>

The callback

listNext(string, RequestOptionsBase)

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

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<SapMonitorsListNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SapMonitorsListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<SapMonitorListResult>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<SapMonitorListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<SapMonitorListResult>

The callback

listNext(string, ServiceCallback<SapMonitorListResult>)

function listNext(nextPageLink: string, callback: ServiceCallback<SapMonitorListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<SapMonitorListResult>

The callback

update(string, string, Tags, RequestOptionsBase)

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

function update(resourceGroupName: string, sapMonitorName: string, tagsParameter: Tags, options?: RequestOptionsBase): Promise<SapMonitorsUpdateResponse>

Parameters

resourceGroupName

string

Name of the resource group.

sapMonitorName

string

Name of the SAP monitor resource.

tagsParameter
Tags

Request body that only contains the new Tags field

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SapMonitorsUpdateResponse>

update(string, string, Tags, RequestOptionsBase, ServiceCallback<SapMonitor>)

function update(resourceGroupName: string, sapMonitorName: string, tagsParameter: Tags, options: RequestOptionsBase, callback: ServiceCallback<SapMonitor>)

Parameters

resourceGroupName

string

Name of the resource group.

sapMonitorName

string

Name of the SAP monitor resource.

tagsParameter
Tags

Request body that only contains the new Tags field

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<SapMonitor>

The callback

update(string, string, Tags, ServiceCallback<SapMonitor>)

function update(resourceGroupName: string, sapMonitorName: string, tagsParameter: Tags, callback: ServiceCallback<SapMonitor>)

Parameters

resourceGroupName

string

Name of the resource group.

sapMonitorName

string

Name of the SAP monitor resource.

tagsParameter
Tags

Request body that only contains the new Tags field

callback

ServiceCallback<SapMonitor>

The callback