@pulumi/dbtcloud 0.2.0-alpha.1748929446 → 1.0.0-alpha.1749642638

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.
Files changed (148) hide show
  1. package/accountFeatures.d.ts +24 -0
  2. package/accountFeatures.js +4 -0
  3. package/accountFeatures.js.map +1 -1
  4. package/bigQueryCredential.d.ts +5 -3
  5. package/bigQueryCredential.js +2 -0
  6. package/bigQueryCredential.js.map +1 -1
  7. package/bigquerySemanticLayerCredential.d.ts +161 -0
  8. package/bigquerySemanticLayerCredential.js +102 -0
  9. package/bigquerySemanticLayerCredential.js.map +1 -0
  10. package/databricksCredential.d.ts +16 -14
  11. package/databricksCredential.js +14 -2
  12. package/databricksCredential.js.map +1 -1
  13. package/environment.d.ts +37 -45
  14. package/environment.js +1 -6
  15. package/environment.js.map +1 -1
  16. package/environmentVariable.d.ts +3 -3
  17. package/environmentVariableJobOverride.d.ts +15 -5
  18. package/environmentVariableJobOverride.js +4 -0
  19. package/environmentVariableJobOverride.js.map +1 -1
  20. package/extendedAttributes.d.ts +7 -13
  21. package/extendedAttributes.js +1 -1
  22. package/extendedAttributes.js.map +1 -1
  23. package/fabricCredential.d.ts +16 -16
  24. package/fabricCredential.js +6 -6
  25. package/fabricCredential.js.map +1 -1
  26. package/getBigQueryCredential.d.ts +7 -1
  27. package/getBigQueryCredential.js +6 -0
  28. package/getBigQueryCredential.js.map +1 -1
  29. package/getDatabricksCredential.d.ts +10 -4
  30. package/getDatabricksCredential.js +6 -0
  31. package/getDatabricksCredential.js.map +1 -1
  32. package/getEnvironment.d.ts +4 -7
  33. package/getEnvironment.js.map +1 -1
  34. package/getEnvironmentVariable.d.ts +38 -8
  35. package/getEnvironmentVariable.js +30 -0
  36. package/getEnvironmentVariable.js.map +1 -1
  37. package/getExtendedAttributes.d.ts +12 -8
  38. package/getExtendedAttributes.js +4 -0
  39. package/getExtendedAttributes.js.map +1 -1
  40. package/getGlobalConnection.d.ts +4 -0
  41. package/getGlobalConnection.js.map +1 -1
  42. package/getGroupUsers.d.ts +3 -3
  43. package/getGroupUsers.js +2 -2
  44. package/getJob.d.ts +59 -26
  45. package/getJob.js +8 -2
  46. package/getJob.js.map +1 -1
  47. package/getPostgresCredential.d.ts +7 -1
  48. package/getPostgresCredential.js +6 -0
  49. package/getPostgresCredential.js.map +1 -1
  50. package/getPrivatelinkEndpoint.d.ts +16 -10
  51. package/getPrivatelinkEndpoint.js +6 -0
  52. package/getPrivatelinkEndpoint.js.map +1 -1
  53. package/getProject.d.ts +81 -44
  54. package/getProject.js +50 -22
  55. package/getProject.js.map +1 -1
  56. package/getRedshiftCredential.d.ts +72 -0
  57. package/getRedshiftCredential.js +32 -0
  58. package/getRedshiftCredential.js.map +1 -0
  59. package/getRepository.d.ts +25 -3
  60. package/getRepository.js +6 -0
  61. package/getRepository.js.map +1 -1
  62. package/getRuns.d.ts +46 -0
  63. package/getRuns.js +30 -0
  64. package/getRuns.js.map +1 -0
  65. package/getSnowflakeCredential.d.ts +8 -2
  66. package/getSnowflakeCredential.js +6 -0
  67. package/getSnowflakeCredential.js.map +1 -1
  68. package/getSynapseCredential.d.ts +80 -0
  69. package/getSynapseCredential.js +30 -0
  70. package/getSynapseCredential.js.map +1 -0
  71. package/getTeradataCredential.d.ts +68 -0
  72. package/getTeradataCredential.js +30 -0
  73. package/getTeradataCredential.js.map +1 -0
  74. package/getUserGroups.d.ts +9 -5
  75. package/getUserGroups.js +4 -0
  76. package/getUserGroups.js.map +1 -1
  77. package/getWebhook.d.ts +16 -4
  78. package/getWebhook.js +6 -0
  79. package/getWebhook.js.map +1 -1
  80. package/globalConnection.d.ts +12 -2
  81. package/globalConnection.js +2 -2
  82. package/globalConnection.js.map +1 -1
  83. package/index.d.ts +36 -18
  84. package/index.js +55 -28
  85. package/index.js.map +1 -1
  86. package/job.d.ts +41 -144
  87. package/job.js +4 -113
  88. package/job.js.map +1 -1
  89. package/package.json +2 -2
  90. package/partialEnvironmentVariable.d.ts +83 -0
  91. package/partialEnvironmentVariable.js +64 -0
  92. package/partialEnvironmentVariable.js.map +1 -0
  93. package/postgresCredential.d.ts +13 -11
  94. package/postgresCredential.js +2 -0
  95. package/postgresCredential.js.map +1 -1
  96. package/project.d.ts +20 -6
  97. package/project.js +5 -1
  98. package/project.js.map +1 -1
  99. package/projectRepository.d.ts +1 -1
  100. package/projectRepository.js +1 -1
  101. package/redshiftCredential.d.ts +165 -0
  102. package/redshiftCredential.js +121 -0
  103. package/redshiftCredential.js.map +1 -0
  104. package/redshiftSemanticLayerCredential.d.ts +65 -0
  105. package/redshiftSemanticLayerCredential.js +60 -0
  106. package/redshiftSemanticLayerCredential.js.map +1 -0
  107. package/repository.d.ts +6 -6
  108. package/semanticLayerConfiguration.d.ts +106 -0
  109. package/semanticLayerConfiguration.js +103 -0
  110. package/semanticLayerConfiguration.js.map +1 -0
  111. package/snowflakeCredential.d.ts +46 -32
  112. package/snowflakeCredential.js +4 -6
  113. package/snowflakeCredential.js.map +1 -1
  114. package/snowflakeSemanticLayerCredential.d.ts +95 -0
  115. package/snowflakeSemanticLayerCredential.js +90 -0
  116. package/snowflakeSemanticLayerCredential.js.map +1 -0
  117. package/synapseCredential.d.ts +233 -0
  118. package/synapseCredential.js +152 -0
  119. package/synapseCredential.js.map +1 -0
  120. package/teradataCredential.d.ts +107 -0
  121. package/teradataCredential.js +76 -0
  122. package/teradataCredential.js.map +1 -0
  123. package/types/input.d.ts +300 -0
  124. package/types/output.d.ts +409 -6
  125. package/userGroups.d.ts +4 -5
  126. package/userGroups.js +1 -2
  127. package/userGroups.js.map +1 -1
  128. package/webhook.d.ts +13 -7
  129. package/webhook.js +2 -0
  130. package/webhook.js.map +1 -1
  131. package/bigQueryConnection.d.ts +0 -420
  132. package/bigQueryConnection.js +0 -217
  133. package/bigQueryConnection.js.map +0 -1
  134. package/connection.d.ts +0 -342
  135. package/connection.js +0 -170
  136. package/connection.js.map +0 -1
  137. package/fabricConnection.d.ts +0 -199
  138. package/fabricConnection.js +0 -130
  139. package/fabricConnection.js.map +0 -1
  140. package/getBigQueryConnection.d.ts +0 -134
  141. package/getBigQueryConnection.js +0 -24
  142. package/getBigQueryConnection.js.map +0 -1
  143. package/getConnection.d.ts +0 -86
  144. package/getConnection.js +0 -24
  145. package/getConnection.js.map +0 -1
  146. package/projectConnection.d.ts +0 -105
  147. package/projectConnection.js +0 -102
  148. package/projectConnection.js.map +0 -1
@@ -0,0 +1,60 @@
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.RedshiftSemanticLayerCredential = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
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
+ class RedshiftSemanticLayerCredential extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing RedshiftSemanticLayerCredential 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 RedshiftSemanticLayerCredential(name, state, Object.assign(Object.assign({}, opts), { id: id }));
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of RedshiftSemanticLayerCredential. 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'] === RedshiftSemanticLayerCredential.__pulumiType;
33
+ }
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["configuration"] = state ? state.configuration : undefined;
40
+ resourceInputs["credential"] = state ? state.credential : undefined;
41
+ }
42
+ else {
43
+ const args = argsOrState;
44
+ if ((!args || args.configuration === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'configuration'");
46
+ }
47
+ if ((!args || args.credential === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'credential'");
49
+ }
50
+ resourceInputs["configuration"] = args ? args.configuration : undefined;
51
+ resourceInputs["credential"] = args ? args.credential : undefined;
52
+ }
53
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
54
+ super(RedshiftSemanticLayerCredential.__pulumiType, name, resourceInputs, opts);
55
+ }
56
+ }
57
+ exports.RedshiftSemanticLayerCredential = RedshiftSemanticLayerCredential;
58
+ /** @internal */
59
+ RedshiftSemanticLayerCredential.__pulumiType = 'dbtcloud:index/redshiftSemanticLayerCredential:RedshiftSemanticLayerCredential';
60
+ //# sourceMappingURL=redshiftSemanticLayerCredential.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redshiftSemanticLayerCredential.js","sourceRoot":"","sources":["../redshiftSemanticLayerCredential.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,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IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AAjEL,0EAkEC;AApDG,gBAAgB;AACO,4CAAY,GAAG,gFAAgF,CAAC"}
package/repository.d.ts CHANGED
@@ -62,15 +62,15 @@ export declare class Repository extends pulumi.CustomResource {
62
62
  /**
63
63
  * The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source `dbtcloud.getAzureDevOpsProject` and the project name - (for ADO native integration only)
64
64
  */
65
- readonly azureActiveDirectoryProjectId: pulumi.Output<string | undefined>;
65
+ readonly azureActiveDirectoryProjectId: pulumi.Output<string>;
66
66
  /**
67
67
  * The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source `dbtcloud.getAzureDevOpsRepository` along with the ADO Project ID and the repository name - (for ADO native integration only)
68
68
  */
69
- readonly azureActiveDirectoryRepositoryId: pulumi.Output<string | undefined>;
69
+ readonly azureActiveDirectoryRepositoryId: pulumi.Output<string>;
70
70
  /**
71
71
  * If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
72
72
  */
73
- readonly azureBypassWebhookRegistrationFailure: pulumi.Output<boolean | undefined>;
73
+ readonly azureBypassWebhookRegistrationFailure: pulumi.Output<boolean>;
74
74
  /**
75
75
  * Public key generated by dbt when using `deployKey` clone strategy
76
76
  */
@@ -80,11 +80,11 @@ export declare class Repository extends pulumi.CustomResource {
80
80
  *
81
81
  * @deprecated This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is `deployKey`
82
82
  */
83
- readonly fetchDeployKey: pulumi.Output<boolean | undefined>;
83
+ readonly fetchDeployKey: pulumi.Output<boolean>;
84
84
  /**
85
85
  * Git clone strategy for the repository. Can be `deployKey` (default) for cloning via SSH Deploy Key, `githubApp` for GitHub native integration, `deployToken` for the GitLab native integration and `azureActiveDirectoryApp` for ADO native integration
86
86
  */
87
- readonly gitCloneStrategy: pulumi.Output<string | undefined>;
87
+ readonly gitCloneStrategy: pulumi.Output<string>;
88
88
  /**
89
89
  * Identifier for the GitHub App - (for GitHub native integration only)
90
90
  */
@@ -96,7 +96,7 @@ export declare class Repository extends pulumi.CustomResource {
96
96
  /**
97
97
  * Whether the repository is active
98
98
  */
99
- readonly isActive: pulumi.Output<boolean | undefined>;
99
+ readonly isActive: pulumi.Output<boolean>;
100
100
  /**
101
101
  * Project ID to create the repository in
102
102
  */
@@ -0,0 +1,106 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The resource allows basic configuration of the Semantic Layer for a specific project. For the feature to be completely functional, a Semantic Layer Credential is also required.
4
+ * See the documentationh ttps://docs.getdbt.com/docs/use-dbt-semantic-layer/dbt-sl for more information on the Semantic Layer.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as dbtcloud from "@pulumi/dbtcloud";
11
+ *
12
+ * const example = new dbtcloud.SemanticLayerConfiguration("example", {
13
+ * projectId: projectId,
14
+ * environmentId: environmentId,
15
+ * });
16
+ * ```
17
+ *
18
+ * ## Import
19
+ *
20
+ * using import blocks (requires Terraform >= 1.5)
21
+ *
22
+ * import {
23
+ *
24
+ * to = dbtcloud_semantic_layer_configuration.example
25
+ *
26
+ * id = "project_id:id"
27
+ *
28
+ * }
29
+ *
30
+ * import {
31
+ *
32
+ * to = dbtcloud_semantic_layer_configuration.example
33
+ *
34
+ * id = "12345:5678"
35
+ *
36
+ * }
37
+ *
38
+ * using the older import command
39
+ *
40
+ * ```sh
41
+ * $ pulumi import dbtcloud:index/semanticLayerConfiguration:SemanticLayerConfiguration example "project_id:id"
42
+ * ```
43
+ *
44
+ * ```sh
45
+ * $ pulumi import dbtcloud:index/semanticLayerConfiguration:SemanticLayerConfiguration example 12345:5678
46
+ * ```
47
+ */
48
+ export declare class SemanticLayerConfiguration extends pulumi.CustomResource {
49
+ /**
50
+ * Get an existing SemanticLayerConfiguration resource's state with the given name, ID, and optional extra
51
+ * properties used to qualify the lookup.
52
+ *
53
+ * @param name The _unique_ name of the resulting resource.
54
+ * @param id The _unique_ provider ID of the resource to lookup.
55
+ * @param state Any extra arguments used during the lookup.
56
+ * @param opts Optional settings to control the behavior of the CustomResource.
57
+ */
58
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SemanticLayerConfigurationState, opts?: pulumi.CustomResourceOptions): SemanticLayerConfiguration;
59
+ /**
60
+ * Returns true if the given object is an instance of SemanticLayerConfiguration. This is designed to work even
61
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
62
+ */
63
+ static isInstance(obj: any): obj is SemanticLayerConfiguration;
64
+ /**
65
+ * The ID of the environment
66
+ */
67
+ readonly environmentId: pulumi.Output<number>;
68
+ /**
69
+ * The ID of the project
70
+ */
71
+ readonly projectId: pulumi.Output<number>;
72
+ /**
73
+ * Create a SemanticLayerConfiguration resource with the given unique name, arguments, and options.
74
+ *
75
+ * @param name The _unique_ name of the resource.
76
+ * @param args The arguments to use to populate this resource's properties.
77
+ * @param opts A bag of options that control this resource's behavior.
78
+ */
79
+ constructor(name: string, args: SemanticLayerConfigurationArgs, opts?: pulumi.CustomResourceOptions);
80
+ }
81
+ /**
82
+ * Input properties used for looking up and filtering SemanticLayerConfiguration resources.
83
+ */
84
+ export interface SemanticLayerConfigurationState {
85
+ /**
86
+ * The ID of the environment
87
+ */
88
+ environmentId?: pulumi.Input<number>;
89
+ /**
90
+ * The ID of the project
91
+ */
92
+ projectId?: pulumi.Input<number>;
93
+ }
94
+ /**
95
+ * The set of arguments for constructing a SemanticLayerConfiguration resource.
96
+ */
97
+ export interface SemanticLayerConfigurationArgs {
98
+ /**
99
+ * The ID of the environment
100
+ */
101
+ environmentId: pulumi.Input<number>;
102
+ /**
103
+ * The ID of the project
104
+ */
105
+ projectId: pulumi.Input<number>;
106
+ }
@@ -0,0 +1,103 @@
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.SemanticLayerConfiguration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The resource allows basic configuration of the Semantic Layer for a specific project. For the feature to be completely functional, a Semantic Layer Credential is also required.
10
+ * See the documentationh ttps://docs.getdbt.com/docs/use-dbt-semantic-layer/dbt-sl for more information on the Semantic Layer.
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as dbtcloud from "@pulumi/dbtcloud";
17
+ *
18
+ * const example = new dbtcloud.SemanticLayerConfiguration("example", {
19
+ * projectId: projectId,
20
+ * environmentId: environmentId,
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * using import blocks (requires Terraform >= 1.5)
27
+ *
28
+ * import {
29
+ *
30
+ * to = dbtcloud_semantic_layer_configuration.example
31
+ *
32
+ * id = "project_id:id"
33
+ *
34
+ * }
35
+ *
36
+ * import {
37
+ *
38
+ * to = dbtcloud_semantic_layer_configuration.example
39
+ *
40
+ * id = "12345:5678"
41
+ *
42
+ * }
43
+ *
44
+ * using the older import command
45
+ *
46
+ * ```sh
47
+ * $ pulumi import dbtcloud:index/semanticLayerConfiguration:SemanticLayerConfiguration example "project_id:id"
48
+ * ```
49
+ *
50
+ * ```sh
51
+ * $ pulumi import dbtcloud:index/semanticLayerConfiguration:SemanticLayerConfiguration example 12345:5678
52
+ * ```
53
+ */
54
+ class SemanticLayerConfiguration extends pulumi.CustomResource {
55
+ /**
56
+ * Get an existing SemanticLayerConfiguration resource's state with the given name, ID, and optional extra
57
+ * properties used to qualify the lookup.
58
+ *
59
+ * @param name The _unique_ name of the resulting resource.
60
+ * @param id The _unique_ provider ID of the resource to lookup.
61
+ * @param state Any extra arguments used during the lookup.
62
+ * @param opts Optional settings to control the behavior of the CustomResource.
63
+ */
64
+ static get(name, id, state, opts) {
65
+ return new SemanticLayerConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
66
+ }
67
+ /**
68
+ * Returns true if the given object is an instance of SemanticLayerConfiguration. This is designed to work even
69
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
70
+ */
71
+ static isInstance(obj) {
72
+ if (obj === undefined || obj === null) {
73
+ return false;
74
+ }
75
+ return obj['__pulumiType'] === SemanticLayerConfiguration.__pulumiType;
76
+ }
77
+ constructor(name, argsOrState, opts) {
78
+ let resourceInputs = {};
79
+ opts = opts || {};
80
+ if (opts.id) {
81
+ const state = argsOrState;
82
+ resourceInputs["environmentId"] = state ? state.environmentId : undefined;
83
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
84
+ }
85
+ else {
86
+ const args = argsOrState;
87
+ if ((!args || args.environmentId === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'environmentId'");
89
+ }
90
+ if ((!args || args.projectId === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'projectId'");
92
+ }
93
+ resourceInputs["environmentId"] = args ? args.environmentId : undefined;
94
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
95
+ }
96
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
97
+ super(SemanticLayerConfiguration.__pulumiType, name, resourceInputs, opts);
98
+ }
99
+ }
100
+ exports.SemanticLayerConfiguration = SemanticLayerConfiguration;
101
+ /** @internal */
102
+ SemanticLayerConfiguration.__pulumiType = 'dbtcloud:index/semanticLayerConfiguration:SemanticLayerConfiguration';
103
+ //# sourceMappingURL=semanticLayerConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"semanticLayerConfiguration.js","sourceRoot":"","sources":["../semanticLayerConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAjEL,gEAkEC;AApDG,gBAAgB;AACO,uCAAY,GAAG,sEAAsE,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * Snowflake credential resource. This resource is used both as a stand-alone credential, but also as part of the Semantic Layer credential definition for Snowflake.
4
+ *
3
5
  * ## Example Usage
4
6
  *
5
7
  * ```typescript
@@ -67,51 +69,55 @@ export declare class SnowflakeCredential extends pulumi.CustomResource {
67
69
  */
68
70
  readonly authType: pulumi.Output<string>;
69
71
  /**
70
- * The system Snowflake credential ID
72
+ * The internal credential ID
71
73
  */
72
74
  readonly credentialId: pulumi.Output<number>;
73
75
  /**
74
- * Database to connect to
76
+ * The catalog to connect use
75
77
  */
76
78
  readonly database: pulumi.Output<string | undefined>;
77
79
  /**
78
80
  * Whether the Snowflake credential is active
79
81
  */
80
- readonly isActive: pulumi.Output<boolean | undefined>;
82
+ readonly isActive: pulumi.Output<boolean>;
81
83
  /**
82
84
  * Number of threads to use
83
85
  */
84
86
  readonly numThreads: pulumi.Output<number>;
85
87
  /**
86
- * Password for Snowflake
88
+ * The password for the Snowflake account
87
89
  */
88
- readonly password: pulumi.Output<string | undefined>;
90
+ readonly password: pulumi.Output<string>;
89
91
  /**
90
- * Private key for Snowflake
92
+ * The private key for the Snowflake account
91
93
  */
92
- readonly privateKey: pulumi.Output<string | undefined>;
94
+ readonly privateKey: pulumi.Output<string>;
93
95
  /**
94
- * Private key passphrase for Snowflake
96
+ * The passphrase for the private key
95
97
  */
96
- readonly privateKeyPassphrase: pulumi.Output<string | undefined>;
98
+ readonly privateKeyPassphrase: pulumi.Output<string>;
97
99
  /**
98
100
  * Project ID to create the Snowflake credential in
99
101
  */
100
102
  readonly projectId: pulumi.Output<number>;
101
103
  /**
102
- * Role to assume
104
+ * The role to assume
103
105
  */
104
106
  readonly role: pulumi.Output<string | undefined>;
105
107
  /**
106
- * Default schema name
108
+ * The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
107
109
  */
108
110
  readonly schema: pulumi.Output<string>;
109
111
  /**
110
- * Username for Snowflake
112
+ * This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
113
+ */
114
+ readonly semanticLayerCredential: pulumi.Output<boolean>;
115
+ /**
116
+ * The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
111
117
  */
112
118
  readonly user: pulumi.Output<string>;
113
119
  /**
114
- * Warehouse to use
120
+ * The warehouse to use
115
121
  */
116
122
  readonly warehouse: pulumi.Output<string | undefined>;
117
123
  /**
@@ -132,11 +138,11 @@ export interface SnowflakeCredentialState {
132
138
  */
133
139
  authType?: pulumi.Input<string>;
134
140
  /**
135
- * The system Snowflake credential ID
141
+ * The internal credential ID
136
142
  */
137
143
  credentialId?: pulumi.Input<number>;
138
144
  /**
139
- * Database to connect to
145
+ * The catalog to connect use
140
146
  */
141
147
  database?: pulumi.Input<string>;
142
148
  /**
@@ -148,15 +154,15 @@ export interface SnowflakeCredentialState {
148
154
  */
149
155
  numThreads?: pulumi.Input<number>;
150
156
  /**
151
- * Password for Snowflake
157
+ * The password for the Snowflake account
152
158
  */
153
159
  password?: pulumi.Input<string>;
154
160
  /**
155
- * Private key for Snowflake
161
+ * The private key for the Snowflake account
156
162
  */
157
163
  privateKey?: pulumi.Input<string>;
158
164
  /**
159
- * Private key passphrase for Snowflake
165
+ * The passphrase for the private key
160
166
  */
161
167
  privateKeyPassphrase?: pulumi.Input<string>;
162
168
  /**
@@ -164,19 +170,23 @@ export interface SnowflakeCredentialState {
164
170
  */
165
171
  projectId?: pulumi.Input<number>;
166
172
  /**
167
- * Role to assume
173
+ * The role to assume
168
174
  */
169
175
  role?: pulumi.Input<string>;
170
176
  /**
171
- * Default schema name
177
+ * The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
172
178
  */
173
179
  schema?: pulumi.Input<string>;
174
180
  /**
175
- * Username for Snowflake
181
+ * This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
182
+ */
183
+ semanticLayerCredential?: pulumi.Input<boolean>;
184
+ /**
185
+ * The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
176
186
  */
177
187
  user?: pulumi.Input<string>;
178
188
  /**
179
- * Warehouse to use
189
+ * The warehouse to use
180
190
  */
181
191
  warehouse?: pulumi.Input<string>;
182
192
  }
@@ -189,7 +199,7 @@ export interface SnowflakeCredentialArgs {
189
199
  */
190
200
  authType: pulumi.Input<string>;
191
201
  /**
192
- * Database to connect to
202
+ * The catalog to connect use
193
203
  */
194
204
  database?: pulumi.Input<string>;
195
205
  /**
@@ -201,15 +211,15 @@ export interface SnowflakeCredentialArgs {
201
211
  */
202
212
  numThreads: pulumi.Input<number>;
203
213
  /**
204
- * Password for Snowflake
214
+ * The password for the Snowflake account
205
215
  */
206
216
  password?: pulumi.Input<string>;
207
217
  /**
208
- * Private key for Snowflake
218
+ * The private key for the Snowflake account
209
219
  */
210
220
  privateKey?: pulumi.Input<string>;
211
221
  /**
212
- * Private key passphrase for Snowflake
222
+ * The passphrase for the private key
213
223
  */
214
224
  privateKeyPassphrase?: pulumi.Input<string>;
215
225
  /**
@@ -217,19 +227,23 @@ export interface SnowflakeCredentialArgs {
217
227
  */
218
228
  projectId: pulumi.Input<number>;
219
229
  /**
220
- * Role to assume
230
+ * The role to assume
221
231
  */
222
232
  role?: pulumi.Input<string>;
223
233
  /**
224
- * Default schema name
234
+ * The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
225
235
  */
226
- schema: pulumi.Input<string>;
236
+ schema?: pulumi.Input<string>;
237
+ /**
238
+ * This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
239
+ */
240
+ semanticLayerCredential?: pulumi.Input<boolean>;
227
241
  /**
228
- * Username for Snowflake
242
+ * The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
229
243
  */
230
- user: pulumi.Input<string>;
244
+ user?: pulumi.Input<string>;
231
245
  /**
232
- * Warehouse to use
246
+ * The warehouse to use
233
247
  */
234
248
  warehouse?: pulumi.Input<string>;
235
249
  }
@@ -6,6 +6,8 @@ exports.SnowflakeCredential = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * Snowflake credential resource. This resource is used both as a stand-alone credential, but also as part of the Semantic Layer credential definition for Snowflake.
10
+ *
9
11
  * ## Example Usage
10
12
  *
11
13
  * ```typescript
@@ -91,6 +93,7 @@ class SnowflakeCredential extends pulumi.CustomResource {
91
93
  resourceInputs["projectId"] = state ? state.projectId : undefined;
92
94
  resourceInputs["role"] = state ? state.role : undefined;
93
95
  resourceInputs["schema"] = state ? state.schema : undefined;
96
+ resourceInputs["semanticLayerCredential"] = state ? state.semanticLayerCredential : undefined;
94
97
  resourceInputs["user"] = state ? state.user : undefined;
95
98
  resourceInputs["warehouse"] = state ? state.warehouse : undefined;
96
99
  }
@@ -105,12 +108,6 @@ class SnowflakeCredential extends pulumi.CustomResource {
105
108
  if ((!args || args.projectId === undefined) && !opts.urn) {
106
109
  throw new Error("Missing required property 'projectId'");
107
110
  }
108
- if ((!args || args.schema === undefined) && !opts.urn) {
109
- throw new Error("Missing required property 'schema'");
110
- }
111
- if ((!args || args.user === undefined) && !opts.urn) {
112
- throw new Error("Missing required property 'user'");
113
- }
114
111
  resourceInputs["authType"] = args ? args.authType : undefined;
115
112
  resourceInputs["database"] = args ? args.database : undefined;
116
113
  resourceInputs["isActive"] = args ? args.isActive : undefined;
@@ -121,6 +118,7 @@ class SnowflakeCredential extends pulumi.CustomResource {
121
118
  resourceInputs["projectId"] = args ? args.projectId : undefined;
122
119
  resourceInputs["role"] = args ? args.role : undefined;
123
120
  resourceInputs["schema"] = args ? args.schema : undefined;
121
+ resourceInputs["semanticLayerCredential"] = args ? args.semanticLayerCredential : undefined;
124
122
  resourceInputs["user"] = args ? args.user : undefined;
125
123
  resourceInputs["warehouse"] = args ? args.warehouse : undefined;
126
124
  resourceInputs["credentialId"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"snowflakeCredential.js","sourceRoot":"","sources":["../snowflakeCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,GAA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