Compartilhar via


ArmReservationsModelFactory.CalculateExchangeResult Método

Definição

Inicializa uma nova instância de CalculateExchangeResult.

public static Azure.ResourceManager.Reservations.Models.CalculateExchangeResult CalculateExchangeResult (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.ResourceManager.Reservations.Models.CalculateExchangeOperationResultStatus? status = default, Azure.ResourceManager.Reservations.Models.CalculateExchangeResultProperties properties = default, Azure.ResourceManager.Reservations.Models.OperationResultError error = default);
static member CalculateExchangeResult : Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Reservations.Models.CalculateExchangeOperationResultStatus> * Azure.ResourceManager.Reservations.Models.CalculateExchangeResultProperties * Azure.ResourceManager.Reservations.Models.OperationResultError -> Azure.ResourceManager.Reservations.Models.CalculateExchangeResult
Public Shared Function CalculateExchangeResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional status As Nullable(Of CalculateExchangeOperationResultStatus) = Nothing, Optional properties As CalculateExchangeResultProperties = Nothing, Optional error As OperationResultError = Nothing) As CalculateExchangeResult

Parâmetros

id
ResourceIdentifier

Ele deve corresponder ao que é usado para OBTER o resultado da operação.

name
String

Ele deve corresponder ao último segmento do campo id e, normalmente, será um valor guid/gerado pelo sistema.

status
Nullable<CalculateExchangeOperationResultStatus>

Status da operação.

properties
CalculateExchangeResultProperties

Calcular propriedades de resposta do Exchange.

error
OperationResultError

Obrigatório se status == falhou ou status == cancelado.

Retornos

Uma nova CalculateExchangeResult instância para simulação.

Aplica-se a