UNPKG

@formalco/pulumi

Version:

A Pulumi package for creating and managing Formal resources.

78 lines (77 loc) 3.32 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Registering a BI App. */ export declare class IntegrationBi extends pulumi.CustomResource { /** * Get an existing IntegrationBi 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<pulumi.ID>, state?: IntegrationBiState, opts?: pulumi.CustomResourceOptions): IntegrationBi; /** * Returns true if the given object is an instance of IntegrationBi. 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 IntegrationBi; /** * Configuration block for Metabase integration. This block is optional and may be omitted if not configuring a Metabase integration. */ readonly metabase: pulumi.Output<outputs.IntegrationBiMetabase | undefined>; /** * Friendly name for the App. */ readonly name: pulumi.Output<string>; /** * Auto synchronize users from Metabase to Formal (occurs every hour). Note that a lambda worker will need to be deployed in your infrastructure to synchronise users. */ readonly sync: pulumi.Output<boolean>; /** * Create a IntegrationBi 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: IntegrationBiArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IntegrationBi resources. */ export interface IntegrationBiState { /** * Configuration block for Metabase integration. This block is optional and may be omitted if not configuring a Metabase integration. */ metabase?: pulumi.Input<inputs.IntegrationBiMetabase>; /** * Friendly name for the App. */ name?: pulumi.Input<string>; /** * Auto synchronize users from Metabase to Formal (occurs every hour). Note that a lambda worker will need to be deployed in your infrastructure to synchronise users. */ sync?: pulumi.Input<boolean>; } /** * The set of arguments for constructing a IntegrationBi resource. */ export interface IntegrationBiArgs { /** * Configuration block for Metabase integration. This block is optional and may be omitted if not configuring a Metabase integration. */ metabase?: pulumi.Input<inputs.IntegrationBiMetabase>; /** * Friendly name for the App. */ name?: pulumi.Input<string>; /** * Auto synchronize users from Metabase to Formal (occurs every hour). Note that a lambda worker will need to be deployed in your infrastructure to synchronise users. */ sync: pulumi.Input<boolean>; }