Interface NetworkInterface.UpdateStages.WithNetworkSecurityGroup
-
- All Known Subinterfaces:
NetworkInterface.Update
- Enclosing interface:
- NetworkInterface.UpdateStages
public static interface NetworkInterface.UpdateStages.WithNetworkSecurityGroupThe stage of the network interface update allowing to associate network security group.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkInterface.UpdatewithExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)Associates an existing network security group with the network interface.NetworkInterface.UpdatewithNewNetworkSecurityGroup(Creatable<NetworkSecurityGroup> creatable)Create a new network security group to associate with network interface, based on the provided definition.NetworkInterface.UpdatewithoutNetworkSecurityGroup()Specifies that remove any network security group associated with the network interface.
-
-
-
Method Detail
-
withNewNetworkSecurityGroup
NetworkInterface.Update 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 network interface update
-
withExistingNetworkSecurityGroup
NetworkInterface.Update 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 network interface update
-
withoutNetworkSecurityGroup
NetworkInterface.Update withoutNetworkSecurityGroup()
Specifies that remove any network security group associated with the network interface.- Returns:
- the next stage of the network interface update
-
-