SecurityRulePropertiesFormat Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Security rule resource.
public class SecurityRulePropertiesFormat
type SecurityRulePropertiesFormat = class
Public Class SecurityRulePropertiesFormat
- Inheritance
-
SecurityRulePropertiesFormat
Constructors
| Name | Description |
|---|---|
| SecurityRulePropertiesFormat() |
Initializes a new instance of the SecurityRulePropertiesFormat class. |
| SecurityRulePropertiesFormat(String, String, String, String, String, String, String, IList<String>, IList<ApplicationSecurityGroup>, String, IList<String>, IList<ApplicationSecurityGroup>, IList<String>, IList<String>, Nullable<Int32>, String) |
Initializes a new instance of the SecurityRulePropertiesFormat class. |
Properties
| Name | Description |
|---|---|
| Access |
Gets or sets the network traffic is allowed or denied. Possible values include: 'Allow', 'Deny' |
| Description |
Gets or sets a description for this rule. Restricted to 140 chars. |
| DestinationAddressPrefix |
Gets or sets the destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. |
| DestinationAddressPrefixes |
Gets or sets the destination address prefixes. CIDR or destination IP ranges. |
| DestinationApplicationSecurityGroups |
Gets or sets the application security group specified as destination. |
| DestinationPortRange |
Gets or sets the destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. |
| DestinationPortRanges |
Gets or sets the destination port ranges. |
| Direction |
Gets or sets the direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values include: 'Inbound', 'Outbound' |
| Priority |
Gets or sets the priority of the rule. The value can be between 100 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', '*', 'Ah' |
| ProvisioningState |
Gets the provisioning state of the security rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' |
| SourceAddressPrefix |
Gets or sets the CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from. |
| SourceAddressPrefixes |
Gets or sets the CIDR or source IP ranges. |
| SourceApplicationSecurityGroups |
Gets or sets the application security group specified as source. |
| SourcePortRange |
Gets or sets the source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. |
| SourcePortRanges |
Gets or sets the source port ranges. |
Methods
| Name | Description |
|---|---|
| Validate() |
Validate the object. |