SecureScores interface

Interface representing a SecureScores.

Methods

get(string, SecureScoresGetOptionalParams)

Get secure score for a specific Security Center initiative within your current scope. For the ASC Default initiative, use 'ascScore'.

list(SecureScoresListOptionalParams)

List secure scores for all your Security Center initiatives within your current scope.

Method Details

get(string, SecureScoresGetOptionalParams)

Get secure score for a specific Security Center initiative within your current scope. For the ASC Default initiative, use 'ascScore'.

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

Parameters

secureScoreName

string

The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below.

options
SecureScoresGetOptionalParams

The options parameters.

Returns

Promise<SecureScoreItem>

list(SecureScoresListOptionalParams)

List secure scores for all your Security Center initiatives within your current scope.

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

Parameters

options
SecureScoresListOptionalParams

The options parameters.

Returns