AutomationRulesOperations interface

Interface representing a AutomationRules operations.

Properties

createOrUpdate

Creates or updates the automation rule.

delete

Delete the automation rule.

get

Gets the automation rule.

list

Gets all automation rules.

Property Details

createOrUpdate

Creates or updates the automation rule.

createOrUpdate: (resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesCreateOrUpdateOptionalParams) => Promise<AutomationRule>

Property Value

(resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesCreateOrUpdateOptionalParams) => Promise<AutomationRule>

delete

Delete the automation rule.

delete: (resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesDeleteOptionalParams) => Promise<AutomationRulesDeleteResponse>

Property Value

(resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesDeleteOptionalParams) => Promise<AutomationRulesDeleteResponse>

get

Gets the automation rule.

get: (resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesGetOptionalParams) => Promise<AutomationRule>

Property Value

(resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesGetOptionalParams) => Promise<AutomationRule>

list

Gets all automation rules.

list: (resourceGroupName: string, workspaceName: string, options?: AutomationRulesListOptionalParams) => PagedAsyncIterableIterator<AutomationRule, AutomationRule[], PageSettings>

Property Value

(resourceGroupName: string, workspaceName: string, options?: AutomationRulesListOptionalParams) => PagedAsyncIterableIterator<AutomationRule, AutomationRule[], PageSettings>