Aracılığıyla paylaş


Rule Class

Definition

Describes remote addresses that is recommended to communicate with the Azure resource on some (Protocol, Port, Direction). All other remote addresses are recommended to be blocked

public class Rule
type Rule = class
Public Class Rule
Inheritance
Rule

Constructors

Rule()

Initializes a new instance of the Rule class.

Rule(String, String, Nullable<Int32>, IList<String>, IList<String>)

Initializes a new instance of the Rule class.

Properties

DestinationPort

Gets or sets the rule's destination port

Direction

Gets or sets the rule's direction Possible values include: 'Inbound', 'Outbound'

IPAddresses

Gets or sets the remote IP addresses that should be able to communicate with the Azure resource on the rule's destination port and protocol

Name

Gets or sets the name of the rule

Protocols

Gets or sets the rule's transport protocols

Methods

Validate()

Validate the object.

Extension Methods

ConvertToPSType(Rule)

Applies to