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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Billing
Account stringResource Id - Fully-qualified identifier of the billing account where the benefit is applied. Present only for Enterprise Agreement customers.
- Breakdown
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Credit Breakdown Item> - Credit line-items/milestones/no-charge services breakdown
- Credit
Pulumi.
Azure Native. Billing Benefits. Inputs. Commitment - The entire investment amount for the credit contract, including currency and amount
- Credit
Name string - Name of the credit
- End
At string - End DateTime in UTC.
- Identity
Pulumi.
Azure Native. Billing Benefits. Inputs. Managed Service Identity - Managed service identity (system assigned and/or user assigned identities)
- Kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- Location string
- The geo-location where the resource lives
- Managed
By string - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- Plan
Pulumi.
Azure Native. Billing Benefits. Inputs. Plan - Plan for the resource.
- Policies
Pulumi.
Azure Native. Billing Benefits. Inputs. Credit Policies - Credit breakdown item representing a milestone, line-item, or no-charge service
- Product
Code string - Product UPN for the credit type
- Resource
Id string - Fully-qualified resource identifier of the resource. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/{benefitType}/{benefitName}.
- Sku
Pulumi.
Azure Native. Billing Benefits. Inputs. Sku - The resource model definition representing SKU
- Start
At string - Start DateTime.
- Status
string | Pulumi.
Azure Native. Billing Benefits. Credit Status - Status of the credit
- System
Id string - System identifier
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Billing
Account stringResource Id - Fully-qualified identifier of the billing account where the benefit is applied. Present only for Enterprise Agreement customers.
- Breakdown
[]Credit
Breakdown Item Args - Credit line-items/milestones/no-charge services breakdown
- Credit
Commitment
Args - The entire investment amount for the credit contract, including currency and amount
- Credit
Name string - Name of the credit
- End
At string - End DateTime in UTC.
- Identity
Managed
Service Identity Args - Managed service identity (system assigned and/or user assigned identities)
- Kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- Location string
- The geo-location where the resource lives
- Managed
By string - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- Plan
Plan
Args - Plan for the resource.
- Policies
Credit
Policies Args - Credit breakdown item representing a milestone, line-item, or no-charge service
- Product
Code string - Product UPN for the credit type
- Resource
Id string - Fully-qualified resource identifier of the resource. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/{benefitType}/{benefitName}.
- Sku
Sku
Args - The resource model definition representing SKU
- Start
At string - Start DateTime.
- Status
string | Credit
Status - Status of the credit
- System
Id string - System identifier
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- billing
Account StringResource Id - Fully-qualified identifier of the billing account where the benefit is applied. Present only for Enterprise Agreement customers.
- breakdown
List<Credit
Breakdown Item> - Credit line-items/milestones/no-charge services breakdown
- credit Commitment
- The entire investment amount for the credit contract, including currency and amount
- credit
Name String - Name of the credit
- end
At String - End DateTime in UTC.
- identity
Managed
Service Identity - Managed service identity (system assigned and/or user assigned identities)
- kind String
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- location String
- The geo-location where the resource lives
- managed
By String - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- plan Plan
- Plan for the resource.
- policies
Credit
Policies - Credit breakdown item representing a milestone, line-item, or no-charge service
- product
Code String - Product UPN for the credit type
- resource
Id 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
- start
At String - Start DateTime.
- status
String | Credit
Status - Status of the credit
- system
Id String - System identifier
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- billing
Account stringResource Id - Fully-qualified identifier of the billing account where the benefit is applied. Present only for Enterprise Agreement customers.
- breakdown
Credit
Breakdown Item[] - Credit line-items/milestones/no-charge services breakdown
- credit Commitment
- The entire investment amount for the credit contract, including currency and amount
- credit
Name string - Name of the credit
- end
At string - End DateTime in UTC.
- identity
Managed
Service Identity - Managed service identity (system assigned and/or user assigned identities)
- kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- location string
- The geo-location where the resource lives
- managed
By string - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- plan Plan
- Plan for the resource.
- policies
Credit
Policies - Credit breakdown item representing a milestone, line-item, or no-charge service
- product
Code string - Product UPN for the credit type
- resource
Id 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
- start
At string - Start DateTime.
- status
string | Credit
Status - Status of the credit
- system
Id string - System identifier
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- billing_
account_ strresource_ id - Fully-qualified identifier of the billing account where the benefit is applied. Present only for Enterprise Agreement customers.
- breakdown
Sequence[Credit
Breakdown Item Args] - Credit line-items/milestones/no-charge services breakdown
- credit
Commitment
Args - 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
Managed
Service Identity Args - Managed service identity (system assigned and/or user assigned identities)
- kind str
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- location str
- The geo-location where the resource lives
- managed_
by str - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- plan
Plan
Args - Plan for the resource.
- policies
Credit
Policies Args - 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
Sku
Args - The resource model definition representing SKU
- start_
at str - Start DateTime.
- status
str | Credit
Status - Status of the credit
- system_
id str - System identifier
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- billing
Account StringResource Id - 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
- credit
Name String - Name of the credit
- end
At 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
- managed
By String - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- plan Property Map
- Plan for the resource.
- policies Property Map
- Credit breakdown item representing a milestone, line-item, or no-charge service
- product
Code String - Product UPN for the credit type
- resource
Id 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
- start
At String - Start DateTime.
- status
String | "Unknown" | "Pending" | "Active" | "Succeeded" | "Canceled" | "Failed" | "Expired" | "Exhausted" | "Not
Started" - Status of the credit
- system
Id String - System identifier
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Credit resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Billing
Profile stringResource Id - Fully-qualified identifier of the billing profile where the benefit is applied. Present only for Field-led or Customer-led customers.
- Customer
Id 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
- Provisioning
State string - Provisioning state
- System
Data Pulumi.Azure Native. Billing Benefits. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Reason
Pulumi.
Azure Native. Billing Benefits. Outputs. Credit Reason Response - The reason for the credit. Not required if not applicable.
- Azure
Api stringVersion - The Azure API version of the resource.
- Billing
Profile stringResource Id - Fully-qualified identifier of the billing profile where the benefit is applied. Present only for Field-led or Customer-led customers.
- Customer
Id 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
- Provisioning
State string - Provisioning state
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Reason
Credit
Reason Response - The reason for the credit. Not required if not applicable.
- azure
Api StringVersion - The Azure API version of the resource.
- billing
Profile StringResource Id - Fully-qualified identifier of the billing profile where the benefit is applied. Present only for Field-led or Customer-led customers.
- customer
Id 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
- provisioning
State String - Provisioning state
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- reason
Credit
Reason Response - The reason for the credit. Not required if not applicable.
- azure
Api stringVersion - The Azure API version of the resource.
- billing
Profile stringResource Id - Fully-qualified identifier of the billing profile where the benefit is applied. Present only for Field-led or Customer-led customers.
- customer
Id 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
- provisioning
State string - Provisioning state
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- reason
Credit
Reason Response - The reason for the credit. Not required if not applicable.
- azure_
api_ strversion - The Azure API version of the resource.
- billing_
profile_ strresource_ id - 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 SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- reason
Credit
Reason Response - The reason for the credit. Not required if not applicable.
- azure
Api StringVersion - The Azure API version of the resource.
- billing
Profile StringResource Id - Fully-qualified identifier of the billing profile where the benefit is applied. Present only for Field-led or Customer-led customers.
- customer
Id 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
- provisioning
State String - Provisioning state
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- reason Property Map
- The reason for the credit. Not required if not applicable.
Supporting Types
Commitment, CommitmentArgs
Commitment towards the benefit.- Amount double
- Currency
Code string - The ISO 4217 3-letter currency code for the currency used by this purchase record.
- Grain
string | Pulumi.
Azure Native. Billing Benefits. Commitment Grain - The grain of the commitment.
- Amount float64
- Currency
Code string - The ISO 4217 3-letter currency code for the currency used by this purchase record.
- Grain
string | Commitment
Grain - The grain of the commitment.
- amount Double
- currency
Code String - The ISO 4217 3-letter currency code for the currency used by this purchase record.
- grain
String | Commitment
Grain - The grain of the commitment.
- amount number
- currency
Code string - The ISO 4217 3-letter currency code for the currency used by this purchase record.
- grain
string | Commitment
Grain - 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 | Commitment
Grain - The grain of the commitment.
- amount Number
- currency
Code String - The ISO 4217 3-letter currency code for the currency used by this purchase record.
- grain
String | "Unknown" | "Hourly" | "Full
Term" - The grain of the commitment.
CommitmentGrain, CommitmentGrainArgs
- Unknown
Unknown- Hourly
Hourly- Full
Term FullTerm
- Commitment
Grain Unknown Unknown- Commitment
Grain Hourly Hourly- Commitment
Grain Full Term FullTerm
- Unknown
Unknown- Hourly
Hourly- Full
Term FullTerm
- Unknown
Unknown- Hourly
Hourly- Full
Term FullTerm
- UNKNOWN
Unknown- HOURLY
Hourly- FULL_TERM
FullTerm
- "Unknown"
Unknown- "Hourly"
Hourly- "Full
Term" FullTerm
CommitmentResponse, CommitmentResponseArgs
Commitment towards the benefit.- Amount double
- Currency
Code 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
- Currency
Code 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
- currency
Code 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
- currency
Code 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
- currency
Code 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.
Azure Native. Billing Benefits. Inputs. Commitment - Allocation details including currency and amount for this breakdown item
- Dimensions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Credit Dimension> - Key-value pairs for additional parameters and metadata
- End
At string - End DateTime in UTC.
- Start
At string - Start DateTime.
- Allocation Commitment
- Allocation details including currency and amount for this breakdown item
- Dimensions
[]Credit
Dimension - Key-value pairs for additional parameters and metadata
- End
At string - End DateTime in UTC.
- Start
At string - Start DateTime.
- allocation Commitment
- Allocation details including currency and amount for this breakdown item
- dimensions
List<Credit
Dimension> - Key-value pairs for additional parameters and metadata
- end
At String - End DateTime in UTC.
- start
At String - Start DateTime.
- allocation Commitment
- Allocation details including currency and amount for this breakdown item
- dimensions
Credit
Dimension[] - Key-value pairs for additional parameters and metadata
- end
At string - End DateTime in UTC.
- start
At string - Start DateTime.
- allocation Commitment
- Allocation details including currency and amount for this breakdown item
- dimensions
Sequence[Credit
Dimension] - 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
- end
At String - End DateTime in UTC.
- start
At String - Start DateTime.
CreditBreakdownItemResponse, CreditBreakdownItemResponseArgs
Credit breakdown item representing a milestone, line-item, or no-charge service- Allocation
Pulumi.
Azure Native. Billing Benefits. Inputs. Commitment Response - Allocation details including currency and amount for this breakdown item
- Dimensions
List<Pulumi.
Azure Native. Billing Benefits. Inputs. Credit Dimension Response> - Key-value pairs for additional parameters and metadata
- End
At string - End DateTime in UTC.
- Start
At string - Start DateTime.
- Allocation
Commitment
Response - Allocation details including currency and amount for this breakdown item
- Dimensions
[]Credit
Dimension Response - Key-value pairs for additional parameters and metadata
- End
At string - End DateTime in UTC.
- Start
At string - Start DateTime.
- allocation
Commitment
Response - Allocation details including currency and amount for this breakdown item
- dimensions
List<Credit
Dimension Response> - Key-value pairs for additional parameters and metadata
- end
At String - End DateTime in UTC.
- start
At String - Start DateTime.
- allocation
Commitment
Response - Allocation details including currency and amount for this breakdown item
- dimensions
Credit
Dimension Response[] - Key-value pairs for additional parameters and metadata
- end
At string - End DateTime in UTC.
- start
At string - Start DateTime.
- allocation
Commitment
Response - Allocation details including currency and amount for this breakdown item
- dimensions
Sequence[Credit
Dimension Response] - 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
- end
At String - End DateTime in UTC.
- start
At String - Start DateTime.
CreditDimension, CreditDimensionArgs
Key-value pair for additional credit parameters and metadataCreditDimensionResponse, CreditDimensionResponseArgs
Key-value pair for additional credit parameters and metadataCreditExpirationPolicy, CreditExpirationPolicyArgs
- None
NoneNo policy applied to the expiration of this credit- Suspend
Billing Profile SuspendBillingProfileBilling profile is suspended when the credit expires
- Credit
Expiration Policy None NoneNo policy applied to the expiration of this credit- Credit
Expiration Policy Suspend Billing Profile SuspendBillingProfileBilling profile is suspended when the credit expires
- None
NoneNo policy applied to the expiration of this credit- Suspend
Billing Profile SuspendBillingProfileBilling profile is suspended when the credit expires
- None
NoneNo policy applied to the expiration of this credit- Suspend
Billing Profile SuspendBillingProfileBilling profile is suspended when the credit expires
- NONE
NoneNo policy applied to the expiration of this credit- SUSPEND_BILLING_PROFILE
SuspendBillingProfileBilling profile is suspended when the credit expires
- "None"
NoneNo policy applied to the expiration of this credit- "Suspend
Billing Profile" SuspendBillingProfileBilling profile is suspended when the credit expires
CreditPolicies, CreditPoliciesArgs
Credit breakdown item representing a milestone, line-item, or no-charge service- Expiration
string | Pulumi.
Azure Native. Billing Benefits. Credit Expiration Policy - Expiration policy of the Credit
- Redemption
string | Pulumi.
Azure Native. Billing Benefits. Credit Redemption Policy - Redemption policy of the Credit
- Expiration
string | Credit
Expiration Policy - Expiration policy of the Credit
- Redemption
string | Credit
Redemption Policy - Redemption policy of the Credit
- expiration
String | Credit
Expiration Policy - Expiration policy of the Credit
- redemption
String | Credit
Redemption Policy - Redemption policy of the Credit
- expiration
string | Credit
Expiration Policy - Expiration policy of the Credit
- redemption
string | Credit
Redemption Policy - Redemption policy of the Credit
- expiration
str | Credit
Expiration Policy - Expiration policy of the Credit
- redemption
str | Credit
Redemption Policy - Redemption policy of the Credit
- expiration
String | "None" | "Suspend
Billing Profile" - Expiration policy of the Credit
- redemption
String | "Not
Applicable" | "Auto Redeem" | "Manual Redeem" - 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
- Not
Applicable NotApplicableRedemption policy is not applicable for this credit- Auto
Redeem AutoRedeemCredit is automatically redeemed- Manual
Redeem ManualRedeemCredit is manually redeemed
- Credit
Redemption Policy Not Applicable NotApplicableRedemption policy is not applicable for this credit- Credit
Redemption Policy Auto Redeem AutoRedeemCredit is automatically redeemed- Credit
Redemption Policy Manual Redeem ManualRedeemCredit is manually redeemed
- Not
Applicable NotApplicableRedemption policy is not applicable for this credit- Auto
Redeem AutoRedeemCredit is automatically redeemed- Manual
Redeem ManualRedeemCredit is manually redeemed
- Not
Applicable NotApplicableRedemption policy is not applicable for this credit- Auto
Redeem AutoRedeemCredit is automatically redeemed- Manual
Redeem ManualRedeemCredit is manually redeemed
- NOT_APPLICABLE
NotApplicableRedemption policy is not applicable for this credit- AUTO_REDEEM
AutoRedeemCredit is automatically redeemed- MANUAL_REDEEM
ManualRedeemCredit is manually redeemed
- "Not
Applicable" NotApplicableRedemption policy is not applicable for this credit- "Auto
Redeem" AutoRedeemCredit is automatically redeemed- "Manual
Redeem" ManualRedeemCredit is manually redeemed
CreditStatus, CreditStatusArgs
- Unknown
UnknownCredit status is unknown- Pending
PendingCredit is pending activation- Active
ActiveCredit is active and available for use- Succeeded
SucceededCredit operation succeeded- Canceled
CanceledCredit has been cancelled- Failed
FailedCredit operation failed- Expired
ExpiredCredit has expired- Exhausted
ExhaustedCredit has been fully consumed- Not
Started NotStartedCredit application has not started yet
- Credit
Status Unknown UnknownCredit status is unknown- Credit
Status Pending PendingCredit is pending activation- Credit
Status Active ActiveCredit is active and available for use- Credit
Status Succeeded SucceededCredit operation succeeded- Credit
Status Canceled CanceledCredit has been cancelled- Credit
Status Failed FailedCredit operation failed- Credit
Status Expired ExpiredCredit has expired- Credit
Status Exhausted ExhaustedCredit has been fully consumed- Credit
Status Not Started NotStartedCredit application has not started yet
- Unknown
UnknownCredit status is unknown- Pending
PendingCredit is pending activation- Active
ActiveCredit is active and available for use- Succeeded
SucceededCredit operation succeeded- Canceled
CanceledCredit has been cancelled- Failed
FailedCredit operation failed- Expired
ExpiredCredit has expired- Exhausted
ExhaustedCredit has been fully consumed- Not
Started NotStartedCredit application has not started yet
- Unknown
UnknownCredit status is unknown- Pending
PendingCredit is pending activation- Active
ActiveCredit is active and available for use- Succeeded
SucceededCredit operation succeeded- Canceled
CanceledCredit has been cancelled- Failed
FailedCredit operation failed- Expired
ExpiredCredit has expired- Exhausted
ExhaustedCredit has been fully consumed- Not
Started NotStartedCredit application has not started yet
- UNKNOWN
UnknownCredit status is unknown- PENDING
PendingCredit is pending activation- ACTIVE
ActiveCredit is active and available for use- SUCCEEDED
SucceededCredit operation succeeded- CANCELED
CanceledCredit has been cancelled- FAILED
FailedCredit operation failed- EXPIRED
ExpiredCredit has expired- EXHAUSTED
ExhaustedCredit has been fully consumed- NOT_STARTED
NotStartedCredit application has not started yet
- "Unknown"
UnknownCredit status is unknown- "Pending"
PendingCredit is pending activation- "Active"
ActiveCredit is active and available for use- "Succeeded"
SucceededCredit operation succeeded- "Canceled"
CanceledCredit has been cancelled- "Failed"
FailedCredit operation failed- "Expired"
ExpiredCredit has expired- "Exhausted"
ExhaustedCredit has been fully consumed- "Not
Started" NotStartedCredit application has not started yet
ManagedServiceIdentity, ManagedServiceIdentityArgs
Managed service identity (system assigned and/or user assigned identities)- Type
string | Pulumi.
Azure Native. Billing Benefits. Managed Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned List<string>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned []stringIdentities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned string[]Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
str | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Sequence[str]identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | "None" | "System
Assigned" | "User Assigned" | "System Assigned,User Assigned" - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs
Managed service identity (system assigned and/or user assigned identities)- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Billing Benefits. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs
- None
None- System
Assigned SystemAssigned- User
Assigned UserAssigned- System
Assigned_User Assigned SystemAssigned,UserAssigned
- Managed
Service Identity Type None None- Managed
Service Identity Type System Assigned SystemAssigned- Managed
Service Identity Type User Assigned UserAssigned- Managed
Service Identity Type_System Assigned_User Assigned SystemAssigned,UserAssigned
- None
None- System
Assigned SystemAssigned- User
Assigned UserAssigned- System
Assigned_User Assigned SystemAssigned,UserAssigned
- None
None- System
Assigned SystemAssigned- User
Assigned UserAssigned- System
Assigned_User Assigned SystemAssigned,UserAssigned
- NONE
None- SYSTEM_ASSIGNED
SystemAssigned- USER_ASSIGNED
UserAssigned- SYSTEM_ASSIGNED_USER_ASSIGNED
SystemAssigned,UserAssigned
- "None"
None- "System
Assigned" SystemAssigned- "User
Assigned" UserAssigned- "System
Assigned,User Assigned" SystemAssigned,UserAssigned
Plan, PlanArgs
Plan for the resource.- Name string
- A user defined name of the 3rd Party Artifact that is being procured.
- Product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- Publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- Promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- Version string
- The version of the desired product/artifact.
- Name string
- A user defined name of the 3rd Party Artifact that is being procured.
- Product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- Publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- Promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- Version string
- The version of the desired product/artifact.
- name String
- A user defined name of the 3rd Party Artifact that is being procured.
- product String
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher String
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code String - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version String
- The version of the desired product/artifact.
- name string
- A user defined name of the 3rd Party Artifact that is being procured.
- product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version string
- The version of the desired product/artifact.
- name str
- A user defined name of the 3rd Party Artifact that is being procured.
- product str
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher str
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion_
code str - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version str
- The version of the desired product/artifact.
- name String
- A user defined name of the 3rd Party Artifact that is being procured.
- product String
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher String
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code String - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version String
- The version of the desired product/artifact.
PlanResponse, PlanResponseArgs
Plan for the resource.- Name string
- A user defined name of the 3rd Party Artifact that is being procured.
- Product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- Publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- Promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- Version string
- The version of the desired product/artifact.
- Name string
- A user defined name of the 3rd Party Artifact that is being procured.
- Product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- Publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- Promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- Version string
- The version of the desired product/artifact.
- name String
- A user defined name of the 3rd Party Artifact that is being procured.
- product String
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher String
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code String - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version String
- The version of the desired product/artifact.
- name string
- A user defined name of the 3rd Party Artifact that is being procured.
- product string
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher string
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code string - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version string
- The version of the desired product/artifact.
- name str
- A user defined name of the 3rd Party Artifact that is being procured.
- product str
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher str
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion_
code str - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version str
- The version of the desired product/artifact.
- name String
- A user defined name of the 3rd Party Artifact that is being procured.
- product String
- The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
- publisher String
- The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
- promotion
Code String - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
- version String
- The version of the desired product/artifact.
Sku, SkuArgs
The resource model definition representing SKU- Name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier
Pulumi.
Azure Native. Billing Benefits. Sku Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- Name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier
Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity Integer
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name str
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family str
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size str
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity Number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier "Free" | "Basic" | "Standard" | "Premium"
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
SkuResponse, SkuResponseArgs
The resource model definition representing SKU- Name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- Name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity Integer
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier String
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name string
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name str
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family str
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size str
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier str
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. E.g. P3. It is typically a letter+number code
- capacity Number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier String
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
SkuTier, SkuTierArgs
- Free
Free- Basic
Basic- Standard
Standard- Premium
Premium
- Sku
Tier Free Free- Sku
Tier Basic Basic- Sku
Tier Standard Standard- Sku
Tier Premium Premium
- Free
Free- Basic
Basic- Standard
Standard- Premium
Premium
- Free
Free- Basic
Basic- Standard
Standard- Premium
Premium
- FREE
Free- BASIC
Basic- STANDARD
Standard- PREMIUM
Premium
- "Free"
Free- "Basic"
Basic- "Standard"
Standard- "Premium"
Premium
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of the resource.- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
User assigned identity properties- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:billingbenefits: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
