1. Packages
  2. Packages
  3. Vantage Provider
  4. API Docs
  5. CustomProvider
Viewing docs for vantage 0.3.6
published on Monday, May 4, 2026 by vantage-sh
Viewing docs for vantage 0.3.6
published on Monday, May 4, 2026 by vantage-sh

    Manages a Custom Provider integration in Vantage. Custom Providers allow you to upload cost data for services not natively supported by Vantage.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vantage from "@pulumi/vantage";
    
    const example = new vantage.CustomProvider("example", {
        name: "My Custom Provider",
        description: "An optional description for this provider",
    });
    
    import pulumi
    import pulumi_vantage as vantage
    
    example = vantage.CustomProvider("example",
        name="My Custom Provider",
        description="An optional description for this provider")
    
    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.NewCustomProvider(ctx, "example", &vantage.CustomProviderArgs{
    			Name:        pulumi.String("My Custom Provider"),
    			Description: pulumi.String("An optional description for this provider"),
    		})
    		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.CustomProvider("example", new()
        {
            Name = "My Custom Provider",
            Description = "An optional description for this provider",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vantage.CustomProvider;
    import com.pulumi.vantage.CustomProviderArgs;
    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 CustomProvider("example", CustomProviderArgs.builder()
                .name("My Custom Provider")
                .description("An optional description for this provider")
                .build());
    
        }
    }
    
    resources:
      example:
        type: vantage:CustomProvider
        properties:
          name: My Custom Provider
          description: An optional description for this provider
    

    Create CustomProvider Resource

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

    Constructor syntax

    new CustomProvider(name: string, args?: CustomProviderArgs, opts?: CustomResourceOptions);
    @overload
    def CustomProvider(resource_name: str,
                       args: Optional[CustomProviderArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def CustomProvider(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       description: Optional[str] = None,
                       name: Optional[str] = None)
    func NewCustomProvider(ctx *Context, name string, args *CustomProviderArgs, opts ...ResourceOption) (*CustomProvider, error)
    public CustomProvider(string name, CustomProviderArgs? args = null, CustomResourceOptions? opts = null)
    public CustomProvider(String name, CustomProviderArgs args)
    public CustomProvider(String name, CustomProviderArgs args, CustomResourceOptions options)
    
    type: vantage:CustomProvider
    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 CustomProviderArgs
    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 CustomProviderArgs
    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 CustomProviderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CustomProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CustomProviderArgs
    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 customProviderResource = new Vantage.CustomProvider("customProviderResource", new()
    {
        Description = "string",
        Name = "string",
    });
    
    example, err := vantage.NewCustomProvider(ctx, "customProviderResource", &vantage.CustomProviderArgs{
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    var customProviderResource = new CustomProvider("customProviderResource", CustomProviderArgs.builder()
        .description("string")
        .name("string")
        .build());
    
    custom_provider_resource = vantage.CustomProvider("customProviderResource",
        description="string",
        name="string")
    
    const customProviderResource = new vantage.CustomProvider("customProviderResource", {
        description: "string",
        name: "string",
    });
    
    type: vantage:CustomProvider
    properties:
        description: string
        name: string
    

    CustomProvider 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 CustomProvider resource accepts the following input properties:

    Description string
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    Name string
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    Description string
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    Name string
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    description String
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    name String
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    description string
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    name string
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    description str
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    name str
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    description String
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    name String
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the integration.
    Token string
    Unique token of the Custom Provider integration.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the integration.
    Token string
    Unique token of the Custom Provider integration.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the integration.
    token String
    Unique token of the Custom Provider integration.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the integration.
    token string
    Unique token of the Custom Provider integration.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the integration.
    token str
    Unique token of the Custom Provider integration.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the integration.
    token String
    Unique token of the Custom Provider integration.

    Look up Existing CustomProvider Resource

    Get an existing CustomProvider 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?: CustomProviderState, opts?: CustomResourceOptions): CustomProvider
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            status: Optional[str] = None,
            token: Optional[str] = None) -> CustomProvider
    func GetCustomProvider(ctx *Context, name string, id IDInput, state *CustomProviderState, opts ...ResourceOption) (*CustomProvider, error)
    public static CustomProvider Get(string name, Input<string> id, CustomProviderState? state, CustomResourceOptions? opts = null)
    public static CustomProvider get(String name, Output<String> id, CustomProviderState state, CustomResourceOptions options)
    resources:  _:    type: vantage:CustomProvider    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:
    Description string
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    Name string
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    Status string
    The status of the integration.
    Token string
    Unique token of the Custom Provider integration.
    Description string
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    Name string
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    Status string
    The status of the integration.
    Token string
    Unique token of the Custom Provider integration.
    description String
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    name String
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    status String
    The status of the integration.
    token String
    Unique token of the Custom Provider integration.
    description string
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    name string
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    status string
    The status of the integration.
    token string
    Unique token of the Custom Provider integration.
    description str
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    name str
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    status str
    The status of the integration.
    token str
    Unique token of the Custom Provider integration.
    description String
    A description for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    name String
    The display name for the custom provider. Cannot be changed after creation — a warning will be shown and the existing value preserved if a change is attempted.
    status String
    The status of the integration.
    token String
    Unique token of the Custom Provider integration.

    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.6
    published on Monday, May 4, 2026 by vantage-sh
      Try Pulumi Cloud free. Your team will thank you.