Interface FirewallPoliciesClient

    • Method Detail

      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String firewallPolicyName)
        Deletes the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        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)
        Deletes the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        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)
        Deletes the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        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,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        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)
        Deletes the specified Firewall Policy.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        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)
        Deletes the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        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,
                    com.azure.core.util.Context context)
        Deletes the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        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.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<FirewallPolicyInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                         String firewallPolicyName,
                                                                                                         String expand)
        Gets the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        expand - Expands referenced resources.
        Returns:
        the specified Firewall Policy 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.
      • getByResourceGroupAsync

        Mono<FirewallPolicyInner> getByResourceGroupAsync​(String resourceGroupName,
                                                          String firewallPolicyName,
                                                          String expand)
        Gets the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        expand - Expands referenced resources.
        Returns:
        the specified Firewall Policy 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.
      • getByResourceGroupAsync

        Mono<FirewallPolicyInner> getByResourceGroupAsync​(String resourceGroupName,
                                                          String firewallPolicyName)
        Gets the specified Firewall Policy.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<FirewallPolicyInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        Returns:
        the specified Firewall Policy 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.
      • getByResourceGroup

        FirewallPolicyInner getByResourceGroup​(String resourceGroupName,
                                               String firewallPolicyName)
        Gets the specified Firewall Policy.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<FirewallPolicyInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        Returns:
        the specified Firewall Policy.
        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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<FirewallPolicyInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                              String firewallPolicyName,
                                                                                              String expand,
                                                                                              com.azure.core.util.Context context)
        Gets the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        expand - Expands referenced resources.
        context - The context to associate with this operation.
        Returns:
        the specified Firewall Policy 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.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String firewallPolicyName,
                                                                                                  FirewallPolicyInner parameters)
        Creates or updates the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        parameters - Parameters supplied to the create or update Firewall Policy operation.
        Returns:
        firewallPolicy 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<FirewallPolicyInner>,​FirewallPolicyInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                     String firewallPolicyName,
                                                                                                                                                                     FirewallPolicyInner parameters)
        Creates or updates the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        parameters - Parameters supplied to the create or update Firewall Policy operation.
        Returns:
        the PollerFlux for polling of firewallPolicy 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<FirewallPolicyInner>,​FirewallPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                String firewallPolicyName,
                                                                                                                                                                FirewallPolicyInner parameters)
        Creates or updates the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        parameters - Parameters supplied to the create or update Firewall Policy operation.
        Returns:
        the SyncPoller for polling of firewallPolicy 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<FirewallPolicyInner>,​FirewallPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                String firewallPolicyName,
                                                                                                                                                                FirewallPolicyInner parameters,
                                                                                                                                                                com.azure.core.util.Context context)
        Creates or updates the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        parameters - Parameters supplied to the create or update Firewall Policy operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of firewallPolicy 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<FirewallPolicyInner> createOrUpdateAsync​(String resourceGroupName,
                                                      String firewallPolicyName,
                                                      FirewallPolicyInner parameters)
        Creates or updates the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        parameters - Parameters supplied to the create or update Firewall Policy operation.
        Returns:
        firewallPolicy 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

        FirewallPolicyInner createOrUpdate​(String resourceGroupName,
                                           String firewallPolicyName,
                                           FirewallPolicyInner parameters)
        Creates or updates the specified Firewall Policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        firewallPolicyName - The name of the Firewall Policy.
        parameters - Parameters supplied to the create or update Firewall Policy operation.
        Returns:
        firewallPolicy 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

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

        com.azure.core.http.rest.PagedFlux<FirewallPolicyInner> listByResourceGroupAsync​(String resourceGroupName)
        Lists all Firewall Policies in a resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<FirewallPolicyInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        response for ListFirewallPolicies 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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> listByResourceGroup​(String resourceGroupName)
        Lists all Firewall Policies in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<FirewallPolicyInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        response for ListFirewallPolicies 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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<FirewallPolicyInner> listByResourceGroup​(String resourceGroupName,
                                                                                        com.azure.core.util.Context context)
        Lists all Firewall Policies in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        response for ListFirewallPolicies 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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<FirewallPolicyInner> listAsync()
        Gets all the Firewall Policies in a subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<FirewallPolicyInner>
        Returns:
        all the Firewall Policies in a subscription 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<FirewallPolicyInner> list()
        Gets all the Firewall Policies in a subscription.
        Specified by:
        list in interface InnerSupportsListing<FirewallPolicyInner>
        Returns:
        all the Firewall Policies in a subscription 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<FirewallPolicyInner> list​(com.azure.core.util.Context context)
        Gets all the Firewall Policies in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all the Firewall Policies in a subscription 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.