NetworkSecurityGroup.UpdateStages.WithRule Interface
public interface WithRule
The stage of the resource definition allowing to add or remove security rules.
Method Summary
Modifier and Type | Method and Description |
---|---|
NetworkSecurityRule.UpdateDefinitionStages.Blank<Network |
defineRule(String name)
Begins the definition of a new security rule to be added to this network security group. |
NetworkSecurityRule.Update |
updateRule(String name)
Begins the description of an update of an existing security rule of this network security group. |
Network |
withoutRule(String name)
Removes an existing security rule. |
Method Details
defineRule
public NetworkSecurityRule.UpdateDefinitionStages.Blank
Begins the definition of a new security rule to be added to this network security group.
Parameters:
Returns:
updateRule
public NetworkSecurityRule.Update updateRule(String name)
Begins the description of an update of an existing security rule of this network security group.
Parameters:
Returns:
withoutRule
public Update withoutRule(String name)
Removes an existing security rule.
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