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

SecurityAssessmentResource.GetSecuritySubAssessment 方法

定义

获取已扫描资源的安全子评估

  • 请求路径/{scope}/providers/Microsoft.Security/assessments/{assessmentName}/subAssessments/{subAssessmentName}
  • 操作IdSubAssessments_Get
public virtual Azure.Response<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource> GetSecuritySubAssessment (string subAssessmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecuritySubAssessment : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource>
override this.GetSecuritySubAssessment : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource>
Public Overridable Function GetSecuritySubAssessment (subAssessmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecuritySubAssessmentResource)

参数

subAssessmentName
String

Sub-Assessment键 - 子评估类型的唯一键。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

subAssessmentName 是一个空字符串,预期为非空。

subAssessmentName 为 null。

适用于