Show / Hide Table of Contents

    Class RedisFirewallRule

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

    Inheritance
    Object
    Resource
    ProxyResource
    RedisFirewallRule
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Redis.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class RedisFirewallRule : Microsoft.Azure.Management.Redis.Models.ProxyResource

    Constructors

    RedisFirewallRule()

    Initializes a new instance of the RedisFirewallRule class.

    Declaration
    public RedisFirewallRule ();

    RedisFirewallRule(String, String, String, String, String)

    Initializes a new instance of the RedisFirewallRule class.

    Declaration
    public RedisFirewallRule (string startIP, string endIP, string id = null, string name = null, string type = null);
    Parameters
    String startIP

    lowest IP address included in the range

    String endIP

    highest IP address included in the range

    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    Properties

    EndIP

    Gets or sets highest IP address included in the range

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.endIP")]
    public string EndIP { get; set; }
    Property Value
    String

    StartIP

    Gets or sets lowest IP address included in the range

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.startIP")]
    public string StartIP { get; set; }
    Property Value
    String

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net