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
pulumi_snowflake/share.py
CHANGED
|
@@ -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__ = ['ShareArgs', 'Share']
|
|
@@ -72,17 +77,21 @@ class _ShareState:
|
|
|
72
77
|
def __init__(__self__, *,
|
|
73
78
|
accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
74
79
|
comment: Optional[pulumi.Input[str]] = None,
|
|
80
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
75
81
|
name: Optional[pulumi.Input[str]] = None):
|
|
76
82
|
"""
|
|
77
83
|
Input properties used for looking up and filtering Share resources.
|
|
78
84
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] accounts: A list of accounts to be added to the share. Values should not be the account locator, but in the form of 'organization*name.account*name
|
|
79
85
|
:param pulumi.Input[str] comment: Specifies a comment for the managed account.
|
|
86
|
+
: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).
|
|
80
87
|
:param pulumi.Input[str] name: Specifies the identifier for the share; must be unique for the account in which the share is created.
|
|
81
88
|
"""
|
|
82
89
|
if accounts is not None:
|
|
83
90
|
pulumi.set(__self__, "accounts", accounts)
|
|
84
91
|
if comment is not None:
|
|
85
92
|
pulumi.set(__self__, "comment", comment)
|
|
93
|
+
if fully_qualified_name is not None:
|
|
94
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
86
95
|
if name is not None:
|
|
87
96
|
pulumi.set(__self__, "name", name)
|
|
88
97
|
|
|
@@ -110,6 +119,18 @@ class _ShareState:
|
|
|
110
119
|
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
111
120
|
pulumi.set(self, "comment", value)
|
|
112
121
|
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
124
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
125
|
+
"""
|
|
126
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
129
|
+
|
|
130
|
+
@fully_qualified_name.setter
|
|
131
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
132
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
133
|
+
|
|
113
134
|
@property
|
|
114
135
|
@pulumi.getter
|
|
115
136
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -133,22 +154,10 @@ class Share(pulumi.CustomResource):
|
|
|
133
154
|
name: Optional[pulumi.Input[str]] = None,
|
|
134
155
|
__props__=None):
|
|
135
156
|
"""
|
|
136
|
-
## Example Usage
|
|
137
|
-
|
|
138
|
-
```python
|
|
139
|
-
import pulumi
|
|
140
|
-
import pulumi_snowflake as snowflake
|
|
141
|
-
|
|
142
|
-
test = snowflake.Share("test",
|
|
143
|
-
comment="cool comment",
|
|
144
|
-
accounts=["organizationName.accountName"])
|
|
145
|
-
example = snowflake.Database("example", opts=pulumi.ResourceOptions(depends_on=[test]))
|
|
146
|
-
```
|
|
147
|
-
|
|
148
157
|
## Import
|
|
149
158
|
|
|
150
159
|
```sh
|
|
151
|
-
|
|
160
|
+
$ pulumi import snowflake:index/share:Share example name
|
|
152
161
|
```
|
|
153
162
|
|
|
154
163
|
:param str resource_name: The name of the resource.
|
|
@@ -164,22 +173,10 @@ class Share(pulumi.CustomResource):
|
|
|
164
173
|
args: Optional[ShareArgs] = None,
|
|
165
174
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
166
175
|
"""
|
|
167
|
-
## Example Usage
|
|
168
|
-
|
|
169
|
-
```python
|
|
170
|
-
import pulumi
|
|
171
|
-
import pulumi_snowflake as snowflake
|
|
172
|
-
|
|
173
|
-
test = snowflake.Share("test",
|
|
174
|
-
comment="cool comment",
|
|
175
|
-
accounts=["organizationName.accountName"])
|
|
176
|
-
example = snowflake.Database("example", opts=pulumi.ResourceOptions(depends_on=[test]))
|
|
177
|
-
```
|
|
178
|
-
|
|
179
176
|
## Import
|
|
180
177
|
|
|
181
178
|
```sh
|
|
182
|
-
|
|
179
|
+
$ pulumi import snowflake:index/share:Share example name
|
|
183
180
|
```
|
|
184
181
|
|
|
185
182
|
:param str resource_name: The name of the resource.
|
|
@@ -212,6 +209,7 @@ class Share(pulumi.CustomResource):
|
|
|
212
209
|
__props__.__dict__["accounts"] = accounts
|
|
213
210
|
__props__.__dict__["comment"] = comment
|
|
214
211
|
__props__.__dict__["name"] = name
|
|
212
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
215
213
|
super(Share, __self__).__init__(
|
|
216
214
|
'snowflake:index/share:Share',
|
|
217
215
|
resource_name,
|
|
@@ -224,6 +222,7 @@ class Share(pulumi.CustomResource):
|
|
|
224
222
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
225
223
|
accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
226
224
|
comment: Optional[pulumi.Input[str]] = None,
|
|
225
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
227
226
|
name: Optional[pulumi.Input[str]] = None) -> 'Share':
|
|
228
227
|
"""
|
|
229
228
|
Get an existing Share resource's state with the given name, id, and optional extra
|
|
@@ -234,6 +233,7 @@ class Share(pulumi.CustomResource):
|
|
|
234
233
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
235
234
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] accounts: A list of accounts to be added to the share. Values should not be the account locator, but in the form of 'organization*name.account*name
|
|
236
235
|
:param pulumi.Input[str] comment: Specifies a comment for the managed account.
|
|
236
|
+
: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).
|
|
237
237
|
:param pulumi.Input[str] name: Specifies the identifier for the share; must be unique for the account in which the share is created.
|
|
238
238
|
"""
|
|
239
239
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -242,6 +242,7 @@ class Share(pulumi.CustomResource):
|
|
|
242
242
|
|
|
243
243
|
__props__.__dict__["accounts"] = accounts
|
|
244
244
|
__props__.__dict__["comment"] = comment
|
|
245
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
245
246
|
__props__.__dict__["name"] = name
|
|
246
247
|
return Share(resource_name, opts=opts, __props__=__props__)
|
|
247
248
|
|
|
@@ -261,6 +262,14 @@ class Share(pulumi.CustomResource):
|
|
|
261
262
|
"""
|
|
262
263
|
return pulumi.get(self, "comment")
|
|
263
264
|
|
|
265
|
+
@property
|
|
266
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
267
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
268
|
+
"""
|
|
269
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
270
|
+
"""
|
|
271
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
272
|
+
|
|
264
273
|
@property
|
|
265
274
|
@pulumi.getter
|
|
266
275
|
def name(self) -> pulumi.Output[str]:
|