Partilhar via


ArmResourceMoverModelFactory.MoverResourceDependency Método

Definição

Inicializa uma nova instância de 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, bool? isOptional = 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 * Nullable<bool> -> 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 isOptional As Nullable(Of Boolean) = Nothing) As MoverResourceDependency

Parâmetros

id
ResourceIdentifier

Obtém a ID do ARM de origem do recurso dependente.

resolutionStatus
String

Obtém o status de resolução de dependência.

resolutionType
Nullable<MoverResourceResolutionType>

Define o tipo de resolução.

dependencyType
Nullable<MoverDependencyType>

Define o tipo de dependência.

manualResolutionTargetId
ResourceIdentifier

Define as propriedades para resolução manual.

automaticResolutionResourceId
ResourceIdentifier

Define as propriedades para resolução automática.

isOptional
Nullable<Boolean>

Obtém ou define um valor que indica se a dependência é opcional.

Retornos

Uma nova MoverResourceDependency instância para zombar.

Aplica-se a