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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkInterface.DefinitionStages.WithCreate
withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)
Associates an existing network security group with the network interface.NetworkInterface.DefinitionStages.WithCreate
withNewNetworkSecurityGroup(com.microsoft.azure.management.resources.fluentcore.model.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(com.microsoft.azure.management.resources.fluentcore.model.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
-
-