Interface NetworkInterface.DefinitionStages.WithNetworkSecurityGroup
-
- All Known Subinterfaces:
NetworkInterface.Definition,NetworkInterface.DefinitionStages.WithCreate
- Enclosing interface:
- NetworkInterface.DefinitionStages
public static interface NetworkInterface.DefinitionStages.WithNetworkSecurityGroupThe stage of the network interface definition allowing to associate a network security group.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkInterface.DefinitionStages.WithCreatewithExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)Associates an existing network security group with the network interface.NetworkInterface.DefinitionStages.WithCreatewithNewNetworkSecurityGroup(Creatable<NetworkSecurityGroup> creatable)Create a new network security group to associate with network interface, based on the provided definition.
-
-
-
Method Detail
-
withNewNetworkSecurityGroup
NetworkInterface.DefinitionStages.WithCreate withNewNetworkSecurityGroup(Creatable<NetworkSecurityGroup> creatable)
Create a new network security group to associate with network interface, based on the provided definition.- Parameters:
creatable- a creatable definition for a new network security group- Returns:
- the next stage of the definition
-
withExistingNetworkSecurityGroup
NetworkInterface.DefinitionStages.WithCreate withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)
Associates an existing network security group with the network interface.- Parameters:
networkSecurityGroup- an existing network security group- Returns:
- the next stage of the definition
-
-