pulumi-snowflake 0.56.0a1721327760__py3-none-any.whl → 0.57.0__py3-none-any.whl

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 (74) hide show
  1. pulumi_snowflake/__init__.py +78 -209
  2. pulumi_snowflake/_inputs.py +12188 -1362
  3. pulumi_snowflake/_utilities.py +2 -0
  4. pulumi_snowflake/account_role.py +226 -0
  5. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +692 -0
  6. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +645 -0
  7. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +680 -0
  8. pulumi_snowflake/cortex_search_service.py +563 -0
  9. pulumi_snowflake/database.py +854 -232
  10. pulumi_snowflake/database_old.py +556 -0
  11. pulumi_snowflake/external_oauth_integration.py +562 -534
  12. pulumi_snowflake/failover_group.py +2 -2
  13. pulumi_snowflake/get_cortex_search_services.py +197 -0
  14. pulumi_snowflake/get_databases.py +71 -62
  15. pulumi_snowflake/get_network_policies.py +122 -0
  16. pulumi_snowflake/get_roles.py +37 -31
  17. pulumi_snowflake/get_schemas.py +115 -38
  18. pulumi_snowflake/get_security_integrations.py +122 -0
  19. pulumi_snowflake/get_streamlits.py +159 -0
  20. pulumi_snowflake/get_warehouses.py +66 -18
  21. pulumi_snowflake/grant_privileges_to_database_role.py +0 -4
  22. pulumi_snowflake/managed_account.py +7 -7
  23. pulumi_snowflake/network_policy.py +103 -19
  24. pulumi_snowflake/oauth_integration.py +4 -0
  25. pulumi_snowflake/oauth_integration_for_custom_clients.py +940 -0
  26. pulumi_snowflake/oauth_integration_for_partner_applications.py +584 -0
  27. pulumi_snowflake/outputs.py +16178 -2927
  28. pulumi_snowflake/pulumi-plugin.json +1 -1
  29. pulumi_snowflake/role.py +44 -72
  30. pulumi_snowflake/saml2_integration.py +975 -0
  31. pulumi_snowflake/saml_integration.py +4 -0
  32. pulumi_snowflake/schema.py +905 -151
  33. pulumi_snowflake/scim_integration.py +257 -103
  34. pulumi_snowflake/secondary_database.py +1059 -0
  35. pulumi_snowflake/sequence.py +6 -6
  36. pulumi_snowflake/shared_database.py +914 -0
  37. pulumi_snowflake/streamlit.py +650 -0
  38. pulumi_snowflake/table.py +0 -120
  39. pulumi_snowflake/table_constraint.py +2 -2
  40. pulumi_snowflake/tag_association.py +38 -38
  41. pulumi_snowflake/unsafe_execute.py +8 -8
  42. pulumi_snowflake/user_password_policy_attachment.py +32 -0
  43. pulumi_snowflake/warehouse.py +143 -120
  44. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/METADATA +1 -1
  45. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/RECORD +47 -58
  46. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/WHEEL +1 -1
  47. pulumi_snowflake/account_grant.py +0 -319
  48. pulumi_snowflake/database_grant.py +0 -471
  49. pulumi_snowflake/external_table_grant.py +0 -666
  50. pulumi_snowflake/failover_group_grant.py +0 -368
  51. pulumi_snowflake/file_format_grant.py +0 -611
  52. pulumi_snowflake/function_grant.py +0 -721
  53. pulumi_snowflake/grant_privileges_to_role.py +0 -821
  54. pulumi_snowflake/integration_grant.py +0 -416
  55. pulumi_snowflake/masking_policy_grant.py +0 -518
  56. pulumi_snowflake/materialized_view_grant.py +0 -665
  57. pulumi_snowflake/pipe_grant.py +0 -563
  58. pulumi_snowflake/procedure_grant.py +0 -721
  59. pulumi_snowflake/resource_monitor_grant.py +0 -363
  60. pulumi_snowflake/role_grants.py +0 -340
  61. pulumi_snowflake/role_ownership_grant.py +0 -329
  62. pulumi_snowflake/row_access_policy_grant.py +0 -516
  63. pulumi_snowflake/schema_grant.py +0 -603
  64. pulumi_snowflake/sequence_grant.py +0 -611
  65. pulumi_snowflake/stage_grant.py +0 -611
  66. pulumi_snowflake/stream_grant.py +0 -611
  67. pulumi_snowflake/table_grant.py +0 -653
  68. pulumi_snowflake/tag_grant.py +0 -508
  69. pulumi_snowflake/task_grant.py +0 -611
  70. pulumi_snowflake/user_grant.py +0 -370
  71. pulumi_snowflake/user_ownership_grant.py +0 -275
  72. pulumi_snowflake/view_grant.py +0 -685
  73. pulumi_snowflake/warehouse_grant.py +0 -416
  74. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,563 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from . import _utilities
11
+
12
+ __all__ = ['CortexSearchServiceArgs', 'CortexSearchService']
13
+
14
+ @pulumi.input_type
15
+ class CortexSearchServiceArgs:
16
+ def __init__(__self__, *,
17
+ database: pulumi.Input[str],
18
+ on: pulumi.Input[str],
19
+ query: pulumi.Input[str],
20
+ schema: pulumi.Input[str],
21
+ target_lag: pulumi.Input[str],
22
+ warehouse: pulumi.Input[str],
23
+ attributes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
24
+ comment: Optional[pulumi.Input[str]] = None,
25
+ name: Optional[pulumi.Input[str]] = None):
26
+ """
27
+ The set of arguments for constructing a CortexSearchService resource.
28
+ :param pulumi.Input[str] database: The database in which to create the Cortex search service.
29
+ :param pulumi.Input[str] on: Specifies the column to use as the search column for the Cortex search service; must be a text value.
30
+ :param pulumi.Input[str] query: Specifies the query to use to populate the Cortex search service.
31
+ :param pulumi.Input[str] schema: The schema in which to create the Cortex search service.
32
+ :param pulumi.Input[str] target_lag: Specifies the maximum target lag time for the Cortex search service.
33
+ :param pulumi.Input[str] warehouse: The warehouse in which to create the Cortex search service.
34
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] attributes: Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
35
+ :param pulumi.Input[str] comment: Specifies a comment for the Cortex search service.
36
+ :param pulumi.Input[str] name: Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
37
+ """
38
+ pulumi.set(__self__, "database", database)
39
+ pulumi.set(__self__, "on", on)
40
+ pulumi.set(__self__, "query", query)
41
+ pulumi.set(__self__, "schema", schema)
42
+ pulumi.set(__self__, "target_lag", target_lag)
43
+ pulumi.set(__self__, "warehouse", warehouse)
44
+ if attributes is not None:
45
+ pulumi.set(__self__, "attributes", attributes)
46
+ if comment is not None:
47
+ pulumi.set(__self__, "comment", comment)
48
+ if name is not None:
49
+ pulumi.set(__self__, "name", name)
50
+
51
+ @property
52
+ @pulumi.getter
53
+ def database(self) -> pulumi.Input[str]:
54
+ """
55
+ The database in which to create the Cortex search service.
56
+ """
57
+ return pulumi.get(self, "database")
58
+
59
+ @database.setter
60
+ def database(self, value: pulumi.Input[str]):
61
+ pulumi.set(self, "database", value)
62
+
63
+ @property
64
+ @pulumi.getter
65
+ def on(self) -> pulumi.Input[str]:
66
+ """
67
+ Specifies the column to use as the search column for the Cortex search service; must be a text value.
68
+ """
69
+ return pulumi.get(self, "on")
70
+
71
+ @on.setter
72
+ def on(self, value: pulumi.Input[str]):
73
+ pulumi.set(self, "on", value)
74
+
75
+ @property
76
+ @pulumi.getter
77
+ def query(self) -> pulumi.Input[str]:
78
+ """
79
+ Specifies the query to use to populate the Cortex search service.
80
+ """
81
+ return pulumi.get(self, "query")
82
+
83
+ @query.setter
84
+ def query(self, value: pulumi.Input[str]):
85
+ pulumi.set(self, "query", value)
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def schema(self) -> pulumi.Input[str]:
90
+ """
91
+ The schema in which to create the Cortex search service.
92
+ """
93
+ return pulumi.get(self, "schema")
94
+
95
+ @schema.setter
96
+ def schema(self, value: pulumi.Input[str]):
97
+ pulumi.set(self, "schema", value)
98
+
99
+ @property
100
+ @pulumi.getter(name="targetLag")
101
+ def target_lag(self) -> pulumi.Input[str]:
102
+ """
103
+ Specifies the maximum target lag time for the Cortex search service.
104
+ """
105
+ return pulumi.get(self, "target_lag")
106
+
107
+ @target_lag.setter
108
+ def target_lag(self, value: pulumi.Input[str]):
109
+ pulumi.set(self, "target_lag", value)
110
+
111
+ @property
112
+ @pulumi.getter
113
+ def warehouse(self) -> pulumi.Input[str]:
114
+ """
115
+ The warehouse in which to create the Cortex search service.
116
+ """
117
+ return pulumi.get(self, "warehouse")
118
+
119
+ @warehouse.setter
120
+ def warehouse(self, value: pulumi.Input[str]):
121
+ pulumi.set(self, "warehouse", value)
122
+
123
+ @property
124
+ @pulumi.getter
125
+ def attributes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
126
+ """
127
+ Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
128
+ """
129
+ return pulumi.get(self, "attributes")
130
+
131
+ @attributes.setter
132
+ def attributes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
133
+ pulumi.set(self, "attributes", value)
134
+
135
+ @property
136
+ @pulumi.getter
137
+ def comment(self) -> Optional[pulumi.Input[str]]:
138
+ """
139
+ Specifies a comment for the Cortex search service.
140
+ """
141
+ return pulumi.get(self, "comment")
142
+
143
+ @comment.setter
144
+ def comment(self, value: Optional[pulumi.Input[str]]):
145
+ pulumi.set(self, "comment", value)
146
+
147
+ @property
148
+ @pulumi.getter
149
+ def name(self) -> Optional[pulumi.Input[str]]:
150
+ """
151
+ Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
152
+ """
153
+ return pulumi.get(self, "name")
154
+
155
+ @name.setter
156
+ def name(self, value: Optional[pulumi.Input[str]]):
157
+ pulumi.set(self, "name", value)
158
+
159
+
160
+ @pulumi.input_type
161
+ class _CortexSearchServiceState:
162
+ def __init__(__self__, *,
163
+ attributes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
164
+ comment: Optional[pulumi.Input[str]] = None,
165
+ created_on: Optional[pulumi.Input[str]] = None,
166
+ database: Optional[pulumi.Input[str]] = None,
167
+ name: Optional[pulumi.Input[str]] = None,
168
+ on: Optional[pulumi.Input[str]] = None,
169
+ query: Optional[pulumi.Input[str]] = None,
170
+ schema: Optional[pulumi.Input[str]] = None,
171
+ target_lag: Optional[pulumi.Input[str]] = None,
172
+ warehouse: Optional[pulumi.Input[str]] = None):
173
+ """
174
+ Input properties used for looking up and filtering CortexSearchService resources.
175
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] attributes: Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
176
+ :param pulumi.Input[str] comment: Specifies a comment for the Cortex search service.
177
+ :param pulumi.Input[str] created_on: Creation date for the given Cortex search service.
178
+ :param pulumi.Input[str] database: The database in which to create the Cortex search service.
179
+ :param pulumi.Input[str] name: Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
180
+ :param pulumi.Input[str] on: Specifies the column to use as the search column for the Cortex search service; must be a text value.
181
+ :param pulumi.Input[str] query: Specifies the query to use to populate the Cortex search service.
182
+ :param pulumi.Input[str] schema: The schema in which to create the Cortex search service.
183
+ :param pulumi.Input[str] target_lag: Specifies the maximum target lag time for the Cortex search service.
184
+ :param pulumi.Input[str] warehouse: The warehouse in which to create the Cortex search service.
185
+ """
186
+ if attributes is not None:
187
+ pulumi.set(__self__, "attributes", attributes)
188
+ if comment is not None:
189
+ pulumi.set(__self__, "comment", comment)
190
+ if created_on is not None:
191
+ pulumi.set(__self__, "created_on", created_on)
192
+ if database is not None:
193
+ pulumi.set(__self__, "database", database)
194
+ if name is not None:
195
+ pulumi.set(__self__, "name", name)
196
+ if on is not None:
197
+ pulumi.set(__self__, "on", on)
198
+ if query is not None:
199
+ pulumi.set(__self__, "query", query)
200
+ if schema is not None:
201
+ pulumi.set(__self__, "schema", schema)
202
+ if target_lag is not None:
203
+ pulumi.set(__self__, "target_lag", target_lag)
204
+ if warehouse is not None:
205
+ pulumi.set(__self__, "warehouse", warehouse)
206
+
207
+ @property
208
+ @pulumi.getter
209
+ def attributes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
210
+ """
211
+ Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
212
+ """
213
+ return pulumi.get(self, "attributes")
214
+
215
+ @attributes.setter
216
+ def attributes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
217
+ pulumi.set(self, "attributes", value)
218
+
219
+ @property
220
+ @pulumi.getter
221
+ def comment(self) -> Optional[pulumi.Input[str]]:
222
+ """
223
+ Specifies a comment for the Cortex search service.
224
+ """
225
+ return pulumi.get(self, "comment")
226
+
227
+ @comment.setter
228
+ def comment(self, value: Optional[pulumi.Input[str]]):
229
+ pulumi.set(self, "comment", value)
230
+
231
+ @property
232
+ @pulumi.getter(name="createdOn")
233
+ def created_on(self) -> Optional[pulumi.Input[str]]:
234
+ """
235
+ Creation date for the given Cortex search service.
236
+ """
237
+ return pulumi.get(self, "created_on")
238
+
239
+ @created_on.setter
240
+ def created_on(self, value: Optional[pulumi.Input[str]]):
241
+ pulumi.set(self, "created_on", value)
242
+
243
+ @property
244
+ @pulumi.getter
245
+ def database(self) -> Optional[pulumi.Input[str]]:
246
+ """
247
+ The database in which to create the Cortex search service.
248
+ """
249
+ return pulumi.get(self, "database")
250
+
251
+ @database.setter
252
+ def database(self, value: Optional[pulumi.Input[str]]):
253
+ pulumi.set(self, "database", value)
254
+
255
+ @property
256
+ @pulumi.getter
257
+ def name(self) -> Optional[pulumi.Input[str]]:
258
+ """
259
+ Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
260
+ """
261
+ return pulumi.get(self, "name")
262
+
263
+ @name.setter
264
+ def name(self, value: Optional[pulumi.Input[str]]):
265
+ pulumi.set(self, "name", value)
266
+
267
+ @property
268
+ @pulumi.getter
269
+ def on(self) -> Optional[pulumi.Input[str]]:
270
+ """
271
+ Specifies the column to use as the search column for the Cortex search service; must be a text value.
272
+ """
273
+ return pulumi.get(self, "on")
274
+
275
+ @on.setter
276
+ def on(self, value: Optional[pulumi.Input[str]]):
277
+ pulumi.set(self, "on", value)
278
+
279
+ @property
280
+ @pulumi.getter
281
+ def query(self) -> Optional[pulumi.Input[str]]:
282
+ """
283
+ Specifies the query to use to populate the Cortex search service.
284
+ """
285
+ return pulumi.get(self, "query")
286
+
287
+ @query.setter
288
+ def query(self, value: Optional[pulumi.Input[str]]):
289
+ pulumi.set(self, "query", value)
290
+
291
+ @property
292
+ @pulumi.getter
293
+ def schema(self) -> Optional[pulumi.Input[str]]:
294
+ """
295
+ The schema in which to create the Cortex search service.
296
+ """
297
+ return pulumi.get(self, "schema")
298
+
299
+ @schema.setter
300
+ def schema(self, value: Optional[pulumi.Input[str]]):
301
+ pulumi.set(self, "schema", value)
302
+
303
+ @property
304
+ @pulumi.getter(name="targetLag")
305
+ def target_lag(self) -> Optional[pulumi.Input[str]]:
306
+ """
307
+ Specifies the maximum target lag time for the Cortex search service.
308
+ """
309
+ return pulumi.get(self, "target_lag")
310
+
311
+ @target_lag.setter
312
+ def target_lag(self, value: Optional[pulumi.Input[str]]):
313
+ pulumi.set(self, "target_lag", value)
314
+
315
+ @property
316
+ @pulumi.getter
317
+ def warehouse(self) -> Optional[pulumi.Input[str]]:
318
+ """
319
+ The warehouse in which to create the Cortex search service.
320
+ """
321
+ return pulumi.get(self, "warehouse")
322
+
323
+ @warehouse.setter
324
+ def warehouse(self, value: Optional[pulumi.Input[str]]):
325
+ pulumi.set(self, "warehouse", value)
326
+
327
+
328
+ class CortexSearchService(pulumi.CustomResource):
329
+ @overload
330
+ def __init__(__self__,
331
+ resource_name: str,
332
+ opts: Optional[pulumi.ResourceOptions] = None,
333
+ attributes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
334
+ comment: Optional[pulumi.Input[str]] = None,
335
+ database: Optional[pulumi.Input[str]] = None,
336
+ name: Optional[pulumi.Input[str]] = None,
337
+ on: Optional[pulumi.Input[str]] = None,
338
+ query: Optional[pulumi.Input[str]] = None,
339
+ schema: Optional[pulumi.Input[str]] = None,
340
+ target_lag: Optional[pulumi.Input[str]] = None,
341
+ warehouse: Optional[pulumi.Input[str]] = None,
342
+ __props__=None):
343
+ """
344
+ ## Import
345
+
346
+ ```sh
347
+ $ pulumi import snowflake:index/cortexSearchService:CortexSearchService example 'dbName|schemaName|fileFormatName'
348
+ ```
349
+
350
+ :param str resource_name: The name of the resource.
351
+ :param pulumi.ResourceOptions opts: Options for the resource.
352
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] attributes: Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
353
+ :param pulumi.Input[str] comment: Specifies a comment for the Cortex search service.
354
+ :param pulumi.Input[str] database: The database in which to create the Cortex search service.
355
+ :param pulumi.Input[str] name: Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
356
+ :param pulumi.Input[str] on: Specifies the column to use as the search column for the Cortex search service; must be a text value.
357
+ :param pulumi.Input[str] query: Specifies the query to use to populate the Cortex search service.
358
+ :param pulumi.Input[str] schema: The schema in which to create the Cortex search service.
359
+ :param pulumi.Input[str] target_lag: Specifies the maximum target lag time for the Cortex search service.
360
+ :param pulumi.Input[str] warehouse: The warehouse in which to create the Cortex search service.
361
+ """
362
+ ...
363
+ @overload
364
+ def __init__(__self__,
365
+ resource_name: str,
366
+ args: CortexSearchServiceArgs,
367
+ opts: Optional[pulumi.ResourceOptions] = None):
368
+ """
369
+ ## Import
370
+
371
+ ```sh
372
+ $ pulumi import snowflake:index/cortexSearchService:CortexSearchService example 'dbName|schemaName|fileFormatName'
373
+ ```
374
+
375
+ :param str resource_name: The name of the resource.
376
+ :param CortexSearchServiceArgs args: The arguments to use to populate this resource's properties.
377
+ :param pulumi.ResourceOptions opts: Options for the resource.
378
+ """
379
+ ...
380
+ def __init__(__self__, resource_name: str, *args, **kwargs):
381
+ resource_args, opts = _utilities.get_resource_args_opts(CortexSearchServiceArgs, pulumi.ResourceOptions, *args, **kwargs)
382
+ if resource_args is not None:
383
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
384
+ else:
385
+ __self__._internal_init(resource_name, *args, **kwargs)
386
+
387
+ def _internal_init(__self__,
388
+ resource_name: str,
389
+ opts: Optional[pulumi.ResourceOptions] = None,
390
+ attributes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
391
+ comment: Optional[pulumi.Input[str]] = None,
392
+ database: Optional[pulumi.Input[str]] = None,
393
+ name: Optional[pulumi.Input[str]] = None,
394
+ on: Optional[pulumi.Input[str]] = None,
395
+ query: Optional[pulumi.Input[str]] = None,
396
+ schema: Optional[pulumi.Input[str]] = None,
397
+ target_lag: Optional[pulumi.Input[str]] = None,
398
+ warehouse: Optional[pulumi.Input[str]] = None,
399
+ __props__=None):
400
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
401
+ if not isinstance(opts, pulumi.ResourceOptions):
402
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
403
+ if opts.id is None:
404
+ if __props__ is not None:
405
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
406
+ __props__ = CortexSearchServiceArgs.__new__(CortexSearchServiceArgs)
407
+
408
+ __props__.__dict__["attributes"] = attributes
409
+ __props__.__dict__["comment"] = comment
410
+ if database is None and not opts.urn:
411
+ raise TypeError("Missing required property 'database'")
412
+ __props__.__dict__["database"] = database
413
+ __props__.__dict__["name"] = name
414
+ if on is None and not opts.urn:
415
+ raise TypeError("Missing required property 'on'")
416
+ __props__.__dict__["on"] = on
417
+ if query is None and not opts.urn:
418
+ raise TypeError("Missing required property 'query'")
419
+ __props__.__dict__["query"] = query
420
+ if schema is None and not opts.urn:
421
+ raise TypeError("Missing required property 'schema'")
422
+ __props__.__dict__["schema"] = schema
423
+ if target_lag is None and not opts.urn:
424
+ raise TypeError("Missing required property 'target_lag'")
425
+ __props__.__dict__["target_lag"] = target_lag
426
+ if warehouse is None and not opts.urn:
427
+ raise TypeError("Missing required property 'warehouse'")
428
+ __props__.__dict__["warehouse"] = warehouse
429
+ __props__.__dict__["created_on"] = None
430
+ super(CortexSearchService, __self__).__init__(
431
+ 'snowflake:index/cortexSearchService:CortexSearchService',
432
+ resource_name,
433
+ __props__,
434
+ opts)
435
+
436
+ @staticmethod
437
+ def get(resource_name: str,
438
+ id: pulumi.Input[str],
439
+ opts: Optional[pulumi.ResourceOptions] = None,
440
+ attributes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
441
+ comment: Optional[pulumi.Input[str]] = None,
442
+ created_on: Optional[pulumi.Input[str]] = None,
443
+ database: Optional[pulumi.Input[str]] = None,
444
+ name: Optional[pulumi.Input[str]] = None,
445
+ on: Optional[pulumi.Input[str]] = None,
446
+ query: Optional[pulumi.Input[str]] = None,
447
+ schema: Optional[pulumi.Input[str]] = None,
448
+ target_lag: Optional[pulumi.Input[str]] = None,
449
+ warehouse: Optional[pulumi.Input[str]] = None) -> 'CortexSearchService':
450
+ """
451
+ Get an existing CortexSearchService resource's state with the given name, id, and optional extra
452
+ properties used to qualify the lookup.
453
+
454
+ :param str resource_name: The unique name of the resulting resource.
455
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
456
+ :param pulumi.ResourceOptions opts: Options for the resource.
457
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] attributes: Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
458
+ :param pulumi.Input[str] comment: Specifies a comment for the Cortex search service.
459
+ :param pulumi.Input[str] created_on: Creation date for the given Cortex search service.
460
+ :param pulumi.Input[str] database: The database in which to create the Cortex search service.
461
+ :param pulumi.Input[str] name: Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
462
+ :param pulumi.Input[str] on: Specifies the column to use as the search column for the Cortex search service; must be a text value.
463
+ :param pulumi.Input[str] query: Specifies the query to use to populate the Cortex search service.
464
+ :param pulumi.Input[str] schema: The schema in which to create the Cortex search service.
465
+ :param pulumi.Input[str] target_lag: Specifies the maximum target lag time for the Cortex search service.
466
+ :param pulumi.Input[str] warehouse: The warehouse in which to create the Cortex search service.
467
+ """
468
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
469
+
470
+ __props__ = _CortexSearchServiceState.__new__(_CortexSearchServiceState)
471
+
472
+ __props__.__dict__["attributes"] = attributes
473
+ __props__.__dict__["comment"] = comment
474
+ __props__.__dict__["created_on"] = created_on
475
+ __props__.__dict__["database"] = database
476
+ __props__.__dict__["name"] = name
477
+ __props__.__dict__["on"] = on
478
+ __props__.__dict__["query"] = query
479
+ __props__.__dict__["schema"] = schema
480
+ __props__.__dict__["target_lag"] = target_lag
481
+ __props__.__dict__["warehouse"] = warehouse
482
+ return CortexSearchService(resource_name, opts=opts, __props__=__props__)
483
+
484
+ @property
485
+ @pulumi.getter
486
+ def attributes(self) -> pulumi.Output[Optional[Sequence[str]]]:
487
+ """
488
+ Specifies the list of columns in the base table to enable filtering on when issuing queries to the service.
489
+ """
490
+ return pulumi.get(self, "attributes")
491
+
492
+ @property
493
+ @pulumi.getter
494
+ def comment(self) -> pulumi.Output[Optional[str]]:
495
+ """
496
+ Specifies a comment for the Cortex search service.
497
+ """
498
+ return pulumi.get(self, "comment")
499
+
500
+ @property
501
+ @pulumi.getter(name="createdOn")
502
+ def created_on(self) -> pulumi.Output[str]:
503
+ """
504
+ Creation date for the given Cortex search service.
505
+ """
506
+ return pulumi.get(self, "created_on")
507
+
508
+ @property
509
+ @pulumi.getter
510
+ def database(self) -> pulumi.Output[str]:
511
+ """
512
+ The database in which to create the Cortex search service.
513
+ """
514
+ return pulumi.get(self, "database")
515
+
516
+ @property
517
+ @pulumi.getter
518
+ def name(self) -> pulumi.Output[str]:
519
+ """
520
+ Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
521
+ """
522
+ return pulumi.get(self, "name")
523
+
524
+ @property
525
+ @pulumi.getter
526
+ def on(self) -> pulumi.Output[str]:
527
+ """
528
+ Specifies the column to use as the search column for the Cortex search service; must be a text value.
529
+ """
530
+ return pulumi.get(self, "on")
531
+
532
+ @property
533
+ @pulumi.getter
534
+ def query(self) -> pulumi.Output[str]:
535
+ """
536
+ Specifies the query to use to populate the Cortex search service.
537
+ """
538
+ return pulumi.get(self, "query")
539
+
540
+ @property
541
+ @pulumi.getter
542
+ def schema(self) -> pulumi.Output[str]:
543
+ """
544
+ The schema in which to create the Cortex search service.
545
+ """
546
+ return pulumi.get(self, "schema")
547
+
548
+ @property
549
+ @pulumi.getter(name="targetLag")
550
+ def target_lag(self) -> pulumi.Output[str]:
551
+ """
552
+ Specifies the maximum target lag time for the Cortex search service.
553
+ """
554
+ return pulumi.get(self, "target_lag")
555
+
556
+ @property
557
+ @pulumi.getter
558
+ def warehouse(self) -> pulumi.Output[str]:
559
+ """
560
+ The warehouse in which to create the Cortex search service.
561
+ """
562
+ return pulumi.get(self, "warehouse")
563
+