PreviewAlertRuleManagementClient class
Constructors
| Preview |
The Preview Alert Rule API provides the ability to retrieve the results of a simulated historical execution of an alert rule |
Properties
| pipeline | The pipeline used by this client to make requests |
Methods
| preview |
Retrieves the results of a simulated historical execution of an alert rule |
Constructor Details
PreviewAlertRuleManagementClient(TokenCredential, PreviewAlertRuleManagementClientOptionalParams)
The Preview Alert Rule API provides the ability to retrieve the results of a simulated historical execution of an alert rule
new PreviewAlertRuleManagementClient(credential: TokenCredential, options?: PreviewAlertRuleManagementClientOptionalParams)
Parameters
- credential
- TokenCredential
Property Details
pipeline
Method Details
previewAlertRule(string, PreviewAlertRuleRequest, PreviewAlertRuleOptionalParams)
Retrieves the results of a simulated historical execution of an alert rule
function previewAlertRule(resourceId: string, parameters: PreviewAlertRuleRequest, options?: PreviewAlertRuleOptionalParams): Promise<PreviewAlertRuleResponse>
Parameters
- resourceId
-
string
- parameters
- PreviewAlertRuleRequest
- options
- PreviewAlertRuleOptionalParams
Returns
Promise<PreviewAlertRuleResponse>