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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for JavaScript