UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

98 lines (97 loc) 3.24 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types) * * This data source can be used to get a single Custom Template. * * ## Example Usage * * Referring to a Custom Template by name: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const myTemplate = databricks.getAppsSettingsCustomTemplate({ * name: "my-custom-template", * }); * ``` */ export declare function getAppsSettingsCustomTemplate(args: GetAppsSettingsCustomTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetAppsSettingsCustomTemplateResult>; /** * A collection of arguments for invoking getAppsSettingsCustomTemplate. */ export interface GetAppsSettingsCustomTemplateArgs { /** * The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces. * It must be unique within the workspace */ name: string; } /** * A collection of values returned by getAppsSettingsCustomTemplate. */ export interface GetAppsSettingsCustomTemplateResult { /** * (string) */ readonly creator: string; /** * (string) - Description of the App Resource */ readonly description: string; /** * (string) - The Git provider of the template */ readonly gitProvider: string; /** * (string) - The Git repository URL that the template resides in */ readonly gitRepo: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (AppManifest) - The manifest of the template. It defines fields and default values when installing the template */ readonly manifest: outputs.GetAppsSettingsCustomTemplateManifest; /** * (string) - Name of the App Resource */ readonly name: string; /** * (string) - The path to the template within the Git repository */ readonly path: string; } /** * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types) * * This data source can be used to get a single Custom Template. * * ## Example Usage * * Referring to a Custom Template by name: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const myTemplate = databricks.getAppsSettingsCustomTemplate({ * name: "my-custom-template", * }); * ``` */ export declare function getAppsSettingsCustomTemplateOutput(args: GetAppsSettingsCustomTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppsSettingsCustomTemplateResult>; /** * A collection of arguments for invoking getAppsSettingsCustomTemplate. */ export interface GetAppsSettingsCustomTemplateOutputArgs { /** * The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces. * It must be unique within the workspace */ name: pulumi.Input<string>; }