Share via


IWithNetworkSecurityGroup Interface

Definition

The stage of the network interface update allowing to associate 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.

WithoutNetworkSecurityGroup()

Specifies that remove any network security group associated with the network interface.

Applies to