ArmNetworkModelFactory.NetworkInterfaceAssociation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of NetworkInterfaceAssociation.
public static Azure.ResourceManager.Network.Models.NetworkInterfaceAssociation NetworkInterfaceAssociation (Azure.Core.ResourceIdentifier id = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.SecurityRuleData> securityRules = default);
static member NetworkInterfaceAssociation : Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.SecurityRuleData> -> Azure.ResourceManager.Network.Models.NetworkInterfaceAssociation
Public Shared Function NetworkInterfaceAssociation (Optional id As ResourceIdentifier = Nothing, Optional securityRules As IEnumerable(Of SecurityRuleData) = Nothing) As NetworkInterfaceAssociation
Parameters
Network interface ID.
- securityRules
- IEnumerable<SecurityRuleData>
Collection of custom security rules.
Returns
A new NetworkInterfaceAssociation instance for mocking.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET