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

SecureScores interface

表示 SecureScores 的接口。

方法

get(string, SecureScoresGetOptionalParams)

获取当前范围内特定安全中心计划的安全分数。 对于 ASC 默认计划,请使用“ascScore”。

list(SecureScoresListOptionalParams)

列出当前范围内所有安全中心计划的安全分数。

方法详细信息

get(string, SecureScoresGetOptionalParams)

获取当前范围内特定安全中心计划的安全分数。 对于 ASC 默认计划,请使用“ascScore”。

function get(secureScoreName: string, options?: SecureScoresGetOptionalParams): Promise<SecureScoreItem>

参数

secureScoreName

string

计划名称。 对于 ASC 默认计划,请使用“ascScore”,如以下示例请求中所示。

options
SecureScoresGetOptionalParams

选项参数。

返回

Promise<SecureScoreItem>

list(SecureScoresListOptionalParams)

列出当前范围内所有安全中心计划的安全分数。

function list(options?: SecureScoresListOptionalParams): PagedAsyncIterableIterator<SecureScoreItem, SecureScoreItem[], PageSettings>

参数

options
SecureScoresListOptionalParams

选项参数。

返回