你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetworkSecurityRule.Definition<ParentT> 接口

类型参数

ParentT

最终的返回类型 attach()

public interface Definition extends NetworkSecurityRule.DefinitionStages.Blank,NetworkSecurityRule.DefinitionStages.WithAttach,NetworkSecurityRule.DefinitionStages.WithDirectionAccess,NetworkSecurityRule.DefinitionStages.WithSourceAddress,NetworkSecurityRule.DefinitionStages.WithSourcePort,NetworkSecurityRule.DefinitionStages.WithDestinationAddress,NetworkSecurityRule.DefinitionStages.WithDestinationPort,NetworkSecurityRule.DefinitionStages.WithProtocol

网络安全规则定义的全部。

继承成员

NetworkSecurityRule.DefinitionStages.WithDirectionAccess<ParentT>.allowInbound() NetworkSecurityRule.DefinitionStages.WithDirectionAccess<ParentT>.allowOutbound() Attachable.InDefinition<ParentT>.attach() NetworkSecurityRule.DefinitionStages.WithDirectionAccess<ParentT>.denyInbound() NetworkSecurityRule.DefinitionStages.WithDirectionAccess<ParentT>.denyOutbound() NetworkSecurityRule.DefinitionStages.WithSourceAddress<ParentT>.fromAddress(String cidr) NetworkSecurityRule.DefinitionStages.WithSourceAddress<ParentT>.fromAnyAddress() NetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT>.fromAnyPort() NetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT>.fromPort(int port) NetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT>.fromPortRange(int from, int to) NetworkSecurityRule.DefinitionStages.WithDestinationAddress<ParentT>.toAddress(String cidr) NetworkSecurityRule.DefinitionStages.WithDestinationAddress<ParentT>.toAnyAddress() NetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT>.toAnyPort() NetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT>.toPort(int port) NetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT>.toPortRange(int from, int to) NetworkSecurityRule.DefinitionStages.WithProtocol<ParentT>.withAnyProtocol() NetworkSecurityRule.DefinitionStages.WithDescription<ParentT>.withDescription(String description) NetworkSecurityRule.DefinitionStages.WithPriority<ParentT>.withPriority(int priority) NetworkSecurityRule.DefinitionStages.WithProtocol<ParentT>.withProtocol(SecurityRuleProtocol protocol)

适用于