RedisEnterpriseFirewallRule(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RedisEnterpriseFirewallRule.
public RedisEnterpriseFirewallRule(string name, string sourceAddressPrefix);
new Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseFirewallRule : string * string -> Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseFirewallRule
Public Sub New (name As String, sourceAddressPrefix As String)
Parameters
- name
- String
The name of the firewall rule, unique within the cluster ignoring case. Must be 1-80 characters and contain only letters, numbers, hyphens, or underscores.
- sourceAddressPrefix
- String
An IPv4 address (for example, "203.0.113.1"), IPv4 CIDR prefix (for example, "203.0.113.0/24"), or Azure service tag (for example, "AzureCloud"). IPv6 addresses are not supported.
Exceptions
name or sourceAddressPrefix is null.