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.getScenarioModels({});
import pulumi
import pulumi_vantage as vantage
demo = vantage.get_scenario_models()
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.GetScenarioModels(ctx, map[string]interface{}{}, 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.GetScenarioModels.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vantage.VantageFunctions;
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.getScenarioModels(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
}
}
variables:
demo:
fn::invoke:
function: vantage:getScenarioModels
arguments: {}
Example coming soon!
Using getScenarioModels
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 getScenarioModels(opts?: InvokeOptions): Promise<GetScenarioModelsResult>
function getScenarioModelsOutput(opts?: InvokeOptions): Output<GetScenarioModelsResult>def get_scenario_models(opts: Optional[InvokeOptions] = None) -> GetScenarioModelsResult
def get_scenario_models_output(opts: Optional[InvokeOptions] = None) -> Output[GetScenarioModelsResult]func GetScenarioModels(ctx *Context, opts ...InvokeOption) (*GetScenarioModelsResult, error)
func GetScenarioModelsOutput(ctx *Context, opts ...InvokeOption) GetScenarioModelsResultOutput> Note: This function is named GetScenarioModels in the Go SDK.
public static class GetScenarioModels
{
public static Task<GetScenarioModelsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetScenarioModelsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetScenarioModelsResult> getScenarioModels(InvokeOptions options)
public static Output<GetScenarioModelsResult> getScenarioModels(InvokeOptions options)
fn::invoke:
function: vantage:index/getScenarioModels:getScenarioModels
arguments:
# arguments dictionarydata "vantage_get_scenario_models" "name" {
# arguments
}getScenarioModels Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Scenario
Models List<GetScenario Models Scenario Model>
- Id string
- The provider-assigned unique ID for this managed resource.
- Scenario
Models []GetScenario Models Scenario Model
- id string
- The provider-assigned unique ID for this managed resource.
- scenario_
models list(object)
- id String
- The provider-assigned unique ID for this managed resource.
- scenario
Models List<GetScenario Models Scenario Model>
- id string
- The provider-assigned unique ID for this managed resource.
- scenario
Models GetScenario Models Scenario Model[]
- id str
- The provider-assigned unique ID for this managed resource.
- scenario_
models Sequence[GetScenario Models Scenario Model]
- id String
- The provider-assigned unique ID for this managed resource.
- scenario
Models List<Property Map>
Supporting Types
GetScenarioModelsScenarioModel
- Cloud
Provider string - The cloud provider filter for the ScenarioModel.
- Created
At string - Created
By stringToken - Id string
- The id of the resource
- Periods
List<Get
Scenario Models Scenario Model Period> - Priority double
- Service string
- Title string
- Token string
- Updated
At string - Workspace
Token string
- Cloud
Provider string - The cloud provider filter for the ScenarioModel.
- Created
At string - Created
By stringToken - Id string
- The id of the resource
- Periods
[]Get
Scenario Models Scenario Model Period - Priority float64
- Service string
- Title string
- Token string
- Updated
At string - Workspace
Token string
- cloud_
provider string - The cloud provider filter for the ScenarioModel.
- created_
at string - created_
by_ stringtoken - id string
- The id of the resource
- periods list(object)
- priority number
- service string
- title string
- token string
- updated_
at string - workspace_
token string
- cloud
Provider String - The cloud provider filter for the ScenarioModel.
- created
At String - created
By StringToken - id String
- The id of the resource
- periods
List<Get
Scenario Models Scenario Model Period> - priority Double
- service String
- title String
- token String
- updated
At String - workspace
Token String
- cloud
Provider string - The cloud provider filter for the ScenarioModel.
- created
At string - created
By stringToken - id string
- The id of the resource
- periods
Get
Scenario Models Scenario Model Period[] - priority number
- service string
- title string
- token string
- updated
At string - workspace
Token string
- cloud_
provider str - The cloud provider filter for the ScenarioModel.
- created_
at str - created_
by_ strtoken - id str
- The id of the resource
- periods
Sequence[Get
Scenario Models Scenario Model Period] - priority float
- service str
- title str
- token str
- updated_
at str - workspace_
token str
- cloud
Provider String - The cloud provider filter for the ScenarioModel.
- created
At String - created
By StringToken - id String
- The id of the resource
- periods List<Property Map>
- priority Number
- service String
- title String
- token String
- updated
At String - workspace
Token String
GetScenarioModelsScenarioModelPeriod
- Amount string
- The period amount as a string to preserve decimal precision.
- Amount
Type string - Whether the amount is in dollars or percent.
- End
At string - The ISO 8601 end date of the period.
- Start
At string - The ISO 8601 start date of the period.
- Amount string
- The period amount as a string to preserve decimal precision.
- Amount
Type string - Whether the amount is in dollars or percent.
- End
At string - The ISO 8601 end date of the period.
- Start
At string - The ISO 8601 start date of the period.
- amount string
- The period amount as a string to preserve decimal precision.
- amount_
type string - Whether the amount is in dollars or percent.
- end_
at string - The ISO 8601 end date of the period.
- start_
at string - The ISO 8601 start date of the period.
- amount String
- The period amount as a string to preserve decimal precision.
- amount
Type String - Whether the amount is in dollars or percent.
- end
At String - The ISO 8601 end date of the period.
- start
At String - The ISO 8601 start date of the period.
- amount string
- The period amount as a string to preserve decimal precision.
- amount
Type string - Whether the amount is in dollars or percent.
- end
At string - The ISO 8601 end date of the period.
- start
At string - The ISO 8601 start date of the period.
- amount str
- The period amount as a string to preserve decimal precision.
- amount_
type str - Whether the amount is in dollars or percent.
- end_
at str - The ISO 8601 end date of the period.
- start_
at str - The ISO 8601 start date of the period.
- amount String
- The period amount as a string to preserve decimal precision.
- amount
Type String - Whether the amount is in dollars or percent.
- end
At String - The ISO 8601 end date of the period.
- start
At String - The ISO 8601 start date of the period.
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