Compartilhar via


ArmReservationsModelFactory.ReservationRefundPolicyError Método

Definição

Inicializa uma nova instância de ReservationRefundPolicyError.

public static Azure.ResourceManager.Reservations.Models.ReservationRefundPolicyError ReservationRefundPolicyError (Azure.ResourceManager.Reservations.Models.ReservationErrorResponseCode? code = default, string message = default);
static member ReservationRefundPolicyError : Nullable<Azure.ResourceManager.Reservations.Models.ReservationErrorResponseCode> * string -> Azure.ResourceManager.Reservations.Models.ReservationRefundPolicyError
Public Shared Function ReservationRefundPolicyError (Optional code As Nullable(Of ReservationErrorResponseCode) = Nothing, Optional message As String = Nothing) As ReservationRefundPolicyError

Parâmetros

code
Nullable<ReservationErrorResponseCode>

Código de erro que descreve o motivo pelo qual o serviço não é capaz de processar a solicitação de entrada.

message
String

Retornos

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

Aplica-se a