共用方式為


IWithCreateBeta.WithFirewallRule Method

Definition

Overloads

WithFirewallRule(IRedisFirewallRule)

Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.

WithFirewallRule(String, String, String)

Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.

WithFirewallRule(IRedisFirewallRule)

Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.

public Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate WithFirewallRule (Microsoft.Azure.Management.Redis.Fluent.Models.IRedisFirewallRule rule);
abstract member WithFirewallRule : Microsoft.Azure.Management.Redis.Fluent.Models.IRedisFirewallRule -> Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate
Public Function WithFirewallRule (rule As IRedisFirewallRule) As IWithCreate

Parameters

rule
IRedisFirewallRule

Firewall rule that specifies name, lowest and highest IP address included in the range of permitted IP addresses.

Returns

Applies to

WithFirewallRule(String, String, String)

Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.

public Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate WithFirewallRule (string name, string lowestIp, string highestIp);
abstract member WithFirewallRule : string * string * string -> Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate
Public Function WithFirewallRule (name As String, lowestIp As String, highestIp As String) As IWithCreate

Parameters

name
String

Name of the rule.

lowestIp
String

Lowest IP address included in the range.

highestIp
String

Highest IP address included in the range.

Returns

Applies to