-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AutoPr-Reservations-corquiri-REST Spec PrNumber 5403 (#5477)
* .NET SDK Resource Provider:'Reservations' REST Spec PR 'Azure/azure-rest-api-specs#5403' REST Spec PR Author 'corquiri' REST Spec PR Last commit * .NET SDK Resource Provider:'Reservations' REST Spec PR 'Azure/azure-rest-api-specs#5403' REST Spec PR Author 'corquiri' REST Spec PR Last commit * .NET SDK Resource Provider:'Reservations' REST Spec PR 'Azure/azure-rest-api-specs#5403' REST Spec PR Author 'corquiri' REST Spec PR Last commit * .NET SDK Resource Provider:'Reservations' REST Spec PR 'Azure/azure-rest-api-specs#5403' REST Spec PR Author 'corquiri' REST Spec PR Last commit * .NET SDK Resource Provider:'Reservations' REST Spec PR 'Azure/azure-rest-api-specs#5403' REST Spec PR Author 'corquiri' REST Spec PR Last commit * .NET SDK Resource Provider:'Reservations' REST Spec PR 'Azure/azure-rest-api-specs#5403' REST Spec PR Author 'corquiri' REST Spec PR Last commit * .NET SDK Resource Provider:'Reservations' REST Spec PR 'Azure/azure-rest-api-specs#5403' REST Spec PR Author 'corquiri' REST Spec PR Last commit
- Loading branch information
Showing
17 changed files
with
1,110 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file--> | ||
<PropertyGroup> | ||
<AzureApiTag>Capacity_2018-06-01;</AzureApiTag> | ||
<AzureApiTag>Capacity_2019-04-01;</AzureApiTag> | ||
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
src/SDKs/Reservations/Management.Reservations/Generated/Models/CalculatePriceResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// <auto-generated> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for | ||
// license information. | ||
// | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.Reservations.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
public partial class CalculatePriceResponse | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the CalculatePriceResponse class. | ||
/// </summary> | ||
public CalculatePriceResponse() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the CalculatePriceResponse class. | ||
/// </summary> | ||
public CalculatePriceResponse(CalculatePriceResponseProperties properties = default(CalculatePriceResponseProperties)) | ||
{ | ||
Properties = properties; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// </summary> | ||
[JsonProperty(PropertyName = "properties")] | ||
public CalculatePriceResponseProperties Properties { get; set; } | ||
|
||
} | ||
} |
102 changes: 102 additions & 0 deletions
102
...Reservations/Management.Reservations/Generated/Models/CalculatePriceResponseProperties.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
// <auto-generated> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for | ||
// license information. | ||
// | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.Reservations.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
public partial class CalculatePriceResponseProperties | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the CalculatePriceResponseProperties | ||
/// class. | ||
/// </summary> | ||
public CalculatePriceResponseProperties() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the CalculatePriceResponseProperties | ||
/// class. | ||
/// </summary> | ||
/// <param name="billingCurrencyTotal">Currency and amount that | ||
/// customer will be charged in customer's local currency. Tax is not | ||
/// included.</param> | ||
/// <param name="isBillingPartnerManaged">True if billing is managed by | ||
/// Microsoft Partner. Used only for CSP accounts.</param> | ||
/// <param name="reservationOrderId">GUID that represents reservation | ||
/// 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> | ||
public CalculatePriceResponseProperties(CalculatePriceResponsePropertiesBillingCurrencyTotal billingCurrencyTotal = default(CalculatePriceResponsePropertiesBillingCurrencyTotal), bool? isBillingPartnerManaged = default(bool?), string reservationOrderId = default(string), string skuTitle = default(string), string skuDescription = default(string), CalculatePriceResponsePropertiesPricingCurrencyTotal pricingCurrencyTotal = default(CalculatePriceResponsePropertiesPricingCurrencyTotal)) | ||
{ | ||
BillingCurrencyTotal = billingCurrencyTotal; | ||
IsBillingPartnerManaged = isBillingPartnerManaged; | ||
ReservationOrderId = reservationOrderId; | ||
SkuTitle = skuTitle; | ||
SkuDescription = skuDescription; | ||
PricingCurrencyTotal = pricingCurrencyTotal; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets currency and amount that customer will be charged in | ||
/// customer's local currency. Tax is not included. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "billingCurrencyTotal")] | ||
public CalculatePriceResponsePropertiesBillingCurrencyTotal BillingCurrencyTotal { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets true if billing is managed by Microsoft Partner. Used | ||
/// only for CSP accounts. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "isBillingPartnerManaged")] | ||
public bool? IsBillingPartnerManaged { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets GUID that represents reservation order that can be | ||
/// placed after calculating price. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "reservationOrderId")] | ||
public string ReservationOrderId { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets title of SKU that is being purchased. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "skuTitle")] | ||
public string SkuTitle { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets description of SKU that is being purchased. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "skuDescription")] | ||
public string SkuDescription { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets amount that Microsoft uses for record. Used during | ||
/// refund for calculating refund limit. Tax is not included. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "pricingCurrencyTotal")] | ||
public CalculatePriceResponsePropertiesPricingCurrencyTotal PricingCurrencyTotal { get; set; } | ||
|
||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...ent.Reservations/Generated/Models/CalculatePriceResponsePropertiesBillingCurrencyTotal.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
// <auto-generated> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for | ||
// license information. | ||
// | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.Reservations.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Currency and amount that customer will be charged in customer's local | ||
/// currency. Tax is not included. | ||
/// </summary> | ||
public partial class CalculatePriceResponsePropertiesBillingCurrencyTotal | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the | ||
/// CalculatePriceResponsePropertiesBillingCurrencyTotal class. | ||
/// </summary> | ||
public CalculatePriceResponsePropertiesBillingCurrencyTotal() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the | ||
/// CalculatePriceResponsePropertiesBillingCurrencyTotal class. | ||
/// </summary> | ||
public CalculatePriceResponsePropertiesBillingCurrencyTotal(string currencyCode = default(string), double? amount = default(double?)) | ||
{ | ||
CurrencyCode = currencyCode; | ||
Amount = amount; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// </summary> | ||
[JsonProperty(PropertyName = "currencyCode")] | ||
public string CurrencyCode { get; set; } | ||
|
||
/// <summary> | ||
/// </summary> | ||
[JsonProperty(PropertyName = "amount")] | ||
public double? Amount { get; set; } | ||
|
||
} | ||
} |
Oops, something went wrong.