1. Packages
  2. Vra Provider
  3. API Docs
  4. CatalogSourceBlueprint
vra 0.15.0 published on Tuesday, Aug 19, 2025 by vmware

vra.CatalogSourceBlueprint

Explore with Pulumi AI

vra logo
vra 0.15.0 published on Tuesday, Aug 19, 2025 by vmware

    Creates a catalog source resource of type cloud template (blueprint).

    Example Usage

    S

    The following example shows how to create a catalog source resource.

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const _this = new vra.CatalogSourceBlueprint("this", {projectId: _var.vra_project_id});
    
    import pulumi
    import pulumi_vra as vra
    
    this = vra.CatalogSourceBlueprint("this", project_id=var["vra_project_id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vra.NewCatalogSourceBlueprint(ctx, "this", &vra.CatalogSourceBlueprintArgs{
    			ProjectId: pulumi.Any(_var.Vra_project_id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vra = Pulumi.Vra;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Vra.CatalogSourceBlueprint("this", new()
        {
            ProjectId = @var.Vra_project_id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.CatalogSourceBlueprint;
    import com.pulumi.vra.CatalogSourceBlueprintArgs;
    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 this_ = new CatalogSourceBlueprint("this", CatalogSourceBlueprintArgs.builder()
                .projectId(var_.vra_project_id())
                .build());
    
        }
    }
    
    resources:
      this:
        type: vra:CatalogSourceBlueprint
        properties:
          projectId: ${var.vra_project_id}
    

    Create CatalogSourceBlueprint Resource

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

    Constructor syntax

    new CatalogSourceBlueprint(name: string, args: CatalogSourceBlueprintArgs, opts?: CustomResourceOptions);
    @overload
    def CatalogSourceBlueprint(resource_name: str,
                               args: CatalogSourceBlueprintArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def CatalogSourceBlueprint(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               project_id: Optional[str] = None,
                               catalog_source_blueprint_id: Optional[str] = None,
                               description: Optional[str] = None,
                               name: Optional[str] = None)
    func NewCatalogSourceBlueprint(ctx *Context, name string, args CatalogSourceBlueprintArgs, opts ...ResourceOption) (*CatalogSourceBlueprint, error)
    public CatalogSourceBlueprint(string name, CatalogSourceBlueprintArgs args, CustomResourceOptions? opts = null)
    public CatalogSourceBlueprint(String name, CatalogSourceBlueprintArgs args)
    public CatalogSourceBlueprint(String name, CatalogSourceBlueprintArgs args, CustomResourceOptions options)
    
    type: vra:CatalogSourceBlueprint
    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 CatalogSourceBlueprintArgs
    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 CatalogSourceBlueprintArgs
    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 CatalogSourceBlueprintArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CatalogSourceBlueprintArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CatalogSourceBlueprintArgs
    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 catalogSourceBlueprintResource = new Vra.CatalogSourceBlueprint("catalogSourceBlueprintResource", new()
    {
        ProjectId = "string",
        CatalogSourceBlueprintId = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := vra.NewCatalogSourceBlueprint(ctx, "catalogSourceBlueprintResource", &vra.CatalogSourceBlueprintArgs{
    	ProjectId:                pulumi.String("string"),
    	CatalogSourceBlueprintId: pulumi.String("string"),
    	Description:              pulumi.String("string"),
    	Name:                     pulumi.String("string"),
    })
    
    var catalogSourceBlueprintResource = new CatalogSourceBlueprint("catalogSourceBlueprintResource", CatalogSourceBlueprintArgs.builder()
        .projectId("string")
        .catalogSourceBlueprintId("string")
        .description("string")
        .name("string")
        .build());
    
    catalog_source_blueprint_resource = vra.CatalogSourceBlueprint("catalogSourceBlueprintResource",
        project_id="string",
        catalog_source_blueprint_id="string",
        description="string",
        name="string")
    
    const catalogSourceBlueprintResource = new vra.CatalogSourceBlueprint("catalogSourceBlueprintResource", {
        projectId: "string",
        catalogSourceBlueprintId: "string",
        description: "string",
        name: "string",
    });
    
    type: vra:CatalogSourceBlueprint
    properties:
        catalogSourceBlueprintId: string
        description: string
        name: string
        projectId: string
    

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

    ProjectId string
    The id of the project the blueprint content source instance belongs to.
    CatalogSourceBlueprintId string
    Description string
    A human-friendly description for the blueprint content source instance.
    Name string
    The name of the blueprint content source instance.
    ProjectId string
    The id of the project the blueprint content source instance belongs to.
    CatalogSourceBlueprintId string
    Description string
    A human-friendly description for the blueprint content source instance.
    Name string
    The name of the blueprint content source instance.
    projectId String
    The id of the project the blueprint content source instance belongs to.
    catalogSourceBlueprintId String
    description String
    A human-friendly description for the blueprint content source instance.
    name String
    The name of the blueprint content source instance.
    projectId string
    The id of the project the blueprint content source instance belongs to.
    catalogSourceBlueprintId string
    description string
    A human-friendly description for the blueprint content source instance.
    name string
    The name of the blueprint content source instance.
    project_id str
    The id of the project the blueprint content source instance belongs to.
    catalog_source_blueprint_id str
    description str
    A human-friendly description for the blueprint content source instance.
    name str
    The name of the blueprint content source instance.
    projectId String
    The id of the project the blueprint content source instance belongs to.
    catalogSourceBlueprintId String
    description String
    A human-friendly description for the blueprint content source instance.
    name String
    The name of the blueprint content source instance.

    Outputs

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

    Config Dictionary<string, string>
    The content source custom configuration.
    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    CreatedBy string
    The user the entity was created by.
    Global bool
    Global flag indicating that all the items can be requested across all projects.
    IconId string
    Default Icon Identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    ItemsFound double
    Number of items found.
    ItemsImported double
    Number of items imported.
    LastImportCompletedAt string
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    LastImportErrors List<string>
    A list of errors seen at last time the content source is imported.
    LastImportStartedAt string
    Date when the last import was started. The date is in ISO 8601 and UTC.
    LastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    LastUpdatedBy string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    TypeId string
    The type of this content source. Example: blueprint, CFT, etc.
    Config map[string]string
    The content source custom configuration.
    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    CreatedBy string
    The user the entity was created by.
    Global bool
    Global flag indicating that all the items can be requested across all projects.
    IconId string
    Default Icon Identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    ItemsFound float64
    Number of items found.
    ItemsImported float64
    Number of items imported.
    LastImportCompletedAt string
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    LastImportErrors []string
    A list of errors seen at last time the content source is imported.
    LastImportStartedAt string
    Date when the last import was started. The date is in ISO 8601 and UTC.
    LastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    LastUpdatedBy string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    TypeId string
    The type of this content source. Example: blueprint, CFT, etc.
    config Map<String,String>
    The content source custom configuration.
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy String
    The user the entity was created by.
    global Boolean
    Global flag indicating that all the items can be requested across all projects.
    iconId String
    Default Icon Identifier.
    id String
    The provider-assigned unique ID for this managed resource.
    itemsFound Double
    Number of items found.
    itemsImported Double
    Number of items imported.
    lastImportCompletedAt String
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    lastImportErrors List<String>
    A list of errors seen at last time the content source is imported.
    lastImportStartedAt String
    Date when the last import was started. The date is in ISO 8601 and UTC.
    lastUpdatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    typeId String
    The type of this content source. Example: blueprint, CFT, etc.
    config {[key: string]: string}
    The content source custom configuration.
    createdAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy string
    The user the entity was created by.
    global boolean
    Global flag indicating that all the items can be requested across all projects.
    iconId string
    Default Icon Identifier.
    id string
    The provider-assigned unique ID for this managed resource.
    itemsFound number
    Number of items found.
    itemsImported number
    Number of items imported.
    lastImportCompletedAt string
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    lastImportErrors string[]
    A list of errors seen at last time the content source is imported.
    lastImportStartedAt string
    Date when the last import was started. The date is in ISO 8601 and UTC.
    lastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    typeId string
    The type of this content source. Example: blueprint, CFT, etc.
    config Mapping[str, str]
    The content source custom configuration.
    created_at str
    Date when the entity was created. The date is in ISO 8601 and UTC.
    created_by str
    The user the entity was created by.
    global_ bool
    Global flag indicating that all the items can be requested across all projects.
    icon_id str
    Default Icon Identifier.
    id str
    The provider-assigned unique ID for this managed resource.
    items_found float
    Number of items found.
    items_imported float
    Number of items imported.
    last_import_completed_at str
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    last_import_errors Sequence[str]
    A list of errors seen at last time the content source is imported.
    last_import_started_at str
    Date when the last import was started. The date is in ISO 8601 and UTC.
    last_updated_at str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    last_updated_by str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    type_id str
    The type of this content source. Example: blueprint, CFT, etc.
    config Map<String>
    The content source custom configuration.
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy String
    The user the entity was created by.
    global Boolean
    Global flag indicating that all the items can be requested across all projects.
    iconId String
    Default Icon Identifier.
    id String
    The provider-assigned unique ID for this managed resource.
    itemsFound Number
    Number of items found.
    itemsImported Number
    Number of items imported.
    lastImportCompletedAt String
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    lastImportErrors List<String>
    A list of errors seen at last time the content source is imported.
    lastImportStartedAt String
    Date when the last import was started. The date is in ISO 8601 and UTC.
    lastUpdatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    typeId String
    The type of this content source. Example: blueprint, CFT, etc.

    Look up Existing CatalogSourceBlueprint Resource

    Get an existing CatalogSourceBlueprint 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?: CatalogSourceBlueprintState, opts?: CustomResourceOptions): CatalogSourceBlueprint
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            catalog_source_blueprint_id: Optional[str] = None,
            config: Optional[Mapping[str, str]] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            description: Optional[str] = None,
            global_: Optional[bool] = None,
            icon_id: Optional[str] = None,
            items_found: Optional[float] = None,
            items_imported: Optional[float] = None,
            last_import_completed_at: Optional[str] = None,
            last_import_errors: Optional[Sequence[str]] = None,
            last_import_started_at: Optional[str] = None,
            last_updated_at: Optional[str] = None,
            last_updated_by: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            type_id: Optional[str] = None) -> CatalogSourceBlueprint
    func GetCatalogSourceBlueprint(ctx *Context, name string, id IDInput, state *CatalogSourceBlueprintState, opts ...ResourceOption) (*CatalogSourceBlueprint, error)
    public static CatalogSourceBlueprint Get(string name, Input<string> id, CatalogSourceBlueprintState? state, CustomResourceOptions? opts = null)
    public static CatalogSourceBlueprint get(String name, Output<String> id, CatalogSourceBlueprintState state, CustomResourceOptions options)
    resources:  _:    type: vra:CatalogSourceBlueprint    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:
    CatalogSourceBlueprintId string
    Config Dictionary<string, string>
    The content source custom configuration.
    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    CreatedBy string
    The user the entity was created by.
    Description string
    A human-friendly description for the blueprint content source instance.
    Global bool
    Global flag indicating that all the items can be requested across all projects.
    IconId string
    Default Icon Identifier.
    ItemsFound double
    Number of items found.
    ItemsImported double
    Number of items imported.
    LastImportCompletedAt string
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    LastImportErrors List<string>
    A list of errors seen at last time the content source is imported.
    LastImportStartedAt string
    Date when the last import was started. The date is in ISO 8601 and UTC.
    LastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    LastUpdatedBy string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    Name string
    The name of the blueprint content source instance.
    ProjectId string
    The id of the project the blueprint content source instance belongs to.
    TypeId string
    The type of this content source. Example: blueprint, CFT, etc.
    CatalogSourceBlueprintId string
    Config map[string]string
    The content source custom configuration.
    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    CreatedBy string
    The user the entity was created by.
    Description string
    A human-friendly description for the blueprint content source instance.
    Global bool
    Global flag indicating that all the items can be requested across all projects.
    IconId string
    Default Icon Identifier.
    ItemsFound float64
    Number of items found.
    ItemsImported float64
    Number of items imported.
    LastImportCompletedAt string
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    LastImportErrors []string
    A list of errors seen at last time the content source is imported.
    LastImportStartedAt string
    Date when the last import was started. The date is in ISO 8601 and UTC.
    LastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    LastUpdatedBy string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    Name string
    The name of the blueprint content source instance.
    ProjectId string
    The id of the project the blueprint content source instance belongs to.
    TypeId string
    The type of this content source. Example: blueprint, CFT, etc.
    catalogSourceBlueprintId String
    config Map<String,String>
    The content source custom configuration.
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy String
    The user the entity was created by.
    description String
    A human-friendly description for the blueprint content source instance.
    global Boolean
    Global flag indicating that all the items can be requested across all projects.
    iconId String
    Default Icon Identifier.
    itemsFound Double
    Number of items found.
    itemsImported Double
    Number of items imported.
    lastImportCompletedAt String
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    lastImportErrors List<String>
    A list of errors seen at last time the content source is imported.
    lastImportStartedAt String
    Date when the last import was started. The date is in ISO 8601 and UTC.
    lastUpdatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    name String
    The name of the blueprint content source instance.
    projectId String
    The id of the project the blueprint content source instance belongs to.
    typeId String
    The type of this content source. Example: blueprint, CFT, etc.
    catalogSourceBlueprintId string
    config {[key: string]: string}
    The content source custom configuration.
    createdAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy string
    The user the entity was created by.
    description string
    A human-friendly description for the blueprint content source instance.
    global boolean
    Global flag indicating that all the items can be requested across all projects.
    iconId string
    Default Icon Identifier.
    itemsFound number
    Number of items found.
    itemsImported number
    Number of items imported.
    lastImportCompletedAt string
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    lastImportErrors string[]
    A list of errors seen at last time the content source is imported.
    lastImportStartedAt string
    Date when the last import was started. The date is in ISO 8601 and UTC.
    lastUpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    name string
    The name of the blueprint content source instance.
    projectId string
    The id of the project the blueprint content source instance belongs to.
    typeId string
    The type of this content source. Example: blueprint, CFT, etc.
    catalog_source_blueprint_id str
    config Mapping[str, str]
    The content source custom configuration.
    created_at str
    Date when the entity was created. The date is in ISO 8601 and UTC.
    created_by str
    The user the entity was created by.
    description str
    A human-friendly description for the blueprint content source instance.
    global_ bool
    Global flag indicating that all the items can be requested across all projects.
    icon_id str
    Default Icon Identifier.
    items_found float
    Number of items found.
    items_imported float
    Number of items imported.
    last_import_completed_at str
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    last_import_errors Sequence[str]
    A list of errors seen at last time the content source is imported.
    last_import_started_at str
    Date when the last import was started. The date is in ISO 8601 and UTC.
    last_updated_at str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    last_updated_by str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    name str
    The name of the blueprint content source instance.
    project_id str
    The id of the project the blueprint content source instance belongs to.
    type_id str
    The type of this content source. Example: blueprint, CFT, etc.
    catalogSourceBlueprintId String
    config Map<String>
    The content source custom configuration.
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    createdBy String
    The user the entity was created by.
    description String
    A human-friendly description for the blueprint content source instance.
    global Boolean
    Global flag indicating that all the items can be requested across all projects.
    iconId String
    Default Icon Identifier.
    itemsFound Number
    Number of items found.
    itemsImported Number
    Number of items imported.
    lastImportCompletedAt String
    Date when the last import was completed. The date is in ISO 8601 and UTC.
    lastImportErrors List<String>
    A list of errors seen at last time the content source is imported.
    lastImportStartedAt String
    Date when the last import was started. The date is in ISO 8601 and UTC.
    lastUpdatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    lastUpdatedBy String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    name String
    The name of the blueprint content source instance.
    projectId String
    The id of the project the blueprint content source instance belongs to.
    typeId String
    The type of this content source. Example: blueprint, CFT, etc.

    Import

    To import the cloud template catalog source, use the ID as in the following example:

    $ pulumi import vra:index/catalogSourceBlueprint:CatalogSourceBlueprint this 05956583-6488-4e7d-84c9-92a7b7219a15`
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    vra vmware/terraform-provider-vra
    License
    Notes
    This Pulumi package is based on the vra Terraform Provider.
    vra logo
    vra 0.15.0 published on Tuesday, Aug 19, 2025 by vmware