import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a Cloud Dataflow job from a template. Do not enter confidential information when you supply string values using the API. * Auto-naming is currently not supported for this resource. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class Template extends pulumi.CustomResource { /** * Get an existing Template 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Template; /** * Returns true if the given object is an instance of Template. 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 Template; readonly location: pulumi.Output; /** * The template metadata describing the template name, available parameters, etc. */ readonly metadata: pulumi.Output; readonly project: pulumi.Output; /** * Describes the runtime metadata with SDKInfo and available parameters. */ readonly runtimeMetadata: pulumi.Output; /** * The status of the get template request. Any problems with the request will be indicated in the error_details. */ readonly status: pulumi.Output; /** * Template Type. */ readonly templateType: pulumi.Output; /** * Create a Template 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: TemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Template resource. */ export interface TemplateArgs { /** * The runtime environment for the job. */ environment?: pulumi.Input; /** * A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`. */ gcsPath: pulumi.Input; /** * The job name to use for the created job. */ jobName: pulumi.Input; /** * The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. */ location?: pulumi.Input; /** * The runtime parameters to pass to the job. */ parameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; project?: pulumi.Input; }