Interface ManagedRuleSets
public interface ManagedRuleSets
Resource collection API of ManagedRuleSets.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<ManagedRuleSetDefinition>
list()
Lists all available managed rule sets.com.azure.core.http.rest.PagedIterable<ManagedRuleSetDefinition>
list
(com.azure.core.util.Context context) Lists all available managed rule sets.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ManagedRuleSetDefinition> list()Lists all available managed rule sets.- Returns:
- list of managed rule set definitions available for use in a policy 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<ManagedRuleSetDefinition> list(com.azure.core.util.Context context) Lists all available managed rule sets.- Parameters:
context
- The context to associate with this operation.- Returns:
- list of managed rule set definitions available for use in a policy 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.
-