CustomPriceProperties Constructor
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 CustomPriceProperties.
public CustomPriceProperties(Azure.ResourceManager.BillingBenefits.Models.DiscountRuleType ruleType, string catalogId, System.Collections.Generic.IEnumerable<Azure.ResourceManager.BillingBenefits.Models.CatalogClaimsItem> catalogClaims, System.Collections.Generic.IEnumerable<Azure.ResourceManager.BillingBenefits.Models.MarketSetPricesItems> marketSetPrices);
new Azure.ResourceManager.BillingBenefits.Models.CustomPriceProperties : Azure.ResourceManager.BillingBenefits.Models.DiscountRuleType * string * seq<Azure.ResourceManager.BillingBenefits.Models.CatalogClaimsItem> * seq<Azure.ResourceManager.BillingBenefits.Models.MarketSetPricesItems> -> Azure.ResourceManager.BillingBenefits.Models.CustomPriceProperties
Public Sub New (ruleType As DiscountRuleType, catalogId As String, catalogClaims As IEnumerable(Of CatalogClaimsItem), marketSetPrices As IEnumerable(Of MarketSetPricesItems))
Parameters
- ruleType
- DiscountRuleType
The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- catalogId
- String
The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- catalogClaims
- IEnumerable<CatalogClaimsItem>
The set of BigCat claims. Validation: Required. Must contain AgreementType, NationalCloud, and PricingAudience claims. Additionally requires AccessPass claim when creating custom price with action == consume on the pricing instructions.
- marketSetPrices
- IEnumerable<MarketSetPricesItems>
The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
Exceptions
catalogId, catalogClaims or marketSetPrices is null.