vra.getCatalogSourceBlueprint
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 dictionaryThe following arguments are supported:
- 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,- nameor- project_idmust 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.
- LastImport stringCompleted At 
- Date when the last import was completed. The date is in ISO 8601 and UTC.
- LastImport List<string>Errors 
- A list of errors seen at last time the content source is imported.
- LastImport stringStarted At 
- Date when the last import was started. The date is in ISO 8601 and UTC.
- LastUpdated stringAt 
- LastUpdated stringBy 
- 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.
- LastImport stringCompleted At 
- Date when the last import was completed. The date is in ISO 8601 and UTC.
- LastImport []stringErrors 
- A list of errors seen at last time the content source is imported.
- LastImport stringStarted At 
- Date when the last import was started. The date is in ISO 8601 and UTC.
- LastUpdated stringAt 
- LastUpdated stringBy 
- 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.
- lastImport StringCompleted At 
- Date when the last import was completed. The date is in ISO 8601 and UTC.
- lastImport List<String>Errors 
- A list of errors seen at last time the content source is imported.
- lastImport StringStarted At 
- Date when the last import was started. The date is in ISO 8601 and UTC.
- lastUpdated StringAt 
- lastUpdated StringBy 
- 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.
- lastImport stringCompleted At 
- Date when the last import was completed. The date is in ISO 8601 and UTC.
- lastImport string[]Errors 
- A list of errors seen at last time the content source is imported.
- lastImport stringStarted At 
- Date when the last import was started. The date is in ISO 8601 and UTC.
- lastUpdated stringAt 
- lastUpdated stringBy 
- 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_ strcompleted_ at 
- Date when the last import was completed. The date is in ISO 8601 and UTC.
- last_import_ Sequence[str]errors 
- A list of errors seen at last time the content source is imported.
- last_import_ strstarted_ at 
- Date when the last import was started. The date is in ISO 8601 and UTC.
- last_updated_ strat 
- last_updated_ strby 
- 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.
- lastImport StringCompleted At 
- Date when the last import was completed. The date is in ISO 8601 and UTC.
- lastImport List<String>Errors 
- A list of errors seen at last time the content source is imported.
- lastImport StringStarted At 
- Date when the last import was started. The date is in ISO 8601 and UTC.
- lastUpdated StringAt 
- lastUpdated StringBy 
- 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 vraTerraform Provider.
