Resource definition for Discounts.
Uses Azure REST API version 2024-11-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-11-01-preview.
Example Usage
DiscountsCreateAffiliate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var discount = new AzureNative.BillingBenefits.Discount("discount", new()
{
DiscountName = "testaffiliatediscount",
Location = "global",
Properties = new AzureNative.BillingBenefits.Inputs.EntityTypeAffiliateDiscountArgs
{
DisplayName = "Virtual Machines D Series",
EntityType = "Affiliate",
ProductCode = "0001d726-0000-0160-330f-a0b98cdbbdc4",
StartAt = "2023-07-01T00:00:00Z",
SystemId = "13810867107109237",
},
ResourceGroupName = "testrg",
Tags =
{
{ "key1", "value1" },
{ "key2", "value2" },
},
});
});
package main
import (
billingbenefits "github.com/pulumi/pulumi-azure-native-sdk/billingbenefits/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := billingbenefits.NewDiscount(ctx, "discount", &billingbenefits.DiscountArgs{
DiscountName: pulumi.String("testaffiliatediscount"),
Location: pulumi.String("global"),
Properties: &billingbenefits.EntityTypeAffiliateDiscountArgs{
DisplayName: pulumi.String("Virtual Machines D Series"),
EntityType: pulumi.String("Affiliate"),
ProductCode: pulumi.String("0001d726-0000-0160-330f-a0b98cdbbdc4"),
StartAt: pulumi.String("2023-07-01T00:00:00Z"),
SystemId: pulumi.String("13810867107109237"),
},
ResourceGroupName: pulumi.String("testrg"),
Tags: pulumi.StringMap{
"key1": pulumi.String("value1"),
"key2": pulumi.String("value2"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.billingbenefits.Discount;
import com.pulumi.azurenative.billingbenefits.DiscountArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var discount = new Discount("discount", DiscountArgs.builder()
.discountName("testaffiliatediscount")
.location("global")
.properties(EntityTypeAffiliateDiscountArgs.builder()
.displayName("Virtual Machines D Series")
.entityType("Affiliate")
.productCode("0001d726-0000-0160-330f-a0b98cdbbdc4")
.startAt("2023-07-01T00:00:00Z")
.systemId("13810867107109237")
.build())
.resourceGroupName("testrg")
.tags(Map.ofEntries(
Map.entry("key1", "value1"),
Map.entry("key2", "value2")
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const discount = new azure_native.billingbenefits.Discount("discount", {
discountName: "testaffiliatediscount",
location: "global",
properties: {
displayName: "Virtual Machines D Series",
entityType: "Affiliate",
productCode: "0001d726-0000-0160-330f-a0b98cdbbdc4",
startAt: "2023-07-01T00:00:00Z",
systemId: "13810867107109237",
},
resourceGroupName: "testrg",
tags: {
key1: "value1",
key2: "value2",
},
});
import pulumi
import pulumi_azure_native as azure_native
discount = azure_native.billingbenefits.Discount("discount",
discount_name="testaffiliatediscount",
location="global",
properties={
"display_name": "Virtual Machines D Series",
"entity_type": "Affiliate",
"product_code": "0001d726-0000-0160-330f-a0b98cdbbdc4",
"start_at": "2023-07-01T00:00:00Z",
"system_id": "13810867107109237",
},
resource_group_name="testrg",
tags={
"key1": "value1",
"key2": "value2",
})
resources:
discount:
type: azure-native:billingbenefits:Discount
properties:
discountName: testaffiliatediscount
location: global
properties:
displayName: Virtual Machines D Series
entityType: Affiliate
productCode: 0001d726-0000-0160-330f-a0b98cdbbdc4
startAt: 2023-07-01T00:00:00Z
systemId: '13810867107109237'
resourceGroupName: testrg
tags:
key1: value1
key2: value2
DiscountsCreatePrimary
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var discount = new AzureNative.BillingBenefits.Discount("discount", new()
{
DiscountName = "testprimarydiscount",
Location = "global",
Properties = new AzureNative.BillingBenefits.Inputs.EntityTypePrimaryDiscountArgs
{
AppliedScopeType = AzureNative.BillingBenefits.DiscountAppliedScopeType.BillingAccount,
DiscountTypeProperties = new AzureNative.BillingBenefits.Inputs.DiscountTypeProductSkuArgs
{
ApplyDiscountOn = AzureNative.BillingBenefits.ApplyDiscountOn.Purchase,
Conditions = new[]
{
new AzureNative.BillingBenefits.Inputs.ConditionsItemArgs
{
ConditionName = "Cloud",
Type = "equalAny",
Value = new[]
{
"US-Sec",
},
},
},
DiscountCombinationRule = AzureNative.BillingBenefits.DiscountCombinationRule.BestOf,
DiscountPercentage = 14,
DiscountType = "Sku",
ProductFamilyName = "Azure",
ProductId = "DZH318Z0BQ35",
SkuId = "0001",
},
DisplayName = "Virtual Machines D Series",
EndAt = "2024-07-01T23:59:59Z",
EntityType = "Primary",
ProductCode = "0001d726-0000-0160-330f-a0b98cdbbdc4",
StartAt = "2023-07-01T00:00:00Z",
},
ResourceGroupName = "testrg",
Tags =
{
{ "key1", "value1" },
{ "key2", "value2" },
},
});
});
package main
import (
billingbenefits "github.com/pulumi/pulumi-azure-native-sdk/billingbenefits/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := billingbenefits.NewDiscount(ctx, "discount", &billingbenefits.DiscountArgs{
DiscountName: pulumi.String("testprimarydiscount"),
Location: pulumi.String("global"),
Properties: &billingbenefits.EntityTypePrimaryDiscountArgs{
AppliedScopeType: pulumi.String(billingbenefits.DiscountAppliedScopeTypeBillingAccount),
DiscountTypeProperties: billingbenefits.DiscountTypeProductSku{
ApplyDiscountOn: billingbenefits.ApplyDiscountOnPurchase,
Conditions: []billingbenefits.ConditionsItem{
{
ConditionName: "Cloud",
Type: "equalAny",
Value: []string{
"US-Sec",
},
},
},
DiscountCombinationRule: billingbenefits.DiscountCombinationRuleBestOf,
DiscountPercentage: 14,
DiscountType: "Sku",
ProductFamilyName: "Azure",
ProductId: "DZH318Z0BQ35",
SkuId: "0001",
},
DisplayName: pulumi.String("Virtual Machines D Series"),
EndAt: pulumi.String("2024-07-01T23:59:59Z"),
EntityType: pulumi.String("Primary"),
ProductCode: pulumi.String("0001d726-0000-0160-330f-a0b98cdbbdc4"),
StartAt: pulumi.String("2023-07-01T00:00:00Z"),
},
ResourceGroupName: pulumi.String("testrg"),
Tags: pulumi.StringMap{
"key1": pulumi.String("value1"),
"key2": pulumi.String("value2"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.billingbenefits.Discount;
import com.pulumi.azurenative.billingbenefits.DiscountArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var discount = new Discount("discount", DiscountArgs.builder()
.discountName("testprimarydiscount")
.location("global")
.properties(EntityTypePrimaryDiscountArgs.builder()
.appliedScopeType("BillingAccount")
.discountTypeProperties(DiscountTypeProductSkuArgs.builder()
.applyDiscountOn("Purchase")
.conditions(ConditionsItemArgs.builder()
.conditionName("Cloud")
.type("equalAny")
.value("US-Sec")
.build())
.discountCombinationRule("BestOf")
.discountPercentage(14)
.discountType("Sku")
.productFamilyName("Azure")
.productId("DZH318Z0BQ35")
.skuId("0001")
.build())
.displayName("Virtual Machines D Series")
.endAt("2024-07-01T23:59:59Z")
.entityType("Primary")
.productCode("0001d726-0000-0160-330f-a0b98cdbbdc4")
.startAt("2023-07-01T00:00:00Z")
.build())
.resourceGroupName("testrg")
.tags(Map.ofEntries(
Map.entry("key1", "value1"),
Map.entry("key2", "value2")
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const discount = new azure_native.billingbenefits.Discount("discount", {
discountName: "testprimarydiscount",
location: "global",
properties: {
appliedScopeType: azure_native.billingbenefits.DiscountAppliedScopeType.BillingAccount,
discountTypeProperties: {
applyDiscountOn: azure_native.billingbenefits.ApplyDiscountOn.Purchase,
conditions: [{
conditionName: "Cloud",
type: "equalAny",
value: ["US-Sec"],
}],
discountCombinationRule: azure_native.billingbenefits.DiscountCombinationRule.BestOf,
discountPercentage: 14,
discountType: "Sku",
productFamilyName: "Azure",
productId: "DZH318Z0BQ35",
skuId: "0001",
},
displayName: "Virtual Machines D Series",
endAt: "2024-07-01T23:59:59Z",
entityType: "Primary",
productCode: "0001d726-0000-0160-330f-a0b98cdbbdc4",
startAt: "2023-07-01T00:00:00Z",
},
resourceGroupName: "testrg",
tags: {
key1: "value1",
key2: "value2",
},
});
import pulumi
import pulumi_azure_native as azure_native
discount = azure_native.billingbenefits.Discount("discount",
discount_name="testprimarydiscount",
location="global",
properties={
"applied_scope_type": azure_native.billingbenefits.DiscountAppliedScopeType.BILLING_ACCOUNT,
"discount_type_properties": {
"apply_discount_on": azure_native.billingbenefits.ApplyDiscountOn.PURCHASE,
"conditions": [{
"condition_name": "Cloud",
"type": "equalAny",
"value": ["US-Sec"],
}],
"discount_combination_rule": azure_native.billingbenefits.DiscountCombinationRule.BEST_OF,
"discount_percentage": 14,
"discount_type": "Sku",
"product_family_name": "Azure",
"product_id": "DZH318Z0BQ35",
"sku_id": "0001",
},
"display_name": "Virtual Machines D Series",
"end_at": "2024-07-01T23:59:59Z",
"entity_type": "Primary",
"product_code": "0001d726-0000-0160-330f-a0b98cdbbdc4",
"start_at": "2023-07-01T00:00:00Z",
},
resource_group_name="testrg",
tags={
"key1": "value1",
"key2": "value2",
})
resources:
discount:
type: azure-native:billingbenefits:Discount
properties:
discountName: testprimarydiscount
location: global
properties:
appliedScopeType: BillingAccount
discountTypeProperties:
applyDiscountOn: Purchase
conditions:
- conditionName: Cloud
type: equalAny
value:
- US-Sec
discountCombinationRule: BestOf
discountPercentage: 14
discountType: Sku
productFamilyName: Azure
productId: DZH318Z0BQ35
skuId: '0001'
displayName: Virtual Machines D Series
endAt: 2024-07-01T23:59:59Z
entityType: Primary
productCode: 0001d726-0000-0160-330f-a0b98cdbbdc4
startAt: 2023-07-01T00:00:00Z
resourceGroupName: testrg
tags:
key1: value1
key2: value2
DiscountsCreatePrimaryBackfill
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var discount = new AzureNative.BillingBenefits.Discount("discount", new()
{
DiscountName = "testprimarydiscount",
Location = "global",
Properties = new AzureNative.BillingBenefits.Inputs.EntityTypePrimaryDiscountArgs
{
AppliedScopeType = AzureNative.BillingBenefits.DiscountAppliedScopeType.BillingAccount,
DiscountTypeProperties = new AzureNative.BillingBenefits.Inputs.DiscountProductFamilyArgs
{
ApplyDiscountOn = AzureNative.BillingBenefits.ApplyDiscountOn.Purchase,
Conditions = new[]
{
new AzureNative.BillingBenefits.Inputs.ConditionsItemArgs
{
ConditionName = "Cloud",
Type = "equalAny",
Value = new[]
{
"US-Sec",
},
},
},
DiscountCombinationRule = AzureNative.BillingBenefits.DiscountCombinationRule.BestOf,
DiscountPercentage = 14,
DiscountType = "ProductFamily",
ProductFamilyName = "Azure",
},
DisplayName = "Virtual Machines D Series",
EndAt = "2024-07-01T23:59:59Z",
EntityType = "Primary",
ProductCode = "0001d726-0000-0160-330f-a0b98cdbbdc4",
StartAt = "2023-07-01T00:00:00Z",
SystemId = "13810867107109237",
},
ResourceGroupName = "testrg",
Tags =
{
{ "key1", "value1" },
{ "key2", "value2" },
},
});
});
package main
import (
billingbenefits "github.com/pulumi/pulumi-azure-native-sdk/billingbenefits/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := billingbenefits.NewDiscount(ctx, "discount", &billingbenefits.DiscountArgs{
DiscountName: pulumi.String("testprimarydiscount"),
Location: pulumi.String("global"),
Properties: &billingbenefits.EntityTypePrimaryDiscountArgs{
AppliedScopeType: pulumi.String(billingbenefits.DiscountAppliedScopeTypeBillingAccount),
DiscountTypeProperties: billingbenefits.DiscountProductFamily{
ApplyDiscountOn: billingbenefits.ApplyDiscountOnPurchase,
Conditions: []billingbenefits.ConditionsItem{
{
ConditionName: "Cloud",
Type: "equalAny",
Value: []string{
"US-Sec",
},
},
},
DiscountCombinationRule: billingbenefits.DiscountCombinationRuleBestOf,
DiscountPercentage: 14,
DiscountType: "ProductFamily",
ProductFamilyName: "Azure",
},
DisplayName: pulumi.String("Virtual Machines D Series"),
EndAt: pulumi.String("2024-07-01T23:59:59Z"),
EntityType: pulumi.String("Primary"),
ProductCode: pulumi.String("0001d726-0000-0160-330f-a0b98cdbbdc4"),
StartAt: pulumi.String("2023-07-01T00:00:00Z"),
SystemId: pulumi.String("13810867107109237"),
},
ResourceGroupName: pulumi.String("testrg"),
Tags: pulumi.StringMap{
"key1": pulumi.String("value1"),
"key2": pulumi.String("value2"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.billingbenefits.Discount;
import com.pulumi.azurenative.billingbenefits.DiscountArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var discount = new Discount("discount", DiscountArgs.builder()
.discountName("testprimarydiscount")
.location("global")
.properties(EntityTypePrimaryDiscountArgs.builder()
.appliedScopeType("BillingAccount")
.discountTypeProperties(DiscountProductFamilyArgs.builder()
.applyDiscountOn("Purchase")
.conditions(ConditionsItemArgs.builder()
.conditionName("Cloud")
.type("equalAny")
.value("US-Sec")
.build())
.discountCombinationRule("BestOf")
.discountPercentage(14)
.discountType("ProductFamily")
.productFamilyName("Azure")
.build())
.displayName("Virtual Machines D Series")
.endAt("2024-07-01T23:59:59Z")
.entityType("Primary")
.productCode("0001d726-0000-0160-330f-a0b98cdbbdc4")
.startAt("2023-07-01T00:00:00Z")
.systemId("13810867107109237")
.build())
.resourceGroupName("testrg")
.tags(Map.ofEntries(
Map.entry("key1", "value1"),
Map.entry("key2", "value2")
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const discount = new azure_native.billingbenefits.Discount("discount", {
discountName: "testprimarydiscount",
location: "global",
properties: {
appliedScopeType: azure_native.billingbenefits.DiscountAppliedScopeType.BillingAccount,
discountTypeProperties: {
applyDiscountOn: azure_native.billingbenefits.ApplyDiscountOn.Purchase,
conditions: [{
conditionName: "Cloud",
type: "equalAny",
value: ["US-Sec"],
}],
discountCombinationRule: azure_native.billingbenefits.DiscountCombinationRule.BestOf,
discountPercentage: 14,
discountType: "ProductFamily",
productFamilyName: "Azure",
},
displayName: "Virtual Machines D Series",
endAt: "2024-07-01T23:59:59Z",
entityType: "Primary",
productCode: "0001d726-0000-0160-330f-a0b98cdbbdc4",
startAt: "2023-07-01T00:00:00Z",
systemId: "13810867107109237",
},
resourceGroupName: "testrg",
tags: {
key1: "value1",
key2: "value2",
},
});
import pulumi
import pulumi_azure_native as azure_native
discount = azure_native.billingbenefits.Discount("discount",
discount_name="testprimarydiscount",
location="global",
properties={
"applied_scope_type": azure_native.billingbenefits.DiscountAppliedScopeType.BILLING_ACCOUNT,
"discount_type_properties": {
"apply_discount_on": azure_native.billingbenefits.ApplyDiscountOn.PURCHASE,
"conditions": [{
"condition_name": "Cloud",
"type": "equalAny",
"value": ["US-Sec"],
}],
"discount_combination_rule": azure_native.billingbenefits.DiscountCombinationRule.BEST_OF,
"discount_percentage": 14,
"discount_type": "ProductFamily",
"product_family_name": "Azure",
},
"display_name": "Virtual Machines D Series",
"end_at": "2024-07-01T23:59:59Z",
"entity_type": "Primary",
"product_code": "0001d726-0000-0160-330f-a0b98cdbbdc4",
"start_at": "2023-07-01T00:00:00Z",
"system_id": "13810867107109237",
},
resource_group_name="testrg",
tags={
"key1": "value1",
"key2": "value2",
})
resources:
discount:
type: azure-native:billingbenefits:Discount
properties:
discountName: testprimarydiscount
location: global
properties:
appliedScopeType: BillingAccount
discountTypeProperties:
applyDiscountOn: Purchase
conditions:
- conditionName: Cloud
type: equalAny
value:
- US-Sec
discountCombinationRule: BestOf
discountPercentage: 14
discountType: ProductFamily
productFamilyName: Azure
displayName: Virtual Machines D Series
endAt: 2024-07-01T23:59:59Z
entityType: Primary
productCode: 0001d726-0000-0160-330f-a0b98cdbbdc4
startAt: 2023-07-01T00:00:00Z
systemId: '13810867107109237'
resourceGroupName: testrg
tags:
key1: value1
key2: value2
DiscountsCreatePrimaryWithCustomPrice
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var discount = new AzureNative.BillingBenefits.Discount("discount", new()
{
DiscountName = "testprimarydiscount",
Location = "global",
Properties = new AzureNative.BillingBenefits.Inputs.EntityTypePrimaryDiscountArgs
{
AppliedScopeType = AzureNative.BillingBenefits.DiscountAppliedScopeType.BillingAccount,
DiscountTypeProperties = new AzureNative.BillingBenefits.Inputs.DiscountCustomPriceArgs
{
ApplyDiscountOn = AzureNative.BillingBenefits.ApplyDiscountOn.Purchase,
Conditions = new[]
{
new AzureNative.BillingBenefits.Inputs.ConditionsItemArgs
{
ConditionName = "Cloud",
Type = "equalAny",
Value = new[]
{
"US-Sec",
},
},
},
CustomPriceProperties = new AzureNative.BillingBenefits.Inputs.CustomPricePropertiesArgs
{
CatalogClaims = new[]
{
new AzureNative.BillingBenefits.Inputs.CatalogClaimsItemArgs
{
CatalogClaimsItemType = "NationalCloud",
Value = "USSec",
},
},
CatalogId = "4",
MarketSetPrices = new[]
{
new AzureNative.BillingBenefits.Inputs.MarketSetPricesItemsArgs
{
Currency = "USD",
Markets = new[]
{
"US",
},
Value = 125.16,
},
},
RuleType = AzureNative.BillingBenefits.DiscountRuleType.FixedPriceLock,
TermUnits = "ASI1251A",
},
DiscountCombinationRule = AzureNative.BillingBenefits.DiscountCombinationRule.BestOf,
DiscountPercentage = 14,
DiscountType = "CustomPrice",
ProductFamilyName = "Azure",
ProductId = "DZH318Z0BQ35",
SkuId = "0001",
},
DisplayName = "Virtual Machines D Series",
EndAt = "2024-07-01T23:59:59Z",
EntityType = "Primary",
ProductCode = "0001d726-0000-0160-330f-a0b98cdbbdc4",
StartAt = "2023-07-01T00:00:00Z",
},
ResourceGroupName = "testrg",
Tags =
{
{ "key1", "value1" },
{ "key2", "value2" },
},
});
});
package main
import (
billingbenefits "github.com/pulumi/pulumi-azure-native-sdk/billingbenefits/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := billingbenefits.NewDiscount(ctx, "discount", &billingbenefits.DiscountArgs{
DiscountName: pulumi.String("testprimarydiscount"),
Location: pulumi.String("global"),
Properties: &billingbenefits.EntityTypePrimaryDiscountArgs{
AppliedScopeType: pulumi.String(billingbenefits.DiscountAppliedScopeTypeBillingAccount),
DiscountTypeProperties: billingbenefits.DiscountCustomPrice{
ApplyDiscountOn: billingbenefits.ApplyDiscountOnPurchase,
Conditions: []billingbenefits.ConditionsItem{
{
ConditionName: "Cloud",
Type: "equalAny",
Value: []string{
"US-Sec",
},
},
},
CustomPriceProperties: billingbenefits.CustomPriceProperties{
CatalogClaims: []billingbenefits.CatalogClaimsItem{
{
CatalogClaimsItemType: "NationalCloud",
Value: "USSec",
},
},
CatalogId: "4",
MarketSetPrices: []billingbenefits.MarketSetPricesItems{
{
Currency: "USD",
Markets: []string{
"US",
},
Value: 125.16,
},
},
RuleType: billingbenefits.DiscountRuleTypeFixedPriceLock,
TermUnits: "ASI1251A",
},
DiscountCombinationRule: billingbenefits.DiscountCombinationRuleBestOf,
DiscountPercentage: 14,
DiscountType: "CustomPrice",
ProductFamilyName: "Azure",
ProductId: "DZH318Z0BQ35",
SkuId: "0001",
},
DisplayName: pulumi.String("Virtual Machines D Series"),
EndAt: pulumi.String("2024-07-01T23:59:59Z"),
EntityType: pulumi.String("Primary"),
ProductCode: pulumi.String("0001d726-0000-0160-330f-a0b98cdbbdc4"),
StartAt: pulumi.String("2023-07-01T00:00:00Z"),
},
ResourceGroupName: pulumi.String("testrg"),
Tags: pulumi.StringMap{
"key1": pulumi.String("value1"),
"key2": pulumi.String("value2"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.billingbenefits.Discount;
import com.pulumi.azurenative.billingbenefits.DiscountArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var discount = new Discount("discount", DiscountArgs.builder()
.discountName("testprimarydiscount")
.location("global")
.properties(EntityTypePrimaryDiscountArgs.builder()
.appliedScopeType("BillingAccount")
.discountTypeProperties(DiscountCustomPriceArgs.builder()
.applyDiscountOn("Purchase")
.conditions(ConditionsItemArgs.builder()
.conditionName("Cloud")
.type("equalAny")
.value("US-Sec")
.build())
.customPriceProperties(CustomPricePropertiesArgs.builder()
.catalogClaims(CatalogClaimsItemArgs.builder()
.catalogClaimsItemType("NationalCloud")
.value("USSec")
.build())
.catalogId("4")
.marketSetPrices(MarketSetPricesItemsArgs.builder()
.currency("USD")
.markets("US")
.value(125.16)
.build())
.ruleType("FixedPriceLock")
.termUnits("ASI1251A")
.build())
.discountCombinationRule("BestOf")
.discountPercentage(14)
.discountType("CustomPrice")
.productFamilyName("Azure")
.productId("DZH318Z0BQ35")
.skuId("0001")
.build())
.displayName("Virtual Machines D Series")
.endAt("2024-07-01T23:59:59Z")
.entityType("Primary")
.productCode("0001d726-0000-0160-330f-a0b98cdbbdc4")
.startAt("2023-07-01T00:00:00Z")
.build())
.resourceGroupName("testrg")
.tags(Map.ofEntries(
Map.entry("key1", "value1"),
Map.entry("key2", "value2")
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const discount = new azure_native.billingbenefits.Discount("discount", {
discountName: "testprimarydiscount",
location: "global",
properties: {
appliedScopeType: azure_native.billingbenefits.DiscountAppliedScopeType.BillingAccount,
discountTypeProperties: {
applyDiscountOn: azure_native.billingbenefits.ApplyDiscountOn.Purchase,
conditions: [{
conditionName: "Cloud",
type: "equalAny",
value: ["US-Sec"],
}],
customPriceProperties: {
catalogClaims: [{
catalogClaimsItemType: "NationalCloud",
value: "USSec",
}],
catalogId: "4",
marketSetPrices: [{
currency: "USD",
markets: ["US"],
value: 125.16,
}],
ruleType: azure_native.billingbenefits.DiscountRuleType.FixedPriceLock,
termUnits: "ASI1251A",
},
discountCombinationRule: azure_native.billingbenefits.DiscountCombinationRule.BestOf,
discountPercentage: 14,
discountType: "CustomPrice",
productFamilyName: "Azure",
productId: "DZH318Z0BQ35",
skuId: "0001",
},
displayName: "Virtual Machines D Series",
endAt: "2024-07-01T23:59:59Z",
entityType: "Primary",
productCode: "0001d726-0000-0160-330f-a0b98cdbbdc4",
startAt: "2023-07-01T00:00:00Z",
},
resourceGroupName: "testrg",
tags: {
key1: "value1",
key2: "value2",
},
});
import pulumi
import pulumi_azure_native as azure_native
discount = azure_native.billingbenefits.Discount("discount",
discount_name="testprimarydiscount",
location="global",
properties={
"applied_scope_type": azure_native.billingbenefits.DiscountAppliedScopeType.BILLING_ACCOUNT,
"discount_type_properties": {
"apply_discount_on": azure_native.billingbenefits.ApplyDiscountOn.PURCHASE,
"conditions": [{
"condition_name": "Cloud",
"type": "equalAny",
"value": ["US-Sec"],
}],
"custom_price_properties": {
"catalog_claims": [{
"catalog_claims_item_type": "NationalCloud",
"value": "USSec",
}],
"catalog_id": "4",
"market_set_prices": [{
"currency": "USD",
"markets": ["US"],
"value": 125.16,
}],
"rule_type": azure_native.billingbenefits.DiscountRuleType.FIXED_PRICE_LOCK,
"term_units": "ASI1251A",
},
"discount_combination_rule": azure_native.billingbenefits.DiscountCombinationRule.BEST_OF,
"discount_percentage": 14,
"discount_type": "CustomPrice",
"product_family_name": "Azure",
"product_id": "DZH318Z0BQ35",
"sku_id": "0001",
},
"display_name": "Virtual Machines D Series",
"end_at": "2024-07-01T23:59:59Z",
"entity_type": "Primary",
"product_code": "0001d726-0000-0160-330f-a0b98cdbbdc4",
"start_at": "2023-07-01T00:00:00Z",
},
resource_group_name="testrg",
tags={
"key1": "value1",
"key2": "value2",
})
resources:
discount:
type: azure-native:billingbenefits:Discount
properties:
discountName: testprimarydiscount
location: global
properties:
appliedScopeType: BillingAccount
discountTypeProperties:
applyDiscountOn: Purchase
conditions:
- conditionName: Cloud
type: equalAny
value:
- US-Sec
customPriceProperties:
catalogClaims:
- catalogClaimsItemType: NationalCloud
value: USSec
catalogId: '4'
marketSetPrices:
- currency: USD
markets:
- US
value: 125.16
ruleType: FixedPriceLock
termUnits: ASI1251A
discountCombinationRule: BestOf
discountPercentage: 14
discountType: CustomPrice
productFamilyName: Azure
productId: DZH318Z0BQ35
skuId: '0001'
displayName: Virtual Machines D Series
endAt: 2024-07-01T23:59:59Z
entityType: Primary
productCode: 0001d726-0000-0160-330f-a0b98cdbbdc4
startAt: 2023-07-01T00:00:00Z
resourceGroupName: testrg
tags:
key1: value1
key2: value2
DiscountsCreatePrimaryWithCustomPriceMultiCurrency
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var discount = new AzureNative.BillingBenefits.Discount("discount", new()
{
DiscountName = "testprimarydiscount",
Location = "global",
Properties = new AzureNative.BillingBenefits.Inputs.EntityTypePrimaryDiscountArgs
{
AppliedScopeType = AzureNative.BillingBenefits.DiscountAppliedScopeType.BillingAccount,
DiscountTypeProperties = new AzureNative.BillingBenefits.Inputs.DiscountCustomPriceMultiCurrencyArgs
{
ApplyDiscountOn = AzureNative.BillingBenefits.ApplyDiscountOn.Purchase,
Conditions = new[]
{
new AzureNative.BillingBenefits.Inputs.ConditionsItemArgs
{
ConditionName = "Cloud",
Type = "equalAny",
Value = new[]
{
"US-Sec",
},
},
},
CustomPriceProperties = new AzureNative.BillingBenefits.Inputs.CustomPricePropertiesArgs
{
CatalogClaims = new[]
{
new AzureNative.BillingBenefits.Inputs.CatalogClaimsItemArgs
{
CatalogClaimsItemType = "NationalCloud",
Value = "USSec",
},
},
CatalogId = "4",
MarketSetPrices = new[]
{
new AzureNative.BillingBenefits.Inputs.MarketSetPricesItemsArgs
{
Currency = "USD",
Markets = new[]
{
"US",
},
Value = 125.16,
},
new AzureNative.BillingBenefits.Inputs.MarketSetPricesItemsArgs
{
Currency = "EUR",
Markets = new[]
{
"FR",
},
Value = 110.16,
},
},
RuleType = AzureNative.BillingBenefits.DiscountRuleType.FixedPriceLock,
TermUnits = "ASI1251A",
},
DiscountCombinationRule = AzureNative.BillingBenefits.DiscountCombinationRule.BestOf,
DiscountPercentage = 14,
DiscountType = "CustomPriceMultiCurrency",
ProductFamilyName = "Azure",
ProductId = "DZH318Z0BQ35",
SkuId = "0001",
},
DisplayName = "Virtual Machines D Series",
EndAt = "2024-07-01T23:59:59Z",
EntityType = "Primary",
ProductCode = "0001d726-0000-0160-330f-a0b98cdbbdc4",
StartAt = "2023-07-01T00:00:00Z",
},
ResourceGroupName = "testrg",
Tags =
{
{ "key1", "value1" },
{ "key2", "value2" },
},
});
});
package main
import (
billingbenefits "github.com/pulumi/pulumi-azure-native-sdk/billingbenefits/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := billingbenefits.NewDiscount(ctx, "discount", &billingbenefits.DiscountArgs{
DiscountName: pulumi.String("testprimarydiscount"),
Location: pulumi.String("global"),
Properties: &billingbenefits.EntityTypePrimaryDiscountArgs{
AppliedScopeType: pulumi.String(billingbenefits.DiscountAppliedScopeTypeBillingAccount),
DiscountTypeProperties: billingbenefits.DiscountCustomPriceMultiCurrency{
ApplyDiscountOn: billingbenefits.ApplyDiscountOnPurchase,
Conditions: []billingbenefits.ConditionsItem{
{
ConditionName: "Cloud",
Type: "equalAny",
Value: []string{
"US-Sec",
},
},
},
CustomPriceProperties: billingbenefits.CustomPriceProperties{
CatalogClaims: []billingbenefits.CatalogClaimsItem{
{
CatalogClaimsItemType: "NationalCloud",
Value: "USSec",
},
},
CatalogId: "4",
MarketSetPrices: []billingbenefits.MarketSetPricesItems{
{
Currency: "USD",
Markets: []string{
"US",
},
Value: 125.16,
},
{
Currency: "EUR",
Markets: []string{
"FR",
},
Value: 110.16,
},
},
RuleType: billingbenefits.DiscountRuleTypeFixedPriceLock,
TermUnits: "ASI1251A",
},
DiscountCombinationRule: billingbenefits.DiscountCombinationRuleBestOf,
DiscountPercentage: 14,
DiscountType: "CustomPriceMultiCurrency",
ProductFamilyName: "Azure",
ProductId: "DZH318Z0BQ35",
SkuId: "0001",
},
DisplayName: pulumi.String("Virtual Machines D Series"),
EndAt: pulumi.String("2024-07-01T23:59:59Z"),
EntityType: pulumi.String("Primary"),
ProductCode: pulumi.String("0001d726-0000-0160-330f-a0b98cdbbdc4"),
StartAt: pulumi.String("2023-07-01T00:00:00Z"),
},
ResourceGroupName: pulumi.String("testrg"),
Tags: pulumi.StringMap{
"key1": pulumi.String("value1"),
"key2": pulumi.String("value2"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.billingbenefits.Discount;
import com.pulumi.azurenative.billingbenefits.DiscountArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var discount = new Discount("discount", DiscountArgs.builder()
.discountName("testprimarydiscount")
.location("global")
.properties(EntityTypePrimaryDiscountArgs.builder()
.appliedScopeType("BillingAccount")
.discountTypeProperties(DiscountCustomPriceMultiCurrencyArgs.builder()
.applyDiscountOn("Purchase")
.conditions(ConditionsItemArgs.builder()
.conditionName("Cloud")
.type("equalAny")
.value("US-Sec")
.build())
.customPriceProperties(CustomPricePropertiesArgs.builder()
.catalogClaims(CatalogClaimsItemArgs.builder()
.catalogClaimsItemType("NationalCloud")
.value("USSec")
.build())
.catalogId("4")
.marketSetPrices(
MarketSetPricesItemsArgs.builder()
.currency("USD")
.markets("US")
.value(125.16)
.build(),
MarketSetPricesItemsArgs.builder()
.currency("EUR")
.markets("FR")
.value(110.16)
.build())
.ruleType("FixedPriceLock")
.termUnits("ASI1251A")
.build())
.discountCombinationRule("BestOf")
.discountPercentage(14)
.discountType("CustomPriceMultiCurrency")
.productFamilyName("Azure")
.productId("DZH318Z0BQ35")
.skuId("0001")
.build())
.displayName("Virtual Machines D Series")
.endAt("2024-07-01T23:59:59Z")
.entityType("Primary")
.productCode("0001d726-0000-0160-330f-a0b98cdbbdc4")
.startAt("2023-07-01T00:00:00Z")
.build())
.resourceGroupName("testrg")
.tags(Map.ofEntries(
Map.entry("key1", "value1"),
Map.entry("key2", "value2")
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const discount = new azure_native.billingbenefits.Discount("discount", {
discountName: "testprimarydiscount",
location: "global",
properties: {
appliedScopeType: azure_native.billingbenefits.DiscountAppliedScopeType.BillingAccount,
discountTypeProperties: {
applyDiscountOn: azure_native.billingbenefits.ApplyDiscountOn.Purchase,
conditions: [{
conditionName: "Cloud",
type: "equalAny",
value: ["US-Sec"],
}],
customPriceProperties: {
catalogClaims: [{
catalogClaimsItemType: "NationalCloud",
value: "USSec",
}],
catalogId: "4",
marketSetPrices: [
{
currency: "USD",
markets: ["US"],
value: 125.16,
},
{
currency: "EUR",
markets: ["FR"],
value: 110.16,
},
],
ruleType: azure_native.billingbenefits.DiscountRuleType.FixedPriceLock,
termUnits: "ASI1251A",
},
discountCombinationRule: azure_native.billingbenefits.DiscountCombinationRule.BestOf,
discountPercentage: 14,
discountType: "CustomPriceMultiCurrency",
productFamilyName: "Azure",
productId: "DZH318Z0BQ35",
skuId: "0001",
},
displayName: "Virtual Machines D Series",
endAt: "2024-07-01T23:59:59Z",
entityType: "Primary",
productCode: "0001d726-0000-0160-330f-a0b98cdbbdc4",
startAt: "2023-07-01T00:00:00Z",
},
resourceGroupName: "testrg",
tags: {
key1: "value1",
key2: "value2",
},
});
import pulumi
import pulumi_azure_native as azure_native
discount = azure_native.billingbenefits.Discount("discount",
discount_name="testprimarydiscount",
location="global",
properties={
"applied_scope_type": azure_native.billingbenefits.DiscountAppliedScopeType.BILLING_ACCOUNT,
"discount_type_properties": {
"apply_discount_on": azure_native.billingbenefits.ApplyDiscountOn.PURCHASE,
"conditions": [{
"condition_name": "Cloud",
"type": "equalAny",
"value": ["US-Sec"],
}],
"custom_price_properties": {
"catalog_claims": [{
"catalog_claims_item_type": "NationalCloud",
"value": "USSec",
}],
"catalog_id": "4",
"market_set_prices": [
{
"currency": "USD",
"markets": ["US"],
"value": 125.16,
},
{
"currency": "EUR",
"markets": ["FR"],
"value": 110.16,
},
],
"rule_type": azure_native.billingbenefits.DiscountRuleType.FIXED_PRICE_LOCK,
"term_units": "ASI1251A",
},
"discount_combination_rule": azure_native.billingbenefits.DiscountCombinationRule.BEST_OF,
"discount_percentage": 14,
"discount_type": "CustomPriceMultiCurrency",
"product_family_name": "Azure",
"product_id": "DZH318Z0BQ35",
"sku_id": "0001",
},
"display_name": "Virtual Machines D Series",
"end_at": "2024-07-01T23:59:59Z",
"entity_type": "Primary",
"product_code": "0001d726-0000-0160-330f-a0b98cdbbdc4",
"start_at": "2023-07-01T00:00:00Z",
},
resource_group_name="testrg",
tags={
"key1": "value1",
"key2": "value2",
})
resources:
discount:
type: azure-native:billingbenefits:Discount
properties:
discountName: testprimarydiscount
location: global
properties:
appliedScopeType: BillingAccount
discountTypeProperties:
applyDiscountOn: Purchase
conditions:
- conditionName: Cloud
type: equalAny
value:
- US-Sec
customPriceProperties:
catalogClaims:
- catalogClaimsItemType: NationalCloud
value: USSec
catalogId: '4'
marketSetPrices:
- currency: USD
markets:
- US
value: 125.16
- currency: EUR
markets:
- FR
value: 110.16
ruleType: FixedPriceLock
termUnits: ASI1251A
discountCombinationRule: BestOf
discountPercentage: 14
discountType: CustomPriceMultiCurrency
productFamilyName: Azure
productId: DZH318Z0BQ35
skuId: '0001'
displayName: Virtual Machines D Series
endAt: 2024-07-01T23:59:59Z
entityType: Primary
productCode: 0001d726-0000-0160-330f-a0b98cdbbdc4
startAt: 2023-07-01T00:00:00Z
resourceGroupName: testrg
tags:
key1: value1
key2: value2
DiscountsCreatePrimaryWithPriceGuarantee
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var discount = new AzureNative.BillingBenefits.Discount("discount", new()
{
DiscountName = "testprimarydiscount",
Location = "global",
Properties = new AzureNative.BillingBenefits.Inputs.EntityTypePrimaryDiscountArgs
{
AppliedScopeType = AzureNative.BillingBenefits.DiscountAppliedScopeType.BillingAccount,
DiscountTypeProperties = new AzureNative.BillingBenefits.Inputs.DiscountTypeProductSkuArgs
{
ApplyDiscountOn = AzureNative.BillingBenefits.ApplyDiscountOn.Purchase,
Conditions = new[]
{
new AzureNative.BillingBenefits.Inputs.ConditionsItemArgs
{
ConditionName = "Cloud",
Type = "equalAny",
Value = new[]
{
"US-Sec",
},
},
},
DiscountCombinationRule = AzureNative.BillingBenefits.DiscountCombinationRule.BestOf,
DiscountType = "Sku",
PriceGuaranteeProperties = new AzureNative.BillingBenefits.Inputs.PriceGuaranteePropertiesArgs
{
PriceGuaranteeDate = "2024-11-01T00:00:00",
PricingPolicy = AzureNative.BillingBenefits.PricingPolicy.Protected,
},
ProductFamilyName = "Azure",
ProductId = "DZH318Z0BQ35",
SkuId = "0001",
},
DisplayName = "Virtual Machines D Series",
EndAt = "2024-07-01T23:59:59Z",
EntityType = "Primary",
ProductCode = "0001d726-0000-0160-330f-a0b98cdbbdc4",
StartAt = "2023-07-01T00:00:00Z",
},
ResourceGroupName = "testrg",
Tags =
{
{ "key1", "value1" },
{ "key2", "value2" },
},
});
});
package main
import (
billingbenefits "github.com/pulumi/pulumi-azure-native-sdk/billingbenefits/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := billingbenefits.NewDiscount(ctx, "discount", &billingbenefits.DiscountArgs{
DiscountName: pulumi.String("testprimarydiscount"),
Location: pulumi.String("global"),
Properties: &billingbenefits.EntityTypePrimaryDiscountArgs{
AppliedScopeType: pulumi.String(billingbenefits.DiscountAppliedScopeTypeBillingAccount),
DiscountTypeProperties: billingbenefits.DiscountTypeProductSku{
ApplyDiscountOn: billingbenefits.ApplyDiscountOnPurchase,
Conditions: []billingbenefits.ConditionsItem{
{
ConditionName: "Cloud",
Type: "equalAny",
Value: []string{
"US-Sec",
},
},
},
DiscountCombinationRule: billingbenefits.DiscountCombinationRuleBestOf,
DiscountType: "Sku",
PriceGuaranteeProperties: billingbenefits.PriceGuaranteeProperties{
PriceGuaranteeDate: "2024-11-01T00:00:00",
PricingPolicy: billingbenefits.PricingPolicyProtected,
},
ProductFamilyName: "Azure",
ProductId: "DZH318Z0BQ35",
SkuId: "0001",
},
DisplayName: pulumi.String("Virtual Machines D Series"),
EndAt: pulumi.String("2024-07-01T23:59:59Z"),
EntityType: pulumi.String("Primary"),
ProductCode: pulumi.String("0001d726-0000-0160-330f-a0b98cdbbdc4"),
StartAt: pulumi.String("2023-07-01T00:00:00Z"),
},
ResourceGroupName: pulumi.String("testrg"),
Tags: pulumi.StringMap{
"key1": pulumi.String("value1"),
"key2": pulumi.String("value2"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.billingbenefits.Discount;
import com.pulumi.azurenative.billingbenefits.DiscountArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var discount = new Discount("discount", DiscountArgs.builder()
.discountName("testprimarydiscount")
.location("global")
.properties(EntityTypePrimaryDiscountArgs.builder()
.appliedScopeType("BillingAccount")
.discountTypeProperties(DiscountTypeProductSkuArgs.builder()
.applyDiscountOn("Purchase")
.conditions(ConditionsItemArgs.builder()
.conditionName("Cloud")
.type("equalAny")
.value("US-Sec")
.build())
.discountCombinationRule("BestOf")
.discountType("Sku")
.priceGuaranteeProperties(PriceGuaranteePropertiesArgs.builder()
.priceGuaranteeDate("2024-11-01T00:00:00")
.pricingPolicy("Protected")
.build())
.productFamilyName("Azure")
.productId("DZH318Z0BQ35")
.skuId("0001")
.build())
.displayName("Virtual Machines D Series")
.endAt("2024-07-01T23:59:59Z")
.entityType("Primary")
.productCode("0001d726-0000-0160-330f-a0b98cdbbdc4")
.startAt("2023-07-01T00:00:00Z")
.build())
.resourceGroupName("testrg")
.tags(Map.ofEntries(
Map.entry("key1", "value1"),
Map.entry("key2", "value2")
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const discount = new azure_native.billingbenefits.Discount("discount", {
discountName: "testprimarydiscount",
location: "global",
properties: {
appliedScopeType: azure_native.billingbenefits.DiscountAppliedScopeType.BillingAccount,
discountTypeProperties: {
applyDiscountOn: azure_native.billingbenefits.ApplyDiscountOn.Purchase,
conditions: [{
conditionName: "Cloud",
type: "equalAny",
value: ["US-Sec"],
}],
discountCombinationRule: azure_native.billingbenefits.DiscountCombinationRule.BestOf,
discountType: "Sku",
priceGuaranteeProperties: {
priceGuaranteeDate: "2024-11-01T00:00:00",
pricingPolicy: azure_native.billingbenefits.PricingPolicy.Protected,
},
productFamilyName: "Azure",
productId: "DZH318Z0BQ35",
skuId: "0001",
},
displayName: "Virtual Machines D Series",
endAt: "2024-07-01T23:59:59Z",
entityType: "Primary",
productCode: "0001d726-0000-0160-330f-a0b98cdbbdc4",
startAt: "2023-07-01T00:00:00Z",
},
resourceGroupName: "testrg",
tags: {
key1: "value1",
key2: "value2",
},
});
import pulumi
import pulumi_azure_native as azure_native
discount = azure_native.billingbenefits.Discount("discount",
discount_name="testprimarydiscount",
location="global",
properties={
"applied_scope_type": azure_native.billingbenefits.DiscountAppliedScopeType.BILLING_ACCOUNT,
"discount_type_properties": {
"apply_discount_on": azure_native.billingbenefits.ApplyDiscountOn.PURCHASE,
"conditions": [{
"condition_name": "Cloud",
"type": "equalAny",
"value": ["US-Sec"],
}],
"discount_combination_rule": azure_native.billingbenefits.DiscountCombinationRule.BEST_OF,
"discount_type": "Sku",
"price_guarantee_properties": {
"price_guarantee_date": "2024-11-01T00:00:00",
"pricing_policy": azure_native.billingbenefits.PricingPolicy.PROTECTED,
},
"product_family_name": "Azure",
"product_id": "DZH318Z0BQ35",
"sku_id": "0001",
},
"display_name": "Virtual Machines D Series",
"end_at": "2024-07-01T23:59:59Z",
"entity_type": "Primary",
"product_code": "0001d726-0000-0160-330f-a0b98cdbbdc4",
"start_at": "2023-07-01T00:00:00Z",
},
resource_group_name="testrg",
tags={
"key1": "value1",
"key2": "value2",
})
resources:
discount:
type: azure-native:billingbenefits:Discount
properties:
discountName: testprimarydiscount
location: global
properties:
appliedScopeType: BillingAccount
discountTypeProperties:
applyDiscountOn: Purchase
conditions:
- conditionName: Cloud
type: equalAny
value:
- US-Sec
discountCombinationRule: BestOf
discountType: Sku
priceGuaranteeProperties:
priceGuaranteeDate: 2024-11-01T00:00:00
pricingPolicy: Protected
productFamilyName: Azure
productId: DZH318Z0BQ35
skuId: '0001'
displayName: Virtual Machines D Series
endAt: 2024-07-01T23:59:59Z
entityType: Primary
productCode: 0001d726-0000-0160-330f-a0b98cdbbdc4
startAt: 2023-07-01T00:00:00Z
resourceGroupName: testrg
tags:
key1: value1
key2: value2
Create Discount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Discount(name: string, args: DiscountArgs, opts?: CustomResourceOptions);@overload
def Discount(resource_name: str,
args: DiscountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Discount(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
discount_name: Optional[str] = None,
identity: Optional[ManagedServiceIdentityArgs] = None,
kind: Optional[str] = None,
location: Optional[str] = None,
managed_by: Optional[str] = None,
plan: Optional[PlanArgs] = None,
properties: Optional[Union[EntityTypeAffiliateDiscountArgs, EntityTypePrimaryDiscountArgs]] = None,
sku: Optional[SkuArgs] = None,
tags: Optional[Mapping[str, str]] = None)func NewDiscount(ctx *Context, name string, args DiscountArgs, opts ...ResourceOption) (*Discount, error)public Discount(string name, DiscountArgs args, CustomResourceOptions? opts = null)
public Discount(String name, DiscountArgs args)
public Discount(String name, DiscountArgs args, CustomResourceOptions options)
type: azure-native:billingbenefits:Discount
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DiscountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DiscountArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DiscountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DiscountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DiscountArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var discountResource = new AzureNative.BillingBenefits.Discount("discountResource", new()
{
ResourceGroupName = "string",
DiscountName = "string",
Identity = new AzureNative.BillingBenefits.Inputs.ManagedServiceIdentityArgs
{
Type = "string",
UserAssignedIdentities = new[]
{
"string",
},
},
Kind = "string",
Location = "string",
ManagedBy = "string",
Plan = new AzureNative.BillingBenefits.Inputs.PlanArgs
{
Name = "string",
Product = "string",
Publisher = "string",
PromotionCode = "string",
Version = "string",
},
Properties = new AzureNative.BillingBenefits.Inputs.EntityTypeAffiliateDiscountArgs
{
EntityType = "Affiliate",
ProductCode = "string",
StartAt = "string",
AppliedScopeType = "string",
DisplayName = "string",
SystemId = "string",
},
Sku = new AzureNative.BillingBenefits.Inputs.SkuArgs
{
Name = "string",
Capacity = 0,
Family = "string",
Size = "string",
Tier = AzureNative.BillingBenefits.SkuTier.Free,
},
Tags =
{
{ "string", "string" },
},
});
example, err := billingbenefits.NewDiscount(ctx, "discountResource", &billingbenefits.DiscountArgs{
ResourceGroupName: pulumi.String("string"),
DiscountName: pulumi.String("string"),
Identity: &billingbenefits.ManagedServiceIdentityArgs{
Type: pulumi.String("string"),
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
Kind: pulumi.String("string"),
Location: pulumi.String("string"),
ManagedBy: pulumi.String("string"),
Plan: &billingbenefits.PlanArgs{
Name: pulumi.String("string"),
Product: pulumi.String("string"),
Publisher: pulumi.String("string"),
PromotionCode: pulumi.String("string"),
Version: pulumi.String("string"),
},
Properties: &billingbenefits.EntityTypeAffiliateDiscountArgs{
EntityType: pulumi.String("Affiliate"),
ProductCode: pulumi.String("string"),
StartAt: pulumi.String("string"),
AppliedScopeType: pulumi.String("string"),
DisplayName: pulumi.String("string"),
SystemId: pulumi.String("string"),
},
Sku: &billingbenefits.SkuArgs{
Name: pulumi.String("string"),
Capacity: pulumi.Int(0),
Family: pulumi.String("string"),
Size: pulumi.String("string"),
Tier: billingbenefits.SkuTierFree,
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var discountResource = new Discount("discountResource", DiscountArgs.builder()
.resourceGroupName("string")
.discountName("string")
.identity(ManagedServiceIdentityArgs.builder()
.type("string")
.userAssignedIdentities("string")
.build())
.kind("string")
.location("string")
.managedBy("string")
.plan(PlanArgs.builder()
.name("string")
.product("string")
.publisher("string")
.promotionCode("string")
.version("string")
.build())
.properties(EntityTypeAffiliateDiscountArgs.builder()
.entityType("Affiliate")
.productCode("string")
.startAt("string")
.appliedScopeType("string")
.displayName("string")
.systemId("string")
.build())
.sku(SkuArgs.builder()
.name("string")
.capacity(0)
.family("string")
.size("string")
.tier("Free")
.build())
.tags(Map.of("string", "string"))
.build());
discount_resource = azure_native.billingbenefits.Discount("discountResource",
resource_group_name="string",
discount_name="string",
identity={
"type": "string",
"user_assigned_identities": ["string"],
},
kind="string",
location="string",
managed_by="string",
plan={
"name": "string",
"product": "string",
"publisher": "string",
"promotion_code": "string",
"version": "string",
},
properties={
"entity_type": "Affiliate",
"product_code": "string",
"start_at": "string",
"applied_scope_type": "string",
"display_name": "string",
"system_id": "string",
},
sku={
"name": "string",
"capacity": 0,
"family": "string",
"size": "string",
"tier": azure_native.billingbenefits.SkuTier.FREE,
},
tags={
"string": "string",
})
const discountResource = new azure_native.billingbenefits.Discount("discountResource", {
resourceGroupName: "string",
discountName: "string",
identity: {
type: "string",
userAssignedIdentities: ["string"],
},
kind: "string",
location: "string",
managedBy: "string",
plan: {
name: "string",
product: "string",
publisher: "string",
promotionCode: "string",
version: "string",
},
properties: {
entityType: "Affiliate",
productCode: "string",
startAt: "string",
appliedScopeType: "string",
displayName: "string",
systemId: "string",
},
sku: {
name: "string",
capacity: 0,
family: "string",
size: "string",
tier: azure_native.billingbenefits.SkuTier.Free,
},
tags: {
string: "string",
},
});
type: azure-native:billingbenefits:Discount
properties:
discountName: string
identity:
type: string
userAssignedIdentities:
- string
kind: string
location: string
managedBy: string
plan:
name: string
product: string
promotionCode: string
publisher: string
version: string
properties:
appliedScopeType: string
displayName: string
entityType: Affiliate
productCode: string
startAt: string
systemId: string
resourceGroupName: string
sku:
capacity: 0
family: string
name: string
size: string
tier: Free
tags:
string: string
Discount Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Discount resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Discount
Name string - Name of the discount
- Identity
Pulumi.
Azure Native. Billing Benefits. Inputs. Managed Service Identity - Managed service identity (system assigned and/or user assigned identities)
- Kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- Location string
- The geo-location where the resource lives
- Managed
By string - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- Plan
Pulumi.
Azure Native. Billing Benefits. Inputs. Plan - Plan for the resource.
- Properties
Pulumi.
Azure | Pulumi.Native. Billing Benefits. Inputs. Entity Type Affiliate Discount Azure Native. Billing Benefits. Inputs. Entity Type Primary Discount - Discount properties
- Sku
Pulumi.
Azure Native. Billing Benefits. Inputs. Sku - The resource model definition representing SKU
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Discount
Name string - Name of the discount
- Identity
Managed
Service Identity Args - Managed service identity (system assigned and/or user assigned identities)
- Kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- Location string
- The geo-location where the resource lives
- Managed
By string - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- Plan
Plan
Args - Plan for the resource.
- Properties
Entity
Type | EntityAffiliate Discount Args Type Primary Discount Args - Discount properties
- Sku
Sku
Args - The resource model definition representing SKU
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- discount
Name String - Name of the discount
- identity
Managed
Service Identity - Managed service identity (system assigned and/or user assigned identities)
- kind String
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- location String
- The geo-location where the resource lives
- managed
By String - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- plan Plan
- Plan for the resource.
- properties
Entity
Type | EntityAffiliate Discount Type Primary Discount - Discount properties
- sku Sku
- The resource model definition representing SKU
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- discount
Name string - Name of the discount
- identity
Managed
Service Identity - Managed service identity (system assigned and/or user assigned identities)
- kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- location string
- The geo-location where the resource lives
- managed
By string - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- plan Plan
- Plan for the resource.
- properties
Entity
Type | EntityAffiliate Discount Type Primary Discount - Discount properties
- sku Sku
- The resource model definition representing SKU
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- discount_
name str - Name of the discount
- identity
Managed
Service Identity Args - Managed service identity (system assigned and/or user assigned identities)
- kind str
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- location str
- The geo-location where the resource lives
- managed_
by str - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- plan
Plan
Args - Plan for the resource.
- properties
Entity
Type | EntityAffiliate Discount Args Type Primary Discount Args - Discount properties
- sku
Sku
Args - The resource model definition representing SKU
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- discount
Name String - Name of the discount
- identity Property Map
- Managed service identity (system assigned and/or user assigned identities)
- kind String
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- location String
- The geo-location where the resource lives
- managed
By String - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- plan Property Map
- Plan for the resource.
- properties Property Map | Property Map
- Discount properties
- sku Property Map
- The resource model definition representing SKU
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Discount resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Billing Benefits. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- etag string
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- etag str
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ApplyDiscountOn, ApplyDiscountOnArgs
- Purchase
- Purchase
- Consume
- Consume
- Renew
- Renew
- Apply
Discount On Purchase - Purchase
- Apply
Discount On Consume - Consume
- Apply
Discount On Renew - Renew
- Purchase
- Purchase
- Consume
- Consume
- Renew
- Renew
- Purchase
- Purchase
- Consume
- Consume
- Renew
- Renew
- PURCHASE
- Purchase
- CONSUME
- Consume
- RENEW
- Renew
- "Purchase"
- Purchase
- "Consume"
- Consume
- "Renew"
- Renew
CatalogClaimsItem, CatalogClaimsItemArgs
Catalog claim for a discount.- Catalog
Claims stringItem Type - Value string
- Catalog
Claims stringItem Type - Value string
- catalog
Claims StringItem Type - value String
- catalog
Claims stringItem Type - value string
- catalog_
claims_ stritem_ type - value str
- catalog
Claims StringItem Type - value String
CatalogClaimsItemResponse, CatalogClaimsItemResponseArgs
Catalog claim for a discount.- Catalog
Claims stringItem Type - Value string
- Catalog
Claims stringItem Type - Value string
- catalog
Claims StringItem Type - value String
- catalog
Claims stringItem Type - value string
- catalog_
claims_ stritem_ type - value str
- catalog
Claims StringItem Type - value String
ConditionsItem, ConditionsItemArgs
Condition for a discount.- Condition
Name string - Type string
- Value List<string>
- These items are open-ended strings.
- Condition
Name string - Type string
- Value []string
- These items are open-ended strings.
- condition
Name String - type String
- value List<String>
- These items are open-ended strings.
- condition
Name string - type string
- value string[]
- These items are open-ended strings.
- condition_
name str - type str
- value Sequence[str]
- These items are open-ended strings.
- condition
Name String - type String
- value List<String>
- These items are open-ended strings.
ConditionsItemResponse, ConditionsItemResponseArgs
Condition for a discount.- Condition
Name string - Type string
- Value List<string>
- These items are open-ended strings.
- Condition
Name string - Type string
- Value []string
- These items are open-ended strings.
- condition
Name String - type String
- value List<String>
- These items are open-ended strings.
- condition
Name string - type string
- value string[]
- These items are open-ended strings.
- condition_
name str - type str
- value Sequence[str]
- These items are open-ended strings.
- condition
Name String - type String
- value List<String>
- These items are open-ended strings.
CustomPriceProperties, CustomPricePropertiesArgs
Custom price properties for a given discount.- Catalog
Claims List<Pulumi.Azure Native. Billing Benefits. Inputs. Catalog Claims Item> - 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.
- Catalog
Id string - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- Market
Set List<Pulumi.Prices Azure Native. Billing Benefits. Inputs. Market Set Prices Items> - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- Rule
Type string | Pulumi.Azure Native. Billing Benefits. Discount Rule Type - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- Billing
Period string - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- Meter
Type string - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- Term
Units string - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
- Catalog
Claims []CatalogClaims Item - 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.
- Catalog
Id string - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- Market
Set []MarketPrices Set Prices Items - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- Rule
Type string | DiscountRule Type - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- Billing
Period string - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- Meter
Type string - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- Term
Units string - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
- catalog
Claims List<CatalogClaims Item> - 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.
- catalog
Id String - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- market
Set List<MarketPrices Set Prices Items> - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- rule
Type String | DiscountRule Type - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- billing
Period String - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- meter
Type String - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- term
Units String - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
- catalog
Claims CatalogClaims Item[] - 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.
- catalog
Id string - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- market
Set MarketPrices Set Prices Items[] - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- rule
Type string | DiscountRule Type - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- billing
Period string - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- meter
Type string - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- term
Units string - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
- catalog_
claims Sequence[CatalogClaims Item] - 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.
- catalog_
id str - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- market_
set_ Sequence[Marketprices Set Prices Items] - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- rule_
type str | DiscountRule Type - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- billing_
period str - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- meter_
type str - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- term_
units str - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
- catalog
Claims List<Property Map> - 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.
- catalog
Id String - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- market
Set List<Property Map>Prices - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- rule
Type String | "FixedPrice Lock" | "Fixed List Price" | "Price Ceiling" - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- billing
Period String - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- meter
Type String - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- term
Units String - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
CustomPricePropertiesResponse, CustomPricePropertiesResponseArgs
Custom price properties for a given discount.- Catalog
Claims List<Pulumi.Azure Native. Billing Benefits. Inputs. Catalog Claims Item Response> - 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.
- Catalog
Id string - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- Market
Set List<Pulumi.Prices Azure Native. Billing Benefits. Inputs. Market Set Prices Items Response> - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- Rule
Type string - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- Billing
Period string - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- Meter
Type string - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- Term
Units string - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
- Catalog
Claims []CatalogClaims Item Response - 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.
- Catalog
Id string - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- Market
Set []MarketPrices Set Prices Items Response - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- Rule
Type string - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- Billing
Period string - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- Meter
Type string - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- Term
Units string - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
- catalog
Claims List<CatalogClaims Item Response> - 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.
- catalog
Id String - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- market
Set List<MarketPrices Set Prices Items Response> - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- rule
Type String - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- billing
Period String - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- meter
Type String - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- term
Units String - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
- catalog
Claims CatalogClaims Item Response[] - 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.
- catalog
Id string - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- market
Set MarketPrices Set Prices Items Response[] - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- rule
Type string - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- billing
Period string - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- meter
Type string - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- term
Units string - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
- catalog_
claims Sequence[CatalogClaims Item Response] - 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.
- catalog_
id str - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- market_
set_ Sequence[Marketprices Set Prices Items Response] - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- rule_
type str - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- billing_
period str - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- meter_
type str - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- term_
units str - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
- catalog
Claims List<Property Map> - 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.
- catalog
Id String - The catalog instance where the priceable node lives. Validation: Required. No defined format, will vary per team.
- market
Set List<Property Map>Prices - The set of market set prices of the priceable node. Validation: Required. Must contain at least one element.
- rule
Type String - The type of the priceable node pricing rule. Validation: Required. Supported values are fixedPriceLock, fixedListPrice, and priceCeiling.
- billing
Period String - The billing period of the priceable node. Validation: Optional, Maximum length 128 characters. Only allowed if the availability derived by market, product, sku, and claims has terms and at least one of those terms has a billing period. When specified, termUnits must be specified.
- meter
Type String - Must be present if the market, product, sku, and claims, and optional term information resolves to multiple availabilities that only differ by meter type. Validation: Maximum length 128 characters.
- term
Units String - The term units for the priceable node. Validation: Optional, Maximum length 128 characters. Must be present if and only if the availability derived by market, product, sku, and claims has terms.
DiscountAppliedScopeType, DiscountAppliedScopeTypeArgs
- Billing
Account - BillingAccount
- Billing
Profile - BillingProfile
- Customer
- Customer
- Discount
Applied Scope Type Billing Account - BillingAccount
- Discount
Applied Scope Type Billing Profile - BillingProfile
- Discount
Applied Scope Type Customer - Customer
- Billing
Account - BillingAccount
- Billing
Profile - BillingProfile
- Customer
- Customer
- Billing
Account - BillingAccount
- Billing
Profile - BillingProfile
- Customer
- Customer
- BILLING_ACCOUNT
- BillingAccount
- BILLING_PROFILE
- BillingProfile
- CUSTOMER
- Customer
- "Billing
Account" - BillingAccount
- "Billing
Profile" - BillingProfile
- "Customer"
- Customer
DiscountCombinationRule, DiscountCombinationRuleArgs
- Best
Of - BestOf
- Stackable
- Stackable
- Discount
Combination Rule Best Of - BestOf
- Discount
Combination Rule Stackable - Stackable
- Best
Of - BestOf
- Stackable
- Stackable
- Best
Of - BestOf
- Stackable
- Stackable
- BEST_OF
- BestOf
- STACKABLE
- Stackable
- "Best
Of" - BestOf
- "Stackable"
- Stackable
DiscountCustomPrice, DiscountCustomPriceArgs
Discount type properties including product family name, product id, sku, and custom price properties. Allows a single entry in marketSetPrices.- Apply
Discount string | Pulumi.On Azure Native. Billing Benefits. Apply Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Conditions Item> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Custom
Price Pulumi.Properties Azure Native. Billing Benefits. Inputs. Custom Price Properties - Custom price properties for a given discount.
- Discount
Combination string | Pulumi.Rule Azure Native. Billing Benefits. Discount Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee Pulumi.Properties Azure Native. Billing Benefits. Inputs. Price Guarantee Properties - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- Apply
Discount string | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
[]Conditions
Item - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Custom
Price CustomProperties Price Properties - Custom price properties for a given discount.
- Discount
Combination string | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage float64 - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply
Discount String | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
List<Conditions
Item> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price CustomProperties Price Properties - Custom price properties for a given discount.
- discount
Combination String | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
- apply
Discount string | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Conditions
Item[] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price CustomProperties Price Properties - Custom price properties for a given discount.
- discount
Combination string | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- product
Family stringName - Product family for which the discount is given. Validation: Optional
- product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply_
discount_ str | Applyon Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Sequence[Conditions
Item] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom_
price_ Customproperties Price Properties - Custom price properties for a given discount.
- discount_
combination_ str | Discountrule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount_
percentage float - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price_
guarantee_ Priceproperties Guarantee Properties - Set only in price guarantee scenario.
- product_
family_ strname - Product family for which the discount is given. Validation: Optional
- product_
id str - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku_
id str - ResourceSku for the given discount. Validation: Optional.
- apply
Discount String | "Purchase" | "Consume" | "Renew"On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions List<Property Map>
- Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price Property MapProperties - Custom price properties for a given discount.
- discount
Combination String | "BestRule Of" | "Stackable" - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee Property MapProperties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
DiscountCustomPriceMultiCurrency, DiscountCustomPriceMultiCurrencyArgs
Discount type properties including product family name, product id, sku, and custom price properties. Allows multiple entries in marketSetPrices.- Apply
Discount string | Pulumi.On Azure Native. Billing Benefits. Apply Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Conditions Item> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Custom
Price Pulumi.Properties Azure Native. Billing Benefits. Inputs. Custom Price Properties - Custom price properties for a given discount.
- Discount
Combination string | Pulumi.Rule Azure Native. Billing Benefits. Discount Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee Pulumi.Properties Azure Native. Billing Benefits. Inputs. Price Guarantee Properties - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- Apply
Discount string | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
[]Conditions
Item - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Custom
Price CustomProperties Price Properties - Custom price properties for a given discount.
- Discount
Combination string | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage float64 - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply
Discount String | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
List<Conditions
Item> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price CustomProperties Price Properties - Custom price properties for a given discount.
- discount
Combination String | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
- apply
Discount string | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Conditions
Item[] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price CustomProperties Price Properties - Custom price properties for a given discount.
- discount
Combination string | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- product
Family stringName - Product family for which the discount is given. Validation: Optional
- product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply_
discount_ str | Applyon Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Sequence[Conditions
Item] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom_
price_ Customproperties Price Properties - Custom price properties for a given discount.
- discount_
combination_ str | Discountrule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount_
percentage float - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price_
guarantee_ Priceproperties Guarantee Properties - Set only in price guarantee scenario.
- product_
family_ strname - Product family for which the discount is given. Validation: Optional
- product_
id str - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku_
id str - ResourceSku for the given discount. Validation: Optional.
- apply
Discount String | "Purchase" | "Consume" | "Renew"On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions List<Property Map>
- Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price Property MapProperties - Custom price properties for a given discount.
- discount
Combination String | "BestRule Of" | "Stackable" - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee Property MapProperties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
DiscountCustomPriceMultiCurrencyResponse, DiscountCustomPriceMultiCurrencyResponseArgs
Discount type properties including product family name, product id, sku, and custom price properties. Allows multiple entries in marketSetPrices.- Apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Conditions Item Response> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Custom
Price Pulumi.Properties Azure Native. Billing Benefits. Inputs. Custom Price Properties Response - Custom price properties for a given discount.
- Discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee Pulumi.Properties Azure Native. Billing Benefits. Inputs. Price Guarantee Properties Response - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- Apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
[]Conditions
Item Response - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Custom
Price CustomProperties Price Properties Response - Custom price properties for a given discount.
- Discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage float64 - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply
Discount StringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
List<Conditions
Item Response> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price CustomProperties Price Properties Response - Custom price properties for a given discount.
- discount
Combination StringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
- apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Conditions
Item Response[] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price CustomProperties Price Properties Response - Custom price properties for a given discount.
- discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- product
Family stringName - Product family for which the discount is given. Validation: Optional
- product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply_
discount_ stron - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Sequence[Conditions
Item Response] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom_
price_ Customproperties Price Properties Response - Custom price properties for a given discount.
- discount_
combination_ strrule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount_
percentage float - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price_
guarantee_ Priceproperties Guarantee Properties Response - Set only in price guarantee scenario.
- product_
family_ strname - Product family for which the discount is given. Validation: Optional
- product_
id str - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku_
id str - ResourceSku for the given discount. Validation: Optional.
- apply
Discount StringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions List<Property Map>
- Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price Property MapProperties - Custom price properties for a given discount.
- discount
Combination StringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee Property MapProperties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
DiscountCustomPriceResponse, DiscountCustomPriceResponseArgs
Discount type properties including product family name, product id, sku, and custom price properties. Allows a single entry in marketSetPrices.- Apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Conditions Item Response> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Custom
Price Pulumi.Properties Azure Native. Billing Benefits. Inputs. Custom Price Properties Response - Custom price properties for a given discount.
- Discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee Pulumi.Properties Azure Native. Billing Benefits. Inputs. Price Guarantee Properties Response - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- Apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
[]Conditions
Item Response - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Custom
Price CustomProperties Price Properties Response - Custom price properties for a given discount.
- Discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage float64 - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply
Discount StringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
List<Conditions
Item Response> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price CustomProperties Price Properties Response - Custom price properties for a given discount.
- discount
Combination StringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
- apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Conditions
Item Response[] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price CustomProperties Price Properties Response - Custom price properties for a given discount.
- discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- product
Family stringName - Product family for which the discount is given. Validation: Optional
- product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply_
discount_ stron - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Sequence[Conditions
Item Response] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom_
price_ Customproperties Price Properties Response - Custom price properties for a given discount.
- discount_
combination_ strrule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount_
percentage float - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price_
guarantee_ Priceproperties Guarantee Properties Response - Set only in price guarantee scenario.
- product_
family_ strname - Product family for which the discount is given. Validation: Optional
- product_
id str - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku_
id str - ResourceSku for the given discount. Validation: Optional.
- apply
Discount StringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions List<Property Map>
- Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- custom
Price Property MapProperties - Custom price properties for a given discount.
- discount
Combination StringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee Property MapProperties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
DiscountProduct, DiscountProductArgs
Discount type properties including product family name and product id.- Apply
Discount string | Pulumi.On Azure Native. Billing Benefits. Apply Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Conditions Item> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination string | Pulumi.Rule Azure Native. Billing Benefits. Discount Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee Pulumi.Properties Azure Native. Billing Benefits. Inputs. Price Guarantee Properties - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Apply
Discount string | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
[]Conditions
Item - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination string | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage float64 - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- apply
Discount String | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
List<Conditions
Item> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination String | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- apply
Discount string | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Conditions
Item[] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination string | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- product
Family stringName - Product family for which the discount is given. Validation: Optional
- product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- apply_
discount_ str | Applyon Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Sequence[Conditions
Item] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount_
combination_ str | Discountrule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount_
percentage float - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price_
guarantee_ Priceproperties Guarantee Properties - Set only in price guarantee scenario.
- product_
family_ strname - Product family for which the discount is given. Validation: Optional
- product_
id str - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- apply
Discount String | "Purchase" | "Consume" | "Renew"On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions List<Property Map>
- Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination String | "BestRule Of" | "Stackable" - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee Property MapProperties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
DiscountProductFamily, DiscountProductFamilyArgs
Discount type properties including product family name- Apply
Discount string | Pulumi.On Azure Native. Billing Benefits. Apply Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Conditions Item> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination string | Pulumi.Rule Azure Native. Billing Benefits. Discount Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee Pulumi.Properties Azure Native. Billing Benefits. Inputs. Price Guarantee Properties - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Apply
Discount string | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
[]Conditions
Item - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination string | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage float64 - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- apply
Discount String | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
List<Conditions
Item> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination String | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- apply
Discount string | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Conditions
Item[] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination string | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- product
Family stringName - Product family for which the discount is given. Validation: Optional
- apply_
discount_ str | Applyon Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Sequence[Conditions
Item] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount_
combination_ str | Discountrule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount_
percentage float - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price_
guarantee_ Priceproperties Guarantee Properties - Set only in price guarantee scenario.
- product_
family_ strname - Product family for which the discount is given. Validation: Optional
- apply
Discount String | "Purchase" | "Consume" | "Renew"On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions List<Property Map>
- Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination String | "BestRule Of" | "Stackable" - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee Property MapProperties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
DiscountProductFamilyResponse, DiscountProductFamilyResponseArgs
Discount type properties including product family name- Apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Conditions Item Response> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee Pulumi.Properties Azure Native. Billing Benefits. Inputs. Price Guarantee Properties Response - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
[]Conditions
Item Response - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage float64 - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- apply
Discount StringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
List<Conditions
Item Response> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination StringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Conditions
Item Response[] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- product
Family stringName - Product family for which the discount is given. Validation: Optional
- apply_
discount_ stron - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Sequence[Conditions
Item Response] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount_
combination_ strrule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount_
percentage float - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price_
guarantee_ Priceproperties Guarantee Properties Response - Set only in price guarantee scenario.
- product_
family_ strname - Product family for which the discount is given. Validation: Optional
- apply
Discount StringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions List<Property Map>
- Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination StringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee Property MapProperties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
DiscountProductResponse, DiscountProductResponseArgs
Discount type properties including product family name and product id.- Apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Conditions Item Response> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee Pulumi.Properties Azure Native. Billing Benefits. Inputs. Price Guarantee Properties Response - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
[]Conditions
Item Response - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage float64 - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- apply
Discount StringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
List<Conditions
Item Response> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination StringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Conditions
Item Response[] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- product
Family stringName - Product family for which the discount is given. Validation: Optional
- product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- apply_
discount_ stron - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Sequence[Conditions
Item Response] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount_
combination_ strrule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount_
percentage float - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price_
guarantee_ Priceproperties Guarantee Properties Response - Set only in price guarantee scenario.
- product_
family_ strname - Product family for which the discount is given. Validation: Optional
- product_
id str - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- apply
Discount StringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions List<Property Map>
- Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination StringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee Property MapProperties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
DiscountRuleType, DiscountRuleTypeArgs
- Fixed
Price Lock - FixedPriceLock
- Fixed
List Price - FixedListPrice
- Price
Ceiling - PriceCeiling
- Discount
Rule Type Fixed Price Lock - FixedPriceLock
- Discount
Rule Type Fixed List Price - FixedListPrice
- Discount
Rule Type Price Ceiling - PriceCeiling
- Fixed
Price Lock - FixedPriceLock
- Fixed
List Price - FixedListPrice
- Price
Ceiling - PriceCeiling
- Fixed
Price Lock - FixedPriceLock
- Fixed
List Price - FixedListPrice
- Price
Ceiling - PriceCeiling
- FIXED_PRICE_LOCK
- FixedPriceLock
- FIXED_LIST_PRICE
- FixedListPrice
- PRICE_CEILING
- PriceCeiling
- "Fixed
Price Lock" - FixedPriceLock
- "Fixed
List Price" - FixedListPrice
- "Price
Ceiling" - PriceCeiling
DiscountTypeProductSku, DiscountTypeProductSkuArgs
Discount type properties including product family name, product id, and sku id.- Apply
Discount string | Pulumi.On Azure Native. Billing Benefits. Apply Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Conditions Item> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination string | Pulumi.Rule Azure Native. Billing Benefits. Discount Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee Pulumi.Properties Azure Native. Billing Benefits. Inputs. Price Guarantee Properties - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- Apply
Discount string | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
[]Conditions
Item - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination string | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage float64 - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply
Discount String | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
List<Conditions
Item> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination String | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
- apply
Discount string | ApplyOn Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Conditions
Item[] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination string | DiscountRule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties - Set only in price guarantee scenario.
- product
Family stringName - Product family for which the discount is given. Validation: Optional
- product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply_
discount_ str | Applyon Discount On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Sequence[Conditions
Item] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount_
combination_ str | Discountrule Combination Rule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount_
percentage float - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price_
guarantee_ Priceproperties Guarantee Properties - Set only in price guarantee scenario.
- product_
family_ strname - Product family for which the discount is given. Validation: Optional
- product_
id str - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku_
id str - ResourceSku for the given discount. Validation: Optional.
- apply
Discount String | "Purchase" | "Consume" | "Renew"On - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions List<Property Map>
- Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination String | "BestRule Of" | "Stackable" - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee Property MapProperties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
DiscountTypeProductSkuResponse, DiscountTypeProductSkuResponseArgs
Discount type properties including product family name, product id, and sku id.- Apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Conditions Item Response> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee Pulumi.Properties Azure Native. Billing Benefits. Inputs. Price Guarantee Properties Response - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- Apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- Conditions
[]Conditions
Item Response - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- Discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- Discount
Percentage float64 - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- Price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- Product
Family stringName - Product family for which the discount is given. Validation: Optional
- Product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- Sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply
Discount StringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
List<Conditions
Item Response> - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination StringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Double - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
- apply
Discount stringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Conditions
Item Response[] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination stringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee PriceProperties Guarantee Properties Response - Set only in price guarantee scenario.
- product
Family stringName - Product family for which the discount is given. Validation: Optional
- product
Id string - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id string - ResourceSku for the given discount. Validation: Optional.
- apply_
discount_ stron - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions
Sequence[Conditions
Item Response] - Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount_
combination_ strrule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount_
percentage float - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price_
guarantee_ Priceproperties Guarantee Properties Response - Set only in price guarantee scenario.
- product_
family_ strname - Product family for which the discount is given. Validation: Optional
- product_
id str - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku_
id str - ResourceSku for the given discount. Validation: Optional.
- apply
Discount StringOn - The customer action on which the discount is applied. Supported values are Purchase, Consume, and Renew. Validation: Required, one of supported values.
- conditions List<Property Map>
- Array of conditions for the discount. Validation: Optional. Maximum length is 1000.
- discount
Combination StringRule - The discount combination rule when there are multiple applicable custom prices. Validation: Required. Supported values are Stackable and BestOf.
- discount
Percentage Number - Discount percentage provided for the customer. Validation: Required unless this is a price rule.
- price
Guarantee Property MapProperties - Set only in price guarantee scenario.
- product
Family StringName - Product family for which the discount is given. Validation: Optional
- product
Id String - Product ID for which the discount is given. Validation: Optional. No specific format, example: DZH318Z09V6F
- sku
Id String - ResourceSku for the given discount. Validation: Optional.
EntityTypeAffiliateDiscount, EntityTypeAffiliateDiscountArgs
Entity type for affiliate discounts- Product
Code string - This is the catalog UPN for the product.
- Start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- Applied
Scope string | Pulumi.Type Azure Native. Billing Benefits. Discount Applied Scope Type - List of applied scopes supported for discounts.
- Display
Name string - This defines a user friendly display name for the discount.
- System
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- Product
Code string - This is the catalog UPN for the product.
- Start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- Applied
Scope string | DiscountType Applied Scope Type - List of applied scopes supported for discounts.
- Display
Name string - This defines a user friendly display name for the discount.
- System
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- product
Code String - This is the catalog UPN for the product.
- start
At String - Start date of the discount. Value is the date the discount started or will start in the future.
- applied
Scope String | DiscountType Applied Scope Type - List of applied scopes supported for discounts.
- display
Name String - This defines a user friendly display name for the discount.
- system
Id String - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- product
Code string - This is the catalog UPN for the product.
- start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- applied
Scope string | DiscountType Applied Scope Type - List of applied scopes supported for discounts.
- display
Name string - This defines a user friendly display name for the discount.
- system
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- product_
code str - This is the catalog UPN for the product.
- start_
at str - Start date of the discount. Value is the date the discount started or will start in the future.
- applied_
scope_ str | Discounttype Applied Scope Type - List of applied scopes supported for discounts.
- display_
name str - This defines a user friendly display name for the discount.
- system_
id str - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- product
Code String - This is the catalog UPN for the product.
- start
At String - Start date of the discount. Value is the date the discount started or will start in the future.
- applied
Scope String | "BillingType Account" | "Billing Profile" | "Customer" - List of applied scopes supported for discounts.
- display
Name String - This defines a user friendly display name for the discount.
- system
Id String - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
EntityTypeAffiliateDiscountResponse, EntityTypeAffiliateDiscountResponseArgs
Entity type for affiliate discounts- Benefit
Resource stringId - Fully-qualified identifier of the benefit under applicable benefit list.
- Billing
Account stringResource Id - Billing account resource id where the discount metadata is present.
- Billing
Profile stringResource Id - Billing profile resource id where the discount is scoped to.
- Customer
Resource stringId - Customer resource id where the discount is scoped to.
- End
At string - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- Primary
Resource stringId - This will be present in the response if the primary has a resource ID
- Product
Code string - This is the catalog UPN for the product.
- Provisioning
State string - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- Start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- Status string
- Represents the current status of the discount.
- Applied
Scope stringType - List of applied scopes supported for discounts.
- Display
Name string - This defines a user friendly display name for the discount.
- System
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- Benefit
Resource stringId - Fully-qualified identifier of the benefit under applicable benefit list.
- Billing
Account stringResource Id - Billing account resource id where the discount metadata is present.
- Billing
Profile stringResource Id - Billing profile resource id where the discount is scoped to.
- Customer
Resource stringId - Customer resource id where the discount is scoped to.
- End
At string - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- Primary
Resource stringId - This will be present in the response if the primary has a resource ID
- Product
Code string - This is the catalog UPN for the product.
- Provisioning
State string - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- Start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- Status string
- Represents the current status of the discount.
- Applied
Scope stringType - List of applied scopes supported for discounts.
- Display
Name string - This defines a user friendly display name for the discount.
- System
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- benefit
Resource StringId - Fully-qualified identifier of the benefit under applicable benefit list.
- billing
Account StringResource Id - Billing account resource id where the discount metadata is present.
- billing
Profile StringResource Id - Billing profile resource id where the discount is scoped to.
- customer
Resource StringId - Customer resource id where the discount is scoped to.
- end
At String - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- primary
Resource StringId - This will be present in the response if the primary has a resource ID
- product
Code String - This is the catalog UPN for the product.
- provisioning
State String - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- start
At String - Start date of the discount. Value is the date the discount started or will start in the future.
- status String
- Represents the current status of the discount.
- applied
Scope StringType - List of applied scopes supported for discounts.
- display
Name String - This defines a user friendly display name for the discount.
- system
Id String - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- benefit
Resource stringId - Fully-qualified identifier of the benefit under applicable benefit list.
- billing
Account stringResource Id - Billing account resource id where the discount metadata is present.
- billing
Profile stringResource Id - Billing profile resource id where the discount is scoped to.
- customer
Resource stringId - Customer resource id where the discount is scoped to.
- end
At string - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- primary
Resource stringId - This will be present in the response if the primary has a resource ID
- product
Code string - This is the catalog UPN for the product.
- provisioning
State string - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- status string
- Represents the current status of the discount.
- applied
Scope stringType - List of applied scopes supported for discounts.
- display
Name string - This defines a user friendly display name for the discount.
- system
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- benefit_
resource_ strid - Fully-qualified identifier of the benefit under applicable benefit list.
- billing_
account_ strresource_ id - Billing account resource id where the discount metadata is present.
- billing_
profile_ strresource_ id - Billing profile resource id where the discount is scoped to.
- customer_
resource_ strid - Customer resource id where the discount is scoped to.
- end_
at str - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- primary_
resource_ strid - This will be present in the response if the primary has a resource ID
- product_
code str - This is the catalog UPN for the product.
- provisioning_
state str - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- start_
at str - Start date of the discount. Value is the date the discount started or will start in the future.
- status str
- Represents the current status of the discount.
- applied_
scope_ strtype - List of applied scopes supported for discounts.
- display_
name str - This defines a user friendly display name for the discount.
- system_
id str - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- benefit
Resource StringId - Fully-qualified identifier of the benefit under applicable benefit list.
- billing
Account StringResource Id - Billing account resource id where the discount metadata is present.
- billing
Profile StringResource Id - Billing profile resource id where the discount is scoped to.
- customer
Resource StringId - Customer resource id where the discount is scoped to.
- end
At String - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- primary
Resource StringId - This will be present in the response if the primary has a resource ID
- product
Code String - This is the catalog UPN for the product.
- provisioning
State String - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- start
At String - Start date of the discount. Value is the date the discount started or will start in the future.
- status String
- Represents the current status of the discount.
- applied
Scope StringType - List of applied scopes supported for discounts.
- display
Name String - This defines a user friendly display name for the discount.
- system
Id String - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
EntityTypePrimaryDiscount, EntityTypePrimaryDiscountArgs
Entity type for primary discounts- End
At string - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- Product
Code string - This is the catalog UPN for the product.
- Start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- Applied
Scope string | Pulumi.Type Azure Native. Billing Benefits. Discount Applied Scope Type - List of applied scopes supported for discounts.
- Discount
Type Pulumi.Properties Azure | Pulumi.Native. Billing Benefits. Inputs. Discount Custom Price Azure | Pulumi.Native. Billing Benefits. Inputs. Discount Custom Price Multi Currency Azure | Pulumi.Native. Billing Benefits. Inputs. Discount Product Azure | Pulumi.Native. Billing Benefits. Inputs. Discount Product Family Azure Native. Billing Benefits. Inputs. Discount Type Product Sku - This defines the conditions for a given discount type.
- Display
Name string - This defines a user friendly display name for the discount.
- System
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- End
At string - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- Product
Code string - This is the catalog UPN for the product.
- Start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- Applied
Scope string | DiscountType Applied Scope Type - List of applied scopes supported for discounts.
- Discount
Type DiscountProperties Custom | DiscountPrice Custom | DiscountPrice Multi Currency Product | DiscountProduct | DiscountFamily Type Product Sku - This defines the conditions for a given discount type.
- Display
Name string - This defines a user friendly display name for the discount.
- System
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- end
At String - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- product
Code String - This is the catalog UPN for the product.
- start
At String - Start date of the discount. Value is the date the discount started or will start in the future.
- applied
Scope String | DiscountType Applied Scope Type - List of applied scopes supported for discounts.
- discount
Type DiscountProperties Custom | DiscountPrice Custom | DiscountPrice Multi Currency Product | DiscountProduct | DiscountFamily Type Product Sku - This defines the conditions for a given discount type.
- display
Name String - This defines a user friendly display name for the discount.
- system
Id String - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- end
At string - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- product
Code string - This is the catalog UPN for the product.
- start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- applied
Scope string | DiscountType Applied Scope Type - List of applied scopes supported for discounts.
- discount
Type DiscountProperties Custom | DiscountPrice Custom | DiscountPrice Multi Currency Product | DiscountProduct | DiscountFamily Type Product Sku - This defines the conditions for a given discount type.
- display
Name string - This defines a user friendly display name for the discount.
- system
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- end_
at str - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- product_
code str - This is the catalog UPN for the product.
- start_
at str - Start date of the discount. Value is the date the discount started or will start in the future.
- applied_
scope_ str | Discounttype Applied Scope Type - List of applied scopes supported for discounts.
- discount_
type_ Discountproperties Custom | DiscountPrice Custom | DiscountPrice Multi Currency Product | DiscountProduct | DiscountFamily Type Product Sku - This defines the conditions for a given discount type.
- display_
name str - This defines a user friendly display name for the discount.
- system_
id str - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- end
At String - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- product
Code String - This is the catalog UPN for the product.
- start
At String - Start date of the discount. Value is the date the discount started or will start in the future.
- applied
Scope String | "BillingType Account" | "Billing Profile" | "Customer" - List of applied scopes supported for discounts.
- discount
Type Property Map | Property Map | Property Map | Property Map | Property MapProperties - This defines the conditions for a given discount type.
- display
Name String - This defines a user friendly display name for the discount.
- system
Id String - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
EntityTypePrimaryDiscountResponse, EntityTypePrimaryDiscountResponseArgs
Entity type for primary discounts- Benefit
Resource stringId - Fully-qualified identifier of the benefit under applicable benefit list.
- Billing
Account stringResource Id - Billing account resource id where the discount metadata is present.
- Billing
Profile stringResource Id - Billing profile resource id where the discount is scoped to.
- Customer
Resource stringId - Customer resource id where the discount is scoped to.
- End
At string - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- Product
Code string - This is the catalog UPN for the product.
- Provisioning
State string - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- Start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- Status string
- Represents the current status of the discount.
- Applied
Scope stringType - List of applied scopes supported for discounts.
- Discount
Type Pulumi.Properties Azure | Pulumi.Native. Billing Benefits. Inputs. Discount Custom Price Response Azure | Pulumi.Native. Billing Benefits. Inputs. Discount Custom Price Multi Currency Response Azure | Pulumi.Native. Billing Benefits. Inputs. Discount Product Response Azure | Pulumi.Native. Billing Benefits. Inputs. Discount Product Family Response Azure Native. Billing Benefits. Inputs. Discount Type Product Sku Response - This defines the conditions for a given discount type.
- Display
Name string - This defines a user friendly display name for the discount.
- System
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- Benefit
Resource stringId - Fully-qualified identifier of the benefit under applicable benefit list.
- Billing
Account stringResource Id - Billing account resource id where the discount metadata is present.
- Billing
Profile stringResource Id - Billing profile resource id where the discount is scoped to.
- Customer
Resource stringId - Customer resource id where the discount is scoped to.
- End
At string - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- Product
Code string - This is the catalog UPN for the product.
- Provisioning
State string - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- Start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- Status string
- Represents the current status of the discount.
- Applied
Scope stringType - List of applied scopes supported for discounts.
- Discount
Type DiscountProperties Custom | DiscountPrice Response Custom | DiscountPrice Multi Currency Response Product | DiscountResponse Product | DiscountFamily Response Type Product Sku Response - This defines the conditions for a given discount type.
- Display
Name string - This defines a user friendly display name for the discount.
- System
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- benefit
Resource StringId - Fully-qualified identifier of the benefit under applicable benefit list.
- billing
Account StringResource Id - Billing account resource id where the discount metadata is present.
- billing
Profile StringResource Id - Billing profile resource id where the discount is scoped to.
- customer
Resource StringId - Customer resource id where the discount is scoped to.
- end
At String - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- product
Code String - This is the catalog UPN for the product.
- provisioning
State String - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- start
At String - Start date of the discount. Value is the date the discount started or will start in the future.
- status String
- Represents the current status of the discount.
- applied
Scope StringType - List of applied scopes supported for discounts.
- discount
Type DiscountProperties Custom | DiscountPrice Response Custom | DiscountPrice Multi Currency Response Product | DiscountResponse Product | DiscountFamily Response Type Product Sku Response - This defines the conditions for a given discount type.
- display
Name String - This defines a user friendly display name for the discount.
- system
Id String - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- benefit
Resource stringId - Fully-qualified identifier of the benefit under applicable benefit list.
- billing
Account stringResource Id - Billing account resource id where the discount metadata is present.
- billing
Profile stringResource Id - Billing profile resource id where the discount is scoped to.
- customer
Resource stringId - Customer resource id where the discount is scoped to.
- end
At string - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- product
Code string - This is the catalog UPN for the product.
- provisioning
State string - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- start
At string - Start date of the discount. Value is the date the discount started or will start in the future.
- status string
- Represents the current status of the discount.
- applied
Scope stringType - List of applied scopes supported for discounts.
- discount
Type DiscountProperties Custom | DiscountPrice Response Custom | DiscountPrice Multi Currency Response Product | DiscountResponse Product | DiscountFamily Response Type Product Sku Response - This defines the conditions for a given discount type.
- display
Name string - This defines a user friendly display name for the discount.
- system
Id string - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- benefit_
resource_ strid - Fully-qualified identifier of the benefit under applicable benefit list.
- billing_
account_ strresource_ id - Billing account resource id where the discount metadata is present.
- billing_
profile_ strresource_ id - Billing profile resource id where the discount is scoped to.
- customer_
resource_ strid - Customer resource id where the discount is scoped to.
- end_
at str - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- product_
code str - This is the catalog UPN for the product.
- provisioning_
state str - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- start_
at str - Start date of the discount. Value is the date the discount started or will start in the future.
- status str
- Represents the current status of the discount.
- applied_
scope_ strtype - List of applied scopes supported for discounts.
- discount_
type_ Discountproperties Custom | DiscountPrice Response Custom | DiscountPrice Multi Currency Response Product | DiscountResponse Product | DiscountFamily Response Type Product Sku Response - This defines the conditions for a given discount type.
- display_
name str - This defines a user friendly display name for the discount.
- system_
id str - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
- benefit
Resource StringId - Fully-qualified identifier of the benefit under applicable benefit list.
- billing
Account StringResource Id - Billing account resource id where the discount metadata is present.
- billing
Profile StringResource Id - Billing profile resource id where the discount is scoped to.
- customer
Resource StringId - Customer resource id where the discount is scoped to.
- end
At String - End date of the discount. No duration will be supported. Allowed value is any date greater than or equal to startDate.
- product
Code String - This is the catalog UPN for the product.
- provisioning
State String - The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.
- start
At String - Start date of the discount. Value is the date the discount started or will start in the future.
- status String
- Represents the current status of the discount.
- applied
Scope StringType - List of applied scopes supported for discounts.
- discount
Type Property Map | Property Map | Property Map | Property Map | Property MapProperties - This defines the conditions for a given discount type.
- display
Name String - This defines a user friendly display name for the discount.
- system
Id String - This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.
ManagedServiceIdentity, ManagedServiceIdentityArgs
Managed service identity (system assigned and/or user assigned identities)- Type
string | Pulumi.
Azure Native. Billing Benefits. Managed Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned List<string>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned []stringIdentities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned string[]Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
str | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Sequence[str]identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | "None" | "System
Assigned" | "User Assigned" | "System Assigned,User Assigned" - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs
Managed service identity (system assigned and/or user assigned identities)- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Billing Benefits. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- Managed
Service Identity Type None - None
- Managed
Service Identity Type System Assigned - SystemAssigned
- Managed
Service Identity Type User Assigned - UserAssigned
- Managed
Service Identity Type_System Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned,UserAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned,User Assigned" - SystemAssigned,UserAssigned
MarketSetPricesItems, MarketSetPricesItemsArgs
Items in the MarketSetPrices array.- Currency string
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- Markets List<string>
- Value double
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
- Currency string
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- Markets []string
- Value float64
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
- currency String
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- markets List<String>
- value Double
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
- currency string
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- markets string[]
- value number
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
- currency str
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- markets Sequence[str]
- value float
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
- currency String
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- markets List<String>
- value Number
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
MarketSetPricesItemsResponse, MarketSetPricesItemsResponseArgs
Items in the MarketSetPrices array.- Currency string
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- Markets List<string>
- Value double
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
- Currency string
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- Markets []string
- Value float64
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
- currency String
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- markets List<String>
- value Double
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
- currency string
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- markets string[]
- value number
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
- currency str
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- markets Sequence[str]
- value float
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
- currency String
- The currency of the locked price value. Validation: Required. Must be a valid ISO 4217 3-letter currency code.
- markets List<String>
- value Number
- The locked price for the priceable node. Validation: Required. Must be greater than or equal to 0. If the case of billing plans. This represents the price for each cycle charge.
Plan, PlanArgs
Plan for the resource.- Name string
- A user defined name of the 3rd Party Artifact that is being procured.
- Product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- Publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- Promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- Version string
- The version of the desired product/artifact.
- Name string
- A user defined name of the 3rd Party Artifact that is being procured.
- Product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- Publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- Promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- Version string
- The version of the desired product/artifact.
- name String
- A user defined name of the 3rd Party Artifact that is being procured.
- product String
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher String
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code String - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version String
- The version of the desired product/artifact.
- name string
- A user defined name of the 3rd Party Artifact that is being procured.
- product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version string
- The version of the desired product/artifact.
- name str
- A user defined name of the 3rd Party Artifact that is being procured.
- product str
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher str
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion_
code str - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version str
- The version of the desired product/artifact.
- name String
- A user defined name of the 3rd Party Artifact that is being procured.
- product String
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher String
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code String - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version String
- The version of the desired product/artifact.
PlanResponse, PlanResponseArgs
Plan for the resource.- Name string
- A user defined name of the 3rd Party Artifact that is being procured.
- Product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- Publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- Promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- Version string
- The version of the desired product/artifact.
- Name string
- A user defined name of the 3rd Party Artifact that is being procured.
- Product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- Publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- Promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- Version string
- The version of the desired product/artifact.
- name String
- A user defined name of the 3rd Party Artifact that is being procured.
- product String
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher String
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code String - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version String
- The version of the desired product/artifact.
- name string
- A user defined name of the 3rd Party Artifact that is being procured.
- product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version string
- The version of the desired product/artifact.
- name str
- A user defined name of the 3rd Party Artifact that is being procured.
- product str
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher str
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion_
code str - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version str
- The version of the desired product/artifact.
- name String
- A user defined name of the 3rd Party Artifact that is being procured.
- product String
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher String
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code String - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version String
- The version of the desired product/artifact.
PriceGuaranteeProperties, PriceGuaranteePropertiesArgs
Set only in price guarantee scenario.- Price
Guarantee stringDate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- Pricing
Policy string | Pulumi.Azure Native. Billing Benefits. Pricing Policy - Supported values: Protected, Locked
- Price
Guarantee stringDate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- Pricing
Policy string | PricingPolicy - Supported values: Protected, Locked
- price
Guarantee StringDate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- pricing
Policy String | PricingPolicy - Supported values: Protected, Locked
- price
Guarantee stringDate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- pricing
Policy string | PricingPolicy - Supported values: Protected, Locked
- price_
guarantee_ strdate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- pricing_
policy str | PricingPolicy - Supported values: Protected, Locked
- price
Guarantee StringDate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- pricing
Policy String | "Protected" | "Locked" - Supported values: Protected, Locked
PriceGuaranteePropertiesResponse, PriceGuaranteePropertiesResponseArgs
Set only in price guarantee scenario.- Price
Guarantee stringDate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- Pricing
Policy string - Supported values: Protected, Locked
- Price
Guarantee stringDate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- Pricing
Policy string - Supported values: Protected, Locked
- price
Guarantee StringDate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- pricing
Policy String - Supported values: Protected, Locked
- price
Guarantee stringDate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- pricing
Policy string - Supported values: Protected, Locked
- price_
guarantee_ strdate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- pricing_
policy str - Supported values: Protected, Locked
- price
Guarantee StringDate - The date on which prices are to be used for guarantee calculation. Validation: expected to be 00 hours, Format: 2024-09-30T00:00:00Z. Must be in UTC.
- pricing
Policy String - Supported values: Protected, Locked
PricingPolicy, PricingPolicyArgs
- Protected
- Protected
- Locked
- Locked
- Pricing
Policy Protected - Protected
- Pricing
Policy Locked - Locked
- Protected
- Protected
- Locked
- Locked
- Protected
- Protected
- Locked
- Locked
- PROTECTED
- Protected
- LOCKED
- Locked
- "Protected"
- Protected
- "Locked"
- Locked
Sku, SkuArgs
The resource model definition representing SKU- Name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier
Pulumi.
Azure Native. Billing Benefits. Sku Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- Name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier
Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity Integer
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name str
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family str
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size str
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity Number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier "Free" | "Basic" | "Standard" | "Premium"
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
SkuResponse, SkuResponseArgs
The resource model definition representing SKU- Name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- Name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity Integer
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier String
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name str
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family str
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size str
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier str
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity Number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier String
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
SkuTier, SkuTierArgs
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- Premium
- Premium
- Sku
Tier Free - Free
- Sku
Tier Basic - Basic
- Sku
Tier Standard - Standard
- Sku
Tier Premium - Premium
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- Premium
- Premium
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- Premium
- Premium
- FREE
- Free
- BASIC
- Basic
- STANDARD
- Standard
- PREMIUM
- Premium
- "Free"
- Free
- "Basic"
- Basic
- "Standard"
- Standard
- "Premium"
- Premium
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of the resource.- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
User assigned identity properties- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:billingbenefits:Discount testprimarydiscount /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/discounts/{discountName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
