@pulumi/dbtcloud 1.1.0-alpha.1750225614 → 1.1.0-alpha.1752695999
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.
- package/bigquerySemanticLayerCredential.d.ts +30 -0
- package/bigquerySemanticLayerCredential.js +30 -0
- package/bigquerySemanticLayerCredential.js.map +1 -1
- package/databricksCredential.d.ts +20 -8
- package/databricksCredential.js +2 -6
- package/databricksCredential.js.map +1 -1
- package/databricksSemanticLayerCredential.d.ts +95 -0
- package/databricksSemanticLayerCredential.js +90 -0
- package/databricksSemanticLayerCredential.js.map +1 -0
- package/index.d.ts +9 -0
- package/index.js +18 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/postgresCredential.d.ts +20 -8
- package/postgresCredential.js +2 -6
- package/postgresCredential.js.map +1 -1
- package/postgresSemanticLayerCredential.d.ts +95 -0
- package/postgresSemanticLayerCredential.js +90 -0
- package/postgresSemanticLayerCredential.js.map +1 -0
- package/redshiftSemanticLayerCredential.d.ts +33 -3
- package/redshiftSemanticLayerCredential.js +30 -0
- package/redshiftSemanticLayerCredential.js.map +1 -1
- package/semanticLayerCredentialServiceTokenMapping.d.ts +116 -0
- package/semanticLayerCredentialServiceTokenMapping.js +106 -0
- package/semanticLayerCredentialServiceTokenMapping.js.map +1 -0
- package/types/input.d.ts +114 -0
- package/types/output.d.ts +114 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
8
|
+
*
|
|
9
|
+
* const testMapping = new dbtcloud.SemanticLayerCredentialServiceTokenMapping("test_mapping", {
|
|
10
|
+
* semanticLayerCredentialId: test.id,
|
|
11
|
+
* serviceTokenId: testServiceToken.id,
|
|
12
|
+
* projectId: testProject.id,
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* ## Import
|
|
17
|
+
*
|
|
18
|
+
* using import blocks (requires Terraform >= 1.5)
|
|
19
|
+
*
|
|
20
|
+
* import {
|
|
21
|
+
*
|
|
22
|
+
* to = dbtcloud_semantic_layer_credential_service_token_mapping.example
|
|
23
|
+
*
|
|
24
|
+
* id = "id"
|
|
25
|
+
*
|
|
26
|
+
* }
|
|
27
|
+
*
|
|
28
|
+
* import {
|
|
29
|
+
*
|
|
30
|
+
* to = dbtcloud_semantic_layer_credential_service_token_mapping.example
|
|
31
|
+
*
|
|
32
|
+
* id = "12345"
|
|
33
|
+
*
|
|
34
|
+
* }
|
|
35
|
+
*
|
|
36
|
+
* using the older import command
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import dbtcloud:index/semanticLayerCredentialServiceTokenMapping:SemanticLayerCredentialServiceTokenMapping example "id"
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import dbtcloud:index/semanticLayerCredentialServiceTokenMapping:SemanticLayerCredentialServiceTokenMapping example 12345
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare class SemanticLayerCredentialServiceTokenMapping extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing SemanticLayerCredentialServiceTokenMapping resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param state Any extra arguments used during the lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SemanticLayerCredentialServiceTokenMappingState, opts?: pulumi.CustomResourceOptions): SemanticLayerCredentialServiceTokenMapping;
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of SemanticLayerCredentialServiceTokenMapping. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj: any): obj is SemanticLayerCredentialServiceTokenMapping;
|
|
62
|
+
/**
|
|
63
|
+
* The ID of the project to which the semantic layer credential is associated.
|
|
64
|
+
*/
|
|
65
|
+
readonly projectId: pulumi.Output<number>;
|
|
66
|
+
/**
|
|
67
|
+
* The ID of the semantic layer credential to map.
|
|
68
|
+
*/
|
|
69
|
+
readonly semanticLayerCredentialId: pulumi.Output<number>;
|
|
70
|
+
/**
|
|
71
|
+
* The ID of the service token to map to the semantic layer credential.
|
|
72
|
+
*/
|
|
73
|
+
readonly serviceTokenId: pulumi.Output<number>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a SemanticLayerCredentialServiceTokenMapping resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name: string, args: SemanticLayerCredentialServiceTokenMappingArgs, opts?: pulumi.CustomResourceOptions);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input properties used for looking up and filtering SemanticLayerCredentialServiceTokenMapping resources.
|
|
85
|
+
*/
|
|
86
|
+
export interface SemanticLayerCredentialServiceTokenMappingState {
|
|
87
|
+
/**
|
|
88
|
+
* The ID of the project to which the semantic layer credential is associated.
|
|
89
|
+
*/
|
|
90
|
+
projectId?: pulumi.Input<number>;
|
|
91
|
+
/**
|
|
92
|
+
* The ID of the semantic layer credential to map.
|
|
93
|
+
*/
|
|
94
|
+
semanticLayerCredentialId?: pulumi.Input<number>;
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the service token to map to the semantic layer credential.
|
|
97
|
+
*/
|
|
98
|
+
serviceTokenId?: pulumi.Input<number>;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* The set of arguments for constructing a SemanticLayerCredentialServiceTokenMapping resource.
|
|
102
|
+
*/
|
|
103
|
+
export interface SemanticLayerCredentialServiceTokenMappingArgs {
|
|
104
|
+
/**
|
|
105
|
+
* The ID of the project to which the semantic layer credential is associated.
|
|
106
|
+
*/
|
|
107
|
+
projectId: pulumi.Input<number>;
|
|
108
|
+
/**
|
|
109
|
+
* The ID of the semantic layer credential to map.
|
|
110
|
+
*/
|
|
111
|
+
semanticLayerCredentialId: pulumi.Input<number>;
|
|
112
|
+
/**
|
|
113
|
+
* The ID of the service token to map to the semantic layer credential.
|
|
114
|
+
*/
|
|
115
|
+
serviceTokenId: pulumi.Input<number>;
|
|
116
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.SemanticLayerCredentialServiceTokenMapping = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
14
|
+
*
|
|
15
|
+
* const testMapping = new dbtcloud.SemanticLayerCredentialServiceTokenMapping("test_mapping", {
|
|
16
|
+
* semanticLayerCredentialId: test.id,
|
|
17
|
+
* serviceTokenId: testServiceToken.id,
|
|
18
|
+
* projectId: testProject.id,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* using import blocks (requires Terraform >= 1.5)
|
|
25
|
+
*
|
|
26
|
+
* import {
|
|
27
|
+
*
|
|
28
|
+
* to = dbtcloud_semantic_layer_credential_service_token_mapping.example
|
|
29
|
+
*
|
|
30
|
+
* id = "id"
|
|
31
|
+
*
|
|
32
|
+
* }
|
|
33
|
+
*
|
|
34
|
+
* import {
|
|
35
|
+
*
|
|
36
|
+
* to = dbtcloud_semantic_layer_credential_service_token_mapping.example
|
|
37
|
+
*
|
|
38
|
+
* id = "12345"
|
|
39
|
+
*
|
|
40
|
+
* }
|
|
41
|
+
*
|
|
42
|
+
* using the older import command
|
|
43
|
+
*
|
|
44
|
+
* ```sh
|
|
45
|
+
* $ pulumi import dbtcloud:index/semanticLayerCredentialServiceTokenMapping:SemanticLayerCredentialServiceTokenMapping example "id"
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import dbtcloud:index/semanticLayerCredentialServiceTokenMapping:SemanticLayerCredentialServiceTokenMapping example 12345
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
class SemanticLayerCredentialServiceTokenMapping extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing SemanticLayerCredentialServiceTokenMapping resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name, id, state, opts) {
|
|
63
|
+
return new SemanticLayerCredentialServiceTokenMapping(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of SemanticLayerCredentialServiceTokenMapping. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj) {
|
|
70
|
+
if (obj === undefined || obj === null) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
return obj['__pulumiType'] === SemanticLayerCredentialServiceTokenMapping.__pulumiType;
|
|
74
|
+
}
|
|
75
|
+
constructor(name, argsOrState, opts) {
|
|
76
|
+
let resourceInputs = {};
|
|
77
|
+
opts = opts || {};
|
|
78
|
+
if (opts.id) {
|
|
79
|
+
const state = argsOrState;
|
|
80
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
81
|
+
resourceInputs["semanticLayerCredentialId"] = state ? state.semanticLayerCredentialId : undefined;
|
|
82
|
+
resourceInputs["serviceTokenId"] = state ? state.serviceTokenId : undefined;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
const args = argsOrState;
|
|
86
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'projectId'");
|
|
88
|
+
}
|
|
89
|
+
if ((!args || args.semanticLayerCredentialId === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'semanticLayerCredentialId'");
|
|
91
|
+
}
|
|
92
|
+
if ((!args || args.serviceTokenId === undefined) && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'serviceTokenId'");
|
|
94
|
+
}
|
|
95
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
96
|
+
resourceInputs["semanticLayerCredentialId"] = args ? args.semanticLayerCredentialId : undefined;
|
|
97
|
+
resourceInputs["serviceTokenId"] = args ? args.serviceTokenId : undefined;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(SemanticLayerCredentialServiceTokenMapping.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.SemanticLayerCredentialServiceTokenMapping = SemanticLayerCredentialServiceTokenMapping;
|
|
104
|
+
/** @internal */
|
|
105
|
+
SemanticLayerCredentialServiceTokenMapping.__pulumiType = 'dbtcloud:index/semanticLayerCredentialServiceTokenMapping:SemanticLayerCredentialServiceTokenMapping';
|
|
106
|
+
//# sourceMappingURL=semanticLayerCredentialServiceTokenMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"semanticLayerCredentialServiceTokenMapping.js","sourceRoot":"","sources":["../semanticLayerCredentialServiceTokenMapping.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,0CAA2C,SAAQ,MAAM,CAAC,cAAc;IACjF;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuD,EAAE,IAAmC;QACrJ,OAAO,IAAI,0CAA0C,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjG,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,0CAA0C,CAAC,YAAY,CAAC;IAC3F,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA8G,EAAE,IAAmC;QACzK,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0E,CAAC;YACzF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;aAAM;YACH,MAAM,IAAI,GAAG,WAAyE,CAAC;YACvF,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,yBAAyB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtE,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;aAC5E;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0CAA0C,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/F,CAAC;;AA1EL,gGA2EC;AA7DG,gBAAgB;AACO,uDAAY,GAAG,sGAAsG,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -40,6 +40,60 @@ export interface BigquerySemanticLayerCredentialCredential {
|
|
|
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
|
+
}
|
|
43
97
|
export interface GetJobJobCompletionTriggerCondition {
|
|
44
98
|
/**
|
|
45
99
|
* The ID of the job that would trigger this job after completion.
|
|
@@ -684,6 +738,66 @@ export interface JobTriggers {
|
|
|
684
738
|
*/
|
|
685
739
|
schedule?: pulumi.Input<boolean>;
|
|
686
740
|
}
|
|
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
|
+
}
|
|
687
801
|
export interface RedshiftSemanticLayerCredentialConfiguration {
|
|
688
802
|
/**
|
|
689
803
|
* The adapter version
|
package/types/output.d.ts
CHANGED
|
@@ -39,6 +39,60 @@ 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
|
+
}
|
|
42
96
|
export interface GetEnvironmentsEnvironment {
|
|
43
97
|
/**
|
|
44
98
|
* A connection ID (used with Global Connections)
|
|
@@ -1483,6 +1537,66 @@ export interface JobTriggers {
|
|
|
1483
1537
|
*/
|
|
1484
1538
|
schedule: boolean;
|
|
1485
1539
|
}
|
|
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
|
+
}
|
|
1486
1600
|
export interface RedshiftSemanticLayerCredentialConfiguration {
|
|
1487
1601
|
/**
|
|
1488
1602
|
* The adapter version
|