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

SecurityCenterExtensions.GetSecuritySubAssessments 方法

定义

获取订阅范围内所有扫描资源的安全子评估

  • 请求路径/{scope}/providers/Microsoft.Security/subAssessments
  • 操作IdSubAssessments_ListAll
public static Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource> GetSecuritySubAssessments (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
static member GetSecuritySubAssessments : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecuritySubAssessmentResource>
<Extension()>
Public Function GetSecuritySubAssessments (client As ArmClient, scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecuritySubAssessmentResource)

参数

client
ArmClient

方法 ArmClient 将对其执行的实例。

scope
ResourceIdentifier

资源将应用于的范围。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于