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

vra.getCatalogSourceBlueprint

Explore with Pulumi AI

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

    This data source provides information about a catalog source of type cloud template (blueprint).

    Example Usage

    S

    This is an example of how to get a cloud template catalog source by its name.

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const _this = vra.getCatalogSourceBlueprint({
        name: _var.catalog_source_name,
    });
    
    import pulumi
    import pulumi_vra as vra
    
    this = vra.get_catalog_source_blueprint(name=var["catalog_source_name"])
    
    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.LookupCatalogSourceBlueprint(ctx, &vra.LookupCatalogSourceBlueprintArgs{
    			Name: pulumi.StringRef(_var.Catalog_source_name),
    		}, nil)
    		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 = Vra.GetCatalogSourceBlueprint.Invoke(new()
        {
            Name = @var.Catalog_source_name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.VraFunctions;
    import com.pulumi.vra.inputs.GetCatalogSourceBlueprintArgs;
    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 this = VraFunctions.getCatalogSourceBlueprint(GetCatalogSourceBlueprintArgs.builder()
                .name(var_.catalog_source_name())
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          function: vra:getCatalogSourceBlueprint
          arguments:
            name: ${var.catalog_source_name}
    

    This is an example of how to get a cloud template catalog source by its id.

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const _this = vra.getCatalogSourceBlueprint({
        id: _var.catalog_source_id,
    });
    
    import pulumi
    import pulumi_vra as vra
    
    this = vra.get_catalog_source_blueprint(id=var["catalog_source_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.LookupCatalogSourceBlueprint(ctx, &vra.LookupCatalogSourceBlueprintArgs{
    			Id: pulumi.StringRef(_var.Catalog_source_id),
    		}, nil)
    		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 = Vra.GetCatalogSourceBlueprint.Invoke(new()
        {
            Id = @var.Catalog_source_id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.VraFunctions;
    import com.pulumi.vra.inputs.GetCatalogSourceBlueprintArgs;
    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 this = VraFunctions.getCatalogSourceBlueprint(GetCatalogSourceBlueprintArgs.builder()
                .id(var_.catalog_source_id())
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          function: vra:getCatalogSourceBlueprint
          arguments:
            id: ${var.catalog_source_id}
    

    This is an example of how to get a cloud template catalog source by the project id it is associated with.

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const _this = vra.getCatalogSourceBlueprint({
        projectId: _var.project_id,
    });
    
    import pulumi
    import pulumi_vra as vra
    
    this = vra.get_catalog_source_blueprint(project_id=var["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.LookupCatalogSourceBlueprint(ctx, &vra.LookupCatalogSourceBlueprintArgs{
    			ProjectId: pulumi.StringRef(_var.Project_id),
    		}, nil)
    		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 = Vra.GetCatalogSourceBlueprint.Invoke(new()
        {
            ProjectId = @var.Project_id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.VraFunctions;
    import com.pulumi.vra.inputs.GetCatalogSourceBlueprintArgs;
    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 this = VraFunctions.getCatalogSourceBlueprint(GetCatalogSourceBlueprintArgs.builder()
                .projectId(var_.project_id())
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          function: vra:getCatalogSourceBlueprint
          arguments:
            projectId: ${var.project_id}
    

    Using getCatalogSourceBlueprint

    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 getCatalogSourceBlueprint(args: GetCatalogSourceBlueprintArgs, opts?: InvokeOptions): Promise<GetCatalogSourceBlueprintResult>
    function getCatalogSourceBlueprintOutput(args: GetCatalogSourceBlueprintOutputArgs, opts?: InvokeOptions): Output<GetCatalogSourceBlueprintResult>
    def get_catalog_source_blueprint(id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     project_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetCatalogSourceBlueprintResult
    def get_catalog_source_blueprint_output(id: Optional[pulumi.Input[str]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     project_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetCatalogSourceBlueprintResult]
    func LookupCatalogSourceBlueprint(ctx *Context, args *LookupCatalogSourceBlueprintArgs, opts ...InvokeOption) (*LookupCatalogSourceBlueprintResult, error)
    func LookupCatalogSourceBlueprintOutput(ctx *Context, args *LookupCatalogSourceBlueprintOutputArgs, opts ...InvokeOption) LookupCatalogSourceBlueprintResultOutput

    > Note: This function is named LookupCatalogSourceBlueprint in the Go SDK.

    public static class GetCatalogSourceBlueprint 
    {
        public static Task<GetCatalogSourceBlueprintResult> InvokeAsync(GetCatalogSourceBlueprintArgs args, InvokeOptions? opts = null)
        public static Output<GetCatalogSourceBlueprintResult> Invoke(GetCatalogSourceBlueprintInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCatalogSourceBlueprintResult> getCatalogSourceBlueprint(GetCatalogSourceBlueprintArgs args, InvokeOptions options)
    public static Output<GetCatalogSourceBlueprintResult> getCatalogSourceBlueprint(GetCatalogSourceBlueprintArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vra:index/getCatalogSourceBlueprint:getCatalogSourceBlueprint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of 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.

    Note: One of id, name or project_id must be provided.

    Id string
    The id of 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.

    Note: One of id, name or project_id must be provided.

    id String
    The id of 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.

    Note: One of id, name or project_id must be provided.

    id string
    The id of 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.

    Note: One of id, name or project_id must be provided.

    id str
    The id of the blueprint content source instance.
    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.

    Note: One of id, name or project_id must be provided.

    id String
    The id of 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.

    Note: One of id, name or project_id must be provided.

    getCatalogSourceBlueprint Result

    The following output properties are available:

    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.
    Id string
    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
    LastUpdatedBy string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    Name string
    ProjectId string
    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.
    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.
    Id string
    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
    LastUpdatedBy string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    Name string
    ProjectId string
    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.
    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.
    id String
    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
    lastUpdatedBy String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    name String
    projectId String
    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.
    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.
    id string
    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
    lastUpdatedBy string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    name string
    projectId string
    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.
    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.
    id str
    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
    last_updated_by str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    name str
    project_id str
    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.
    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.
    id String
    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
    lastUpdatedBy String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    name String
    projectId String
    typeId String
    The type of this content source. Example: blueprint, CFT, etc.

    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