EffectiveNetworkSecurityRule Class

Definition

Effective network security rules.

public final class EffectiveNetworkSecurityRule
Inheritance
java.lang.Object
EffectiveNetworkSecurityRule

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

EffectiveNetworkSecurityRule()

Methods

access()

Get the access property: Whether network traffic is allowed or denied.

destinationAddressPrefix()

Get the destinationAddressPrefix property: The destination address prefix.

destinationAddressPrefixes()

Get the destinationAddressPrefixes property: The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).

destinationPortRange()

Get the destinationPortRange property: The destination port or range.

destinationPortRanges()

Get the destinationPortRanges property: The destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).

direction()

Get the direction property: The direction of the rule.

expandedDestinationAddressPrefix()

Get the expandedDestinationAddressPrefix property: Expanded destination address prefix.

expandedSourceAddressPrefix()

Get the expandedSourceAddressPrefix property: The expanded source address prefix.

name()

Get the name property: The name of the security rule specified by the user (if created by the user).

priority()

Get the priority property: The priority of the rule.

protocol()

Get the protocol property: The network protocol this rule applies to.

sourceAddressPrefix()

Get the sourceAddressPrefix property: The source address prefix.

sourceAddressPrefixes()

Get the sourceAddressPrefixes property: The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).

sourcePortRange()

Get the sourcePortRange property: The source port or range.

sourcePortRanges()

Get the sourcePortRanges property: The source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).

validate()

Validates the instance.

withAccess(SecurityRuleAccess access)

Set the access property: Whether network traffic is allowed or denied.

withDestinationAddressPrefix(String destinationAddressPrefix)

Set the destinationAddressPrefix property: The destination address prefix.

withDestinationAddressPrefixes(List<String> destinationAddressPrefixes)

Set the destinationAddressPrefixes property: The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).

withDestinationPortRange(String destinationPortRange)

Set the destinationPortRange property: The destination port or range.

withDestinationPortRanges(List<String> destinationPortRanges)

Set the destinationPortRanges property: The destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).

withDirection(SecurityRuleDirection direction)

Set the direction property: The direction of the rule.

withExpandedDestinationAddressPrefix(List<String> expandedDestinationAddressPrefix)

Set the expandedDestinationAddressPrefix property: Expanded destination address prefix.

withExpandedSourceAddressPrefix(List<String> expandedSourceAddressPrefix)

Set the expandedSourceAddressPrefix property: The expanded source address prefix.

withName(String name)

Set the name property: The name of the security rule specified by the user (if created by the user).

withPriority(Integer priority)

Set the priority property: The priority of the rule.

withProtocol(EffectiveSecurityRuleProtocol protocol)

Set the protocol property: The network protocol this rule applies to.

withSourceAddressPrefix(String sourceAddressPrefix)

Set the sourceAddressPrefix property: The source address prefix.

withSourceAddressPrefixes(List<String> sourceAddressPrefixes)

Set the sourceAddressPrefixes property: The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).

withSourcePortRange(String sourcePortRange)

Set the sourcePortRange property: The source port or range.

withSourcePortRanges(List<String> sourcePortRanges)

Set the sourcePortRanges property: The source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).

Applies to