NetworkSecurityRule Interface
Implements
public interface NetworkSecurityRule
extends HasInnerModel<SecurityRuleInner>, ChildResource<NetworkSecurityGroup>
A network security rule in a network security group.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Security |
access() |
abstract String | description() |
abstract String | destinationAddressPrefix() |
abstract List<String> | destinationAddressPrefixes() |
abstract Set<String> | destinationApplicationSecurityGroupIds() |
abstract String | destinationPortRange() |
abstract List<String> | destinationPortRanges() |
abstract
Security |
direction() |
abstract int | priority() |
abstract
Security |
protocol() |
abstract String | sourceAddressPrefix() |
abstract List<String> | sourceAddressPrefixes() |
abstract Set<String> | sourceApplicationSecurityGroupIds() |
abstract String | sourcePortRange() |
abstract List<String> | sourcePortRanges() |
Method Details
access
public abstract SecurityRuleAccess access()
Returns:
description
public abstract String description()
Returns:
destinationAddressPrefix
public abstract String destinationAddressPrefix()
Returns:
destinationAddressPrefixes
public abstract List
Returns:
destinationApplicationSecurityGroupIds
public abstract Set
Returns:
destinationPortRange
public abstract String destinationPortRange()
Returns:
destinationPortRanges
public abstract List
Returns:
direction
public abstract SecurityRuleDirection direction()
Returns:
priority
public abstract int priority()
Returns:
protocol
public abstract SecurityRuleProtocol protocol()
Returns:
sourceAddressPrefix
public abstract String sourceAddressPrefix()
Returns:
sourceAddressPrefixes
public abstract List
Returns:
sourceApplicationSecurityGroupIds
public abstract Set
Returns:
sourcePortRange
public abstract String sourcePortRange()
Returns:
sourcePortRanges
public abstract List
Returns:
Applies to
Azure SDK for Java