Interface NetworkSecurityGroup.UpdateStages.WithRule
- All Known Subinterfaces:
NetworkSecurityGroup.Update
- Enclosing interface:
- NetworkSecurityGroup.UpdateStages
public static interface NetworkSecurityGroup.UpdateStages.WithRule
The stage of the resource definition allowing to add or remove security rules.
-
Method Summary
Modifier and TypeMethodDescriptiondefineRule(String name) Begins the definition of a new security rule to be added to this network security group.updateRule(String name) Begins the description of an update of an existing security rule of this network security group.withoutRule(String name) Removes an existing security rule.
-
Method Details
-
withoutRule
Removes an existing security rule.- Parameters:
name- the name of the security rule to remove- Returns:
- the next stage of the network security group description
-
defineRule
NetworkSecurityRule.UpdateDefinitionStages.Blank<NetworkSecurityGroup.Update> defineRule(String name) Begins the definition of a new security rule to be added to this network security group.- Parameters:
name- the name of the new security rule- Returns:
- the first stage of the new security rule definition
-
updateRule
Begins the description of an update of an existing security rule of this network security group.- Parameters:
name- the name of an existing security rule- Returns:
- the first stage of the security rule update description
-