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.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor