@pulumi/snowflake 2.20.0-alpha.1786984938 → 2.20.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.
Files changed (51) hide show
  1. package/accountAuthenticationPolicyAttachment.d.ts +55 -6
  2. package/accountAuthenticationPolicyAttachment.d.ts.map +1 -1
  3. package/accountAuthenticationPolicyAttachment.js +32 -3
  4. package/accountAuthenticationPolicyAttachment.js.map +1 -1
  5. package/accountSessionPolicyAttachment.d.ts +55 -6
  6. package/accountSessionPolicyAttachment.d.ts.map +1 -1
  7. package/accountSessionPolicyAttachment.js +32 -3
  8. package/accountSessionPolicyAttachment.js.map +1 -1
  9. package/apiIntegration.d.ts +1 -1
  10. package/apiIntegration.js +1 -1
  11. package/computePool.d.ts +18 -0
  12. package/computePool.d.ts.map +1 -1
  13. package/computePool.js +8 -0
  14. package/computePool.js.map +1 -1
  15. package/config/vars.d.ts +8 -4
  16. package/config/vars.d.ts.map +1 -1
  17. package/config/vars.js +6 -0
  18. package/config/vars.js.map +1 -1
  19. package/externalAccessIntegration.d.ts +205 -0
  20. package/externalAccessIntegration.d.ts.map +1 -0
  21. package/externalAccessIntegration.js +164 -0
  22. package/externalAccessIntegration.js.map +1 -0
  23. package/fileFormat.d.ts +1 -1
  24. package/fileFormat.js +1 -1
  25. package/getExternalAccessIntegrations.d.ts +62 -0
  26. package/getExternalAccessIntegrations.d.ts.map +1 -0
  27. package/getExternalAccessIntegrations.js +59 -0
  28. package/getExternalAccessIntegrations.js.map +1 -0
  29. package/hybridTable.d.ts +318 -0
  30. package/hybridTable.d.ts.map +1 -0
  31. package/hybridTable.js +227 -0
  32. package/hybridTable.js.map +1 -0
  33. package/index.d.ts +9 -0
  34. package/index.d.ts.map +1 -1
  35. package/index.js +19 -6
  36. package/index.js.map +1 -1
  37. package/package.json +2 -2
  38. package/provider.d.ts +14 -6
  39. package/provider.d.ts.map +1 -1
  40. package/provider.js +1 -0
  41. package/provider.js.map +1 -1
  42. package/stage.d.ts +1 -1
  43. package/stage.js +1 -1
  44. package/storageIntegration.d.ts +1 -1
  45. package/storageIntegration.js +1 -1
  46. package/types/input.d.ts +170 -0
  47. package/types/input.d.ts.map +1 -1
  48. package/types/output.d.ts +198 -0
  49. package/types/output.d.ts.map +1 -1
  50. package/userAuthenticationPolicyAttachment.d.ts +6 -6
  51. package/userSessionPolicyAttachment.d.ts +6 -6
@@ -0,0 +1,62 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
5
+ *
6
+ * Data source used to get details of filtered external access integrations. Filtering is aligned with the current possibilities for [SHOW EXTERNAL ACCESS INTEGRATIONS](https://docs.snowflake.com/en/sql-reference/sql/show-integrations) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `externalAccessIntegrations`.
7
+ */
8
+ export declare function getExternalAccessIntegrations(args?: GetExternalAccessIntegrationsArgs, opts?: pulumi.InvokeOptions): Promise<GetExternalAccessIntegrationsResult>;
9
+ /**
10
+ * A collection of arguments for invoking getExternalAccessIntegrations.
11
+ */
12
+ export interface GetExternalAccessIntegrationsArgs {
13
+ /**
14
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
15
+ */
16
+ like?: string;
17
+ /**
18
+ * (Default: `true`) Runs DESC EXTERNAL ACCESS INTEGRATION for each integration returned by SHOW EXTERNAL ACCESS INTEGRATIONS. The output of describe is saved to the describeOutput field. By default this value is set to true.
19
+ */
20
+ withDescribe?: boolean;
21
+ }
22
+ /**
23
+ * A collection of values returned by getExternalAccessIntegrations.
24
+ */
25
+ export interface GetExternalAccessIntegrationsResult {
26
+ /**
27
+ * Holds the aggregated output of all external access integration details queries.
28
+ */
29
+ readonly externalAccessIntegrations: outputs.GetExternalAccessIntegrationsExternalAccessIntegration[];
30
+ /**
31
+ * The provider-assigned unique ID for this managed resource.
32
+ */
33
+ readonly id: string;
34
+ /**
35
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
36
+ */
37
+ readonly like?: string;
38
+ /**
39
+ * (Default: `true`) Runs DESC EXTERNAL ACCESS INTEGRATION for each integration returned by SHOW EXTERNAL ACCESS INTEGRATIONS. The output of describe is saved to the describeOutput field. By default this value is set to true.
40
+ */
41
+ readonly withDescribe?: boolean;
42
+ }
43
+ /**
44
+ * > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
45
+ *
46
+ * Data source used to get details of filtered external access integrations. Filtering is aligned with the current possibilities for [SHOW EXTERNAL ACCESS INTEGRATIONS](https://docs.snowflake.com/en/sql-reference/sql/show-integrations) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `externalAccessIntegrations`.
47
+ */
48
+ export declare function getExternalAccessIntegrationsOutput(args?: GetExternalAccessIntegrationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetExternalAccessIntegrationsResult>;
49
+ /**
50
+ * A collection of arguments for invoking getExternalAccessIntegrations.
51
+ */
52
+ export interface GetExternalAccessIntegrationsOutputArgs {
53
+ /**
54
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
55
+ */
56
+ like?: pulumi.Input<string | undefined>;
57
+ /**
58
+ * (Default: `true`) Runs DESC EXTERNAL ACCESS INTEGRATION for each integration returned by SHOW EXTERNAL ACCESS INTEGRATIONS. The output of describe is saved to the describeOutput field. By default this value is set to true.
59
+ */
60
+ withDescribe?: pulumi.Input<boolean | undefined>;
61
+ }
62
+ //# sourceMappingURL=getExternalAccessIntegrations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getExternalAccessIntegrations.d.ts","sourceRoot":"","sources":["../getExternalAccessIntegrations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,CAAC,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mCAAmC,CAAC,CAOjK;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,QAAQ,CAAC,0BAA0B,EAAE,OAAO,CAAC,sDAAsD,EAAE,CAAC;IACtG;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;CACnC;AACD;;;;GAIG;AACH,wBAAgB,mCAAmC,CAAC,IAAI,CAAC,EAAE,uCAAuC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mCAAmC,CAAC,CAOzL;AAED;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACpD"}
@@ -0,0 +1,59 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getExternalAccessIntegrationsOutput = exports.getExternalAccessIntegrations = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
33
+ *
34
+ * Data source used to get details of filtered external access integrations. Filtering is aligned with the current possibilities for [SHOW EXTERNAL ACCESS INTEGRATIONS](https://docs.snowflake.com/en/sql-reference/sql/show-integrations) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `externalAccessIntegrations`.
35
+ */
36
+ function getExternalAccessIntegrations(args, opts) {
37
+ args = args || {};
38
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
39
+ return pulumi.runtime.invoke("snowflake:index/getExternalAccessIntegrations:getExternalAccessIntegrations", {
40
+ "like": args.like,
41
+ "withDescribe": args.withDescribe,
42
+ }, opts);
43
+ }
44
+ exports.getExternalAccessIntegrations = getExternalAccessIntegrations;
45
+ /**
46
+ * > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
47
+ *
48
+ * Data source used to get details of filtered external access integrations. Filtering is aligned with the current possibilities for [SHOW EXTERNAL ACCESS INTEGRATIONS](https://docs.snowflake.com/en/sql-reference/sql/show-integrations) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `externalAccessIntegrations`.
49
+ */
50
+ function getExternalAccessIntegrationsOutput(args, opts) {
51
+ args = args || {};
52
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
53
+ return pulumi.runtime.invokeOutput("snowflake:index/getExternalAccessIntegrations:getExternalAccessIntegrations", {
54
+ "like": args.like,
55
+ "withDescribe": args.withDescribe,
56
+ }, opts);
57
+ }
58
+ exports.getExternalAccessIntegrationsOutput = getExternalAccessIntegrationsOutput;
59
+ //# sourceMappingURL=getExternalAccessIntegrations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getExternalAccessIntegrations.js","sourceRoot":"","sources":["../getExternalAccessIntegrations.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;GAIG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAA2B;IAC/G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6EAA6E,EAAE;QACxG,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sEAOC;AAqCD;;;;GAIG;AACH,SAAgB,mCAAmC,CAAC,IAA8C,EAAE,IAAiC;IACjI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6EAA6E,EAAE;QAC9G,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kFAOC"}
@@ -0,0 +1,318 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
6
+ *
7
+ * > **Note** `primaryKeyConstraint`, `uniqueConstraint`, and `foreignKeyConstraint` can only be set at creation time; changing or removing them recreates the whole table.
8
+ *
9
+ * Resource used to manage hybrid tables. For more information, check [hybrid tables documentation](https://docs.snowflake.com/en/sql-reference/sql/create-hybrid-table).
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
14
+ * <!-- TODO(SNOW-1634854): include an example showing both methods-->
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as snowflake from "@pulumi/snowflake";
19
+ *
20
+ * // basic resource
21
+ * const basic = new snowflake.HybridTable("basic", {
22
+ * database: "DATABASE",
23
+ * schema: "SCHEMA",
24
+ * name: "HYBRID_TABLE",
25
+ * columns: [{
26
+ * name: "ID",
27
+ * type: "NUMBER(38,0)",
28
+ * notNull: true,
29
+ * }],
30
+ * primaryKeyConstraint: {
31
+ * columns: ["ID"],
32
+ * },
33
+ * });
34
+ * // complete resource
35
+ * const complete = new snowflake.HybridTable("complete", {
36
+ * database: "DATABASE",
37
+ * schema: "SCHEMA",
38
+ * name: "HYBRID_TABLE",
39
+ * comment: "A hybrid table for HTAP workloads",
40
+ * dataRetentionTimeInDays: 7,
41
+ * maxDataExtensionTimeInDays: 14,
42
+ * columns: [
43
+ * {
44
+ * name: "ID",
45
+ * type: "NUMBER(38,0)",
46
+ * notNull: true,
47
+ * },
48
+ * {
49
+ * name: "NAME",
50
+ * type: "VARCHAR(256)",
51
+ * notNull: false,
52
+ * collate: "en-ci",
53
+ * comment: "Name column",
54
+ * },
55
+ * {
56
+ * name: "CREATED_AT",
57
+ * type: "TIMESTAMP_NTZ",
58
+ * notNull: true,
59
+ * "default": {
60
+ * expression: "CURRENT_TIMESTAMP()",
61
+ * },
62
+ * },
63
+ * {
64
+ * name: "STATUS",
65
+ * type: "VARCHAR(256)",
66
+ * "default": {
67
+ * constant: "ACTIVE",
68
+ * },
69
+ * },
70
+ * {
71
+ * name: "SEQ_ID",
72
+ * type: "NUMBER(38,0)",
73
+ * "default": {
74
+ * sequence: "DATABASE.SCHEMA.MY_SEQUENCE",
75
+ * },
76
+ * },
77
+ * {
78
+ * name: "PARENT_ID",
79
+ * type: "NUMBER(38,0)",
80
+ * notNull: true,
81
+ * },
82
+ * ],
83
+ * primaryKeyConstraint: {
84
+ * name: "pk_hybrid_table",
85
+ * columns: ["ID"],
86
+ * },
87
+ * uniqueConstraints: [{
88
+ * name: "uq_name",
89
+ * columns: ["NAME"],
90
+ * }],
91
+ * foreignKeyConstraints: [{
92
+ * name: "fk_parent",
93
+ * columns: ["PARENT_ID"],
94
+ * tableName: "DATABASE.SCHEMA.PARENT_HYBRID_TABLE",
95
+ * refColumns: ["ID"],
96
+ * }],
97
+ * indices: [
98
+ * {
99
+ * name: "idx_name",
100
+ * columns: ["NAME"],
101
+ * },
102
+ * {
103
+ * name: "idx_name_created_at",
104
+ * columns: ["NAME"],
105
+ * includeColumns: ["CREATED_AT"],
106
+ * },
107
+ * ],
108
+ * });
109
+ * ```
110
+ *
111
+ * > **Note** If a field has a default value, it is shown next to the type in the schema.
112
+ *
113
+ * ## Import
114
+ *
115
+ * ```sh
116
+ * $ pulumi import snowflake:index/hybridTable:HybridTable example '"<db_name>"."<schema_name>"."<hybrid_table_name>"'
117
+ * ```
118
+ */
119
+ export declare class HybridTable extends pulumi.CustomResource {
120
+ /**
121
+ * Get an existing HybridTable resource's state with the given name, ID, and optional extra
122
+ * properties used to qualify the lookup.
123
+ *
124
+ * @param name The _unique_ name of the resulting resource.
125
+ * @param id The _unique_ provider ID of the resource to lookup.
126
+ * @param state Any extra arguments used during the lookup.
127
+ * @param opts Optional settings to control the behavior of the CustomResource.
128
+ */
129
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HybridTableState, opts?: pulumi.CustomResourceOptions): HybridTable;
130
+ /**
131
+ * Returns true if the given object is an instance of HybridTable. This is designed to work even
132
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
133
+ */
134
+ static isInstance(obj: any): obj is HybridTable;
135
+ /**
136
+ * Definitions of a column to create in the hybrid table. Minimum one required.
137
+ */
138
+ readonly columns: pulumi.Output<outputs.HybridTableColumn[]>;
139
+ /**
140
+ * Specifies a comment for the hybrid table.
141
+ */
142
+ readonly comment: pulumi.Output<string | undefined>;
143
+ /**
144
+ * Specifies the retention period for the hybrid table so that Time Travel actions can be performed on historical data. For more information, check [DATA*RETENTION*TIME*IN*DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#data-retention-time-in-days).
145
+ */
146
+ readonly dataRetentionTimeInDays: pulumi.Output<number>;
147
+ /**
148
+ * The database in which to create the hybrid table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
149
+ */
150
+ readonly database: pulumi.Output<string>;
151
+ /**
152
+ * Outputs the result of `DESCRIBE TABLE` for the given hybrid table.
153
+ */
154
+ readonly describeOutputs: pulumi.Output<outputs.HybridTableDescribeOutput[]>;
155
+ /**
156
+ * Defines FOREIGN KEY constraints.
157
+ */
158
+ readonly foreignKeyConstraints: pulumi.Output<outputs.HybridTableForeignKeyConstraint[] | undefined>;
159
+ /**
160
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
161
+ */
162
+ readonly fullyQualifiedName: pulumi.Output<string>;
163
+ /**
164
+ * Defines secondary indexes on the hybrid table.
165
+ */
166
+ readonly indices: pulumi.Output<outputs.HybridTableIndex[] | undefined>;
167
+ /**
168
+ * Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for the hybrid table to prevent streams on it from becoming stale. For more information, check [MAX*DATA*EXTENSION*TIME*IN_DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#max-data-extension-time-in-days).
169
+ */
170
+ readonly maxDataExtensionTimeInDays: pulumi.Output<number>;
171
+ /**
172
+ * Specifies the identifier for the hybrid table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
173
+ */
174
+ readonly name: pulumi.Output<string>;
175
+ /**
176
+ * Defines the primary key constraint for the hybrid table.
177
+ */
178
+ readonly primaryKeyConstraint: pulumi.Output<outputs.HybridTablePrimaryKeyConstraint>;
179
+ /**
180
+ * The schema in which to create the hybrid table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
181
+ */
182
+ readonly schema: pulumi.Output<string>;
183
+ /**
184
+ * Outputs the result of `SHOW PRIMARY KEYS`, `SHOW UNIQUE KEYS`, and `SHOW IMPORTED KEYS` for the given hybrid table, merged and grouped by constraint name and ordered by kind, then by column names. The `referencedTable`, `referencedColumns`, `deleteRule`, and `updateRule` fields are populated for FOREIGN KEY constraints only.
185
+ */
186
+ readonly showKeysOutputs: pulumi.Output<outputs.HybridTableShowKeysOutput[]>;
187
+ /**
188
+ * Outputs the result of `SHOW HYBRID TABLES` for the given hybrid table.
189
+ */
190
+ readonly showOutputs: pulumi.Output<outputs.HybridTableShowOutput[]>;
191
+ /**
192
+ * Defines UNIQUE constraints.
193
+ */
194
+ readonly uniqueConstraints: pulumi.Output<outputs.HybridTableUniqueConstraint[] | undefined>;
195
+ /**
196
+ * Create a HybridTable resource with the given unique name, arguments, and options.
197
+ *
198
+ * @param name The _unique_ name of the resource.
199
+ * @param args The arguments to use to populate this resource's properties.
200
+ * @param opts A bag of options that control this resource's behavior.
201
+ */
202
+ constructor(name: string, args: HybridTableArgs, opts?: pulumi.CustomResourceOptions);
203
+ }
204
+ /**
205
+ * Input properties used for looking up and filtering HybridTable resources.
206
+ */
207
+ export interface HybridTableState {
208
+ /**
209
+ * Definitions of a column to create in the hybrid table. Minimum one required.
210
+ */
211
+ columns?: pulumi.Input<pulumi.Input<inputs.HybridTableColumn>[] | undefined>;
212
+ /**
213
+ * Specifies a comment for the hybrid table.
214
+ */
215
+ comment?: pulumi.Input<string | undefined>;
216
+ /**
217
+ * Specifies the retention period for the hybrid table so that Time Travel actions can be performed on historical data. For more information, check [DATA*RETENTION*TIME*IN*DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#data-retention-time-in-days).
218
+ */
219
+ dataRetentionTimeInDays?: pulumi.Input<number | undefined>;
220
+ /**
221
+ * The database in which to create the hybrid table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
222
+ */
223
+ database?: pulumi.Input<string | undefined>;
224
+ /**
225
+ * Outputs the result of `DESCRIBE TABLE` for the given hybrid table.
226
+ */
227
+ describeOutputs?: pulumi.Input<pulumi.Input<inputs.HybridTableDescribeOutput>[] | undefined>;
228
+ /**
229
+ * Defines FOREIGN KEY constraints.
230
+ */
231
+ foreignKeyConstraints?: pulumi.Input<pulumi.Input<inputs.HybridTableForeignKeyConstraint>[] | undefined>;
232
+ /**
233
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
234
+ */
235
+ fullyQualifiedName?: pulumi.Input<string | undefined>;
236
+ /**
237
+ * Defines secondary indexes on the hybrid table.
238
+ */
239
+ indices?: pulumi.Input<pulumi.Input<inputs.HybridTableIndex>[] | undefined>;
240
+ /**
241
+ * Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for the hybrid table to prevent streams on it from becoming stale. For more information, check [MAX*DATA*EXTENSION*TIME*IN_DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#max-data-extension-time-in-days).
242
+ */
243
+ maxDataExtensionTimeInDays?: pulumi.Input<number | undefined>;
244
+ /**
245
+ * Specifies the identifier for the hybrid table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
246
+ */
247
+ name?: pulumi.Input<string | undefined>;
248
+ /**
249
+ * Defines the primary key constraint for the hybrid table.
250
+ */
251
+ primaryKeyConstraint?: pulumi.Input<inputs.HybridTablePrimaryKeyConstraint | undefined>;
252
+ /**
253
+ * The schema in which to create the hybrid table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
254
+ */
255
+ schema?: pulumi.Input<string | undefined>;
256
+ /**
257
+ * Outputs the result of `SHOW PRIMARY KEYS`, `SHOW UNIQUE KEYS`, and `SHOW IMPORTED KEYS` for the given hybrid table, merged and grouped by constraint name and ordered by kind, then by column names. The `referencedTable`, `referencedColumns`, `deleteRule`, and `updateRule` fields are populated for FOREIGN KEY constraints only.
258
+ */
259
+ showKeysOutputs?: pulumi.Input<pulumi.Input<inputs.HybridTableShowKeysOutput>[] | undefined>;
260
+ /**
261
+ * Outputs the result of `SHOW HYBRID TABLES` for the given hybrid table.
262
+ */
263
+ showOutputs?: pulumi.Input<pulumi.Input<inputs.HybridTableShowOutput>[] | undefined>;
264
+ /**
265
+ * Defines UNIQUE constraints.
266
+ */
267
+ uniqueConstraints?: pulumi.Input<pulumi.Input<inputs.HybridTableUniqueConstraint>[] | undefined>;
268
+ }
269
+ /**
270
+ * The set of arguments for constructing a HybridTable resource.
271
+ */
272
+ export interface HybridTableArgs {
273
+ /**
274
+ * Definitions of a column to create in the hybrid table. Minimum one required.
275
+ */
276
+ columns: pulumi.Input<pulumi.Input<inputs.HybridTableColumn>[]>;
277
+ /**
278
+ * Specifies a comment for the hybrid table.
279
+ */
280
+ comment?: pulumi.Input<string | undefined>;
281
+ /**
282
+ * Specifies the retention period for the hybrid table so that Time Travel actions can be performed on historical data. For more information, check [DATA*RETENTION*TIME*IN*DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#data-retention-time-in-days).
283
+ */
284
+ dataRetentionTimeInDays?: pulumi.Input<number | undefined>;
285
+ /**
286
+ * The database in which to create the hybrid table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
287
+ */
288
+ database: pulumi.Input<string>;
289
+ /**
290
+ * Defines FOREIGN KEY constraints.
291
+ */
292
+ foreignKeyConstraints?: pulumi.Input<pulumi.Input<inputs.HybridTableForeignKeyConstraint>[] | undefined>;
293
+ /**
294
+ * Defines secondary indexes on the hybrid table.
295
+ */
296
+ indices?: pulumi.Input<pulumi.Input<inputs.HybridTableIndex>[] | undefined>;
297
+ /**
298
+ * Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for the hybrid table to prevent streams on it from becoming stale. For more information, check [MAX*DATA*EXTENSION*TIME*IN_DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#max-data-extension-time-in-days).
299
+ */
300
+ maxDataExtensionTimeInDays?: pulumi.Input<number | undefined>;
301
+ /**
302
+ * Specifies the identifier for the hybrid table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
303
+ */
304
+ name?: pulumi.Input<string | undefined>;
305
+ /**
306
+ * Defines the primary key constraint for the hybrid table.
307
+ */
308
+ primaryKeyConstraint: pulumi.Input<inputs.HybridTablePrimaryKeyConstraint>;
309
+ /**
310
+ * The schema in which to create the hybrid table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
311
+ */
312
+ schema: pulumi.Input<string>;
313
+ /**
314
+ * Defines UNIQUE constraints.
315
+ */
316
+ uniqueConstraints?: pulumi.Input<pulumi.Input<inputs.HybridTableUniqueConstraint>[] | undefined>;
317
+ }
318
+ //# sourceMappingURL=hybridTable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hybridTable.d.ts","sourceRoot":"","sources":["../hybridTable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkHG;AACH,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,WAAW;IAOxI;;;OAGG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