1. Packages
  2. Packages
  3. Vantage Provider
  4. API Docs
  5. getScenarioModels
Viewing docs for vantage 0.3.15
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

    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 dictionary
    data "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.
    ScenarioModels List<GetScenarioModelsScenarioModel>
    Id string
    The provider-assigned unique ID for this managed resource.
    ScenarioModels []GetScenarioModelsScenarioModel
    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.
    scenarioModels List<GetScenarioModelsScenarioModel>
    id string
    The provider-assigned unique ID for this managed resource.
    scenarioModels GetScenarioModelsScenarioModel[]
    id str
    The provider-assigned unique ID for this managed resource.
    scenario_models Sequence[GetScenarioModelsScenarioModel]
    id String
    The provider-assigned unique ID for this managed resource.
    scenarioModels List<Property Map>

    Supporting Types

    GetScenarioModelsScenarioModel

    CloudProvider string
    The cloud provider filter for the ScenarioModel.
    CreatedAt string
    CreatedByToken string
    Id string
    The id of the resource
    Periods List<GetScenarioModelsScenarioModelPeriod>
    Priority double
    Service string
    Title string
    Token string
    UpdatedAt string
    WorkspaceToken string
    CloudProvider string
    The cloud provider filter for the ScenarioModel.
    CreatedAt string
    CreatedByToken string
    Id string
    The id of the resource
    Periods []GetScenarioModelsScenarioModelPeriod
    Priority float64
    Service string
    Title string
    Token string
    UpdatedAt string
    WorkspaceToken string
    cloud_provider string
    The cloud provider filter for the ScenarioModel.
    created_at string
    created_by_token string
    id string
    The id of the resource
    periods list(object)
    priority number
    service string
    title string
    token string
    updated_at string
    workspace_token string
    cloudProvider String
    The cloud provider filter for the ScenarioModel.
    createdAt String
    createdByToken String
    id String
    The id of the resource
    periods List<GetScenarioModelsScenarioModelPeriod>
    priority Double
    service String
    title String
    token String
    updatedAt String
    workspaceToken String
    cloudProvider string
    The cloud provider filter for the ScenarioModel.
    createdAt string
    createdByToken string
    id string
    The id of the resource
    periods GetScenarioModelsScenarioModelPeriod[]
    priority number
    service string
    title string
    token string
    updatedAt string
    workspaceToken string
    cloud_provider str
    The cloud provider filter for the ScenarioModel.
    created_at str
    created_by_token str
    id str
    The id of the resource
    periods Sequence[GetScenarioModelsScenarioModelPeriod]
    priority float
    service str
    title str
    token str
    updated_at str
    workspace_token str
    cloudProvider String
    The cloud provider filter for the ScenarioModel.
    createdAt String
    createdByToken String
    id String
    The id of the resource
    periods List<Property Map>
    priority Number
    service String
    title String
    token String
    updatedAt String
    workspaceToken String

    GetScenarioModelsScenarioModelPeriod

    Amount string
    The period amount as a string to preserve decimal precision.
    AmountType string
    Whether the amount is in dollars or percent.
    EndAt string
    The ISO 8601 end date of the period.
    StartAt string
    The ISO 8601 start date of the period.
    Amount string
    The period amount as a string to preserve decimal precision.
    AmountType string
    Whether the amount is in dollars or percent.
    EndAt string
    The ISO 8601 end date of the period.
    StartAt 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.
    amountType String
    Whether the amount is in dollars or percent.
    endAt String
    The ISO 8601 end date of the period.
    startAt String
    The ISO 8601 start date of the period.
    amount string
    The period amount as a string to preserve decimal precision.
    amountType string
    Whether the amount is in dollars or percent.
    endAt string
    The ISO 8601 end date of the period.
    startAt 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.
    amountType String
    Whether the amount is in dollars or percent.
    endAt String
    The ISO 8601 end date of the period.
    startAt 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 vantage Terraform Provider.
    Viewing docs for vantage 0.3.15
    published on Wednesday, Aug 5, 2026 by vantage-sh

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial