NetworkInterface.UpdateStages.WithNetworkSecurityGroup Interface
public static interface NetworkInterface.UpdateStages.WithNetworkSecurityGroup
The stage of the network interface update allowing to associate network security group.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)
Associates an existing network security group with the network interface. |
abstract Update |
withNewNetworkSecurityGroup(Creatable<NetworkSecurityGroup> creatable)
Create a new network security group to associate with network interface, based on the provided definition. |
abstract Update |
withoutNetworkSecurityGroup()
Specifies that remove any network security group associated with the network interface. |
Method Details
withExistingNetworkSecurityGroup
public abstract NetworkInterface.Update withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)
Associates an existing network security group with the network interface.
Parameters:
Returns:
withNewNetworkSecurityGroup
public abstract NetworkInterface.Update withNewNetworkSecurityGroup(Creatable
Create a new network security group to associate with network interface, based on the provided definition.
Parameters:
Returns:
withoutNetworkSecurityGroup
public abstract NetworkInterface.Update withoutNetworkSecurityGroup()
Specifies that remove any network security group associated with the network interface.
Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin