Compartir a través de


ArmReservationsModelFactory.ExchangeResult Método

Definición

Inicializa una nueva instancia de ExchangeResult.

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

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<ExchangeOperationResultStatus>

Estado de la operación.

properties
ExchangeResultProperties

Propiedades de respuesta de Exchange.

error
OperationResultError

Obligatorio si status == failed or status == canceled.

Devoluciones

ExchangeResult Nueva instancia para simular.

Se aplica a