Tasks Interface

public interface Tasks

Resource collection API of Tasks.

Method Summary

Modifier and Type Method and Description
abstract SecurityTask getResourceGroupLevelTask(String resourceGroupName, String ascLocation, String taskName)

Recommended tasks that will help improve the security of the subscription proactively.

abstract Response<SecurityTask> getResourceGroupLevelTaskWithResponse(String resourceGroupName, String ascLocation, String taskName, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

abstract SecurityTask getSubscriptionLevelTask(String ascLocation, String taskName)

Recommended tasks that will help improve the security of the subscription proactively.

abstract Response<SecurityTask> getSubscriptionLevelTaskWithResponse(String ascLocation, String taskName, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

abstract PagedIterable<SecurityTask> list()

Recommended tasks that will help improve the security of the subscription proactively.

abstract PagedIterable<SecurityTask> list(String filter, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

abstract PagedIterable<SecurityTask> listByHomeRegion(String ascLocation)

Recommended tasks that will help improve the security of the subscription proactively.

abstract PagedIterable<SecurityTask> listByHomeRegion(String ascLocation, String filter, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

abstract PagedIterable<SecurityTask> listByResourceGroup(String resourceGroupName, String ascLocation)

Recommended tasks that will help improve the security of the subscription proactively.

abstract PagedIterable<SecurityTask> listByResourceGroup(String resourceGroupName, String ascLocation, String filter, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

abstract void updateResourceGroupLevelTaskState(String resourceGroupName, String ascLocation, String taskName, TaskUpdateActionType taskUpdateActionType)

Recommended tasks that will help improve the security of the subscription proactively.

abstract Response<Void> updateResourceGroupLevelTaskStateWithResponse(String resourceGroupName, String ascLocation, String taskName, TaskUpdateActionType taskUpdateActionType, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

abstract void updateSubscriptionLevelTaskState(String ascLocation, String taskName, TaskUpdateActionType taskUpdateActionType)

Recommended tasks that will help improve the security of the subscription proactively.

abstract Response<Void> updateSubscriptionLevelTaskStateWithResponse(String ascLocation, String taskName, TaskUpdateActionType taskUpdateActionType, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

Method Details

getResourceGroupLevelTask

public abstract SecurityTask getResourceGroupLevelTask(String resourceGroupName, String ascLocation, String taskName)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
taskName - Name of the task object, will be a GUID.

Returns:

security task that we recommend to do in order to strengthen security.

getResourceGroupLevelTaskWithResponse

public abstract Response getResourceGroupLevelTaskWithResponse(String resourceGroupName, String ascLocation, String taskName, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
taskName - Name of the task object, will be a GUID.
context - The context to associate with this operation.

Returns:

security task that we recommend to do in order to strengthen security along with Response<T>.

getSubscriptionLevelTask

public abstract SecurityTask getSubscriptionLevelTask(String ascLocation, String taskName)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
taskName - Name of the task object, will be a GUID.

Returns:

security task that we recommend to do in order to strengthen security.

getSubscriptionLevelTaskWithResponse

public abstract Response getSubscriptionLevelTaskWithResponse(String ascLocation, String taskName, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
taskName - Name of the task object, will be a GUID.
context - The context to associate with this operation.

Returns:

security task that we recommend to do in order to strengthen security along with Response<T>.

list

public abstract PagedIterable list()

Recommended tasks that will help improve the security of the subscription proactively.

Returns:

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

list

public abstract PagedIterable list(String filter, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

filter - OData filter. Optional.
context - The context to associate with this operation.

Returns:

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

listByHomeRegion

public abstract PagedIterable listByHomeRegion(String ascLocation)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.

Returns:

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

listByHomeRegion

public abstract PagedIterable listByHomeRegion(String ascLocation, String filter, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
filter - OData filter. Optional.
context - The context to associate with this operation.

Returns:

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

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, String ascLocation)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.

Returns:

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

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, String ascLocation, String filter, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
filter - OData filter. Optional.
context - The context to associate with this operation.

Returns:

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

updateResourceGroupLevelTaskState

public abstract void updateResourceGroupLevelTaskState(String resourceGroupName, String ascLocation, String taskName, TaskUpdateActionType taskUpdateActionType)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
taskName - Name of the task object, will be a GUID.
taskUpdateActionType - Type of the action to do on the task.

updateResourceGroupLevelTaskStateWithResponse

public abstract Response updateResourceGroupLevelTaskStateWithResponse(String resourceGroupName, String ascLocation, String taskName, TaskUpdateActionType taskUpdateActionType, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
taskName - Name of the task object, will be a GUID.
taskUpdateActionType - Type of the action to do on the task.
context - The context to associate with this operation.

Returns:

updateSubscriptionLevelTaskState

public abstract void updateSubscriptionLevelTaskState(String ascLocation, String taskName, TaskUpdateActionType taskUpdateActionType)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
taskName - Name of the task object, will be a GUID.
taskUpdateActionType - Type of the action to do on the task.

updateSubscriptionLevelTaskStateWithResponse

public abstract Response updateSubscriptionLevelTaskStateWithResponse(String ascLocation, String taskName, TaskUpdateActionType taskUpdateActionType, Context context)

Recommended tasks that will help improve the security of the subscription proactively.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
taskName - Name of the task object, will be a GUID.
taskUpdateActionType - Type of the action to do on the task.
context - The context to associate with this operation.

Returns:

Applies to