Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.costmanagement.kotlin
import com.pulumi.azurenative.costmanagement.BudgetArgs.builder
import com.pulumi.azurenative.costmanagement.kotlin.enums.CategoryType
import com.pulumi.azurenative.costmanagement.kotlin.enums.TimeGrainType
import com.pulumi.azurenative.costmanagement.kotlin.inputs.BudgetFilterArgs
import com.pulumi.azurenative.costmanagement.kotlin.inputs.BudgetFilterArgsBuilder
import com.pulumi.azurenative.costmanagement.kotlin.inputs.BudgetTimePeriodArgs
import com.pulumi.azurenative.costmanagement.kotlin.inputs.BudgetTimePeriodArgsBuilder
import com.pulumi.azurenative.costmanagement.kotlin.inputs.NotificationArgs
import com.pulumi.azurenative.costmanagement.kotlin.inputs.NotificationArgsBuilder
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Double
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* A budget resource.
* Azure REST API version: 2023-04-01-preview.
* Other available API versions: 2019-04-01-preview, 2023-08-01, 2023-09-01, 2023-11-01.
* @property amount The total amount of cost to track with the budget.
* Supported for CategoryType(s): Cost.
* Required for CategoryType(s): Cost.
* @property budgetName Budget Name.
* @property category The category of the budget.
* - 'Cost' defines a Budget.
* - 'ReservationUtilization' defines a Reservation Utilization Alert Rule.
* @property eTag eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
* @property filter May be used to filter budgets by user-specified dimensions and/or tags.
* Supported for CategoryType(s): Cost, ReservationUtilization.
* @property notifications Dictionary of notifications associated with the budget.
* Supported for CategoryType(s): Cost, ReservationUtilization.
* - Constraints for **CategoryType: Cost** - Budget can have up to 5 notifications with thresholdType: Actual and 5 notifications with thresholdType: Forecasted.
* - Constraints for **CategoryType: ReservationUtilization** - Only one notification allowed. thresholdType is not applicable.
* @property scope The scope associated with budget operations.
* Supported scopes for **CategoryType: Cost**
* Azure RBAC Scopes:
* - '/subscriptions/{subscriptionId}/' for subscription scope
* - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope
* - '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope
* EA (Enterprise Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope
* MCA (Modern Customer Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
* Supported scopes for **CategoryType: ReservationUtilization**
* EA (Enterprise Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account Scope
* MCA (Modern Customer Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope (non-CSP only)
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
* @property timeGrain The time covered by a budget. Tracking of the amount will be reset based on the time grain.
* Supported for CategoryType(s): Cost, ReservationUtilization.
* Supported timeGrainTypes for **CategoryType: Cost**
* - Monthly
* - Quarterly
* - Annually
* - BillingMonth*
* - BillingQuarter*
* - BillingAnnual*
* *only supported for Web Direct customers.
* Supported timeGrainTypes for **CategoryType: ReservationUtilization**
* - Last7Days
* - Last30Days
* Required for CategoryType(s): Cost, ReservationUtilization.
* @property timePeriod The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate.
* Supported for CategoryType(s): Cost, ReservationUtilization.
* Required for CategoryType(s): Cost, ReservationUtilization.
*/
public data class BudgetArgs(
public val amount: Output? = null,
public val budgetName: Output? = null,
public val category: Output>? = null,
public val eTag: Output? = null,
public val filter: Output? = null,
public val notifications: Output