你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AssessmentsMetadataOperationsExtensions.GetInSubscriptionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get metadata information on an assessment type in a specific subscription
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.SecurityAssessmentMetadataResponse> GetInSubscriptionAsync (this Microsoft.Azure.Management.Security.IAssessmentsMetadataOperations operations, string assessmentMetadataName, System.Threading.CancellationToken cancellationToken = default);
static member GetInSubscriptionAsync : Microsoft.Azure.Management.Security.IAssessmentsMetadataOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.SecurityAssessmentMetadataResponse>
<Extension()>
Public Function GetInSubscriptionAsync (operations As IAssessmentsMetadataOperations, assessmentMetadataName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SecurityAssessmentMetadataResponse)
Parameters
- operations
- IAssessmentsMetadataOperations
The operations group for this extension method.
- assessmentMetadataName
- String
The Assessment Key - Unique key for the assessment type
- cancellationToken
- CancellationToken
The cancellation token.