public interface FirewallRulesClient
| Modifier and Type | Method and Description |
|---|---|
FirewallRuleInner |
createOrUpdate(String resourceGroupName,
String serverName,
String firewallRuleName,
FirewallRuleInner parameters)
Creates or updates a firewall rule.
|
Mono<FirewallRuleInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
String firewallRuleName,
FirewallRuleInner parameters)
Creates or updates a firewall rule.
|
com.azure.core.http.rest.Response<FirewallRuleInner> |
createOrUpdateWithResponse(String resourceGroupName,
String serverName,
String firewallRuleName,
FirewallRuleInner parameters,
com.azure.core.util.Context context)
Creates or updates a firewall rule.
|
Mono<com.azure.core.http.rest.Response<FirewallRuleInner>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
String firewallRuleName,
FirewallRuleInner parameters)
Creates or updates a firewall rule.
|
void |
delete(String resourceGroupName,
String serverName,
String firewallRuleName)
Deletes a firewall rule.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String serverName,
String firewallRuleName)
Deletes a firewall rule.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String serverName,
String firewallRuleName,
com.azure.core.util.Context context)
Deletes a firewall rule.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String serverName,
String firewallRuleName)
Deletes a firewall rule.
|
FirewallRuleInner |
get(String resourceGroupName,
String serverName,
String firewallRuleName)
Gets a firewall rule.
|
Mono<FirewallRuleInner> |
getAsync(String resourceGroupName,
String serverName,
String firewallRuleName)
Gets a firewall rule.
|
com.azure.core.http.rest.Response<FirewallRuleInner> |
getWithResponse(String resourceGroupName,
String serverName,
String firewallRuleName,
com.azure.core.util.Context context)
Gets a firewall rule.
|
Mono<com.azure.core.http.rest.Response<FirewallRuleInner>> |
getWithResponseAsync(String resourceGroupName,
String serverName,
String firewallRuleName)
Gets a firewall rule.
|
com.azure.core.http.rest.PagedIterable<FirewallRuleInner> |
listByServer(String resourceGroupName,
String serverName)
Returns a list of firewall rules.
|
com.azure.core.http.rest.PagedIterable<FirewallRuleInner> |
listByServer(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Returns a list of firewall rules.
|
com.azure.core.http.rest.PagedFlux<FirewallRuleInner> |
listByServerAsync(String resourceGroupName,
String serverName)
Returns a list of firewall rules.
|
Mono<com.azure.core.http.rest.Response<FirewallRuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner 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 - Represents a 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.Mono<FirewallRuleInner> createOrUpdateAsync(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner 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 - Represents a 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.FirewallRuleInner createOrUpdate(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner 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 - Represents a 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> createOrUpdateWithResponse(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters, com.azure.core.util.Context context)
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 - Represents a 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.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String serverName, String firewallRuleName)
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.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.Mono<Void> deleteAsync(String resourceGroupName, String serverName, String firewallRuleName)
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.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 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.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<Void> deleteWithResponse(String resourceGroupName, String serverName, String firewallRuleName, com.azure.core.util.Context context)
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.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.Mono<com.azure.core.http.rest.Response<FirewallRuleInner>> getWithResponseAsync(String resourceGroupName, String serverName, String firewallRuleName)
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.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.Mono<FirewallRuleInner> getAsync(String resourceGroupName, String serverName, String firewallRuleName)
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.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 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.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 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.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.PagedFlux<FirewallRuleInner> listByServerAsync(String resourceGroupName, String serverName)
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.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 that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.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 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.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 © 2020 Microsoft Corporation. All rights reserved.