Compartir a través de


ArmReservationsModelFactory.CalculateExchangeResult Método

Definición

Inicializa una nueva instancia 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

Debe coincidir con lo que se usa para obtener el resultado de la operación.

name
String

Debe coincidir con el último segmento del campo id y normalmente será un valor GUID o generado por el sistema.

status
Nullable<CalculateExchangeOperationResultStatus>

Estado de la operación.

properties
CalculateExchangeResultProperties

CalculateExchange response properties (Calcular propiedades de respuesta deExchange).

error
OperationResultError

Obligatorio si status == failed o status == canceled.

Devoluciones

CalculateExchangeResult Nueva instancia de para simular.

Se aplica a