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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for