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

SubAssessmentsOperationsExtensions.GetAsync Method

Definition

Get a security sub-assessment on your scanned resource

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.SecuritySubAssessment> GetAsync (this Microsoft.Azure.Management.Security.ISubAssessmentsOperations operations, string scope, string assessmentName, string subAssessmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Security.ISubAssessmentsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.SecuritySubAssessment>
<Extension()>
Public Function GetAsync (operations As ISubAssessmentsOperations, scope As String, assessmentName As String, subAssessmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SecuritySubAssessment)

Parameters

operations
ISubAssessmentsOperations

The operations group for this extension method.

scope
String

Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

assessmentName
String

The Assessment Key - Unique key for the assessment type

subAssessmentName
String

The Sub-Assessment Key - Unique key for the sub-assessment type

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to