Interface FirewallPolicyRuleCollectionGroupsClient


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

    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName)
      Deletes the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      Returns:
      the Response on successful completion of Mono.
      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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName)
      Deletes the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      Returns:
      the PollerFlux for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName)
      Deletes the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, com.azure.core.util.Context context)
      Deletes the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName)
      Deletes the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • delete

      void delete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName)
      Deletes the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      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.
    • delete

      void delete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, com.azure.core.util.Context context)
      Deletes the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      context - The context to associate with this operation.
      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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<FirewallPolicyRuleCollectionGroupInner>> getWithResponseAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName)
      Gets the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      Returns:
      the specified FirewallPolicyRuleCollectionGroup along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<FirewallPolicyRuleCollectionGroupInner> getAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName)
      Gets the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      Returns:
      the specified FirewallPolicyRuleCollectionGroup on successful completion of Mono.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<FirewallPolicyRuleCollectionGroupInner> getWithResponse(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, com.azure.core.util.Context context)
      Gets the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      context - The context to associate with this operation.
      Returns:
      the specified FirewallPolicyRuleCollectionGroup along with Response.
      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.
    • get

      FirewallPolicyRuleCollectionGroupInner get(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName)
      Gets the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      Returns:
      the specified FirewallPolicyRuleCollectionGroup.
      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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters)
      Creates or updates the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      parameters - Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation.
      Returns:
      rule Collection Group resource along with Response on successful completion of Mono.
      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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<FirewallPolicyRuleCollectionGroupInner>,FirewallPolicyRuleCollectionGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters)
      Creates or updates the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      parameters - Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation.
      Returns:
      the PollerFlux for polling of rule Collection Group resource.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FirewallPolicyRuleCollectionGroupInner>,FirewallPolicyRuleCollectionGroupInner> beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters)
      Creates or updates the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      parameters - Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation.
      Returns:
      the SyncPoller for polling of rule Collection Group resource.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FirewallPolicyRuleCollectionGroupInner>,FirewallPolicyRuleCollectionGroupInner> beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters, com.azure.core.util.Context context)
      Creates or updates the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      parameters - Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of rule Collection Group resource.
      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.
    • createOrUpdateAsync

      Mono<FirewallPolicyRuleCollectionGroupInner> createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters)
      Creates or updates the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      parameters - Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation.
      Returns:
      rule Collection Group resource on successful completion of Mono.
      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.
    • createOrUpdate

      FirewallPolicyRuleCollectionGroupInner createOrUpdate(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters)
      Creates or updates the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      parameters - Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation.
      Returns:
      rule Collection Group resource.
      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.
    • createOrUpdate

      FirewallPolicyRuleCollectionGroupInner createOrUpdate(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters, com.azure.core.util.Context context)
      Creates or updates the specified FirewallPolicyRuleCollectionGroup.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      ruleCollectionGroupName - The name of the FirewallPolicyRuleCollectionGroup.
      parameters - Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation.
      context - The context to associate with this operation.
      Returns:
      rule Collection Group resource.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<FirewallPolicyRuleCollectionGroupInner> listAsync(String resourceGroupName, String firewallPolicyName)
      Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      Returns:
      response for ListFirewallPolicyRuleCollectionGroups API service call as paginated response with PagedFlux.
      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<FirewallPolicyRuleCollectionGroupInner> list(String resourceGroupName, String firewallPolicyName)
      Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      Returns:
      response for ListFirewallPolicyRuleCollectionGroups API service call 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<FirewallPolicyRuleCollectionGroupInner> list(String resourceGroupName, String firewallPolicyName, com.azure.core.util.Context context)
      Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      context - The context to associate with this operation.
      Returns:
      response for ListFirewallPolicyRuleCollectionGroups API service call 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.