vra 0.12.0 published on Monday, Apr 14, 2025 by vmware
vra.getBlueprintVersion
Explore with Pulumi AI
This data source provides information about a cloud template (blueprint) version in vRA.
Example Usage
S
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = vra.getBlueprintVersion({
blueprintId: _var.blueprint_id,
id: _var.blueprint_version_id,
});
import pulumi
import pulumi_vra as vra
this = vra.get_blueprint_version(blueprint_id=var["blueprint_id"],
id=var["blueprint_version_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.LookupBlueprintVersion(ctx, &vra.LookupBlueprintVersionArgs{
BlueprintId: _var.Blueprint_id,
Id: _var.Blueprint_version_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.GetBlueprintVersion.Invoke(new()
{
BlueprintId = @var.Blueprint_id,
Id = @var.Blueprint_version_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.GetBlueprintVersionArgs;
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.getBlueprintVersion(GetBlueprintVersionArgs.builder()
.blueprintId(var_.blueprint_id())
.id(var_.blueprint_version_id())
.build());
}
}
variables:
this:
fn::invoke:
function: vra:getBlueprintVersion
arguments:
blueprintId: ${var.blueprint_id}
id: ${var.blueprint_version_id}
Using getBlueprintVersion
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 getBlueprintVersion(args: GetBlueprintVersionArgs, opts?: InvokeOptions): Promise<GetBlueprintVersionResult>
function getBlueprintVersionOutput(args: GetBlueprintVersionOutputArgs, opts?: InvokeOptions): Output<GetBlueprintVersionResult>
def get_blueprint_version(blueprint_id: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBlueprintVersionResult
def get_blueprint_version_output(blueprint_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBlueprintVersionResult]
func LookupBlueprintVersion(ctx *Context, args *LookupBlueprintVersionArgs, opts ...InvokeOption) (*LookupBlueprintVersionResult, error)
func LookupBlueprintVersionOutput(ctx *Context, args *LookupBlueprintVersionOutputArgs, opts ...InvokeOption) LookupBlueprintVersionResultOutput
> Note: This function is named LookupBlueprintVersion
in the Go SDK.
public static class GetBlueprintVersion
{
public static Task<GetBlueprintVersionResult> InvokeAsync(GetBlueprintVersionArgs args, InvokeOptions? opts = null)
public static Output<GetBlueprintVersionResult> Invoke(GetBlueprintVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBlueprintVersionResult> getBlueprintVersion(GetBlueprintVersionArgs args, InvokeOptions options)
public static Output<GetBlueprintVersionResult> getBlueprintVersion(GetBlueprintVersionArgs args, InvokeOptions options)
fn::invoke:
function: vra:index/getBlueprintVersion:getBlueprintVersion
arguments:
# arguments dictionary
The following arguments are supported:
- Blueprint
Id string - Name of the cloud template. One of
id
orname
must be provided. - Id string
- The id of the cloud template version.
- Blueprint
Id string - Name of the cloud template. One of
id
orname
must be provided. - Id string
- The id of the cloud template version.
- blueprint
Id String - Name of the cloud template. One of
id
orname
must be provided. - id String
- The id of the cloud template version.
- blueprint
Id string - Name of the cloud template. One of
id
orname
must be provided. - id string
- The id of the cloud template version.
- blueprint_
id str - Name of the cloud template. One of
id
orname
must be provided. - id str
- The id of the cloud template version.
- blueprint
Id String - Name of the cloud template. One of
id
orname
must be provided. - id String
- The id of the cloud template version.
getBlueprintVersion Result
The following output properties are available:
- Blueprint
Description string - Description of the cloud template.
- Blueprint
Id string - Content string
- Blueprint YAML content.
- 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
- (Optional) Cloud template version description.
- Id string
- Name string
- Name of the cloud template version.
- Org
Id string - The id of the organization this entity belongs to.
- Project
Id string - The id of the project this entity belongs to.
- Project
Name string - The name of the project the entity belongs to.
- Status string
- Status of the cloud template. Supported values:
DRAFT
,VERSIONED
,RELEASED
. - 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 string
- Flag to indicate if the current content of the cloud template is valid.
- Version string
- Cloud template version.
- Version
Change stringLog - Cloud template version change log.
- Blueprint
Description string - Description of the cloud template.
- Blueprint
Id string - Content string
- Blueprint YAML content.
- 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
- (Optional) Cloud template version description.
- Id string
- Name string
- Name of the cloud template version.
- Org
Id string - The id of the organization this entity belongs to.
- Project
Id string - The id of the project this entity belongs to.
- Project
Name string - The name of the project the entity belongs to.
- Status string
- Status of the cloud template. Supported values:
DRAFT
,VERSIONED
,RELEASED
. - 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 string
- Flag to indicate if the current content of the cloud template is valid.
- Version string
- Cloud template version.
- Version
Change stringLog - Cloud template version change log.
- blueprint
Description String - Description of the cloud template.
- blueprint
Id String - content String
- Blueprint YAML content.
- 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
- (Optional) Cloud template version description.
- id String
- name String
- Name of the cloud template version.
- org
Id String - The id of the organization this entity belongs to.
- project
Id String - The id of the project this entity belongs to.
- project
Name String - The name of the project the entity belongs to.
- status String
- Status of the cloud template. Supported values:
DRAFT
,VERSIONED
,RELEASED
. - 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 String
- Flag to indicate if the current content of the cloud template is valid.
- version String
- Cloud template version.
- version
Change StringLog - Cloud template version change log.
- blueprint
Description string - Description of the cloud template.
- blueprint
Id string - content string
- Blueprint YAML content.
- 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
- (Optional) Cloud template version description.
- id string
- name string
- Name of the cloud template version.
- org
Id string - The id of the organization this entity belongs to.
- project
Id string - The id of the project this entity belongs to.
- project
Name string - The name of the project the entity belongs to.
- status string
- Status of the cloud template. Supported values:
DRAFT
,VERSIONED
,RELEASED
. - 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 string
- Flag to indicate if the current content of the cloud template is valid.
- version string
- Cloud template version.
- version
Change stringLog - Cloud template version change log.
- blueprint_
description str - Description of the cloud template.
- blueprint_
id str - content str
- Blueprint YAML content.
- 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
- (Optional) Cloud template version description.
- id str
- name str
- Name of the cloud template version.
- org_
id str - The id of the organization this entity belongs to.
- project_
id str - The id of the project this entity belongs to.
- project_
name str - The name of the project the entity belongs to.
- status str
- Status of the cloud template. Supported values:
DRAFT
,VERSIONED
,RELEASED
. - 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 str
- Flag to indicate if the current content of the cloud template is valid.
- version str
- Cloud template version.
- version_
change_ strlog - Cloud template version change log.
- blueprint
Description String - Description of the cloud template.
- blueprint
Id String - content String
- Blueprint YAML content.
- 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
- (Optional) Cloud template version description.
- id String
- name String
- Name of the cloud template version.
- org
Id String - The id of the organization this entity belongs to.
- project
Id String - The id of the project this entity belongs to.
- project
Name String - The name of the project the entity belongs to.
- status String
- Status of the cloud template. Supported values:
DRAFT
,VERSIONED
,RELEASED
. - 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 String
- Flag to indicate if the current content of the cloud template is valid.
- version String
- Cloud template version.
- version
Change StringLog - Cloud template version change log.
Package Details
- Repository
- vra vmware/terraform-provider-vra
- License
- Notes
- This Pulumi package is based on the
vra
Terraform Provider.