你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkSecurityRule 接口
实现
public interface NetworkSecurityRule
extends HasInner<com.microsoft.azure.management.network.implementation.SecurityRuleInner>, ChildResource<NetworkSecurityGroup>
网络安全组中的网络安全规则。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
abstract
Security |
access() |
abstract java.lang.String | description() |
abstract java.lang.String | destinationAddressPrefix() |
abstract java.util.List<java.lang.String> | destinationAddressPrefixes() |
abstract java.util.Set<java.lang.String> | destinationApplicationSecurityGroupIds() |
abstract java.lang.String | destinationPortRange() |
abstract java.util.List<java.lang.String> | destinationPortRanges() |
abstract
Security |
direction() |
abstract int | priority() |
abstract
Security |
protocol() |
abstract java.lang.String | sourceAddressPrefix() |
abstract java.util.List<java.lang.String> | sourceAddressPrefixes() |
abstract java.util.Set<java.lang.String> | sourceApplicationSecurityGroupIds() |
abstract java.lang.String | sourcePortRange() |
abstract java.util.List<java.lang.String> | sourcePortRanges() |
方法详细信息
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: