All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.consumption.ConsumptionFunctions Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.consumption;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.consumption.inputs.GetBudgetArgs;
import com.pulumi.azurenative.consumption.inputs.GetBudgetPlainArgs;
import com.pulumi.azurenative.consumption.outputs.GetBudgetResult;
import com.pulumi.core.Output;
import com.pulumi.core.TypeShape;
import com.pulumi.deployment.Deployment;
import com.pulumi.deployment.InvokeOptions;
import java.util.concurrent.CompletableFuture;

public final class ConsumptionFunctions {
    /**
     * Gets the budget for the scope by budget name.
     * Azure REST API version: 2023-05-01.
     * 
     * Other available API versions: 2017-12-30-preview, 2018-10-01, 2019-05-01, 2019-06-01, 2023-11-01, 2024-08-01.
     * 
     */
    public static Output getBudget(GetBudgetArgs args) {
        return getBudget(args, InvokeOptions.Empty);
    }
    /**
     * Gets the budget for the scope by budget name.
     * Azure REST API version: 2023-05-01.
     * 
     * Other available API versions: 2017-12-30-preview, 2018-10-01, 2019-05-01, 2019-06-01, 2023-11-01, 2024-08-01.
     * 
     */
    public static CompletableFuture getBudgetPlain(GetBudgetPlainArgs args) {
        return getBudgetPlain(args, InvokeOptions.Empty);
    }
    /**
     * Gets the budget for the scope by budget name.
     * Azure REST API version: 2023-05-01.
     * 
     * Other available API versions: 2017-12-30-preview, 2018-10-01, 2019-05-01, 2019-06-01, 2023-11-01, 2024-08-01.
     * 
     */
    public static Output getBudget(GetBudgetArgs args, InvokeOptions options) {
        return Deployment.getInstance().invoke("azure-native:consumption:getBudget", TypeShape.of(GetBudgetResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Gets the budget for the scope by budget name.
     * Azure REST API version: 2023-05-01.
     * 
     * Other available API versions: 2017-12-30-preview, 2018-10-01, 2019-05-01, 2019-06-01, 2023-11-01, 2024-08-01.
     * 
     */
    public static CompletableFuture getBudgetPlain(GetBudgetPlainArgs args, InvokeOptions options) {
        return Deployment.getInstance().invokeAsync("azure-native:consumption:getBudget", TypeShape.of(GetBudgetResult.class), args, Utilities.withVersion(options));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy