Sdílet prostřednictvím


DefaultAdminRule Class

Definition

Network default admin rule.

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

Constructors

DefaultAdminRule()

Initializes a new instance of the DefaultAdminRule class.

DefaultAdminRule(String, String, String, String, SystemData, String, String, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String, Nullable<Int32>, String, String)

Initializes a new instance of the DefaultAdminRule class.

Properties

Access

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

Description

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

DestinationPortRanges

Gets the destination port ranges.

Destinations

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

Direction

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

Etag

Gets a unique read-only string that changes whenever the resource is updated.

(Inherited from ChildResource)
Flag

Gets or sets default rule flag.

Id

Gets resource ID.

(Inherited from ChildResource)
Name

Gets resource name.

(Inherited from ChildResource)
Priority

Gets 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 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'

SourcePortRanges

Gets the source port ranges.

Sources

Gets the CIDR or source IP ranges.

SystemData

Gets the system metadata related to this resource.

(Inherited from BaseAdminRule)
Type

Gets resource type.

(Inherited from ChildResource)

Applies to