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