FirewallRulesClient Interface

public interface FirewallRulesClient

An instance of this class provides access to all the operations defined in FirewallRulesClient.

Method Summary

Modifier and Type Method and Description
abstract FirewallRuleInner createOrUpdate(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters)

Creates or updates a firewall rule.

abstract Mono<FirewallRuleInner> createOrUpdateAsync(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters)

Creates or updates a firewall rule.

abstract Response<FirewallRuleInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters, Context context)

Creates or updates a firewall rule.

abstract Mono<Response<FirewallRuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters)

Creates or updates a firewall rule.

abstract void delete(String resourceGroupName, String serverName, String firewallRuleName)

Deletes a firewall rule.

abstract Mono<Void> deleteAsync(String resourceGroupName, String serverName, String firewallRuleName)

Deletes a firewall rule.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String serverName, String firewallRuleName, Context context)

Deletes a firewall rule.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String serverName, String firewallRuleName)

Deletes a firewall rule.

abstract FirewallRuleInner get(String resourceGroupName, String serverName, String firewallRuleName)

Gets a firewall rule.

abstract Mono<FirewallRuleInner> getAsync(String resourceGroupName, String serverName, String firewallRuleName)

Gets a firewall rule.

abstract Response<FirewallRuleInner> getWithResponse(String resourceGroupName, String serverName, String firewallRuleName, Context context)

Gets a firewall rule.

abstract Mono<Response<FirewallRuleInner>> getWithResponseAsync(String resourceGroupName, String serverName, String firewallRuleName)

Gets a firewall rule.

abstract PagedIterable<FirewallRuleInner> listByServer(String resourceGroupName, String serverName)

Gets a list of firewall rules.

abstract PagedIterable<FirewallRuleInner> listByServer(String resourceGroupName, String serverName, Context context)

Gets a list of firewall rules.

abstract PagedFlux<FirewallRuleInner> listByServerAsync(String resourceGroupName, String serverName)

Gets a list of firewall rules.

abstract FirewallRuleInner replace(String resourceGroupName, String serverName, FirewallRuleList parameters)

Replaces all firewall rules on the server.

abstract Mono<FirewallRuleInner> replaceAsync(String resourceGroupName, String serverName, FirewallRuleList parameters)

Replaces all firewall rules on the server.

abstract Response<FirewallRuleInner> replaceWithResponse(String resourceGroupName, String serverName, FirewallRuleList parameters, Context context)

Replaces all firewall rules on the server.

abstract Mono<Response<FirewallRuleInner>> replaceWithResponseAsync(String resourceGroupName, String serverName, FirewallRuleList parameters)

Replaces all firewall rules on the server.

Method Details

createOrUpdate

public abstract FirewallRuleInner createOrUpdate(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters)

Creates or updates a 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 a firewall rule.

Returns:

a server firewall rule.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters)

Creates or updates a 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 a firewall rule.

Returns:

a server firewall rule on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters, Context context)

Creates or updates a 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 a firewall rule.
context - The context to associate with this operation.

Returns:

a server firewall rule along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String firewallRuleName, FirewallRuleInner parameters)

Creates or updates a 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 a firewall rule.

Returns:

a server firewall rule along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String serverName, String firewallRuleName)

Deletes a 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.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String serverName, String firewallRuleName)

Deletes a 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.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String serverName, String firewallRuleName, Context context)

Deletes a 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:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String serverName, String firewallRuleName)

Deletes a 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<T> on successful completion of Mono.

get

public abstract FirewallRuleInner get(String resourceGroupName, String serverName, String firewallRuleName)

Gets a 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 firewall rule.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, String firewallRuleName)

Gets a 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 firewall rule on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, String firewallRuleName, Context context)

Gets a 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:

a firewall rule along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serverName, String firewallRuleName)

Gets a 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 firewall rule along with Response<T> on successful completion of Mono.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName)

Gets a list of 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 firewall rules as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName, Context context)

Gets a list of 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 firewall rules as paginated response with PagedIterable<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName)

Gets a list of 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 firewall rules as paginated response with PagedFlux<T>.

replace

public abstract FirewallRuleInner replace(String resourceGroupName, String serverName, FirewallRuleList parameters)

Replaces all firewall rules on the 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.
parameters - The parameters parameter.

Returns:

a server firewall rule.

replaceAsync

public abstract Mono replaceAsync(String resourceGroupName, String serverName, FirewallRuleList parameters)

Replaces all firewall rules on the 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.
parameters - The parameters parameter.

Returns:

a server firewall rule on successful completion of Mono.

replaceWithResponse

public abstract Response replaceWithResponse(String resourceGroupName, String serverName, FirewallRuleList parameters, Context context)

Replaces all firewall rules on the 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.
parameters - The parameters parameter.
context - The context to associate with this operation.

Returns:

a server firewall rule along with Response<T>.

replaceWithResponseAsync

public abstract Mono> replaceWithResponseAsync(String resourceGroupName, String serverName, FirewallRuleList parameters)

Replaces all firewall rules on the 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.
parameters - The parameters parameter.

Returns:

a server firewall rule along with Response<T> on successful completion of Mono.

Applies to