Sdílet prostřednictvím


ArmNetworkModelFactory.TopologyResourceInfo Method

Definition

Initializes a new instance of TopologyResourceInfo.

public static Azure.ResourceManager.Network.Models.TopologyResourceInfo TopologyResourceInfo (string name = default, string id = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.TopologyAssociation> associations = default);
static member TopologyResourceInfo : string * string * Nullable<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.Network.Models.TopologyAssociation> -> Azure.ResourceManager.Network.Models.TopologyResourceInfo
Public Shared Function TopologyResourceInfo (Optional name As String = Nothing, Optional id As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional associations As IEnumerable(Of TopologyAssociation) = Nothing) As TopologyResourceInfo

Parameters

name
String

Name of the resource.

id
String

ID of the resource.

location
Nullable<AzureLocation>

Resource location.

associations
IEnumerable<TopologyAssociation>

Holds the associations the resource has with other resources in the resource group.

Returns

A new TopologyResourceInfo instance for mocking.

Applies to