Share via


ArmReservationsModelFactory.ReservationRefundPolicyError Method

Definition

Initializes a new instance of 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

Parameters

code
Nullable<ReservationErrorResponseCode>

Error code describing the reason that service is not able to process the incoming request.

message
String

Returns

A new ReservationRefundPolicyError instance for mocking.

Applies to