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
pulumi_snowflake/get_role.py
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
|
|
5
|
-
import copy
|
|
6
|
-
import warnings
|
|
7
|
-
import pulumi
|
|
8
|
-
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
-
from . import _utilities
|
|
11
|
-
|
|
12
|
-
__all__ = [
|
|
13
|
-
'GetRoleResult',
|
|
14
|
-
'AwaitableGetRoleResult',
|
|
15
|
-
'get_role',
|
|
16
|
-
'get_role_output',
|
|
17
|
-
]
|
|
18
|
-
|
|
19
|
-
@pulumi.output_type
|
|
20
|
-
class GetRoleResult:
|
|
21
|
-
"""
|
|
22
|
-
A collection of values returned by getRole.
|
|
23
|
-
"""
|
|
24
|
-
def __init__(__self__, comment=None, id=None, name=None):
|
|
25
|
-
if comment and not isinstance(comment, str):
|
|
26
|
-
raise TypeError("Expected argument 'comment' to be a str")
|
|
27
|
-
pulumi.set(__self__, "comment", comment)
|
|
28
|
-
if id and not isinstance(id, str):
|
|
29
|
-
raise TypeError("Expected argument 'id' to be a str")
|
|
30
|
-
pulumi.set(__self__, "id", id)
|
|
31
|
-
if name and not isinstance(name, str):
|
|
32
|
-
raise TypeError("Expected argument 'name' to be a str")
|
|
33
|
-
pulumi.set(__self__, "name", name)
|
|
34
|
-
|
|
35
|
-
@property
|
|
36
|
-
@pulumi.getter
|
|
37
|
-
def comment(self) -> str:
|
|
38
|
-
"""
|
|
39
|
-
The comment on the role
|
|
40
|
-
"""
|
|
41
|
-
return pulumi.get(self, "comment")
|
|
42
|
-
|
|
43
|
-
@property
|
|
44
|
-
@pulumi.getter
|
|
45
|
-
def id(self) -> str:
|
|
46
|
-
"""
|
|
47
|
-
The provider-assigned unique ID for this managed resource.
|
|
48
|
-
"""
|
|
49
|
-
return pulumi.get(self, "id")
|
|
50
|
-
|
|
51
|
-
@property
|
|
52
|
-
@pulumi.getter
|
|
53
|
-
def name(self) -> str:
|
|
54
|
-
"""
|
|
55
|
-
The role for which to return metadata.
|
|
56
|
-
"""
|
|
57
|
-
return pulumi.get(self, "name")
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
class AwaitableGetRoleResult(GetRoleResult):
|
|
61
|
-
# pylint: disable=using-constant-test
|
|
62
|
-
def __await__(self):
|
|
63
|
-
if False:
|
|
64
|
-
yield self
|
|
65
|
-
return GetRoleResult(
|
|
66
|
-
comment=self.comment,
|
|
67
|
-
id=self.id,
|
|
68
|
-
name=self.name)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
def get_role(name: Optional[str] = None,
|
|
72
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRoleResult:
|
|
73
|
-
"""
|
|
74
|
-
> **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use get_roles instead. <deprecation>
|
|
75
|
-
|
|
76
|
-
## Example Usage
|
|
77
|
-
|
|
78
|
-
<!--Start PulumiCodeChooser -->
|
|
79
|
-
```python
|
|
80
|
-
import pulumi
|
|
81
|
-
import pulumi_snowflake as snowflake
|
|
82
|
-
|
|
83
|
-
this = snowflake.get_role(name="role1")
|
|
84
|
-
```
|
|
85
|
-
<!--End PulumiCodeChooser -->
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
:param str name: The role for which to return metadata.
|
|
89
|
-
"""
|
|
90
|
-
__args__ = dict()
|
|
91
|
-
__args__['name'] = name
|
|
92
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
93
|
-
__ret__ = pulumi.runtime.invoke('snowflake:index/getRole:getRole', __args__, opts=opts, typ=GetRoleResult).value
|
|
94
|
-
|
|
95
|
-
return AwaitableGetRoleResult(
|
|
96
|
-
comment=pulumi.get(__ret__, 'comment'),
|
|
97
|
-
id=pulumi.get(__ret__, 'id'),
|
|
98
|
-
name=pulumi.get(__ret__, 'name'))
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
@_utilities.lift_output_func(get_role)
|
|
102
|
-
def get_role_output(name: Optional[pulumi.Input[str]] = None,
|
|
103
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoleResult]:
|
|
104
|
-
"""
|
|
105
|
-
> **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use get_roles instead. <deprecation>
|
|
106
|
-
|
|
107
|
-
## Example Usage
|
|
108
|
-
|
|
109
|
-
<!--Start PulumiCodeChooser -->
|
|
110
|
-
```python
|
|
111
|
-
import pulumi
|
|
112
|
-
import pulumi_snowflake as snowflake
|
|
113
|
-
|
|
114
|
-
this = snowflake.get_role(name="role1")
|
|
115
|
-
```
|
|
116
|
-
<!--End PulumiCodeChooser -->
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
:param str name: The role for which to return metadata.
|
|
120
|
-
"""
|
|
121
|
-
...
|
pulumi_snowflake/get_roles.py
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
|
|
5
|
-
import copy
|
|
6
|
-
import warnings
|
|
7
|
-
import pulumi
|
|
8
|
-
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
-
from . import _utilities
|
|
11
|
-
from . import outputs
|
|
12
|
-
|
|
13
|
-
__all__ = [
|
|
14
|
-
'GetRolesResult',
|
|
15
|
-
'AwaitableGetRolesResult',
|
|
16
|
-
'get_roles',
|
|
17
|
-
'get_roles_output',
|
|
18
|
-
]
|
|
19
|
-
|
|
20
|
-
@pulumi.output_type
|
|
21
|
-
class GetRolesResult:
|
|
22
|
-
"""
|
|
23
|
-
A collection of values returned by getRoles.
|
|
24
|
-
"""
|
|
25
|
-
def __init__(__self__, id=None, pattern=None, roles=None):
|
|
26
|
-
if id and not isinstance(id, str):
|
|
27
|
-
raise TypeError("Expected argument 'id' to be a str")
|
|
28
|
-
pulumi.set(__self__, "id", id)
|
|
29
|
-
if pattern and not isinstance(pattern, str):
|
|
30
|
-
raise TypeError("Expected argument 'pattern' to be a str")
|
|
31
|
-
pulumi.set(__self__, "pattern", pattern)
|
|
32
|
-
if roles and not isinstance(roles, list):
|
|
33
|
-
raise TypeError("Expected argument 'roles' to be a list")
|
|
34
|
-
pulumi.set(__self__, "roles", roles)
|
|
35
|
-
|
|
36
|
-
@property
|
|
37
|
-
@pulumi.getter
|
|
38
|
-
def id(self) -> str:
|
|
39
|
-
"""
|
|
40
|
-
The provider-assigned unique ID for this managed resource.
|
|
41
|
-
"""
|
|
42
|
-
return pulumi.get(self, "id")
|
|
43
|
-
|
|
44
|
-
@property
|
|
45
|
-
@pulumi.getter
|
|
46
|
-
def pattern(self) -> Optional[str]:
|
|
47
|
-
"""
|
|
48
|
-
Filters the command output by object name.
|
|
49
|
-
"""
|
|
50
|
-
return pulumi.get(self, "pattern")
|
|
51
|
-
|
|
52
|
-
@property
|
|
53
|
-
@pulumi.getter
|
|
54
|
-
def roles(self) -> Sequence['outputs.GetRolesRoleResult']:
|
|
55
|
-
"""
|
|
56
|
-
List of all the roles which you can view across your entire account, including the system-defined roles and any custom roles that exist.
|
|
57
|
-
"""
|
|
58
|
-
return pulumi.get(self, "roles")
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
class AwaitableGetRolesResult(GetRolesResult):
|
|
62
|
-
# pylint: disable=using-constant-test
|
|
63
|
-
def __await__(self):
|
|
64
|
-
if False:
|
|
65
|
-
yield self
|
|
66
|
-
return GetRolesResult(
|
|
67
|
-
id=self.id,
|
|
68
|
-
pattern=self.pattern,
|
|
69
|
-
roles=self.roles)
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
def get_roles(pattern: Optional[str] = None,
|
|
73
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRolesResult:
|
|
74
|
-
"""
|
|
75
|
-
## Example Usage
|
|
76
|
-
|
|
77
|
-
<!--Start PulumiCodeChooser -->
|
|
78
|
-
```python
|
|
79
|
-
import pulumi
|
|
80
|
-
import pulumi_snowflake as snowflake
|
|
81
|
-
|
|
82
|
-
this = snowflake.get_roles()
|
|
83
|
-
ad = snowflake.get_roles(pattern="SYSADMIN")
|
|
84
|
-
```
|
|
85
|
-
<!--End PulumiCodeChooser -->
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
:param str pattern: Filters the command output by object name.
|
|
89
|
-
"""
|
|
90
|
-
__args__ = dict()
|
|
91
|
-
__args__['pattern'] = pattern
|
|
92
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
93
|
-
__ret__ = pulumi.runtime.invoke('snowflake:index/getRoles:getRoles', __args__, opts=opts, typ=GetRolesResult).value
|
|
94
|
-
|
|
95
|
-
return AwaitableGetRolesResult(
|
|
96
|
-
id=pulumi.get(__ret__, 'id'),
|
|
97
|
-
pattern=pulumi.get(__ret__, 'pattern'),
|
|
98
|
-
roles=pulumi.get(__ret__, 'roles'))
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
@_utilities.lift_output_func(get_roles)
|
|
102
|
-
def get_roles_output(pattern: Optional[pulumi.Input[Optional[str]]] = None,
|
|
103
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRolesResult]:
|
|
104
|
-
"""
|
|
105
|
-
## Example Usage
|
|
106
|
-
|
|
107
|
-
<!--Start PulumiCodeChooser -->
|
|
108
|
-
```python
|
|
109
|
-
import pulumi
|
|
110
|
-
import pulumi_snowflake as snowflake
|
|
111
|
-
|
|
112
|
-
this = snowflake.get_roles()
|
|
113
|
-
ad = snowflake.get_roles(pattern="SYSADMIN")
|
|
114
|
-
```
|
|
115
|
-
<!--End PulumiCodeChooser -->
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
:param str pattern: Filters the command output by object name.
|
|
119
|
-
"""
|
|
120
|
-
...
|