SecurityRuleInner 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.
Network security rule.
[Microsoft.Rest.Serialization.JsonTransformation]
public class SecurityRuleInner : Microsoft.Azure.Management.ResourceManager.Fluent.SubResource
type SecurityRuleInner = class
inherit SubResource
Public Class SecurityRuleInner
Inherits SubResource
- Inheritance
- Attributes
Constructors
SecurityRuleInner() |
Initializes a new instance of the SecurityRuleInner class. |
Properties
Access |
Gets or sets the network traffic is allowed or denied. Possible values are: 'Allow' and 'Deny'. 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 source IP range. Asterix '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. |
DestinationAddressPrefixes | |
DestinationPortRange |
Gets or sets the destination port or range. Integer or range between 0 and 65535. Asterix '*' can also be used to match all ports. |
DestinationPortRanges | |
Direction |
Gets or sets the direction of the rule. The direction specifies if rule will be evaluated on incoming or outcoming traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values include: 'Inbound', 'Outbound' |
Etag |
Gets or sets a unique read-only string that changes whenever the resource is updated. |
Id |
Resource Id (Inherited from SubResource) |
Name |
Gets or sets the name of the resource that is unique within a resource group. This name can be used to access the resource. |
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 are 'Tcp', 'Udp', and ''. Possible values include: 'Tcp', 'Udp', '' |
ProvisioningState |
Gets or sets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. |
SourceAddressPrefix |
Gets or sets the CIDR or source IP range. Asterix '*' 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 | |
SourcePortRange |
Gets or sets the source port or range. Integer or range between 0 and 65535. Asterix '*' can also be used to match all ports. |
SourcePortRanges |
Methods
Validate() |
Validate the object. |