Viewing docs for vra 0.17.0
published on Tuesday, Mar 10, 2026 by vmware
published on Tuesday, Mar 10, 2026 by vmware
Viewing docs for vra 0.17.0
published on Tuesday, Mar 10, 2026 by vmware
published on Tuesday, Mar 10, 2026 by vmware
This data source provides information about a cloud template (blueprint).
Example Usage
S
This is an example of how to get a cloud template by its name.
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = vra.getBlueprint({
name: thisVraBlueprint.name,
});
import pulumi
import pulumi_vra as vra
this = vra.get_blueprint(name=this_vra_blueprint["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.LookupBlueprint(ctx, &vra.LookupBlueprintArgs{
Name: pulumi.StringRef(thisVraBlueprint.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.GetBlueprint.Invoke(new()
{
Name = thisVraBlueprint.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.GetBlueprintArgs;
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.getBlueprint(GetBlueprintArgs.builder()
.name(thisVraBlueprint.name())
.build());
}
}
variables:
this:
fn::invoke:
function: vra:getBlueprint
arguments:
name: ${thisVraBlueprint.name}
This is an example of how to get a cloud template by its id.
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = vra.getBlueprint({
id: thisVraBlueprint.id,
});
import pulumi
import pulumi_vra as vra
this = vra.get_blueprint(id=this_vra_blueprint["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.LookupBlueprint(ctx, &vra.LookupBlueprintArgs{
Id: pulumi.StringRef(thisVraBlueprint.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.GetBlueprint.Invoke(new()
{
Id = thisVraBlueprint.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.GetBlueprintArgs;
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.getBlueprint(GetBlueprintArgs.builder()
.id(thisVraBlueprint.id())
.build());
}
}
variables:
this:
fn::invoke:
function: vra:getBlueprint
arguments:
id: ${thisVraBlueprint.id}
Using getBlueprint
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 getBlueprint(args: GetBlueprintArgs, opts?: InvokeOptions): Promise<GetBlueprintResult>
function getBlueprintOutput(args: GetBlueprintOutputArgs, opts?: InvokeOptions): Output<GetBlueprintResult>def get_blueprint(id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBlueprintResult
def get_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[GetBlueprintResult]func LookupBlueprint(ctx *Context, args *LookupBlueprintArgs, opts ...InvokeOption) (*LookupBlueprintResult, error)
func LookupBlueprintOutput(ctx *Context, args *LookupBlueprintOutputArgs, opts ...InvokeOption) LookupBlueprintResultOutput> Note: This function is named LookupBlueprint in the Go SDK.
public static class GetBlueprint
{
public static Task<GetBlueprintResult> InvokeAsync(GetBlueprintArgs args, InvokeOptions? opts = null)
public static Output<GetBlueprintResult> Invoke(GetBlueprintInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBlueprintResult> getBlueprint(GetBlueprintArgs args, InvokeOptions options)
public static Output<GetBlueprintResult> getBlueprint(GetBlueprintArgs args, InvokeOptions options)
fn::invoke:
function: vra:index/getBlueprint:getBlueprint
arguments:
# arguments dictionaryThe following arguments are supported:
- id str
- The id of this cloud template. One of
idornamemust be provided. - name str
- Name of the cloud template. One of
idornamemust be provided. - project_
id str - The id of the project to narrow the search while looking for cloud templates.
getBlueprint Result
The following output properties are available:
- Content string
- Blueprint YAML content.
- Content
Source stringId - The id of the content source.
- Content
Source stringPath - Content source path.
- Content
Source stringSync At - Content source last sync at.
- Content
Source List<string>Sync Messages - Content source last sync messages.
- Content
Source stringSync Status - Content source last sync status. Supported values:
SUCCESSFUL,FAILED. - Content
Source stringType - Content source type.
- 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.
- Description string
- A human-friendly description.
- Id string
- Name string
- Org
Id string - The id of the organization this entity belongs to.
- Project
Id string - Project
Name string - The name of the project the entity belongs to.
- Request
Scope boolOrg - Flag to indicate whether this blueprint can be requested from any project in the organization this entity belongs to.
- Self
Link string - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- Status string
- Status of the cloud template. Supported values:
DRAFT,VERSIONED,RELEASED. - Total
Released doubleVersions - Total number of released versions.
- Total
Versions double - Total number of versions.
- Updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- Updated
By string - The user the entity was last updated by.
- Valid bool
- Flag to indicate if the current content of the cloud template is valid.
- Validation
Messages List<GetBlueprint Validation Message> - List of validations messages.
- Content string
- Blueprint YAML content.
- Content
Source stringId - The id of the content source.
- Content
Source stringPath - Content source path.
- Content
Source stringSync At - Content source last sync at.
- Content
Source []stringSync Messages - Content source last sync messages.
- Content
Source stringSync Status - Content source last sync status. Supported values:
SUCCESSFUL,FAILED. - Content
Source stringType - Content source type.
- 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.
- Description string
- A human-friendly description.
- Id string
- Name string
- Org
Id string - The id of the organization this entity belongs to.
- Project
Id string - Project
Name string - The name of the project the entity belongs to.
- Request
Scope boolOrg - Flag to indicate whether this blueprint can be requested from any project in the organization this entity belongs to.
- Self
Link string - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- Status string
- Status of the cloud template. Supported values:
DRAFT,VERSIONED,RELEASED. - Total
Released float64Versions - Total number of released versions.
- Total
Versions float64 - Total number of versions.
- Updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- Updated
By string - The user the entity was last updated by.
- Valid bool
- Flag to indicate if the current content of the cloud template is valid.
- Validation
Messages []GetBlueprint Validation Message - List of validations messages.
- content String
- Blueprint YAML content.
- content
Source StringId - The id of the content source.
- content
Source StringPath - Content source path.
- content
Source StringSync At - Content source last sync at.
- content
Source List<String>Sync Messages - Content source last sync messages.
- content
Source StringSync Status - Content source last sync status. Supported values:
SUCCESSFUL,FAILED. - content
Source StringType - Content source type.
- 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.
- description String
- A human-friendly description.
- id String
- name String
- org
Id String - The id of the organization this entity belongs to.
- project
Id String - project
Name String - The name of the project the entity belongs to.
- request
Scope BooleanOrg - Flag to indicate whether this blueprint can be requested from any project in the organization this entity belongs to.
- self
Link String - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- status String
- Status of the cloud template. Supported values:
DRAFT,VERSIONED,RELEASED. - total
Released DoubleVersions - Total number of released versions.
- total
Versions Double - Total number of versions.
- updated
At String - Date when the entity was last updated. The date is ISO 8601 and UTC.
- updated
By String - The user the entity was last updated by.
- valid Boolean
- Flag to indicate if the current content of the cloud template is valid.
- validation
Messages List<GetBlueprint Validation Message> - List of validations messages.
- content string
- Blueprint YAML content.
- content
Source stringId - The id of the content source.
- content
Source stringPath - Content source path.
- content
Source stringSync At - Content source last sync at.
- content
Source string[]Sync Messages - Content source last sync messages.
- content
Source stringSync Status - Content source last sync status. Supported values:
SUCCESSFUL,FAILED. - content
Source stringType - Content source type.
- 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.
- description string
- A human-friendly description.
- id string
- name string
- org
Id string - The id of the organization this entity belongs to.
- project
Id string - project
Name string - The name of the project the entity belongs to.
- request
Scope booleanOrg - Flag to indicate whether this blueprint can be requested from any project in the organization this entity belongs to.
- self
Link string - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- status string
- Status of the cloud template. Supported values:
DRAFT,VERSIONED,RELEASED. - total
Released numberVersions - Total number of released versions.
- total
Versions number - Total number of versions.
- updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- updated
By string - The user the entity was last updated by.
- valid boolean
- Flag to indicate if the current content of the cloud template is valid.
- validation
Messages GetBlueprint Validation Message[] - List of validations messages.
- content str
- Blueprint YAML content.
- content_
source_ strid - The id of the content source.
- content_
source_ strpath - Content source path.
- content_
source_ strsync_ at - Content source last sync at.
- content_
source_ Sequence[str]sync_ messages - Content source last sync messages.
- content_
source_ strsync_ status - Content source last sync status. Supported values:
SUCCESSFUL,FAILED. - content_
source_ strtype - Content source type.
- 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.
- description str
- A human-friendly description.
- id str
- name str
- org_
id str - The id of the organization this entity belongs to.
- project_
id str - project_
name str - The name of the project the entity belongs to.
- request_
scope_ boolorg - Flag to indicate whether this blueprint can be requested from any project in the organization this entity belongs to.
- self_
link str - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- status str
- Status of the cloud template. Supported values:
DRAFT,VERSIONED,RELEASED. - total_
released_ floatversions - Total number of released versions.
- total_
versions float - Total number of versions.
- updated_
at str - Date when the entity was last updated. The date is ISO 8601 and UTC.
- updated_
by str - The user the entity was last updated by.
- valid bool
- Flag to indicate if the current content of the cloud template is valid.
- validation_
messages Sequence[GetBlueprint Validation Message] - List of validations messages.
- content String
- Blueprint YAML content.
- content
Source StringId - The id of the content source.
- content
Source StringPath - Content source path.
- content
Source StringSync At - Content source last sync at.
- content
Source List<String>Sync Messages - Content source last sync messages.
- content
Source StringSync Status - Content source last sync status. Supported values:
SUCCESSFUL,FAILED. - content
Source StringType - Content source type.
- 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.
- description String
- A human-friendly description.
- id String
- name String
- org
Id String - The id of the organization this entity belongs to.
- project
Id String - project
Name String - The name of the project the entity belongs to.
- request
Scope BooleanOrg - Flag to indicate whether this blueprint can be requested from any project in the organization this entity belongs to.
- self
Link String - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- status String
- Status of the cloud template. Supported values:
DRAFT,VERSIONED,RELEASED. - total
Released NumberVersions - Total number of released versions.
- total
Versions Number - Total number of versions.
- updated
At String - Date when the entity was last updated. The date is ISO 8601 and UTC.
- updated
By String - The user the entity was last updated by.
- valid Boolean
- Flag to indicate if the current content of the cloud template is valid.
- validation
Messages List<Property Map> - List of validations messages.
Supporting Types
GetBlueprintValidationMessage
- Message string
- Validation message.
- Metadata Dictionary<string, string>
- Validation metadata.
- Path string
- Validation path.
- Resource
Name string - Name of the resource.
- Type string
- Message type. Supported values:
INFO,WARNING,ERROR.
- Message string
- Validation message.
- Metadata map[string]string
- Validation metadata.
- Path string
- Validation path.
- Resource
Name string - Name of the resource.
- Type string
- Message type. Supported values:
INFO,WARNING,ERROR.
- message String
- Validation message.
- metadata Map<String,String>
- Validation metadata.
- path String
- Validation path.
- resource
Name String - Name of the resource.
- type String
- Message type. Supported values:
INFO,WARNING,ERROR.
- message string
- Validation message.
- metadata {[key: string]: string}
- Validation metadata.
- path string
- Validation path.
- resource
Name string - Name of the resource.
- type string
- Message type. Supported values:
INFO,WARNING,ERROR.
- message str
- Validation message.
- metadata Mapping[str, str]
- Validation metadata.
- path str
- Validation path.
- resource_
name str - Name of the resource.
- type str
- Message type. Supported values:
INFO,WARNING,ERROR.
- message String
- Validation message.
- metadata Map<String>
- Validation metadata.
- path String
- Validation path.
- resource
Name String - Name of the resource.
- type String
- Message type. Supported values:
INFO,WARNING,ERROR.
Package Details
- Repository
- vra vmware/terraform-provider-vra
- License
- Notes
- This Pulumi package is based on the
vraTerraform Provider.
Viewing docs for vra 0.17.0
published on Tuesday, Mar 10, 2026 by vmware
published on Tuesday, Mar 10, 2026 by vmware
