Interface NetworkSecurityRule.Update
-
- All Superinterfaces:
NetworkSecurityRule.UpdateStages.WithDestinationAddressOrSecurityGroup
,NetworkSecurityRule.UpdateStages.WithDestinationPort
,NetworkSecurityRule.UpdateStages.WithDirectionAccess
,NetworkSecurityRule.UpdateStages.WithProtocol
,NetworkSecurityRule.UpdateStages.WithSourceAddressOrSecurityGroup
,NetworkSecurityRule.UpdateStages.WithSourcePort
,com.microsoft.azure.management.resources.fluentcore.model.Settable<NetworkSecurityGroup.Update>
- Enclosing interface:
- NetworkSecurityRule
public static interface NetworkSecurityRule.Update extends NetworkSecurityRule.UpdateStages.WithDirectionAccess, NetworkSecurityRule.UpdateStages.WithSourceAddressOrSecurityGroup, NetworkSecurityRule.UpdateStages.WithSourcePort, NetworkSecurityRule.UpdateStages.WithDestinationAddressOrSecurityGroup, NetworkSecurityRule.UpdateStages.WithDestinationPort, NetworkSecurityRule.UpdateStages.WithProtocol, com.microsoft.azure.management.resources.fluentcore.model.Settable<NetworkSecurityGroup.Update>
The entirety of a security rule update as part of a network security group update.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkSecurityRule.Update
withDescription(String description)
Specifies a description for this security rule.NetworkSecurityRule.Update
withPriority(int priority)
Specifies the priority to assign to this security rule.-
Methods inherited from interface com.microsoft.azure.management.network.NetworkSecurityRule.UpdateStages.WithDestinationAddressOrSecurityGroup
toAddress, toAddresses, toAnyAddress, withDestinationApplicationSecurityGroup
-
Methods inherited from interface com.microsoft.azure.management.network.NetworkSecurityRule.UpdateStages.WithDestinationPort
toAnyPort, toPort, toPortRange, toPortRanges
-
Methods inherited from interface com.microsoft.azure.management.network.NetworkSecurityRule.UpdateStages.WithDirectionAccess
allowInbound, allowOutbound, denyInbound, denyOutbound
-
Methods inherited from interface com.microsoft.azure.management.network.NetworkSecurityRule.UpdateStages.WithProtocol
withAnyProtocol, withProtocol
-
Methods inherited from interface com.microsoft.azure.management.network.NetworkSecurityRule.UpdateStages.WithSourceAddressOrSecurityGroup
fromAddress, fromAddresses, fromAnyAddress, withSourceApplicationSecurityGroup
-
Methods inherited from interface com.microsoft.azure.management.network.NetworkSecurityRule.UpdateStages.WithSourcePort
fromAnyPort, fromPort, fromPortRange, fromPortRanges
-
-
-
-
Method Detail
-
withPriority
NetworkSecurityRule.Update withPriority(int priority)
Specifies the priority to assign to this security rule.Security rules are applied in the order of their assigned priority.
- Parameters:
priority
- the priority number in the range 100 to 4096- Returns:
- the next stage of the update
-
withDescription
NetworkSecurityRule.Update withDescription(String description)
Specifies a description for this security rule.- Parameters:
description
- a text description to associate with this security rule- Returns:
- the next stage
-
-