AutomationRules interface 
Interface representing a AutomationRules.
Methods
| create | 
	Creates or updates the automation rule.  | 
| delete(string, string, string, Automation | 
	Delete the automation rule.  | 
| get(string, string, string, Automation | 
	Gets the automation rule.  | 
| list(string, string, Automation | 
	Gets all automation rules.  | 
Method Details
		createOrUpdate(string, string, string, AutomationRulesCreateOrUpdateOptionalParams)
	      
	Creates or updates the automation rule.
function createOrUpdate(resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesCreateOrUpdateOptionalParams): Promise<AutomationRule>
				Parameters
- resourceGroupName
 - 
				
string
 
The name of the resource group. The name is case insensitive.
- workspaceName
 - 
				
string
 
The name of the workspace.
- automationRuleId
 - 
				
string
 
Automation rule ID
The options parameters.
Returns
Promise<AutomationRule>
		delete(string, string, string, AutomationRulesDeleteOptionalParams)
	    
	Delete the automation rule.
function delete(resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesDeleteOptionalParams): Promise<AutomationRulesDeleteResponse>
				Parameters
- resourceGroupName
 - 
				
string
 
The name of the resource group. The name is case insensitive.
- workspaceName
 - 
				
string
 
The name of the workspace.
- automationRuleId
 - 
				
string
 
Automation rule ID
The options parameters.
Returns
Promise<AutomationRulesDeleteResponse>
		get(string, string, string, AutomationRulesGetOptionalParams)
	    
	Gets the automation rule.
function get(resourceGroupName: string, workspaceName: string, automationRuleId: string, options?: AutomationRulesGetOptionalParams): Promise<AutomationRule>
				Parameters
- resourceGroupName
 - 
				
string
 
The name of the resource group. The name is case insensitive.
- workspaceName
 - 
				
string
 
The name of the workspace.
- automationRuleId
 - 
				
string
 
Automation rule ID
- options
 - AutomationRulesGetOptionalParams
 
The options parameters.
Returns
Promise<AutomationRule>
		list(string, string, AutomationRulesListOptionalParams)
	    
	Gets all automation rules.
function list(resourceGroupName: string, workspaceName: string, options?: AutomationRulesListOptionalParams): PagedAsyncIterableIterator<AutomationRule, AutomationRule[], 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.