pulumi-snowflake 2.2.0__py3-none-any.whl → 2.3.0__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 +20 -1
- pulumi_snowflake/_inputs.py +17236 -16797
- pulumi_snowflake/account.py +252 -253
- pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
- pulumi_snowflake/account_parameter.py +35 -36
- pulumi_snowflake/account_password_policy_attachment.py +18 -19
- pulumi_snowflake/account_role.py +42 -43
- pulumi_snowflake/alert.py +149 -150
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
- pulumi_snowflake/api_integration.py +251 -252
- pulumi_snowflake/authentication_policy.py +167 -168
- pulumi_snowflake/compute_pool.py +167 -168
- pulumi_snowflake/config/__init__.py +1 -1
- pulumi_snowflake/config/__init__.pyi +1 -2
- pulumi_snowflake/config/outputs.py +21 -22
- pulumi_snowflake/config/vars.py +43 -44
- pulumi_snowflake/cortex_search_service.py +191 -192
- pulumi_snowflake/current_account.py +2096 -2097
- pulumi_snowflake/current_organization_account.py +5863 -0
- pulumi_snowflake/database.py +353 -354
- pulumi_snowflake/database_role.py +63 -64
- pulumi_snowflake/dynamic_table.py +274 -275
- pulumi_snowflake/email_notification_integration.py +70 -71
- pulumi_snowflake/execute.py +61 -62
- pulumi_snowflake/external_function.py +280 -281
- pulumi_snowflake/external_oauth_integration.py +288 -289
- pulumi_snowflake/external_table.py +246 -247
- pulumi_snowflake/external_volume.py +68 -69
- pulumi_snowflake/failover_group.py +135 -136
- pulumi_snowflake/file_format.py +622 -623
- pulumi_snowflake/function_java.py +320 -321
- pulumi_snowflake/function_javascript.py +243 -244
- pulumi_snowflake/function_python.py +334 -335
- pulumi_snowflake/function_scala.py +320 -321
- pulumi_snowflake/function_sql.py +226 -227
- pulumi_snowflake/get_account_roles.py +16 -17
- pulumi_snowflake/get_accounts.py +16 -17
- pulumi_snowflake/get_alerts.py +22 -23
- pulumi_snowflake/get_compute_pools.py +23 -24
- pulumi_snowflake/get_connections.py +10 -11
- pulumi_snowflake/get_cortex_search_services.py +18 -19
- pulumi_snowflake/get_current_account.py +9 -10
- pulumi_snowflake/get_current_role.py +5 -6
- pulumi_snowflake/get_database.py +25 -26
- pulumi_snowflake/get_database_role.py +19 -20
- pulumi_snowflake/get_database_roles.py +17 -18
- pulumi_snowflake/get_databases.py +29 -30
- pulumi_snowflake/get_dynamic_tables.py +13 -14
- pulumi_snowflake/get_external_functions.py +16 -17
- pulumi_snowflake/get_external_tables.py +16 -17
- pulumi_snowflake/get_failover_groups.py +10 -11
- pulumi_snowflake/get_file_formats.py +16 -17
- pulumi_snowflake/get_functions.py +16 -17
- pulumi_snowflake/get_git_repositories.py +18 -19
- pulumi_snowflake/get_grants.py +9 -10
- pulumi_snowflake/get_image_repositories.py +11 -12
- pulumi_snowflake/get_masking_policies.py +18 -19
- pulumi_snowflake/get_materialized_views.py +16 -17
- pulumi_snowflake/get_network_policies.py +16 -17
- pulumi_snowflake/get_parameters.py +34 -35
- pulumi_snowflake/get_pipes.py +16 -17
- pulumi_snowflake/get_procedures.py +16 -17
- pulumi_snowflake/get_resource_monitors.py +10 -11
- pulumi_snowflake/get_row_access_policies.py +18 -19
- pulumi_snowflake/get_schemas.py +30 -31
- pulumi_snowflake/get_secrets.py +17 -18
- pulumi_snowflake/get_security_integrations.py +16 -17
- pulumi_snowflake/get_sequences.py +16 -17
- pulumi_snowflake/get_services.py +30 -31
- pulumi_snowflake/get_shares.py +10 -11
- pulumi_snowflake/get_stages.py +16 -17
- pulumi_snowflake/get_storage_integrations.py +4 -5
- pulumi_snowflake/get_streamlits.py +18 -19
- pulumi_snowflake/get_streams.py +24 -25
- pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
- pulumi_snowflake/get_system_get_private_link_config.py +21 -22
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
- pulumi_snowflake/get_tables.py +24 -25
- pulumi_snowflake/get_tags.py +11 -12
- pulumi_snowflake/get_tasks.py +30 -31
- pulumi_snowflake/get_user_programmatic_access_tokens.py +113 -0
- pulumi_snowflake/get_users.py +29 -30
- pulumi_snowflake/get_views.py +24 -25
- pulumi_snowflake/get_warehouses.py +22 -23
- pulumi_snowflake/git_repository.py +133 -134
- pulumi_snowflake/grant_account_role.py +52 -53
- pulumi_snowflake/grant_application_role.py +52 -53
- pulumi_snowflake/grant_database_role.py +69 -70
- pulumi_snowflake/grant_ownership.py +55 -56
- pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
- pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
- pulumi_snowflake/grant_privileges_to_share.py +154 -155
- pulumi_snowflake/image_repository.py +80 -81
- pulumi_snowflake/job_service.py +148 -149
- pulumi_snowflake/legacy_service_user.py +1269 -1270
- pulumi_snowflake/managed_account.py +140 -141
- pulumi_snowflake/masking_policy.py +136 -137
- pulumi_snowflake/materialized_view.py +149 -150
- pulumi_snowflake/network_policy.py +116 -117
- pulumi_snowflake/network_policy_attachment.py +52 -53
- pulumi_snowflake/network_rule.py +129 -130
- pulumi_snowflake/notification_integration.py +298 -299
- pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
- pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
- pulumi_snowflake/object_parameter.py +72 -73
- pulumi_snowflake/outputs.py +15957 -15511
- pulumi_snowflake/password_policy.py +299 -300
- pulumi_snowflake/pipe.py +181 -182
- pulumi_snowflake/primary_connection.py +70 -71
- pulumi_snowflake/procedure_java.py +341 -342
- pulumi_snowflake/procedure_javascript.py +247 -248
- pulumi_snowflake/procedure_python.py +338 -339
- pulumi_snowflake/procedure_scala.py +341 -342
- pulumi_snowflake/procedure_sql.py +247 -248
- pulumi_snowflake/provider.py +377 -378
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +165 -166
- pulumi_snowflake/row_access_policy.py +102 -103
- pulumi_snowflake/saml2_integration.py +303 -304
- pulumi_snowflake/schema.py +390 -391
- pulumi_snowflake/scim_integration.py +133 -134
- pulumi_snowflake/secondary_connection.py +72 -73
- pulumi_snowflake/secondary_database.py +350 -351
- pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
- pulumi_snowflake/secret_with_basic_authentication.py +121 -122
- pulumi_snowflake/secret_with_client_credentials.py +125 -126
- pulumi_snowflake/secret_with_generic_string.py +104 -105
- pulumi_snowflake/sequence.py +121 -122
- pulumi_snowflake/service.py +233 -234
- pulumi_snowflake/service_user.py +1239 -1240
- pulumi_snowflake/share.py +61 -62
- pulumi_snowflake/shared_database.py +299 -300
- pulumi_snowflake/stage.py +234 -235
- pulumi_snowflake/storage_integration.py +230 -231
- pulumi_snowflake/stream_on_directory_table.py +128 -129
- pulumi_snowflake/stream_on_external_table.py +151 -152
- pulumi_snowflake/stream_on_table.py +164 -165
- pulumi_snowflake/stream_on_view.py +164 -165
- pulumi_snowflake/streamlit.py +184 -185
- pulumi_snowflake/table.py +147 -148
- pulumi_snowflake/table_column_masking_policy_application.py +52 -53
- pulumi_snowflake/table_constraint.py +191 -192
- pulumi_snowflake/tag.py +114 -115
- pulumi_snowflake/tag_association.py +86 -87
- pulumi_snowflake/task.py +1224 -1225
- pulumi_snowflake/user.py +1346 -1347
- pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
- pulumi_snowflake/user_password_policy_attachment.py +35 -36
- pulumi_snowflake/user_programmatic_access_token.py +598 -0
- pulumi_snowflake/user_public_keys.py +52 -53
- pulumi_snowflake/view.py +187 -188
- pulumi_snowflake/warehouse.py +286 -287
- {pulumi_snowflake-2.2.0.dist-info → pulumi_snowflake-2.3.0.dist-info}/METADATA +1 -1
- pulumi_snowflake-2.3.0.dist-info/RECORD +161 -0
- pulumi_snowflake-2.2.0.dist-info/RECORD +0 -158
- {pulumi_snowflake-2.2.0.dist-info → pulumi_snowflake-2.3.0.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.2.0.dist-info → pulumi_snowflake-2.3.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -41,33 +40,33 @@ class GetCurrentAccountResult:
|
|
|
41
40
|
raise TypeError("Expected argument 'url' to be a str")
|
|
42
41
|
pulumi.set(__self__, "url", url)
|
|
43
42
|
|
|
44
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
45
44
|
@pulumi.getter
|
|
46
|
-
def account(self) ->
|
|
45
|
+
def account(self) -> _builtins.str:
|
|
47
46
|
"""
|
|
48
47
|
The Snowflake Account ID; as returned by CURRENT_ACCOUNT().
|
|
49
48
|
"""
|
|
50
49
|
return pulumi.get(self, "account")
|
|
51
50
|
|
|
52
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
53
52
|
@pulumi.getter
|
|
54
|
-
def id(self) ->
|
|
53
|
+
def id(self) -> _builtins.str:
|
|
55
54
|
"""
|
|
56
55
|
The provider-assigned unique ID for this managed resource.
|
|
57
56
|
"""
|
|
58
57
|
return pulumi.get(self, "id")
|
|
59
58
|
|
|
60
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
61
60
|
@pulumi.getter
|
|
62
|
-
def region(self) ->
|
|
61
|
+
def region(self) -> _builtins.str:
|
|
63
62
|
"""
|
|
64
63
|
The Snowflake Region; as returned by CURRENT_REGION()
|
|
65
64
|
"""
|
|
66
65
|
return pulumi.get(self, "region")
|
|
67
66
|
|
|
68
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
69
68
|
@pulumi.getter
|
|
70
|
-
def url(self) ->
|
|
69
|
+
def url(self) -> _builtins.str:
|
|
71
70
|
"""
|
|
72
71
|
The Snowflake URL.
|
|
73
72
|
"""
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -35,17 +34,17 @@ class GetCurrentRoleResult:
|
|
|
35
34
|
raise TypeError("Expected argument 'name' to be a str")
|
|
36
35
|
pulumi.set(__self__, "name", name)
|
|
37
36
|
|
|
38
|
-
@property
|
|
37
|
+
@_builtins.property
|
|
39
38
|
@pulumi.getter
|
|
40
|
-
def id(self) ->
|
|
39
|
+
def id(self) -> _builtins.str:
|
|
41
40
|
"""
|
|
42
41
|
The provider-assigned unique ID for this managed resource.
|
|
43
42
|
"""
|
|
44
43
|
return pulumi.get(self, "id")
|
|
45
44
|
|
|
46
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
47
46
|
@pulumi.getter
|
|
48
|
-
def name(self) ->
|
|
47
|
+
def name(self) -> _builtins.str:
|
|
49
48
|
"""
|
|
50
49
|
The name of the [primary role](https://docs.snowflake.com/en/user-guide/security-access-control-overview.html#label-access-control-role-enforcement) in use for the current session.
|
|
51
50
|
"""
|
pulumi_snowflake/get_database.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -59,60 +58,60 @@ class GetDatabaseResult:
|
|
|
59
58
|
raise TypeError("Expected argument 'retention_time' to be a int")
|
|
60
59
|
pulumi.set(__self__, "retention_time", retention_time)
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter
|
|
64
|
-
def comment(self) ->
|
|
63
|
+
def comment(self) -> _builtins.str:
|
|
65
64
|
return pulumi.get(self, "comment")
|
|
66
65
|
|
|
67
|
-
@property
|
|
66
|
+
@_builtins.property
|
|
68
67
|
@pulumi.getter(name="createdOn")
|
|
69
|
-
def created_on(self) ->
|
|
68
|
+
def created_on(self) -> _builtins.str:
|
|
70
69
|
return pulumi.get(self, "created_on")
|
|
71
70
|
|
|
72
|
-
@property
|
|
71
|
+
@_builtins.property
|
|
73
72
|
@pulumi.getter
|
|
74
|
-
def id(self) ->
|
|
73
|
+
def id(self) -> _builtins.str:
|
|
75
74
|
"""
|
|
76
75
|
The provider-assigned unique ID for this managed resource.
|
|
77
76
|
"""
|
|
78
77
|
return pulumi.get(self, "id")
|
|
79
78
|
|
|
80
|
-
@property
|
|
79
|
+
@_builtins.property
|
|
81
80
|
@pulumi.getter(name="isCurrent")
|
|
82
|
-
def is_current(self) ->
|
|
81
|
+
def is_current(self) -> _builtins.bool:
|
|
83
82
|
return pulumi.get(self, "is_current")
|
|
84
83
|
|
|
85
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
86
85
|
@pulumi.getter(name="isDefault")
|
|
87
|
-
def is_default(self) ->
|
|
86
|
+
def is_default(self) -> _builtins.bool:
|
|
88
87
|
return pulumi.get(self, "is_default")
|
|
89
88
|
|
|
90
|
-
@property
|
|
89
|
+
@_builtins.property
|
|
91
90
|
@pulumi.getter
|
|
92
|
-
def name(self) ->
|
|
91
|
+
def name(self) -> _builtins.str:
|
|
93
92
|
"""
|
|
94
93
|
The database from which to return its metadata.
|
|
95
94
|
"""
|
|
96
95
|
return pulumi.get(self, "name")
|
|
97
96
|
|
|
98
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
99
98
|
@pulumi.getter
|
|
100
|
-
def options(self) ->
|
|
99
|
+
def options(self) -> _builtins.str:
|
|
101
100
|
return pulumi.get(self, "options")
|
|
102
101
|
|
|
103
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
104
103
|
@pulumi.getter
|
|
105
|
-
def origin(self) ->
|
|
104
|
+
def origin(self) -> _builtins.str:
|
|
106
105
|
return pulumi.get(self, "origin")
|
|
107
106
|
|
|
108
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
109
108
|
@pulumi.getter
|
|
110
|
-
def owner(self) ->
|
|
109
|
+
def owner(self) -> _builtins.str:
|
|
111
110
|
return pulumi.get(self, "owner")
|
|
112
111
|
|
|
113
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
114
113
|
@pulumi.getter(name="retentionTime")
|
|
115
|
-
def retention_time(self) ->
|
|
114
|
+
def retention_time(self) -> _builtins.int:
|
|
116
115
|
return pulumi.get(self, "retention_time")
|
|
117
116
|
|
|
118
117
|
|
|
@@ -134,7 +133,7 @@ class AwaitableGetDatabaseResult(GetDatabaseResult):
|
|
|
134
133
|
retention_time=self.retention_time)
|
|
135
134
|
|
|
136
135
|
|
|
137
|
-
def get_database(name: Optional[
|
|
136
|
+
def get_database(name: Optional[_builtins.str] = None,
|
|
138
137
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseResult:
|
|
139
138
|
"""
|
|
140
139
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -151,7 +150,7 @@ def get_database(name: Optional[builtins.str] = None,
|
|
|
151
150
|
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
152
151
|
|
|
153
152
|
|
|
154
|
-
:param
|
|
153
|
+
:param _builtins.str name: The database from which to return its metadata.
|
|
155
154
|
"""
|
|
156
155
|
__args__ = dict()
|
|
157
156
|
__args__['name'] = name
|
|
@@ -169,7 +168,7 @@ def get_database(name: Optional[builtins.str] = None,
|
|
|
169
168
|
origin=pulumi.get(__ret__, 'origin'),
|
|
170
169
|
owner=pulumi.get(__ret__, 'owner'),
|
|
171
170
|
retention_time=pulumi.get(__ret__, 'retention_time'))
|
|
172
|
-
def get_database_output(name: Optional[pulumi.Input[
|
|
171
|
+
def get_database_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
173
172
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseResult]:
|
|
174
173
|
"""
|
|
175
174
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -186,7 +185,7 @@ def get_database_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
186
185
|
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
187
186
|
|
|
188
187
|
|
|
189
|
-
:param
|
|
188
|
+
:param _builtins.str name: The database from which to return its metadata.
|
|
190
189
|
"""
|
|
191
190
|
__args__ = dict()
|
|
192
191
|
__args__['name'] = name
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -44,41 +43,41 @@ class GetDatabaseRoleResult:
|
|
|
44
43
|
raise TypeError("Expected argument 'owner' to be a str")
|
|
45
44
|
pulumi.set(__self__, "owner", owner)
|
|
46
45
|
|
|
47
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
48
47
|
@pulumi.getter
|
|
49
|
-
def comment(self) ->
|
|
48
|
+
def comment(self) -> _builtins.str:
|
|
50
49
|
"""
|
|
51
50
|
The comment on the role
|
|
52
51
|
"""
|
|
53
52
|
return pulumi.get(self, "comment")
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter
|
|
57
|
-
def database(self) ->
|
|
56
|
+
def database(self) -> _builtins.str:
|
|
58
57
|
"""
|
|
59
58
|
The database from which to return the database role from.
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "database")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter
|
|
65
|
-
def id(self) ->
|
|
64
|
+
def id(self) -> _builtins.str:
|
|
66
65
|
"""
|
|
67
66
|
The provider-assigned unique ID for this managed resource.
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "id")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def name(self) ->
|
|
72
|
+
def name(self) -> _builtins.str:
|
|
74
73
|
"""
|
|
75
74
|
Database role name.
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "name")
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter
|
|
81
|
-
def owner(self) ->
|
|
80
|
+
def owner(self) -> _builtins.str:
|
|
82
81
|
"""
|
|
83
82
|
The owner of the role
|
|
84
83
|
"""
|
|
@@ -98,8 +97,8 @@ class AwaitableGetDatabaseRoleResult(GetDatabaseRoleResult):
|
|
|
98
97
|
owner=self.owner)
|
|
99
98
|
|
|
100
99
|
|
|
101
|
-
def get_database_role(database: Optional[
|
|
102
|
-
name: Optional[
|
|
100
|
+
def get_database_role(database: Optional[_builtins.str] = None,
|
|
101
|
+
name: Optional[_builtins.str] = None,
|
|
103
102
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseRoleResult:
|
|
104
103
|
"""
|
|
105
104
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -117,8 +116,8 @@ def get_database_role(database: Optional[builtins.str] = None,
|
|
|
117
116
|
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
118
117
|
|
|
119
118
|
|
|
120
|
-
:param
|
|
121
|
-
:param
|
|
119
|
+
:param _builtins.str database: The database from which to return the database role from.
|
|
120
|
+
:param _builtins.str name: Database role name.
|
|
122
121
|
"""
|
|
123
122
|
__args__ = dict()
|
|
124
123
|
__args__['database'] = database
|
|
@@ -132,8 +131,8 @@ def get_database_role(database: Optional[builtins.str] = None,
|
|
|
132
131
|
id=pulumi.get(__ret__, 'id'),
|
|
133
132
|
name=pulumi.get(__ret__, 'name'),
|
|
134
133
|
owner=pulumi.get(__ret__, 'owner'))
|
|
135
|
-
def get_database_role_output(database: Optional[pulumi.Input[
|
|
136
|
-
name: Optional[pulumi.Input[
|
|
134
|
+
def get_database_role_output(database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
135
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
137
136
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseRoleResult]:
|
|
138
137
|
"""
|
|
139
138
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -151,8 +150,8 @@ def get_database_role_output(database: Optional[pulumi.Input[builtins.str]] = No
|
|
|
151
150
|
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
152
151
|
|
|
153
152
|
|
|
154
|
-
:param
|
|
155
|
-
:param
|
|
153
|
+
:param _builtins.str database: The database from which to return the database role from.
|
|
154
|
+
:param _builtins.str name: Database role name.
|
|
156
155
|
"""
|
|
157
156
|
__args__ = dict()
|
|
158
157
|
__args__['database'] = database
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -46,7 +45,7 @@ class GetDatabaseRolesResult:
|
|
|
46
45
|
raise TypeError("Expected argument 'limit' to be a dict")
|
|
47
46
|
pulumi.set(__self__, "limit", limit)
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter(name="databaseRoles")
|
|
51
50
|
def database_roles(self) -> Sequence['outputs.GetDatabaseRolesDatabaseRoleResult']:
|
|
52
51
|
"""
|
|
@@ -54,31 +53,31 @@ class GetDatabaseRolesResult:
|
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "database_roles")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
|
-
def id(self) ->
|
|
58
|
+
def id(self) -> _builtins.str:
|
|
60
59
|
"""
|
|
61
60
|
The provider-assigned unique ID for this managed resource.
|
|
62
61
|
"""
|
|
63
62
|
return pulumi.get(self, "id")
|
|
64
63
|
|
|
65
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
66
65
|
@pulumi.getter(name="inDatabase")
|
|
67
|
-
def in_database(self) ->
|
|
66
|
+
def in_database(self) -> _builtins.str:
|
|
68
67
|
"""
|
|
69
68
|
The database from which to return the database roles from.
|
|
70
69
|
"""
|
|
71
70
|
return pulumi.get(self, "in_database")
|
|
72
71
|
|
|
73
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
74
73
|
@pulumi.getter
|
|
75
|
-
def like(self) -> Optional[
|
|
74
|
+
def like(self) -> Optional[_builtins.str]:
|
|
76
75
|
"""
|
|
77
76
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
78
77
|
"""
|
|
79
78
|
return pulumi.get(self, "like")
|
|
80
79
|
|
|
81
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
82
81
|
@pulumi.getter
|
|
83
82
|
def limit(self) -> Optional['outputs.GetDatabaseRolesLimitResult']:
|
|
84
83
|
"""
|
|
@@ -100,16 +99,16 @@ class AwaitableGetDatabaseRolesResult(GetDatabaseRolesResult):
|
|
|
100
99
|
limit=self.limit)
|
|
101
100
|
|
|
102
101
|
|
|
103
|
-
def get_database_roles(in_database: Optional[
|
|
104
|
-
like: Optional[
|
|
102
|
+
def get_database_roles(in_database: Optional[_builtins.str] = None,
|
|
103
|
+
like: Optional[_builtins.str] = None,
|
|
105
104
|
limit: Optional[Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict']] = None,
|
|
106
105
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseRolesResult:
|
|
107
106
|
"""
|
|
108
107
|
Data source used to get details of filtered database roles. Filtering is aligned with the current possibilities for [SHOW DATABASE ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-database-roles) query (`like` and `limit` are supported). The results of SHOW is encapsulated in show_output collection.
|
|
109
108
|
|
|
110
109
|
|
|
111
|
-
:param
|
|
112
|
-
:param
|
|
110
|
+
:param _builtins.str in_database: The database from which to return the database roles from.
|
|
111
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
113
112
|
:param Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
|
|
114
113
|
"""
|
|
115
114
|
__args__ = dict()
|
|
@@ -125,16 +124,16 @@ def get_database_roles(in_database: Optional[builtins.str] = None,
|
|
|
125
124
|
in_database=pulumi.get(__ret__, 'in_database'),
|
|
126
125
|
like=pulumi.get(__ret__, 'like'),
|
|
127
126
|
limit=pulumi.get(__ret__, 'limit'))
|
|
128
|
-
def get_database_roles_output(in_database: Optional[pulumi.Input[
|
|
129
|
-
like: Optional[pulumi.Input[Optional[
|
|
127
|
+
def get_database_roles_output(in_database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
128
|
+
like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
130
129
|
limit: Optional[pulumi.Input[Optional[Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict']]]] = None,
|
|
131
130
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseRolesResult]:
|
|
132
131
|
"""
|
|
133
132
|
Data source used to get details of filtered database roles. Filtering is aligned with the current possibilities for [SHOW DATABASE ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-database-roles) query (`like` and `limit` are supported). The results of SHOW is encapsulated in show_output collection.
|
|
134
133
|
|
|
135
134
|
|
|
136
|
-
:param
|
|
137
|
-
:param
|
|
135
|
+
:param _builtins.str in_database: The database from which to return the database roles from.
|
|
136
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
138
137
|
:param Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
|
|
139
138
|
"""
|
|
140
139
|
__args__ = dict()
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -52,7 +51,7 @@ class GetDatabasesResult:
|
|
|
52
51
|
raise TypeError("Expected argument 'with_parameters' to be a bool")
|
|
53
52
|
pulumi.set(__self__, "with_parameters", with_parameters)
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter
|
|
57
56
|
def databases(self) -> Sequence['outputs.GetDatabasesDatabaseResult']:
|
|
58
57
|
"""
|
|
@@ -60,23 +59,23 @@ class GetDatabasesResult:
|
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "databases")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter
|
|
65
|
-
def id(self) ->
|
|
64
|
+
def id(self) -> _builtins.str:
|
|
66
65
|
"""
|
|
67
66
|
The provider-assigned unique ID for this managed resource.
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "id")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def like(self) -> Optional[
|
|
72
|
+
def like(self) -> Optional[_builtins.str]:
|
|
74
73
|
"""
|
|
75
74
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "like")
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter
|
|
81
80
|
def limit(self) -> Optional['outputs.GetDatabasesLimitResult']:
|
|
82
81
|
"""
|
|
@@ -84,25 +83,25 @@ class GetDatabasesResult:
|
|
|
84
83
|
"""
|
|
85
84
|
return pulumi.get(self, "limit")
|
|
86
85
|
|
|
87
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
88
87
|
@pulumi.getter(name="startsWith")
|
|
89
|
-
def starts_with(self) -> Optional[
|
|
88
|
+
def starts_with(self) -> Optional[_builtins.str]:
|
|
90
89
|
"""
|
|
91
90
|
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
92
91
|
"""
|
|
93
92
|
return pulumi.get(self, "starts_with")
|
|
94
93
|
|
|
95
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
96
95
|
@pulumi.getter(name="withDescribe")
|
|
97
|
-
def with_describe(self) -> Optional[
|
|
96
|
+
def with_describe(self) -> Optional[_builtins.bool]:
|
|
98
97
|
"""
|
|
99
98
|
(Default: `true`) Runs DESC DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the description field. By default this value is set to true.
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "with_describe")
|
|
102
101
|
|
|
103
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
104
103
|
@pulumi.getter(name="withParameters")
|
|
105
|
-
def with_parameters(self) -> Optional[
|
|
104
|
+
def with_parameters(self) -> Optional[_builtins.bool]:
|
|
106
105
|
"""
|
|
107
106
|
(Default: `true`) Runs SHOW PARAMETERS FOR DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
|
|
108
107
|
"""
|
|
@@ -124,21 +123,21 @@ class AwaitableGetDatabasesResult(GetDatabasesResult):
|
|
|
124
123
|
with_parameters=self.with_parameters)
|
|
125
124
|
|
|
126
125
|
|
|
127
|
-
def get_databases(like: Optional[
|
|
126
|
+
def get_databases(like: Optional[_builtins.str] = None,
|
|
128
127
|
limit: Optional[Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict']] = None,
|
|
129
|
-
starts_with: Optional[
|
|
130
|
-
with_describe: Optional[
|
|
131
|
-
with_parameters: Optional[
|
|
128
|
+
starts_with: Optional[_builtins.str] = None,
|
|
129
|
+
with_describe: Optional[_builtins.bool] = None,
|
|
130
|
+
with_parameters: Optional[_builtins.bool] = None,
|
|
132
131
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabasesResult:
|
|
133
132
|
"""
|
|
134
133
|
Data source used to get details of filtered databases. Filtering is aligned with the current possibilities for [SHOW DATABASES](https://docs.snowflake.com/en/sql-reference/sql/show-databases) query (`like`, `starts_with`, and `limit` are all supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
|
|
135
134
|
|
|
136
135
|
|
|
137
|
-
:param
|
|
136
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
138
137
|
:param Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
|
|
139
|
-
:param
|
|
140
|
-
:param
|
|
141
|
-
:param
|
|
138
|
+
:param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
139
|
+
:param _builtins.bool with_describe: (Default: `true`) Runs DESC DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the description field. By default this value is set to true.
|
|
140
|
+
:param _builtins.bool with_parameters: (Default: `true`) Runs SHOW PARAMETERS FOR DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
|
|
142
141
|
"""
|
|
143
142
|
__args__ = dict()
|
|
144
143
|
__args__['like'] = like
|
|
@@ -157,21 +156,21 @@ def get_databases(like: Optional[builtins.str] = None,
|
|
|
157
156
|
starts_with=pulumi.get(__ret__, 'starts_with'),
|
|
158
157
|
with_describe=pulumi.get(__ret__, 'with_describe'),
|
|
159
158
|
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
160
|
-
def get_databases_output(like: Optional[pulumi.Input[Optional[
|
|
159
|
+
def get_databases_output(like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
161
160
|
limit: Optional[pulumi.Input[Optional[Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict']]]] = None,
|
|
162
|
-
starts_with: Optional[pulumi.Input[Optional[
|
|
163
|
-
with_describe: Optional[pulumi.Input[Optional[
|
|
164
|
-
with_parameters: Optional[pulumi.Input[Optional[
|
|
161
|
+
starts_with: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
162
|
+
with_describe: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
163
|
+
with_parameters: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
165
164
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabasesResult]:
|
|
166
165
|
"""
|
|
167
166
|
Data source used to get details of filtered databases. Filtering is aligned with the current possibilities for [SHOW DATABASES](https://docs.snowflake.com/en/sql-reference/sql/show-databases) query (`like`, `starts_with`, and `limit` are all supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
|
|
168
167
|
|
|
169
168
|
|
|
170
|
-
:param
|
|
169
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
171
170
|
:param Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
|
|
172
|
-
:param
|
|
173
|
-
:param
|
|
174
|
-
:param
|
|
171
|
+
:param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
172
|
+
:param _builtins.bool with_describe: (Default: `true`) Runs DESC DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the description field. By default this value is set to true.
|
|
173
|
+
:param _builtins.bool with_parameters: (Default: `true`) Runs SHOW PARAMETERS FOR DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
|
|
175
174
|
"""
|
|
176
175
|
__args__ = dict()
|
|
177
176
|
__args__['like'] = like
|