NetworkSecurityRule.Update Interface
public interface Update extends NetworkSecurityRule.UpdateStages.WithDirectionAccess,NetworkSecurityRule.UpdateStages.WithSourceAddress,NetworkSecurityRule.UpdateStages.WithSourcePort,NetworkSecurityRule.UpdateStages.WithDestinationAddress,NetworkSecurityRule.UpdateStages.WithDestinationPort,NetworkSecurityRule.UpdateStages.WithProtocol,Settable<NetworkSecurityGroup.Update>
The entirety of a security rule update as part of a network security group update.
Method Summary
Modifier and Type | Method and Description |
---|---|
Network |
withDescription(String description)
Specifies a description for this security rule. |
Network |
withPriority(int priority)
Specifies the priority to assign to this security rule. Security rules are applied in the order of their assigned priority. |
Inherited Members
Method Details
withDescription
public Update withDescription(String description)
Specifies a description for this security rule.
Parameters:
Returns:
withPriority
public 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:
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