AutomationsClient Interface

public interface AutomationsClient

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

Method Summary

Modifier and Type Method and Description
abstract AutomationInner createOrUpdate(String resourceGroupName, String automationName, AutomationInner automation)

Creates or updates a security automation.

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

Creates or updates a security automation.

abstract void delete(String resourceGroupName, String automationName)

Deletes a security automation.

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

Deletes a security automation.

abstract AutomationInner getByResourceGroup(String resourceGroupName, String automationName)

Retrieves information about the model of a security automation.

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

Retrieves information about the model of a security automation.

abstract PagedIterable<AutomationInner> list()

Lists all the security automations in the specified subscription.

abstract PagedIterable<AutomationInner> list(Context context)

Lists all the security automations in the specified subscription.

abstract PagedIterable<AutomationInner> listByResourceGroup(String resourceGroupName)

Lists all the security automations in the specified resource group.

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

Lists all the security automations in the specified resource group.

abstract AutomationInner update(String resourceGroupName, String automationName, AutomationUpdateModel automation)

Updates a security automation.

abstract Response<AutomationInner> updateWithResponse(String resourceGroupName, String automationName, AutomationUpdateModel automation, Context context)

Updates a security automation.

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

Validates the security automation model before create or update.

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

Validates the security automation model before create or update.

Method Details

createOrUpdate

public abstract AutomationInner createOrUpdate(String resourceGroupName, String automationName, AutomationInner automation)

Creates or updates a security automation. If a security automation is already created and a subsequent request is issued for the same automation id, then it will be updated.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
automationName - The security automation name.
automation - The security automation resource.

Returns:

the security automation resource.

createOrUpdateWithResponse

public abstract Response<AutomationInner> createOrUpdateWithResponse(String resourceGroupName, String automationName, AutomationInner automation, Context context)

Creates or updates a security automation. If a security automation is already created and a subsequent request is issued for the same automation id, then it will be updated.

Parameters:

resourceGroupName - The name of the resource group. 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 resource along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String automationName)

Deletes a security automation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
automationName - The security automation name.

deleteWithResponse

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

Deletes a security automation.

Parameters:

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

Returns:

getByResourceGroup

public abstract AutomationInner getByResourceGroup(String resourceGroupName, String automationName)

Retrieves information about the model of a security automation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
automationName - The security automation name.

Returns:

the security automation resource.

getByResourceGroupWithResponse

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

Retrieves information about the model of a security automation.

Parameters:

resourceGroupName - The name of the resource group. 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<AutomationInner> 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<AutomationInner> 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<AutomationInner> 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. The name is case insensitive.

Returns:

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

listByResourceGroup

public abstract PagedIterable<AutomationInner> 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. 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>.

update

public abstract AutomationInner update(String resourceGroupName, String automationName, AutomationUpdateModel automation)

Updates a security automation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
automationName - The security automation name.
automation - The update model of security automation resource.

Returns:

the security automation resource.

updateWithResponse

public abstract Response<AutomationInner> updateWithResponse(String resourceGroupName, String automationName, AutomationUpdateModel automation, Context context)

Updates a security automation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
automationName - The security automation name.
automation - The update model of security automation resource.
context - The context to associate with this operation.

Returns:

the security automation resource along with Response<T>.

validate

public abstract AutomationValidationStatusInner 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. 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<AutomationValidationStatusInner> 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. 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