Aracılığıyla paylaş


AutomationRulesClient Interface

public interface AutomationRulesClient

An instance of this class provides access to all the operations defined in AutomationRulesClient.

Method Summary

Modifier and Type Method and Description
abstract AutomationRuleInner createOrUpdate(String resourceGroupName, String workspaceName, String automationRuleId)

Creates or updates the automation rule.

abstract Response<AutomationRuleInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String automationRuleId, AutomationRuleInner automationRuleToUpsert, Context context)

Creates or updates the automation rule.

abstract Object delete(String resourceGroupName, String workspaceName, String automationRuleId)

Delete the automation rule.

abstract Response<Object> deleteWithResponse(String resourceGroupName, String workspaceName, String automationRuleId, Context context)

Delete the automation rule.

abstract AutomationRuleInner get(String resourceGroupName, String workspaceName, String automationRuleId)

Gets the automation rule.

abstract Response<AutomationRuleInner> getWithResponse(String resourceGroupName, String workspaceName, String automationRuleId, Context context)

Gets the automation rule.

abstract PagedIterable<AutomationRuleInner> list(String resourceGroupName, String workspaceName)

Gets all automation rules.

abstract PagedIterable<AutomationRuleInner> list(String resourceGroupName, String workspaceName, Context context)

Gets all automation rules.

Method Details

createOrUpdate

public abstract AutomationRuleInner createOrUpdate(String resourceGroupName, String workspaceName, String automationRuleId)

Creates or updates the automation rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
automationRuleId - Automation rule ID.

Returns:

the response.

createOrUpdateWithResponse

public abstract Response<AutomationRuleInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String automationRuleId, AutomationRuleInner automationRuleToUpsert, Context context)

Creates or updates the automation rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
automationRuleId - Automation rule ID.
automationRuleToUpsert - The automation rule.
context - The context to associate with this operation.

Returns:

the response body along with Response<T>.

delete

public abstract Object delete(String resourceGroupName, String workspaceName, String automationRuleId)

Delete the automation rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
automationRuleId - Automation rule ID.

Returns:

any object.

deleteWithResponse

public abstract Response<Object> deleteWithResponse(String resourceGroupName, String workspaceName, String automationRuleId, Context context)

Delete the automation rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
automationRuleId - Automation rule ID.
context - The context to associate with this operation.

Returns:

any object along with Response<T>.

get

public abstract AutomationRuleInner get(String resourceGroupName, String workspaceName, String automationRuleId)

Gets the automation rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
automationRuleId - Automation rule ID.

Returns:

the automation rule.

getWithResponse

public abstract Response<AutomationRuleInner> getWithResponse(String resourceGroupName, String workspaceName, String automationRuleId, Context context)

Gets the automation rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
automationRuleId - Automation rule ID.
context - The context to associate with this operation.

Returns:

the automation rule along with Response<T>.

list

public abstract PagedIterable<AutomationRuleInner> list(String resourceGroupName, String workspaceName)

Gets all automation rules.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.

Returns:

all automation rules as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<AutomationRuleInner> list(String resourceGroupName, String workspaceName, Context context)

Gets all automation rules.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
context - The context to associate with this operation.

Returns:

all automation rules as paginated response with PagedIterable<T>.

Applies to