Interface AzureFirewallsClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<AzureFirewallInner>, InnerSupportsListing<AzureFirewallInner>

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

    • deleteWithResponseAsync

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

      com.azure.core.http.rest.Response<AzureFirewallInner> getByResourceGroupWithResponse(String resourceGroupName, String azureFirewallName, com.azure.core.util.Context context)
      Gets the specified Azure Firewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      context - The context to associate with this operation.
      Returns:
      the specified Azure Firewall 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.
    • getByResourceGroup

      AzureFirewallInner getByResourceGroup(String resourceGroupName, String azureFirewallName)
      Gets the specified Azure Firewall.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<AzureFirewallInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      Returns:
      the specified Azure Firewall.
      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 azureFirewallName, AzureFirewallInner parameters)
      Creates or updates the specified Azure Firewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to the create or update Azure Firewall operation.
      Returns:
      azure Firewall 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<AzureFirewallInner>,AzureFirewallInner> beginCreateOrUpdateAsync(String resourceGroupName, String azureFirewallName, AzureFirewallInner parameters)
      Creates or updates the specified Azure Firewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to the create or update Azure Firewall operation.
      Returns:
      the PollerFlux for polling of azure Firewall 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<AzureFirewallInner>,AzureFirewallInner> beginCreateOrUpdate(String resourceGroupName, String azureFirewallName, AzureFirewallInner parameters)
      Creates or updates the specified Azure Firewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to the create or update Azure Firewall operation.
      Returns:
      the SyncPoller for polling of azure Firewall 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<AzureFirewallInner>,AzureFirewallInner> beginCreateOrUpdate(String resourceGroupName, String azureFirewallName, AzureFirewallInner parameters, com.azure.core.util.Context context)
      Creates or updates the specified Azure Firewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to the create or update Azure Firewall operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of azure Firewall 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<AzureFirewallInner> createOrUpdateAsync(String resourceGroupName, String azureFirewallName, AzureFirewallInner parameters)
      Creates or updates the specified Azure Firewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to the create or update Azure Firewall operation.
      Returns:
      azure Firewall 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

      AzureFirewallInner createOrUpdate(String resourceGroupName, String azureFirewallName, AzureFirewallInner parameters)
      Creates or updates the specified Azure Firewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to the create or update Azure Firewall operation.
      Returns:
      azure Firewall 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

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

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String azureFirewallName, TagsObject parameters)
      Updates tags of an Azure Firewall resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to update azure firewall tags.
      Returns:
      azure Firewall 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.
    • beginUpdateTagsAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AzureFirewallInner>,AzureFirewallInner> beginUpdateTagsAsync(String resourceGroupName, String azureFirewallName, TagsObject parameters)
      Updates tags of an Azure Firewall resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to update azure firewall tags.
      Returns:
      the PollerFlux for polling of azure Firewall 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.
    • beginUpdateTags

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureFirewallInner>,AzureFirewallInner> beginUpdateTags(String resourceGroupName, String azureFirewallName, TagsObject parameters)
      Updates tags of an Azure Firewall resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to update azure firewall tags.
      Returns:
      the SyncPoller for polling of azure Firewall 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.
    • beginUpdateTags

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureFirewallInner>,AzureFirewallInner> beginUpdateTags(String resourceGroupName, String azureFirewallName, TagsObject parameters, com.azure.core.util.Context context)
      Updates tags of an Azure Firewall resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to update azure firewall tags.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of azure Firewall 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.
    • updateTagsAsync

      Mono<AzureFirewallInner> updateTagsAsync(String resourceGroupName, String azureFirewallName, TagsObject parameters)
      Updates tags of an Azure Firewall resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to update azure firewall tags.
      Returns:
      azure Firewall 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.
    • updateTags

      AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName, TagsObject parameters)
      Updates tags of an Azure Firewall resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to update azure firewall tags.
      Returns:
      azure Firewall 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.
    • updateTags

      AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName, TagsObject parameters, com.azure.core.util.Context context)
      Updates tags of an Azure Firewall resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to update azure firewall tags.
      context - The context to associate with this operation.
      Returns:
      azure Firewall 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<AzureFirewallInner> listByResourceGroupAsync(String resourceGroupName)
      Lists all Azure Firewalls in a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<AzureFirewallInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      response for ListAzureFirewalls 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<AzureFirewallInner> listByResourceGroup(String resourceGroupName)
      Lists all Azure Firewalls in a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<AzureFirewallInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      response for ListAzureFirewalls 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<AzureFirewallInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists all Azure Firewalls in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      context - The context to associate with this operation.
      Returns:
      response for ListAzureFirewalls 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<AzureFirewallInner> listAsync()
      Gets all the Azure Firewalls in a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<AzureFirewallInner>
      Returns:
      all the Azure Firewalls 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<AzureFirewallInner> list()
      Gets all the Azure Firewalls in a subscription.
      Specified by:
      list in interface InnerSupportsListing<AzureFirewallInner>
      Returns:
      all the Azure Firewalls 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<AzureFirewallInner> list(com.azure.core.util.Context context)
      Gets all the Azure Firewalls in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all the Azure Firewalls 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.
    • listLearnedPrefixesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> listLearnedPrefixesWithResponseAsync(String resourceGroupName, String azureFirewallName)
      Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the azure firewall.
      Returns:
      list of SNAT IP Prefixes learnt by firewall to not SNAT 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.
    • beginListLearnedPrefixesAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<IpPrefixesListInner>,IpPrefixesListInner> beginListLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName)
      Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the azure firewall.
      Returns:
      the PollerFlux for polling of list of SNAT IP Prefixes learnt by firewall to not SNAT.
      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.
    • beginListLearnedPrefixes

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpPrefixesListInner>,IpPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, String azureFirewallName)
      Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the azure firewall.
      Returns:
      the SyncPoller for polling of list of SNAT IP Prefixes learnt by firewall to not SNAT.
      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.
    • beginListLearnedPrefixes

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpPrefixesListInner>,IpPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, String azureFirewallName, com.azure.core.util.Context context)
      Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the azure firewall.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of list of SNAT IP Prefixes learnt by firewall to not SNAT.
      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.
    • listLearnedPrefixesAsync

      Mono<IpPrefixesListInner> listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName)
      Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the azure firewall.
      Returns:
      list of SNAT IP Prefixes learnt by firewall to not SNAT 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.
    • listLearnedPrefixes

      IpPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName)
      Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the azure firewall.
      Returns:
      list of SNAT IP Prefixes learnt by firewall to not SNAT.
      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.
    • listLearnedPrefixes

      IpPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName, com.azure.core.util.Context context)
      Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the azure firewall.
      context - The context to associate with this operation.
      Returns:
      list of SNAT IP Prefixes learnt by firewall to not SNAT.
      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.
    • packetCaptureWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> packetCaptureWithResponseAsync(String resourceGroupName, String azureFirewallName, FirewallPacketCaptureParameters parameters)
      Runs a packet capture on AzureFirewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to run packet capture on azure firewall.
      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.
    • beginPacketCaptureAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPacketCaptureAsync(String resourceGroupName, String azureFirewallName, FirewallPacketCaptureParameters parameters)
      Runs a packet capture on AzureFirewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to run packet capture on azure firewall.
      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.
    • beginPacketCapture

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPacketCapture(String resourceGroupName, String azureFirewallName, FirewallPacketCaptureParameters parameters)
      Runs a packet capture on AzureFirewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to run packet capture on azure firewall.
      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.
    • beginPacketCapture

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPacketCapture(String resourceGroupName, String azureFirewallName, FirewallPacketCaptureParameters parameters, com.azure.core.util.Context context)
      Runs a packet capture on AzureFirewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to run packet capture on azure firewall.
      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.
    • packetCaptureAsync

      Mono<Void> packetCaptureAsync(String resourceGroupName, String azureFirewallName, FirewallPacketCaptureParameters parameters)
      Runs a packet capture on AzureFirewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to run packet capture on azure firewall.
      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.
    • packetCapture

      void packetCapture(String resourceGroupName, String azureFirewallName, FirewallPacketCaptureParameters parameters)
      Runs a packet capture on AzureFirewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to run packet capture on azure firewall.
      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.
    • packetCapture

      void packetCapture(String resourceGroupName, String azureFirewallName, FirewallPacketCaptureParameters parameters, com.azure.core.util.Context context)
      Runs a packet capture on AzureFirewall.
      Parameters:
      resourceGroupName - The name of the resource group.
      azureFirewallName - The name of the Azure Firewall.
      parameters - Parameters supplied to run packet capture on azure firewall.
      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.