1. Packages
  2. Packages
  3. Vantage Provider
  4. API Docs
  5. Workspace
Viewing docs for vantage 0.3.2
published on Wednesday, Apr 1, 2026 by vantage-sh
Viewing docs for vantage 0.3.2
published on Wednesday, Apr 1, 2026 by vantage-sh

    Manages a Workspace.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vantage from "@pulumi/vantage";
    
    const example = new vantage.Workspace("example", {
        name: "Example Workspace",
        currency: "EUR",
        enableCurrencyConversion: true,
        exchangeRateDate: "daily_rate",
    });
    
    import pulumi
    import pulumi_vantage as vantage
    
    example = vantage.Workspace("example",
        name="Example Workspace",
        currency="EUR",
        enable_currency_conversion=True,
        exchange_rate_date="daily_rate")
    
    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.NewWorkspace(ctx, "example", &vantage.WorkspaceArgs{
    			Name:                     pulumi.String("Example Workspace"),
    			Currency:                 pulumi.String("EUR"),
    			EnableCurrencyConversion: pulumi.Bool(true),
    			ExchangeRateDate:         pulumi.String("daily_rate"),
    		})
    		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 example = new Vantage.Workspace("example", new()
        {
            Name = "Example Workspace",
            Currency = "EUR",
            EnableCurrencyConversion = true,
            ExchangeRateDate = "daily_rate",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vantage.Workspace;
    import com.pulumi.vantage.WorkspaceArgs;
    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) {
            var example = new Workspace("example", WorkspaceArgs.builder()
                .name("Example Workspace")
                .currency("EUR")
                .enableCurrencyConversion(true)
                .exchangeRateDate("daily_rate")
                .build());
    
        }
    }
    
    resources:
      example:
        type: vantage:Workspace
        properties:
          name: Example Workspace
          currency: EUR
          enableCurrencyConversion: true
          exchangeRateDate: daily_rate
    

    Create Workspace Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Workspace(name: string, args?: WorkspaceArgs, opts?: CustomResourceOptions);
    @overload
    def Workspace(resource_name: str,
                  args: Optional[WorkspaceArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Workspace(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  currency: Optional[str] = None,
                  enable_currency_conversion: Optional[bool] = None,
                  exchange_rate_date: Optional[str] = None,
                  name: Optional[str] = None)
    func NewWorkspace(ctx *Context, name string, args *WorkspaceArgs, opts ...ResourceOption) (*Workspace, error)
    public Workspace(string name, WorkspaceArgs? args = null, CustomResourceOptions? opts = null)
    public Workspace(String name, WorkspaceArgs args)
    public Workspace(String name, WorkspaceArgs args, CustomResourceOptions options)
    
    type: vantage:Workspace
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WorkspaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WorkspaceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WorkspaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkspaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkspaceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var workspaceResource = new Vantage.Workspace("workspaceResource", new()
    {
        Currency = "string",
        EnableCurrencyConversion = false,
        ExchangeRateDate = "string",
        Name = "string",
    });
    
    example, err := vantage.NewWorkspace(ctx, "workspaceResource", &vantage.WorkspaceArgs{
    	Currency:                 pulumi.String("string"),
    	EnableCurrencyConversion: pulumi.Bool(false),
    	ExchangeRateDate:         pulumi.String("string"),
    	Name:                     pulumi.String("string"),
    })
    
    var workspaceResource = new Workspace("workspaceResource", WorkspaceArgs.builder()
        .currency("string")
        .enableCurrencyConversion(false)
        .exchangeRateDate("string")
        .name("string")
        .build());
    
    workspace_resource = vantage.Workspace("workspaceResource",
        currency="string",
        enable_currency_conversion=False,
        exchange_rate_date="string",
        name="string")
    
    const workspaceResource = new vantage.Workspace("workspaceResource", {
        currency: "string",
        enableCurrencyConversion: false,
        exchangeRateDate: "string",
        name: "string",
    });
    
    type: vantage:Workspace
    properties:
        currency: string
        enableCurrencyConversion: false
        exchangeRateDate: string
        name: string
    

    Workspace Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Workspace resource accepts the following input properties:

    Currency string
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    EnableCurrencyConversion bool
    Enable currency conversion for the workspace.
    ExchangeRateDate string
    The date to use for currency conversion.
    Name string
    Name of the workspace.
    Currency string
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    EnableCurrencyConversion bool
    Enable currency conversion for the workspace.
    ExchangeRateDate string
    The date to use for currency conversion.
    Name string
    Name of the workspace.
    currency String
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    enableCurrencyConversion Boolean
    Enable currency conversion for the workspace.
    exchangeRateDate String
    The date to use for currency conversion.
    name String
    Name of the workspace.
    currency string
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    enableCurrencyConversion boolean
    Enable currency conversion for the workspace.
    exchangeRateDate string
    The date to use for currency conversion.
    name string
    Name of the workspace.
    currency str
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    enable_currency_conversion bool
    Enable currency conversion for the workspace.
    exchange_rate_date str
    The date to use for currency conversion.
    name str
    Name of the workspace.
    currency String
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    enableCurrencyConversion Boolean
    Enable currency conversion for the workspace.
    exchangeRateDate String
    The date to use for currency conversion.
    name String
    Name of the workspace.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Workspace resource produces the following output properties:

    CreatedAt string
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    Id string
    The provider-assigned unique ID for this managed resource.
    Token string
    The token of the workspace
    CreatedAt string
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    Id string
    The provider-assigned unique ID for this managed resource.
    Token string
    The token of the workspace
    createdAt String
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    id String
    The provider-assigned unique ID for this managed resource.
    token String
    The token of the workspace
    createdAt string
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    id string
    The provider-assigned unique ID for this managed resource.
    token string
    The token of the workspace
    created_at str
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    id str
    The provider-assigned unique ID for this managed resource.
    token str
    The token of the workspace
    createdAt String
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    id String
    The provider-assigned unique ID for this managed resource.
    token String
    The token of the workspace

    Look up Existing Workspace Resource

    Get an existing Workspace resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WorkspaceState, opts?: CustomResourceOptions): Workspace
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            currency: Optional[str] = None,
            enable_currency_conversion: Optional[bool] = None,
            exchange_rate_date: Optional[str] = None,
            name: Optional[str] = None,
            token: Optional[str] = None) -> Workspace
    func GetWorkspace(ctx *Context, name string, id IDInput, state *WorkspaceState, opts ...ResourceOption) (*Workspace, error)
    public static Workspace Get(string name, Input<string> id, WorkspaceState? state, CustomResourceOptions? opts = null)
    public static Workspace get(String name, Output<String> id, WorkspaceState state, CustomResourceOptions options)
    resources:  _:    type: vantage:Workspace    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt string
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    Currency string
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    EnableCurrencyConversion bool
    Enable currency conversion for the workspace.
    ExchangeRateDate string
    The date to use for currency conversion.
    Name string
    Name of the workspace.
    Token string
    The token of the workspace
    CreatedAt string
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    Currency string
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    EnableCurrencyConversion bool
    Enable currency conversion for the workspace.
    ExchangeRateDate string
    The date to use for currency conversion.
    Name string
    Name of the workspace.
    Token string
    The token of the workspace
    createdAt String
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    currency String
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    enableCurrencyConversion Boolean
    Enable currency conversion for the workspace.
    exchangeRateDate String
    The date to use for currency conversion.
    name String
    Name of the workspace.
    token String
    The token of the workspace
    createdAt string
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    currency string
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    enableCurrencyConversion boolean
    Enable currency conversion for the workspace.
    exchangeRateDate string
    The date to use for currency conversion.
    name string
    Name of the workspace.
    token string
    The token of the workspace
    created_at str
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    currency str
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    enable_currency_conversion bool
    Enable currency conversion for the workspace.
    exchange_rate_date str
    The date to use for currency conversion.
    name str
    Name of the workspace.
    token str
    The token of the workspace
    createdAt String
    The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
    currency String
    Currency code for the workspace. Only applies when enable_currency_conversion is true; setting a non-USD currency while conversion is disabled is not supported.
    enableCurrencyConversion Boolean
    Enable currency conversion for the workspace.
    exchangeRateDate String
    The date to use for currency conversion.
    name String
    Name of the workspace.
    token String
    The token of the workspace

    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.2
    published on Wednesday, Apr 1, 2026 by vantage-sh
      Try Pulumi Cloud free. Your team will thank you.