Search

Class AzureSecurityRule

Network security rule

Attributes

Name Type Description
access String Required. Gets or sets network traffic is allowed or denied. Possible values are ?????????Allow????????? and ?????????Deny?????????
description String Optional. Gets or sets a description for this rule. Restricted to 140 chars.
destinationAddressPrefix String Required. Gets or sets 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.
destinationPortRange String Optional. Gets or sets Destination Port or Range. Integer or range between 0 and 65535. Asterix ?????????*????????? can also be used to match all ports.
direction String Required. Gets or sets the direction of the rule.InBound or Outbound. The direction specifies if rule will be evaluated on incoming or outcoming traffic.
etag String Optional. A unique read-only string that changes whenever the resource is updated
id String Optional. Id of the resource
name String Optional. Gets name of the resource that is unique within a resource group. This name can be used to access the resource
priority Number Optional. 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 String Required. Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*).
provisioningState String Optional. Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed
sourceAddressPrefix String Required. Gets or sets source 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. If this is an ingress rule, specifies where network traffic originates from.
sourcePortRange String Optional. Gets or sets Source Port or Range. Integer or range between 0 and 65535. Asterix ?????????*????????? can also be used to match all ports.

Methods

Name Returns
AzureSecurityRule() constructor

Returned by

Method Returns
AzureNetworkSecurityGroup.getSecurityRule(String securityRuleName) AzureSecurityRule

Referenced in

Method Returns
AzureSecurityRuleOperations.beginCreateOrUpdating(String arg0, String arg1, String arg2, AzureSecurityRule arg3) AzureSecurityRulePutResponse
AzureSecurityRuleOperations.createOrUpdate(String arg0, String arg1, String arg2, AzureSecurityRule arg3) AzureAzureAsyncOperationResponse