vra.getCatalogSourceBlueprint
Explore with Pulumi AI
This data source provides information about a catalog source of type cloud template (blueprint) in vRA.
Example Usage
S
This is an example of how to get a vRA 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 vRA 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 vRA 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(config: Optional[Mapping[str, str]] = None,
                                 description: Optional[str] = None,
                                 id: Optional[str] = None,
                                 name: Optional[str] = None,
                                 project_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetCatalogSourceBlueprintResult
def get_catalog_source_blueprint_output(config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                                 description: Optional[pulumi.Input[str]] = None,
                                 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 dictionaryThe following arguments are supported:
- Config Dictionary<string, string>
- Custom configuration of the catalog source as a map of key values.
- Description string
- Catalog source description.
- Id string
- The id of catalog source. One of id,nameorproject_idmust be provided.
- Name string
- Name of the catalog source. One of id,nameorproject_idmust be provided.
- ProjectId string
- The id of the project. One of id,nameorproject_idmust be provided.
- Config map[string]string
- Custom configuration of the catalog source as a map of key values.
- Description string
- Catalog source description.
- Id string
- The id of catalog source. One of id,nameorproject_idmust be provided.
- Name string
- Name of the catalog source. One of id,nameorproject_idmust be provided.
- ProjectId string
- The id of the project. One of id,nameorproject_idmust be provided.
- config Map<String,String>
- Custom configuration of the catalog source as a map of key values.
- description String
- Catalog source description.
- id String
- The id of catalog source. One of id,nameorproject_idmust be provided.
- name String
- Name of the catalog source. One of id,nameorproject_idmust be provided.
- projectId String
- The id of the project. One of id,nameorproject_idmust be provided.
- config {[key: string]: string}
- Custom configuration of the catalog source as a map of key values.
- description string
- Catalog source description.
- id string
- The id of catalog source. One of id,nameorproject_idmust be provided.
- name string
- Name of the catalog source. One of id,nameorproject_idmust be provided.
- projectId string
- The id of the project. One of id,nameorproject_idmust be provided.
- config Mapping[str, str]
- Custom configuration of the catalog source as a map of key values.
- description str
- Catalog source description.
- id str
- The id of catalog source. One of id,nameorproject_idmust be provided.
- name str
- Name of the catalog source. One of id,nameorproject_idmust be provided.
- project_id str
- The id of the project. One of id,nameorproject_idmust be provided.
- config Map<String>
- Custom configuration of the catalog source as a map of key values.
- description String
- Catalog source description.
- id String
- The id of catalog source. One of id,nameorproject_idmust be provided.
- name String
- Name of the catalog source. One of id,nameorproject_idmust be provided.
- projectId String
- The id of the project. One of id,nameorproject_idmust be provided.
getCatalogSourceBlueprint Result
The following output properties are available:
- Config Dictionary<string, string>
- Custom configuration of the catalog source as a map of key values.
- CreatedAt string
- Date when the entity was created. The date is in ISO 6801 and UTC.
- CreatedBy string
- The user the entity was created by.
- Global bool
- A flag indicating that all the items can be requested across all projects.
- ItemsFound string
- Number of items found in the catalog source.
- ItemsImported string
- Number of items imported from the catalog source.
- LastImport stringCompleted At 
- Time at which the last import was completed at.
- LastImport List<string>Errors 
- A list of errors seen at last time the catalog source is imported.
- LastImport stringStarted At 
- Time at which the last import was started at.
- LastUpdated stringBy 
- The user that last updated the catalog source.
- Name string
- ProjectId string
- TypeId string
- Type of catalog source. Example: blueprint,CFT, etc.
- Description string
- Catalog source description.
- Id string
- Config map[string]string
- Custom configuration of the catalog source as a map of key values.
- CreatedAt string
- Date when the entity was created. The date is in ISO 6801 and UTC.
- CreatedBy string
- The user the entity was created by.
- Global bool
- A flag indicating that all the items can be requested across all projects.
- ItemsFound string
- Number of items found in the catalog source.
- ItemsImported string
- Number of items imported from the catalog source.
- LastImport stringCompleted At 
- Time at which the last import was completed at.
- LastImport []stringErrors 
- A list of errors seen at last time the catalog source is imported.
- LastImport stringStarted At 
- Time at which the last import was started at.
- LastUpdated stringBy 
- The user that last updated the catalog source.
- Name string
- ProjectId string
- TypeId string
- Type of catalog source. Example: blueprint,CFT, etc.
- Description string
- Catalog source description.
- Id string
- config Map<String,String>
- Custom configuration of the catalog source as a map of key values.
- createdAt String
- Date when the entity was created. The date is in ISO 6801 and UTC.
- createdBy String
- The user the entity was created by.
- global Boolean
- A flag indicating that all the items can be requested across all projects.
- itemsFound String
- Number of items found in the catalog source.
- itemsImported String
- Number of items imported from the catalog source.
- lastImport StringCompleted At 
- Time at which the last import was completed at.
- lastImport List<String>Errors 
- A list of errors seen at last time the catalog source is imported.
- lastImport StringStarted At 
- Time at which the last import was started at.
- lastUpdated StringBy 
- The user that last updated the catalog source.
- name String
- projectId String
- typeId String
- Type of catalog source. Example: blueprint,CFT, etc.
- description String
- Catalog source description.
- id String
- config {[key: string]: string}
- Custom configuration of the catalog source as a map of key values.
- createdAt string
- Date when the entity was created. The date is in ISO 6801 and UTC.
- createdBy string
- The user the entity was created by.
- global boolean
- A flag indicating that all the items can be requested across all projects.
- itemsFound string
- Number of items found in the catalog source.
- itemsImported string
- Number of items imported from the catalog source.
- lastImport stringCompleted At 
- Time at which the last import was completed at.
- lastImport string[]Errors 
- A list of errors seen at last time the catalog source is imported.
- lastImport stringStarted At 
- Time at which the last import was started at.
- lastUpdated stringBy 
- The user that last updated the catalog source.
- name string
- projectId string
- typeId string
- Type of catalog source. Example: blueprint,CFT, etc.
- description string
- Catalog source description.
- id string
- config Mapping[str, str]
- Custom configuration of the catalog source as a map of key values.
- created_at str
- Date when the entity was created. The date is in ISO 6801 and UTC.
- created_by str
- The user the entity was created by.
- global_ bool
- A flag indicating that all the items can be requested across all projects.
- items_found str
- Number of items found in the catalog source.
- items_imported str
- Number of items imported from the catalog source.
- last_import_ strcompleted_ at 
- Time at which the last import was completed at.
- last_import_ Sequence[str]errors 
- A list of errors seen at last time the catalog source is imported.
- last_import_ strstarted_ at 
- Time at which the last import was started at.
- last_updated_ strby 
- The user that last updated the catalog source.
- name str
- project_id str
- type_id str
- Type of catalog source. Example: blueprint,CFT, etc.
- description str
- Catalog source description.
- id str
- config Map<String>
- Custom configuration of the catalog source as a map of key values.
- createdAt String
- Date when the entity was created. The date is in ISO 6801 and UTC.
- createdBy String
- The user the entity was created by.
- global Boolean
- A flag indicating that all the items can be requested across all projects.
- itemsFound String
- Number of items found in the catalog source.
- itemsImported String
- Number of items imported from the catalog source.
- lastImport StringCompleted At 
- Time at which the last import was completed at.
- lastImport List<String>Errors 
- A list of errors seen at last time the catalog source is imported.
- lastImport StringStarted At 
- Time at which the last import was started at.
- lastUpdated StringBy 
- The user that last updated the catalog source.
- name String
- projectId String
- typeId String
- Type of catalog source. Example: blueprint,CFT, etc.
- description String
- Catalog source description.
- id String
Package Details
- Repository
- vra vmware/terraform-provider-vra
- License
- Notes
- This Pulumi package is based on the vraTerraform Provider.