import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Description * * ## Example Usage * * ### Ces App Version Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_app = new gcp.ces.App("my-app", { * location: "us", * displayName: "my-app", * appId: "app-id", * timeZoneSettings: { * timeZone: "America/Los_Angeles", * }, * }); * const my_app_version = new gcp.ces.AppVersion("my-app-version", { * location: "us", * displayName: "my-app-version", * app: my_app.name, * appVersionId: "app-version-id", * description: "example-app-version", * }); * ``` * * ## Import * * AppVersion can be imported using any of these accepted formats: * * * `projects/{{project}}/locations/{{location}}/apps/{{app}}/versions/{{name}}` * * `{{project}}/{{location}}/{{app}}/{{name}}` * * `{{location}}/{{app}}/{{name}}` * * When using the `pulumi import` command, AppVersion can be imported using one of the formats above. For example: * * ```sh * $ pulumi import gcp:ces/appVersion:AppVersion default projects/{{project}}/locations/{{location}}/apps/{{app}}/versions/{{name}} * $ pulumi import gcp:ces/appVersion:AppVersion default {{project}}/{{location}}/{{app}}/{{name}} * $ pulumi import gcp:ces/appVersion:AppVersion default {{location}}/{{app}}/{{name}} * ``` */ export declare class AppVersion extends pulumi.CustomResource { /** * Get an existing AppVersion 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?: AppVersionState, opts?: pulumi.CustomResourceOptions): AppVersion; /** * Returns true if the given object is an instance of AppVersion. 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 AppVersion; /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ readonly app: pulumi.Output; /** * The ID to use for the app version, which will become the final component * of the app version's resource name. If not provided, a unique ID will be * automatically assigned for the app version. */ readonly appVersionId: pulumi.Output; /** * (Output) * Timestamp when the toolset was created. */ readonly createTime: pulumi.Output; /** * Email of the user who created the app version. */ readonly creator: pulumi.Output; /** * The description of the app version. */ readonly description: pulumi.Output; /** * The display name of the app version. */ readonly displayName: pulumi.Output; /** * (Output) * ETag used to ensure the object hasn't changed during a read-modify-write * operation. If the etag is empty, the update will overwrite any concurrent * changes. */ readonly etag: pulumi.Output; /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ readonly location: pulumi.Output; /** * (Output) * Identifier. The unique identifier of the toolset. * Format: * `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}` */ readonly name: pulumi.Output; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ readonly project: pulumi.Output; /** * A snapshot of the app. * Structure is documented below. */ readonly snapshots: pulumi.Output; /** * Create a AppVersion 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: AppVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AppVersion resources. */ export interface AppVersionState { /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ app?: pulumi.Input; /** * The ID to use for the app version, which will become the final component * of the app version's resource name. If not provided, a unique ID will be * automatically assigned for the app version. */ appVersionId?: pulumi.Input; /** * (Output) * Timestamp when the toolset was created. */ createTime?: pulumi.Input; /** * Email of the user who created the app version. */ creator?: pulumi.Input; /** * The description of the app version. */ description?: pulumi.Input; /** * The display name of the app version. */ displayName?: pulumi.Input; /** * (Output) * ETag used to ensure the object hasn't changed during a read-modify-write * operation. If the etag is empty, the update will overwrite any concurrent * changes. */ etag?: pulumi.Input; /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ location?: pulumi.Input; /** * (Output) * Identifier. The unique identifier of the toolset. * Format: * `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}` */ name?: pulumi.Input; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: pulumi.Input; /** * A snapshot of the app. * Structure is documented below. */ snapshots?: pulumi.Input[]>; } /** * The set of arguments for constructing a AppVersion resource. */ export interface AppVersionArgs { /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ app: pulumi.Input; /** * The ID to use for the app version, which will become the final component * of the app version's resource name. If not provided, a unique ID will be * automatically assigned for the app version. */ appVersionId: pulumi.Input; /** * The description of the app version. */ description?: pulumi.Input; /** * The display name of the app version. */ displayName?: pulumi.Input; /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ location: pulumi.Input; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: pulumi.Input; }