Automations Interface

public interface Automations

Resource collection API of Automations.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new Automation resource.

abstract void deleteById(String id)

Deletes a security automation.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Deletes a security automation.

abstract void deleteByResourceGroup(String resourceGroupName, String automationName)

Deletes a security automation.

abstract Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String automationName, Context context)

Deletes a security automation.

abstract Automation getById(String id)

Retrieves information about the model of a security automation.

abstract Response<Automation> getByIdWithResponse(String id, Context context)

Retrieves information about the model of a security automation.

abstract Automation getByResourceGroup(String resourceGroupName, String automationName)

Retrieves information about the model of a security automation.

abstract Response<Automation> getByResourceGroupWithResponse(String resourceGroupName, String automationName, Context context)

Retrieves information about the model of a security automation.

abstract PagedIterable<Automation> list()

Lists all the security automations in the specified subscription.

abstract PagedIterable<Automation> list(Context context)

Lists all the security automations in the specified subscription.

abstract PagedIterable<Automation> listByResourceGroup(String resourceGroupName)

Lists all the security automations in the specified resource group.

abstract PagedIterable<Automation> listByResourceGroup(String resourceGroupName, Context context)

Lists all the security automations in the specified resource group.

abstract AutomationValidationStatus validate(String resourceGroupName, String automationName, AutomationInner automation)

Validates the security automation model before create or update.

abstract Response<AutomationValidationStatus> validateWithResponse(String resourceGroupName, String automationName, AutomationInner automation, Context context)

Validates the security automation model before create or update.

Method Details

define

public abstract Automation.DefinitionStages.Blank define(String name)

Begins definition for a new Automation resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Automation definition.

deleteById

public abstract void deleteById(String id)

Deletes a security automation.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response deleteByIdWithResponse(String id, Context context)

Deletes a security automation.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String automationName)

Deletes a security automation.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
automationName - The security automation name.

deleteByResourceGroupWithResponse

public abstract Response deleteByResourceGroupWithResponse(String resourceGroupName, String automationName, Context context)

Deletes a security automation.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
automationName - The security automation name.
context - The context to associate with this operation.

Returns:

getById

public abstract Automation getById(String id)

Retrieves information about the model of a security automation.

Parameters:

id - the resource ID.

Returns:

the security automation resource along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Retrieves information about the model of a security automation.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the security automation resource along with Response<T>.

getByResourceGroup

public abstract Automation getByResourceGroup(String resourceGroupName, String automationName)

Retrieves information about the model of a security automation.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
automationName - The security automation name.

Returns:

the security automation resource.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String automationName, Context context)

Retrieves information about the model of a security automation.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
automationName - The security automation name.
context - The context to associate with this operation.

Returns:

the security automation resource along with Response<T>.

list

public abstract PagedIterable list()

Lists all the security automations in the specified subscription. Use the 'nextLink' property in the response to get the next page of security automations for the specified subscription.

Returns:

list of security automations response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Lists all the security automations in the specified subscription. Use the 'nextLink' property in the response to get the next page of security automations for the specified subscription.

Parameters:

context - The context to associate with this operation.

Returns:

list of security automations response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all the security automations in the specified resource group. Use the 'nextLink' property in the response to get the next page of security automations for the specified resource group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.

Returns:

list of security automations response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Lists all the security automations in the specified resource group. Use the 'nextLink' property in the response to get the next page of security automations for the specified resource group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
context - The context to associate with this operation.

Returns:

list of security automations response as paginated response with PagedIterable<T>.

validate

public abstract AutomationValidationStatus validate(String resourceGroupName, String automationName, AutomationInner automation)

Validates the security automation model before create or update. Any validation errors are returned to the client.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
automationName - The security automation name.
automation - The security automation resource.

Returns:

the security automation model state property bag.

validateWithResponse

public abstract Response validateWithResponse(String resourceGroupName, String automationName, AutomationInner automation, Context context)

Validates the security automation model before create or update. Any validation errors are returned to the client.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
automationName - The security automation name.
automation - The security automation resource.
context - The context to associate with this operation.

Returns:

the security automation model state property bag along with Response<T>.

Applies to