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 RedisFirewallRuleInner createOrUpdate(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleInner parameters)

Create or update a redis cache firewall rule.

abstract Mono<RedisFirewallRuleInner> createOrUpdateAsync(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleInner parameters)

Create or update a redis cache firewall rule.

abstract Response<RedisFirewallRuleInner> createOrUpdateWithResponse(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleInner parameters, Context context)

Create or update a redis cache firewall rule.

abstract Mono<Response<RedisFirewallRuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleInner parameters)

Create or update a redis cache firewall rule.

abstract void delete(String resourceGroupName, String cacheName, String ruleName)

Deletes a single firewall rule in a specified redis cache.

abstract Mono<Void> deleteAsync(String resourceGroupName, String cacheName, String ruleName)

Deletes a single firewall rule in a specified redis cache.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String cacheName, String ruleName, Context context)

Deletes a single firewall rule in a specified redis cache.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String cacheName, String ruleName)

Deletes a single firewall rule in a specified redis cache.

abstract RedisFirewallRuleInner get(String resourceGroupName, String cacheName, String ruleName)

Gets a single firewall rule in a specified redis cache.

abstract Mono<RedisFirewallRuleInner> getAsync(String resourceGroupName, String cacheName, String ruleName)

Gets a single firewall rule in a specified redis cache.

abstract Response<RedisFirewallRuleInner> getWithResponse(String resourceGroupName, String cacheName, String ruleName, Context context)

Gets a single firewall rule in a specified redis cache.

abstract Mono<Response<RedisFirewallRuleInner>> getWithResponseAsync(String resourceGroupName, String cacheName, String ruleName)

Gets a single firewall rule in a specified redis cache.

abstract PagedIterable<RedisFirewallRuleInner> list(String resourceGroupName, String cacheName)

Gets all firewall rules in the specified redis cache.

abstract PagedIterable<RedisFirewallRuleInner> list(String resourceGroupName, String cacheName, Context context)

Gets all firewall rules in the specified redis cache.

abstract PagedFlux<RedisFirewallRuleInner> listAsync(String resourceGroupName, String cacheName)

Gets all firewall rules in the specified redis cache.

Method Details

createOrUpdate

public abstract RedisFirewallRuleInner createOrUpdate(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleInner parameters)

Create or update a redis cache firewall rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - The name of the firewall rule.
parameters - Parameters supplied to the create or update redis firewall rule operation.

Returns:

a firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleInner parameters)

Create or update a redis cache firewall rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - The name of the firewall rule.
parameters - Parameters supplied to the create or update redis firewall rule operation.

Returns:

a firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleInner parameters, Context context)

Create or update a redis cache firewall rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - The name of the firewall rule.
parameters - Parameters supplied to the create or update redis firewall rule operation.
context - The context to associate with this operation.

Returns:

a firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleInner parameters)

Create or update a redis cache firewall rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - The name of the firewall rule.
parameters - Parameters supplied to the create or update redis firewall rule operation.

Returns:

a firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String cacheName, String ruleName)

Deletes a single firewall rule in a specified redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - The name of the firewall rule.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String cacheName, String ruleName)

Deletes a single firewall rule in a specified redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - 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 cacheName, String ruleName, Context context)

Deletes a single firewall rule in a specified redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - The name of the firewall rule.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String cacheName, String ruleName)

Deletes a single firewall rule in a specified redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - The name of the firewall rule.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract RedisFirewallRuleInner get(String resourceGroupName, String cacheName, String ruleName)

Gets a single firewall rule in a specified redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - The name of the firewall rule.

Returns:

a single firewall rule in a specified redis cache.

getAsync

public abstract Mono getAsync(String resourceGroupName, String cacheName, String ruleName)

Gets a single firewall rule in a specified redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - The name of the firewall rule.

Returns:

a single firewall rule in a specified redis cache on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String cacheName, String ruleName, Context context)

Gets a single firewall rule in a specified redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - The name of the firewall rule.
context - The context to associate with this operation.

Returns:

a single firewall rule in a specified redis cache along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String cacheName, String ruleName)

Gets a single firewall rule in a specified redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
ruleName - The name of the firewall rule.

Returns:

a single firewall rule in a specified redis cache along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String cacheName)

Gets all firewall rules in the specified redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.

Returns:

all firewall rules in the specified redis cache as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String cacheName, Context context)

Gets all firewall rules in the specified redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
context - The context to associate with this operation.

Returns:

all firewall rules in the specified redis cache as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String cacheName)

Gets all firewall rules in the specified redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.

Returns:

all firewall rules in the specified redis cache as paginated response with PagedFlux<T>.

Applies to