Share via


ArmNetworkModelFactory.NetworkTopology Method

Definition

Initializes a new instance of NetworkTopology.

public static Azure.ResourceManager.Network.Models.NetworkTopology NetworkTopology (string id = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModified = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.TopologyResourceInfo> resources = default);
static member NetworkTopology : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Network.Models.TopologyResourceInfo> -> Azure.ResourceManager.Network.Models.NetworkTopology
Public Shared Function NetworkTopology (Optional id As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModified As Nullable(Of DateTimeOffset) = Nothing, Optional resources As IEnumerable(Of TopologyResourceInfo) = Nothing) As NetworkTopology

Parameters

id
String

GUID representing the operation id.

createdOn
Nullable<DateTimeOffset>

The datetime when the topology was initially created for the resource group.

lastModified
Nullable<DateTimeOffset>

The datetime when the topology was last modified.

resources
IEnumerable<TopologyResourceInfo>

A list of topology resources.

Returns

A new NetworkTopology instance for mocking.

Applies to