Class BudgetArgs.Builder

  • Enclosing class:
    BudgetArgs

    public static final class BudgetArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(BudgetArgs defaults)
    • Method Detail

      • amount

        public BudgetArgs.Builder amount​(@Nullable
                                         com.pulumi.core.Output<java.lang.Double> amount)
        Parameters:
        amount - The total amount of cost to track with the budget. Supported for CategoryType(s): Cost. Required for CategoryType(s): Cost.
        Returns:
        builder
      • amount

        public BudgetArgs.Builder amount​(java.lang.Double amount)
        Parameters:
        amount - The total amount of cost to track with the budget. Supported for CategoryType(s): Cost. Required for CategoryType(s): Cost.
        Returns:
        builder
      • budgetName

        public BudgetArgs.Builder budgetName​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> budgetName)
        Parameters:
        budgetName - Budget Name.
        Returns:
        builder
      • budgetName

        public BudgetArgs.Builder budgetName​(java.lang.String budgetName)
        Parameters:
        budgetName - Budget Name.
        Returns:
        builder
      • category

        public BudgetArgs.Builder category​(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​CategoryType>> category)
        Parameters:
        category - The category of the budget. - 'Cost' defines a Budget. - 'ReservationUtilization' defines a Reservation Utilization Alert Rule.
        Returns:
        builder
      • category

        public BudgetArgs.Builder category​(com.pulumi.core.Either<java.lang.String,​CategoryType> category)
        Parameters:
        category - The category of the budget. - 'Cost' defines a Budget. - 'ReservationUtilization' defines a Reservation Utilization Alert Rule.
        Returns:
        builder
      • category

        public BudgetArgs.Builder category​(java.lang.String category)
        Parameters:
        category - The category of the budget. - 'Cost' defines a Budget. - 'ReservationUtilization' defines a Reservation Utilization Alert Rule.
        Returns:
        builder
      • category

        public BudgetArgs.Builder category​(CategoryType category)
        Parameters:
        category - The category of the budget. - 'Cost' defines a Budget. - 'ReservationUtilization' defines a Reservation Utilization Alert Rule.
        Returns:
        builder
      • eTag

        public BudgetArgs.Builder eTag​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> eTag)
        Parameters:
        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.
        Returns:
        builder
      • eTag

        public BudgetArgs.Builder eTag​(java.lang.String eTag)
        Parameters:
        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.
        Returns:
        builder
      • filter

        public BudgetArgs.Builder filter​(@Nullable
                                         com.pulumi.core.Output<BudgetFilterArgs> filter)
        Parameters:
        filter - May be used to filter budgets by user-specified dimensions and/or tags. Supported for CategoryType(s): Cost, ReservationUtilization.
        Returns:
        builder
      • filter

        public BudgetArgs.Builder filter​(BudgetFilterArgs filter)
        Parameters:
        filter - May be used to filter budgets by user-specified dimensions and/or tags. Supported for CategoryType(s): Cost, ReservationUtilization.
        Returns:
        builder
      • notifications

        public BudgetArgs.Builder notifications​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​NotificationArgs>> notifications)
        Parameters:
        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.
        Returns:
        builder
      • notifications

        public BudgetArgs.Builder notifications​(java.util.Map<java.lang.String,​NotificationArgs> notifications)
        Parameters:
        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.
        Returns:
        builder
      • scope

        public BudgetArgs.Builder scope​(com.pulumi.core.Output<java.lang.String> scope)
        Parameters:
        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)
        Returns:
        builder
      • scope

        public BudgetArgs.Builder scope​(java.lang.String scope)
        Parameters:
        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)
        Returns:
        builder
      • timeGrain

        public BudgetArgs.Builder timeGrain​(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​TimeGrainType>> timeGrain)
        Parameters:
        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.
        Returns:
        builder
      • timeGrain

        public BudgetArgs.Builder timeGrain​(com.pulumi.core.Either<java.lang.String,​TimeGrainType> timeGrain)
        Parameters:
        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.
        Returns:
        builder
      • timeGrain

        public BudgetArgs.Builder timeGrain​(java.lang.String timeGrain)
        Parameters:
        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.
        Returns:
        builder
      • timeGrain

        public BudgetArgs.Builder timeGrain​(TimeGrainType timeGrain)
        Parameters:
        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.
        Returns:
        builder
      • timePeriod

        public BudgetArgs.Builder timePeriod​(com.pulumi.core.Output<BudgetTimePeriodArgs> timePeriod)
        Parameters:
        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.
        Returns:
        builder
      • timePeriod

        public BudgetArgs.Builder timePeriod​(BudgetTimePeriodArgs timePeriod)
        Parameters:
        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.
        Returns:
        builder