Dela via


IWithNetworkSecurityGroup.WithExistingNetworkSecurityGroup Method

Definition

Associates an existing network security group with the network interface.

public Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Update.IUpdate WithExistingNetworkSecurityGroup (Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroup networkSecurityGroup);
abstract member WithExistingNetworkSecurityGroup : Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroup -> Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Update.IUpdate
Public Function WithExistingNetworkSecurityGroup (networkSecurityGroup As INetworkSecurityGroup) As IUpdate

Parameters

networkSecurityGroup
INetworkSecurityGroup

An existing network security group.

Returns

Applies to