ArmNetworkModelFactory.SecurityGroupNetworkInterface Method

Definition

Initializes a new instance of SecurityGroupNetworkInterface.

public static Azure.ResourceManager.Network.Models.SecurityGroupNetworkInterface SecurityGroupNetworkInterface (string id = default, Azure.ResourceManager.Network.Models.SecurityRuleAssociations securityRuleAssociations = default);
static member SecurityGroupNetworkInterface : string * Azure.ResourceManager.Network.Models.SecurityRuleAssociations -> Azure.ResourceManager.Network.Models.SecurityGroupNetworkInterface
Public Shared Function SecurityGroupNetworkInterface (Optional id As String = Nothing, Optional securityRuleAssociations As SecurityRuleAssociations = Nothing) As SecurityGroupNetworkInterface

Parameters

id
String

ID of the network interface.

securityRuleAssociations
SecurityRuleAssociations

All security rules associated with the network interface.

Returns

A new SecurityGroupNetworkInterface instance for mocking.

Applies to