Interface NetworkSecurityGroup.DefinitionStages.WithRule
- All Known Subinterfaces:
NetworkSecurityGroup.Definition, NetworkSecurityGroup.DefinitionStages.WithCreate
- Enclosing interface:
NetworkSecurityGroup.DefinitionStages
public static interface NetworkSecurityGroup.DefinitionStages.WithRule
The stage allowing to define a new security rule.
When the security rule description is complete enough, use Attachable.attach() to attach it to
this network security group.
-
Method Summary
Modifier and TypeMethodDescriptiondefineRule(String name) Starts the definition of a new security rule.
-
Method Details
-
defineRule
NetworkSecurityRule.DefinitionStages.Blank<NetworkSecurityGroup.DefinitionStages.WithCreate> defineRule(String name) Starts the definition of a new security rule.- Parameters:
name- the name for the new security rule- Returns:
- the first stage of the security rule definition
-