ArmRelationshipsModelFactory.RelationshipMetadata Method

Definition

Provides information about the relationship properties.

public static Azure.ResourceManager.Relationships.Models.RelationshipMetadata RelationshipMetadata(Azure.Core.ResourceType sourceType = default, Azure.Core.ResourceType targetType = default);
static member RelationshipMetadata : Azure.Core.ResourceType * Azure.Core.ResourceType -> Azure.ResourceManager.Relationships.Models.RelationshipMetadata
Public Shared Function RelationshipMetadata (Optional sourceType As ResourceType = Nothing, Optional targetType As ResourceType = Nothing) As RelationshipMetadata

Parameters

sourceType
ResourceType

The type of the relationship source resource.

targetType
ResourceType

The type of the relationship target resource.

Returns

A new RelationshipMetadata instance for mocking.

Applies to