Monitors interface

Interface representing a Monitors.

Methods

beginCreate(string, string, MonitorsCreateOptionalParams)

Create a monitor resource.

beginCreateAndWait(string, string, MonitorsCreateOptionalParams)

Create a monitor resource.

beginDelete(string, string, MonitorsDeleteOptionalParams)

Delete a monitor resource.

beginDeleteAndWait(string, string, MonitorsDeleteOptionalParams)

Delete a monitor resource.

get(string, string, MonitorsGetOptionalParams)

Get the properties of a specific monitor resource.

list(MonitorsListOptionalParams)

List all monitors under the specified subscription.

listByResourceGroup(string, MonitorsListByResourceGroupOptionalParams)

List all monitors under the specified resource group.

update(string, string, MonitorsUpdateOptionalParams)

Update a monitor resource.

Method Details

beginCreate(string, string, MonitorsCreateOptionalParams)

Create a monitor resource.

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

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, MonitorsCreateOptionalParams)

Create a monitor resource.

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

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsCreateOptionalParams

The options parameters.

Returns

beginDelete(string, string, MonitorsDeleteOptionalParams)

Delete a monitor resource.

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

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, MonitorsDeleteOptionalParams)

Delete a monitor resource.

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

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, MonitorsGetOptionalParams)

Get the properties of a specific monitor resource.

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

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsGetOptionalParams

The options parameters.

Returns

list(MonitorsListOptionalParams)

List all monitors under the specified subscription.

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

Parameters

options
MonitorsListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, MonitorsListByResourceGroupOptionalParams)

List all monitors under the specified resource group.

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

Parameters

resourceGroupName

string

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

options
MonitorsListByResourceGroupOptionalParams

The options parameters.

Returns

update(string, string, MonitorsUpdateOptionalParams)

Update a monitor resource.

function update(resourceGroupName: string, monitorName: string, options?: MonitorsUpdateOptionalParams): Promise<ElasticMonitorResource>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsUpdateOptionalParams

The options parameters.

Returns