public static interface NetworkInterface.UpdateStages.WithNetworkSecurityGroup
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface.Update |
withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)
Associates an existing network security group with the network interface.
|
NetworkInterface.Update |
withNewNetworkSecurityGroup(Creatable<NetworkSecurityGroup> creatable)
Create a new network security group to associate with network interface, based on the provided
definition.
|
NetworkInterface.Update |
withoutNetworkSecurityGroup()
Specifies that remove any network security group associated with the network interface.
|
NetworkInterface.Update withNewNetworkSecurityGroup(Creatable<NetworkSecurityGroup> creatable)
creatable - a creatable definition for a new network security groupNetworkInterface.Update withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)
networkSecurityGroup - an existing network security groupNetworkInterface.Update withoutNetworkSecurityGroup()
Copyright © 2021 Microsoft Corporation. All rights reserved.