public static interface NetworkInterface.DefinitionStages.WithNetworkSecurityGroup
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface.DefinitionStages.WithCreate |
withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)
Associates an existing network security group with the network interface.
|
NetworkInterface.DefinitionStages.WithCreate |
withNewNetworkSecurityGroup(Creatable<NetworkSecurityGroup> creatable)
Create a new network security group to associate with network interface, based on the provided
definition.
|
NetworkInterface.DefinitionStages.WithCreate withNewNetworkSecurityGroup(Creatable<NetworkSecurityGroup> creatable)
creatable - a creatable definition for a new network security groupNetworkInterface.DefinitionStages.WithCreate withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)
networkSecurityGroup - an existing network security groupCopyright © 2020 Microsoft Corporation. All rights reserved.