import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; /** * This resource provides a way to create a deployment in vRealize Automation(vRA) by either using a blueprint, or catalog item, or an inline blueprint. * * ## Example Usage * * ## Import * * Deployment can be imported using the id, e.g. * * ```sh * $ pulumi import vra:deployment/deployment:Deployment this 05956583-6488-4e7d-84c9-92a7b7219a15` * ``` */ export declare class Deployment extends pulumi.CustomResource { /** * Get an existing Deployment 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?: DeploymentState, opts?: pulumi.CustomResourceOptions): Deployment; /** * Returns true if the given object is an instance of Deployment. 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 Deployment; /** * vRA Cloud template content. Conflicts with `blueprintId` and `catalogItemId`. */ readonly blueprintContent: pulumi.Output; /** * Identifier of the requested blueprint in the form ‘UUID:version’. */ readonly blueprintId: pulumi.Output; /** * The version of the vRA cloud template to request the deployment. Used only when `blueprintId` is provided. */ readonly blueprintVersion: pulumi.Output; /** * The id of the vRA catalog item to request the deployment. Conflicts with `blueprintId` and `blueprintContent`. */ readonly catalogItemId: pulumi.Output; /** * The version of the vRA catalog item to request the deployment. Used only when `catalogItemId` is provided. */ readonly catalogItemVersion: pulumi.Output; /** * Creation time (e.g. date format ‘2019-07-13T23:16:49.310Z’). */ readonly createdAt: pulumi.Output; /** * The user the entity was created by. */ readonly createdBy: pulumi.Output; /** * A human-friendly description. */ readonly description: pulumi.Output; /** * @deprecated Deprecated. True by default even if not provided. */ readonly expandLastRequest: pulumi.Output; /** * Flag to indicate whether to expand project information. */ readonly expandProject: pulumi.Output; /** * @deprecated Deprecated. True by default even if not provided. */ readonly expandResources: pulumi.Output; /** * Expense incurred for the deployment. */ readonly expenses: pulumi.Output; /** * Inputs provided by the user. For inputs including those with default values, refer to `inputsIncludingDefaults`. */ readonly inputs: pulumi.Output<{ [key: string]: string; } | undefined>; /** * All the inputs applied during last create/update operation, including those with default values. For the list of inputs provided by the user in the configuration, refer to `inputs`. */ readonly inputsIncludingDefaults: pulumi.Output<{ [key: string]: string; }>; /** * Represents deployment requests. */ readonly lastRequests: pulumi.Output; /** * Time at which the deployment was last updated. */ readonly lastUpdatedAt: pulumi.Output; /** * The user that last updated the deployment. */ readonly lastUpdatedBy: pulumi.Output; /** * Time at which the deployment lease expires. */ readonly leaseExpireAt: pulumi.Output; /** * A human-friendly name used as an identifier in APIs that support this option. */ readonly name: pulumi.Output; /** * The ID of the organization this deployment belongs to. */ readonly orgId: pulumi.Output; /** * The user this deployment belongs to. At create, the owner is ignored but is used to update during next apply. */ readonly owner: pulumi.Output; /** * The id of the project this entity belongs to. */ readonly projectId: pulumi.Output; /** * The project this entity belongs to. */ readonly projects: pulumi.Output; /** * Expanded resources for the deployment. Content of this property will not be maintained backward compatible. */ readonly resources: pulumi.Output; /** * Deployment status. Supported values are: `CREATE_SUCCESSFUL`, `CREATE_INPROGRESS`, `CREATE_FAILED`, `UPDATE_SUCCESSFUL`, `UPDATE_INPROGRESS`, `UPDATE_FAILED`, `DELETE_SUCCESSFUL`, `DELETE_INPROGRESS`, `DELETE_FAILED`, `ACTION_SUCCESSFUL`, `ACTION_INPROGRESS`, `ACTION_FAILED`. */ readonly status: pulumi.Output; /** * Create a Deployment 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: DeploymentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Deployment resources. */ export interface DeploymentState { /** * vRA Cloud template content. Conflicts with `blueprintId` and `catalogItemId`. */ blueprintContent?: pulumi.Input; /** * Identifier of the requested blueprint in the form ‘UUID:version’. */ blueprintId?: pulumi.Input; /** * The version of the vRA cloud template to request the deployment. Used only when `blueprintId` is provided. */ blueprintVersion?: pulumi.Input; /** * The id of the vRA catalog item to request the deployment. Conflicts with `blueprintId` and `blueprintContent`. */ catalogItemId?: pulumi.Input; /** * The version of the vRA catalog item to request the deployment. Used only when `catalogItemId` is provided. */ catalogItemVersion?: pulumi.Input; /** * Creation time (e.g. date format ‘2019-07-13T23:16:49.310Z’). */ createdAt?: pulumi.Input; /** * The user the entity was created by. */ createdBy?: pulumi.Input; /** * A human-friendly description. */ description?: pulumi.Input; /** * @deprecated Deprecated. True by default even if not provided. */ expandLastRequest?: pulumi.Input; /** * Flag to indicate whether to expand project information. */ expandProject?: pulumi.Input; /** * @deprecated Deprecated. True by default even if not provided. */ expandResources?: pulumi.Input; /** * Expense incurred for the deployment. */ expenses?: pulumi.Input[]>; /** * Inputs provided by the user. For inputs including those with default values, refer to `inputsIncludingDefaults`. */ inputs?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * All the inputs applied during last create/update operation, including those with default values. For the list of inputs provided by the user in the configuration, refer to `inputs`. */ inputsIncludingDefaults?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Represents deployment requests. */ lastRequests?: pulumi.Input[]>; /** * Time at which the deployment was last updated. */ lastUpdatedAt?: pulumi.Input; /** * The user that last updated the deployment. */ lastUpdatedBy?: pulumi.Input; /** * Time at which the deployment lease expires. */ leaseExpireAt?: pulumi.Input; /** * A human-friendly name used as an identifier in APIs that support this option. */ name?: pulumi.Input; /** * The ID of the organization this deployment belongs to. */ orgId?: pulumi.Input; /** * The user this deployment belongs to. At create, the owner is ignored but is used to update during next apply. */ owner?: pulumi.Input; /** * The id of the project this entity belongs to. */ projectId?: pulumi.Input; /** * The project this entity belongs to. */ projects?: pulumi.Input[]>; /** * Expanded resources for the deployment. Content of this property will not be maintained backward compatible. */ resources?: pulumi.Input[]>; /** * Deployment status. Supported values are: `CREATE_SUCCESSFUL`, `CREATE_INPROGRESS`, `CREATE_FAILED`, `UPDATE_SUCCESSFUL`, `UPDATE_INPROGRESS`, `UPDATE_FAILED`, `DELETE_SUCCESSFUL`, `DELETE_INPROGRESS`, `DELETE_FAILED`, `ACTION_SUCCESSFUL`, `ACTION_INPROGRESS`, `ACTION_FAILED`. */ status?: pulumi.Input; } /** * The set of arguments for constructing a Deployment resource. */ export interface DeploymentArgs { /** * vRA Cloud template content. Conflicts with `blueprintId` and `catalogItemId`. */ blueprintContent?: pulumi.Input; /** * Identifier of the requested blueprint in the form ‘UUID:version’. */ blueprintId?: pulumi.Input; /** * The version of the vRA cloud template to request the deployment. Used only when `blueprintId` is provided. */ blueprintVersion?: pulumi.Input; /** * The id of the vRA catalog item to request the deployment. Conflicts with `blueprintId` and `blueprintContent`. */ catalogItemId?: pulumi.Input; /** * The version of the vRA catalog item to request the deployment. Used only when `catalogItemId` is provided. */ catalogItemVersion?: pulumi.Input; /** * A human-friendly description. */ description?: pulumi.Input; /** * @deprecated Deprecated. True by default even if not provided. */ expandLastRequest?: pulumi.Input; /** * Flag to indicate whether to expand project information. */ expandProject?: pulumi.Input; /** * @deprecated Deprecated. True by default even if not provided. */ expandResources?: pulumi.Input; /** * Inputs provided by the user. For inputs including those with default values, refer to `inputsIncludingDefaults`. */ inputs?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Time at which the deployment lease expires. */ leaseExpireAt?: pulumi.Input; /** * A human-friendly name used as an identifier in APIs that support this option. */ name?: pulumi.Input; /** * The user this deployment belongs to. At create, the owner is ignored but is used to update during next apply. */ owner?: pulumi.Input; /** * The id of the project this entity belongs to. */ projectId: pulumi.Input; }