AlertRuleTemplates interface
Interface representing a AlertRuleTemplates.
Methods
get(string, string, string, Alert |
Gets the alert rule template. |
list(string, string, Alert |
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
The options parameters.
Returns
Promise<AlertRuleTemplateUnion>
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.
The options parameters.
Returns
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for JavaScript