pulumi-snowflake 0.50.2a1709892015__py3-none-any.whl → 1.2.0a1736835738__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/__init__.py +224 -172
- pulumi_snowflake/_inputs.py +52854 -1662
- pulumi_snowflake/_utilities.py +41 -5
- pulumi_snowflake/account.py +188 -214
- pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
- pulumi_snowflake/account_parameter.py +21 -44
- pulumi_snowflake/account_password_policy_attachment.py +7 -28
- pulumi_snowflake/account_role.py +250 -0
- pulumi_snowflake/alert.py +38 -43
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +704 -0
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +657 -0
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +692 -0
- pulumi_snowflake/api_integration.py +35 -50
- pulumi_snowflake/authentication_policy.py +622 -0
- pulumi_snowflake/config/__init__.pyi +76 -99
- pulumi_snowflake/config/outputs.py +5 -0
- pulumi_snowflake/config/vars.py +93 -124
- pulumi_snowflake/cortex_search_service.py +596 -0
- pulumi_snowflake/database.py +819 -209
- pulumi_snowflake/database_role.py +81 -40
- pulumi_snowflake/dynamic_table.py +44 -47
- pulumi_snowflake/email_notification_integration.py +35 -26
- pulumi_snowflake/{unsafe_execute.py → execute.py} +36 -139
- pulumi_snowflake/external_function.py +54 -71
- pulumi_snowflake/external_oauth_integration.py +593 -538
- pulumi_snowflake/external_table.py +67 -86
- pulumi_snowflake/external_volume.py +382 -0
- pulumi_snowflake/failover_group.py +59 -96
- pulumi_snowflake/file_format.py +33 -24
- pulumi_snowflake/function_java.py +1211 -0
- pulumi_snowflake/function_javascript.py +882 -0
- pulumi_snowflake/function_python.py +1212 -0
- pulumi_snowflake/function_scala.py +1212 -0
- pulumi_snowflake/function_sql.py +835 -0
- pulumi_snowflake/get_account_roles.py +129 -0
- pulumi_snowflake/get_accounts.py +53 -22
- pulumi_snowflake/get_alerts.py +22 -5
- pulumi_snowflake/get_connections.py +109 -0
- pulumi_snowflake/get_cortex_search_services.py +216 -0
- pulumi_snowflake/get_current_account.py +24 -9
- pulumi_snowflake/get_current_role.py +14 -7
- pulumi_snowflake/get_database.py +25 -5
- pulumi_snowflake/get_database_role.py +162 -0
- pulumi_snowflake/get_database_roles.py +79 -43
- pulumi_snowflake/get_databases.py +91 -69
- pulumi_snowflake/get_dynamic_tables.py +36 -19
- pulumi_snowflake/get_external_functions.py +28 -5
- pulumi_snowflake/get_external_tables.py +28 -5
- pulumi_snowflake/get_failover_groups.py +18 -7
- pulumi_snowflake/get_file_formats.py +28 -5
- pulumi_snowflake/get_functions.py +28 -5
- pulumi_snowflake/get_grants.py +207 -80
- pulumi_snowflake/get_masking_policies.py +91 -47
- pulumi_snowflake/get_materialized_views.py +28 -5
- pulumi_snowflake/get_network_policies.py +129 -0
- pulumi_snowflake/get_parameters.py +38 -11
- pulumi_snowflake/get_pipes.py +28 -5
- pulumi_snowflake/get_procedures.py +28 -5
- pulumi_snowflake/get_resource_monitors.py +37 -20
- pulumi_snowflake/get_row_access_policies.py +91 -47
- pulumi_snowflake/get_schemas.py +145 -37
- pulumi_snowflake/get_secrets.py +200 -0
- pulumi_snowflake/get_security_integrations.py +129 -0
- pulumi_snowflake/get_sequences.py +28 -5
- pulumi_snowflake/get_shares.py +18 -5
- pulumi_snowflake/get_stages.py +28 -5
- pulumi_snowflake/get_storage_integrations.py +16 -5
- pulumi_snowflake/get_streamlits.py +170 -0
- pulumi_snowflake/get_streams.py +114 -50
- pulumi_snowflake/get_system_generate_scim_access_token.py +18 -5
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +32 -7
- pulumi_snowflake/get_system_get_private_link_config.py +121 -6
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +15 -7
- pulumi_snowflake/get_tables.py +28 -5
- pulumi_snowflake/get_tags.py +130 -0
- pulumi_snowflake/get_tasks.py +134 -50
- pulumi_snowflake/get_users.py +116 -40
- pulumi_snowflake/get_views.py +114 -50
- pulumi_snowflake/get_warehouses.py +79 -22
- pulumi_snowflake/grant_account_role.py +28 -61
- pulumi_snowflake/grant_application_role.py +257 -0
- pulumi_snowflake/grant_database_role.py +35 -108
- pulumi_snowflake/grant_ownership.py +382 -0
- pulumi_snowflake/grant_privileges_to_account_role.py +42 -78
- pulumi_snowflake/grant_privileges_to_database_role.py +37 -223
- pulumi_snowflake/grant_privileges_to_share.py +96 -44
- pulumi_snowflake/legacy_service_user.py +3670 -0
- pulumi_snowflake/managed_account.py +42 -9
- pulumi_snowflake/masking_policy.py +213 -306
- pulumi_snowflake/materialized_view.py +62 -67
- pulumi_snowflake/network_policy.py +217 -57
- pulumi_snowflake/network_policy_attachment.py +7 -32
- pulumi_snowflake/network_rule.py +473 -0
- pulumi_snowflake/notification_integration.py +51 -82
- pulumi_snowflake/oauth_integration_for_custom_clients.py +906 -0
- pulumi_snowflake/{oauth_integration.py → oauth_integration_for_partner_applications.py} +191 -188
- pulumi_snowflake/object_parameter.py +12 -99
- pulumi_snowflake/outputs.py +49200 -2928
- pulumi_snowflake/password_policy.py +41 -28
- pulumi_snowflake/pipe.py +33 -0
- pulumi_snowflake/primary_connection.py +330 -0
- pulumi_snowflake/procedure_java.py +1273 -0
- pulumi_snowflake/procedure_javascript.py +895 -0
- pulumi_snowflake/procedure_python.py +1226 -0
- pulumi_snowflake/procedure_scala.py +1273 -0
- pulumi_snowflake/procedure_sql.py +895 -0
- pulumi_snowflake/provider.py +378 -613
- pulumi_snowflake/pulumi-plugin.json +2 -1
- pulumi_snowflake/resource_monitor.py +118 -323
- pulumi_snowflake/row_access_policy.py +200 -145
- pulumi_snowflake/{saml_integration.py → saml2_integration.py} +356 -295
- pulumi_snowflake/schema.py +949 -174
- pulumi_snowflake/scim_integration.py +286 -105
- pulumi_snowflake/secondary_connection.py +339 -0
- pulumi_snowflake/secondary_database.py +1080 -0
- pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
- pulumi_snowflake/secret_with_basic_authentication.py +500 -0
- pulumi_snowflake/secret_with_client_credentials.py +511 -0
- pulumi_snowflake/secret_with_generic_string.py +452 -0
- pulumi_snowflake/sequence.py +9 -30
- pulumi_snowflake/service_user.py +3585 -0
- pulumi_snowflake/share.py +35 -26
- pulumi_snowflake/shared_database.py +939 -0
- pulumi_snowflake/stage.py +95 -80
- pulumi_snowflake/storage_integration.py +48 -2
- pulumi_snowflake/stream_on_directory_table.py +517 -0
- pulumi_snowflake/stream_on_external_table.py +632 -0
- pulumi_snowflake/stream_on_table.py +666 -0
- pulumi_snowflake/stream_on_view.py +666 -0
- pulumi_snowflake/streamlit.py +671 -0
- pulumi_snowflake/table.py +86 -93
- pulumi_snowflake/table_column_masking_policy_application.py +7 -14
- pulumi_snowflake/table_constraint.py +29 -168
- pulumi_snowflake/tag.py +142 -70
- pulumi_snowflake/tag_association.py +40 -211
- pulumi_snowflake/task.py +3048 -414
- pulumi_snowflake/user.py +3351 -380
- pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
- pulumi_snowflake/user_password_policy_attachment.py +7 -6
- pulumi_snowflake/user_public_keys.py +5 -0
- pulumi_snowflake/view.py +466 -211
- pulumi_snowflake/warehouse.py +184 -164
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/METADATA +7 -6
- pulumi_snowflake-1.2.0a1736835738.dist-info/RECORD +148 -0
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/WHEEL +1 -1
- pulumi_snowflake/account_grant.py +0 -339
- pulumi_snowflake/database_grant.py +0 -491
- pulumi_snowflake/external_table_grant.py +0 -686
- pulumi_snowflake/failover_group_grant.py +0 -388
- pulumi_snowflake/file_format_grant.py +0 -631
- pulumi_snowflake/function.py +0 -868
- pulumi_snowflake/function_grant.py +0 -741
- pulumi_snowflake/get_role.py +0 -117
- pulumi_snowflake/get_roles.py +0 -116
- pulumi_snowflake/grant_privileges_to_role.py +0 -667
- pulumi_snowflake/integration_grant.py +0 -436
- pulumi_snowflake/masking_policy_grant.py +0 -538
- pulumi_snowflake/materialized_view_grant.py +0 -685
- pulumi_snowflake/pipe_grant.py +0 -583
- pulumi_snowflake/procedure.py +0 -883
- pulumi_snowflake/procedure_grant.py +0 -741
- pulumi_snowflake/resource_monitor_grant.py +0 -383
- pulumi_snowflake/role.py +0 -269
- pulumi_snowflake/role_grants.py +0 -348
- pulumi_snowflake/role_ownership_grant.py +0 -334
- pulumi_snowflake/row_access_policy_grant.py +0 -536
- pulumi_snowflake/schema_grant.py +0 -643
- pulumi_snowflake/sequence_grant.py +0 -631
- pulumi_snowflake/session_parameter.py +0 -328
- pulumi_snowflake/stage_grant.py +0 -631
- pulumi_snowflake/stream.py +0 -610
- pulumi_snowflake/stream_grant.py +0 -631
- pulumi_snowflake/table_grant.py +0 -673
- pulumi_snowflake/tag_grant.py +0 -528
- pulumi_snowflake/tag_masking_policy_association.py +0 -210
- pulumi_snowflake/task_grant.py +0 -631
- pulumi_snowflake/user_grant.py +0 -390
- pulumi_snowflake/user_ownership_grant.py +0 -286
- pulumi_snowflake/view_grant.py +0 -701
- pulumi_snowflake/warehouse_grant.py +0 -436
- pulumi_snowflake-0.50.2a1709892015.dist-info/RECORD +0 -136
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/top_level.txt +0 -0
|
@@ -4,10 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
11
18
|
|
|
12
19
|
__all__ = ['DatabaseRoleArgs', 'DatabaseRole']
|
|
13
20
|
|
|
@@ -19,9 +26,9 @@ class DatabaseRoleArgs:
|
|
|
19
26
|
name: Optional[pulumi.Input[str]] = None):
|
|
20
27
|
"""
|
|
21
28
|
The set of arguments for constructing a DatabaseRole resource.
|
|
22
|
-
:param pulumi.Input[str] database: The database in which to create the database role.
|
|
29
|
+
: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
30
|
: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.
|
|
31
|
+
: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
32
|
"""
|
|
26
33
|
pulumi.set(__self__, "database", database)
|
|
27
34
|
if comment is not None:
|
|
@@ -33,7 +40,7 @@ class DatabaseRoleArgs:
|
|
|
33
40
|
@pulumi.getter
|
|
34
41
|
def database(self) -> pulumi.Input[str]:
|
|
35
42
|
"""
|
|
36
|
-
The database in which to create the database role.
|
|
43
|
+
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
37
44
|
"""
|
|
38
45
|
return pulumi.get(self, "database")
|
|
39
46
|
|
|
@@ -57,7 +64,7 @@ class DatabaseRoleArgs:
|
|
|
57
64
|
@pulumi.getter
|
|
58
65
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
59
66
|
"""
|
|
60
|
-
Specifies the identifier for the database role.
|
|
67
|
+
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
61
68
|
"""
|
|
62
69
|
return pulumi.get(self, "name")
|
|
63
70
|
|
|
@@ -71,19 +78,27 @@ class _DatabaseRoleState:
|
|
|
71
78
|
def __init__(__self__, *,
|
|
72
79
|
comment: Optional[pulumi.Input[str]] = None,
|
|
73
80
|
database: Optional[pulumi.Input[str]] = None,
|
|
74
|
-
|
|
81
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
82
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
83
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRoleShowOutputArgs']]]] = None):
|
|
75
84
|
"""
|
|
76
85
|
Input properties used for looking up and filtering DatabaseRole resources.
|
|
77
86
|
: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]
|
|
87
|
+
: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: `|`, `.`, `"`.
|
|
88
|
+
: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).
|
|
89
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
90
|
+
: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
91
|
"""
|
|
81
92
|
if comment is not None:
|
|
82
93
|
pulumi.set(__self__, "comment", comment)
|
|
83
94
|
if database is not None:
|
|
84
95
|
pulumi.set(__self__, "database", database)
|
|
96
|
+
if fully_qualified_name is not None:
|
|
97
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
85
98
|
if name is not None:
|
|
86
99
|
pulumi.set(__self__, "name", name)
|
|
100
|
+
if show_outputs is not None:
|
|
101
|
+
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
87
102
|
|
|
88
103
|
@property
|
|
89
104
|
@pulumi.getter
|
|
@@ -101,7 +116,7 @@ class _DatabaseRoleState:
|
|
|
101
116
|
@pulumi.getter
|
|
102
117
|
def database(self) -> Optional[pulumi.Input[str]]:
|
|
103
118
|
"""
|
|
104
|
-
The database in which to create the database role.
|
|
119
|
+
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
105
120
|
"""
|
|
106
121
|
return pulumi.get(self, "database")
|
|
107
122
|
|
|
@@ -109,11 +124,23 @@ class _DatabaseRoleState:
|
|
|
109
124
|
def database(self, value: Optional[pulumi.Input[str]]):
|
|
110
125
|
pulumi.set(self, "database", value)
|
|
111
126
|
|
|
127
|
+
@property
|
|
128
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
129
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
130
|
+
"""
|
|
131
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
134
|
+
|
|
135
|
+
@fully_qualified_name.setter
|
|
136
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
137
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
138
|
+
|
|
112
139
|
@property
|
|
113
140
|
@pulumi.getter
|
|
114
141
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
115
142
|
"""
|
|
116
|
-
Specifies the identifier for the database role.
|
|
143
|
+
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
117
144
|
"""
|
|
118
145
|
return pulumi.get(self, "name")
|
|
119
146
|
|
|
@@ -121,6 +148,18 @@ class _DatabaseRoleState:
|
|
|
121
148
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
122
149
|
pulumi.set(self, "name", value)
|
|
123
150
|
|
|
151
|
+
@property
|
|
152
|
+
@pulumi.getter(name="showOutputs")
|
|
153
|
+
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRoleShowOutputArgs']]]]:
|
|
154
|
+
"""
|
|
155
|
+
Outputs the result of `SHOW DATABASE ROLES` for the given database role. Note that this value will be only recomputed whenever comment field changes.
|
|
156
|
+
"""
|
|
157
|
+
return pulumi.get(self, "show_outputs")
|
|
158
|
+
|
|
159
|
+
@show_outputs.setter
|
|
160
|
+
def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRoleShowOutputArgs']]]]):
|
|
161
|
+
pulumi.set(self, "show_outputs", value)
|
|
162
|
+
|
|
124
163
|
|
|
125
164
|
class DatabaseRole(pulumi.CustomResource):
|
|
126
165
|
@overload
|
|
@@ -132,28 +171,17 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
132
171
|
name: Optional[pulumi.Input[str]] = None,
|
|
133
172
|
__props__=None):
|
|
134
173
|
"""
|
|
135
|
-
## Example Usage
|
|
136
|
-
|
|
137
|
-
```python
|
|
138
|
-
import pulumi
|
|
139
|
-
import pulumi_snowflake as snowflake
|
|
140
|
-
|
|
141
|
-
db_role = snowflake.DatabaseRole("dbRole",
|
|
142
|
-
comment="my db role",
|
|
143
|
-
database="database")
|
|
144
|
-
```
|
|
145
|
-
|
|
146
174
|
## Import
|
|
147
175
|
|
|
148
176
|
```sh
|
|
149
|
-
|
|
177
|
+
$ pulumi import snowflake:index/databaseRole:DatabaseRole example '"<database_name>"."<database_role_name>"'
|
|
150
178
|
```
|
|
151
179
|
|
|
152
180
|
:param str resource_name: The name of the resource.
|
|
153
181
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
154
182
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
155
|
-
:param pulumi.Input[str] database: The database in which to create the database role.
|
|
156
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database role.
|
|
183
|
+
: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: `|`, `.`, `"`.
|
|
184
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
157
185
|
"""
|
|
158
186
|
...
|
|
159
187
|
@overload
|
|
@@ -162,21 +190,10 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
162
190
|
args: DatabaseRoleArgs,
|
|
163
191
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
164
192
|
"""
|
|
165
|
-
## Example Usage
|
|
166
|
-
|
|
167
|
-
```python
|
|
168
|
-
import pulumi
|
|
169
|
-
import pulumi_snowflake as snowflake
|
|
170
|
-
|
|
171
|
-
db_role = snowflake.DatabaseRole("dbRole",
|
|
172
|
-
comment="my db role",
|
|
173
|
-
database="database")
|
|
174
|
-
```
|
|
175
|
-
|
|
176
193
|
## Import
|
|
177
194
|
|
|
178
195
|
```sh
|
|
179
|
-
|
|
196
|
+
$ pulumi import snowflake:index/databaseRole:DatabaseRole example '"<database_name>"."<database_role_name>"'
|
|
180
197
|
```
|
|
181
198
|
|
|
182
199
|
:param str resource_name: The name of the resource.
|
|
@@ -211,6 +228,8 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
211
228
|
raise TypeError("Missing required property 'database'")
|
|
212
229
|
__props__.__dict__["database"] = database
|
|
213
230
|
__props__.__dict__["name"] = name
|
|
231
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
232
|
+
__props__.__dict__["show_outputs"] = None
|
|
214
233
|
super(DatabaseRole, __self__).__init__(
|
|
215
234
|
'snowflake:index/databaseRole:DatabaseRole',
|
|
216
235
|
resource_name,
|
|
@@ -223,7 +242,9 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
223
242
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
224
243
|
comment: Optional[pulumi.Input[str]] = None,
|
|
225
244
|
database: Optional[pulumi.Input[str]] = None,
|
|
226
|
-
|
|
245
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
246
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
247
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseRoleShowOutputArgs', 'DatabaseRoleShowOutputArgsDict']]]]] = None) -> 'DatabaseRole':
|
|
227
248
|
"""
|
|
228
249
|
Get an existing DatabaseRole resource's state with the given name, id, and optional extra
|
|
229
250
|
properties used to qualify the lookup.
|
|
@@ -232,8 +253,10 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
232
253
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
233
254
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
234
255
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
235
|
-
:param pulumi.Input[str] database: The database in which to create the database role.
|
|
236
|
-
:param pulumi.Input[str]
|
|
256
|
+
: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: `|`, `.`, `"`.
|
|
257
|
+
: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).
|
|
258
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
259
|
+
: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.
|
|
237
260
|
"""
|
|
238
261
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
239
262
|
|
|
@@ -241,7 +264,9 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
241
264
|
|
|
242
265
|
__props__.__dict__["comment"] = comment
|
|
243
266
|
__props__.__dict__["database"] = database
|
|
267
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
244
268
|
__props__.__dict__["name"] = name
|
|
269
|
+
__props__.__dict__["show_outputs"] = show_outputs
|
|
245
270
|
return DatabaseRole(resource_name, opts=opts, __props__=__props__)
|
|
246
271
|
|
|
247
272
|
@property
|
|
@@ -256,15 +281,31 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
256
281
|
@pulumi.getter
|
|
257
282
|
def database(self) -> pulumi.Output[str]:
|
|
258
283
|
"""
|
|
259
|
-
The database in which to create the database role.
|
|
284
|
+
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
260
285
|
"""
|
|
261
286
|
return pulumi.get(self, "database")
|
|
262
287
|
|
|
288
|
+
@property
|
|
289
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
290
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
291
|
+
"""
|
|
292
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
293
|
+
"""
|
|
294
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
295
|
+
|
|
263
296
|
@property
|
|
264
297
|
@pulumi.getter
|
|
265
298
|
def name(self) -> pulumi.Output[str]:
|
|
266
299
|
"""
|
|
267
|
-
Specifies the identifier for the database role.
|
|
300
|
+
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
268
301
|
"""
|
|
269
302
|
return pulumi.get(self, "name")
|
|
270
303
|
|
|
304
|
+
@property
|
|
305
|
+
@pulumi.getter(name="showOutputs")
|
|
306
|
+
def show_outputs(self) -> pulumi.Output[Sequence['outputs.DatabaseRoleShowOutput']]:
|
|
307
|
+
"""
|
|
308
|
+
Outputs the result of `SHOW DATABASE ROLES` for the given database role. Note that this value will be only recomputed whenever comment field changes.
|
|
309
|
+
"""
|
|
310
|
+
return pulumi.get(self, "show_outputs")
|
|
311
|
+
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -186,6 +191,7 @@ class _DynamicTableState:
|
|
|
186
191
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
187
192
|
data_timestamp: Optional[pulumi.Input[str]] = None,
|
|
188
193
|
database: Optional[pulumi.Input[str]] = None,
|
|
194
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
189
195
|
initialize: Optional[pulumi.Input[str]] = None,
|
|
190
196
|
is_clone: Optional[pulumi.Input[bool]] = None,
|
|
191
197
|
is_replica: Optional[pulumi.Input[bool]] = None,
|
|
@@ -210,6 +216,7 @@ class _DynamicTableState:
|
|
|
210
216
|
:param pulumi.Input[str] created_on: Time when this dynamic table was created.
|
|
211
217
|
:param pulumi.Input[str] data_timestamp: Timestamp of the data in the base object(s) that is included in the dynamic table.
|
|
212
218
|
:param pulumi.Input[str] database: The database in which to create the dynamic table.
|
|
219
|
+
: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
220
|
: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
221
|
:param pulumi.Input[bool] is_clone: TRUE if the dynamic table has been cloned, else FALSE.
|
|
215
222
|
:param pulumi.Input[bool] is_replica: TRUE if the dynamic table is a replica. else FALSE.
|
|
@@ -221,7 +228,7 @@ class _DynamicTableState:
|
|
|
221
228
|
:param pulumi.Input[str] refresh_mode: INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide.
|
|
222
229
|
:param pulumi.Input[str] refresh_mode_reason: Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
|
|
223
230
|
:param pulumi.Input[int] rows: Number of rows in the table.
|
|
224
|
-
:param pulumi.Input[str] scheduling_state: Displays
|
|
231
|
+
:param pulumi.Input[str] scheduling_state: Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
|
|
225
232
|
:param pulumi.Input[str] schema: The schema in which to create the dynamic table.
|
|
226
233
|
:param pulumi.Input['DynamicTableTargetLagArgs'] target_lag: Specifies the target lag time for the dynamic table.
|
|
227
234
|
:param pulumi.Input[str] warehouse: The warehouse in which to create the dynamic table.
|
|
@@ -240,6 +247,8 @@ class _DynamicTableState:
|
|
|
240
247
|
pulumi.set(__self__, "data_timestamp", data_timestamp)
|
|
241
248
|
if database is not None:
|
|
242
249
|
pulumi.set(__self__, "database", database)
|
|
250
|
+
if fully_qualified_name is not None:
|
|
251
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
243
252
|
if initialize is not None:
|
|
244
253
|
pulumi.set(__self__, "initialize", initialize)
|
|
245
254
|
if is_clone is not None:
|
|
@@ -355,6 +364,18 @@ class _DynamicTableState:
|
|
|
355
364
|
def database(self, value: Optional[pulumi.Input[str]]):
|
|
356
365
|
pulumi.set(self, "database", value)
|
|
357
366
|
|
|
367
|
+
@property
|
|
368
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
369
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
370
|
+
"""
|
|
371
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
372
|
+
"""
|
|
373
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
374
|
+
|
|
375
|
+
@fully_qualified_name.setter
|
|
376
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
377
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
378
|
+
|
|
358
379
|
@property
|
|
359
380
|
@pulumi.getter
|
|
360
381
|
def initialize(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -491,7 +512,7 @@ class _DynamicTableState:
|
|
|
491
512
|
@pulumi.getter(name="schedulingState")
|
|
492
513
|
def scheduling_state(self) -> Optional[pulumi.Input[str]]:
|
|
493
514
|
"""
|
|
494
|
-
Displays
|
|
515
|
+
Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
|
|
495
516
|
"""
|
|
496
517
|
return pulumi.get(self, "scheduling_state")
|
|
497
518
|
|
|
@@ -549,32 +570,14 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
549
570
|
query: Optional[pulumi.Input[str]] = None,
|
|
550
571
|
refresh_mode: Optional[pulumi.Input[str]] = None,
|
|
551
572
|
schema: Optional[pulumi.Input[str]] = None,
|
|
552
|
-
target_lag: Optional[pulumi.Input[
|
|
573
|
+
target_lag: Optional[pulumi.Input[Union['DynamicTableTargetLagArgs', 'DynamicTableTargetLagArgsDict']]] = None,
|
|
553
574
|
warehouse: Optional[pulumi.Input[str]] = None,
|
|
554
575
|
__props__=None):
|
|
555
576
|
"""
|
|
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
|
-
comment="example comment",
|
|
565
|
-
database="mydb",
|
|
566
|
-
query="SELECT product_id, product_name FROM \\"mydb\\".\\"myschema\\".\\"staging_table\\"",
|
|
567
|
-
schema="myschema",
|
|
568
|
-
target_lag=snowflake.DynamicTableTargetLagArgs(
|
|
569
|
-
maximum_duration="20 minutes",
|
|
570
|
-
),
|
|
571
|
-
warehouse="mywh")
|
|
572
|
-
```
|
|
573
|
-
|
|
574
577
|
## Import
|
|
575
578
|
|
|
576
579
|
```sh
|
|
577
|
-
|
|
580
|
+
$ pulumi import snowflake:index/dynamicTable:DynamicTable dt "mydb|myschema|product"
|
|
578
581
|
```
|
|
579
582
|
|
|
580
583
|
:param str resource_name: The name of the resource.
|
|
@@ -587,7 +590,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
587
590
|
:param pulumi.Input[str] query: Specifies the query to use to populate the dynamic table.
|
|
588
591
|
:param pulumi.Input[str] refresh_mode: INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide.
|
|
589
592
|
:param pulumi.Input[str] schema: The schema in which to create the dynamic table.
|
|
590
|
-
:param pulumi.Input[
|
|
593
|
+
:param pulumi.Input[Union['DynamicTableTargetLagArgs', 'DynamicTableTargetLagArgsDict']] target_lag: Specifies the target lag time for the dynamic table.
|
|
591
594
|
:param pulumi.Input[str] warehouse: The warehouse in which to create the dynamic table.
|
|
592
595
|
"""
|
|
593
596
|
...
|
|
@@ -597,28 +600,10 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
597
600
|
args: DynamicTableArgs,
|
|
598
601
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
599
602
|
"""
|
|
600
|
-
## Example Usage
|
|
601
|
-
|
|
602
|
-
```python
|
|
603
|
-
import pulumi
|
|
604
|
-
import pulumi_snowflake as snowflake
|
|
605
|
-
|
|
606
|
-
# https://docs.snowflake.com/en/sql-reference/sql/create-dynamic-table#examples
|
|
607
|
-
dt = snowflake.DynamicTable("dt",
|
|
608
|
-
comment="example comment",
|
|
609
|
-
database="mydb",
|
|
610
|
-
query="SELECT product_id, product_name FROM \\"mydb\\".\\"myschema\\".\\"staging_table\\"",
|
|
611
|
-
schema="myschema",
|
|
612
|
-
target_lag=snowflake.DynamicTableTargetLagArgs(
|
|
613
|
-
maximum_duration="20 minutes",
|
|
614
|
-
),
|
|
615
|
-
warehouse="mywh")
|
|
616
|
-
```
|
|
617
|
-
|
|
618
603
|
## Import
|
|
619
604
|
|
|
620
605
|
```sh
|
|
621
|
-
|
|
606
|
+
$ pulumi import snowflake:index/dynamicTable:DynamicTable dt "mydb|myschema|product"
|
|
622
607
|
```
|
|
623
608
|
|
|
624
609
|
:param str resource_name: The name of the resource.
|
|
@@ -644,7 +629,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
644
629
|
query: Optional[pulumi.Input[str]] = None,
|
|
645
630
|
refresh_mode: Optional[pulumi.Input[str]] = None,
|
|
646
631
|
schema: Optional[pulumi.Input[str]] = None,
|
|
647
|
-
target_lag: Optional[pulumi.Input[
|
|
632
|
+
target_lag: Optional[pulumi.Input[Union['DynamicTableTargetLagArgs', 'DynamicTableTargetLagArgsDict']]] = None,
|
|
648
633
|
warehouse: Optional[pulumi.Input[str]] = None,
|
|
649
634
|
__props__=None):
|
|
650
635
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -680,6 +665,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
680
665
|
__props__.__dict__["cluster_by"] = None
|
|
681
666
|
__props__.__dict__["created_on"] = None
|
|
682
667
|
__props__.__dict__["data_timestamp"] = None
|
|
668
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
683
669
|
__props__.__dict__["is_clone"] = None
|
|
684
670
|
__props__.__dict__["is_replica"] = None
|
|
685
671
|
__props__.__dict__["last_suspended_on"] = None
|
|
@@ -704,6 +690,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
704
690
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
705
691
|
data_timestamp: Optional[pulumi.Input[str]] = None,
|
|
706
692
|
database: Optional[pulumi.Input[str]] = None,
|
|
693
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
707
694
|
initialize: Optional[pulumi.Input[str]] = None,
|
|
708
695
|
is_clone: Optional[pulumi.Input[bool]] = None,
|
|
709
696
|
is_replica: Optional[pulumi.Input[bool]] = None,
|
|
@@ -717,7 +704,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
717
704
|
rows: Optional[pulumi.Input[int]] = None,
|
|
718
705
|
scheduling_state: Optional[pulumi.Input[str]] = None,
|
|
719
706
|
schema: Optional[pulumi.Input[str]] = None,
|
|
720
|
-
target_lag: Optional[pulumi.Input[
|
|
707
|
+
target_lag: Optional[pulumi.Input[Union['DynamicTableTargetLagArgs', 'DynamicTableTargetLagArgsDict']]] = None,
|
|
721
708
|
warehouse: Optional[pulumi.Input[str]] = None) -> 'DynamicTable':
|
|
722
709
|
"""
|
|
723
710
|
Get an existing DynamicTable resource's state with the given name, id, and optional extra
|
|
@@ -733,6 +720,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
733
720
|
:param pulumi.Input[str] created_on: Time when this dynamic table was created.
|
|
734
721
|
:param pulumi.Input[str] data_timestamp: Timestamp of the data in the base object(s) that is included in the dynamic table.
|
|
735
722
|
:param pulumi.Input[str] database: The database in which to create the dynamic table.
|
|
723
|
+
: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).
|
|
736
724
|
: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.
|
|
737
725
|
:param pulumi.Input[bool] is_clone: TRUE if the dynamic table has been cloned, else FALSE.
|
|
738
726
|
:param pulumi.Input[bool] is_replica: TRUE if the dynamic table is a replica. else FALSE.
|
|
@@ -744,9 +732,9 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
744
732
|
:param pulumi.Input[str] refresh_mode: INCREMENTAL to use incremental refreshes, FULL to recompute the whole table on every refresh, or AUTO to let Snowflake decide.
|
|
745
733
|
:param pulumi.Input[str] refresh_mode_reason: Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
|
|
746
734
|
:param pulumi.Input[int] rows: Number of rows in the table.
|
|
747
|
-
:param pulumi.Input[str] scheduling_state: Displays
|
|
735
|
+
:param pulumi.Input[str] scheduling_state: Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
|
|
748
736
|
:param pulumi.Input[str] schema: The schema in which to create the dynamic table.
|
|
749
|
-
:param pulumi.Input[
|
|
737
|
+
:param pulumi.Input[Union['DynamicTableTargetLagArgs', 'DynamicTableTargetLagArgsDict']] target_lag: Specifies the target lag time for the dynamic table.
|
|
750
738
|
:param pulumi.Input[str] warehouse: The warehouse in which to create the dynamic table.
|
|
751
739
|
"""
|
|
752
740
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -760,6 +748,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
760
748
|
__props__.__dict__["created_on"] = created_on
|
|
761
749
|
__props__.__dict__["data_timestamp"] = data_timestamp
|
|
762
750
|
__props__.__dict__["database"] = database
|
|
751
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
763
752
|
__props__.__dict__["initialize"] = initialize
|
|
764
753
|
__props__.__dict__["is_clone"] = is_clone
|
|
765
754
|
__props__.__dict__["is_replica"] = is_replica
|
|
@@ -833,6 +822,14 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
833
822
|
"""
|
|
834
823
|
return pulumi.get(self, "database")
|
|
835
824
|
|
|
825
|
+
@property
|
|
826
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
827
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
828
|
+
"""
|
|
829
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
830
|
+
"""
|
|
831
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
832
|
+
|
|
836
833
|
@property
|
|
837
834
|
@pulumi.getter
|
|
838
835
|
def initialize(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -925,7 +922,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
925
922
|
@pulumi.getter(name="schedulingState")
|
|
926
923
|
def scheduling_state(self) -> pulumi.Output[str]:
|
|
927
924
|
"""
|
|
928
|
-
Displays
|
|
925
|
+
Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
|
|
929
926
|
"""
|
|
930
927
|
return pulumi.get(self, "scheduling_state")
|
|
931
928
|
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['EmailNotificationIntegrationArgs', 'EmailNotificationIntegration']
|
|
@@ -80,11 +85,13 @@ class _EmailNotificationIntegrationState:
|
|
|
80
85
|
allowed_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
81
86
|
comment: Optional[pulumi.Input[str]] = None,
|
|
82
87
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
88
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
83
89
|
name: Optional[pulumi.Input[str]] = None):
|
|
84
90
|
"""
|
|
85
91
|
Input properties used for looking up and filtering EmailNotificationIntegration resources.
|
|
86
92
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_recipients: List of email addresses that should receive notifications.
|
|
87
93
|
:param pulumi.Input[str] comment: A comment for the email integration.
|
|
94
|
+
: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
95
|
"""
|
|
89
96
|
if allowed_recipients is not None:
|
|
90
97
|
pulumi.set(__self__, "allowed_recipients", allowed_recipients)
|
|
@@ -92,6 +99,8 @@ class _EmailNotificationIntegrationState:
|
|
|
92
99
|
pulumi.set(__self__, "comment", comment)
|
|
93
100
|
if enabled is not None:
|
|
94
101
|
pulumi.set(__self__, "enabled", enabled)
|
|
102
|
+
if fully_qualified_name is not None:
|
|
103
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
95
104
|
if name is not None:
|
|
96
105
|
pulumi.set(__self__, "name", name)
|
|
97
106
|
|
|
@@ -128,6 +137,18 @@ class _EmailNotificationIntegrationState:
|
|
|
128
137
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
129
138
|
pulumi.set(self, "enabled", value)
|
|
130
139
|
|
|
140
|
+
@property
|
|
141
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
142
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
143
|
+
"""
|
|
144
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
145
|
+
"""
|
|
146
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
147
|
+
|
|
148
|
+
@fully_qualified_name.setter
|
|
149
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
150
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
151
|
+
|
|
131
152
|
@property
|
|
132
153
|
@pulumi.getter
|
|
133
154
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -149,22 +170,10 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
149
170
|
name: Optional[pulumi.Input[str]] = None,
|
|
150
171
|
__props__=None):
|
|
151
172
|
"""
|
|
152
|
-
## Example Usage
|
|
153
|
-
|
|
154
|
-
```python
|
|
155
|
-
import pulumi
|
|
156
|
-
import pulumi_snowflake as snowflake
|
|
157
|
-
|
|
158
|
-
email_int = snowflake.EmailNotificationIntegration("emailInt",
|
|
159
|
-
allowed_recipients=["john.doe@gmail.com"],
|
|
160
|
-
comment="A notification integration.",
|
|
161
|
-
enabled=True)
|
|
162
|
-
```
|
|
163
|
-
|
|
164
173
|
## Import
|
|
165
174
|
|
|
166
175
|
```sh
|
|
167
|
-
|
|
176
|
+
$ pulumi import snowflake:index/emailNotificationIntegration:EmailNotificationIntegration example name
|
|
168
177
|
```
|
|
169
178
|
|
|
170
179
|
:param str resource_name: The name of the resource.
|
|
@@ -179,22 +188,10 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
179
188
|
args: EmailNotificationIntegrationArgs,
|
|
180
189
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
181
190
|
"""
|
|
182
|
-
## Example Usage
|
|
183
|
-
|
|
184
|
-
```python
|
|
185
|
-
import pulumi
|
|
186
|
-
import pulumi_snowflake as snowflake
|
|
187
|
-
|
|
188
|
-
email_int = snowflake.EmailNotificationIntegration("emailInt",
|
|
189
|
-
allowed_recipients=["john.doe@gmail.com"],
|
|
190
|
-
comment="A notification integration.",
|
|
191
|
-
enabled=True)
|
|
192
|
-
```
|
|
193
|
-
|
|
194
191
|
## Import
|
|
195
192
|
|
|
196
193
|
```sh
|
|
197
|
-
|
|
194
|
+
$ pulumi import snowflake:index/emailNotificationIntegration:EmailNotificationIntegration example name
|
|
198
195
|
```
|
|
199
196
|
|
|
200
197
|
:param str resource_name: The name of the resource.
|
|
@@ -231,6 +228,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
231
228
|
raise TypeError("Missing required property 'enabled'")
|
|
232
229
|
__props__.__dict__["enabled"] = enabled
|
|
233
230
|
__props__.__dict__["name"] = name
|
|
231
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
234
232
|
super(EmailNotificationIntegration, __self__).__init__(
|
|
235
233
|
'snowflake:index/emailNotificationIntegration:EmailNotificationIntegration',
|
|
236
234
|
resource_name,
|
|
@@ -244,6 +242,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
244
242
|
allowed_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
245
243
|
comment: Optional[pulumi.Input[str]] = None,
|
|
246
244
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
245
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
247
246
|
name: Optional[pulumi.Input[str]] = None) -> 'EmailNotificationIntegration':
|
|
248
247
|
"""
|
|
249
248
|
Get an existing EmailNotificationIntegration resource's state with the given name, id, and optional extra
|
|
@@ -254,6 +253,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
254
253
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
255
254
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_recipients: List of email addresses that should receive notifications.
|
|
256
255
|
:param pulumi.Input[str] comment: A comment for the email integration.
|
|
256
|
+
: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).
|
|
257
257
|
"""
|
|
258
258
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
259
259
|
|
|
@@ -262,6 +262,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
262
262
|
__props__.__dict__["allowed_recipients"] = allowed_recipients
|
|
263
263
|
__props__.__dict__["comment"] = comment
|
|
264
264
|
__props__.__dict__["enabled"] = enabled
|
|
265
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
265
266
|
__props__.__dict__["name"] = name
|
|
266
267
|
return EmailNotificationIntegration(resource_name, opts=opts, __props__=__props__)
|
|
267
268
|
|
|
@@ -286,6 +287,14 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
286
287
|
def enabled(self) -> pulumi.Output[bool]:
|
|
287
288
|
return pulumi.get(self, "enabled")
|
|
288
289
|
|
|
290
|
+
@property
|
|
291
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
292
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
293
|
+
"""
|
|
294
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
295
|
+
"""
|
|
296
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
297
|
+
|
|
289
298
|
@property
|
|
290
299
|
@pulumi.getter
|
|
291
300
|
def name(self) -> pulumi.Output[str]:
|