Interface IPv6FirewallRulesClient


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

    • listByServerAsync

      com.azure.core.http.rest.PagedFlux<IPv6FirewallRuleInner> listByServerAsync(String resourceGroupName, String serverName)
      Gets a list of IPv6 firewall rules.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      Returns:
      a list of IPv6 firewall rules 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<IPv6FirewallRuleInner> listByServer(String resourceGroupName, String serverName)
      Gets a list of IPv6 firewall rules.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      Returns:
      a list of IPv6 firewall rules 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<IPv6FirewallRuleInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
      Gets a list of IPv6 firewall rules.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      context - The context to associate with this operation.
      Returns:
      a list of IPv6 firewall rules 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<IPv6FirewallRuleInner>> getWithResponseAsync(String resourceGroupName, String serverName, String firewallRuleName)
      Gets an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      Returns:
      an IPv6 firewall rule 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<IPv6FirewallRuleInner> getAsync(String resourceGroupName, String serverName, String firewallRuleName)
      Gets an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      Returns:
      an IPv6 firewall rule 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<IPv6FirewallRuleInner> getWithResponse(String resourceGroupName, String serverName, String firewallRuleName, com.azure.core.util.Context context)
      Gets an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      context - The context to associate with this operation.
      Returns:
      an IPv6 firewall rule 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

      IPv6FirewallRuleInner get(String resourceGroupName, String serverName, String firewallRuleName)
      Gets an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      Returns:
      an IPv6 firewall rule.
      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<IPv6FirewallRuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String firewallRuleName, IPv6FirewallRuleInner parameters)
      Creates or updates an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      parameters - The required parameters for creating or updating an IPv6 firewall rule.
      Returns:
      an IPv6 server firewall rule 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<IPv6FirewallRuleInner> createOrUpdateAsync(String resourceGroupName, String serverName, String firewallRuleName, IPv6FirewallRuleInner parameters)
      Creates or updates an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      parameters - The required parameters for creating or updating an IPv6 firewall rule.
      Returns:
      an IPv6 server firewall rule 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<IPv6FirewallRuleInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String firewallRuleName, IPv6FirewallRuleInner parameters, com.azure.core.util.Context context)
      Creates or updates an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      parameters - The required parameters for creating or updating an IPv6 firewall rule.
      context - The context to associate with this operation.
      Returns:
      an IPv6 server firewall rule 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

      IPv6FirewallRuleInner createOrUpdate(String resourceGroupName, String serverName, String firewallRuleName, IPv6FirewallRuleInner parameters)
      Creates or updates an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      parameters - The required parameters for creating or updating an IPv6 firewall rule.
      Returns:
      an IPv6 server firewall rule.
      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 serverName, String firewallRuleName)
      Deletes an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      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 serverName, String firewallRuleName)
      Deletes an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      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 serverName, String firewallRuleName, com.azure.core.util.Context context)
      Deletes an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      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 serverName, String firewallRuleName)
      Deletes an IPv6 firewall rule.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      firewallRuleName - The name of the firewall rule.
      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.