Share via


EffectiveSecurityAdminRule Class

Definition

Network admin rule.

[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("Custom")]
public class EffectiveSecurityAdminRule : Microsoft.Azure.Management.Network.Models.EffectiveBaseSecurityAdminRule
[<Microsoft.Rest.Serialization.JsonTransformation>]
[<Newtonsoft.Json.JsonObject("Custom")>]
type EffectiveSecurityAdminRule = class
    inherit EffectiveBaseSecurityAdminRule
Public Class EffectiveSecurityAdminRule
Inherits EffectiveBaseSecurityAdminRule
Inheritance
EffectiveSecurityAdminRule
Attributes
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute

Constructors

EffectiveSecurityAdminRule()

Initializes a new instance of the EffectiveSecurityAdminRule class.

EffectiveSecurityAdminRule(String, String, Int32, String, String, String, String, IList<NetworkManagerSecurityGroupItem>, IList<ConfigurationGroup>, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String)

Initializes a new instance of the EffectiveSecurityAdminRule class.

Properties

Access

Gets or sets indicates the access allowed for this particular rule. Possible values include: 'Allow', 'Deny', 'AlwaysAllow'

ConfigurationDescription

Gets or sets a description of the security admin configuration.

(Inherited from EffectiveBaseSecurityAdminRule)
Description

Gets or sets a description for this rule. Restricted to 140 chars.

DestinationPortRanges

Gets or sets the destination port ranges.

Destinations

Gets or sets the destination address prefixes. CIDR or destination IP ranges.

Direction

Gets or sets indicates if the traffic matched against the rule in inbound or outbound. Possible values include: 'Inbound', 'Outbound'

Id

Gets or sets resource ID.

(Inherited from EffectiveBaseSecurityAdminRule)
Priority

Gets or sets the priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.

Protocol

Gets or sets network protocol this rule applies to. Possible values include: 'Tcp', 'Udp', 'Icmp', 'Esp', 'Any', 'Ah'

ProvisioningState

Gets the provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

RuleCollectionAppliesToGroups

Gets or sets groups for rule collection

(Inherited from EffectiveBaseSecurityAdminRule)
RuleCollectionDescription

Gets or sets a description of the rule collection.

(Inherited from EffectiveBaseSecurityAdminRule)
RuleGroups

Gets or sets effective configuration groups.

(Inherited from EffectiveBaseSecurityAdminRule)
SourcePortRanges

Gets or sets the source port ranges.

Sources

Gets or sets the CIDR or source IP ranges.

Methods

Validate()

Validate the object.

Applies to