ArmResourceMoverModelFactory.MoverResourceDependency Method

Definition

Initializes a new instance of MoverResourceDependency.

public static Azure.ResourceManager.ResourceMover.Models.MoverResourceDependency MoverResourceDependency (Azure.Core.ResourceIdentifier id = default, string resolutionStatus = default, Azure.ResourceManager.ResourceMover.Models.MoverResourceResolutionType? resolutionType = default, Azure.ResourceManager.ResourceMover.Models.MoverDependencyType? dependencyType = default, Azure.Core.ResourceIdentifier manualResolutionTargetId = default, Azure.Core.ResourceIdentifier automaticResolutionResourceId = default, string isDependencyOptional = default);
static member MoverResourceDependency : Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.ResourceMover.Models.MoverResourceResolutionType> * Nullable<Azure.ResourceManager.ResourceMover.Models.MoverDependencyType> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.ResourceMover.Models.MoverResourceDependency
Public Shared Function MoverResourceDependency (Optional id As ResourceIdentifier = Nothing, Optional resolutionStatus As String = Nothing, Optional resolutionType As Nullable(Of MoverResourceResolutionType) = Nothing, Optional dependencyType As Nullable(Of MoverDependencyType) = Nothing, Optional manualResolutionTargetId As ResourceIdentifier = Nothing, Optional automaticResolutionResourceId As ResourceIdentifier = Nothing, Optional isDependencyOptional As String = Nothing) As MoverResourceDependency

Parameters

id
ResourceIdentifier

Gets the source ARM ID of the dependent resource.

resolutionStatus
String

Gets the dependency resolution status.

resolutionType
Nullable<MoverResourceResolutionType>

Defines the resolution type.

dependencyType
Nullable<MoverDependencyType>

Defines the dependency type.

manualResolutionTargetId
ResourceIdentifier

Defines the properties for manual resolution.

automaticResolutionResourceId
ResourceIdentifier

Defines the properties for automatic resolution.

isDependencyOptional
String

Gets or sets a value indicating whether the dependency is optional.

Returns

A new MoverResourceDependency instance for mocking.

Applies to