public interface FirewallRulesClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FirewallRuleInner>,FirewallRuleInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String firewallRuleName,
FirewallRuleInner parameters)
Creates a new firewall rule or updates an existing firewall rule.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FirewallRuleInner>,FirewallRuleInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String firewallRuleName,
FirewallRuleInner parameters,
com.azure.core.util.Context context)
Creates a new firewall rule or updates an existing firewall rule.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String firewallRuleName)
Deletes a PostgreSQL server firewall rule.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String firewallRuleName,
com.azure.core.util.Context context)
Deletes a PostgreSQL server firewall rule.
|
FirewallRuleInner |
createOrUpdate(String resourceGroupName,
String serverName,
String firewallRuleName,
FirewallRuleInner parameters)
Creates a new firewall rule or updates an existing firewall rule.
|
FirewallRuleInner |
createOrUpdate(String resourceGroupName,
String serverName,
String firewallRuleName,
FirewallRuleInner parameters,
com.azure.core.util.Context context)
Creates a new firewall rule or updates an existing firewall rule.
|
void |
delete(String resourceGroupName,
String serverName,
String firewallRuleName)
Deletes a PostgreSQL server firewall rule.
|
void |
delete(String resourceGroupName,
String serverName,
String firewallRuleName,
com.azure.core.util.Context context)
Deletes a PostgreSQL server firewall rule.
|
FirewallRuleInner |
get(String resourceGroupName,
String serverName,
String firewallRuleName)
List all the firewall rules in a given server.
|
com.azure.core.http.rest.Response<FirewallRuleInner> |
getWithResponse(String resourceGroupName,
String serverName,
String firewallRuleName,
com.azure.core.util.Context context)
List all the firewall rules in a given server.
|
com.azure.core.http.rest.PagedIterable<FirewallRuleInner> |
listByServer(String resourceGroupName,
String serverName)
List all the firewall rules in a given PostgreSQL server.
|
com.azure.core.http.rest.PagedIterable<FirewallRuleInner> |
listByServer(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
List all the firewall rules in a given PostgreSQL server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FirewallRuleInner>,FirewallRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.firewallRuleName - The name of the server firewall rule.parameters - The required parameters for creating or updating a firewall rule.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FirewallRuleInner>,FirewallRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.firewallRuleName - The name of the server firewall rule.parameters - The required parameters for creating or updating a firewall rule.context - The context to associate with this operation.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.FirewallRuleInner createOrUpdate(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.firewallRuleName - The name of the server firewall rule.parameters - The required parameters for creating or updating a firewall rule.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.FirewallRuleInner createOrUpdate(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.firewallRuleName - The name of the server firewall rule.parameters - The required parameters for creating or updating a firewall rule.context - The context to associate with this operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String firewallRuleName)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.firewallRuleName - The name of the server firewall rule.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String firewallRuleName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.firewallRuleName - The name of the server firewall rule.context - The context to associate with this operation.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.void delete(String resourceGroupName, String serverName, String firewallRuleName)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.firewallRuleName - The name of the server firewall rule.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.void delete(String resourceGroupName, String serverName, String firewallRuleName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.firewallRuleName - The name of the server firewall rule.context - The context to associate with this operation.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.FirewallRuleInner get(String resourceGroupName, String serverName, String firewallRuleName)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.firewallRuleName - The name of the server firewall rule.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.com.azure.core.http.rest.Response<FirewallRuleInner> getWithResponse(String resourceGroupName, String serverName, String firewallRuleName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.firewallRuleName - The name of the server firewall rule.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<FirewallRuleInner> listByServer(String resourceGroupName, String serverName)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.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.com.azure.core.http.rest.PagedIterable<FirewallRuleInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.