Interface FirewallPolicyDraftsClient

All Superinterfaces:
InnerSupportsDelete<Void>

public interface FirewallPolicyDraftsClient extends InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in FirewallPolicyDraftsClient.
  • Method Details

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<FirewallPolicyDraftInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters)
      Create or update a draft 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 Draft 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.
    • createOrUpdateAsync

      Mono<FirewallPolicyDraftInner> createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters)
      Create or update a draft 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 Draft 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<FirewallPolicyDraftInner> createOrUpdateWithResponse(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters, com.azure.core.util.Context context)
      Create or update a draft 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 Draft operation.
      context - The context to associate with this operation.
      Returns:
      firewallPolicy Resource 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.
    • createOrUpdate

      FirewallPolicyDraftInner createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters)
      Create or update a draft 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 Draft 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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName)
      Delete a draft 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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String firewallPolicyName)
      Delete a draft 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String firewallPolicyName, com.azure.core.util.Context context)
      Delete a draft 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 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.
    • delete

      void delete(String resourceGroupName, String firewallPolicyName)
      Delete a draft 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<FirewallPolicyDraftInner>> getWithResponseAsync(String resourceGroupName, String firewallPolicyName)
      Get a draft Firewall Policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      Returns:
      a draft 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.
    • getAsync

      Mono<FirewallPolicyDraftInner> getAsync(String resourceGroupName, String firewallPolicyName)
      Get a draft Firewall Policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      Returns:
      a draft 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.
    • getWithResponse

      com.azure.core.http.rest.Response<FirewallPolicyDraftInner> getWithResponse(String resourceGroupName, String firewallPolicyName, com.azure.core.util.Context context)
      Get a draft 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:
      a draft 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.
    • get

      FirewallPolicyDraftInner get(String resourceGroupName, String firewallPolicyName)
      Get a draft Firewall Policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      firewallPolicyName - The name of the Firewall Policy.
      Returns:
      a draft 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.