Interface SecureScoreControls
public interface SecureScoreControls
Resource collection API of SecureScoreControls.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<SecureScoreControlDetails>
list()
Get all security controls within a scope.com.azure.core.http.rest.PagedIterable<SecureScoreControlDetails>
list
(ExpandControlsEnum expand, com.azure.core.util.Context context) Get all security controls within a scope.com.azure.core.http.rest.PagedIterable<SecureScoreControlDetails>
listBySecureScore
(String secureScoreName) Get all security controls for a specific initiative within a scope.com.azure.core.http.rest.PagedIterable<SecureScoreControlDetails>
listBySecureScore
(String secureScoreName, ExpandControlsEnum expand, com.azure.core.util.Context context) Get all security controls for a specific initiative within a scope.
-
Method Details
-
listBySecureScore
com.azure.core.http.rest.PagedIterable<SecureScoreControlDetails> listBySecureScore(String secureScoreName) Get all security controls for a specific initiative within a scope.- Parameters:
secureScoreName
- The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below.- Returns:
- all security controls for a specific initiative within a scope 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.
-
listBySecureScore
com.azure.core.http.rest.PagedIterable<SecureScoreControlDetails> listBySecureScore(String secureScoreName, ExpandControlsEnum expand, com.azure.core.util.Context context) Get all security controls for a specific initiative within a scope.- Parameters:
secureScoreName
- The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below.expand
- OData expand. Optional.context
- The context to associate with this operation.- Returns:
- all security controls for a specific initiative within a scope 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.
-
list
com.azure.core.http.rest.PagedIterable<SecureScoreControlDetails> list()Get all security controls within a scope.- Returns:
- all security controls within a scope 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<SecureScoreControlDetails> list(ExpandControlsEnum expand, com.azure.core.util.Context context) Get all security controls within a scope.- Parameters:
expand
- OData expand. Optional.context
- The context to associate with this operation.- Returns:
- all security controls within a scope 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.
-