NetworkInterface.DefinitionStages.WithNetworkSecurityGroup Interface
public static interface NetworkInterface.DefinitionStages.WithNetworkSecurityGroup
The stage of the network interface definition allowing to associate a network security group.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)
Associates an existing network security group with the network interface. |
abstract
With |
withNewNetworkSecurityGroup(Creatable<NetworkSecurityGroup> creatable)
Create a new network security group to associate with network interface, based on the provided definition. |
Method Details
withExistingNetworkSecurityGroup
public abstract NetworkInterface.DefinitionStages.WithCreate withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)
Associates an existing network security group with the network interface.
Parameters:
Returns:
withNewNetworkSecurityGroup
public abstract NetworkInterface.DefinitionStages.WithCreate withNewNetworkSecurityGroup(Creatable
Create a new network security group to associate with network interface, based on the provided definition.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for