IWithNetworkSecurityGroup.WithExistingNetworkSecurityGroup Method

Definition

Associates an existing network security group with the network interface.

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

Parameters

networkSecurityGroup
INetworkSecurityGroup

An existing network security group.

Returns

IWithCreate

Applies to