Skip to content

Commit

Permalink
.NET SDK Resource Provider:'Reservations'
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5403'
REST Spec PR Author 'corquiri'
REST Spec PR Last commit
  • Loading branch information
adxsdknet committed Apr 4, 2019
1 parent 104706b commit 171027a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ public CalculatePriceResponseProperties()
/// customer will be charged in customer's local currency. Tax is not
/// included.</param>
/// <param name="reservationOrderId">GUID that represents reservation
/// order that can be placed after calculating price</param>
/// <param name="skuTitle">Long name for the SKU that is being
/// purchased</param>
/// <param name="skuDescription">Short name for the SKU that is being
/// purchased</param>
/// order that can be placed after calculating price.</param>
/// <param name="skuTitle">Title of SKU that is being
/// purchased.</param>
/// <param name="skuDescription">Description of SKU that is being
/// purchased.</param>
/// <param name="pricingCurrencyTotal">Amount that Microsoft uses for
/// record. Used during refund for calculating refund limit. Tax is not
/// included.</param>
Expand Down Expand Up @@ -70,19 +70,19 @@ public CalculatePriceResponseProperties()

/// <summary>
/// Gets or sets GUID that represents reservation order that can be
/// placed after calculating price
/// placed after calculating price.
/// </summary>
[JsonProperty(PropertyName = "reservationOrderId")]
public string ReservationOrderId { get; set; }

/// <summary>
/// Gets or sets long name for the SKU that is being purchased
/// Gets or sets title of SKU that is being purchased.
/// </summary>
[JsonProperty(PropertyName = "skuTitle")]
public string SkuTitle { get; set; }

/// <summary>
/// Gets or sets short name for the SKU that is being purchased
/// Gets or sets description of SKU that is being purchased.
/// </summary>
[JsonProperty(PropertyName = "skuDescription")]
public string SkuDescription { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ public PurchaseRequest()
/// <param name="displayName">Friendly name of the Reservation</param>
/// <param name="appliedScopeType">Possible values include: 'Single',
/// 'Shared'</param>
/// <param name="reservedResourceProperties">properties specific to
/// each reserved resource type.</param>
/// <param name="reservedResourceProperties">Properties specific to
/// each reserved resource type. Not required if not
/// applicable.</param>
public PurchaseRequest(SkuName sku = default(SkuName), string location = default(string), string reservedResourceType = default(string), string billingScopeId = default(string), string term = default(string), int? quantity = default(int?), string displayName = default(string), string appliedScopeType = default(string), IList<string> appliedScopes = default(IList<string>), PurchaseRequestPropertiesReservedResourceProperties reservedResourceProperties = default(PurchaseRequestPropertiesReservedResourceProperties))
{
Sku = sku;
Expand Down Expand Up @@ -114,6 +115,7 @@ public PurchaseRequest()

/// <summary>
/// Gets or sets properties specific to each reserved resource type.
/// Not required if not applicable.
/// </summary>
[JsonProperty(PropertyName = "properties.reservedResourceProperties")]
public PurchaseRequestPropertiesReservedResourceProperties ReservedResourceProperties { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ namespace Microsoft.Azure.Management.Reservations.Models
using System.Linq;

/// <summary>
/// properties specific to each reserved resource type.
/// Properties specific to each reserved resource type. Not required if not
/// applicable.
/// </summary>
public partial class PurchaseRequestPropertiesReservedResourceProperties
{
Expand Down

0 comments on commit 171027a

Please sign in to comment.