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

NetworkSecurityRule.UpdateDefinition<ParentT> 接口

类型参数

ParentT

最终的返回类型 attach()

public interface UpdateDefinition extends NetworkSecurityRule.UpdateDefinitionStages.Blank,NetworkSecurityRule.UpdateDefinitionStages.WithDirectionAccess,NetworkSecurityRule.UpdateDefinitionStages.WithSourceAddress,NetworkSecurityRule.UpdateDefinitionStages.WithSourcePort,NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddress,NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort,NetworkSecurityRule.UpdateDefinitionStages.WithProtocol,NetworkSecurityRule.UpdateDefinitionStages.WithAttach

网络安全规则定义的完整内容,作为网络安全组更新的一部分。

继承成员

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

适用于