Sdílet prostřednictvím


ArmNetworkModelFactory.SecurityGroupViewResult Method

Definition

Initializes a new instance of SecurityGroupViewResult.

public static Azure.ResourceManager.Network.Models.SecurityGroupViewResult SecurityGroupViewResult (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.SecurityGroupNetworkInterface> networkInterfaces = default);
static member SecurityGroupViewResult : seq<Azure.ResourceManager.Network.Models.SecurityGroupNetworkInterface> -> Azure.ResourceManager.Network.Models.SecurityGroupViewResult
Public Shared Function SecurityGroupViewResult (Optional networkInterfaces As IEnumerable(Of SecurityGroupNetworkInterface) = Nothing) As SecurityGroupViewResult

Parameters

networkInterfaces
IEnumerable<SecurityGroupNetworkInterface>

List of network interfaces on the specified VM.

Returns

A new SecurityGroupViewResult instance for mocking.

Applies to