pulumi-snowflake 0.50.3a1710160126__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 +52857 -1665
- pulumi_snowflake/_utilities.py +41 -5
- pulumi_snowflake/account.py +188 -218
- pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
- pulumi_snowflake/account_parameter.py +21 -48
- pulumi_snowflake/account_password_policy_attachment.py +7 -32
- pulumi_snowflake/account_role.py +250 -0
- pulumi_snowflake/alert.py +38 -47
- 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 +33 -52
- 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 -213
- pulumi_snowflake/database_role.py +81 -44
- pulumi_snowflake/dynamic_table.py +42 -49
- pulumi_snowflake/email_notification_integration.py +33 -28
- pulumi_snowflake/{unsafe_execute.py → execute.py} +36 -39
- pulumi_snowflake/external_function.py +54 -75
- pulumi_snowflake/external_oauth_integration.py +593 -542
- pulumi_snowflake/external_table.py +67 -90
- pulumi_snowflake/external_volume.py +382 -0
- pulumi_snowflake/failover_group.py +57 -98
- pulumi_snowflake/file_format.py +33 -28
- 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 -9
- pulumi_snowflake/get_connections.py +109 -0
- pulumi_snowflake/get_cortex_search_services.py +216 -0
- pulumi_snowflake/get_current_account.py +24 -13
- pulumi_snowflake/get_current_role.py +14 -7
- pulumi_snowflake/get_database.py +25 -9
- pulumi_snowflake/get_database_role.py +162 -0
- pulumi_snowflake/get_database_roles.py +79 -47
- pulumi_snowflake/get_databases.py +91 -73
- pulumi_snowflake/get_dynamic_tables.py +36 -19
- pulumi_snowflake/get_external_functions.py +28 -9
- pulumi_snowflake/get_external_tables.py +28 -9
- pulumi_snowflake/get_failover_groups.py +18 -7
- pulumi_snowflake/get_file_formats.py +28 -9
- pulumi_snowflake/get_functions.py +28 -9
- pulumi_snowflake/get_grants.py +207 -84
- pulumi_snowflake/get_masking_policies.py +91 -51
- pulumi_snowflake/get_materialized_views.py +28 -9
- pulumi_snowflake/get_network_policies.py +129 -0
- pulumi_snowflake/get_parameters.py +38 -15
- pulumi_snowflake/get_pipes.py +28 -9
- pulumi_snowflake/get_procedures.py +28 -9
- pulumi_snowflake/get_resource_monitors.py +37 -24
- pulumi_snowflake/get_row_access_policies.py +91 -51
- pulumi_snowflake/get_schemas.py +145 -41
- pulumi_snowflake/get_secrets.py +200 -0
- pulumi_snowflake/get_security_integrations.py +129 -0
- pulumi_snowflake/get_sequences.py +28 -9
- pulumi_snowflake/get_shares.py +18 -9
- pulumi_snowflake/get_stages.py +28 -9
- pulumi_snowflake/get_storage_integrations.py +16 -9
- pulumi_snowflake/get_streamlits.py +170 -0
- pulumi_snowflake/get_streams.py +114 -54
- pulumi_snowflake/get_system_generate_scim_access_token.py +18 -9
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +32 -7
- pulumi_snowflake/get_system_get_private_link_config.py +120 -5
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +15 -7
- pulumi_snowflake/get_tables.py +28 -9
- pulumi_snowflake/get_tags.py +130 -0
- pulumi_snowflake/get_tasks.py +134 -54
- pulumi_snowflake/get_users.py +116 -44
- pulumi_snowflake/get_views.py +114 -54
- pulumi_snowflake/get_warehouses.py +79 -26
- pulumi_snowflake/grant_account_role.py +28 -75
- pulumi_snowflake/grant_application_role.py +257 -0
- pulumi_snowflake/grant_database_role.py +35 -94
- 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 -383
- pulumi_snowflake/grant_privileges_to_share.py +96 -44
- pulumi_snowflake/legacy_service_user.py +3670 -0
- pulumi_snowflake/managed_account.py +40 -11
- pulumi_snowflake/masking_policy.py +213 -310
- pulumi_snowflake/materialized_view.py +62 -71
- pulumi_snowflake/network_policy.py +217 -61
- pulumi_snowflake/network_policy_attachment.py +5 -34
- pulumi_snowflake/network_rule.py +473 -0
- pulumi_snowflake/notification_integration.py +49 -84
- pulumi_snowflake/oauth_integration_for_custom_clients.py +906 -0
- pulumi_snowflake/{oauth_integration.py → oauth_integration_for_partner_applications.py} +191 -192
- pulumi_snowflake/object_parameter.py +10 -101
- pulumi_snowflake/outputs.py +49200 -2928
- pulumi_snowflake/password_policy.py +41 -28
- pulumi_snowflake/pipe.py +33 -4
- 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 -327
- pulumi_snowflake/row_access_policy.py +200 -149
- pulumi_snowflake/{saml_integration.py → saml2_integration.py} +356 -299
- pulumi_snowflake/schema.py +949 -178
- pulumi_snowflake/scim_integration.py +286 -109
- 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 -34
- pulumi_snowflake/service_user.py +3585 -0
- pulumi_snowflake/share.py +33 -28
- pulumi_snowflake/shared_database.py +939 -0
- pulumi_snowflake/stage.py +95 -84
- pulumi_snowflake/storage_integration.py +46 -4
- 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 -97
- pulumi_snowflake/table_column_masking_policy_application.py +7 -14
- pulumi_snowflake/table_constraint.py +29 -172
- pulumi_snowflake/tag.py +142 -74
- pulumi_snowflake/tag_association.py +40 -215
- pulumi_snowflake/task.py +3048 -418
- pulumi_snowflake/user.py +3351 -384
- pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
- pulumi_snowflake/user_password_policy_attachment.py +5 -4
- pulumi_snowflake/user_public_keys.py +5 -0
- pulumi_snowflake/view.py +466 -215
- pulumi_snowflake/warehouse.py +184 -168
- {pulumi_snowflake-0.50.3a1710160126.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.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/WHEEL +1 -1
- pulumi_snowflake/account_grant.py +0 -343
- pulumi_snowflake/database_grant.py +0 -495
- pulumi_snowflake/external_table_grant.py +0 -690
- pulumi_snowflake/failover_group_grant.py +0 -388
- pulumi_snowflake/file_format_grant.py +0 -635
- pulumi_snowflake/function.py +0 -872
- pulumi_snowflake/function_grant.py +0 -745
- pulumi_snowflake/get_role.py +0 -121
- pulumi_snowflake/get_roles.py +0 -120
- pulumi_snowflake/grant_privileges_to_role.py +0 -825
- pulumi_snowflake/integration_grant.py +0 -440
- pulumi_snowflake/masking_policy_grant.py +0 -542
- pulumi_snowflake/materialized_view_grant.py +0 -689
- pulumi_snowflake/pipe_grant.py +0 -587
- pulumi_snowflake/procedure.py +0 -887
- pulumi_snowflake/procedure_grant.py +0 -745
- pulumi_snowflake/resource_monitor_grant.py +0 -387
- pulumi_snowflake/role.py +0 -273
- pulumi_snowflake/role_grants.py +0 -352
- pulumi_snowflake/role_ownership_grant.py +0 -338
- pulumi_snowflake/row_access_policy_grant.py +0 -540
- pulumi_snowflake/schema_grant.py +0 -647
- pulumi_snowflake/sequence_grant.py +0 -635
- pulumi_snowflake/session_parameter.py +0 -332
- pulumi_snowflake/stage_grant.py +0 -635
- pulumi_snowflake/stream.py +0 -614
- pulumi_snowflake/stream_grant.py +0 -635
- pulumi_snowflake/table_grant.py +0 -677
- pulumi_snowflake/tag_grant.py +0 -532
- pulumi_snowflake/tag_masking_policy_association.py +0 -210
- pulumi_snowflake/task_grant.py +0 -635
- pulumi_snowflake/user_grant.py +0 -394
- pulumi_snowflake/user_ownership_grant.py +0 -286
- pulumi_snowflake/view_grant.py +0 -705
- pulumi_snowflake/warehouse_grant.py +0 -440
- pulumi_snowflake-0.50.3a1710160126.dist-info/RECORD +0 -136
- {pulumi_snowflake-0.50.3a1710160126.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,30 +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
|
-
<!--Start PulumiCodeChooser -->
|
|
138
|
-
```python
|
|
139
|
-
import pulumi
|
|
140
|
-
import pulumi_snowflake as snowflake
|
|
141
|
-
|
|
142
|
-
db_role = snowflake.DatabaseRole("dbRole",
|
|
143
|
-
comment="my db role",
|
|
144
|
-
database="database")
|
|
145
|
-
```
|
|
146
|
-
<!--End PulumiCodeChooser -->
|
|
147
|
-
|
|
148
174
|
## Import
|
|
149
175
|
|
|
150
176
|
```sh
|
|
151
|
-
$ pulumi import snowflake:index/databaseRole:DatabaseRole example '
|
|
177
|
+
$ pulumi import snowflake:index/databaseRole:DatabaseRole example '"<database_name>"."<database_role_name>"'
|
|
152
178
|
```
|
|
153
179
|
|
|
154
180
|
:param str resource_name: The name of the resource.
|
|
155
181
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
156
182
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
157
|
-
:param pulumi.Input[str] database: The database in which to create the database role.
|
|
158
|
-
: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: `|`, `.`, `"`.
|
|
159
185
|
"""
|
|
160
186
|
...
|
|
161
187
|
@overload
|
|
@@ -164,23 +190,10 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
164
190
|
args: DatabaseRoleArgs,
|
|
165
191
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
166
192
|
"""
|
|
167
|
-
## Example Usage
|
|
168
|
-
|
|
169
|
-
<!--Start PulumiCodeChooser -->
|
|
170
|
-
```python
|
|
171
|
-
import pulumi
|
|
172
|
-
import pulumi_snowflake as snowflake
|
|
173
|
-
|
|
174
|
-
db_role = snowflake.DatabaseRole("dbRole",
|
|
175
|
-
comment="my db role",
|
|
176
|
-
database="database")
|
|
177
|
-
```
|
|
178
|
-
<!--End PulumiCodeChooser -->
|
|
179
|
-
|
|
180
193
|
## Import
|
|
181
194
|
|
|
182
195
|
```sh
|
|
183
|
-
$ pulumi import snowflake:index/databaseRole:DatabaseRole example '
|
|
196
|
+
$ pulumi import snowflake:index/databaseRole:DatabaseRole example '"<database_name>"."<database_role_name>"'
|
|
184
197
|
```
|
|
185
198
|
|
|
186
199
|
:param str resource_name: The name of the resource.
|
|
@@ -215,6 +228,8 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
215
228
|
raise TypeError("Missing required property 'database'")
|
|
216
229
|
__props__.__dict__["database"] = database
|
|
217
230
|
__props__.__dict__["name"] = name
|
|
231
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
232
|
+
__props__.__dict__["show_outputs"] = None
|
|
218
233
|
super(DatabaseRole, __self__).__init__(
|
|
219
234
|
'snowflake:index/databaseRole:DatabaseRole',
|
|
220
235
|
resource_name,
|
|
@@ -227,7 +242,9 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
227
242
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
228
243
|
comment: Optional[pulumi.Input[str]] = None,
|
|
229
244
|
database: Optional[pulumi.Input[str]] = None,
|
|
230
|
-
|
|
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':
|
|
231
248
|
"""
|
|
232
249
|
Get an existing DatabaseRole resource's state with the given name, id, and optional extra
|
|
233
250
|
properties used to qualify the lookup.
|
|
@@ -236,8 +253,10 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
236
253
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
237
254
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
238
255
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
239
|
-
:param pulumi.Input[str] database: The database in which to create the database role.
|
|
240
|
-
: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.
|
|
241
260
|
"""
|
|
242
261
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
243
262
|
|
|
@@ -245,7 +264,9 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
245
264
|
|
|
246
265
|
__props__.__dict__["comment"] = comment
|
|
247
266
|
__props__.__dict__["database"] = database
|
|
267
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
248
268
|
__props__.__dict__["name"] = name
|
|
269
|
+
__props__.__dict__["show_outputs"] = show_outputs
|
|
249
270
|
return DatabaseRole(resource_name, opts=opts, __props__=__props__)
|
|
250
271
|
|
|
251
272
|
@property
|
|
@@ -260,15 +281,31 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
260
281
|
@pulumi.getter
|
|
261
282
|
def database(self) -> pulumi.Output[str]:
|
|
262
283
|
"""
|
|
263
|
-
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: `|`, `.`, `"`.
|
|
264
285
|
"""
|
|
265
286
|
return pulumi.get(self, "database")
|
|
266
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
|
+
|
|
267
296
|
@property
|
|
268
297
|
@pulumi.getter
|
|
269
298
|
def name(self) -> pulumi.Output[str]:
|
|
270
299
|
"""
|
|
271
|
-
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: `|`, `.`, `"`.
|
|
272
301
|
"""
|
|
273
302
|
return pulumi.get(self, "name")
|
|
274
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,30 +570,10 @@ 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
|
-
<!--Start PulumiCodeChooser -->
|
|
559
|
-
```python
|
|
560
|
-
import pulumi
|
|
561
|
-
import pulumi_snowflake as snowflake
|
|
562
|
-
|
|
563
|
-
# https://docs.snowflake.com/en/sql-reference/sql/create-dynamic-table#examples
|
|
564
|
-
dt = snowflake.DynamicTable("dt",
|
|
565
|
-
comment="example comment",
|
|
566
|
-
database="mydb",
|
|
567
|
-
query="SELECT product_id, product_name FROM \\"mydb\\".\\"myschema\\".\\"staging_table\\"",
|
|
568
|
-
schema="myschema",
|
|
569
|
-
target_lag=snowflake.DynamicTableTargetLagArgs(
|
|
570
|
-
maximum_duration="20 minutes",
|
|
571
|
-
),
|
|
572
|
-
warehouse="mywh")
|
|
573
|
-
```
|
|
574
|
-
<!--End PulumiCodeChooser -->
|
|
575
|
-
|
|
576
577
|
## Import
|
|
577
578
|
|
|
578
579
|
```sh
|
|
@@ -589,7 +590,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
589
590
|
:param pulumi.Input[str] query: Specifies the query to use to populate the dynamic table.
|
|
590
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.
|
|
591
592
|
:param pulumi.Input[str] schema: The schema in which to create the dynamic table.
|
|
592
|
-
:param pulumi.Input[
|
|
593
|
+
:param pulumi.Input[Union['DynamicTableTargetLagArgs', 'DynamicTableTargetLagArgsDict']] target_lag: Specifies the target lag time for the dynamic table.
|
|
593
594
|
:param pulumi.Input[str] warehouse: The warehouse in which to create the dynamic table.
|
|
594
595
|
"""
|
|
595
596
|
...
|
|
@@ -599,26 +600,6 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
599
600
|
args: DynamicTableArgs,
|
|
600
601
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
601
602
|
"""
|
|
602
|
-
## Example Usage
|
|
603
|
-
|
|
604
|
-
<!--Start PulumiCodeChooser -->
|
|
605
|
-
```python
|
|
606
|
-
import pulumi
|
|
607
|
-
import pulumi_snowflake as snowflake
|
|
608
|
-
|
|
609
|
-
# https://docs.snowflake.com/en/sql-reference/sql/create-dynamic-table#examples
|
|
610
|
-
dt = snowflake.DynamicTable("dt",
|
|
611
|
-
comment="example comment",
|
|
612
|
-
database="mydb",
|
|
613
|
-
query="SELECT product_id, product_name FROM \\"mydb\\".\\"myschema\\".\\"staging_table\\"",
|
|
614
|
-
schema="myschema",
|
|
615
|
-
target_lag=snowflake.DynamicTableTargetLagArgs(
|
|
616
|
-
maximum_duration="20 minutes",
|
|
617
|
-
),
|
|
618
|
-
warehouse="mywh")
|
|
619
|
-
```
|
|
620
|
-
<!--End PulumiCodeChooser -->
|
|
621
|
-
|
|
622
603
|
## Import
|
|
623
604
|
|
|
624
605
|
```sh
|
|
@@ -648,7 +629,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
648
629
|
query: Optional[pulumi.Input[str]] = None,
|
|
649
630
|
refresh_mode: Optional[pulumi.Input[str]] = None,
|
|
650
631
|
schema: Optional[pulumi.Input[str]] = None,
|
|
651
|
-
target_lag: Optional[pulumi.Input[
|
|
632
|
+
target_lag: Optional[pulumi.Input[Union['DynamicTableTargetLagArgs', 'DynamicTableTargetLagArgsDict']]] = None,
|
|
652
633
|
warehouse: Optional[pulumi.Input[str]] = None,
|
|
653
634
|
__props__=None):
|
|
654
635
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -684,6 +665,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
684
665
|
__props__.__dict__["cluster_by"] = None
|
|
685
666
|
__props__.__dict__["created_on"] = None
|
|
686
667
|
__props__.__dict__["data_timestamp"] = None
|
|
668
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
687
669
|
__props__.__dict__["is_clone"] = None
|
|
688
670
|
__props__.__dict__["is_replica"] = None
|
|
689
671
|
__props__.__dict__["last_suspended_on"] = None
|
|
@@ -708,6 +690,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
708
690
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
709
691
|
data_timestamp: Optional[pulumi.Input[str]] = None,
|
|
710
692
|
database: Optional[pulumi.Input[str]] = None,
|
|
693
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
711
694
|
initialize: Optional[pulumi.Input[str]] = None,
|
|
712
695
|
is_clone: Optional[pulumi.Input[bool]] = None,
|
|
713
696
|
is_replica: Optional[pulumi.Input[bool]] = None,
|
|
@@ -721,7 +704,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
721
704
|
rows: Optional[pulumi.Input[int]] = None,
|
|
722
705
|
scheduling_state: Optional[pulumi.Input[str]] = None,
|
|
723
706
|
schema: Optional[pulumi.Input[str]] = None,
|
|
724
|
-
target_lag: Optional[pulumi.Input[
|
|
707
|
+
target_lag: Optional[pulumi.Input[Union['DynamicTableTargetLagArgs', 'DynamicTableTargetLagArgsDict']]] = None,
|
|
725
708
|
warehouse: Optional[pulumi.Input[str]] = None) -> 'DynamicTable':
|
|
726
709
|
"""
|
|
727
710
|
Get an existing DynamicTable resource's state with the given name, id, and optional extra
|
|
@@ -737,6 +720,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
737
720
|
:param pulumi.Input[str] created_on: Time when this dynamic table was created.
|
|
738
721
|
:param pulumi.Input[str] data_timestamp: Timestamp of the data in the base object(s) that is included in the dynamic table.
|
|
739
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).
|
|
740
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.
|
|
741
725
|
:param pulumi.Input[bool] is_clone: TRUE if the dynamic table has been cloned, else FALSE.
|
|
742
726
|
:param pulumi.Input[bool] is_replica: TRUE if the dynamic table is a replica. else FALSE.
|
|
@@ -748,9 +732,9 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
748
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.
|
|
749
733
|
:param pulumi.Input[str] refresh_mode_reason: Explanation for why FULL refresh mode was chosen. NULL if refresh mode is not FULL.
|
|
750
734
|
:param pulumi.Input[int] rows: Number of rows in the table.
|
|
751
|
-
: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.
|
|
752
736
|
:param pulumi.Input[str] schema: The schema in which to create the dynamic table.
|
|
753
|
-
:param pulumi.Input[
|
|
737
|
+
:param pulumi.Input[Union['DynamicTableTargetLagArgs', 'DynamicTableTargetLagArgsDict']] target_lag: Specifies the target lag time for the dynamic table.
|
|
754
738
|
:param pulumi.Input[str] warehouse: The warehouse in which to create the dynamic table.
|
|
755
739
|
"""
|
|
756
740
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -764,6 +748,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
764
748
|
__props__.__dict__["created_on"] = created_on
|
|
765
749
|
__props__.__dict__["data_timestamp"] = data_timestamp
|
|
766
750
|
__props__.__dict__["database"] = database
|
|
751
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
767
752
|
__props__.__dict__["initialize"] = initialize
|
|
768
753
|
__props__.__dict__["is_clone"] = is_clone
|
|
769
754
|
__props__.__dict__["is_replica"] = is_replica
|
|
@@ -837,6 +822,14 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
837
822
|
"""
|
|
838
823
|
return pulumi.get(self, "database")
|
|
839
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
|
+
|
|
840
833
|
@property
|
|
841
834
|
@pulumi.getter
|
|
842
835
|
def initialize(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -929,7 +922,7 @@ class DynamicTable(pulumi.CustomResource):
|
|
|
929
922
|
@pulumi.getter(name="schedulingState")
|
|
930
923
|
def scheduling_state(self) -> pulumi.Output[str]:
|
|
931
924
|
"""
|
|
932
|
-
Displays
|
|
925
|
+
Displays ACTIVE for dynamic tables that are actively scheduling refreshes and SUSPENDED for suspended dynamic tables.
|
|
933
926
|
"""
|
|
934
927
|
return pulumi.get(self, "scheduling_state")
|
|
935
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,20 +170,6 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
149
170
|
name: Optional[pulumi.Input[str]] = None,
|
|
150
171
|
__props__=None):
|
|
151
172
|
"""
|
|
152
|
-
## Example Usage
|
|
153
|
-
|
|
154
|
-
<!--Start PulumiCodeChooser -->
|
|
155
|
-
```python
|
|
156
|
-
import pulumi
|
|
157
|
-
import pulumi_snowflake as snowflake
|
|
158
|
-
|
|
159
|
-
email_int = snowflake.EmailNotificationIntegration("emailInt",
|
|
160
|
-
allowed_recipients=["john.doe@gmail.com"],
|
|
161
|
-
comment="A notification integration.",
|
|
162
|
-
enabled=True)
|
|
163
|
-
```
|
|
164
|
-
<!--End PulumiCodeChooser -->
|
|
165
|
-
|
|
166
173
|
## Import
|
|
167
174
|
|
|
168
175
|
```sh
|
|
@@ -181,20 +188,6 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
181
188
|
args: EmailNotificationIntegrationArgs,
|
|
182
189
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
183
190
|
"""
|
|
184
|
-
## Example Usage
|
|
185
|
-
|
|
186
|
-
<!--Start PulumiCodeChooser -->
|
|
187
|
-
```python
|
|
188
|
-
import pulumi
|
|
189
|
-
import pulumi_snowflake as snowflake
|
|
190
|
-
|
|
191
|
-
email_int = snowflake.EmailNotificationIntegration("emailInt",
|
|
192
|
-
allowed_recipients=["john.doe@gmail.com"],
|
|
193
|
-
comment="A notification integration.",
|
|
194
|
-
enabled=True)
|
|
195
|
-
```
|
|
196
|
-
<!--End PulumiCodeChooser -->
|
|
197
|
-
|
|
198
191
|
## Import
|
|
199
192
|
|
|
200
193
|
```sh
|
|
@@ -235,6 +228,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
235
228
|
raise TypeError("Missing required property 'enabled'")
|
|
236
229
|
__props__.__dict__["enabled"] = enabled
|
|
237
230
|
__props__.__dict__["name"] = name
|
|
231
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
238
232
|
super(EmailNotificationIntegration, __self__).__init__(
|
|
239
233
|
'snowflake:index/emailNotificationIntegration:EmailNotificationIntegration',
|
|
240
234
|
resource_name,
|
|
@@ -248,6 +242,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
248
242
|
allowed_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
249
243
|
comment: Optional[pulumi.Input[str]] = None,
|
|
250
244
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
245
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
251
246
|
name: Optional[pulumi.Input[str]] = None) -> 'EmailNotificationIntegration':
|
|
252
247
|
"""
|
|
253
248
|
Get an existing EmailNotificationIntegration resource's state with the given name, id, and optional extra
|
|
@@ -258,6 +253,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
258
253
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
259
254
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_recipients: List of email addresses that should receive notifications.
|
|
260
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).
|
|
261
257
|
"""
|
|
262
258
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
263
259
|
|
|
@@ -266,6 +262,7 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
266
262
|
__props__.__dict__["allowed_recipients"] = allowed_recipients
|
|
267
263
|
__props__.__dict__["comment"] = comment
|
|
268
264
|
__props__.__dict__["enabled"] = enabled
|
|
265
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
269
266
|
__props__.__dict__["name"] = name
|
|
270
267
|
return EmailNotificationIntegration(resource_name, opts=opts, __props__=__props__)
|
|
271
268
|
|
|
@@ -290,6 +287,14 @@ class EmailNotificationIntegration(pulumi.CustomResource):
|
|
|
290
287
|
def enabled(self) -> pulumi.Output[bool]:
|
|
291
288
|
return pulumi.get(self, "enabled")
|
|
292
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
|
+
|
|
293
298
|
@property
|
|
294
299
|
@pulumi.getter
|
|
295
300
|
def name(self) -> pulumi.Output[str]:
|