vra.BlueprintVersion
Explore with Pulumi AI
Creates a VMware vRealize Automation cloud template (blueprint) version resource.
Example Usage
S
The following example shows how to create a cloud template (blueprint) version resource.
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = new vra.BlueprintVersion("this", {
blueprintId: _var.vra_blueprint_id,
changeLog: "First version",
description: "Released from vRA terraform provider",
release: true,
version: random_integer.suffix.result / random_integer.suffix.result,
});
import pulumi
import pulumi_vra as vra
this = vra.BlueprintVersion("this",
blueprint_id=var["vra_blueprint_id"],
change_log="First version",
description="Released from vRA terraform provider",
release=True,
version=random_integer["suffix"]["result"] / random_integer["suffix"]["result"])
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.NewBlueprintVersion(ctx, "this", &vra.BlueprintVersionArgs{
BlueprintId: pulumi.Any(_var.Vra_blueprint_id),
ChangeLog: pulumi.String("First version"),
Description: pulumi.String("Released from vRA terraform provider"),
Release: pulumi.Bool(true),
Version: pulumi.String(random_integer.Suffix.Result / random_integer.Suffix.Result),
})
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 = new Vra.BlueprintVersion("this", new()
{
BlueprintId = @var.Vra_blueprint_id,
ChangeLog = "First version",
Description = "Released from vRA terraform provider",
Release = true,
Version = random_integer.Suffix.Result / random_integer.Suffix.Result,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vra.BlueprintVersion;
import com.pulumi.vra.BlueprintVersionArgs;
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) {
var this_ = new BlueprintVersion("this", BlueprintVersionArgs.builder()
.blueprintId(var_.vra_blueprint_id())
.changeLog("First version")
.description("Released from vRA terraform provider")
.release(true)
.version(random_integer.suffix().result() / random_integer.suffix().result())
.build());
}
}
Coming soon!
Create BlueprintVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BlueprintVersion(name: string, args: BlueprintVersionArgs, opts?: CustomResourceOptions);
@overload
def BlueprintVersion(resource_name: str,
args: BlueprintVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BlueprintVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
blueprint_id: Optional[str] = None,
version: Optional[str] = None,
blueprint_version_id: Optional[str] = None,
change_log: Optional[str] = None,
description: Optional[str] = None,
release: Optional[bool] = None)
func NewBlueprintVersion(ctx *Context, name string, args BlueprintVersionArgs, opts ...ResourceOption) (*BlueprintVersion, error)
public BlueprintVersion(string name, BlueprintVersionArgs args, CustomResourceOptions? opts = null)
public BlueprintVersion(String name, BlueprintVersionArgs args)
public BlueprintVersion(String name, BlueprintVersionArgs args, CustomResourceOptions options)
type: vra:BlueprintVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BlueprintVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BlueprintVersionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BlueprintVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BlueprintVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BlueprintVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var blueprintVersionResource = new Vra.BlueprintVersion("blueprintVersionResource", new()
{
BlueprintId = "string",
Version = "string",
BlueprintVersionId = "string",
ChangeLog = "string",
Description = "string",
Release = false,
});
example, err := vra.NewBlueprintVersion(ctx, "blueprintVersionResource", &vra.BlueprintVersionArgs{
BlueprintId: pulumi.String("string"),
Version: pulumi.String("string"),
BlueprintVersionId: pulumi.String("string"),
ChangeLog: pulumi.String("string"),
Description: pulumi.String("string"),
Release: pulumi.Bool(false),
})
var blueprintVersionResource = new BlueprintVersion("blueprintVersionResource", BlueprintVersionArgs.builder()
.blueprintId("string")
.version("string")
.blueprintVersionId("string")
.changeLog("string")
.description("string")
.release(false)
.build());
blueprint_version_resource = vra.BlueprintVersion("blueprintVersionResource",
blueprint_id="string",
version="string",
blueprint_version_id="string",
change_log="string",
description="string",
release=False)
const blueprintVersionResource = new vra.BlueprintVersion("blueprintVersionResource", {
blueprintId: "string",
version: "string",
blueprintVersionId: "string",
changeLog: "string",
description: "string",
release: false,
});
type: vra:BlueprintVersion
properties:
blueprintId: string
blueprintVersionId: string
changeLog: string
description: string
release: false
version: string
BlueprintVersion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BlueprintVersion resource accepts the following input properties:
- Blueprint
Id string - ID of the cloud template (blueprint).
- Version string
- Cloud template (blueprint) version.
- Blueprint
Version stringId - ID of cloud template (blueprint) version.
- Change
Log string - Cloud template (blueprint) version log.
- Description string
- Human-friendly description for the cloud template (blueprint) version.
- Release bool
- Flag to indicate whether to release the version.
- Blueprint
Id string - ID of the cloud template (blueprint).
- Version string
- Cloud template (blueprint) version.
- Blueprint
Version stringId - ID of cloud template (blueprint) version.
- Change
Log string - Cloud template (blueprint) version log.
- Description string
- Human-friendly description for the cloud template (blueprint) version.
- Release bool
- Flag to indicate whether to release the version.
- blueprint
Id String - ID of the cloud template (blueprint).
- version String
- Cloud template (blueprint) version.
- blueprint
Version StringId - ID of cloud template (blueprint) version.
- change
Log String - Cloud template (blueprint) version log.
- description String
- Human-friendly description for the cloud template (blueprint) version.
- release Boolean
- Flag to indicate whether to release the version.
- blueprint
Id string - ID of the cloud template (blueprint).
- version string
- Cloud template (blueprint) version.
- blueprint
Version stringId - ID of cloud template (blueprint) version.
- change
Log string - Cloud template (blueprint) version log.
- description string
- Human-friendly description for the cloud template (blueprint) version.
- release boolean
- Flag to indicate whether to release the version.
- blueprint_
id str - ID of the cloud template (blueprint).
- version str
- Cloud template (blueprint) version.
- blueprint_
version_ strid - ID of cloud template (blueprint) version.
- change_
log str - Cloud template (blueprint) version log.
- description str
- Human-friendly description for the cloud template (blueprint) version.
- release bool
- Flag to indicate whether to release the version.
- blueprint
Id String - ID of the cloud template (blueprint).
- version String
- Cloud template (blueprint) version.
- blueprint
Version StringId - ID of cloud template (blueprint) version.
- change
Log String - Cloud template (blueprint) version log.
- description String
- Human-friendly description for the cloud template (blueprint) version.
- release Boolean
- Flag to indicate whether to release the version.
Outputs
All input properties are implicitly available as output properties. Additionally, the BlueprintVersion resource produces the following output properties:
- Blueprint
Description string - Description of cloud template (blueprint).
- Content string
- Blueprint YAML content.
- Created
At string - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- Created
By string - User who created the entity.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of cloud template (blueprint) version.
- Org
Id string - ID of organization that entity belongs to.
- Project
Id string - ID of project that entity belongs to.
- Project
Name string - Name of project that entity belongs to.
- Status string
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - Updated
At string - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- Updated
By string - User who last updated the entity.
- Valid string
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
- Blueprint
Description string - Description of cloud template (blueprint).
- Content string
- Blueprint YAML content.
- Created
At string - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- Created
By string - User who created the entity.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of cloud template (blueprint) version.
- Org
Id string - ID of organization that entity belongs to.
- Project
Id string - ID of project that entity belongs to.
- Project
Name string - Name of project that entity belongs to.
- Status string
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - Updated
At string - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- Updated
By string - User who last updated the entity.
- Valid string
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
- blueprint
Description String - Description of cloud template (blueprint).
- content String
- Blueprint YAML content.
- created
At String - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- created
By String - User who created the entity.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of cloud template (blueprint) version.
- org
Id String - ID of organization that entity belongs to.
- project
Id String - ID of project that entity belongs to.
- project
Name String - Name of project that entity belongs to.
- status String
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - updated
At String - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- updated
By String - User who last updated the entity.
- valid String
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
- blueprint
Description string - Description of cloud template (blueprint).
- content string
- Blueprint YAML content.
- created
At string - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- created
By string - User who created the entity.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of cloud template (blueprint) version.
- org
Id string - ID of organization that entity belongs to.
- project
Id string - ID of project that entity belongs to.
- project
Name string - Name of project that entity belongs to.
- status string
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - updated
At string - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- updated
By string - User who last updated the entity.
- valid string
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
- blueprint_
description str - Description of cloud template (blueprint).
- content str
- Blueprint YAML content.
- created_
at str - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- created_
by str - User who created the entity.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of cloud template (blueprint) version.
- org_
id str - ID of organization that entity belongs to.
- project_
id str - ID of project that entity belongs to.
- project_
name str - Name of project that entity belongs to.
- status str
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - updated_
at str - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- updated_
by str - User who last updated the entity.
- valid str
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
- blueprint
Description String - Description of cloud template (blueprint).
- content String
- Blueprint YAML content.
- created
At String - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- created
By String - User who created the entity.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of cloud template (blueprint) version.
- org
Id String - ID of organization that entity belongs to.
- project
Id String - ID of project that entity belongs to.
- project
Name String - Name of project that entity belongs to.
- status String
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - updated
At String - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- updated
By String - User who last updated the entity.
- valid String
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
Look up Existing BlueprintVersion Resource
Get an existing BlueprintVersion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BlueprintVersionState, opts?: CustomResourceOptions): BlueprintVersion
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
blueprint_description: Optional[str] = None,
blueprint_id: Optional[str] = None,
blueprint_version_id: Optional[str] = None,
change_log: Optional[str] = None,
content: Optional[str] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
project_name: Optional[str] = None,
release: Optional[bool] = None,
status: Optional[str] = None,
updated_at: Optional[str] = None,
updated_by: Optional[str] = None,
valid: Optional[str] = None,
version: Optional[str] = None) -> BlueprintVersion
func GetBlueprintVersion(ctx *Context, name string, id IDInput, state *BlueprintVersionState, opts ...ResourceOption) (*BlueprintVersion, error)
public static BlueprintVersion Get(string name, Input<string> id, BlueprintVersionState? state, CustomResourceOptions? opts = null)
public static BlueprintVersion get(String name, Output<String> id, BlueprintVersionState state, CustomResourceOptions options)
resources: _: type: vra:BlueprintVersion get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Blueprint
Description string - Description of cloud template (blueprint).
- Blueprint
Id string - ID of the cloud template (blueprint).
- Blueprint
Version stringId - ID of cloud template (blueprint) version.
- Change
Log string - Cloud template (blueprint) version log.
- Content string
- Blueprint YAML content.
- Created
At string - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- Created
By string - User who created the entity.
- Description string
- Human-friendly description for the cloud template (blueprint) version.
- Name string
- Name of cloud template (blueprint) version.
- Org
Id string - ID of organization that entity belongs to.
- Project
Id string - ID of project that entity belongs to.
- Project
Name string - Name of project that entity belongs to.
- Release bool
- Flag to indicate whether to release the version.
- Status string
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - Updated
At string - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- Updated
By string - User who last updated the entity.
- Valid string
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
- Version string
- Cloud template (blueprint) version.
- Blueprint
Description string - Description of cloud template (blueprint).
- Blueprint
Id string - ID of the cloud template (blueprint).
- Blueprint
Version stringId - ID of cloud template (blueprint) version.
- Change
Log string - Cloud template (blueprint) version log.
- Content string
- Blueprint YAML content.
- Created
At string - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- Created
By string - User who created the entity.
- Description string
- Human-friendly description for the cloud template (blueprint) version.
- Name string
- Name of cloud template (blueprint) version.
- Org
Id string - ID of organization that entity belongs to.
- Project
Id string - ID of project that entity belongs to.
- Project
Name string - Name of project that entity belongs to.
- Release bool
- Flag to indicate whether to release the version.
- Status string
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - Updated
At string - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- Updated
By string - User who last updated the entity.
- Valid string
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
- Version string
- Cloud template (blueprint) version.
- blueprint
Description String - Description of cloud template (blueprint).
- blueprint
Id String - ID of the cloud template (blueprint).
- blueprint
Version StringId - ID of cloud template (blueprint) version.
- change
Log String - Cloud template (blueprint) version log.
- content String
- Blueprint YAML content.
- created
At String - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- created
By String - User who created the entity.
- description String
- Human-friendly description for the cloud template (blueprint) version.
- name String
- Name of cloud template (blueprint) version.
- org
Id String - ID of organization that entity belongs to.
- project
Id String - ID of project that entity belongs to.
- project
Name String - Name of project that entity belongs to.
- release Boolean
- Flag to indicate whether to release the version.
- status String
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - updated
At String - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- updated
By String - User who last updated the entity.
- valid String
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
- version String
- Cloud template (blueprint) version.
- blueprint
Description string - Description of cloud template (blueprint).
- blueprint
Id string - ID of the cloud template (blueprint).
- blueprint
Version stringId - ID of cloud template (blueprint) version.
- change
Log string - Cloud template (blueprint) version log.
- content string
- Blueprint YAML content.
- created
At string - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- created
By string - User who created the entity.
- description string
- Human-friendly description for the cloud template (blueprint) version.
- name string
- Name of cloud template (blueprint) version.
- org
Id string - ID of organization that entity belongs to.
- project
Id string - ID of project that entity belongs to.
- project
Name string - Name of project that entity belongs to.
- release boolean
- Flag to indicate whether to release the version.
- status string
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - updated
At string - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- updated
By string - User who last updated the entity.
- valid string
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
- version string
- Cloud template (blueprint) version.
- blueprint_
description str - Description of cloud template (blueprint).
- blueprint_
id str - ID of the cloud template (blueprint).
- blueprint_
version_ strid - ID of cloud template (blueprint) version.
- change_
log str - Cloud template (blueprint) version log.
- content str
- Blueprint YAML content.
- created_
at str - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- created_
by str - User who created the entity.
- description str
- Human-friendly description for the cloud template (blueprint) version.
- name str
- Name of cloud template (blueprint) version.
- org_
id str - ID of organization that entity belongs to.
- project_
id str - ID of project that entity belongs to.
- project_
name str - Name of project that entity belongs to.
- release bool
- Flag to indicate whether to release the version.
- status str
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - updated_
at str - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- updated_
by str - User who last updated the entity.
- valid str
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
- version str
- Cloud template (blueprint) version.
- blueprint
Description String - Description of cloud template (blueprint).
- blueprint
Id String - ID of the cloud template (blueprint).
- blueprint
Version StringId - ID of cloud template (blueprint) version.
- change
Log String - Cloud template (blueprint) version log.
- content String
- Blueprint YAML content.
- created
At String - Date when the entity was created. Date and time format is ISO 8601 and UTC.
- created
By String - User who created the entity.
- description String
- Human-friendly description for the cloud template (blueprint) version.
- name String
- Name of cloud template (blueprint) version.
- org
Id String - ID of organization that entity belongs to.
- project
Id String - ID of project that entity belongs to.
- project
Name String - Name of project that entity belongs to.
- release Boolean
- Flag to indicate whether to release the version.
- status String
- Status of the cloud template (blueprint). Supported values:
DRAFT
,VERSIONED
,RELEASED
. - updated
At String - Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
- updated
By String - User who last updated the entity.
- valid String
- Flag to indicate if the current content of the cloud template (blueprint) is valid.
- version String
- Cloud template (blueprint) version.
Import
To import the cloud template (blueprint) version, use the ID as in the following example:
$ pulumi import vra:index/blueprintVersion:BlueprintVersion this 05956583-6488-4e7d-84c9-92a7b7219a15`
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- vra vmware/terraform-provider-vra
- License
- Notes
- This Pulumi package is based on the
vra
Terraform Provider.