你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TasksOperationsExtensions.GetResourceGroupLevelTaskAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.SecurityTask> GetResourceGroupLevelTaskAsync (this Microsoft.Azure.Management.Security.ITasksOperations operations, string resourceGroupName, string taskName, System.Threading.CancellationToken cancellationToken = default);
static member GetResourceGroupLevelTaskAsync : Microsoft.Azure.Management.Security.ITasksOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.SecurityTask>
<Extension()>
Public Function GetResourceGroupLevelTaskAsync (operations As ITasksOperations, resourceGroupName As String, taskName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SecurityTask)

Parameters

operations
ITasksOperations

The operations group for this extension method.

resourceGroupName
String

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

taskName
String

Name of the task object, will be a GUID

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to