共用方式為


ActiveSecurityAdminRule Class

Definition

Network admin rule.

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

Constructors

ActiveSecurityAdminRule()

Initializes a new instance of the ActiveSecurityAdminRule class.

ActiveSecurityAdminRule(String, String, Int32, String, String, Nullable<DateTime>, String, String, String, IList<NetworkManagerSecurityGroupItem>, IList<ConfigurationGroup>, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String)

Initializes a new instance of the ActiveSecurityAdminRule class.

Properties

Access

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

CommitTime

Gets or sets deployment time string.

(Inherited from ActiveBaseSecurityAdminRule)
ConfigurationDescription

Gets or sets a description of the security admin configuration.

(Inherited from ActiveBaseSecurityAdminRule)
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 ActiveBaseSecurityAdminRule)
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'

Region

Gets or sets deployment region.

(Inherited from ActiveBaseSecurityAdminRule)
RuleCollectionAppliesToGroups

Gets or sets groups for rule collection

(Inherited from ActiveBaseSecurityAdminRule)
RuleCollectionDescription

Gets or sets a description of the rule collection.

(Inherited from ActiveBaseSecurityAdminRule)
RuleGroups

Gets or sets effective configuration groups.

(Inherited from ActiveBaseSecurityAdminRule)
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