public interface FirewallRulesClient
| Modifier and Type | Method and Description |
|---|---|
RedisFirewallRuleInner |
createOrUpdate(String resourceGroupName,
String cacheName,
String ruleName,
RedisFirewallRuleCreateParameters parameters)
Create or update a redis cache firewall rule.
|
Mono<RedisFirewallRuleInner> |
createOrUpdateAsync(String resourceGroupName,
String cacheName,
String ruleName,
RedisFirewallRuleCreateParameters parameters)
Create or update a redis cache firewall rule.
|
com.azure.core.http.rest.Response<RedisFirewallRuleInner> |
createOrUpdateWithResponse(String resourceGroupName,
String cacheName,
String ruleName,
RedisFirewallRuleCreateParameters parameters,
com.azure.core.util.Context context)
Create or update a redis cache firewall rule.
|
Mono<com.azure.core.http.rest.Response<RedisFirewallRuleInner>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String cacheName,
String ruleName,
RedisFirewallRuleCreateParameters parameters)
Create or update a redis cache firewall rule.
|
void |
delete(String resourceGroupName,
String cacheName,
String ruleName)
Deletes a single firewall rule in a specified redis cache.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String cacheName,
String ruleName)
Deletes a single firewall rule in a specified redis cache.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String cacheName,
String ruleName,
com.azure.core.util.Context context)
Deletes a single firewall rule in a specified redis cache.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String cacheName,
String ruleName)
Deletes a single firewall rule in a specified redis cache.
|
RedisFirewallRuleInner |
get(String resourceGroupName,
String cacheName,
String ruleName)
Gets a single firewall rule in a specified redis cache.
|
Mono<RedisFirewallRuleInner> |
getAsync(String resourceGroupName,
String cacheName,
String ruleName)
Gets a single firewall rule in a specified redis cache.
|
com.azure.core.http.rest.Response<RedisFirewallRuleInner> |
getWithResponse(String resourceGroupName,
String cacheName,
String ruleName,
com.azure.core.util.Context context)
Gets a single firewall rule in a specified redis cache.
|
Mono<com.azure.core.http.rest.Response<RedisFirewallRuleInner>> |
getWithResponseAsync(String resourceGroupName,
String cacheName,
String ruleName)
Gets a single firewall rule in a specified redis cache.
|
com.azure.core.http.rest.PagedIterable<RedisFirewallRuleInner> |
list(String resourceGroupName,
String cacheName)
Gets all firewall rules in the specified redis cache.
|
com.azure.core.http.rest.PagedIterable<RedisFirewallRuleInner> |
list(String resourceGroupName,
String cacheName,
com.azure.core.util.Context context)
Gets all firewall rules in the specified redis cache.
|
com.azure.core.http.rest.PagedFlux<RedisFirewallRuleInner> |
listAsync(String resourceGroupName,
String cacheName)
Gets all firewall rules in the specified redis cache.
|
com.azure.core.http.rest.PagedFlux<RedisFirewallRuleInner> listAsync(String resourceGroupName, String cacheName)
resourceGroupName - The name of the resource group.cacheName - The name of the Redis cache.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<RedisFirewallRuleInner> list(String resourceGroupName, String cacheName)
resourceGroupName - The name of the resource group.cacheName - The name of the Redis cache.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<RedisFirewallRuleInner> list(String resourceGroupName, String cacheName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.cacheName - The name of the Redis cache.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<RedisFirewallRuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleCreateParameters parameters)
resourceGroupName - The name of the resource group.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.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<RedisFirewallRuleInner> createOrUpdateAsync(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleCreateParameters parameters)
resourceGroupName - The name of the resource group.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.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.RedisFirewallRuleInner createOrUpdate(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleCreateParameters parameters)
resourceGroupName - The name of the resource group.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.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<RedisFirewallRuleInner> createOrUpdateWithResponse(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleCreateParameters parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.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.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<RedisFirewallRuleInner>> getWithResponseAsync(String resourceGroupName, String cacheName, String ruleName)
resourceGroupName - The name of the resource group.cacheName - The name of the Redis cache.ruleName - 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<RedisFirewallRuleInner> getAsync(String resourceGroupName, String cacheName, String ruleName)
resourceGroupName - The name of the resource group.cacheName - The name of the Redis cache.ruleName - 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.RedisFirewallRuleInner get(String resourceGroupName, String cacheName, String ruleName)
resourceGroupName - The name of the resource group.cacheName - The name of the Redis cache.ruleName - 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<RedisFirewallRuleInner> getWithResponse(String resourceGroupName, String cacheName, String ruleName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.cacheName - The name of the Redis cache.ruleName - 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<Void>> deleteWithResponseAsync(String resourceGroupName, String cacheName, String ruleName)
resourceGroupName - The name of the resource group.cacheName - The name of the Redis cache.ruleName - 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 cacheName, String ruleName)
resourceGroupName - The name of the resource group.cacheName - The name of the Redis cache.ruleName - 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 cacheName, String ruleName)
resourceGroupName - The name of the resource group.cacheName - The name of the Redis cache.ruleName - 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 cacheName, String ruleName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.cacheName - The name of the Redis cache.ruleName - 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.Copyright © 2021 Microsoft Corporation. All rights reserved.