Interface SecureScoreControlsClient


public interface SecureScoreControlsClient
An instance of this class provides access to all the operations defined in SecureScoreControlsClient.
  • Method Details

    • listBySecureScore

      com.azure.core.http.rest.PagedIterable<SecureScoreControlDetailsInner> 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<SecureScoreControlDetailsInner> 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<SecureScoreControlDetailsInner> 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<SecureScoreControlDetailsInner> 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.