Viewing docs for vantage 0.3.15
published on Wednesday, Aug 5, 2026 by vantage-sh
published on Wednesday, Aug 5, 2026 by vantage-sh
Viewing docs for vantage 0.3.15
published on Wednesday, Aug 5, 2026 by vantage-sh
published on Wednesday, Aug 5, 2026 by vantage-sh
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vantage from "@pulumi/vantage";
const demo = vantage.getReportForecasts({
costReportToken: demoReport.token,
});
import pulumi
import pulumi_vantage as vantage
demo = vantage.get_report_forecasts(cost_report_token=demo_report["token"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vantage/vantage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vantage.GetReportForecasts(ctx, &vantage.GetReportForecastsArgs{
CostReportToken: demoReport.Token,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vantage = Pulumi.Vantage;
return await Deployment.RunAsync(() =>
{
var demo = Vantage.GetReportForecasts.Invoke(new()
{
CostReportToken = demoReport.Token,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vantage.VantageFunctions;
import com.pulumi.vantage.inputs.GetReportForecastsArgs;
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) {
final var demo = VantageFunctions.getReportForecasts(GetReportForecastsArgs.builder()
.costReportToken(demoReport.token())
.build());
}
}
variables:
demo:
fn::invoke:
function: vantage:getReportForecasts
arguments:
costReportToken: ${demoReport.token}
Example coming soon!
Using getReportForecasts
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getReportForecasts(args: GetReportForecastsArgs, opts?: InvokeOptions): Promise<GetReportForecastsResult>
function getReportForecastsOutput(args: GetReportForecastsOutputArgs, opts?: InvokeOptions): Output<GetReportForecastsResult>def get_report_forecasts(cost_report_token: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetReportForecastsResult
def get_report_forecasts_output(cost_report_token: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetReportForecastsResult]func GetReportForecasts(ctx *Context, args *GetReportForecastsArgs, opts ...InvokeOption) (*GetReportForecastsResult, error)
func GetReportForecastsOutput(ctx *Context, args *GetReportForecastsOutputArgs, opts ...InvokeOption) GetReportForecastsResultOutput> Note: This function is named GetReportForecasts in the Go SDK.
public static class GetReportForecasts
{
public static Task<GetReportForecastsResult> InvokeAsync(GetReportForecastsArgs args, InvokeOptions? opts = null)
public static Output<GetReportForecastsResult> Invoke(GetReportForecastsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetReportForecastsResult> getReportForecasts(GetReportForecastsArgs args, InvokeOptions options)
public static Output<GetReportForecastsResult> getReportForecasts(GetReportForecastsArgs args, InvokeOptions options)
fn::invoke:
function: vantage:index/getReportForecasts:getReportForecasts
arguments:
# arguments dictionarydata "vantage_get_report_forecasts" "name" {
# arguments
}The following arguments are supported:
- Cost
Report stringToken
- Cost
Report stringToken
- cost_
report_ stringtoken
- cost
Report StringToken
- cost
Report stringToken
- cost
Report StringToken
getReportForecasts Result
The following output properties are available:
- Cost
Report stringToken - Id string
- The provider-assigned unique ID for this managed resource.
- Report
Forecasts List<GetReport Forecasts Report Forecast>
- Cost
Report stringToken - Id string
- The provider-assigned unique ID for this managed resource.
- Report
Forecasts []GetReport Forecasts Report Forecast
- cost_
report_ stringtoken - id string
- The provider-assigned unique ID for this managed resource.
- report_
forecasts list(object)
- cost
Report StringToken - id String
- The provider-assigned unique ID for this managed resource.
- report
Forecasts List<GetReport Forecasts Report Forecast>
- cost
Report stringToken - id string
- The provider-assigned unique ID for this managed resource.
- report
Forecasts GetReport Forecasts Report Forecast[]
- cost_
report_ strtoken - id str
- The provider-assigned unique ID for this managed resource.
- report_
forecasts Sequence[GetReport Forecasts Report Forecast]
- cost
Report StringToken - id String
- The provider-assigned unique ID for this managed resource.
- report
Forecasts List<Property Map>
Supporting Types
GetReportForecastsReportForecast
- Business
Metric stringToken - Cost
Report stringToken - Created
At string - Created
By stringToken - Id string
- The id of the resource
- Is
Default bool - Scenario
Model List<string>Tokens - Title string
- Token string
- Updated
At string
- Business
Metric stringToken - Cost
Report stringToken - Created
At string - Created
By stringToken - Id string
- The id of the resource
- Is
Default bool - Scenario
Model []stringTokens - Title string
- Token string
- Updated
At string
- business_
metric_ stringtoken - cost_
report_ stringtoken - created_
at string - created_
by_ stringtoken - id string
- The id of the resource
- is_
default bool - scenario_
model_ list(string)tokens - title string
- token string
- updated_
at string
- business
Metric StringToken - cost
Report StringToken - created
At String - created
By StringToken - id String
- The id of the resource
- is
Default Boolean - scenario
Model List<String>Tokens - title String
- token String
- updated
At String
- business
Metric stringToken - cost
Report stringToken - created
At string - created
By stringToken - id string
- The id of the resource
- is
Default boolean - scenario
Model string[]Tokens - title string
- token string
- updated
At string
- business_
metric_ strtoken - cost_
report_ strtoken - created_
at str - created_
by_ strtoken - id str
- The id of the resource
- is_
default bool - scenario_
model_ Sequence[str]tokens - title str
- token str
- updated_
at str
- business
Metric StringToken - cost
Report StringToken - created
At String - created
By StringToken - id String
- The id of the resource
- is
Default Boolean - scenario
Model List<String>Tokens - title String
- token String
- updated
At String
Package Details
- Repository
- vantage vantage-sh/terraform-provider-vantage
- License
- Notes
- This Pulumi package is based on the
vantageTerraform Provider.
Viewing docs for vantage 0.3.15
published on Wednesday, Aug 5, 2026 by vantage-sh
published on Wednesday, Aug 5, 2026 by vantage-sh