import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Launches a blueprint to create an application and perform system actions on application. * * ## Example 1: Provision Application * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const test = new nutanix.SelfServiceAppProvision("test", { * bpName: "NAME OF BLUEPRINT", * appName: "NAME OF APPLICATION TO SET", * appDescription: "DESCRIPTION OF APPLICATION", * }); * ``` * */ export declare class SelfServiceAppProvision extends pulumi.CustomResource { /** * Get an existing SelfServiceAppProvision 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?: SelfServiceAppProvisionState, opts?: pulumi.CustomResourceOptions): SelfServiceAppProvision; /** * Returns true if the given object is an instance of SelfServiceAppProvision. 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 SelfServiceAppProvision; /** * - (Optional) System action to trigger after provisioning. Valid values: ["start", "stop", "restart"] */ readonly action: pulumi.Output; readonly actions: pulumi.Output; /** * - (Computed) API version used. */ readonly apiVersion: pulumi.Output; /** * - (Optional) The description of application. * * Both are `bpName` and `bpUuid` are optional but atleast one of them to be provided for this resource to work. */ readonly appDescription: pulumi.Output; /** * - (Required) The name of the application you want to set. */ readonly appName: pulumi.Output; readonly appSummaries: pulumi.Output; /** * - (Optional) The name of the blueprint to launch. */ readonly bpName: pulumi.Output; /** * - (Optional) The UUID of the blueprint to launch. */ readonly bpUuid: pulumi.Output; readonly runtimeEditables: pulumi.Output; /** * - (Optional, Default: false) If true, the application is soft-deleted when the resource is destroyed. */ readonly softDelete: pulumi.Output; /** * - (Computed) Application specification (JSON string). */ readonly spec: pulumi.Output; /** * - (Computed) state of the application (e.g. running, stopped) */ readonly state: pulumi.Output; /** * - (Computed) Application status coming as response from server. */ readonly status: pulumi.Output; readonly vms: pulumi.Output; /** * Create a SelfServiceAppProvision 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: SelfServiceAppProvisionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SelfServiceAppProvision resources. */ export interface SelfServiceAppProvisionState { /** * - (Optional) System action to trigger after provisioning. Valid values: ["start", "stop", "restart"] */ action?: pulumi.Input; actions?: pulumi.Input[] | undefined>; /** * - (Computed) API version used. */ apiVersion?: pulumi.Input; /** * - (Optional) The description of application. * * Both are `bpName` and `bpUuid` are optional but atleast one of them to be provided for this resource to work. */ appDescription?: pulumi.Input; /** * - (Required) The name of the application you want to set. */ appName?: pulumi.Input; appSummaries?: pulumi.Input[] | undefined>; /** * - (Optional) The name of the blueprint to launch. */ bpName?: pulumi.Input; /** * - (Optional) The UUID of the blueprint to launch. */ bpUuid?: pulumi.Input; runtimeEditables?: pulumi.Input[] | undefined>; /** * - (Optional, Default: false) If true, the application is soft-deleted when the resource is destroyed. */ softDelete?: pulumi.Input; /** * - (Computed) Application specification (JSON string). */ spec?: pulumi.Input; /** * - (Computed) state of the application (e.g. running, stopped) */ state?: pulumi.Input; /** * - (Computed) Application status coming as response from server. */ status?: pulumi.Input; vms?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a SelfServiceAppProvision resource. */ export interface SelfServiceAppProvisionArgs { /** * - (Optional) System action to trigger after provisioning. Valid values: ["start", "stop", "restart"] */ action?: pulumi.Input; /** * - (Optional) The description of application. * * Both are `bpName` and `bpUuid` are optional but atleast one of them to be provided for this resource to work. */ appDescription?: pulumi.Input; /** * - (Required) The name of the application you want to set. */ appName: pulumi.Input; /** * - (Optional) The name of the blueprint to launch. */ bpName?: pulumi.Input; /** * - (Optional) The UUID of the blueprint to launch. */ bpUuid?: pulumi.Input; runtimeEditables?: pulumi.Input[] | undefined>; /** * - (Optional, Default: false) If true, the application is soft-deleted when the resource is destroyed. */ softDelete?: pulumi.Input; } //# sourceMappingURL=selfServiceAppProvision.d.ts.map