pulumi-snowflake 0.58.0a1726035035__py3-none-any.whl → 0.58.0a1726066221__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.
- pulumi_snowflake/_inputs.py +5859 -127
- pulumi_snowflake/account.py +28 -50
- pulumi_snowflake/account_parameter.py +0 -28
- pulumi_snowflake/account_password_policy_attachment.py +2 -30
- pulumi_snowflake/account_role.py +41 -36
- pulumi_snowflake/alert.py +28 -40
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +35 -15
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +35 -15
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +35 -15
- pulumi_snowflake/api_integration.py +28 -54
- pulumi_snowflake/cortex_search_service.py +28 -76
- pulumi_snowflake/database.py +82 -15
- pulumi_snowflake/database_old.py +0 -72
- pulumi_snowflake/database_role.py +76 -42
- pulumi_snowflake/dynamic_table.py +28 -38
- pulumi_snowflake/email_notification_integration.py +28 -26
- pulumi_snowflake/external_function.py +28 -52
- pulumi_snowflake/external_oauth_integration.py +35 -15
- pulumi_snowflake/external_table.py +28 -48
- pulumi_snowflake/failover_group.py +28 -72
- pulumi_snowflake/file_format.py +28 -26
- pulumi_snowflake/function.py +28 -4
- pulumi_snowflake/get_database_roles.py +61 -38
- pulumi_snowflake/get_users.py +96 -33
- pulumi_snowflake/get_views.py +92 -53
- pulumi_snowflake/grant_account_role.py +0 -4
- pulumi_snowflake/grant_application_role.py +0 -4
- pulumi_snowflake/grant_database_role.py +0 -4
- pulumi_snowflake/grant_privileges_to_account_role.py +4 -4
- pulumi_snowflake/grant_privileges_to_database_role.py +6 -2
- pulumi_snowflake/grant_privileges_to_share.py +49 -2
- pulumi_snowflake/managed_account.py +28 -4
- pulumi_snowflake/masking_policy.py +28 -84
- pulumi_snowflake/materialized_view.py +28 -34
- pulumi_snowflake/network_policy.py +35 -15
- pulumi_snowflake/network_policy_attachment.py +0 -30
- pulumi_snowflake/network_rule.py +28 -66
- pulumi_snowflake/notification_integration.py +28 -34
- pulumi_snowflake/oauth_integration.py +0 -34
- pulumi_snowflake/oauth_integration_for_custom_clients.py +35 -101
- pulumi_snowflake/oauth_integration_for_partner_applications.py +35 -15
- pulumi_snowflake/object_parameter.py +0 -98
- pulumi_snowflake/outputs.py +11648 -3842
- pulumi_snowflake/password_policy.py +28 -28
- pulumi_snowflake/pipe.py +28 -4
- pulumi_snowflake/procedure.py +28 -4
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +28 -48
- pulumi_snowflake/role.py +41 -36
- pulumi_snowflake/row_access_policy.py +28 -34
- pulumi_snowflake/saml2_integration.py +35 -15
- pulumi_snowflake/saml_integration.py +0 -34
- pulumi_snowflake/schema.py +39 -19
- pulumi_snowflake/scim_integration.py +35 -15
- pulumi_snowflake/secondary_database.py +35 -19
- pulumi_snowflake/sequence.py +4 -36
- pulumi_snowflake/session_parameter.py +0 -32
- pulumi_snowflake/share.py +28 -28
- pulumi_snowflake/shared_database.py +35 -15
- pulumi_snowflake/stage.py +28 -28
- pulumi_snowflake/storage_integration.py +28 -4
- pulumi_snowflake/stream.py +28 -4
- pulumi_snowflake/streamlit.py +36 -16
- pulumi_snowflake/table.py +28 -32
- pulumi_snowflake/table_column_masking_policy_application.py +2 -14
- pulumi_snowflake/table_constraint.py +0 -152
- pulumi_snowflake/tag.py +28 -40
- pulumi_snowflake/tag_association.py +0 -120
- pulumi_snowflake/tag_masking_policy_association.py +0 -4
- pulumi_snowflake/task.py +28 -92
- pulumi_snowflake/unsafe_execute.py +2 -20
- pulumi_snowflake/user.py +3341 -368
- pulumi_snowflake/user_password_policy_attachment.py +0 -46
- pulumi_snowflake/view.py +465 -185
- pulumi_snowflake/warehouse.py +35 -39
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/METADATA +1 -1
- pulumi_snowflake-0.58.0a1726066221.dist-info/RECORD +129 -0
- pulumi_snowflake-0.58.0a1726035035.dist-info/RECORD +0 -129
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/top_level.txt +0 -0
|
@@ -8,6 +8,8 @@ import pulumi
|
|
|
8
8
|
import pulumi.runtime
|
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
from ._inputs import *
|
|
11
13
|
|
|
12
14
|
__all__ = ['DatabaseRoleArgs', 'DatabaseRole']
|
|
13
15
|
|
|
@@ -19,9 +21,9 @@ class DatabaseRoleArgs:
|
|
|
19
21
|
name: Optional[pulumi.Input[str]] = None):
|
|
20
22
|
"""
|
|
21
23
|
The set of arguments for constructing a DatabaseRole resource.
|
|
22
|
-
:param pulumi.Input[str] database: The database in which to create the database role.
|
|
24
|
+
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
23
25
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
24
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database role.
|
|
26
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
25
27
|
"""
|
|
26
28
|
pulumi.set(__self__, "database", database)
|
|
27
29
|
if comment is not None:
|
|
@@ -33,7 +35,7 @@ class DatabaseRoleArgs:
|
|
|
33
35
|
@pulumi.getter
|
|
34
36
|
def database(self) -> pulumi.Input[str]:
|
|
35
37
|
"""
|
|
36
|
-
The database in which to create the database role.
|
|
38
|
+
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
37
39
|
"""
|
|
38
40
|
return pulumi.get(self, "database")
|
|
39
41
|
|
|
@@ -57,7 +59,7 @@ class DatabaseRoleArgs:
|
|
|
57
59
|
@pulumi.getter
|
|
58
60
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
59
61
|
"""
|
|
60
|
-
Specifies the identifier for the database role.
|
|
62
|
+
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
61
63
|
"""
|
|
62
64
|
return pulumi.get(self, "name")
|
|
63
65
|
|
|
@@ -71,19 +73,27 @@ class _DatabaseRoleState:
|
|
|
71
73
|
def __init__(__self__, *,
|
|
72
74
|
comment: Optional[pulumi.Input[str]] = None,
|
|
73
75
|
database: Optional[pulumi.Input[str]] = None,
|
|
74
|
-
|
|
76
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
77
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
78
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRoleShowOutputArgs']]]] = None):
|
|
75
79
|
"""
|
|
76
80
|
Input properties used for looking up and filtering DatabaseRole resources.
|
|
77
81
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
78
|
-
:param pulumi.Input[str] database: The database in which to create the database role.
|
|
79
|
-
:param pulumi.Input[str]
|
|
82
|
+
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
83
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
84
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
85
|
+
:param pulumi.Input[Sequence[pulumi.Input['DatabaseRoleShowOutputArgs']]] show_outputs: Outputs the result of `SHOW DATABASE ROLES` for the given database role. Note that this value will be only recomputed whenever comment field changes.
|
|
80
86
|
"""
|
|
81
87
|
if comment is not None:
|
|
82
88
|
pulumi.set(__self__, "comment", comment)
|
|
83
89
|
if database is not None:
|
|
84
90
|
pulumi.set(__self__, "database", database)
|
|
91
|
+
if fully_qualified_name is not None:
|
|
92
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
85
93
|
if name is not None:
|
|
86
94
|
pulumi.set(__self__, "name", name)
|
|
95
|
+
if show_outputs is not None:
|
|
96
|
+
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
87
97
|
|
|
88
98
|
@property
|
|
89
99
|
@pulumi.getter
|
|
@@ -101,7 +111,7 @@ class _DatabaseRoleState:
|
|
|
101
111
|
@pulumi.getter
|
|
102
112
|
def database(self) -> Optional[pulumi.Input[str]]:
|
|
103
113
|
"""
|
|
104
|
-
The database in which to create the database role.
|
|
114
|
+
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
105
115
|
"""
|
|
106
116
|
return pulumi.get(self, "database")
|
|
107
117
|
|
|
@@ -109,11 +119,23 @@ class _DatabaseRoleState:
|
|
|
109
119
|
def database(self, value: Optional[pulumi.Input[str]]):
|
|
110
120
|
pulumi.set(self, "database", value)
|
|
111
121
|
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
124
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
125
|
+
"""
|
|
126
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
129
|
+
|
|
130
|
+
@fully_qualified_name.setter
|
|
131
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
132
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
133
|
+
|
|
112
134
|
@property
|
|
113
135
|
@pulumi.getter
|
|
114
136
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
115
137
|
"""
|
|
116
|
-
Specifies the identifier for the database role.
|
|
138
|
+
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
117
139
|
"""
|
|
118
140
|
return pulumi.get(self, "name")
|
|
119
141
|
|
|
@@ -121,6 +143,18 @@ class _DatabaseRoleState:
|
|
|
121
143
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
122
144
|
pulumi.set(self, "name", value)
|
|
123
145
|
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter(name="showOutputs")
|
|
148
|
+
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRoleShowOutputArgs']]]]:
|
|
149
|
+
"""
|
|
150
|
+
Outputs the result of `SHOW DATABASE ROLES` for the given database role. Note that this value will be only recomputed whenever comment field changes.
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "show_outputs")
|
|
153
|
+
|
|
154
|
+
@show_outputs.setter
|
|
155
|
+
def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRoleShowOutputArgs']]]]):
|
|
156
|
+
pulumi.set(self, "show_outputs", value)
|
|
157
|
+
|
|
124
158
|
|
|
125
159
|
class DatabaseRole(pulumi.CustomResource):
|
|
126
160
|
@overload
|
|
@@ -132,29 +166,17 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
132
166
|
name: Optional[pulumi.Input[str]] = None,
|
|
133
167
|
__props__=None):
|
|
134
168
|
"""
|
|
135
|
-
## Example Usage
|
|
136
|
-
|
|
137
|
-
```python
|
|
138
|
-
import pulumi
|
|
139
|
-
import pulumi_snowflake as snowflake
|
|
140
|
-
|
|
141
|
-
db_role = snowflake.DatabaseRole("db_role",
|
|
142
|
-
database="database",
|
|
143
|
-
name="role_1",
|
|
144
|
-
comment="my db role")
|
|
145
|
-
```
|
|
146
|
-
|
|
147
169
|
## Import
|
|
148
170
|
|
|
149
171
|
```sh
|
|
150
|
-
$ pulumi import snowflake:index/databaseRole:DatabaseRole example '
|
|
172
|
+
$ pulumi import snowflake:index/databaseRole:DatabaseRole example '"<database_name>"."<database_role_name>"'
|
|
151
173
|
```
|
|
152
174
|
|
|
153
175
|
:param str resource_name: The name of the resource.
|
|
154
176
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
155
177
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
156
|
-
:param pulumi.Input[str] database: The database in which to create the database role.
|
|
157
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database role.
|
|
178
|
+
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
179
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
158
180
|
"""
|
|
159
181
|
...
|
|
160
182
|
@overload
|
|
@@ -163,22 +185,10 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
163
185
|
args: DatabaseRoleArgs,
|
|
164
186
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
165
187
|
"""
|
|
166
|
-
## Example Usage
|
|
167
|
-
|
|
168
|
-
```python
|
|
169
|
-
import pulumi
|
|
170
|
-
import pulumi_snowflake as snowflake
|
|
171
|
-
|
|
172
|
-
db_role = snowflake.DatabaseRole("db_role",
|
|
173
|
-
database="database",
|
|
174
|
-
name="role_1",
|
|
175
|
-
comment="my db role")
|
|
176
|
-
```
|
|
177
|
-
|
|
178
188
|
## Import
|
|
179
189
|
|
|
180
190
|
```sh
|
|
181
|
-
$ pulumi import snowflake:index/databaseRole:DatabaseRole example '
|
|
191
|
+
$ pulumi import snowflake:index/databaseRole:DatabaseRole example '"<database_name>"."<database_role_name>"'
|
|
182
192
|
```
|
|
183
193
|
|
|
184
194
|
:param str resource_name: The name of the resource.
|
|
@@ -213,6 +223,8 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
213
223
|
raise TypeError("Missing required property 'database'")
|
|
214
224
|
__props__.__dict__["database"] = database
|
|
215
225
|
__props__.__dict__["name"] = name
|
|
226
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
227
|
+
__props__.__dict__["show_outputs"] = None
|
|
216
228
|
super(DatabaseRole, __self__).__init__(
|
|
217
229
|
'snowflake:index/databaseRole:DatabaseRole',
|
|
218
230
|
resource_name,
|
|
@@ -225,7 +237,9 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
225
237
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
226
238
|
comment: Optional[pulumi.Input[str]] = None,
|
|
227
239
|
database: Optional[pulumi.Input[str]] = None,
|
|
228
|
-
|
|
240
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
241
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
242
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseRoleShowOutputArgs', 'DatabaseRoleShowOutputArgsDict']]]]] = None) -> 'DatabaseRole':
|
|
229
243
|
"""
|
|
230
244
|
Get an existing DatabaseRole resource's state with the given name, id, and optional extra
|
|
231
245
|
properties used to qualify the lookup.
|
|
@@ -234,8 +248,10 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
234
248
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
235
249
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
236
250
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
237
|
-
:param pulumi.Input[str] database: The database in which to create the database role.
|
|
238
|
-
:param pulumi.Input[str]
|
|
251
|
+
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
252
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
253
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
254
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseRoleShowOutputArgs', 'DatabaseRoleShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW DATABASE ROLES` for the given database role. Note that this value will be only recomputed whenever comment field changes.
|
|
239
255
|
"""
|
|
240
256
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
241
257
|
|
|
@@ -243,7 +259,9 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
243
259
|
|
|
244
260
|
__props__.__dict__["comment"] = comment
|
|
245
261
|
__props__.__dict__["database"] = database
|
|
262
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
246
263
|
__props__.__dict__["name"] = name
|
|
264
|
+
__props__.__dict__["show_outputs"] = show_outputs
|
|
247
265
|
return DatabaseRole(resource_name, opts=opts, __props__=__props__)
|
|
248
266
|
|
|
249
267
|
@property
|
|
@@ -258,15 +276,31 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
258
276
|
@pulumi.getter
|
|
259
277
|
def database(self) -> pulumi.Output[str]:
|
|
260
278
|
"""
|
|
261
|
-
The database in which to create the database role.
|
|
279
|
+
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
262
280
|
"""
|
|
263
281
|
return pulumi.get(self, "database")
|
|
264
282
|
|
|
283
|
+
@property
|
|
284
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
285
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
286
|
+
"""
|
|
287
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
288
|
+
"""
|
|
289
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
290
|
+
|
|
265
291
|
@property
|
|
266
292
|
@pulumi.getter
|
|
267
293
|
def name(self) -> pulumi.Output[str]:
|
|
268
294
|
"""
|
|
269
|
-
Specifies the identifier for the database role.
|
|
295
|
+
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
270
296
|
"""
|
|
271
297
|
return pulumi.get(self, "name")
|
|
272
298
|
|
|
299
|
+
@property
|
|
300
|
+
@pulumi.getter(name="showOutputs")
|
|
301
|
+
def show_outputs(self) -> pulumi.Output[Sequence['outputs.DatabaseRoleShowOutput']]:
|
|
302
|
+
"""
|
|
303
|
+
Outputs the result of `SHOW DATABASE ROLES` for the given database role. Note that this value will be only recomputed whenever comment field changes.
|
|
304
|
+
"""
|
|
305
|
+
return pulumi.get(self, "show_outputs")
|
|
306
|
+
|
|
@@ -186,6 +186,7 @@ class _DynamicTableState:
|
|
|
186
186
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
187
187
|
data_timestamp: Optional[pulumi.Input[str]] = None,
|
|
188
188
|
database: Optional[pulumi.Input[str]] = None,
|
|
189
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
189
190
|
initialize: Optional[pulumi.Input[str]] = None,
|
|
190
191
|
is_clone: Optional[pulumi.Input[bool]] = None,
|
|
191
192
|
is_replica: Optional[pulumi.Input[bool]] = None,
|
|
@@ -210,6 +211,7 @@ class _DynamicTableState:
|
|
|
210
211
|
:param pulumi.Input[str] created_on: Time when this dynamic table was created.
|
|
211
212
|
:param pulumi.Input[str] data_timestamp: Timestamp of the data in the base object(s) that is included in the dynamic table.
|
|
212
213
|
:param pulumi.Input[str] database: The database in which to create the dynamic table.
|
|
214
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
213
215
|
:param pulumi.Input[str] initialize: Initialize trigger for the dynamic table. Can only be set on creation. Available options are ON*CREATE and ON*SCHEDULE.
|
|
214
216
|
:param pulumi.Input[bool] is_clone: TRUE if the dynamic table has been cloned, else FALSE.
|
|
215
217
|
:param pulumi.Input[bool] is_replica: TRUE if the dynamic table is a replica. else FALSE.
|
|
@@ -240,6 +242,8 @@ class _DynamicTableState:
|
|
|
240
242
|
pulumi.set(__self__, "data_timestamp", data_timestamp)
|
|
241
243
|
if database is not None:
|
|
242
244
|
pulumi.set(__self__, "database", database)
|
|
245
|
+
if fully_qualified_name is not None:
|
|
246
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
243
247
|
if initialize is not None:
|
|
244
248
|
pulumi.set(__self__, "initialize", initialize)
|
|
245
249
|
if is_clone is not None:
|
|
@@ -355,6 +359,18 @@ class _DynamicTableState:
|
|
|
355
359
|
def database(self, value: Optional[pulumi.Input[str]]):
|
|
356
360
|
pulumi.set(self, "database", value)
|
|
357
361
|
|
|
362
|
+
@property
|
|
363
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
364
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
365
|
+
"""
|
|
366
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
367
|
+
"""
|
|
368
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
369
|
+
|
|
370
|
+
@fully_qualified_name.setter
|
|
371
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
372
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
373
|
+
|
|
358
374
|
@property
|
|
359
375
|
@pulumi.getter
|
|
360
376
|
def initialize(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -553,25 +569,6 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
553
569
|
warehouse: Optional[pulumi.Input[str]] = None,
|
|
554
570
|
__props__=None):
|
|
555
571
|
"""
|
|
556
|
-
## Example Usage
|
|
557
|
-
|
|
558
|
-
```python
|
|
559
|
-
import pulumi
|
|
560
|
-
import pulumi_snowflake as snowflake
|
|
561
|
-
|
|
562
|
-
# https://docs.snowflake.com/en/sql-reference/sql/create-dynamic-table#examples
|
|
563
|
-
dt = snowflake.DynamicTable("dt",
|
|
564
|
-
name="product",
|
|
565
|
-
database="mydb",
|
|
566
|
-
schema="myschema",
|
|
567
|
-
target_lag={
|
|
568
|
-
"maximum_duration": "20 minutes",
|
|
569
|
-
},
|
|
570
|
-
warehouse="mywh",
|
|
571
|
-
query="SELECT product_id, product_name FROM \\"mydb\\".\\"myschema\\".\\"staging_table\\"",
|
|
572
|
-
comment="example comment")
|
|
573
|
-
```
|
|
574
|
-
|
|
575
572
|
## Import
|
|
576
573
|
|
|
577
574
|
```sh
|
|
@@ -598,25 +595,6 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
598
595
|
args: DynamicTableArgs,
|
|
599
596
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
600
597
|
"""
|
|
601
|
-
## Example Usage
|
|
602
|
-
|
|
603
|
-
```python
|
|
604
|
-
import pulumi
|
|
605
|
-
import pulumi_snowflake as snowflake
|
|
606
|
-
|
|
607
|
-
# https://docs.snowflake.com/en/sql-reference/sql/create-dynamic-table#examples
|
|
608
|
-
dt = snowflake.DynamicTable("dt",
|
|
609
|
-
name="product",
|
|
610
|
-
database="mydb",
|
|
611
|
-
schema="myschema",
|
|
612
|
-
target_lag={
|
|
613
|
-
"maximum_duration": "20 minutes",
|
|
614
|
-
},
|
|
615
|
-
warehouse="mywh",
|
|
616
|
-
query="SELECT product_id, product_name FROM \\"mydb\\".\\"myschema\\".\\"staging_table\\"",
|
|
617
|
-
comment="example comment")
|
|
618
|
-
```
|
|
619
|
-
|
|
620
598
|
## Import
|
|
621
599
|
|
|
622
600
|
```sh
|
|
@@ -682,6 +660,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
682
660
|
__props__.__dict__["cluster_by"] = None
|
|
683
661
|
__props__.__dict__["created_on"] = None
|
|
684
662
|
__props__.__dict__["data_timestamp"] = None
|
|
663
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
685
664
|
__props__.__dict__["is_clone"] = None
|
|
686
665
|
__props__.__dict__["is_replica"] = None
|
|
687
666
|
__props__.__dict__["last_suspended_on"] = None
|
|
@@ -706,6 +685,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
706
685
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
707
686
|
data_timestamp: Optional[pulumi.Input[str]] = None,
|
|
708
687
|
database: Optional[pulumi.Input[str]] = None,
|
|
688
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
709
689
|
initialize: Optional[pulumi.Input[str]] = None,
|
|
710
690
|
is_clone: Optional[pulumi.Input[bool]] = None,
|
|
711
691
|
is_replica: Optional[pulumi.Input[bool]] = None,
|
|
@@ -735,6 +715,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
735
715
|
:param pulumi.Input[str] created_on: Time when this dynamic table was created.
|
|
736
716
|
:param pulumi.Input[str] data_timestamp: Timestamp of the data in the base object(s) that is included in the dynamic table.
|
|
737
717
|
:param pulumi.Input[str] database: The database in which to create the dynamic table.
|
|
718
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
738
719
|
:param pulumi.Input[str] initialize: Initialize trigger for the dynamic table. Can only be set on creation. Available options are ON*CREATE and ON*SCHEDULE.
|
|
739
720
|
:param pulumi.Input[bool] is_clone: TRUE if the dynamic table has been cloned, else FALSE.
|
|
740
721
|
:param pulumi.Input[bool] is_replica: TRUE if the dynamic table is a replica. else FALSE.
|
|
@@ -762,6 +743,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
762
743
|
__props__.__dict__["created_on"] = created_on
|
|
763
744
|
__props__.__dict__["data_timestamp"] = data_timestamp
|
|
764
745
|
__props__.__dict__["database"] = database
|
|
746
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
765
747
|
__props__.__dict__["initialize"] = initialize
|
|
766
748
|
__props__.__dict__["is_clone"] = is_clone
|
|
767
749
|
__props__.__dict__["is_replica"] = is_replica
|
|
@@ -835,6 +817,14 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
835
817
|
"""
|
|
836
818
|
return pulumi.get(self, "database")
|
|
837
819
|
|
|
820
|
+
@property
|
|
821
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
822
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
823
|
+
"""
|
|
824
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
825
|
+
"""
|
|
826
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
827
|
+
|
|
838
828
|
@property
|
|
839
829
|
@pulumi.getter
|
|
840
830
|
def initialize(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -80,11 +80,13 @@ class _EmailNotificationIntegrationState:
|
|
|
80
80
|
allowed_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
81
81
|
comment: Optional[pulumi.Input[str]] = None,
|
|
82
82
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
83
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
83
84
|
name: Optional[pulumi.Input[str]] = None):
|
|
84
85
|
"""
|
|
85
86
|
Input properties used for looking up and filtering EmailNotificationIntegration resources.
|
|
86
87
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_recipients: List of email addresses that should receive notifications.
|
|
87
88
|
:param pulumi.Input[str] comment: A comment for the email integration.
|
|
89
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
88
90
|
"""
|
|
89
91
|
if allowed_recipients is not None:
|
|
90
92
|
pulumi.set(__self__, "allowed_recipients", allowed_recipients)
|
|
@@ -92,6 +94,8 @@ class _EmailNotificationIntegrationState:
|
|
|
92
94
|
pulumi.set(__self__, "comment", comment)
|
|
93
95
|
if enabled is not None:
|
|
94
96
|
pulumi.set(__self__, "enabled", enabled)
|
|
97
|
+
if fully_qualified_name is not None:
|
|
98
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
95
99
|
if name is not None:
|
|
96
100
|
pulumi.set(__self__, "name", name)
|
|
97
101
|
|
|
@@ -128,6 +132,18 @@ class _EmailNotificationIntegrationState:
|
|
|
128
132
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
129
133
|
pulumi.set(self, "enabled", value)
|
|
130
134
|
|
|
135
|
+
@property
|
|
136
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
137
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
138
|
+
"""
|
|
139
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
140
|
+
"""
|
|
141
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
142
|
+
|
|
143
|
+
@fully_qualified_name.setter
|
|
144
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
145
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
146
|
+
|
|
131
147
|
@property
|
|
132
148
|
@pulumi.getter
|
|
133
149
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -149,19 +165,6 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
149
165
|
name: Optional[pulumi.Input[str]] = None,
|
|
150
166
|
__props__=None):
|
|
151
167
|
"""
|
|
152
|
-
## Example Usage
|
|
153
|
-
|
|
154
|
-
```python
|
|
155
|
-
import pulumi
|
|
156
|
-
import pulumi_snowflake as snowflake
|
|
157
|
-
|
|
158
|
-
email_int = snowflake.EmailNotificationIntegration("email_int",
|
|
159
|
-
name="notification",
|
|
160
|
-
comment="A notification integration.",
|
|
161
|
-
enabled=True,
|
|
162
|
-
allowed_recipients=["john.doe@gmail.com"])
|
|
163
|
-
```
|
|
164
|
-
|
|
165
168
|
## Import
|
|
166
169
|
|
|
167
170
|
```sh
|
|
@@ -180,19 +183,6 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
180
183
|
args: EmailNotificationIntegrationArgs,
|
|
181
184
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
182
185
|
"""
|
|
183
|
-
## Example Usage
|
|
184
|
-
|
|
185
|
-
```python
|
|
186
|
-
import pulumi
|
|
187
|
-
import pulumi_snowflake as snowflake
|
|
188
|
-
|
|
189
|
-
email_int = snowflake.EmailNotificationIntegration("email_int",
|
|
190
|
-
name="notification",
|
|
191
|
-
comment="A notification integration.",
|
|
192
|
-
enabled=True,
|
|
193
|
-
allowed_recipients=["john.doe@gmail.com"])
|
|
194
|
-
```
|
|
195
|
-
|
|
196
186
|
## Import
|
|
197
187
|
|
|
198
188
|
```sh
|
|
@@ -233,6 +223,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
233
223
|
raise TypeError("Missing required property 'enabled'")
|
|
234
224
|
__props__.__dict__["enabled"] = enabled
|
|
235
225
|
__props__.__dict__["name"] = name
|
|
226
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
236
227
|
super(EmailNotificationIntegration, __self__).__init__(
|
|
237
228
|
'snowflake:index/emailNotificationIntegration:EmailNotificationIntegration',
|
|
238
229
|
resource_name,
|
|
@@ -246,6 +237,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
246
237
|
allowed_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
247
238
|
comment: Optional[pulumi.Input[str]] = None,
|
|
248
239
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
240
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
249
241
|
name: Optional[pulumi.Input[str]] = None) -> 'EmailNotificationIntegration':
|
|
250
242
|
"""
|
|
251
243
|
Get an existing EmailNotificationIntegration resource's state with the given name, id, and optional extra
|
|
@@ -256,6 +248,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
256
248
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
257
249
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_recipients: List of email addresses that should receive notifications.
|
|
258
250
|
:param pulumi.Input[str] comment: A comment for the email integration.
|
|
251
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
259
252
|
"""
|
|
260
253
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
261
254
|
|
|
@@ -264,6 +257,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
264
257
|
__props__.__dict__["allowed_recipients"] = allowed_recipients
|
|
265
258
|
__props__.__dict__["comment"] = comment
|
|
266
259
|
__props__.__dict__["enabled"] = enabled
|
|
260
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
267
261
|
__props__.__dict__["name"] = name
|
|
268
262
|
return EmailNotificationIntegration(resource_name, opts=opts, __props__=__props__)
|
|
269
263
|
|
|
@@ -288,6 +282,14 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
288
282
|
def enabled(self) -> pulumi.Output[bool]:
|
|
289
283
|
return pulumi.get(self, "enabled")
|
|
290
284
|
|
|
285
|
+
@property
|
|
286
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
287
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
288
|
+
"""
|
|
289
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
290
|
+
"""
|
|
291
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
292
|
+
|
|
291
293
|
@property
|
|
292
294
|
@pulumi.getter
|
|
293
295
|
def name(self) -> pulumi.Output[str]:
|