Tasks interface
Interface representing a Tasks.
Methods
get |
Recommended tasks that will help improve the security of the subscription proactively |
get |
Recommended tasks that will help improve the security of the subscription proactively |
list(Tasks |
Recommended tasks that will help improve the security of the subscription proactively |
list |
Recommended tasks that will help improve the security of the subscription proactively |
list |
Recommended tasks that will help improve the security of the subscription proactively |
update |
Recommended tasks that will help improve the security of the subscription proactively |
update |
Recommended tasks that will help improve the security of the subscription proactively |
Method Details
getResourceGroupLevelTask(string, string, string, TasksGetResourceGroupLevelTaskOptionalParams)
Recommended tasks that will help improve the security of the subscription proactively
function getResourceGroupLevelTask(resourceGroupName: string, ascLocation: string, taskName: string, options?: TasksGetResourceGroupLevelTaskOptionalParams): Promise<SecurityTask>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- ascLocation
-
string
The location where ASC stores the data of the subscription. can be retrieved from Get locations
- taskName
-
string
Name of the task object, will be a GUID
The options parameters.
Returns
Promise<SecurityTask>
getSubscriptionLevelTask(string, string, TasksGetSubscriptionLevelTaskOptionalParams)
Recommended tasks that will help improve the security of the subscription proactively
function getSubscriptionLevelTask(ascLocation: string, taskName: string, options?: TasksGetSubscriptionLevelTaskOptionalParams): Promise<SecurityTask>
Parameters
- ascLocation
-
string
The location where ASC stores the data of the subscription. can be retrieved from Get locations
- taskName
-
string
Name of the task object, will be a GUID
The options parameters.
Returns
Promise<SecurityTask>
list(TasksListOptionalParams)
Recommended tasks that will help improve the security of the subscription proactively
function list(options?: TasksListOptionalParams): PagedAsyncIterableIterator<SecurityTask, SecurityTask[], PageSettings>
Parameters
- options
- TasksListOptionalParams
The options parameters.
Returns
listByHomeRegion(string, TasksListByHomeRegionOptionalParams)
Recommended tasks that will help improve the security of the subscription proactively
function listByHomeRegion(ascLocation: string, options?: TasksListByHomeRegionOptionalParams): PagedAsyncIterableIterator<SecurityTask, SecurityTask[], PageSettings>
Parameters
- ascLocation
-
string
The location where ASC stores the data of the subscription. can be retrieved from Get locations
The options parameters.
Returns
listByResourceGroup(string, string, TasksListByResourceGroupOptionalParams)
Recommended tasks that will help improve the security of the subscription proactively
function listByResourceGroup(resourceGroupName: string, ascLocation: string, options?: TasksListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SecurityTask, SecurityTask[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- ascLocation
-
string
The location where ASC stores the data of the subscription. can be retrieved from Get locations
The options parameters.
Returns
updateResourceGroupLevelTaskState(string, string, string, string, TasksUpdateResourceGroupLevelTaskStateOptionalParams)
Recommended tasks that will help improve the security of the subscription proactively
function updateResourceGroupLevelTaskState(resourceGroupName: string, ascLocation: string, taskName: string, taskUpdateActionType: string, options?: TasksUpdateResourceGroupLevelTaskStateOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- ascLocation
-
string
The location where ASC stores the data of the subscription. can be retrieved from Get locations
- taskName
-
string
Name of the task object, will be a GUID
- taskUpdateActionType
-
string
Type of the action to do on the task
The options parameters.
Returns
Promise<void>
updateSubscriptionLevelTaskState(string, string, string, TasksUpdateSubscriptionLevelTaskStateOptionalParams)
Recommended tasks that will help improve the security of the subscription proactively
function updateSubscriptionLevelTaskState(ascLocation: string, taskName: string, taskUpdateActionType: string, options?: TasksUpdateSubscriptionLevelTaskStateOptionalParams): Promise<void>
Parameters
- ascLocation
-
string
The location where ASC stores the data of the subscription. can be retrieved from Get locations
- taskName
-
string
Name of the task object, will be a GUID
- taskUpdateActionType
-
string
Type of the action to do on the task
The options parameters.
Returns
Promise<void>
Azure SDK for JavaScript