@pulumi/dbtcloud 0.2.0-alpha.1749534410 → 1.0.0
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/accountFeatures.d.ts +24 -0
- package/accountFeatures.js +4 -0
- package/accountFeatures.js.map +1 -1
- package/bigQueryCredential.d.ts +5 -3
- package/bigQueryCredential.js +2 -0
- package/bigQueryCredential.js.map +1 -1
- package/bigquerySemanticLayerCredential.d.ts +161 -0
- package/bigquerySemanticLayerCredential.js +102 -0
- package/bigquerySemanticLayerCredential.js.map +1 -0
- package/databricksCredential.d.ts +16 -14
- package/databricksCredential.js +14 -2
- package/databricksCredential.js.map +1 -1
- package/environment.d.ts +37 -45
- package/environment.js +1 -6
- package/environment.js.map +1 -1
- package/environmentVariable.d.ts +3 -3
- package/environmentVariableJobOverride.d.ts +15 -5
- package/environmentVariableJobOverride.js +4 -0
- package/environmentVariableJobOverride.js.map +1 -1
- package/extendedAttributes.d.ts +7 -13
- package/extendedAttributes.js +1 -1
- package/extendedAttributes.js.map +1 -1
- package/fabricCredential.d.ts +16 -16
- package/fabricCredential.js +6 -6
- package/fabricCredential.js.map +1 -1
- package/getBigQueryCredential.d.ts +7 -1
- package/getBigQueryCredential.js +6 -0
- package/getBigQueryCredential.js.map +1 -1
- package/getDatabricksCredential.d.ts +10 -4
- package/getDatabricksCredential.js +6 -0
- package/getDatabricksCredential.js.map +1 -1
- package/getEnvironment.d.ts +4 -7
- package/getEnvironment.js.map +1 -1
- package/getEnvironmentVariable.d.ts +38 -8
- package/getEnvironmentVariable.js +30 -0
- package/getEnvironmentVariable.js.map +1 -1
- package/getExtendedAttributes.d.ts +12 -8
- package/getExtendedAttributes.js +4 -0
- package/getExtendedAttributes.js.map +1 -1
- package/getGlobalConnection.d.ts +4 -0
- package/getGlobalConnection.js.map +1 -1
- package/getGroupUsers.d.ts +3 -3
- package/getGroupUsers.js +2 -2
- package/getJob.d.ts +59 -26
- package/getJob.js +8 -2
- package/getJob.js.map +1 -1
- package/getPostgresCredential.d.ts +7 -1
- package/getPostgresCredential.js +6 -0
- package/getPostgresCredential.js.map +1 -1
- package/getPrivatelinkEndpoint.d.ts +16 -10
- package/getPrivatelinkEndpoint.js +6 -0
- package/getPrivatelinkEndpoint.js.map +1 -1
- package/getProject.d.ts +81 -44
- package/getProject.js +50 -22
- package/getProject.js.map +1 -1
- package/getRedshiftCredential.d.ts +72 -0
- package/getRedshiftCredential.js +32 -0
- package/getRedshiftCredential.js.map +1 -0
- package/getRepository.d.ts +25 -3
- package/getRepository.js +6 -0
- package/getRepository.js.map +1 -1
- package/getRuns.d.ts +46 -0
- package/getRuns.js +30 -0
- package/getRuns.js.map +1 -0
- package/getSnowflakeCredential.d.ts +8 -2
- package/getSnowflakeCredential.js +6 -0
- package/getSnowflakeCredential.js.map +1 -1
- package/getSynapseCredential.d.ts +80 -0
- package/getSynapseCredential.js +30 -0
- package/getSynapseCredential.js.map +1 -0
- package/getTeradataCredential.d.ts +68 -0
- package/getTeradataCredential.js +30 -0
- package/getTeradataCredential.js.map +1 -0
- package/getUserGroups.d.ts +9 -5
- package/getUserGroups.js +4 -0
- package/getUserGroups.js.map +1 -1
- package/getWebhook.d.ts +16 -4
- package/getWebhook.js +6 -0
- package/getWebhook.js.map +1 -1
- package/globalConnection.d.ts +12 -2
- package/globalConnection.js +2 -2
- package/globalConnection.js.map +1 -1
- package/index.d.ts +36 -18
- package/index.js +55 -28
- package/index.js.map +1 -1
- package/job.d.ts +41 -144
- package/job.js +4 -113
- package/job.js.map +1 -1
- package/package.json +2 -2
- package/partialEnvironmentVariable.d.ts +83 -0
- package/partialEnvironmentVariable.js +64 -0
- package/partialEnvironmentVariable.js.map +1 -0
- package/postgresCredential.d.ts +13 -11
- package/postgresCredential.js +2 -0
- package/postgresCredential.js.map +1 -1
- package/project.d.ts +20 -6
- package/project.js +5 -1
- package/project.js.map +1 -1
- package/projectRepository.d.ts +1 -1
- package/projectRepository.js +1 -1
- package/redshiftCredential.d.ts +165 -0
- package/redshiftCredential.js +121 -0
- package/redshiftCredential.js.map +1 -0
- package/redshiftSemanticLayerCredential.d.ts +65 -0
- package/redshiftSemanticLayerCredential.js +60 -0
- package/redshiftSemanticLayerCredential.js.map +1 -0
- package/repository.d.ts +6 -6
- package/semanticLayerConfiguration.d.ts +106 -0
- package/semanticLayerConfiguration.js +103 -0
- package/semanticLayerConfiguration.js.map +1 -0
- package/snowflakeCredential.d.ts +46 -32
- package/snowflakeCredential.js +4 -6
- package/snowflakeCredential.js.map +1 -1
- package/snowflakeSemanticLayerCredential.d.ts +95 -0
- package/snowflakeSemanticLayerCredential.js +90 -0
- package/snowflakeSemanticLayerCredential.js.map +1 -0
- package/synapseCredential.d.ts +233 -0
- package/synapseCredential.js +152 -0
- package/synapseCredential.js.map +1 -0
- package/teradataCredential.d.ts +107 -0
- package/teradataCredential.js +76 -0
- package/teradataCredential.js.map +1 -0
- package/types/input.d.ts +300 -0
- package/types/output.d.ts +409 -6
- package/userGroups.d.ts +4 -5
- package/userGroups.js +1 -2
- package/userGroups.js.map +1 -1
- package/webhook.d.ts +13 -7
- package/webhook.js +2 -0
- package/webhook.js.map +1 -1
- package/bigQueryConnection.d.ts +0 -420
- package/bigQueryConnection.js +0 -217
- package/bigQueryConnection.js.map +0 -1
- package/connection.d.ts +0 -342
- package/connection.js +0 -170
- package/connection.js.map +0 -1
- package/fabricConnection.d.ts +0 -199
- package/fabricConnection.js +0 -130
- package/fabricConnection.js.map +0 -1
- package/getBigQueryConnection.d.ts +0 -134
- package/getBigQueryConnection.js +0 -24
- package/getBigQueryConnection.js.map +0 -1
- package/getConnection.d.ts +0 -86
- package/getConnection.js +0 -24
- package/getConnection.js.map +0 -1
- package/projectConnection.d.ts +0 -105
- package/projectConnection.js +0 -102
- package/projectConnection.js.map +0 -1
package/accountFeatures.d.ts
CHANGED
|
@@ -24,6 +24,10 @@ export declare class AccountFeatures extends pulumi.CustomResource {
|
|
|
24
24
|
* Whether advanced CI is enabled.
|
|
25
25
|
*/
|
|
26
26
|
readonly advancedCi: pulumi.Output<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* Whether AI features are enabled.
|
|
29
|
+
*/
|
|
30
|
+
readonly aiFeatures: pulumi.Output<boolean>;
|
|
27
31
|
/**
|
|
28
32
|
* Whether partial parsing is enabled.
|
|
29
33
|
*/
|
|
@@ -32,6 +36,10 @@ export declare class AccountFeatures extends pulumi.CustomResource {
|
|
|
32
36
|
* Whether repository caching is enabled.
|
|
33
37
|
*/
|
|
34
38
|
readonly repoCaching: pulumi.Output<boolean>;
|
|
39
|
+
/**
|
|
40
|
+
* Whether warehouse cost visibility is enabled.
|
|
41
|
+
*/
|
|
42
|
+
readonly warehouseCostVisibility: pulumi.Output<boolean>;
|
|
35
43
|
/**
|
|
36
44
|
* Create a AccountFeatures resource with the given unique name, arguments, and options.
|
|
37
45
|
*
|
|
@@ -49,6 +57,10 @@ export interface AccountFeaturesState {
|
|
|
49
57
|
* Whether advanced CI is enabled.
|
|
50
58
|
*/
|
|
51
59
|
advancedCi?: pulumi.Input<boolean>;
|
|
60
|
+
/**
|
|
61
|
+
* Whether AI features are enabled.
|
|
62
|
+
*/
|
|
63
|
+
aiFeatures?: pulumi.Input<boolean>;
|
|
52
64
|
/**
|
|
53
65
|
* Whether partial parsing is enabled.
|
|
54
66
|
*/
|
|
@@ -57,6 +69,10 @@ export interface AccountFeaturesState {
|
|
|
57
69
|
* Whether repository caching is enabled.
|
|
58
70
|
*/
|
|
59
71
|
repoCaching?: pulumi.Input<boolean>;
|
|
72
|
+
/**
|
|
73
|
+
* Whether warehouse cost visibility is enabled.
|
|
74
|
+
*/
|
|
75
|
+
warehouseCostVisibility?: pulumi.Input<boolean>;
|
|
60
76
|
}
|
|
61
77
|
/**
|
|
62
78
|
* The set of arguments for constructing a AccountFeatures resource.
|
|
@@ -66,6 +82,10 @@ export interface AccountFeaturesArgs {
|
|
|
66
82
|
* Whether advanced CI is enabled.
|
|
67
83
|
*/
|
|
68
84
|
advancedCi?: pulumi.Input<boolean>;
|
|
85
|
+
/**
|
|
86
|
+
* Whether AI features are enabled.
|
|
87
|
+
*/
|
|
88
|
+
aiFeatures?: pulumi.Input<boolean>;
|
|
69
89
|
/**
|
|
70
90
|
* Whether partial parsing is enabled.
|
|
71
91
|
*/
|
|
@@ -74,4 +94,8 @@ export interface AccountFeaturesArgs {
|
|
|
74
94
|
* Whether repository caching is enabled.
|
|
75
95
|
*/
|
|
76
96
|
repoCaching?: pulumi.Input<boolean>;
|
|
97
|
+
/**
|
|
98
|
+
* Whether warehouse cost visibility is enabled.
|
|
99
|
+
*/
|
|
100
|
+
warehouseCostVisibility?: pulumi.Input<boolean>;
|
|
77
101
|
}
|
package/accountFeatures.js
CHANGED
|
@@ -39,14 +39,18 @@ class AccountFeatures extends pulumi.CustomResource {
|
|
|
39
39
|
if (opts.id) {
|
|
40
40
|
const state = argsOrState;
|
|
41
41
|
resourceInputs["advancedCi"] = state ? state.advancedCi : undefined;
|
|
42
|
+
resourceInputs["aiFeatures"] = state ? state.aiFeatures : undefined;
|
|
42
43
|
resourceInputs["partialParsing"] = state ? state.partialParsing : undefined;
|
|
43
44
|
resourceInputs["repoCaching"] = state ? state.repoCaching : undefined;
|
|
45
|
+
resourceInputs["warehouseCostVisibility"] = state ? state.warehouseCostVisibility : undefined;
|
|
44
46
|
}
|
|
45
47
|
else {
|
|
46
48
|
const args = argsOrState;
|
|
47
49
|
resourceInputs["advancedCi"] = args ? args.advancedCi : undefined;
|
|
50
|
+
resourceInputs["aiFeatures"] = args ? args.aiFeatures : undefined;
|
|
48
51
|
resourceInputs["partialParsing"] = args ? args.partialParsing : undefined;
|
|
49
52
|
resourceInputs["repoCaching"] = args ? args.repoCaching : undefined;
|
|
53
|
+
resourceInputs["warehouseCostVisibility"] = args ? args.warehouseCostVisibility : undefined;
|
|
50
54
|
}
|
|
51
55
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
52
56
|
super(AccountFeatures.__pulumiType, name, resourceInputs, opts);
|
package/accountFeatures.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountFeatures.js","sourceRoot":"","sources":["../accountFeatures.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;
|
|
1
|
+
{"version":3,"file":"accountFeatures.js","sourceRoot":"","sources":["../accountFeatures.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK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C,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA7EL,0CA8EC;AAhEG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
|
package/bigQueryCredential.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Bigquery credential resource
|
|
4
|
+
*
|
|
3
5
|
* ## Example Usage
|
|
4
6
|
*
|
|
5
7
|
* ```typescript
|
|
@@ -60,7 +62,7 @@ export declare class BigQueryCredential extends pulumi.CustomResource {
|
|
|
60
62
|
*/
|
|
61
63
|
static isInstance(obj: any): obj is BigQueryCredential;
|
|
62
64
|
/**
|
|
63
|
-
* The
|
|
65
|
+
* The internal credential ID
|
|
64
66
|
*/
|
|
65
67
|
readonly credentialId: pulumi.Output<number>;
|
|
66
68
|
/**
|
|
@@ -70,7 +72,7 @@ export declare class BigQueryCredential extends pulumi.CustomResource {
|
|
|
70
72
|
/**
|
|
71
73
|
* Whether the BigQuery credential is active
|
|
72
74
|
*/
|
|
73
|
-
readonly isActive: pulumi.Output<boolean
|
|
75
|
+
readonly isActive: pulumi.Output<boolean>;
|
|
74
76
|
/**
|
|
75
77
|
* Number of threads to use
|
|
76
78
|
*/
|
|
@@ -93,7 +95,7 @@ export declare class BigQueryCredential extends pulumi.CustomResource {
|
|
|
93
95
|
*/
|
|
94
96
|
export interface BigQueryCredentialState {
|
|
95
97
|
/**
|
|
96
|
-
* The
|
|
98
|
+
* The internal credential ID
|
|
97
99
|
*/
|
|
98
100
|
credentialId?: pulumi.Input<number>;
|
|
99
101
|
/**
|
package/bigQueryCredential.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bigQueryCredential.js","sourceRoot":"","sources":["../bigQueryCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"bigQueryCredential.js","sourceRoot":"","sources":["../bigQueryCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAA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,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAtFL,gDAuFC;AAzEG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* BigQuery credential resource. This resource is composed of a BigQuery credential and a Semantic Layer configuration. It is used to create a BigQuery credential for the Semantic Layer.
|
|
6
|
+
*/
|
|
7
|
+
export declare class BigquerySemanticLayerCredential extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing BigquerySemanticLayerCredential resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BigquerySemanticLayerCredentialState, opts?: pulumi.CustomResourceOptions): BigquerySemanticLayerCredential;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of BigquerySemanticLayerCredential. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is BigquerySemanticLayerCredential;
|
|
23
|
+
/**
|
|
24
|
+
* Auth Provider X509 Cert URL for the Service Account
|
|
25
|
+
*/
|
|
26
|
+
readonly authProviderX509CertUrl: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Auth URI for the Service Account
|
|
29
|
+
*/
|
|
30
|
+
readonly authUri: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Service Account email
|
|
33
|
+
*/
|
|
34
|
+
readonly clientEmail: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Client ID of the Service Account
|
|
37
|
+
*/
|
|
38
|
+
readonly clientId: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Client X509 Cert URL for the Service Account
|
|
41
|
+
*/
|
|
42
|
+
readonly clientX509CertUrl: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Semantic Layer credential configuration details.
|
|
45
|
+
*/
|
|
46
|
+
readonly configuration: pulumi.Output<outputs.BigquerySemanticLayerCredentialConfiguration>;
|
|
47
|
+
/**
|
|
48
|
+
* BigQuery credential details, but used in the context of the Semantic Layer.
|
|
49
|
+
*/
|
|
50
|
+
readonly credential: pulumi.Output<outputs.BigquerySemanticLayerCredentialCredential>;
|
|
51
|
+
/**
|
|
52
|
+
* Private Key for the Service Account
|
|
53
|
+
*/
|
|
54
|
+
readonly privateKey: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Private Key ID for the Service Account
|
|
57
|
+
*/
|
|
58
|
+
readonly privateKeyId: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Token URI for the Service Account
|
|
61
|
+
*/
|
|
62
|
+
readonly tokenUri: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a BigquerySemanticLayerCredential resource with the given unique name, arguments, and options.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resource.
|
|
67
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
68
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
69
|
+
*/
|
|
70
|
+
constructor(name: string, args: BigquerySemanticLayerCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Input properties used for looking up and filtering BigquerySemanticLayerCredential resources.
|
|
74
|
+
*/
|
|
75
|
+
export interface BigquerySemanticLayerCredentialState {
|
|
76
|
+
/**
|
|
77
|
+
* Auth Provider X509 Cert URL for the Service Account
|
|
78
|
+
*/
|
|
79
|
+
authProviderX509CertUrl?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Auth URI for the Service Account
|
|
82
|
+
*/
|
|
83
|
+
authUri?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Service Account email
|
|
86
|
+
*/
|
|
87
|
+
clientEmail?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Client ID of the Service Account
|
|
90
|
+
*/
|
|
91
|
+
clientId?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Client X509 Cert URL for the Service Account
|
|
94
|
+
*/
|
|
95
|
+
clientX509CertUrl?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Semantic Layer credential configuration details.
|
|
98
|
+
*/
|
|
99
|
+
configuration?: pulumi.Input<inputs.BigquerySemanticLayerCredentialConfiguration>;
|
|
100
|
+
/**
|
|
101
|
+
* BigQuery credential details, but used in the context of the Semantic Layer.
|
|
102
|
+
*/
|
|
103
|
+
credential?: pulumi.Input<inputs.BigquerySemanticLayerCredentialCredential>;
|
|
104
|
+
/**
|
|
105
|
+
* Private Key for the Service Account
|
|
106
|
+
*/
|
|
107
|
+
privateKey?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Private Key ID for the Service Account
|
|
110
|
+
*/
|
|
111
|
+
privateKeyId?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Token URI for the Service Account
|
|
114
|
+
*/
|
|
115
|
+
tokenUri?: pulumi.Input<string>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The set of arguments for constructing a BigquerySemanticLayerCredential resource.
|
|
119
|
+
*/
|
|
120
|
+
export interface BigquerySemanticLayerCredentialArgs {
|
|
121
|
+
/**
|
|
122
|
+
* Auth Provider X509 Cert URL for the Service Account
|
|
123
|
+
*/
|
|
124
|
+
authProviderX509CertUrl: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Auth URI for the Service Account
|
|
127
|
+
*/
|
|
128
|
+
authUri: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Service Account email
|
|
131
|
+
*/
|
|
132
|
+
clientEmail: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Client ID of the Service Account
|
|
135
|
+
*/
|
|
136
|
+
clientId: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Client X509 Cert URL for the Service Account
|
|
139
|
+
*/
|
|
140
|
+
clientX509CertUrl: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Semantic Layer credential configuration details.
|
|
143
|
+
*/
|
|
144
|
+
configuration: pulumi.Input<inputs.BigquerySemanticLayerCredentialConfiguration>;
|
|
145
|
+
/**
|
|
146
|
+
* BigQuery credential details, but used in the context of the Semantic Layer.
|
|
147
|
+
*/
|
|
148
|
+
credential: pulumi.Input<inputs.BigquerySemanticLayerCredentialCredential>;
|
|
149
|
+
/**
|
|
150
|
+
* Private Key for the Service Account
|
|
151
|
+
*/
|
|
152
|
+
privateKey: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* Private Key ID for the Service Account
|
|
155
|
+
*/
|
|
156
|
+
privateKeyId: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Token URI for the Service Account
|
|
159
|
+
*/
|
|
160
|
+
tokenUri: pulumi.Input<string>;
|
|
161
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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.BigquerySemanticLayerCredential = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* BigQuery credential resource. This resource is composed of a BigQuery credential and a Semantic Layer configuration. It is used to create a BigQuery credential for the Semantic Layer.
|
|
10
|
+
*/
|
|
11
|
+
class BigquerySemanticLayerCredential extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing BigquerySemanticLayerCredential resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new BigquerySemanticLayerCredential(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of BigquerySemanticLayerCredential. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === BigquerySemanticLayerCredential.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["authProviderX509CertUrl"] = state ? state.authProviderX509CertUrl : undefined;
|
|
40
|
+
resourceInputs["authUri"] = state ? state.authUri : undefined;
|
|
41
|
+
resourceInputs["clientEmail"] = state ? state.clientEmail : undefined;
|
|
42
|
+
resourceInputs["clientId"] = state ? state.clientId : undefined;
|
|
43
|
+
resourceInputs["clientX509CertUrl"] = state ? state.clientX509CertUrl : undefined;
|
|
44
|
+
resourceInputs["configuration"] = state ? state.configuration : undefined;
|
|
45
|
+
resourceInputs["credential"] = state ? state.credential : undefined;
|
|
46
|
+
resourceInputs["privateKey"] = state ? state.privateKey : undefined;
|
|
47
|
+
resourceInputs["privateKeyId"] = state ? state.privateKeyId : undefined;
|
|
48
|
+
resourceInputs["tokenUri"] = state ? state.tokenUri : undefined;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
const args = argsOrState;
|
|
52
|
+
if ((!args || args.authProviderX509CertUrl === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'authProviderX509CertUrl'");
|
|
54
|
+
}
|
|
55
|
+
if ((!args || args.authUri === undefined) && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'authUri'");
|
|
57
|
+
}
|
|
58
|
+
if ((!args || args.clientEmail === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'clientEmail'");
|
|
60
|
+
}
|
|
61
|
+
if ((!args || args.clientId === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'clientId'");
|
|
63
|
+
}
|
|
64
|
+
if ((!args || args.clientX509CertUrl === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'clientX509CertUrl'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.configuration === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'configuration'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.credential === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'credential'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.privateKey === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'privateKey'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.privateKeyId === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'privateKeyId'");
|
|
78
|
+
}
|
|
79
|
+
if ((!args || args.tokenUri === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'tokenUri'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["authProviderX509CertUrl"] = args ? args.authProviderX509CertUrl : undefined;
|
|
83
|
+
resourceInputs["authUri"] = args ? args.authUri : undefined;
|
|
84
|
+
resourceInputs["clientEmail"] = args ? args.clientEmail : undefined;
|
|
85
|
+
resourceInputs["clientId"] = args ? args.clientId : undefined;
|
|
86
|
+
resourceInputs["clientX509CertUrl"] = args ? args.clientX509CertUrl : undefined;
|
|
87
|
+
resourceInputs["configuration"] = args ? args.configuration : undefined;
|
|
88
|
+
resourceInputs["credential"] = args ? args.credential : undefined;
|
|
89
|
+
resourceInputs["privateKey"] = (args === null || args === void 0 ? void 0 : args.privateKey) ? pulumi.secret(args.privateKey) : undefined;
|
|
90
|
+
resourceInputs["privateKeyId"] = args ? args.privateKeyId : undefined;
|
|
91
|
+
resourceInputs["tokenUri"] = args ? args.tokenUri : undefined;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
const secretOpts = { additionalSecretOutputs: ["privateKey"] };
|
|
95
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
96
|
+
super(BigquerySemanticLayerCredential.__pulumiType, name, resourceInputs, opts);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.BigquerySemanticLayerCredential = BigquerySemanticLayerCredential;
|
|
100
|
+
/** @internal */
|
|
101
|
+
BigquerySemanticLayerCredential.__pulumiType = 'dbtcloud:index/bigquerySemanticLayerCredential:BigquerySemanticLayerCredential';
|
|
102
|
+
//# sourceMappingURL=bigquerySemanticLayerCredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bigquerySemanticLayerCredential.js","sourceRoot":"","sources":["../bigquerySemanticLayerCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtF,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,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+D,CAAC;YAC9E,cAAc,CAAC,yBAAyB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CA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Ac,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AA3IL,0EA4IC;AA9HG,gBAAgB;AACO,4CAAY,GAAG,gFAAgF,CAAC"}
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Databricks credential resource
|
|
4
|
+
*
|
|
3
5
|
* ## Example Usage
|
|
4
6
|
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
10
|
+
*
|
|
11
|
+
* const myDatabricksCred = new dbtcloud.DatabricksCredential("my_databricks_cred", {
|
|
12
|
+
* projectId: dbtProject.id,
|
|
13
|
+
* token: "abcdefgh",
|
|
14
|
+
* schema: "my_schema",
|
|
15
|
+
* adapterType: "databricks",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
5
19
|
* ## Import
|
|
6
20
|
*
|
|
7
21
|
* using import blocks (requires Terraform >= 1.5)
|
|
@@ -48,10 +62,6 @@ export declare class DatabricksCredential extends pulumi.CustomResource {
|
|
|
48
62
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
63
|
*/
|
|
50
64
|
static isInstance(obj: any): obj is DatabricksCredential;
|
|
51
|
-
/**
|
|
52
|
-
* Databricks adapter ID for the credential (do not fill in when using global connections, only to be used for connections created with the legacy connection resource `dbtcloud.Connection`)
|
|
53
|
-
*/
|
|
54
|
-
readonly adapterId: pulumi.Output<number | undefined>;
|
|
55
65
|
/**
|
|
56
66
|
* The type of the adapter (databricks or spark)
|
|
57
67
|
*/
|
|
@@ -59,7 +69,7 @@ export declare class DatabricksCredential extends pulumi.CustomResource {
|
|
|
59
69
|
/**
|
|
60
70
|
* The catalog where to create models (only for the databricks adapter)
|
|
61
71
|
*/
|
|
62
|
-
readonly catalog: pulumi.Output<string
|
|
72
|
+
readonly catalog: pulumi.Output<string>;
|
|
63
73
|
/**
|
|
64
74
|
* The system Databricks credential ID
|
|
65
75
|
*/
|
|
@@ -77,7 +87,7 @@ export declare class DatabricksCredential extends pulumi.CustomResource {
|
|
|
77
87
|
*
|
|
78
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.
|
|
79
89
|
*/
|
|
80
|
-
readonly targetName: pulumi.Output<string
|
|
90
|
+
readonly targetName: pulumi.Output<string>;
|
|
81
91
|
/**
|
|
82
92
|
* Token for Databricks user
|
|
83
93
|
*/
|
|
@@ -95,10 +105,6 @@ export declare class DatabricksCredential extends pulumi.CustomResource {
|
|
|
95
105
|
* Input properties used for looking up and filtering DatabricksCredential resources.
|
|
96
106
|
*/
|
|
97
107
|
export interface DatabricksCredentialState {
|
|
98
|
-
/**
|
|
99
|
-
* Databricks adapter ID for the credential (do not fill in when using global connections, only to be used for connections created with the legacy connection resource `dbtcloud.Connection`)
|
|
100
|
-
*/
|
|
101
|
-
adapterId?: pulumi.Input<number>;
|
|
102
108
|
/**
|
|
103
109
|
* The type of the adapter (databricks or spark)
|
|
104
110
|
*/
|
|
@@ -134,10 +140,6 @@ export interface DatabricksCredentialState {
|
|
|
134
140
|
* The set of arguments for constructing a DatabricksCredential resource.
|
|
135
141
|
*/
|
|
136
142
|
export interface DatabricksCredentialArgs {
|
|
137
|
-
/**
|
|
138
|
-
* Databricks adapter ID for the credential (do not fill in when using global connections, only to be used for connections created with the legacy connection resource `dbtcloud.Connection`)
|
|
139
|
-
*/
|
|
140
|
-
adapterId?: pulumi.Input<number>;
|
|
141
143
|
/**
|
|
142
144
|
* The type of the adapter (databricks or spark)
|
|
143
145
|
*/
|
package/databricksCredential.js
CHANGED
|
@@ -6,8 +6,22 @@ exports.DatabricksCredential = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Databricks credential resource
|
|
10
|
+
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
16
|
+
*
|
|
17
|
+
* const myDatabricksCred = new dbtcloud.DatabricksCredential("my_databricks_cred", {
|
|
18
|
+
* projectId: dbtProject.id,
|
|
19
|
+
* token: "abcdefgh",
|
|
20
|
+
* schema: "my_schema",
|
|
21
|
+
* adapterType: "databricks",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
11
25
|
* ## Import
|
|
12
26
|
*
|
|
13
27
|
* using import blocks (requires Terraform >= 1.5)
|
|
@@ -66,7 +80,6 @@ class DatabricksCredential extends pulumi.CustomResource {
|
|
|
66
80
|
opts = opts || {};
|
|
67
81
|
if (opts.id) {
|
|
68
82
|
const state = argsOrState;
|
|
69
|
-
resourceInputs["adapterId"] = state ? state.adapterId : undefined;
|
|
70
83
|
resourceInputs["adapterType"] = state ? state.adapterType : undefined;
|
|
71
84
|
resourceInputs["catalog"] = state ? state.catalog : undefined;
|
|
72
85
|
resourceInputs["credentialId"] = state ? state.credentialId : undefined;
|
|
@@ -89,7 +102,6 @@ class DatabricksCredential extends pulumi.CustomResource {
|
|
|
89
102
|
if ((!args || args.token === undefined) && !opts.urn) {
|
|
90
103
|
throw new Error("Missing required property 'token'");
|
|
91
104
|
}
|
|
92
|
-
resourceInputs["adapterId"] = args ? args.adapterId : undefined;
|
|
93
105
|
resourceInputs["adapterType"] = args ? args.adapterType : undefined;
|
|
94
106
|
resourceInputs["catalog"] = args ? args.catalog : undefined;
|
|
95
107
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"databricksCredential.js","sourceRoot":"","sources":["../databricksCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"databricksCredential.js","sourceRoot":"","sources":["../databricksCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAyCD,YAAY,IAAY,EAA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