import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; /** * Creates a VMware vRealize Automation (vRA) cloud template resource, formerly known as a blueprint. * * ## Example Usage * * The following example shows how to create a blueprint resource. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumiverse/vra"; * * const _this = new vra.blueprint.Blueprint("this", { * description: "Created by vRA terraform provider", * projectId: vra_project["this"].id, * content: `formatVersion: 1 * inputs: * image: * type: string * description: "Image" * flavor: * type: string * description: "Flavor" * resources: * Machine: * type: Cloud.Machine * properties: * image: ${input.image} * flavor: ${input.flavor} * `, * }); * ``` * * ## Import * * To import the cloud template, use the ID as in the following example * * ```sh * $ pulumi import vra:blueprint/blueprint:Blueprint this 05956583-6488-4e7d-84c9-92a7b7219a15` * ``` */ export declare class Blueprint extends pulumi.CustomResource { /** * Get an existing Blueprint resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: BlueprintState, opts?: pulumi.CustomResourceOptions): Blueprint; /** * Returns true if the given object is an instance of Blueprint. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Blueprint; /** * Blueprint YAML content. */ readonly content: pulumi.Output; /** * ID of content source. */ readonly contentSourceId: pulumi.Output; /** * Content source path. */ readonly contentSourcePath: pulumi.Output; /** * Date when content source was last synced. The date is in ISO 8601 and UTC. */ readonly contentSourceSyncAt: pulumi.Output; /** * Content source last sync messages. */ readonly contentSourceSyncMessages: pulumi.Output; /** * Content source last sync status. Supported values: `SUCCESSFUL`, `FAILED`. */ readonly contentSourceSyncStatus: pulumi.Output; /** * Content source type. */ readonly contentSourceType: pulumi.Output; /** * Date when entity was created. The date is in ISO 8601 and UTC. */ readonly createdAt: pulumi.Output; /** * The user who created entity. */ readonly createdBy: pulumi.Output; /** * Human-friendly description. */ readonly description: pulumi.Output; /** * Human-friendly name used as an identifier in APIs that support this option. */ readonly name: pulumi.Output; /** * ID of organization that entity belongs to. */ readonly orgId: pulumi.Output; /** * ID of project that entity belongs to. */ readonly projectId: pulumi.Output; /** * Name of project that entity belongs to. */ readonly projectName: pulumi.Output; /** * Flag to indicate whether blueprint can be requested from any project in the organization that entity belongs to. */ readonly requestScopeOrg: pulumi.Output; /** * HATEOAS of entity. */ readonly selfLink: pulumi.Output; /** * Status of cloud template. Supported values: `DRAFT`, `VERSIONED`, `RELEASED`. */ readonly status: pulumi.Output; /** * Total number of released versions. */ readonly totalReleasedVersions: pulumi.Output; /** * Total number of versions. */ readonly totalVersions: pulumi.Output; /** * Date when entity was last updated. Date and time format is ISO 8601 and UTC. */ readonly updatedAt: pulumi.Output; /** * The user who last updated the entity. */ readonly updatedBy: pulumi.Output; /** * Flag to indicate if the current content of the cloud template/blueprint is valid. */ readonly valid: pulumi.Output; /** * List of validations messages. * * message - Validation message. */ readonly validationMessages: pulumi.Output; /** * Create a Blueprint resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BlueprintArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Blueprint resources. */ export interface BlueprintState { /** * Blueprint YAML content. */ content?: pulumi.Input; /** * ID of content source. */ contentSourceId?: pulumi.Input; /** * Content source path. */ contentSourcePath?: pulumi.Input; /** * Date when content source was last synced. The date is in ISO 8601 and UTC. */ contentSourceSyncAt?: pulumi.Input; /** * Content source last sync messages. */ contentSourceSyncMessages?: pulumi.Input[]>; /** * Content source last sync status. Supported values: `SUCCESSFUL`, `FAILED`. */ contentSourceSyncStatus?: pulumi.Input; /** * Content source type. */ contentSourceType?: pulumi.Input; /** * Date when entity was created. The date is in ISO 8601 and UTC. */ createdAt?: pulumi.Input; /** * The user who created entity. */ createdBy?: pulumi.Input; /** * Human-friendly description. */ description?: pulumi.Input; /** * Human-friendly name used as an identifier in APIs that support this option. */ name?: pulumi.Input; /** * ID of organization that entity belongs to. */ orgId?: pulumi.Input; /** * ID of project that entity belongs to. */ projectId?: pulumi.Input; /** * Name of project that entity belongs to. */ projectName?: pulumi.Input; /** * Flag to indicate whether blueprint can be requested from any project in the organization that entity belongs to. */ requestScopeOrg?: pulumi.Input; /** * HATEOAS of entity. */ selfLink?: pulumi.Input; /** * Status of cloud template. Supported values: `DRAFT`, `VERSIONED`, `RELEASED`. */ status?: pulumi.Input; /** * Total number of released versions. */ totalReleasedVersions?: pulumi.Input; /** * Total number of versions. */ totalVersions?: pulumi.Input; /** * Date when entity was last updated. Date and time format is ISO 8601 and UTC. */ updatedAt?: pulumi.Input; /** * The user who last updated the entity. */ updatedBy?: pulumi.Input; /** * Flag to indicate if the current content of the cloud template/blueprint is valid. */ valid?: pulumi.Input; /** * List of validations messages. * * message - Validation message. */ validationMessages?: pulumi.Input[]>; } /** * The set of arguments for constructing a Blueprint resource. */ export interface BlueprintArgs { /** * Blueprint YAML content. */ content?: pulumi.Input; /** * Human-friendly description. */ description?: pulumi.Input; /** * Human-friendly name used as an identifier in APIs that support this option. */ name?: pulumi.Input; /** * ID of project that entity belongs to. */ projectId: pulumi.Input; /** * Flag to indicate whether blueprint can be requested from any project in the organization that entity belongs to. */ requestScopeOrg?: pulumi.Input; }