@pulumi/dbtcloud 1.0.2 → 1.1.0-alpha.1749649896

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,36 +3,6 @@ import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
5
  * Redshift credential resource. This resource is composed of a Redshift credential and a Semantic Layer configuration. It is used to create a Redshift credential for the Semantic Layer.
6
- *
7
- * ## Import
8
- *
9
- * using import blocks (requires Terraform >= 1.5)
10
- *
11
- * import {
12
- *
13
- * to = dbtcloud_redshift_semantic_layer_credential.example
14
- *
15
- * id = "credential_id"
16
- *
17
- * }
18
- *
19
- * import {
20
- *
21
- * to = dbtcloud_redshift_semantic_layer_credential.example
22
- *
23
- * id = "12345"
24
- *
25
- * }
26
- *
27
- * using the older import command
28
- *
29
- * ```sh
30
- * $ pulumi import dbtcloud:index/redshiftSemanticLayerCredential:RedshiftSemanticLayerCredential example "credential_id"
31
- * ```
32
- *
33
- * ```sh
34
- * $ pulumi import dbtcloud:index/redshiftSemanticLayerCredential:RedshiftSemanticLayerCredential example 12345
35
- * ```
36
6
  */
37
7
  export declare class RedshiftSemanticLayerCredential extends pulumi.CustomResource {
38
8
  /**
@@ -55,7 +25,7 @@ export declare class RedshiftSemanticLayerCredential extends pulumi.CustomResour
55
25
  */
56
26
  readonly configuration: pulumi.Output<outputs.RedshiftSemanticLayerCredentialConfiguration>;
57
27
  /**
58
- * Redshift credential details, but used in the context of the Semantic Layer.
28
+ * Snowflake credential details, but used in the context of the Semantic Layer.
59
29
  */
60
30
  readonly credential: pulumi.Output<outputs.RedshiftSemanticLayerCredentialCredential>;
61
31
  /**
@@ -76,7 +46,7 @@ export interface RedshiftSemanticLayerCredentialState {
76
46
  */
77
47
  configuration?: pulumi.Input<inputs.RedshiftSemanticLayerCredentialConfiguration>;
78
48
  /**
79
- * Redshift credential details, but used in the context of the Semantic Layer.
49
+ * Snowflake credential details, but used in the context of the Semantic Layer.
80
50
  */
81
51
  credential?: pulumi.Input<inputs.RedshiftSemanticLayerCredentialCredential>;
82
52
  }
@@ -89,7 +59,7 @@ export interface RedshiftSemanticLayerCredentialArgs {
89
59
  */
90
60
  configuration: pulumi.Input<inputs.RedshiftSemanticLayerCredentialConfiguration>;
91
61
  /**
92
- * Redshift credential details, but used in the context of the Semantic Layer.
62
+ * Snowflake credential details, but used in the context of the Semantic Layer.
93
63
  */
94
64
  credential: pulumi.Input<inputs.RedshiftSemanticLayerCredentialCredential>;
95
65
  }
@@ -7,36 +7,6 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Redshift credential resource. This resource is composed of a Redshift credential and a Semantic Layer configuration. It is used to create a Redshift credential for the Semantic Layer.
10
- *
11
- * ## Import
12
- *
13
- * using import blocks (requires Terraform >= 1.5)
14
- *
15
- * import {
16
- *
17
- * to = dbtcloud_redshift_semantic_layer_credential.example
18
- *
19
- * id = "credential_id"
20
- *
21
- * }
22
- *
23
- * import {
24
- *
25
- * to = dbtcloud_redshift_semantic_layer_credential.example
26
- *
27
- * id = "12345"
28
- *
29
- * }
30
- *
31
- * using the older import command
32
- *
33
- * ```sh
34
- * $ pulumi import dbtcloud:index/redshiftSemanticLayerCredential:RedshiftSemanticLayerCredential example "credential_id"
35
- * ```
36
- *
37
- * ```sh
38
- * $ pulumi import dbtcloud:index/redshiftSemanticLayerCredential:RedshiftSemanticLayerCredential example 12345
39
- * ```
40
10
  */
41
11
  class RedshiftSemanticLayerCredential extends pulumi.CustomResource {
42
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"redshiftSemanticLayerCredential.js","sourceRoot":"","sources":["../redshiftSemanticLayerCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC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ential {
40
40
  */
41
41
  projectId: pulumi.Input<number>;
42
42
  }
43
- export interface DatabricksSemanticLayerCredentialConfiguration {
44
- /**
45
- * The adapter version
46
- */
47
- adapterVersion: pulumi.Input<string>;
48
- /**
49
- * The name of the configuration
50
- */
51
- name: pulumi.Input<string>;
52
- /**
53
- * The ID of the project
54
- */
55
- projectId: pulumi.Input<number>;
56
- }
57
- export interface DatabricksSemanticLayerCredentialCredential {
58
- /**
59
- * The type of the adapter (databricks or spark). Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
60
- */
61
- adapterType?: pulumi.Input<string>;
62
- /**
63
- * The catalog where to create models (only for the databricks adapter)
64
- */
65
- catalog?: pulumi.Input<string>;
66
- /**
67
- * The system Databricks credential ID
68
- */
69
- credentialId?: pulumi.Input<number>;
70
- /**
71
- * The ID of this resource. Contains the project ID and the credential ID.
72
- */
73
- id?: pulumi.Input<string>;
74
- /**
75
- * Project ID to create the Databricks credential in
76
- */
77
- projectId: pulumi.Input<number>;
78
- /**
79
- * The schema where to create models. Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
80
- */
81
- schema?: pulumi.Input<string>;
82
- /**
83
- * This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Databricks credential for the Semantic Layer.
84
- */
85
- semanticLayerCredential?: pulumi.Input<boolean>;
86
- /**
87
- * Target name
88
- *
89
- * @deprecated This field is deprecated at the environment level (it was never possible to set it in the UI) and will be removed in a future release. Please remove it and set the target name at the job level or leverage environment variables.
90
- */
91
- targetName?: pulumi.Input<string>;
92
- /**
93
- * Token for Databricks user
94
- */
95
- token: pulumi.Input<string>;
96
- }
97
43
  export interface GetJobJobCompletionTriggerCondition {
98
44
  /**
99
45
  * The ID of the job that would trigger this job after completion.
@@ -738,66 +684,6 @@ export interface JobTriggers {
738
684
  */
739
685
  schedule?: pulumi.Input<boolean>;
740
686
  }
741
- export interface PostgresSemanticLayerCredentialConfiguration {
742
- /**
743
- * The adapter version
744
- */
745
- adapterVersion: pulumi.Input<string>;
746
- /**
747
- * The name of the configuration
748
- */
749
- name: pulumi.Input<string>;
750
- /**
751
- * The ID of the project
752
- */
753
- projectId: pulumi.Input<number>;
754
- }
755
- export interface PostgresSemanticLayerCredentialCredential {
756
- /**
757
- * The system Postgres/Redshift/AlloyDB credential ID.
758
- */
759
- credentialId?: pulumi.Input<number>;
760
- /**
761
- * Default schema name. Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
762
- */
763
- defaultSchema?: pulumi.Input<string>;
764
- /**
765
- * The ID of this resource. Contains the project ID and the credential ID.
766
- */
767
- id?: pulumi.Input<string>;
768
- /**
769
- * Whether the Postgres/Redshift/AlloyDB credential is active
770
- */
771
- isActive?: pulumi.Input<boolean>;
772
- /**
773
- * Number of threads to use (required for Redshift)
774
- */
775
- numThreads?: pulumi.Input<number>;
776
- /**
777
- * Password for Postgres/Redshift/AlloyDB
778
- */
779
- password?: pulumi.Input<string>;
780
- /**
781
- * Project ID to create the Postgres/Redshift/AlloyDB credential in.
782
- */
783
- projectId: pulumi.Input<number>;
784
- /**
785
- * This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Postgres credential for the Semantic Layer.
786
- */
787
- semanticLayerCredential?: pulumi.Input<boolean>;
788
- /**
789
- * Default schema name
790
- */
791
- targetName?: pulumi.Input<string>;
792
- /**
793
- * Type of connection. One of (postgres/redshift). Use postgres for alloydb connections. Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
794
- */
795
- type?: pulumi.Input<string>;
796
- /**
797
- * Username for Postgres/Redshift/AlloyDB
798
- */
799
- username: pulumi.Input<string>;
800
- }
801
687
  export interface RedshiftSemanticLayerCredentialConfiguration {
802
688
  /**
803
689
  * The adapter version
package/types/output.d.ts CHANGED
@@ -39,60 +39,6 @@ export interface BigquerySemanticLayerCredentialCredential {
39
39
  */
40
40
  projectId: number;
41
41
  }
42
- export interface DatabricksSemanticLayerCredentialConfiguration {
43
- /**
44
- * The adapter version
45
- */
46
- adapterVersion: string;
47
- /**
48
- * The name of the configuration
49
- */
50
- name: string;
51
- /**
52
- * The ID of the project
53
- */
54
- projectId: number;
55
- }
56
- export interface DatabricksSemanticLayerCredentialCredential {
57
- /**
58
- * The type of the adapter (databricks or spark). Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
59
- */
60
- adapterType: string;
61
- /**
62
- * The catalog where to create models (only for the databricks adapter)
63
- */
64
- catalog: string;
65
- /**
66
- * The system Databricks credential ID
67
- */
68
- credentialId: number;
69
- /**
70
- * The ID of this resource. Contains the project ID and the credential ID.
71
- */
72
- id: string;
73
- /**
74
- * Project ID to create the Databricks credential in
75
- */
76
- projectId: number;
77
- /**
78
- * The schema where to create models. Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
79
- */
80
- schema: string;
81
- /**
82
- * This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Databricks credential for the Semantic Layer.
83
- */
84
- semanticLayerCredential: boolean;
85
- /**
86
- * Target name
87
- *
88
- * @deprecated This field is deprecated at the environment level (it was never possible to set it in the UI) and will be removed in a future release. Please remove it and set the target name at the job level or leverage environment variables.
89
- */
90
- targetName: string;
91
- /**
92
- * Token for Databricks user
93
- */
94
- token: string;
95
- }
96
42
  export interface GetEnvironmentsEnvironment {
97
43
  /**
98
44
  * A connection ID (used with Global Connections)
@@ -1537,66 +1483,6 @@ export interface JobTriggers {
1537
1483
  */
1538
1484
  schedule: boolean;
1539
1485
  }
1540
- export interface PostgresSemanticLayerCredentialConfiguration {
1541
- /**
1542
- * The adapter version
1543
- */
1544
- adapterVersion: string;
1545
- /**
1546
- * The name of the configuration
1547
- */
1548
- name: string;
1549
- /**
1550
- * The ID of the project
1551
- */
1552
- projectId: number;
1553
- }
1554
- export interface PostgresSemanticLayerCredentialCredential {
1555
- /**
1556
- * The system Postgres/Redshift/AlloyDB credential ID.
1557
- */
1558
- credentialId: number;
1559
- /**
1560
- * Default schema name. Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
1561
- */
1562
- defaultSchema: string;
1563
- /**
1564
- * The ID of this resource. Contains the project ID and the credential ID.
1565
- */
1566
- id: string;
1567
- /**
1568
- * Whether the Postgres/Redshift/AlloyDB credential is active
1569
- */
1570
- isActive: boolean;
1571
- /**
1572
- * Number of threads to use (required for Redshift)
1573
- */
1574
- numThreads: number;
1575
- /**
1576
- * Password for Postgres/Redshift/AlloyDB
1577
- */
1578
- password?: string;
1579
- /**
1580
- * Project ID to create the Postgres/Redshift/AlloyDB credential in.
1581
- */
1582
- projectId: number;
1583
- /**
1584
- * This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Postgres credential for the Semantic Layer.
1585
- */
1586
- semanticLayerCredential: boolean;
1587
- /**
1588
- * Default schema name
1589
- */
1590
- targetName: string;
1591
- /**
1592
- * Type of connection. One of (postgres/redshift). Use postgres for alloydb connections. Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
1593
- */
1594
- type: string;
1595
- /**
1596
- * Username for Postgres/Redshift/AlloyDB
1597
- */
1598
- username: string;
1599
- }
1600
1486
  export interface RedshiftSemanticLayerCredentialConfiguration {
1601
1487
  /**
1602
1488
  * The adapter version
@@ -1,95 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "./types/input";
3
- import * as outputs from "./types/output";
4
- /**
5
- * Databricks credential resource. This resource is composed of a Databricks credential and a Semantic Layer configuration. It is used to create a Databricks credential for the Semantic Layer.
6
- *
7
- * ## Import
8
- *
9
- * using import blocks (requires Terraform >= 1.5)
10
- *
11
- * import {
12
- *
13
- * to = dbtcloud_databricks_semantic_layer_credential.example
14
- *
15
- * id = "credential_id"
16
- *
17
- * }
18
- *
19
- * import {
20
- *
21
- * to = dbtcloud_databricks_semantic_layer_credential.example
22
- *
23
- * id = "12345"
24
- *
25
- * }
26
- *
27
- * using the older import command
28
- *
29
- * ```sh
30
- * $ pulumi import dbtcloud:index/databricksSemanticLayerCredential:DatabricksSemanticLayerCredential example "credential_id"
31
- * ```
32
- *
33
- * ```sh
34
- * $ pulumi import dbtcloud:index/databricksSemanticLayerCredential:DatabricksSemanticLayerCredential example 12345
35
- * ```
36
- */
37
- export declare class DatabricksSemanticLayerCredential extends pulumi.CustomResource {
38
- /**
39
- * Get an existing DatabricksSemanticLayerCredential resource's state with the given name, ID, and optional extra
40
- * properties used to qualify the lookup.
41
- *
42
- * @param name The _unique_ name of the resulting resource.
43
- * @param id The _unique_ provider ID of the resource to lookup.
44
- * @param state Any extra arguments used during the lookup.
45
- * @param opts Optional settings to control the behavior of the CustomResource.
46
- */
47
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatabricksSemanticLayerCredentialState, opts?: pulumi.CustomResourceOptions): DatabricksSemanticLayerCredential;
48
- /**
49
- * Returns true if the given object is an instance of DatabricksSemanticLayerCredential. This is designed to work even
50
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
- */
52
- static isInstance(obj: any): obj is DatabricksSemanticLayerCredential;
53
- /**
54
- * Semantic Layer credential configuration details.
55
- */
56
- readonly configuration: pulumi.Output<outputs.DatabricksSemanticLayerCredentialConfiguration>;
57
- /**
58
- * Databricks credential details, but used in the context of the Semantic Layer.
59
- */
60
- readonly credential: pulumi.Output<outputs.DatabricksSemanticLayerCredentialCredential>;
61
- /**
62
- * Create a DatabricksSemanticLayerCredential resource with the given unique name, arguments, and options.
63
- *
64
- * @param name The _unique_ name of the resource.
65
- * @param args The arguments to use to populate this resource's properties.
66
- * @param opts A bag of options that control this resource's behavior.
67
- */
68
- constructor(name: string, args: DatabricksSemanticLayerCredentialArgs, opts?: pulumi.CustomResourceOptions);
69
- }
70
- /**
71
- * Input properties used for looking up and filtering DatabricksSemanticLayerCredential resources.
72
- */
73
- export interface DatabricksSemanticLayerCredentialState {
74
- /**
75
- * Semantic Layer credential configuration details.
76
- */
77
- configuration?: pulumi.Input<inputs.DatabricksSemanticLayerCredentialConfiguration>;
78
- /**
79
- * Databricks credential details, but used in the context of the Semantic Layer.
80
- */
81
- credential?: pulumi.Input<inputs.DatabricksSemanticLayerCredentialCredential>;
82
- }
83
- /**
84
- * The set of arguments for constructing a DatabricksSemanticLayerCredential resource.
85
- */
86
- export interface DatabricksSemanticLayerCredentialArgs {
87
- /**
88
- * Semantic Layer credential configuration details.
89
- */
90
- configuration: pulumi.Input<inputs.DatabricksSemanticLayerCredentialConfiguration>;
91
- /**
92
- * Databricks credential details, but used in the context of the Semantic Layer.
93
- */
94
- credential: pulumi.Input<inputs.DatabricksSemanticLayerCredentialCredential>;
95
- }
@@ -1,90 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.DatabricksSemanticLayerCredential = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * Databricks credential resource. This resource is composed of a Databricks credential and a Semantic Layer configuration. It is used to create a Databricks credential for the Semantic Layer.
10
- *
11
- * ## Import
12
- *
13
- * using import blocks (requires Terraform >= 1.5)
14
- *
15
- * import {
16
- *
17
- * to = dbtcloud_databricks_semantic_layer_credential.example
18
- *
19
- * id = "credential_id"
20
- *
21
- * }
22
- *
23
- * import {
24
- *
25
- * to = dbtcloud_databricks_semantic_layer_credential.example
26
- *
27
- * id = "12345"
28
- *
29
- * }
30
- *
31
- * using the older import command
32
- *
33
- * ```sh
34
- * $ pulumi import dbtcloud:index/databricksSemanticLayerCredential:DatabricksSemanticLayerCredential example "credential_id"
35
- * ```
36
- *
37
- * ```sh
38
- * $ pulumi import dbtcloud:index/databricksSemanticLayerCredential:DatabricksSemanticLayerCredential example 12345
39
- * ```
40
- */
41
- class DatabricksSemanticLayerCredential extends pulumi.CustomResource {
42
- /**
43
- * Get an existing DatabricksSemanticLayerCredential resource's state with the given name, ID, and optional extra
44
- * properties used to qualify the lookup.
45
- *
46
- * @param name The _unique_ name of the resulting resource.
47
- * @param id The _unique_ provider ID of the resource to lookup.
48
- * @param state Any extra arguments used during the lookup.
49
- * @param opts Optional settings to control the behavior of the CustomResource.
50
- */
51
- static get(name, id, state, opts) {
52
- return new DatabricksSemanticLayerCredential(name, state, Object.assign(Object.assign({}, opts), { id: id }));
53
- }
54
- /**
55
- * Returns true if the given object is an instance of DatabricksSemanticLayerCredential. This is designed to work even
56
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
- */
58
- static isInstance(obj) {
59
- if (obj === undefined || obj === null) {
60
- return false;
61
- }
62
- return obj['__pulumiType'] === DatabricksSemanticLayerCredential.__pulumiType;
63
- }
64
- constructor(name, argsOrState, opts) {
65
- let resourceInputs = {};
66
- opts = opts || {};
67
- if (opts.id) {
68
- const state = argsOrState;
69
- resourceInputs["configuration"] = state ? state.configuration : undefined;
70
- resourceInputs["credential"] = state ? state.credential : undefined;
71
- }
72
- else {
73
- const args = argsOrState;
74
- if ((!args || args.configuration === undefined) && !opts.urn) {
75
- throw new Error("Missing required property 'configuration'");
76
- }
77
- if ((!args || args.credential === undefined) && !opts.urn) {
78
- throw new Error("Missing required property 'credential'");
79
- }
80
- resourceInputs["configuration"] = args ? args.configuration : undefined;
81
- resourceInputs["credential"] = args ? args.credential : undefined;
82
- }
83
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
84
- super(DatabricksSemanticLayerCredential.__pulumiType, name, resourceInputs, opts);
85
- }
86
- }
87
- exports.DatabricksSemanticLayerCredential = DatabricksSemanticLayerCredential;
88
- /** @internal */
89
- DatabricksSemanticLayerCredential.__pulumiType = 'dbtcloud:index/databricksSemanticLayerCredential:DatabricksSemanticLayerCredential';
90
- //# sourceMappingURL=databricksSemanticLayerCredential.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"databricksSemanticLayerCredential.js","sourceRoot":"","sources":["../databricksSemanticLayerCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAg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AAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iCAAiC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtF,CAAC;;AAjEL,8EAkEC;AApDG,gBAAgB;AACO,8CAAY,GAAG,oFAAoF,CAAC"}
@@ -1,95 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "./types/input";
3
- import * as outputs from "./types/output";
4
- /**
5
- * Postgres credential resource. This resource is composed of a Postgres credential and a Semantic Layer configuration. It is used to create a Postgres credential for the Semantic Layer.
6
- *
7
- * ## Import
8
- *
9
- * using import blocks (requires Terraform >= 1.5)
10
- *
11
- * import {
12
- *
13
- * to = dbtcloud_postgres_semantic_layer_credential.example
14
- *
15
- * id = "credential_id"
16
- *
17
- * }
18
- *
19
- * import {
20
- *
21
- * to = dbtcloud_postgres_semantic_layer_credential.example
22
- *
23
- * id = "12345"
24
- *
25
- * }
26
- *
27
- * using the older import command
28
- *
29
- * ```sh
30
- * $ pulumi import dbtcloud:index/postgresSemanticLayerCredential:PostgresSemanticLayerCredential example "credential_id"
31
- * ```
32
- *
33
- * ```sh
34
- * $ pulumi import dbtcloud:index/postgresSemanticLayerCredential:PostgresSemanticLayerCredential example 12345
35
- * ```
36
- */
37
- export declare class PostgresSemanticLayerCredential extends pulumi.CustomResource {
38
- /**
39
- * Get an existing PostgresSemanticLayerCredential resource's state with the given name, ID, and optional extra
40
- * properties used to qualify the lookup.
41
- *
42
- * @param name The _unique_ name of the resulting resource.
43
- * @param id The _unique_ provider ID of the resource to lookup.
44
- * @param state Any extra arguments used during the lookup.
45
- * @param opts Optional settings to control the behavior of the CustomResource.
46
- */
47
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PostgresSemanticLayerCredentialState, opts?: pulumi.CustomResourceOptions): PostgresSemanticLayerCredential;
48
- /**
49
- * Returns true if the given object is an instance of PostgresSemanticLayerCredential. This is designed to work even
50
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
- */
52
- static isInstance(obj: any): obj is PostgresSemanticLayerCredential;
53
- /**
54
- * Semantic Layer credential configuration details.
55
- */
56
- readonly configuration: pulumi.Output<outputs.PostgresSemanticLayerCredentialConfiguration>;
57
- /**
58
- * Postgres credential details, but used in the context of the Semantic Layer.
59
- */
60
- readonly credential: pulumi.Output<outputs.PostgresSemanticLayerCredentialCredential>;
61
- /**
62
- * Create a PostgresSemanticLayerCredential resource with the given unique name, arguments, and options.
63
- *
64
- * @param name The _unique_ name of the resource.
65
- * @param args The arguments to use to populate this resource's properties.
66
- * @param opts A bag of options that control this resource's behavior.
67
- */
68
- constructor(name: string, args: PostgresSemanticLayerCredentialArgs, opts?: pulumi.CustomResourceOptions);
69
- }
70
- /**
71
- * Input properties used for looking up and filtering PostgresSemanticLayerCredential resources.
72
- */
73
- export interface PostgresSemanticLayerCredentialState {
74
- /**
75
- * Semantic Layer credential configuration details.
76
- */
77
- configuration?: pulumi.Input<inputs.PostgresSemanticLayerCredentialConfiguration>;
78
- /**
79
- * Postgres credential details, but used in the context of the Semantic Layer.
80
- */
81
- credential?: pulumi.Input<inputs.PostgresSemanticLayerCredentialCredential>;
82
- }
83
- /**
84
- * The set of arguments for constructing a PostgresSemanticLayerCredential resource.
85
- */
86
- export interface PostgresSemanticLayerCredentialArgs {
87
- /**
88
- * Semantic Layer credential configuration details.
89
- */
90
- configuration: pulumi.Input<inputs.PostgresSemanticLayerCredentialConfiguration>;
91
- /**
92
- * Postgres credential details, but used in the context of the Semantic Layer.
93
- */
94
- credential: pulumi.Input<inputs.PostgresSemanticLayerCredentialCredential>;
95
- }