Interface SecureScoresClient
public interface SecureScoresClient
An instance of this class provides access to all the operations defined in SecureScoresClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet secure score for a specific Microsoft Defender for Cloud initiative within your current scope.com.azure.core.http.rest.Response<SecureScoreItemInner>
getWithResponse
(String secureScoreName, com.azure.core.util.Context context) Get secure score for a specific Microsoft Defender for Cloud initiative within your current scope.com.azure.core.http.rest.PagedIterable<SecureScoreItemInner>
list()
List secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.com.azure.core.http.rest.PagedIterable<SecureScoreItemInner>
list
(com.azure.core.util.Context context) List secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.
-
Method Details
-
list
com.azure.core.http.rest.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
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<SecureScoreItemInner> list(com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<SecureScoreItemInner> getWithResponse(String secureScoreName, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-