AlertRuleTemplates interface

Interface representing a AlertRuleTemplates.

Methods

get(string, string, string, AlertRuleTemplatesGetOptionalParams)

Gets the alert rule template.

list(string, string, AlertRuleTemplatesListOptionalParams)

Gets all alert rule templates.

Method Details

get(string, string, string, AlertRuleTemplatesGetOptionalParams)

Gets the alert rule template.

function get(resourceGroupName: string, workspaceName: string, alertRuleTemplateId: string, options?: AlertRuleTemplatesGetOptionalParams): Promise<AlertRuleTemplateUnion>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

alertRuleTemplateId

string

Alert rule template ID

options
AlertRuleTemplatesGetOptionalParams

The options parameters.

Returns

list(string, string, AlertRuleTemplatesListOptionalParams)

Gets all alert rule templates.

function list(resourceGroupName: string, workspaceName: string, options?: AlertRuleTemplatesListOptionalParams): PagedAsyncIterableIterator<AlertRuleTemplateUnion, AlertRuleTemplateUnion[], PageSettings>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

options
AlertRuleTemplatesListOptionalParams

The options parameters.

Returns