EffectiveNetworkSecurityRule Class
- java.
lang. Object - com.
microsoft. azure. management. network. EffectiveNetworkSecurityRule
- com.
public class EffectiveNetworkSecurityRule
Effective network security rules.
Method Summary
Method Details
access
public SecurityRuleAccess access()
Get the access value.
Returns:
destinationAddressPrefix
public String destinationAddressPrefix()
Get the destinationAddressPrefix value.
Returns:
destinationAddressPrefixes
public List
Get the destinationAddressPrefixes value.
Returns:
destinationPortRange
public String destinationPortRange()
Get the destinationPortRange value.
Returns:
destinationPortRanges
public List
Get the destinationPortRanges value.
Returns:
direction
public SecurityRuleDirection direction()
Get the direction value.
Returns:
expandedDestinationAddressPrefix
public List
Get the expandedDestinationAddressPrefix value.
Returns:
expandedSourceAddressPrefix
public List
Get the expandedSourceAddressPrefix value.
Returns:
name
public String name()
Get the name value.
Returns:
priority
public Integer priority()
Get the priority value.
Returns:
protocol
public EffectiveSecurityRuleProtocol protocol()
Get the protocol value.
Returns:
sourceAddressPrefix
public String sourceAddressPrefix()
Get the sourceAddressPrefix value.
Returns:
sourceAddressPrefixes
public List
Get the sourceAddressPrefixes value.
Returns:
sourcePortRange
public String sourcePortRange()
Get the sourcePortRange value.
Returns:
sourcePortRanges
public List
Get the sourcePortRanges value.
Returns:
withAccess
public EffectiveNetworkSecurityRule withAccess(SecurityRuleAccess access)
Set the access value.
Parameters:
Returns:
withDestinationAddressPrefix
public EffectiveNetworkSecurityRule withDestinationAddressPrefix(String destinationAddressPrefix)
Set the destinationAddressPrefix value.
Parameters:
Returns:
withDestinationAddressPrefixes
public EffectiveNetworkSecurityRule withDestinationAddressPrefixes(List
Set the destinationAddressPrefixes value.
Parameters:
Returns:
withDestinationPortRange
public EffectiveNetworkSecurityRule withDestinationPortRange(String destinationPortRange)
Set the destinationPortRange value.
Parameters:
Returns:
withDestinationPortRanges
public EffectiveNetworkSecurityRule withDestinationPortRanges(List
Set the destinationPortRanges value.
Parameters:
Returns:
withDirection
public EffectiveNetworkSecurityRule withDirection(SecurityRuleDirection direction)
Set the direction value.
Parameters:
Returns:
withExpandedDestinationAddressPrefix
public EffectiveNetworkSecurityRule withExpandedDestinationAddressPrefix(List
Set the expandedDestinationAddressPrefix value.
Parameters:
Returns:
withExpandedSourceAddressPrefix
public EffectiveNetworkSecurityRule withExpandedSourceAddressPrefix(List
Set the expandedSourceAddressPrefix value.
Parameters:
Returns:
withName
public EffectiveNetworkSecurityRule withName(String name)
Set the name value.
Parameters:
Returns:
withPriority
public EffectiveNetworkSecurityRule withPriority(Integer priority)
Set the priority value.
Parameters:
Returns:
withProtocol
public EffectiveNetworkSecurityRule withProtocol(EffectiveSecurityRuleProtocol protocol)
Set the protocol value.
Parameters:
Returns:
withSourceAddressPrefix
public EffectiveNetworkSecurityRule withSourceAddressPrefix(String sourceAddressPrefix)
Set the sourceAddressPrefix value.
Parameters:
Returns:
withSourceAddressPrefixes
public EffectiveNetworkSecurityRule withSourceAddressPrefixes(List
Set the sourceAddressPrefixes value.
Parameters:
Returns:
withSourcePortRange
public EffectiveNetworkSecurityRule withSourcePortRange(String sourcePortRange)
Set the sourcePortRange value.
Parameters:
Returns:
withSourcePortRanges
public EffectiveNetworkSecurityRule withSourcePortRanges(List
Set the sourcePortRanges value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for