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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for JavaScript