ArmReservationsModelFactory.ReservationRefundPolicyError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET