SecureScoresClient Interface

public interface SecureScoresClient

An instance of this class provides access to all the operations defined in SecureScoresClient.

Method Summary

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

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

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

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

abstract PagedIterable<SecureScoreItemInner> list()

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

abstract PagedIterable<SecureScoreItemInner> list(Context context)

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

Method Details

get

public abstract SecureScoreItemInner 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<SecureScoreItemInner> 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<SecureScoreItemInner> 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<SecureScoreItemInner> 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