SecureScores Interface

public interface SecureScores

Resource collection API of SecureScores.

Method Summary

Modifier and Type Method and Description
abstract SecureScoreItem get(String secureScoreName)

Get secure score for a specific Microsoft Defender for Cloud initiative within your current scope.

abstract Response<SecureScoreItem> getWithResponse(String secureScoreName, Context context)

Get secure score for a specific Microsoft Defender for Cloud initiative within your current scope.

abstract PagedIterable<SecureScoreItem> list()

List secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.

abstract PagedIterable<SecureScoreItem> list(Context context)

List secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.

Method Details

get

public abstract SecureScoreItem get(String secureScoreName)

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

Parameters:

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

Returns:

secure score for a specific Microsoft Defender for Cloud initiative within your current scope.

getWithResponse

public abstract Response getWithResponse(String secureScoreName, Context context)

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

Parameters:

secureScoreName - The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below.
context - The context to associate with this operation.

Returns:

secure score for a specific Microsoft Defender for Cloud initiative within your current scope along with Response<T>.

list

public abstract PagedIterable list()

List secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.

Returns:

list of secure scores as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

List secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.

Parameters:

context - The context to associate with this operation.

Returns:

list of secure scores as paginated response with PagedIterable<T>.

Applies to