1. Packages
  2. Azure Native
  3. API Docs
  4. billingbenefits
  5. Credit
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi

    Credit resource definition

    Uses Azure REST API version 2025-05-01-preview.

    Other available API versions: 2025-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native billingbenefits [ApiVersion]. See the version guide for details.

    Example Usage

    CreditCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var credit = new AzureNative.BillingBenefits.Credit("credit", new()
        {
            Credit = new AzureNative.BillingBenefits.Inputs.CommitmentArgs
            {
                Amount = 20000,
                CurrencyCode = "USD",
                Grain = AzureNative.BillingBenefits.CommitmentGrain.FullTerm,
            },
            CreditName = "credit_20231212",
            EndAt = "2024-01-12T00:00:00Z",
            Location = "global",
            ProductCode = "0002d726-0000-0160-330f-a0b98cdbbdc4",
            ResourceGroupName = "resource_group_name_01",
            StartAt = "2023-12-12T00:00:00Z",
            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.NewCredit(ctx, "credit", &billingbenefits.CreditArgs{
    			Credit: &billingbenefits.CommitmentArgs{
    				Amount:       pulumi.Float64(20000),
    				CurrencyCode: pulumi.String("USD"),
    				Grain:        pulumi.String(billingbenefits.CommitmentGrainFullTerm),
    			},
    			CreditName:        pulumi.String("credit_20231212"),
    			EndAt:             pulumi.String("2024-01-12T00:00:00Z"),
    			Location:          pulumi.String("global"),
    			ProductCode:       pulumi.String("0002d726-0000-0160-330f-a0b98cdbbdc4"),
    			ResourceGroupName: pulumi.String("resource_group_name_01"),
    			StartAt:           pulumi.String("2023-12-12T00:00:00Z"),
    			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.Credit;
    import com.pulumi.azurenative.billingbenefits.CreditArgs;
    import com.pulumi.azurenative.billingbenefits.inputs.CommitmentArgs;
    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 credit = new Credit("credit", CreditArgs.builder()
                .credit(CommitmentArgs.builder()
                    .amount(20000.0)
                    .currencyCode("USD")
                    .grain("FullTerm")
                    .build())
                .creditName("credit_20231212")
                .endAt("2024-01-12T00:00:00Z")
                .location("global")
                .productCode("0002d726-0000-0160-330f-a0b98cdbbdc4")
                .resourceGroupName("resource_group_name_01")
                .startAt("2023-12-12T00:00:00Z")
                .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 credit = new azure_native.billingbenefits.Credit("credit", {
        credit: {
            amount: 20000,
            currencyCode: "USD",
            grain: azure_native.billingbenefits.CommitmentGrain.FullTerm,
        },
        creditName: "credit_20231212",
        endAt: "2024-01-12T00:00:00Z",
        location: "global",
        productCode: "0002d726-0000-0160-330f-a0b98cdbbdc4",
        resourceGroupName: "resource_group_name_01",
        startAt: "2023-12-12T00:00:00Z",
        tags: {
            key1: "value1",
            key2: "value2",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    credit = azure_native.billingbenefits.Credit("credit",
        credit={
            "amount": 20000,
            "currency_code": "USD",
            "grain": azure_native.billingbenefits.CommitmentGrain.FULL_TERM,
        },
        credit_name="credit_20231212",
        end_at="2024-01-12T00:00:00Z",
        location="global",
        product_code="0002d726-0000-0160-330f-a0b98cdbbdc4",
        resource_group_name="resource_group_name_01",
        start_at="2023-12-12T00:00:00Z",
        tags={
            "key1": "value1",
            "key2": "value2",
        })
    
    resources:
      credit:
        type: azure-native:billingbenefits:Credit
        properties:
          credit:
            amount: 20000
            currencyCode: USD
            grain: FullTerm
          creditName: credit_20231212
          endAt: 2024-01-12T00:00:00Z
          location: global
          productCode: 0002d726-0000-0160-330f-a0b98cdbbdc4
          resourceGroupName: resource_group_name_01
          startAt: 2023-12-12T00:00:00Z
          tags:
            key1: value1
            key2: value2
    

    EndCustomerInvestmentFundCreditCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var credit = new AzureNative.BillingBenefits.Credit("credit", new()
        {
            Breakdown = new[]
            {
                new AzureNative.BillingBenefits.Inputs.CreditBreakdownItemArgs
                {
                    Allocation = new AzureNative.BillingBenefits.Inputs.CommitmentArgs
                    {
                        Amount = 25000,
                        CurrencyCode = "USD",
                        Grain = AzureNative.BillingBenefits.CommitmentGrain.FullTerm,
                    },
                    Dimensions = new[]
                    {
                        new AzureNative.BillingBenefits.Inputs.CreditDimensionArgs
                        {
                            Key = "productFamily",
                            Value = "Azure",
                        },
                        new AzureNative.BillingBenefits.Inputs.CreditDimensionArgs
                        {
                            Key = "productCode",
                            Value = "00002b30-0000-0260-d348-f3ffcd565473",
                        },
                        new AzureNative.BillingBenefits.Inputs.CreditDimensionArgs
                        {
                            Key = "creditType",
                            Value = "EndCustomerInvestmentCredit",
                        },
                        new AzureNative.BillingBenefits.Inputs.CreditDimensionArgs
                        {
                            Key = "supplierType",
                            Value = "External",
                        },
                    },
                    EndAt = "2025-08-31T23:59:59.999Z",
                    StartAt = "2025-08-01T00:00:00Z",
                },
            },
            Credit = new AzureNative.BillingBenefits.Inputs.CommitmentArgs
            {
                Amount = 25000,
                CurrencyCode = "USD",
                Grain = AzureNative.BillingBenefits.CommitmentGrain.FullTerm,
            },
            CreditName = "credit_20231212",
            EndAt = "2025-08-31T23:59:59.999Z",
            Location = "global",
            ProductCode = "00002b30-0000-0260-d348-f3ffcd565473",
            ResourceGroupName = "resource_group_name_01",
            StartAt = "2025-08-01T00:00:00Z",
            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.NewCredit(ctx, "credit", &billingbenefits.CreditArgs{
    			Breakdown: billingbenefits.CreditBreakdownItemArray{
    				&billingbenefits.CreditBreakdownItemArgs{
    					Allocation: &billingbenefits.CommitmentArgs{
    						Amount:       pulumi.Float64(25000),
    						CurrencyCode: pulumi.String("USD"),
    						Grain:        pulumi.String(billingbenefits.CommitmentGrainFullTerm),
    					},
    					Dimensions: billingbenefits.CreditDimensionArray{
    						&billingbenefits.CreditDimensionArgs{
    							Key:   pulumi.String("productFamily"),
    							Value: pulumi.String("Azure"),
    						},
    						&billingbenefits.CreditDimensionArgs{
    							Key:   pulumi.String("productCode"),
    							Value: pulumi.String("00002b30-0000-0260-d348-f3ffcd565473"),
    						},
    						&billingbenefits.CreditDimensionArgs{
    							Key:   pulumi.String("creditType"),
    							Value: pulumi.String("EndCustomerInvestmentCredit"),
    						},
    						&billingbenefits.CreditDimensionArgs{
    							Key:   pulumi.String("supplierType"),
    							Value: pulumi.String("External"),
    						},
    					},
    					EndAt:   pulumi.String("2025-08-31T23:59:59.999Z"),
    					StartAt: pulumi.String("2025-08-01T00:00:00Z"),
    				},
    			},
    			Credit: &billingbenefits.CommitmentArgs{
    				Amount:       pulumi.Float64(25000),
    				CurrencyCode: pulumi.String("USD"),
    				Grain:        pulumi.String(billingbenefits.CommitmentGrainFullTerm),
    			},
    			CreditName:        pulumi.String("credit_20231212"),
    			EndAt:             pulumi.String("2025-08-31T23:59:59.999Z"),
    			Location:          pulumi.String("global"),
    			ProductCode:       pulumi.String("00002b30-0000-0260-d348-f3ffcd565473"),
    			ResourceGroupName: pulumi.String("resource_group_name_01"),
    			StartAt:           pulumi.String("2025-08-01T00:00:00Z"),
    			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.Credit;
    import com.pulumi.azurenative.billingbenefits.CreditArgs;
    import com.pulumi.azurenative.billingbenefits.inputs.CreditBreakdownItemArgs;
    import com.pulumi.azurenative.billingbenefits.inputs.CommitmentArgs;
    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 credit = new Credit("credit", CreditArgs.builder()
                .breakdown(CreditBreakdownItemArgs.builder()
                    .allocation(CommitmentArgs.builder()
                        .amount(25000.0)
                        .currencyCode("USD")
                        .grain("FullTerm")
                        .build())
                    .dimensions(                
                        CreditDimensionArgs.builder()
                            .key("productFamily")
                            .value("Azure")
                            .build(),
                        CreditDimensionArgs.builder()
                            .key("productCode")
                            .value("00002b30-0000-0260-d348-f3ffcd565473")
                            .build(),
                        CreditDimensionArgs.builder()
                            .key("creditType")
                            .value("EndCustomerInvestmentCredit")
                            .build(),
                        CreditDimensionArgs.builder()
                            .key("supplierType")
                            .value("External")
                            .build())
                    .endAt("2025-08-31T23:59:59.999Z")
                    .startAt("2025-08-01T00:00:00Z")
                    .build())
                .credit(CommitmentArgs.builder()
                    .amount(25000.0)
                    .currencyCode("USD")
                    .grain("FullTerm")
                    .build())
                .creditName("credit_20231212")
                .endAt("2025-08-31T23:59:59.999Z")
                .location("global")
                .productCode("00002b30-0000-0260-d348-f3ffcd565473")
                .resourceGroupName("resource_group_name_01")
                .startAt("2025-08-01T00:00:00Z")
                .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 credit = new azure_native.billingbenefits.Credit("credit", {
        breakdown: [{
            allocation: {
                amount: 25000,
                currencyCode: "USD",
                grain: azure_native.billingbenefits.CommitmentGrain.FullTerm,
            },
            dimensions: [
                {
                    key: "productFamily",
                    value: "Azure",
                },
                {
                    key: "productCode",
                    value: "00002b30-0000-0260-d348-f3ffcd565473",
                },
                {
                    key: "creditType",
                    value: "EndCustomerInvestmentCredit",
                },
                {
                    key: "supplierType",
                    value: "External",
                },
            ],
            endAt: "2025-08-31T23:59:59.999Z",
            startAt: "2025-08-01T00:00:00Z",
        }],
        credit: {
            amount: 25000,
            currencyCode: "USD",
            grain: azure_native.billingbenefits.CommitmentGrain.FullTerm,
        },
        creditName: "credit_20231212",
        endAt: "2025-08-31T23:59:59.999Z",
        location: "global",
        productCode: "00002b30-0000-0260-d348-f3ffcd565473",
        resourceGroupName: "resource_group_name_01",
        startAt: "2025-08-01T00:00:00Z",
        tags: {
            key1: "value1",
            key2: "value2",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    credit = azure_native.billingbenefits.Credit("credit",
        breakdown=[{
            "allocation": {
                "amount": 25000,
                "currency_code": "USD",
                "grain": azure_native.billingbenefits.CommitmentGrain.FULL_TERM,
            },
            "dimensions": [
                {
                    "key": "productFamily",
                    "value": "Azure",
                },
                {
                    "key": "productCode",
                    "value": "00002b30-0000-0260-d348-f3ffcd565473",
                },
                {
                    "key": "creditType",
                    "value": "EndCustomerInvestmentCredit",
                },
                {
                    "key": "supplierType",
                    "value": "External",
                },
            ],
            "end_at": "2025-08-31T23:59:59.999Z",
            "start_at": "2025-08-01T00:00:00Z",
        }],
        credit={
            "amount": 25000,
            "currency_code": "USD",
            "grain": azure_native.billingbenefits.CommitmentGrain.FULL_TERM,
        },
        credit_name="credit_20231212",
        end_at="2025-08-31T23:59:59.999Z",
        location="global",
        product_code="00002b30-0000-0260-d348-f3ffcd565473",
        resource_group_name="resource_group_name_01",
        start_at="2025-08-01T00:00:00Z",
        tags={
            "key1": "value1",
            "key2": "value2",
        })
    
    resources:
      credit:
        type: azure-native:billingbenefits:Credit
        properties:
          breakdown:
            - allocation:
                amount: 25000
                currencyCode: USD
                grain: FullTerm
              dimensions:
                - key: productFamily
                  value: Azure
                - key: productCode
                  value: 00002b30-0000-0260-d348-f3ffcd565473
                - key: creditType
                  value: EndCustomerInvestmentCredit
                - key: supplierType
                  value: External
              endAt: 2025-08-31T23:59:59.999Z
              startAt: 2025-08-01T00:00:00Z
          credit:
            amount: 25000
            currencyCode: USD
            grain: FullTerm
          creditName: credit_20231212
          endAt: 2025-08-31T23:59:59.999Z
          location: global
          productCode: 00002b30-0000-0260-d348-f3ffcd565473
          resourceGroupName: resource_group_name_01
          startAt: 2025-08-01T00:00:00Z
          tags:
            key1: value1
            key2: value2
    

    PromotionalCreditCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var credit = new AzureNative.BillingBenefits.Credit("credit", new()
        {
            CreditName = "credit_20231212",
            Location = "global",
            Policies = new AzureNative.BillingBenefits.Inputs.CreditPoliciesArgs
            {
                Expiration = AzureNative.BillingBenefits.CreditExpirationPolicy.SuspendBillingProfile,
                Redemption = AzureNative.BillingBenefits.CreditRedemptionPolicy.AutoRedeem,
            },
            ProductCode = "0002d726-0000-0160-330f-a0b98cdbbdc4",
            ResourceGroupName = "resource_group_name_01",
            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.NewCredit(ctx, "credit", &billingbenefits.CreditArgs{
    			CreditName: pulumi.String("credit_20231212"),
    			Location:   pulumi.String("global"),
    			Policies: &billingbenefits.CreditPoliciesArgs{
    				Expiration: pulumi.String(billingbenefits.CreditExpirationPolicySuspendBillingProfile),
    				Redemption: pulumi.String(billingbenefits.CreditRedemptionPolicyAutoRedeem),
    			},
    			ProductCode:       pulumi.String("0002d726-0000-0160-330f-a0b98cdbbdc4"),
    			ResourceGroupName: pulumi.String("resource_group_name_01"),
    			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.Credit;
    import com.pulumi.azurenative.billingbenefits.CreditArgs;
    import com.pulumi.azurenative.billingbenefits.inputs.CreditPoliciesArgs;
    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 credit = new Credit("credit", CreditArgs.builder()
                .creditName("credit_20231212")
                .location("global")
                .policies(CreditPoliciesArgs.builder()
                    .expiration("SuspendBillingProfile")
                    .redemption("AutoRedeem")
                    .build())
                .productCode("0002d726-0000-0160-330f-a0b98cdbbdc4")
                .resourceGroupName("resource_group_name_01")
                .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 credit = new azure_native.billingbenefits.Credit("credit", {
        creditName: "credit_20231212",
        location: "global",
        policies: {
            expiration: azure_native.billingbenefits.CreditExpirationPolicy.SuspendBillingProfile,
            redemption: azure_native.billingbenefits.CreditRedemptionPolicy.AutoRedeem,
        },
        productCode: "0002d726-0000-0160-330f-a0b98cdbbdc4",
        resourceGroupName: "resource_group_name_01",
        tags: {
            key1: "value1",
            key2: "value2",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    credit = azure_native.billingbenefits.Credit("credit",
        credit_name="credit_20231212",
        location="global",
        policies={
            "expiration": azure_native.billingbenefits.CreditExpirationPolicy.SUSPEND_BILLING_PROFILE,
            "redemption": azure_native.billingbenefits.CreditRedemptionPolicy.AUTO_REDEEM,
        },
        product_code="0002d726-0000-0160-330f-a0b98cdbbdc4",
        resource_group_name="resource_group_name_01",
        tags={
            "key1": "value1",
            "key2": "value2",
        })
    
    resources:
      credit:
        type: azure-native:billingbenefits:Credit
        properties:
          creditName: credit_20231212
          location: global
          policies:
            expiration: SuspendBillingProfile
            redemption: AutoRedeem
          productCode: 0002d726-0000-0160-330f-a0b98cdbbdc4
          resourceGroupName: resource_group_name_01
          tags:
            key1: value1
            key2: value2
    

    Create Credit Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Credit(name: string, args: CreditArgs, opts?: CustomResourceOptions);
    @overload
    def Credit(resource_name: str,
               args: CreditArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Credit(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               resource_group_name: Optional[str] = None,
               end_at: Optional[str] = None,
               product_code: Optional[str] = None,
               credit_name: Optional[str] = None,
               billing_account_resource_id: Optional[str] = None,
               identity: Optional[ManagedServiceIdentityArgs] = None,
               kind: Optional[str] = None,
               location: Optional[str] = None,
               managed_by: Optional[str] = None,
               credit: Optional[CommitmentArgs] = None,
               plan: Optional[PlanArgs] = None,
               policies: Optional[CreditPoliciesArgs] = None,
               breakdown: Optional[Sequence[CreditBreakdownItemArgs]] = None,
               resource_id: Optional[str] = None,
               sku: Optional[SkuArgs] = None,
               start_at: Optional[str] = None,
               status: Optional[Union[str, CreditStatus]] = None,
               system_id: Optional[str] = None,
               tags: Optional[Mapping[str, str]] = None)
    func NewCredit(ctx *Context, name string, args CreditArgs, opts ...ResourceOption) (*Credit, error)
    public Credit(string name, CreditArgs args, CustomResourceOptions? opts = null)
    public Credit(String name, CreditArgs args)
    public Credit(String name, CreditArgs args, CustomResourceOptions options)
    
    type: azure-native:billingbenefits:Credit
    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 CreditArgs
    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 CreditArgs
    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 CreditArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CreditArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CreditArgs
    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 creditResource = new AzureNative.BillingBenefits.Credit("creditResource", new()
    {
        ResourceGroupName = "string",
        EndAt = "string",
        ProductCode = "string",
        CreditName = "string",
        BillingAccountResourceId = "string",
        Identity = new AzureNative.BillingBenefits.Inputs.ManagedServiceIdentityArgs
        {
            Type = "string",
            UserAssignedIdentities = new[]
            {
                "string",
            },
        },
        Kind = "string",
        Location = "string",
        ManagedBy = "string",
        Credit = new AzureNative.BillingBenefits.Inputs.CommitmentArgs
        {
            Amount = 0,
            CurrencyCode = "string",
            Grain = "string",
        },
        Plan = new AzureNative.BillingBenefits.Inputs.PlanArgs
        {
            Name = "string",
            Product = "string",
            Publisher = "string",
            PromotionCode = "string",
            Version = "string",
        },
        Policies = new AzureNative.BillingBenefits.Inputs.CreditPoliciesArgs
        {
            Expiration = "string",
            Redemption = "string",
        },
        Breakdown = new[]
        {
            new AzureNative.BillingBenefits.Inputs.CreditBreakdownItemArgs
            {
                Allocation = new AzureNative.BillingBenefits.Inputs.CommitmentArgs
                {
                    Amount = 0,
                    CurrencyCode = "string",
                    Grain = "string",
                },
                Dimensions = new[]
                {
                    new AzureNative.BillingBenefits.Inputs.CreditDimensionArgs
                    {
                        Key = "string",
                        Value = "string",
                    },
                },
                EndAt = "string",
                StartAt = "string",
            },
        },
        ResourceId = "string",
        Sku = new AzureNative.BillingBenefits.Inputs.SkuArgs
        {
            Name = "string",
            Capacity = 0,
            Family = "string",
            Size = "string",
            Tier = AzureNative.BillingBenefits.SkuTier.Free,
        },
        StartAt = "string",
        Status = "string",
        SystemId = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := billingbenefits.NewCredit(ctx, "creditResource", &billingbenefits.CreditArgs{
    	ResourceGroupName:        pulumi.String("string"),
    	EndAt:                    pulumi.String("string"),
    	ProductCode:              pulumi.String("string"),
    	CreditName:               pulumi.String("string"),
    	BillingAccountResourceId: 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"),
    	Credit: &billingbenefits.CommitmentArgs{
    		Amount:       pulumi.Float64(0),
    		CurrencyCode: pulumi.String("string"),
    		Grain:        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"),
    	},
    	Policies: &billingbenefits.CreditPoliciesArgs{
    		Expiration: pulumi.String("string"),
    		Redemption: pulumi.String("string"),
    	},
    	Breakdown: billingbenefits.CreditBreakdownItemArray{
    		&billingbenefits.CreditBreakdownItemArgs{
    			Allocation: &billingbenefits.CommitmentArgs{
    				Amount:       pulumi.Float64(0),
    				CurrencyCode: pulumi.String("string"),
    				Grain:        pulumi.String("string"),
    			},
    			Dimensions: billingbenefits.CreditDimensionArray{
    				&billingbenefits.CreditDimensionArgs{
    					Key:   pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    			EndAt:   pulumi.String("string"),
    			StartAt: pulumi.String("string"),
    		},
    	},
    	ResourceId: 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,
    	},
    	StartAt:  pulumi.String("string"),
    	Status:   pulumi.String("string"),
    	SystemId: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var creditResource = new Credit("creditResource", CreditArgs.builder()
        .resourceGroupName("string")
        .endAt("string")
        .productCode("string")
        .creditName("string")
        .billingAccountResourceId("string")
        .identity(ManagedServiceIdentityArgs.builder()
            .type("string")
            .userAssignedIdentities("string")
            .build())
        .kind("string")
        .location("string")
        .managedBy("string")
        .credit(CommitmentArgs.builder()
            .amount(0.0)
            .currencyCode("string")
            .grain("string")
            .build())
        .plan(PlanArgs.builder()
            .name("string")
            .product("string")
            .publisher("string")
            .promotionCode("string")
            .version("string")
            .build())
        .policies(CreditPoliciesArgs.builder()
            .expiration("string")
            .redemption("string")
            .build())
        .breakdown(CreditBreakdownItemArgs.builder()
            .allocation(CommitmentArgs.builder()
                .amount(0.0)
                .currencyCode("string")
                .grain("string")
                .build())
            .dimensions(CreditDimensionArgs.builder()
                .key("string")
                .value("string")
                .build())
            .endAt("string")
            .startAt("string")
            .build())
        .resourceId("string")
        .sku(SkuArgs.builder()
            .name("string")
            .capacity(0)
            .family("string")
            .size("string")
            .tier("Free")
            .build())
        .startAt("string")
        .status("string")
        .systemId("string")
        .tags(Map.of("string", "string"))
        .build());
    
    credit_resource = azure_native.billingbenefits.Credit("creditResource",
        resource_group_name="string",
        end_at="string",
        product_code="string",
        credit_name="string",
        billing_account_resource_id="string",
        identity={
            "type": "string",
            "user_assigned_identities": ["string"],
        },
        kind="string",
        location="string",
        managed_by="string",
        credit={
            "amount": 0,
            "currency_code": "string",
            "grain": "string",
        },
        plan={
            "name": "string",
            "product": "string",
            "publisher": "string",
            "promotion_code": "string",
            "version": "string",
        },
        policies={
            "expiration": "string",
            "redemption": "string",
        },
        breakdown=[{
            "allocation": {
                "amount": 0,
                "currency_code": "string",
                "grain": "string",
            },
            "dimensions": [{
                "key": "string",
                "value": "string",
            }],
            "end_at": "string",
            "start_at": "string",
        }],
        resource_id="string",
        sku={
            "name": "string",
            "capacity": 0,
            "family": "string",
            "size": "string",
            "tier": azure_native.billingbenefits.SkuTier.FREE,
        },
        start_at="string",
        status="string",
        system_id="string",
        tags={
            "string": "string",
        })
    
    const creditResource = new azure_native.billingbenefits.Credit("creditResource", {
        resourceGroupName: "string",
        endAt: "string",
        productCode: "string",
        creditName: "string",
        billingAccountResourceId: "string",
        identity: {
            type: "string",
            userAssignedIdentities: ["string"],
        },
        kind: "string",
        location: "string",
        managedBy: "string",
        credit: {
            amount: 0,
            currencyCode: "string",
            grain: "string",
        },
        plan: {
            name: "string",
            product: "string",
            publisher: "string",
            promotionCode: "string",
            version: "string",
        },
        policies: {
            expiration: "string",
            redemption: "string",
        },
        breakdown: [{
            allocation: {
                amount: 0,
                currencyCode: "string",
                grain: "string",
            },
            dimensions: [{
                key: "string",
                value: "string",
            }],
            endAt: "string",
            startAt: "string",
        }],
        resourceId: "string",
        sku: {
            name: "string",
            capacity: 0,
            family: "string",
            size: "string",
            tier: azure_native.billingbenefits.SkuTier.Free,
        },
        startAt: "string",
        status: "string",
        systemId: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:billingbenefits:Credit
    properties:
        billingAccountResourceId: string
        breakdown:
            - allocation:
                amount: 0
                currencyCode: string
                grain: string
              dimensions:
                - key: string
                  value: string
              endAt: string
              startAt: string
        credit:
            amount: 0
            currencyCode: string
            grain: string
        creditName: string
        endAt: string
        identity:
            type: string
            userAssignedIdentities:
                - string
        kind: string
        location: string
        managedBy: string
        plan:
            name: string
            product: string
            promotionCode: string
            publisher: string
            version: string
        policies:
            expiration: string
            redemption: string
        productCode: string
        resourceGroupName: string
        resourceId: string
        sku:
            capacity: 0
            family: string
            name: string
            size: string
            tier: Free
        startAt: string
        status: string
        systemId: string
        tags:
            string: string
    

    Credit 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 Credit resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    BillingAccountResourceId string
    Fully-qualified identifier of the billing account where the benefit is applied. Present only for Enterprise Agreement customers.
    Breakdown List<Pulumi.AzureNative.BillingBenefits.Inputs.CreditBreakdownItem>
    Credit line-items/milestones/no-charge services breakdown
    Credit Pulumi.AzureNative.BillingBenefits.Inputs.Commitment
    The entire investment amount for the credit contract, including currency and amount
    CreditName string
    Name of the credit
    EndAt string
    End DateTime in UTC.
    Identity Pulumi.AzureNative.BillingBenefits.Inputs.ManagedServiceIdentity
    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
    ManagedBy 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.AzureNative.BillingBenefits.Inputs.Plan
    Plan for the resource.
    Policies Pulumi.AzureNative.BillingBenefits.Inputs.CreditPolicies
    Credit breakdown item representing a milestone, line-item, or no-charge service
    ProductCode string
    Product UPN for the credit type
    ResourceId string
    Fully-qualified resource identifier of the resource. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/{benefitType}/{benefitName}.
    Sku Pulumi.AzureNative.BillingBenefits.Inputs.Sku
    The resource model definition representing SKU
    StartAt string
    Start DateTime.
    Status string | Pulumi.AzureNative.BillingBenefits.CreditStatus
    Status of the credit
    SystemId string
    System identifier
    Tags Dictionary<string, string>
    Resource tags.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    BillingAccountResourceId string
    Fully-qualified identifier of the billing account where the benefit is applied. Present only for Enterprise Agreement customers.
    Breakdown []CreditBreakdownItemArgs
    Credit line-items/milestones/no-charge services breakdown
    Credit CommitmentArgs
    The entire investment amount for the credit contract, including currency and amount
    CreditName string
    Name of the credit
    EndAt string
    End DateTime in UTC.
    Identity ManagedServiceIdentityArgs
    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
    ManagedBy 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 PlanArgs
    Plan for the resource.
    Policies CreditPoliciesArgs
    Credit breakdown item representing a milestone, line-item, or no-charge service
    ProductCode string
    Product UPN for the credit type
    ResourceId string
    Fully-qualified resource identifier of the resource. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/{benefitType}/{benefitName}.
    Sku SkuArgs
    The resource model definition representing SKU
    StartAt string
    Start DateTime.
    Status string | CreditStatus
    Status of the credit
    SystemId string
    System identifier
    Tags map[string]string
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    billingAccountResourceId String
    Fully-qualified identifier of the billing account where the benefit is applied. Present only for Enterprise Agreement customers.
    breakdown List<CreditBreakdownItem>
    Credit line-items/milestones/no-charge services breakdown
    credit Commitment
    The entire investment amount for the credit contract, including currency and amount
    creditName String
    Name of the credit
    endAt String
    End DateTime in UTC.
    identity ManagedServiceIdentity
    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
    managedBy 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.
    policies CreditPolicies
    Credit breakdown item representing a milestone, line-item, or no-charge service
    productCode String
    Product UPN for the credit type
    resourceId String
    Fully-qualified resource identifier of the resource. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/{benefitType}/{benefitName}.
    sku Sku
    The resource model definition representing SKU
    startAt String
    Start DateTime.
    status String | CreditStatus
    Status of the credit
    systemId String
    System identifier
    tags Map<String,String>
    Resource tags.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    billingAccountResourceId string
    Fully-qualified identifier of the billing account where the benefit is applied. Present only for Enterprise Agreement customers.
    breakdown CreditBreakdownItem[]
    Credit line-items/milestones/no-charge services breakdown
    credit Commitment
    The entire investment amount for the credit contract, including currency and amount
    creditName string
    Name of the credit
    endAt string
    End DateTime in UTC.
    identity ManagedServiceIdentity
    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
    managedBy 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.
    policies CreditPolicies
    Credit breakdown item representing a milestone, line-item, or no-charge service
    productCode string
    Product UPN for the credit type
    resourceId string
    Fully-qualified resource identifier of the resource. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/{benefitType}/{benefitName}.
    sku Sku
    The resource model definition representing SKU
    startAt string
    Start DateTime.
    status string | CreditStatus
    Status of the credit
    systemId string
    System identifier
    tags {[key: string]: string}
    Resource tags.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    billing_account_resource_id str
    Fully-qualified identifier of the billing account where the benefit is applied. Present only for Enterprise Agreement customers.
    breakdown Sequence[CreditBreakdownItemArgs]
    Credit line-items/milestones/no-charge services breakdown
    credit CommitmentArgs
    The entire investment amount for the credit contract, including currency and amount
    credit_name str
    Name of the credit
    end_at str
    End DateTime in UTC.
    identity ManagedServiceIdentityArgs
    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 PlanArgs
    Plan for the resource.
    policies CreditPoliciesArgs
    Credit breakdown item representing a milestone, line-item, or no-charge service
    product_code str
    Product UPN for the credit type
    resource_id str
    Fully-qualified resource identifier of the resource. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/{benefitType}/{benefitName}.
    sku SkuArgs
    The resource model definition representing SKU
    start_at str
    Start DateTime.
    status str | CreditStatus
    Status of the credit
    system_id str
    System identifier
    tags Mapping[str, str]
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    billingAccountResourceId String
    Fully-qualified identifier of the billing account where the benefit is applied. Present only for Enterprise Agreement customers.
    breakdown List<Property Map>
    Credit line-items/milestones/no-charge services breakdown
    credit Property Map
    The entire investment amount for the credit contract, including currency and amount
    creditName String
    Name of the credit
    endAt String
    End DateTime in UTC.
    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
    managedBy 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.
    policies Property Map
    Credit breakdown item representing a milestone, line-item, or no-charge service
    productCode String
    Product UPN for the credit type
    resourceId String
    Fully-qualified resource identifier of the resource. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/{benefitType}/{benefitName}.
    sku Property Map
    The resource model definition representing SKU
    startAt String
    Start DateTime.
    status String | "Unknown" | "Pending" | "Active" | "Succeeded" | "Canceled" | "Failed" | "Expired" | "Exhausted" | "NotStarted"
    Status of the credit
    systemId String
    System identifier
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Credit resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    BillingProfileResourceId string
    Fully-qualified identifier of the billing profile where the benefit is applied. Present only for Field-led or Customer-led customers.
    CustomerId string
    Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers. Format is /providers/Microsoft.Billing/billingAccounts/{acctId:orgId}
    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
    ProvisioningState string
    Provisioning state
    SystemData Pulumi.AzureNative.BillingBenefits.Outputs.SystemDataResponse
    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"
    Reason Pulumi.AzureNative.BillingBenefits.Outputs.CreditReasonResponse
    The reason for the credit. Not required if not applicable.
    AzureApiVersion string
    The Azure API version of the resource.
    BillingProfileResourceId string
    Fully-qualified identifier of the billing profile where the benefit is applied. Present only for Field-led or Customer-led customers.
    CustomerId string
    Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers. Format is /providers/Microsoft.Billing/billingAccounts/{acctId:orgId}
    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
    ProvisioningState string
    Provisioning state
    SystemData SystemDataResponse
    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"
    Reason CreditReasonResponse
    The reason for the credit. Not required if not applicable.
    azureApiVersion String
    The Azure API version of the resource.
    billingProfileResourceId String
    Fully-qualified identifier of the billing profile where the benefit is applied. Present only for Field-led or Customer-led customers.
    customerId String
    Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers. Format is /providers/Microsoft.Billing/billingAccounts/{acctId:orgId}
    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
    provisioningState String
    Provisioning state
    systemData SystemDataResponse
    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"
    reason CreditReasonResponse
    The reason for the credit. Not required if not applicable.
    azureApiVersion string
    The Azure API version of the resource.
    billingProfileResourceId string
    Fully-qualified identifier of the billing profile where the benefit is applied. Present only for Field-led or Customer-led customers.
    customerId string
    Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers. Format is /providers/Microsoft.Billing/billingAccounts/{acctId:orgId}
    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
    provisioningState string
    Provisioning state
    systemData SystemDataResponse
    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"
    reason CreditReasonResponse
    The reason for the credit. Not required if not applicable.
    azure_api_version str
    The Azure API version of the resource.
    billing_profile_resource_id str
    Fully-qualified identifier of the billing profile where the benefit is applied. Present only for Field-led or Customer-led customers.
    customer_id str
    Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers. Format is /providers/Microsoft.Billing/billingAccounts/{acctId:orgId}
    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
    provisioning_state str
    Provisioning state
    system_data SystemDataResponse
    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"
    reason CreditReasonResponse
    The reason for the credit. Not required if not applicable.
    azureApiVersion String
    The Azure API version of the resource.
    billingProfileResourceId String
    Fully-qualified identifier of the billing profile where the benefit is applied. Present only for Field-led or Customer-led customers.
    customerId String
    Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers. Format is /providers/Microsoft.Billing/billingAccounts/{acctId:orgId}
    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
    provisioningState String
    Provisioning state
    systemData 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"
    reason Property Map
    The reason for the credit. Not required if not applicable.

    Supporting Types

    Commitment, CommitmentArgs

    Commitment towards the benefit.
    Amount double
    CurrencyCode string
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    Grain string | Pulumi.AzureNative.BillingBenefits.CommitmentGrain
    The grain of the commitment.
    Amount float64
    CurrencyCode string
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    Grain string | CommitmentGrain
    The grain of the commitment.
    amount Double
    currencyCode String
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    grain String | CommitmentGrain
    The grain of the commitment.
    amount number
    currencyCode string
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    grain string | CommitmentGrain
    The grain of the commitment.
    amount float
    currency_code str
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    grain str | CommitmentGrain
    The grain of the commitment.
    amount Number
    currencyCode String
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    grain String | "Unknown" | "Hourly" | "FullTerm"
    The grain of the commitment.

    CommitmentGrain, CommitmentGrainArgs

    Unknown
    Unknown
    Hourly
    Hourly
    FullTerm
    FullTerm
    CommitmentGrainUnknown
    Unknown
    CommitmentGrainHourly
    Hourly
    CommitmentGrainFullTerm
    FullTerm
    Unknown
    Unknown
    Hourly
    Hourly
    FullTerm
    FullTerm
    Unknown
    Unknown
    Hourly
    Hourly
    FullTerm
    FullTerm
    UNKNOWN
    Unknown
    HOURLY
    Hourly
    FULL_TERM
    FullTerm
    "Unknown"
    Unknown
    "Hourly"
    Hourly
    "FullTerm"
    FullTerm

    CommitmentResponse, CommitmentResponseArgs

    Commitment towards the benefit.
    Amount double
    CurrencyCode string
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    Grain string
    The grain of the commitment.
    Amount float64
    CurrencyCode string
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    Grain string
    The grain of the commitment.
    amount Double
    currencyCode String
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    grain String
    The grain of the commitment.
    amount number
    currencyCode string
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    grain string
    The grain of the commitment.
    amount float
    currency_code str
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    grain str
    The grain of the commitment.
    amount Number
    currencyCode String
    The ISO 4217 3-letter currency code for the currency used by this purchase record.
    grain String
    The grain of the commitment.

    CreditBreakdownItem, CreditBreakdownItemArgs

    Credit breakdown item representing a milestone, line-item, or no-charge service
    Allocation Pulumi.AzureNative.BillingBenefits.Inputs.Commitment
    Allocation details including currency and amount for this breakdown item
    Dimensions List<Pulumi.AzureNative.BillingBenefits.Inputs.CreditDimension>
    Key-value pairs for additional parameters and metadata
    EndAt string
    End DateTime in UTC.
    StartAt string
    Start DateTime.
    Allocation Commitment
    Allocation details including currency and amount for this breakdown item
    Dimensions []CreditDimension
    Key-value pairs for additional parameters and metadata
    EndAt string
    End DateTime in UTC.
    StartAt string
    Start DateTime.
    allocation Commitment
    Allocation details including currency and amount for this breakdown item
    dimensions List<CreditDimension>
    Key-value pairs for additional parameters and metadata
    endAt String
    End DateTime in UTC.
    startAt String
    Start DateTime.
    allocation Commitment
    Allocation details including currency and amount for this breakdown item
    dimensions CreditDimension[]
    Key-value pairs for additional parameters and metadata
    endAt string
    End DateTime in UTC.
    startAt string
    Start DateTime.
    allocation Commitment
    Allocation details including currency and amount for this breakdown item
    dimensions Sequence[CreditDimension]
    Key-value pairs for additional parameters and metadata
    end_at str
    End DateTime in UTC.
    start_at str
    Start DateTime.
    allocation Property Map
    Allocation details including currency and amount for this breakdown item
    dimensions List<Property Map>
    Key-value pairs for additional parameters and metadata
    endAt String
    End DateTime in UTC.
    startAt String
    Start DateTime.

    CreditBreakdownItemResponse, CreditBreakdownItemResponseArgs

    Credit breakdown item representing a milestone, line-item, or no-charge service
    Allocation Pulumi.AzureNative.BillingBenefits.Inputs.CommitmentResponse
    Allocation details including currency and amount for this breakdown item
    Dimensions List<Pulumi.AzureNative.BillingBenefits.Inputs.CreditDimensionResponse>
    Key-value pairs for additional parameters and metadata
    EndAt string
    End DateTime in UTC.
    StartAt string
    Start DateTime.
    Allocation CommitmentResponse
    Allocation details including currency and amount for this breakdown item
    Dimensions []CreditDimensionResponse
    Key-value pairs for additional parameters and metadata
    EndAt string
    End DateTime in UTC.
    StartAt string
    Start DateTime.
    allocation CommitmentResponse
    Allocation details including currency and amount for this breakdown item
    dimensions List<CreditDimensionResponse>
    Key-value pairs for additional parameters and metadata
    endAt String
    End DateTime in UTC.
    startAt String
    Start DateTime.
    allocation CommitmentResponse
    Allocation details including currency and amount for this breakdown item
    dimensions CreditDimensionResponse[]
    Key-value pairs for additional parameters and metadata
    endAt string
    End DateTime in UTC.
    startAt string
    Start DateTime.
    allocation CommitmentResponse
    Allocation details including currency and amount for this breakdown item
    dimensions Sequence[CreditDimensionResponse]
    Key-value pairs for additional parameters and metadata
    end_at str
    End DateTime in UTC.
    start_at str
    Start DateTime.
    allocation Property Map
    Allocation details including currency and amount for this breakdown item
    dimensions List<Property Map>
    Key-value pairs for additional parameters and metadata
    endAt String
    End DateTime in UTC.
    startAt String
    Start DateTime.

    CreditDimension, CreditDimensionArgs

    Key-value pair for additional credit parameters and metadata
    Key string
    The dimension key (e.g., productFamily, description, creditType)
    Value string
    The dimension value
    Key string
    The dimension key (e.g., productFamily, description, creditType)
    Value string
    The dimension value
    key String
    The dimension key (e.g., productFamily, description, creditType)
    value String
    The dimension value
    key string
    The dimension key (e.g., productFamily, description, creditType)
    value string
    The dimension value
    key str
    The dimension key (e.g., productFamily, description, creditType)
    value str
    The dimension value
    key String
    The dimension key (e.g., productFamily, description, creditType)
    value String
    The dimension value

    CreditDimensionResponse, CreditDimensionResponseArgs

    Key-value pair for additional credit parameters and metadata
    Key string
    The dimension key (e.g., productFamily, description, creditType)
    Value string
    The dimension value
    Key string
    The dimension key (e.g., productFamily, description, creditType)
    Value string
    The dimension value
    key String
    The dimension key (e.g., productFamily, description, creditType)
    value String
    The dimension value
    key string
    The dimension key (e.g., productFamily, description, creditType)
    value string
    The dimension value
    key str
    The dimension key (e.g., productFamily, description, creditType)
    value str
    The dimension value
    key String
    The dimension key (e.g., productFamily, description, creditType)
    value String
    The dimension value

    CreditExpirationPolicy, CreditExpirationPolicyArgs

    None
    None No policy applied to the expiration of this credit
    SuspendBillingProfile
    SuspendBillingProfile Billing profile is suspended when the credit expires
    CreditExpirationPolicyNone
    None No policy applied to the expiration of this credit
    CreditExpirationPolicySuspendBillingProfile
    SuspendBillingProfile Billing profile is suspended when the credit expires
    None
    None No policy applied to the expiration of this credit
    SuspendBillingProfile
    SuspendBillingProfile Billing profile is suspended when the credit expires
    None
    None No policy applied to the expiration of this credit
    SuspendBillingProfile
    SuspendBillingProfile Billing profile is suspended when the credit expires
    NONE
    None No policy applied to the expiration of this credit
    SUSPEND_BILLING_PROFILE
    SuspendBillingProfile Billing profile is suspended when the credit expires
    "None"
    None No policy applied to the expiration of this credit
    "SuspendBillingProfile"
    SuspendBillingProfile Billing profile is suspended when the credit expires

    CreditPolicies, CreditPoliciesArgs

    Credit breakdown item representing a milestone, line-item, or no-charge service
    Expiration string | CreditExpirationPolicy
    Expiration policy of the Credit
    Redemption string | CreditRedemptionPolicy
    Redemption policy of the Credit
    expiration String | CreditExpirationPolicy
    Expiration policy of the Credit
    redemption String | CreditRedemptionPolicy
    Redemption policy of the Credit
    expiration string | CreditExpirationPolicy
    Expiration policy of the Credit
    redemption string | CreditRedemptionPolicy
    Redemption policy of the Credit
    expiration str | CreditExpirationPolicy
    Expiration policy of the Credit
    redemption str | CreditRedemptionPolicy
    Redemption policy of the Credit
    expiration String | "None" | "SuspendBillingProfile"
    Expiration policy of the Credit
    redemption String | "NotApplicable" | "AutoRedeem" | "ManualRedeem"
    Redemption policy of the Credit

    CreditPoliciesResponse, CreditPoliciesResponseArgs

    Credit breakdown item representing a milestone, line-item, or no-charge service
    Expiration string
    Expiration policy of the Credit
    Redemption string
    Redemption policy of the Credit
    Expiration string
    Expiration policy of the Credit
    Redemption string
    Redemption policy of the Credit
    expiration String
    Expiration policy of the Credit
    redemption String
    Redemption policy of the Credit
    expiration string
    Expiration policy of the Credit
    redemption string
    Redemption policy of the Credit
    expiration str
    Expiration policy of the Credit
    redemption str
    Redemption policy of the Credit
    expiration String
    Expiration policy of the Credit
    redemption String
    Redemption policy of the Credit

    CreditReasonResponse, CreditReasonResponseArgs

    The reason for the credit. Not required if not applicable.
    Code double
    The reason code for credit.
    Description string
    The free string description of the credit.
    Code float64
    The reason code for credit.
    Description string
    The free string description of the credit.
    code Double
    The reason code for credit.
    description String
    The free string description of the credit.
    code number
    The reason code for credit.
    description string
    The free string description of the credit.
    code float
    The reason code for credit.
    description str
    The free string description of the credit.
    code Number
    The reason code for credit.
    description String
    The free string description of the credit.

    CreditRedemptionPolicy, CreditRedemptionPolicyArgs

    NotApplicable
    NotApplicable Redemption policy is not applicable for this credit
    AutoRedeem
    AutoRedeem Credit is automatically redeemed
    ManualRedeem
    ManualRedeem Credit is manually redeemed
    CreditRedemptionPolicyNotApplicable
    NotApplicable Redemption policy is not applicable for this credit
    CreditRedemptionPolicyAutoRedeem
    AutoRedeem Credit is automatically redeemed
    CreditRedemptionPolicyManualRedeem
    ManualRedeem Credit is manually redeemed
    NotApplicable
    NotApplicable Redemption policy is not applicable for this credit
    AutoRedeem
    AutoRedeem Credit is automatically redeemed
    ManualRedeem
    ManualRedeem Credit is manually redeemed
    NotApplicable
    NotApplicable Redemption policy is not applicable for this credit
    AutoRedeem
    AutoRedeem Credit is automatically redeemed
    ManualRedeem
    ManualRedeem Credit is manually redeemed
    NOT_APPLICABLE
    NotApplicable Redemption policy is not applicable for this credit
    AUTO_REDEEM
    AutoRedeem Credit is automatically redeemed
    MANUAL_REDEEM
    ManualRedeem Credit is manually redeemed
    "NotApplicable"
    NotApplicable Redemption policy is not applicable for this credit
    "AutoRedeem"
    AutoRedeem Credit is automatically redeemed
    "ManualRedeem"
    ManualRedeem Credit is manually redeemed

    CreditStatus, CreditStatusArgs

    Unknown
    Unknown Credit status is unknown
    Pending
    Pending Credit is pending activation
    Active
    Active Credit is active and available for use
    Succeeded
    Succeeded Credit operation succeeded
    Canceled
    Canceled Credit has been cancelled
    Failed
    Failed Credit operation failed
    Expired
    Expired Credit has expired
    Exhausted
    Exhausted Credit has been fully consumed
    NotStarted
    NotStarted Credit application has not started yet
    CreditStatusUnknown
    Unknown Credit status is unknown
    CreditStatusPending
    Pending Credit is pending activation
    CreditStatusActive
    Active Credit is active and available for use
    CreditStatusSucceeded
    Succeeded Credit operation succeeded
    CreditStatusCanceled
    Canceled Credit has been cancelled
    CreditStatusFailed
    Failed Credit operation failed
    CreditStatusExpired
    Expired Credit has expired
    CreditStatusExhausted
    Exhausted Credit has been fully consumed
    CreditStatusNotStarted
    NotStarted Credit application has not started yet
    Unknown
    Unknown Credit status is unknown
    Pending
    Pending Credit is pending activation
    Active
    Active Credit is active and available for use
    Succeeded
    Succeeded Credit operation succeeded
    Canceled
    Canceled Credit has been cancelled
    Failed
    Failed Credit operation failed
    Expired
    Expired Credit has expired
    Exhausted
    Exhausted Credit has been fully consumed
    NotStarted
    NotStarted Credit application has not started yet
    Unknown
    Unknown Credit status is unknown
    Pending
    Pending Credit is pending activation
    Active
    Active Credit is active and available for use
    Succeeded
    Succeeded Credit operation succeeded
    Canceled
    Canceled Credit has been cancelled
    Failed
    Failed Credit operation failed
    Expired
    Expired Credit has expired
    Exhausted
    Exhausted Credit has been fully consumed
    NotStarted
    NotStarted Credit application has not started yet
    UNKNOWN
    Unknown Credit status is unknown
    PENDING
    Pending Credit is pending activation
    ACTIVE
    Active Credit is active and available for use
    SUCCEEDED
    Succeeded Credit operation succeeded
    CANCELED
    Canceled Credit has been cancelled
    FAILED
    Failed Credit operation failed
    EXPIRED
    Expired Credit has expired
    EXHAUSTED
    Exhausted Credit has been fully consumed
    NOT_STARTED
    NotStarted Credit application has not started yet
    "Unknown"
    Unknown Credit status is unknown
    "Pending"
    Pending Credit is pending activation
    "Active"
    Active Credit is active and available for use
    "Succeeded"
    Succeeded Credit operation succeeded
    "Canceled"
    Canceled Credit has been cancelled
    "Failed"
    Failed Credit operation failed
    "Expired"
    Expired Credit has expired
    "Exhausted"
    Exhausted Credit has been fully consumed
    "NotStarted"
    NotStarted Credit application has not started yet

    ManagedServiceIdentity, ManagedServiceIdentityArgs

    Managed service identity (system assigned and/or user assigned identities)
    Type string | Pulumi.AzureNative.BillingBenefits.ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities List<string>
    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 | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities []string
    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 | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities List<String>
    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 | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities string[]
    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 | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    user_assigned_identities Sequence[str]
    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" | "SystemAssigned" | "UserAssigned" | "SystemAssigned,UserAssigned"
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities List<String>
    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)
    PrincipalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantId 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).
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.BillingBenefits.Inputs.UserAssignedIdentityResponse>
    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.
    PrincipalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantId 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).
    UserAssignedIdentities map[string]UserAssignedIdentityResponse
    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.
    principalId String
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId 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).
    userAssignedIdentities Map<String,UserAssignedIdentityResponse>
    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.
    principalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId 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).
    userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
    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_identities Mapping[str, UserAssignedIdentityResponse]
    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.
    principalId String
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId 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).
    userAssignedIdentities Map<Property Map>
    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
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    ManagedServiceIdentityTypeNone
    None
    ManagedServiceIdentityTypeSystemAssigned
    SystemAssigned
    ManagedServiceIdentityTypeUserAssigned
    UserAssigned
    ManagedServiceIdentityType_SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    NONE
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    USER_ASSIGNED
    UserAssigned
    SYSTEM_ASSIGNED_USER_ASSIGNED
    SystemAssigned,UserAssigned
    "None"
    None
    "SystemAssigned"
    SystemAssigned
    "UserAssigned"
    UserAssigned
    "SystemAssigned,UserAssigned"
    SystemAssigned,UserAssigned

    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
    PromotionCode 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
    PromotionCode 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
    promotionCode 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
    promotionCode 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
    promotionCode 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
    PromotionCode 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
    PromotionCode 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
    promotionCode 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
    promotionCode 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
    promotionCode 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.

    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.AzureNative.BillingBenefits.SkuTier
    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 SkuTier
    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 SkuTier
    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 SkuTier
    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 SkuTier
    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
    SkuTierFree
    Free
    SkuTierBasic
    Basic
    SkuTierStandard
    Standard
    SkuTierPremium
    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.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs

    User assigned identity properties
    ClientId string
    The client ID of the assigned identity.
    PrincipalId string
    The principal ID of the assigned identity.
    ClientId string
    The client ID of the assigned identity.
    PrincipalId string
    The principal ID of the assigned identity.
    clientId String
    The client ID of the assigned identity.
    principalId String
    The principal ID of the assigned identity.
    clientId string
    The client ID of the assigned identity.
    principalId 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.
    clientId String
    The client ID of the assigned identity.
    principalId 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:Credit credit_20231212 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate