Interface OutboundFirewallRulesClient
public interface OutboundFirewallRulesClient
An instance of this class provides access to all the operations defined in OutboundFirewallRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundFirewallRuleInner>, OutboundFirewallRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String outboundRuleFqdn) Create a outbound firewall rule with a given name.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundFirewallRuleInner>, OutboundFirewallRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String outboundRuleFqdn, com.azure.core.util.Context context) Create a outbound firewall rule with a given name.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<OutboundFirewallRuleInner>, OutboundFirewallRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Create a outbound firewall rule with a given name.beginDelete(String resourceGroupName, String serverName, String outboundRuleFqdn) Deletes a outbound firewall rule with a given name.beginDelete(String resourceGroupName, String serverName, String outboundRuleFqdn, com.azure.core.util.Context context) Deletes a outbound firewall rule with a given name.beginDeleteAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Deletes a outbound firewall rule with a given name.createOrUpdate(String resourceGroupName, String serverName, String outboundRuleFqdn) Create a outbound firewall rule with a given name.createOrUpdate(String resourceGroupName, String serverName, String outboundRuleFqdn, com.azure.core.util.Context context) Create a outbound firewall rule with a given name.createOrUpdateAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Create a outbound firewall rule with a given name.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Create a outbound firewall rule with a given name.voidDeletes a outbound firewall rule with a given name.voiddelete(String resourceGroupName, String serverName, String outboundRuleFqdn, com.azure.core.util.Context context) Deletes a outbound firewall rule with a given name.deleteAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Deletes a outbound firewall rule with a given name.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Deletes a outbound firewall rule with a given name.Gets an outbound firewall rule.Gets an outbound firewall rule.com.azure.core.http.rest.Response<OutboundFirewallRuleInner> getWithResponse(String resourceGroupName, String serverName, String outboundRuleFqdn, com.azure.core.util.Context context) Gets an outbound firewall rule.Mono<com.azure.core.http.rest.Response<OutboundFirewallRuleInner>> getWithResponseAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Gets an outbound firewall rule.com.azure.core.http.rest.PagedIterable<OutboundFirewallRuleInner> listByServer(String resourceGroupName, String serverName) Gets all outbound firewall rules on a server.com.azure.core.http.rest.PagedIterable<OutboundFirewallRuleInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Gets all outbound firewall rules on a server.com.azure.core.http.rest.PagedFlux<OutboundFirewallRuleInner> listByServerAsync(String resourceGroupName, String serverName) Gets all outbound firewall rules on a server.
-
Method Details
-
listByServerAsync
com.azure.core.http.rest.PagedFlux<OutboundFirewallRuleInner> listByServerAsync(String resourceGroupName, String serverName) Gets all outbound firewall rules on a server.- 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:
- all outbound firewall rules on a server 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<OutboundFirewallRuleInner> listByServer(String resourceGroupName, String serverName) Gets all outbound firewall rules on a server.- 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:
- all outbound firewall rules on a server 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<OutboundFirewallRuleInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Gets all outbound firewall rules on a server.- 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:
- all outbound firewall rules on a server 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<OutboundFirewallRuleInner>> getWithResponseAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Gets an outbound 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- an outbound firewall rule along with
Responseon successful completion ofMono. - 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<OutboundFirewallRuleInner> getAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Gets an outbound 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- an outbound 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<OutboundFirewallRuleInner> getWithResponse(String resourceGroupName, String serverName, String outboundRuleFqdn, com.azure.core.util.Context context) Gets an outbound 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.outboundRuleFqdn- The outboundRuleFqdn parameter.context- The context to associate with this operation.- Returns:
- an outbound 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
Gets an outbound 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- an outbound 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<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Create a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- an Azure SQL DB Server Outbound Firewall Rule along with
Responseon successful completion ofMono. - 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<OutboundFirewallRuleInner>, OutboundFirewallRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Create a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- the
PollerFluxfor polling of an Azure SQL DB Server Outbound 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundFirewallRuleInner>, OutboundFirewallRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String outboundRuleFqdn) Create a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- the
SyncPollerfor polling of an Azure SQL DB Server Outbound 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundFirewallRuleInner>, OutboundFirewallRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String outboundRuleFqdn, com.azure.core.util.Context context) Create a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an Azure SQL DB Server Outbound 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.
-
createOrUpdateAsync
Mono<OutboundFirewallRuleInner> createOrUpdateAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Create a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- an Azure SQL DB Server Outbound 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.
-
createOrUpdate
OutboundFirewallRuleInner createOrUpdate(String resourceGroupName, String serverName, String outboundRuleFqdn) Create a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- an Azure SQL DB Server Outbound 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.
-
createOrUpdate
OutboundFirewallRuleInner createOrUpdate(String resourceGroupName, String serverName, String outboundRuleFqdn, com.azure.core.util.Context context) Create a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.context- The context to associate with this operation.- Returns:
- an Azure SQL DB Server Outbound 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<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String outboundRuleFqdn) Deletes a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- the
Responseon successful completion ofMono. - 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 serverName, String outboundRuleFqdn) Deletes a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- the
PollerFluxfor 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 serverName, String outboundRuleFqdn) Deletes a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- the
SyncPollerfor 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 serverName, String outboundRuleFqdn, com.azure.core.util.Context context) Deletes a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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
Deletes a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- Returns:
- A
Monothat 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
Deletes a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.- 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 outboundRuleFqdn, com.azure.core.util.Context context) Deletes a outbound firewall rule with a given name.- 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.outboundRuleFqdn- The outboundRuleFqdn parameter.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.
-