Interface GovernanceRulesClient


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

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<GovernanceRuleInner>
    Get a list of all relevant governanceRules over a subscription level scope.
    com.azure.core.http.rest.PagedIterable<GovernanceRuleInner>
    list(com.azure.core.util.Context context)
    Get a list of all relevant governanceRules over a subscription level scope.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<GovernanceRuleInner> list()
      Get a list of all relevant governanceRules over a subscription level scope.
      Returns:
      a list of all relevant governanceRules over a subscription level 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<GovernanceRuleInner> list(com.azure.core.util.Context context)
      Get a list of all relevant governanceRules over a subscription level scope.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      a list of all relevant governanceRules over a subscription level 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.