Interface NetworkInterface.DefinitionStages.WithNetworkSecurityGroup

All Known Subinterfaces:
NetworkInterface.Definition, NetworkInterface.DefinitionStages.WithCreate
Enclosing interface:
NetworkInterface.DefinitionStages

public static interface NetworkInterface.DefinitionStages.WithNetworkSecurityGroup
The stage of the network interface definition allowing to associate a network security group.
  • Method Details

    • withNewNetworkSecurityGroup

      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