Udostępnij za pośrednictwem


ArmNetworkModelFactory.EffectiveNetworkSecurityGroupAssociation Method

Definition

Initializes a new instance of EffectiveNetworkSecurityGroupAssociation.

public static Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityGroupAssociation EffectiveNetworkSecurityGroupAssociation (Azure.Core.ResourceIdentifier networkManagerId = default, Azure.Core.ResourceIdentifier subnetId = default, Azure.Core.ResourceIdentifier networkInterfaceId = default);
static member EffectiveNetworkSecurityGroupAssociation : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityGroupAssociation
Public Shared Function EffectiveNetworkSecurityGroupAssociation (Optional networkManagerId As ResourceIdentifier = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional networkInterfaceId As ResourceIdentifier = Nothing) As EffectiveNetworkSecurityGroupAssociation

Parameters

networkManagerId
ResourceIdentifier

The ID of the Azure network manager if assigned.

subnetId
ResourceIdentifier

The ID of the subnet if assigned.

networkInterfaceId
ResourceIdentifier

The ID of the network interface if assigned.

Returns

A new EffectiveNetworkSecurityGroupAssociation instance for mocking.

Applies to