pulumi-snowflake 2.3.0a1753339260__py3-none-any.whl → 2.3.0a1753398370__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 +1 -1
- pulumi_snowflake/_inputs.py +16796 -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 +2088 -2089
- 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_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 +15510 -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_public_keys.py +52 -53
- pulumi_snowflake/view.py +187 -188
- pulumi_snowflake/warehouse.py +286 -287
- {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/METADATA +1 -1
- pulumi_snowflake-2.3.0a1753398370.dist-info/RECORD +158 -0
- pulumi_snowflake-2.3.0a1753339260.dist-info/RECORD +0 -158
- {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/top_level.txt +0 -0
pulumi_snowflake/get_users.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
|
|
@@ -52,23 +51,23 @@ class GetUsersResult:
|
|
|
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
|
-
def id(self) ->
|
|
56
|
+
def id(self) -> _builtins.str:
|
|
58
57
|
"""
|
|
59
58
|
The provider-assigned unique ID for this managed resource.
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "id")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter
|
|
65
|
-
def like(self) -> Optional[
|
|
64
|
+
def like(self) -> Optional[_builtins.str]:
|
|
66
65
|
"""
|
|
67
66
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "like")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
72
|
def limit(self) -> Optional['outputs.GetUsersLimitResult']:
|
|
74
73
|
"""
|
|
@@ -76,15 +75,15 @@ class GetUsersResult:
|
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "limit")
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter(name="startsWith")
|
|
81
|
-
def starts_with(self) -> Optional[
|
|
80
|
+
def starts_with(self) -> Optional[_builtins.str]:
|
|
82
81
|
"""
|
|
83
82
|
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
84
83
|
"""
|
|
85
84
|
return pulumi.get(self, "starts_with")
|
|
86
85
|
|
|
87
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
88
87
|
@pulumi.getter
|
|
89
88
|
def users(self) -> Sequence['outputs.GetUsersUserResult']:
|
|
90
89
|
"""
|
|
@@ -92,17 +91,17 @@ class GetUsersResult:
|
|
|
92
91
|
"""
|
|
93
92
|
return pulumi.get(self, "users")
|
|
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 USER for each user returned by SHOW USERS. 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 USER for each user returned by SHOW USERS. 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 AwaitableGetUsersResult(GetUsersResult):
|
|
|
124
123
|
with_parameters=self.with_parameters)
|
|
125
124
|
|
|
126
125
|
|
|
127
|
-
def get_users(like: Optional[
|
|
126
|
+
def get_users(like: Optional[_builtins.str] = None,
|
|
128
127
|
limit: Optional[Union['GetUsersLimitArgs', 'GetUsersLimitArgsDict']] = 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) -> AwaitableGetUsersResult:
|
|
133
132
|
"""
|
|
134
133
|
## Example Usage
|
|
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['GetUsersLimitArgs', 'GetUsersLimitArgsDict'] 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 USER for each user returned by SHOW USERS. 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 USER for each user returned by SHOW USERS. 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_users(like: Optional[builtins.str] = None,
|
|
|
157
156
|
users=pulumi.get(__ret__, 'users'),
|
|
158
157
|
with_describe=pulumi.get(__ret__, 'with_describe'),
|
|
159
158
|
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
160
|
-
def get_users_output(like: Optional[pulumi.Input[Optional[
|
|
159
|
+
def get_users_output(like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
161
160
|
limit: Optional[pulumi.Input[Optional[Union['GetUsersLimitArgs', 'GetUsersLimitArgsDict']]]] = 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[GetUsersResult]:
|
|
166
165
|
"""
|
|
167
166
|
## Example Usage
|
|
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['GetUsersLimitArgs', 'GetUsersLimitArgsDict'] 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 USER for each user returned by SHOW USERS. 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 USER for each user returned by SHOW USERS. 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
|
pulumi_snowflake/get_views.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
|
|
@@ -52,15 +51,15 @@ class GetViewsResult:
|
|
|
52
51
|
raise TypeError("Expected argument 'with_describe' to be a bool")
|
|
53
52
|
pulumi.set(__self__, "with_describe", with_describe)
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter
|
|
57
|
-
def id(self) ->
|
|
56
|
+
def id(self) -> _builtins.str:
|
|
58
57
|
"""
|
|
59
58
|
The provider-assigned unique ID for this managed resource.
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "id")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter(name="in")
|
|
65
64
|
def in_(self) -> Optional['outputs.GetViewsInResult']:
|
|
66
65
|
"""
|
|
@@ -68,15 +67,15 @@ class GetViewsResult:
|
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "in_")
|
|
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.GetViewsLimitResult']:
|
|
82
81
|
"""
|
|
@@ -84,15 +83,15 @@ class GetViewsResult:
|
|
|
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
|
|
97
96
|
def views(self) -> Sequence['outputs.GetViewsViewResult']:
|
|
98
97
|
"""
|
|
@@ -100,9 +99,9 @@ class GetViewsResult:
|
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "views")
|
|
102
101
|
|
|
103
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
104
103
|
@pulumi.getter(name="withDescribe")
|
|
105
|
-
def with_describe(self) -> Optional[
|
|
104
|
+
def with_describe(self) -> Optional[_builtins.bool]:
|
|
106
105
|
"""
|
|
107
106
|
(Default: `true`) Runs DESC VIEW for each view returned by SHOW VIEWS. The output of describe is saved to the description field. By default this value is set to true.
|
|
108
107
|
"""
|
|
@@ -125,10 +124,10 @@ class AwaitableGetViewsResult(GetViewsResult):
|
|
|
125
124
|
|
|
126
125
|
|
|
127
126
|
def get_views(in_: Optional[Union['GetViewsInArgs', 'GetViewsInArgsDict']] = None,
|
|
128
|
-
like: Optional[
|
|
127
|
+
like: Optional[_builtins.str] = None,
|
|
129
128
|
limit: Optional[Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict']] = None,
|
|
130
|
-
starts_with: Optional[
|
|
131
|
-
with_describe: Optional[
|
|
129
|
+
starts_with: Optional[_builtins.str] = None,
|
|
130
|
+
with_describe: Optional[_builtins.bool] = None,
|
|
132
131
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetViewsResult:
|
|
133
132
|
"""
|
|
134
133
|
!> **Sensitive values** This resource's `show_output.text` field is not marked as sensitive in the provider. Ensure that no personal data, sensitive data, export-controlled data, or other regulated data is entered as metadata when using the provider. For more information, see Sensitive values limitations and [Metadata fields in Snowflake](https://docs.snowflake.com/en/sql-reference/metadata).
|
|
@@ -137,10 +136,10 @@ def get_views(in_: Optional[Union['GetViewsInArgs', 'GetViewsInArgsDict']] = Non
|
|
|
137
136
|
|
|
138
137
|
|
|
139
138
|
:param Union['GetViewsInArgs', 'GetViewsInArgsDict'] in_: IN clause to filter the list of views
|
|
140
|
-
:param
|
|
139
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
141
140
|
:param Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict'] 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`.
|
|
142
|
-
:param
|
|
143
|
-
:param
|
|
141
|
+
:param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
142
|
+
:param _builtins.bool with_describe: (Default: `true`) Runs DESC VIEW for each view returned by SHOW VIEWS. The output of describe is saved to the description field. By default this value is set to true.
|
|
144
143
|
"""
|
|
145
144
|
__args__ = dict()
|
|
146
145
|
__args__['in'] = in_
|
|
@@ -160,10 +159,10 @@ def get_views(in_: Optional[Union['GetViewsInArgs', 'GetViewsInArgsDict']] = Non
|
|
|
160
159
|
views=pulumi.get(__ret__, 'views'),
|
|
161
160
|
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
162
161
|
def get_views_output(in_: Optional[pulumi.Input[Optional[Union['GetViewsInArgs', 'GetViewsInArgsDict']]]] = None,
|
|
163
|
-
like: Optional[pulumi.Input[Optional[
|
|
162
|
+
like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
164
163
|
limit: Optional[pulumi.Input[Optional[Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict']]]] = None,
|
|
165
|
-
starts_with: Optional[pulumi.Input[Optional[
|
|
166
|
-
with_describe: Optional[pulumi.Input[Optional[
|
|
164
|
+
starts_with: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
165
|
+
with_describe: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
167
166
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetViewsResult]:
|
|
168
167
|
"""
|
|
169
168
|
!> **Sensitive values** This resource's `show_output.text` field is not marked as sensitive in the provider. Ensure that no personal data, sensitive data, export-controlled data, or other regulated data is entered as metadata when using the provider. For more information, see Sensitive values limitations and [Metadata fields in Snowflake](https://docs.snowflake.com/en/sql-reference/metadata).
|
|
@@ -172,10 +171,10 @@ def get_views_output(in_: Optional[pulumi.Input[Optional[Union['GetViewsInArgs',
|
|
|
172
171
|
|
|
173
172
|
|
|
174
173
|
:param Union['GetViewsInArgs', 'GetViewsInArgsDict'] in_: IN clause to filter the list of views
|
|
175
|
-
:param
|
|
174
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
176
175
|
:param Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict'] 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`.
|
|
177
|
-
:param
|
|
178
|
-
:param
|
|
176
|
+
:param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
177
|
+
:param _builtins.bool with_describe: (Default: `true`) Runs DESC VIEW for each view returned by SHOW VIEWS. The output of describe is saved to the description field. By default this value is set to true.
|
|
179
178
|
"""
|
|
180
179
|
__args__ = dict()
|
|
181
180
|
__args__['in'] = in_
|
|
@@ -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
|
|
@@ -45,23 +44,23 @@ class GetWarehousesResult:
|
|
|
45
44
|
raise TypeError("Expected argument 'with_parameters' to be a bool")
|
|
46
45
|
pulumi.set(__self__, "with_parameters", with_parameters)
|
|
47
46
|
|
|
48
|
-
@property
|
|
47
|
+
@_builtins.property
|
|
49
48
|
@pulumi.getter
|
|
50
|
-
def id(self) ->
|
|
49
|
+
def id(self) -> _builtins.str:
|
|
51
50
|
"""
|
|
52
51
|
The provider-assigned unique ID for this managed resource.
|
|
53
52
|
"""
|
|
54
53
|
return pulumi.get(self, "id")
|
|
55
54
|
|
|
56
|
-
@property
|
|
55
|
+
@_builtins.property
|
|
57
56
|
@pulumi.getter
|
|
58
|
-
def like(self) -> Optional[
|
|
57
|
+
def like(self) -> Optional[_builtins.str]:
|
|
59
58
|
"""
|
|
60
59
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
61
60
|
"""
|
|
62
61
|
return pulumi.get(self, "like")
|
|
63
62
|
|
|
64
|
-
@property
|
|
63
|
+
@_builtins.property
|
|
65
64
|
@pulumi.getter
|
|
66
65
|
def warehouses(self) -> Sequence['outputs.GetWarehousesWarehouseResult']:
|
|
67
66
|
"""
|
|
@@ -69,17 +68,17 @@ class GetWarehousesResult:
|
|
|
69
68
|
"""
|
|
70
69
|
return pulumi.get(self, "warehouses")
|
|
71
70
|
|
|
72
|
-
@property
|
|
71
|
+
@_builtins.property
|
|
73
72
|
@pulumi.getter(name="withDescribe")
|
|
74
|
-
def with_describe(self) -> Optional[
|
|
73
|
+
def with_describe(self) -> Optional[_builtins.bool]:
|
|
75
74
|
"""
|
|
76
75
|
(Default: `true`) Runs DESC WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the description field. By default this value is set to true.
|
|
77
76
|
"""
|
|
78
77
|
return pulumi.get(self, "with_describe")
|
|
79
78
|
|
|
80
|
-
@property
|
|
79
|
+
@_builtins.property
|
|
81
80
|
@pulumi.getter(name="withParameters")
|
|
82
|
-
def with_parameters(self) -> Optional[
|
|
81
|
+
def with_parameters(self) -> Optional[_builtins.bool]:
|
|
83
82
|
"""
|
|
84
83
|
(Default: `true`) Runs SHOW PARAMETERS FOR WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
|
|
85
84
|
"""
|
|
@@ -99,17 +98,17 @@ class AwaitableGetWarehousesResult(GetWarehousesResult):
|
|
|
99
98
|
with_parameters=self.with_parameters)
|
|
100
99
|
|
|
101
100
|
|
|
102
|
-
def get_warehouses(like: Optional[
|
|
103
|
-
with_describe: Optional[
|
|
104
|
-
with_parameters: Optional[
|
|
101
|
+
def get_warehouses(like: Optional[_builtins.str] = None,
|
|
102
|
+
with_describe: Optional[_builtins.bool] = None,
|
|
103
|
+
with_parameters: Optional[_builtins.bool] = None,
|
|
105
104
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWarehousesResult:
|
|
106
105
|
"""
|
|
107
106
|
Data source used to get details of filtered warehouses. Filtering is aligned with the current possibilities for [SHOW WAREHOUSES](https://docs.snowflake.com/en/sql-reference/sql/show-warehouses) query (only `like` is supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
|
|
108
107
|
|
|
109
108
|
|
|
110
|
-
:param
|
|
111
|
-
:param
|
|
112
|
-
:param
|
|
109
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
110
|
+
:param _builtins.bool with_describe: (Default: `true`) Runs DESC WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the description field. By default this value is set to true.
|
|
111
|
+
:param _builtins.bool with_parameters: (Default: `true`) Runs SHOW PARAMETERS FOR WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
|
|
113
112
|
"""
|
|
114
113
|
__args__ = dict()
|
|
115
114
|
__args__['like'] = like
|
|
@@ -124,17 +123,17 @@ def get_warehouses(like: Optional[builtins.str] = None,
|
|
|
124
123
|
warehouses=pulumi.get(__ret__, 'warehouses'),
|
|
125
124
|
with_describe=pulumi.get(__ret__, 'with_describe'),
|
|
126
125
|
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
127
|
-
def get_warehouses_output(like: Optional[pulumi.Input[Optional[
|
|
128
|
-
with_describe: Optional[pulumi.Input[Optional[
|
|
129
|
-
with_parameters: Optional[pulumi.Input[Optional[
|
|
126
|
+
def get_warehouses_output(like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
127
|
+
with_describe: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
128
|
+
with_parameters: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
130
129
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWarehousesResult]:
|
|
131
130
|
"""
|
|
132
131
|
Data source used to get details of filtered warehouses. Filtering is aligned with the current possibilities for [SHOW WAREHOUSES](https://docs.snowflake.com/en/sql-reference/sql/show-warehouses) query (only `like` is supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
|
|
133
132
|
|
|
134
133
|
|
|
135
|
-
:param
|
|
136
|
-
:param
|
|
137
|
-
:param
|
|
134
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
135
|
+
:param _builtins.bool with_describe: (Default: `true`) Runs DESC WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the description field. By default this value is set to true.
|
|
136
|
+
:param _builtins.bool with_parameters: (Default: `true`) Runs SHOW PARAMETERS FOR WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
|
|
138
137
|
"""
|
|
139
138
|
__args__ = dict()
|
|
140
139
|
__args__['like'] = like
|