Udostępnij za pośrednictwem


ArmNetworkModelFactory.TopologyAssociation Method

Definition

Initializes a new instance of TopologyAssociation.

public static Azure.ResourceManager.Network.Models.TopologyAssociation TopologyAssociation (string name = default, Azure.Core.ResourceIdentifier resourceId = default, Azure.ResourceManager.Network.Models.AssociationType? associationType = default);
static member TopologyAssociation : string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.AssociationType> -> Azure.ResourceManager.Network.Models.TopologyAssociation
Public Shared Function TopologyAssociation (Optional name As String = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional associationType As Nullable(Of AssociationType) = Nothing) As TopologyAssociation

Parameters

name
String

The name of the resource that is associated with the parent resource.

resourceId
ResourceIdentifier

The ID of the resource that is associated with the parent resource.

associationType
Nullable<AssociationType>

The association type of the child resource to the parent resource.

Returns

A new TopologyAssociation instance for mocking.

Applies to