Compartilhar via


ArmReservationsModelFactory.ExchangeResult Método

Definição

Inicializa uma nova instância do 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

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

Status da operação.

properties
ExchangeResultProperties

Propriedades de resposta do Exchange.

error
OperationResultError

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

Retornos

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

Aplica-se a