Interface ManagedRuleSetsClient
public interface ManagedRuleSetsClient
An instance of this class provides access to all the operations defined in ManagedRuleSetsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<ManagedRuleSetDefinitionInner>list()Lists all available managed rule sets.com.azure.core.http.rest.PagedIterable<ManagedRuleSetDefinitionInner>list(com.azure.core.util.Context context) Lists all available managed rule sets.com.azure.core.http.rest.PagedFlux<ManagedRuleSetDefinitionInner>Lists all available managed rule sets.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<ManagedRuleSetDefinitionInner> listAsync()Lists all available managed rule sets.- Returns:
- list of managed rule set definitions available for use in a policy as paginated response with
PagedFlux. - 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<ManagedRuleSetDefinitionInner> 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<ManagedRuleSetDefinitionInner> 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.
-