Share via


IWithNetworkSecurityGroup Interface

Definition

The stage of the network interface definition allowing to associate a network security group.

public interface IWithNetworkSecurityGroup
type IWithNetworkSecurityGroup = interface
Public Interface IWithNetworkSecurityGroup
Derived

Methods

WithExistingNetworkSecurityGroup(INetworkSecurityGroup)

Associates an existing network security group with the network interface.

WithNewNetworkSecurityGroup(ICreatable<INetworkSecurityGroup>)

Create a new network security group to associate with network interface, based on the provided definition.

Applies to