UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

94 lines (93 loc) 4.31 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * > This resource can only be used with a workspace-level provider! * * The `databricks.AibiDashboardEmbeddingApprovedDomainsSetting` resource allows you to specify the list of domains allowed for [embedding of AI/BI Dashboards](https://learn.microsoft.com/en-us/azure/databricks/dashboards/admin/#manage-dashboard-embedding) into other sites. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const _this = new databricks.AibiDashboardEmbeddingAccessPolicySetting("this", {aibiDashboardEmbeddingAccessPolicy: { * accessPolicyType: "ALLOW_APPROVED_DOMAINS", * }}); * const thisAibiDashboardEmbeddingApprovedDomainsSetting = new databricks.AibiDashboardEmbeddingApprovedDomainsSetting("this", {aibiDashboardEmbeddingApprovedDomains: { * approvedDomains: ["test.com"], * }}, { * dependsOn: [_this], * }); * ``` * * ## Related Resources * * The following resources are often used in the same context: * * - databricks.AibiDashboardEmbeddingAccessPolicySetting is used to control embedding policy. * * ## Import * * This resource can be imported by predefined name `global`: * * bash * * ```sh * $ pulumi import databricks:index/aibiDashboardEmbeddingApprovedDomainsSetting:AibiDashboardEmbeddingApprovedDomainsSetting this global * ``` */ export declare class AibiDashboardEmbeddingApprovedDomainsSetting extends pulumi.CustomResource { /** * Get an existing AibiDashboardEmbeddingApprovedDomainsSetting 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?: AibiDashboardEmbeddingApprovedDomainsSettingState, opts?: pulumi.CustomResourceOptions): AibiDashboardEmbeddingApprovedDomainsSetting; /** * Returns true if the given object is an instance of AibiDashboardEmbeddingApprovedDomainsSetting. 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 AibiDashboardEmbeddingApprovedDomainsSetting; /** * block with following attributes: */ readonly aibiDashboardEmbeddingApprovedDomains: pulumi.Output<outputs.AibiDashboardEmbeddingApprovedDomainsSettingAibiDashboardEmbeddingApprovedDomains>; readonly etag: pulumi.Output<string>; readonly settingName: pulumi.Output<string>; /** * Create a AibiDashboardEmbeddingApprovedDomainsSetting 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: AibiDashboardEmbeddingApprovedDomainsSettingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AibiDashboardEmbeddingApprovedDomainsSetting resources. */ export interface AibiDashboardEmbeddingApprovedDomainsSettingState { /** * block with following attributes: */ aibiDashboardEmbeddingApprovedDomains?: pulumi.Input<inputs.AibiDashboardEmbeddingApprovedDomainsSettingAibiDashboardEmbeddingApprovedDomains>; etag?: pulumi.Input<string>; settingName?: pulumi.Input<string>; } /** * The set of arguments for constructing a AibiDashboardEmbeddingApprovedDomainsSetting resource. */ export interface AibiDashboardEmbeddingApprovedDomainsSettingArgs { /** * block with following attributes: */ aibiDashboardEmbeddingApprovedDomains: pulumi.Input<inputs.AibiDashboardEmbeddingApprovedDomainsSettingAibiDashboardEmbeddingApprovedDomains>; etag?: pulumi.Input<string>; settingName?: pulumi.Input<string>; }