pulumi-snowflake 0.57.0a1721977458__py3-none-any.whl → 0.57.0a1722246300__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.

Potentially problematic release.


This version of pulumi-snowflake might be problematic. Click here for more details.

Files changed (31) hide show
  1. pulumi_snowflake/__init__.py +20 -0
  2. pulumi_snowflake/_inputs.py +2475 -237
  3. pulumi_snowflake/account_role.py +226 -0
  4. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +4 -0
  5. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +4 -0
  6. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +4 -0
  7. pulumi_snowflake/database.py +63 -63
  8. pulumi_snowflake/external_oauth_integration.py +2 -2
  9. pulumi_snowflake/get_network_policies.py +122 -0
  10. pulumi_snowflake/get_roles.py +37 -31
  11. pulumi_snowflake/get_schemas.py +115 -38
  12. pulumi_snowflake/get_streamlits.py +159 -0
  13. pulumi_snowflake/network_policy.py +103 -19
  14. pulumi_snowflake/oauth_integration_for_custom_clients.py +18 -14
  15. pulumi_snowflake/oauth_integration_for_partner_applications.py +18 -14
  16. pulumi_snowflake/outputs.py +5849 -2728
  17. pulumi_snowflake/pulumi-plugin.json +1 -1
  18. pulumi_snowflake/role.py +44 -72
  19. pulumi_snowflake/saml2_integration.py +32 -28
  20. pulumi_snowflake/schema.py +905 -151
  21. pulumi_snowflake/scim_integration.py +25 -21
  22. pulumi_snowflake/secondary_database.py +63 -63
  23. pulumi_snowflake/shared_database.py +63 -63
  24. pulumi_snowflake/streamlit.py +650 -0
  25. pulumi_snowflake/table.py +0 -120
  26. pulumi_snowflake/table_constraint.py +2 -2
  27. pulumi_snowflake/unsafe_execute.py +8 -8
  28. {pulumi_snowflake-0.57.0a1721977458.dist-info → pulumi_snowflake-0.57.0a1722246300.dist-info}/METADATA +1 -1
  29. {pulumi_snowflake-0.57.0a1721977458.dist-info → pulumi_snowflake-0.57.0a1722246300.dist-info}/RECORD +31 -27
  30. {pulumi_snowflake-0.57.0a1721977458.dist-info → pulumi_snowflake-0.57.0a1722246300.dist-info}/WHEEL +1 -1
  31. {pulumi_snowflake-0.57.0a1721977458.dist-info → pulumi_snowflake-0.57.0a1722246300.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,650 @@
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
+ from . import outputs
12
+ from ._inputs import *
13
+
14
+ __all__ = ['StreamlitArgs', 'Streamlit']
15
+
16
+ @pulumi.input_type
17
+ class StreamlitArgs:
18
+ def __init__(__self__, *,
19
+ database: pulumi.Input[str],
20
+ main_file: pulumi.Input[str],
21
+ schema: pulumi.Input[str],
22
+ stage: pulumi.Input[str],
23
+ comment: Optional[pulumi.Input[str]] = None,
24
+ directory_location: Optional[pulumi.Input[str]] = None,
25
+ external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
+ name: Optional[pulumi.Input[str]] = None,
27
+ query_warehouse: Optional[pulumi.Input[str]] = None,
28
+ title: Optional[pulumi.Input[str]] = None):
29
+ """
30
+ The set of arguments for constructing a Streamlit resource.
31
+ :param pulumi.Input[str] database: The database in which to create the streamlit
32
+ :param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `root_location`
33
+ :param pulumi.Input[str] schema: The schema in which to create the streamlit.
34
+ :param pulumi.Input[str] stage: The stage in which streamlit files are located.
35
+ :param pulumi.Input[str] comment: Specifies a comment for the streamlit.
36
+ :param pulumi.Input[str] directory_location: Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
37
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_integrations: External access integrations connected to the Streamlit.
38
+ :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
39
+ :param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run.
40
+ :param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
41
+ """
42
+ pulumi.set(__self__, "database", database)
43
+ pulumi.set(__self__, "main_file", main_file)
44
+ pulumi.set(__self__, "schema", schema)
45
+ pulumi.set(__self__, "stage", stage)
46
+ if comment is not None:
47
+ pulumi.set(__self__, "comment", comment)
48
+ if directory_location is not None:
49
+ pulumi.set(__self__, "directory_location", directory_location)
50
+ if external_access_integrations is not None:
51
+ pulumi.set(__self__, "external_access_integrations", external_access_integrations)
52
+ if name is not None:
53
+ pulumi.set(__self__, "name", name)
54
+ if query_warehouse is not None:
55
+ pulumi.set(__self__, "query_warehouse", query_warehouse)
56
+ if title is not None:
57
+ pulumi.set(__self__, "title", title)
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def database(self) -> pulumi.Input[str]:
62
+ """
63
+ The database in which to create the streamlit
64
+ """
65
+ return pulumi.get(self, "database")
66
+
67
+ @database.setter
68
+ def database(self, value: pulumi.Input[str]):
69
+ pulumi.set(self, "database", value)
70
+
71
+ @property
72
+ @pulumi.getter(name="mainFile")
73
+ def main_file(self) -> pulumi.Input[str]:
74
+ """
75
+ Specifies the filename of the Streamlit Python application. This filename is relative to the value of `root_location`
76
+ """
77
+ return pulumi.get(self, "main_file")
78
+
79
+ @main_file.setter
80
+ def main_file(self, value: pulumi.Input[str]):
81
+ pulumi.set(self, "main_file", value)
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def schema(self) -> pulumi.Input[str]:
86
+ """
87
+ The schema in which to create the streamlit.
88
+ """
89
+ return pulumi.get(self, "schema")
90
+
91
+ @schema.setter
92
+ def schema(self, value: pulumi.Input[str]):
93
+ pulumi.set(self, "schema", value)
94
+
95
+ @property
96
+ @pulumi.getter
97
+ def stage(self) -> pulumi.Input[str]:
98
+ """
99
+ The stage in which streamlit files are located.
100
+ """
101
+ return pulumi.get(self, "stage")
102
+
103
+ @stage.setter
104
+ def stage(self, value: pulumi.Input[str]):
105
+ pulumi.set(self, "stage", value)
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def comment(self) -> Optional[pulumi.Input[str]]:
110
+ """
111
+ Specifies a comment for the streamlit.
112
+ """
113
+ return pulumi.get(self, "comment")
114
+
115
+ @comment.setter
116
+ def comment(self, value: Optional[pulumi.Input[str]]):
117
+ pulumi.set(self, "comment", value)
118
+
119
+ @property
120
+ @pulumi.getter(name="directoryLocation")
121
+ def directory_location(self) -> Optional[pulumi.Input[str]]:
122
+ """
123
+ Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
124
+ """
125
+ return pulumi.get(self, "directory_location")
126
+
127
+ @directory_location.setter
128
+ def directory_location(self, value: Optional[pulumi.Input[str]]):
129
+ pulumi.set(self, "directory_location", value)
130
+
131
+ @property
132
+ @pulumi.getter(name="externalAccessIntegrations")
133
+ def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
134
+ """
135
+ External access integrations connected to the Streamlit.
136
+ """
137
+ return pulumi.get(self, "external_access_integrations")
138
+
139
+ @external_access_integrations.setter
140
+ def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
141
+ pulumi.set(self, "external_access_integrations", value)
142
+
143
+ @property
144
+ @pulumi.getter
145
+ def name(self) -> Optional[pulumi.Input[str]]:
146
+ """
147
+ String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
148
+ """
149
+ return pulumi.get(self, "name")
150
+
151
+ @name.setter
152
+ def name(self, value: Optional[pulumi.Input[str]]):
153
+ pulumi.set(self, "name", value)
154
+
155
+ @property
156
+ @pulumi.getter(name="queryWarehouse")
157
+ def query_warehouse(self) -> Optional[pulumi.Input[str]]:
158
+ """
159
+ Specifies the warehouse where SQL queries issued by the Streamlit application are run.
160
+ """
161
+ return pulumi.get(self, "query_warehouse")
162
+
163
+ @query_warehouse.setter
164
+ def query_warehouse(self, value: Optional[pulumi.Input[str]]):
165
+ pulumi.set(self, "query_warehouse", value)
166
+
167
+ @property
168
+ @pulumi.getter
169
+ def title(self) -> Optional[pulumi.Input[str]]:
170
+ """
171
+ Specifies a title for the Streamlit app to display in Snowsight.
172
+ """
173
+ return pulumi.get(self, "title")
174
+
175
+ @title.setter
176
+ def title(self, value: Optional[pulumi.Input[str]]):
177
+ pulumi.set(self, "title", value)
178
+
179
+
180
+ @pulumi.input_type
181
+ class _StreamlitState:
182
+ def __init__(__self__, *,
183
+ comment: Optional[pulumi.Input[str]] = None,
184
+ database: Optional[pulumi.Input[str]] = None,
185
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitDescribeOutputArgs']]]] = None,
186
+ directory_location: Optional[pulumi.Input[str]] = None,
187
+ external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
188
+ main_file: Optional[pulumi.Input[str]] = None,
189
+ name: Optional[pulumi.Input[str]] = None,
190
+ query_warehouse: Optional[pulumi.Input[str]] = None,
191
+ schema: Optional[pulumi.Input[str]] = None,
192
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]]] = None,
193
+ stage: Optional[pulumi.Input[str]] = None,
194
+ title: Optional[pulumi.Input[str]] = None):
195
+ """
196
+ Input properties used for looking up and filtering Streamlit resources.
197
+ :param pulumi.Input[str] comment: Specifies a comment for the streamlit.
198
+ :param pulumi.Input[str] database: The database in which to create the streamlit
199
+ :param pulumi.Input[Sequence[pulumi.Input['StreamlitDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
200
+ :param pulumi.Input[str] directory_location: Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
201
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_integrations: External access integrations connected to the Streamlit.
202
+ :param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `root_location`
203
+ :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
204
+ :param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run.
205
+ :param pulumi.Input[str] schema: The schema in which to create the streamlit.
206
+ :param pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamli.
207
+ :param pulumi.Input[str] stage: The stage in which streamlit files are located.
208
+ :param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
209
+ """
210
+ if comment is not None:
211
+ pulumi.set(__self__, "comment", comment)
212
+ if database is not None:
213
+ pulumi.set(__self__, "database", database)
214
+ if describe_outputs is not None:
215
+ pulumi.set(__self__, "describe_outputs", describe_outputs)
216
+ if directory_location is not None:
217
+ pulumi.set(__self__, "directory_location", directory_location)
218
+ if external_access_integrations is not None:
219
+ pulumi.set(__self__, "external_access_integrations", external_access_integrations)
220
+ if main_file is not None:
221
+ pulumi.set(__self__, "main_file", main_file)
222
+ if name is not None:
223
+ pulumi.set(__self__, "name", name)
224
+ if query_warehouse is not None:
225
+ pulumi.set(__self__, "query_warehouse", query_warehouse)
226
+ if schema is not None:
227
+ pulumi.set(__self__, "schema", schema)
228
+ if show_outputs is not None:
229
+ pulumi.set(__self__, "show_outputs", show_outputs)
230
+ if stage is not None:
231
+ pulumi.set(__self__, "stage", stage)
232
+ if title is not None:
233
+ pulumi.set(__self__, "title", title)
234
+
235
+ @property
236
+ @pulumi.getter
237
+ def comment(self) -> Optional[pulumi.Input[str]]:
238
+ """
239
+ Specifies a comment for the streamlit.
240
+ """
241
+ return pulumi.get(self, "comment")
242
+
243
+ @comment.setter
244
+ def comment(self, value: Optional[pulumi.Input[str]]):
245
+ pulumi.set(self, "comment", value)
246
+
247
+ @property
248
+ @pulumi.getter
249
+ def database(self) -> Optional[pulumi.Input[str]]:
250
+ """
251
+ The database in which to create the streamlit
252
+ """
253
+ return pulumi.get(self, "database")
254
+
255
+ @database.setter
256
+ def database(self, value: Optional[pulumi.Input[str]]):
257
+ pulumi.set(self, "database", value)
258
+
259
+ @property
260
+ @pulumi.getter(name="describeOutputs")
261
+ def describe_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitDescribeOutputArgs']]]]:
262
+ """
263
+ Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
264
+ """
265
+ return pulumi.get(self, "describe_outputs")
266
+
267
+ @describe_outputs.setter
268
+ def describe_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitDescribeOutputArgs']]]]):
269
+ pulumi.set(self, "describe_outputs", value)
270
+
271
+ @property
272
+ @pulumi.getter(name="directoryLocation")
273
+ def directory_location(self) -> Optional[pulumi.Input[str]]:
274
+ """
275
+ Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
276
+ """
277
+ return pulumi.get(self, "directory_location")
278
+
279
+ @directory_location.setter
280
+ def directory_location(self, value: Optional[pulumi.Input[str]]):
281
+ pulumi.set(self, "directory_location", value)
282
+
283
+ @property
284
+ @pulumi.getter(name="externalAccessIntegrations")
285
+ def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
286
+ """
287
+ External access integrations connected to the Streamlit.
288
+ """
289
+ return pulumi.get(self, "external_access_integrations")
290
+
291
+ @external_access_integrations.setter
292
+ def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
293
+ pulumi.set(self, "external_access_integrations", value)
294
+
295
+ @property
296
+ @pulumi.getter(name="mainFile")
297
+ def main_file(self) -> Optional[pulumi.Input[str]]:
298
+ """
299
+ Specifies the filename of the Streamlit Python application. This filename is relative to the value of `root_location`
300
+ """
301
+ return pulumi.get(self, "main_file")
302
+
303
+ @main_file.setter
304
+ def main_file(self, value: Optional[pulumi.Input[str]]):
305
+ pulumi.set(self, "main_file", value)
306
+
307
+ @property
308
+ @pulumi.getter
309
+ def name(self) -> Optional[pulumi.Input[str]]:
310
+ """
311
+ String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
312
+ """
313
+ return pulumi.get(self, "name")
314
+
315
+ @name.setter
316
+ def name(self, value: Optional[pulumi.Input[str]]):
317
+ pulumi.set(self, "name", value)
318
+
319
+ @property
320
+ @pulumi.getter(name="queryWarehouse")
321
+ def query_warehouse(self) -> Optional[pulumi.Input[str]]:
322
+ """
323
+ Specifies the warehouse where SQL queries issued by the Streamlit application are run.
324
+ """
325
+ return pulumi.get(self, "query_warehouse")
326
+
327
+ @query_warehouse.setter
328
+ def query_warehouse(self, value: Optional[pulumi.Input[str]]):
329
+ pulumi.set(self, "query_warehouse", value)
330
+
331
+ @property
332
+ @pulumi.getter
333
+ def schema(self) -> Optional[pulumi.Input[str]]:
334
+ """
335
+ The schema in which to create the streamlit.
336
+ """
337
+ return pulumi.get(self, "schema")
338
+
339
+ @schema.setter
340
+ def schema(self, value: Optional[pulumi.Input[str]]):
341
+ pulumi.set(self, "schema", value)
342
+
343
+ @property
344
+ @pulumi.getter(name="showOutputs")
345
+ def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]]]:
346
+ """
347
+ Outputs the result of `SHOW STREAMLIT` for the given streamli.
348
+ """
349
+ return pulumi.get(self, "show_outputs")
350
+
351
+ @show_outputs.setter
352
+ def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]]]):
353
+ pulumi.set(self, "show_outputs", value)
354
+
355
+ @property
356
+ @pulumi.getter
357
+ def stage(self) -> Optional[pulumi.Input[str]]:
358
+ """
359
+ The stage in which streamlit files are located.
360
+ """
361
+ return pulumi.get(self, "stage")
362
+
363
+ @stage.setter
364
+ def stage(self, value: Optional[pulumi.Input[str]]):
365
+ pulumi.set(self, "stage", value)
366
+
367
+ @property
368
+ @pulumi.getter
369
+ def title(self) -> Optional[pulumi.Input[str]]:
370
+ """
371
+ Specifies a title for the Streamlit app to display in Snowsight.
372
+ """
373
+ return pulumi.get(self, "title")
374
+
375
+ @title.setter
376
+ def title(self, value: Optional[pulumi.Input[str]]):
377
+ pulumi.set(self, "title", value)
378
+
379
+
380
+ class Streamlit(pulumi.CustomResource):
381
+ @overload
382
+ def __init__(__self__,
383
+ resource_name: str,
384
+ opts: Optional[pulumi.ResourceOptions] = None,
385
+ comment: Optional[pulumi.Input[str]] = None,
386
+ database: Optional[pulumi.Input[str]] = None,
387
+ directory_location: Optional[pulumi.Input[str]] = None,
388
+ external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
389
+ main_file: Optional[pulumi.Input[str]] = None,
390
+ name: Optional[pulumi.Input[str]] = None,
391
+ query_warehouse: Optional[pulumi.Input[str]] = None,
392
+ schema: Optional[pulumi.Input[str]] = None,
393
+ stage: Optional[pulumi.Input[str]] = None,
394
+ title: Optional[pulumi.Input[str]] = None,
395
+ __props__=None):
396
+ """
397
+ !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
398
+
399
+ Resource used to manage streamlits objects. For more information, check [streamlit documentation](https://docs.snowflake.com/en/sql-reference/commands-streamlit).
400
+
401
+ ## Import
402
+
403
+ format is database name | schema name | streamlit name
404
+
405
+ ```sh
406
+ $ pulumi import snowflake:index/streamlit:Streamlit example 'dbName|schemaName|streamlitName'
407
+ ```
408
+
409
+ :param str resource_name: The name of the resource.
410
+ :param pulumi.ResourceOptions opts: Options for the resource.
411
+ :param pulumi.Input[str] comment: Specifies a comment for the streamlit.
412
+ :param pulumi.Input[str] database: The database in which to create the streamlit
413
+ :param pulumi.Input[str] directory_location: Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
414
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_integrations: External access integrations connected to the Streamlit.
415
+ :param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `root_location`
416
+ :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
417
+ :param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run.
418
+ :param pulumi.Input[str] schema: The schema in which to create the streamlit.
419
+ :param pulumi.Input[str] stage: The stage in which streamlit files are located.
420
+ :param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
421
+ """
422
+ ...
423
+ @overload
424
+ def __init__(__self__,
425
+ resource_name: str,
426
+ args: StreamlitArgs,
427
+ opts: Optional[pulumi.ResourceOptions] = None):
428
+ """
429
+ !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
430
+
431
+ Resource used to manage streamlits objects. For more information, check [streamlit documentation](https://docs.snowflake.com/en/sql-reference/commands-streamlit).
432
+
433
+ ## Import
434
+
435
+ format is database name | schema name | streamlit name
436
+
437
+ ```sh
438
+ $ pulumi import snowflake:index/streamlit:Streamlit example 'dbName|schemaName|streamlitName'
439
+ ```
440
+
441
+ :param str resource_name: The name of the resource.
442
+ :param StreamlitArgs args: The arguments to use to populate this resource's properties.
443
+ :param pulumi.ResourceOptions opts: Options for the resource.
444
+ """
445
+ ...
446
+ def __init__(__self__, resource_name: str, *args, **kwargs):
447
+ resource_args, opts = _utilities.get_resource_args_opts(StreamlitArgs, pulumi.ResourceOptions, *args, **kwargs)
448
+ if resource_args is not None:
449
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
450
+ else:
451
+ __self__._internal_init(resource_name, *args, **kwargs)
452
+
453
+ def _internal_init(__self__,
454
+ resource_name: str,
455
+ opts: Optional[pulumi.ResourceOptions] = None,
456
+ comment: Optional[pulumi.Input[str]] = None,
457
+ database: Optional[pulumi.Input[str]] = None,
458
+ directory_location: Optional[pulumi.Input[str]] = None,
459
+ external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
460
+ main_file: Optional[pulumi.Input[str]] = None,
461
+ name: Optional[pulumi.Input[str]] = None,
462
+ query_warehouse: Optional[pulumi.Input[str]] = None,
463
+ schema: Optional[pulumi.Input[str]] = None,
464
+ stage: Optional[pulumi.Input[str]] = None,
465
+ title: Optional[pulumi.Input[str]] = None,
466
+ __props__=None):
467
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
468
+ if not isinstance(opts, pulumi.ResourceOptions):
469
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
470
+ if opts.id is None:
471
+ if __props__ is not None:
472
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
473
+ __props__ = StreamlitArgs.__new__(StreamlitArgs)
474
+
475
+ __props__.__dict__["comment"] = comment
476
+ if database is None and not opts.urn:
477
+ raise TypeError("Missing required property 'database'")
478
+ __props__.__dict__["database"] = database
479
+ __props__.__dict__["directory_location"] = directory_location
480
+ __props__.__dict__["external_access_integrations"] = external_access_integrations
481
+ if main_file is None and not opts.urn:
482
+ raise TypeError("Missing required property 'main_file'")
483
+ __props__.__dict__["main_file"] = main_file
484
+ __props__.__dict__["name"] = name
485
+ __props__.__dict__["query_warehouse"] = query_warehouse
486
+ if schema is None and not opts.urn:
487
+ raise TypeError("Missing required property 'schema'")
488
+ __props__.__dict__["schema"] = schema
489
+ if stage is None and not opts.urn:
490
+ raise TypeError("Missing required property 'stage'")
491
+ __props__.__dict__["stage"] = stage
492
+ __props__.__dict__["title"] = title
493
+ __props__.__dict__["describe_outputs"] = None
494
+ __props__.__dict__["show_outputs"] = None
495
+ super(Streamlit, __self__).__init__(
496
+ 'snowflake:index/streamlit:Streamlit',
497
+ resource_name,
498
+ __props__,
499
+ opts)
500
+
501
+ @staticmethod
502
+ def get(resource_name: str,
503
+ id: pulumi.Input[str],
504
+ opts: Optional[pulumi.ResourceOptions] = None,
505
+ comment: Optional[pulumi.Input[str]] = None,
506
+ database: Optional[pulumi.Input[str]] = None,
507
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StreamlitDescribeOutputArgs']]]]] = None,
508
+ directory_location: Optional[pulumi.Input[str]] = None,
509
+ external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
510
+ main_file: Optional[pulumi.Input[str]] = None,
511
+ name: Optional[pulumi.Input[str]] = None,
512
+ query_warehouse: Optional[pulumi.Input[str]] = None,
513
+ schema: Optional[pulumi.Input[str]] = None,
514
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StreamlitShowOutputArgs']]]]] = None,
515
+ stage: Optional[pulumi.Input[str]] = None,
516
+ title: Optional[pulumi.Input[str]] = None) -> 'Streamlit':
517
+ """
518
+ Get an existing Streamlit resource's state with the given name, id, and optional extra
519
+ properties used to qualify the lookup.
520
+
521
+ :param str resource_name: The unique name of the resulting resource.
522
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
523
+ :param pulumi.ResourceOptions opts: Options for the resource.
524
+ :param pulumi.Input[str] comment: Specifies a comment for the streamlit.
525
+ :param pulumi.Input[str] database: The database in which to create the streamlit
526
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StreamlitDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
527
+ :param pulumi.Input[str] directory_location: Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
528
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_integrations: External access integrations connected to the Streamlit.
529
+ :param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `root_location`
530
+ :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
531
+ :param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run.
532
+ :param pulumi.Input[str] schema: The schema in which to create the streamlit.
533
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StreamlitShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamli.
534
+ :param pulumi.Input[str] stage: The stage in which streamlit files are located.
535
+ :param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
536
+ """
537
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
538
+
539
+ __props__ = _StreamlitState.__new__(_StreamlitState)
540
+
541
+ __props__.__dict__["comment"] = comment
542
+ __props__.__dict__["database"] = database
543
+ __props__.__dict__["describe_outputs"] = describe_outputs
544
+ __props__.__dict__["directory_location"] = directory_location
545
+ __props__.__dict__["external_access_integrations"] = external_access_integrations
546
+ __props__.__dict__["main_file"] = main_file
547
+ __props__.__dict__["name"] = name
548
+ __props__.__dict__["query_warehouse"] = query_warehouse
549
+ __props__.__dict__["schema"] = schema
550
+ __props__.__dict__["show_outputs"] = show_outputs
551
+ __props__.__dict__["stage"] = stage
552
+ __props__.__dict__["title"] = title
553
+ return Streamlit(resource_name, opts=opts, __props__=__props__)
554
+
555
+ @property
556
+ @pulumi.getter
557
+ def comment(self) -> pulumi.Output[Optional[str]]:
558
+ """
559
+ Specifies a comment for the streamlit.
560
+ """
561
+ return pulumi.get(self, "comment")
562
+
563
+ @property
564
+ @pulumi.getter
565
+ def database(self) -> pulumi.Output[str]:
566
+ """
567
+ The database in which to create the streamlit
568
+ """
569
+ return pulumi.get(self, "database")
570
+
571
+ @property
572
+ @pulumi.getter(name="describeOutputs")
573
+ def describe_outputs(self) -> pulumi.Output[Sequence['outputs.StreamlitDescribeOutput']]:
574
+ """
575
+ Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
576
+ """
577
+ return pulumi.get(self, "describe_outputs")
578
+
579
+ @property
580
+ @pulumi.getter(name="directoryLocation")
581
+ def directory_location(self) -> pulumi.Output[Optional[str]]:
582
+ """
583
+ Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
584
+ """
585
+ return pulumi.get(self, "directory_location")
586
+
587
+ @property
588
+ @pulumi.getter(name="externalAccessIntegrations")
589
+ def external_access_integrations(self) -> pulumi.Output[Optional[Sequence[str]]]:
590
+ """
591
+ External access integrations connected to the Streamlit.
592
+ """
593
+ return pulumi.get(self, "external_access_integrations")
594
+
595
+ @property
596
+ @pulumi.getter(name="mainFile")
597
+ def main_file(self) -> pulumi.Output[str]:
598
+ """
599
+ Specifies the filename of the Streamlit Python application. This filename is relative to the value of `root_location`
600
+ """
601
+ return pulumi.get(self, "main_file")
602
+
603
+ @property
604
+ @pulumi.getter
605
+ def name(self) -> pulumi.Output[str]:
606
+ """
607
+ String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
608
+ """
609
+ return pulumi.get(self, "name")
610
+
611
+ @property
612
+ @pulumi.getter(name="queryWarehouse")
613
+ def query_warehouse(self) -> pulumi.Output[Optional[str]]:
614
+ """
615
+ Specifies the warehouse where SQL queries issued by the Streamlit application are run.
616
+ """
617
+ return pulumi.get(self, "query_warehouse")
618
+
619
+ @property
620
+ @pulumi.getter
621
+ def schema(self) -> pulumi.Output[str]:
622
+ """
623
+ The schema in which to create the streamlit.
624
+ """
625
+ return pulumi.get(self, "schema")
626
+
627
+ @property
628
+ @pulumi.getter(name="showOutputs")
629
+ def show_outputs(self) -> pulumi.Output[Sequence['outputs.StreamlitShowOutput']]:
630
+ """
631
+ Outputs the result of `SHOW STREAMLIT` for the given streamli.
632
+ """
633
+ return pulumi.get(self, "show_outputs")
634
+
635
+ @property
636
+ @pulumi.getter
637
+ def stage(self) -> pulumi.Output[str]:
638
+ """
639
+ The stage in which streamlit files are located.
640
+ """
641
+ return pulumi.get(self, "stage")
642
+
643
+ @property
644
+ @pulumi.getter
645
+ def title(self) -> pulumi.Output[Optional[str]]:
646
+ """
647
+ Specifies a title for the Streamlit app to display in Snowsight.
648
+ """
649
+ return pulumi.get(self, "title")
650
+