TasksClient Interface

public interface TasksClient

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

Method Summary

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

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

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

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

abstract SecurityTaskInner getSubscriptionLevelTask(String ascLocation, String taskName)

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

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

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

abstract PagedIterable<SecurityTaskInner> list()

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

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

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

abstract PagedIterable<SecurityTaskInner> listByHomeRegion(String ascLocation)

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

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

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

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

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

abstract PagedIterable<SecurityTaskInner> 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 SecurityTaskInner 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. 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<SecurityTaskInner> 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. 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 SecurityTaskInner 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<SecurityTaskInner> 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<SecurityTaskInner> 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<SecurityTaskInner> 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<SecurityTaskInner> 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<SecurityTaskInner> 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<SecurityTaskInner> 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. 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<SecurityTaskInner> 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. 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. 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<Void> 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. 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<Void> 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