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. - Project
Id 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. - Project
Id 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. - project
Id 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. - project
Id 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. - project
Id 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.
 - Created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
 - Created
By string - The user the entity was created by.
 - Global bool
 - A flag indicating that all the items can be requested across all projects.
 - Items
Found string - Number of items found in the catalog source.
 - Items
Imported string - Number of items imported from the catalog source.
 - Last
Import stringCompleted At  - Time at which the last import was completed at.
 - Last
Import List<string>Errors  - A list of errors seen at last time the catalog source is imported.
 - Last
Import stringStarted At  - Time at which the last import was started at.
 - Last
Updated stringBy  - The user that last updated the catalog source.
 - Name string
 - Project
Id string - Type
Id 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.
 - Created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
 - Created
By string - The user the entity was created by.
 - Global bool
 - A flag indicating that all the items can be requested across all projects.
 - Items
Found string - Number of items found in the catalog source.
 - Items
Imported string - Number of items imported from the catalog source.
 - Last
Import stringCompleted At  - Time at which the last import was completed at.
 - Last
Import []stringErrors  - A list of errors seen at last time the catalog source is imported.
 - Last
Import stringStarted At  - Time at which the last import was started at.
 - Last
Updated stringBy  - The user that last updated the catalog source.
 - Name string
 - Project
Id string - Type
Id 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.
 - created
At String - Date when the entity was created. The date is in ISO 6801 and UTC.
 - created
By String - The user the entity was created by.
 - global Boolean
 - A flag indicating that all the items can be requested across all projects.
 - items
Found String - Number of items found in the catalog source.
 - items
Imported String - Number of items imported from the catalog source.
 - last
Import StringCompleted At  - Time at which the last import was completed at.
 - last
Import List<String>Errors  - A list of errors seen at last time the catalog source is imported.
 - last
Import StringStarted At  - Time at which the last import was started at.
 - last
Updated StringBy  - The user that last updated the catalog source.
 - name String
 - project
Id String - type
Id 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.
 - created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
 - created
By string - The user the entity was created by.
 - global boolean
 - A flag indicating that all the items can be requested across all projects.
 - items
Found string - Number of items found in the catalog source.
 - items
Imported string - Number of items imported from the catalog source.
 - last
Import stringCompleted At  - Time at which the last import was completed at.
 - last
Import string[]Errors  - A list of errors seen at last time the catalog source is imported.
 - last
Import stringStarted At  - Time at which the last import was started at.
 - last
Updated stringBy  - The user that last updated the catalog source.
 - name string
 - project
Id string - type
Id 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.
 - created
At String - Date when the entity was created. The date is in ISO 6801 and UTC.
 - created
By String - The user the entity was created by.
 - global Boolean
 - A flag indicating that all the items can be requested across all projects.
 - items
Found String - Number of items found in the catalog source.
 - items
Imported String - Number of items imported from the catalog source.
 - last
Import StringCompleted At  - Time at which the last import was completed at.
 - last
Import List<String>Errors  - A list of errors seen at last time the catalog source is imported.
 - last
Import StringStarted At  - Time at which the last import was started at.
 - last
Updated StringBy  - The user that last updated the catalog source.
 - name String
 - project
Id String - type
Id 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.