pulumi-snowflake 1.2.0a1743489585__py3-none-any.whl → 1.2.0a1744183688__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 -0
- pulumi_snowflake/_inputs.py +12288 -12287
- pulumi_snowflake/account.py +186 -185
- pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
- pulumi_snowflake/account_parameter.py +29 -28
- pulumi_snowflake/account_password_policy_attachment.py +15 -14
- pulumi_snowflake/account_role.py +32 -31
- pulumi_snowflake/alert.py +120 -119
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
- pulumi_snowflake/api_integration.py +203 -202
- pulumi_snowflake/authentication_policy.py +134 -133
- pulumi_snowflake/config/__init__.py +1 -0
- pulumi_snowflake/config/__init__.pyi +1 -0
- pulumi_snowflake/config/outputs.py +16 -15
- pulumi_snowflake/config/vars.py +1 -0
- pulumi_snowflake/cortex_search_service.py +141 -140
- pulumi_snowflake/database.py +288 -287
- pulumi_snowflake/database_role.py +50 -49
- pulumi_snowflake/dynamic_table.py +218 -217
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +225 -224
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +197 -196
- pulumi_snowflake/external_volume.py +50 -49
- pulumi_snowflake/failover_group.py +106 -105
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +249 -248
- pulumi_snowflake/function_javascript.py +193 -192
- pulumi_snowflake/function_python.py +263 -262
- pulumi_snowflake/function_scala.py +249 -248
- pulumi_snowflake/function_sql.py +179 -178
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +17 -16
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +12 -11
- pulumi_snowflake/get_current_account.py +5 -4
- pulumi_snowflake/get_current_role.py +3 -2
- pulumi_snowflake/get_database.py +15 -14
- pulumi_snowflake/get_database_role.py +14 -13
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +22 -21
- pulumi_snowflake/get_dynamic_tables.py +7 -6
- pulumi_snowflake/get_external_functions.py +12 -11
- pulumi_snowflake/get_external_tables.py +12 -11
- pulumi_snowflake/get_failover_groups.py +7 -6
- pulumi_snowflake/get_file_formats.py +12 -11
- pulumi_snowflake/get_functions.py +12 -11
- pulumi_snowflake/get_grants.py +2 -1
- pulumi_snowflake/get_masking_policies.py +12 -11
- pulumi_snowflake/get_materialized_views.py +12 -11
- pulumi_snowflake/get_network_policies.py +12 -11
- pulumi_snowflake/get_parameters.py +27 -26
- pulumi_snowflake/get_pipes.py +12 -11
- pulumi_snowflake/get_procedures.py +12 -11
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +12 -11
- pulumi_snowflake/get_schemas.py +22 -21
- pulumi_snowflake/get_secrets.py +12 -11
- pulumi_snowflake/get_security_integrations.py +12 -11
- pulumi_snowflake/get_sequences.py +12 -11
- pulumi_snowflake/get_shares.py +7 -6
- pulumi_snowflake/get_stages.py +12 -11
- pulumi_snowflake/get_storage_integrations.py +2 -1
- pulumi_snowflake/get_streamlits.py +12 -11
- pulumi_snowflake/get_streams.py +17 -16
- pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
- pulumi_snowflake/get_system_get_private_link_config.py +11 -10
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
- pulumi_snowflake/get_tables.py +12 -11
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +22 -21
- pulumi_snowflake/get_users.py +22 -21
- pulumi_snowflake/get_views.py +17 -16
- pulumi_snowflake/get_warehouses.py +17 -16
- pulumi_snowflake/grant_account_role.py +43 -42
- pulumi_snowflake/grant_application_role.py +43 -42
- pulumi_snowflake/grant_database_role.py +57 -56
- pulumi_snowflake/grant_ownership.py +43 -42
- pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1039 -1038
- pulumi_snowflake/managed_account.py +113 -112
- pulumi_snowflake/masking_policy.py +106 -105
- pulumi_snowflake/materialized_view.py +120 -119
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +43 -42
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +238 -237
- pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
- pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
- pulumi_snowflake/object_parameter.py +57 -56
- pulumi_snowflake/outputs.py +9273 -9272
- pulumi_snowflake/password_policy.py +246 -245
- pulumi_snowflake/pipe.py +148 -147
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +267 -266
- pulumi_snowflake/procedure_javascript.py +197 -196
- pulumi_snowflake/procedure_python.py +267 -266
- pulumi_snowflake/procedure_scala.py +267 -266
- pulumi_snowflake/procedure_sql.py +197 -196
- pulumi_snowflake/provider.py +303 -302
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +134 -133
- pulumi_snowflake/row_access_policy.py +78 -77
- pulumi_snowflake/saml2_integration.py +246 -245
- pulumi_snowflake/schema.py +316 -315
- pulumi_snowflake/scim_integration.py +106 -105
- pulumi_snowflake/secondary_connection.py +57 -56
- pulumi_snowflake/secondary_database.py +288 -287
- pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
- pulumi_snowflake/secret_with_basic_authentication.py +95 -94
- pulumi_snowflake/secret_with_client_credentials.py +99 -98
- pulumi_snowflake/secret_with_generic_string.py +81 -80
- pulumi_snowflake/sequence.py +99 -98
- pulumi_snowflake/service_user.py +1015 -1014
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +166 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +114 -113
- pulumi_snowflake/stream_on_table.py +124 -123
- pulumi_snowflake/stream_on_view.py +124 -123
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +113 -112
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +155 -154
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +71 -70
- pulumi_snowflake/task.py +1002 -1001
- pulumi_snowflake/user.py +1101 -1100
- pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
- pulumi_snowflake/user_password_policy_attachment.py +29 -28
- pulumi_snowflake/user_public_keys.py +43 -42
- pulumi_snowflake/view.py +136 -135
- pulumi_snowflake/warehouse.py +232 -231
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744183688.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1743489585.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/top_level.txt +0 -0
pulumi_snowflake/get_tasks.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -56,7 +57,7 @@ class GetTasksResult:
|
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter
|
|
59
|
-
def id(self) -> str:
|
|
60
|
+
def id(self) -> builtins.str:
|
|
60
61
|
"""
|
|
61
62
|
The provider-assigned unique ID for this managed resource.
|
|
62
63
|
"""
|
|
@@ -72,7 +73,7 @@ class GetTasksResult:
|
|
|
72
73
|
|
|
73
74
|
@property
|
|
74
75
|
@pulumi.getter
|
|
75
|
-
def like(self) -> Optional[str]:
|
|
76
|
+
def like(self) -> Optional[builtins.str]:
|
|
76
77
|
"""
|
|
77
78
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
78
79
|
"""
|
|
@@ -88,7 +89,7 @@ class GetTasksResult:
|
|
|
88
89
|
|
|
89
90
|
@property
|
|
90
91
|
@pulumi.getter(name="rootOnly")
|
|
91
|
-
def root_only(self) -> Optional[bool]:
|
|
92
|
+
def root_only(self) -> Optional[builtins.bool]:
|
|
92
93
|
"""
|
|
93
94
|
Filters the command output to return only root tasks (tasks with no predecessors).
|
|
94
95
|
"""
|
|
@@ -96,7 +97,7 @@ class GetTasksResult:
|
|
|
96
97
|
|
|
97
98
|
@property
|
|
98
99
|
@pulumi.getter(name="startsWith")
|
|
99
|
-
def starts_with(self) -> Optional[str]:
|
|
100
|
+
def starts_with(self) -> Optional[builtins.str]:
|
|
100
101
|
"""
|
|
101
102
|
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
102
103
|
"""
|
|
@@ -112,7 +113,7 @@ class GetTasksResult:
|
|
|
112
113
|
|
|
113
114
|
@property
|
|
114
115
|
@pulumi.getter(name="withParameters")
|
|
115
|
-
def with_parameters(self) -> Optional[bool]:
|
|
116
|
+
def with_parameters(self) -> Optional[builtins.bool]:
|
|
116
117
|
"""
|
|
117
118
|
Runs SHOW PARAMETERS FOR TASK for each task returned by SHOW TASK and saves the output to the parameters field as a map. By default this value is set to true.
|
|
118
119
|
"""
|
|
@@ -136,22 +137,22 @@ class AwaitableGetTasksResult(GetTasksResult):
|
|
|
136
137
|
|
|
137
138
|
|
|
138
139
|
def get_tasks(in_: Optional[Union['GetTasksInArgs', 'GetTasksInArgsDict']] = None,
|
|
139
|
-
like: Optional[str] = None,
|
|
140
|
+
like: Optional[builtins.str] = None,
|
|
140
141
|
limit: Optional[Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict']] = None,
|
|
141
|
-
root_only: Optional[bool] = None,
|
|
142
|
-
starts_with: Optional[str] = None,
|
|
143
|
-
with_parameters: Optional[bool] = None,
|
|
142
|
+
root_only: Optional[builtins.bool] = None,
|
|
143
|
+
starts_with: Optional[builtins.str] = None,
|
|
144
|
+
with_parameters: Optional[builtins.bool] = None,
|
|
144
145
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTasksResult:
|
|
145
146
|
"""
|
|
146
147
|
Data source used to get details of filtered tasks. Filtering is aligned with the current possibilities for [SHOW TASKS](https://docs.snowflake.com/en/sql-reference/sql/show-tasks) query. The results of SHOW and SHOW PARAMETERS IN are encapsulated in one output collection `tasks`.
|
|
147
148
|
|
|
148
149
|
|
|
149
150
|
:param Union['GetTasksInArgs', 'GetTasksInArgsDict'] in_: IN clause to filter the list of objects
|
|
150
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
151
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
151
152
|
:param Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll 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`.
|
|
152
|
-
:param bool root_only: Filters the command output to return only root tasks (tasks with no predecessors).
|
|
153
|
-
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
154
|
-
:param bool with_parameters: Runs SHOW PARAMETERS FOR TASK for each task returned by SHOW TASK and saves the output to the parameters field as a map. By default this value is set to true.
|
|
153
|
+
:param builtins.bool root_only: Filters the command output to return only root tasks (tasks with no predecessors).
|
|
154
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
155
|
+
:param builtins.bool with_parameters: Runs SHOW PARAMETERS FOR TASK for each task returned by SHOW TASK and saves the output to the parameters field as a map. By default this value is set to true.
|
|
155
156
|
"""
|
|
156
157
|
__args__ = dict()
|
|
157
158
|
__args__['in'] = in_
|
|
@@ -173,22 +174,22 @@ def get_tasks(in_: Optional[Union['GetTasksInArgs', 'GetTasksInArgsDict']] = Non
|
|
|
173
174
|
tasks=pulumi.get(__ret__, 'tasks'),
|
|
174
175
|
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
175
176
|
def get_tasks_output(in_: Optional[pulumi.Input[Optional[Union['GetTasksInArgs', 'GetTasksInArgsDict']]]] = None,
|
|
176
|
-
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
177
|
+
like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
177
178
|
limit: Optional[pulumi.Input[Optional[Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict']]]] = None,
|
|
178
|
-
root_only: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
179
|
-
starts_with: Optional[pulumi.Input[Optional[str]]] = None,
|
|
180
|
-
with_parameters: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
179
|
+
root_only: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
180
|
+
starts_with: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
181
|
+
with_parameters: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
181
182
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTasksResult]:
|
|
182
183
|
"""
|
|
183
184
|
Data source used to get details of filtered tasks. Filtering is aligned with the current possibilities for [SHOW TASKS](https://docs.snowflake.com/en/sql-reference/sql/show-tasks) query. The results of SHOW and SHOW PARAMETERS IN are encapsulated in one output collection `tasks`.
|
|
184
185
|
|
|
185
186
|
|
|
186
187
|
:param Union['GetTasksInArgs', 'GetTasksInArgsDict'] in_: IN clause to filter the list of objects
|
|
187
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
188
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
188
189
|
:param Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll 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`.
|
|
189
|
-
:param bool root_only: Filters the command output to return only root tasks (tasks with no predecessors).
|
|
190
|
-
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
191
|
-
:param bool with_parameters: Runs SHOW PARAMETERS FOR TASK for each task returned by SHOW TASK and saves the output to the parameters field as a map. By default this value is set to true.
|
|
190
|
+
:param builtins.bool root_only: Filters the command output to return only root tasks (tasks with no predecessors).
|
|
191
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
192
|
+
:param builtins.bool with_parameters: Runs SHOW PARAMETERS FOR TASK for each task returned by SHOW TASK and saves the output to the parameters field as a map. By default this value is set to true.
|
|
192
193
|
"""
|
|
193
194
|
__args__ = dict()
|
|
194
195
|
__args__['in'] = in_
|
pulumi_snowflake/get_users.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -53,7 +54,7 @@ class GetUsersResult:
|
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter
|
|
56
|
-
def id(self) -> str:
|
|
57
|
+
def id(self) -> builtins.str:
|
|
57
58
|
"""
|
|
58
59
|
The provider-assigned unique ID for this managed resource.
|
|
59
60
|
"""
|
|
@@ -61,7 +62,7 @@ class GetUsersResult:
|
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter
|
|
64
|
-
def like(self) -> Optional[str]:
|
|
65
|
+
def like(self) -> Optional[builtins.str]:
|
|
65
66
|
"""
|
|
66
67
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
67
68
|
"""
|
|
@@ -77,7 +78,7 @@ class GetUsersResult:
|
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter(name="startsWith")
|
|
80
|
-
def starts_with(self) -> Optional[str]:
|
|
81
|
+
def starts_with(self) -> Optional[builtins.str]:
|
|
81
82
|
"""
|
|
82
83
|
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
83
84
|
"""
|
|
@@ -93,7 +94,7 @@ class GetUsersResult:
|
|
|
93
94
|
|
|
94
95
|
@property
|
|
95
96
|
@pulumi.getter(name="withDescribe")
|
|
96
|
-
def with_describe(self) -> Optional[bool]:
|
|
97
|
+
def with_describe(self) -> Optional[builtins.bool]:
|
|
97
98
|
"""
|
|
98
99
|
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.
|
|
99
100
|
"""
|
|
@@ -101,7 +102,7 @@ class GetUsersResult:
|
|
|
101
102
|
|
|
102
103
|
@property
|
|
103
104
|
@pulumi.getter(name="withParameters")
|
|
104
|
-
def with_parameters(self) -> Optional[bool]:
|
|
105
|
+
def with_parameters(self) -> Optional[builtins.bool]:
|
|
105
106
|
"""
|
|
106
107
|
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.
|
|
107
108
|
"""
|
|
@@ -123,21 +124,21 @@ class AwaitableGetUsersResult(GetUsersResult):
|
|
|
123
124
|
with_parameters=self.with_parameters)
|
|
124
125
|
|
|
125
126
|
|
|
126
|
-
def get_users(like: Optional[str] = None,
|
|
127
|
+
def get_users(like: Optional[builtins.str] = None,
|
|
127
128
|
limit: Optional[Union['GetUsersLimitArgs', 'GetUsersLimitArgsDict']] = None,
|
|
128
|
-
starts_with: Optional[str] = None,
|
|
129
|
-
with_describe: Optional[bool] = None,
|
|
130
|
-
with_parameters: Optional[bool] = None,
|
|
129
|
+
starts_with: Optional[builtins.str] = None,
|
|
130
|
+
with_describe: Optional[builtins.bool] = None,
|
|
131
|
+
with_parameters: Optional[builtins.bool] = None,
|
|
131
132
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUsersResult:
|
|
132
133
|
"""
|
|
133
134
|
Data source used to get details of filtered users. Filtering is aligned with the current possibilities for [SHOW USERS](https://docs.snowflake.com/en/sql-reference/sql/show-users) query. The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection. Important note is that when querying users you don't have permissions to, the querying options are limited. You won't get almost any field in `show_output` (only empty or default values), the DESCRIBE command will return error when called, so you have to set `with_describe = false`; the SHOW PARAMETERS command will return error when called too, so you have to set `with_parameters = false`.
|
|
134
135
|
|
|
135
136
|
|
|
136
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
137
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
137
138
|
:param Union['GetUsersLimitArgs', 'GetUsersLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll 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`.
|
|
138
|
-
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
139
|
-
:param bool with_describe: 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 bool with_parameters: 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.
|
|
139
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
140
|
+
:param builtins.bool with_describe: 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.
|
|
141
|
+
:param builtins.bool with_parameters: 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.
|
|
141
142
|
"""
|
|
142
143
|
__args__ = dict()
|
|
143
144
|
__args__['like'] = like
|
|
@@ -156,21 +157,21 @@ def get_users(like: Optional[str] = None,
|
|
|
156
157
|
users=pulumi.get(__ret__, 'users'),
|
|
157
158
|
with_describe=pulumi.get(__ret__, 'with_describe'),
|
|
158
159
|
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
159
|
-
def get_users_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
160
|
+
def get_users_output(like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
160
161
|
limit: Optional[pulumi.Input[Optional[Union['GetUsersLimitArgs', 'GetUsersLimitArgsDict']]]] = None,
|
|
161
|
-
starts_with: Optional[pulumi.Input[Optional[str]]] = None,
|
|
162
|
-
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
163
|
-
with_parameters: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
162
|
+
starts_with: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
163
|
+
with_describe: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
164
|
+
with_parameters: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
164
165
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUsersResult]:
|
|
165
166
|
"""
|
|
166
167
|
Data source used to get details of filtered users. Filtering is aligned with the current possibilities for [SHOW USERS](https://docs.snowflake.com/en/sql-reference/sql/show-users) query. The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection. Important note is that when querying users you don't have permissions to, the querying options are limited. You won't get almost any field in `show_output` (only empty or default values), the DESCRIBE command will return error when called, so you have to set `with_describe = false`; the SHOW PARAMETERS command will return error when called too, so you have to set `with_parameters = false`.
|
|
167
168
|
|
|
168
169
|
|
|
169
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
170
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
170
171
|
:param Union['GetUsersLimitArgs', 'GetUsersLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll 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`.
|
|
171
|
-
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
172
|
-
:param bool with_describe: 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 bool with_parameters: 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.
|
|
172
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
173
|
+
:param builtins.bool with_describe: 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.
|
|
174
|
+
:param builtins.bool with_parameters: 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.
|
|
174
175
|
"""
|
|
175
176
|
__args__ = dict()
|
|
176
177
|
__args__['like'] = like
|
pulumi_snowflake/get_views.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -53,7 +54,7 @@ class GetViewsResult:
|
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter
|
|
56
|
-
def id(self) -> str:
|
|
57
|
+
def id(self) -> builtins.str:
|
|
57
58
|
"""
|
|
58
59
|
The provider-assigned unique ID for this managed resource.
|
|
59
60
|
"""
|
|
@@ -69,7 +70,7 @@ class GetViewsResult:
|
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter
|
|
72
|
-
def like(self) -> Optional[str]:
|
|
73
|
+
def like(self) -> Optional[builtins.str]:
|
|
73
74
|
"""
|
|
74
75
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
75
76
|
"""
|
|
@@ -85,7 +86,7 @@ class GetViewsResult:
|
|
|
85
86
|
|
|
86
87
|
@property
|
|
87
88
|
@pulumi.getter(name="startsWith")
|
|
88
|
-
def starts_with(self) -> Optional[str]:
|
|
89
|
+
def starts_with(self) -> Optional[builtins.str]:
|
|
89
90
|
"""
|
|
90
91
|
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
91
92
|
"""
|
|
@@ -101,7 +102,7 @@ class GetViewsResult:
|
|
|
101
102
|
|
|
102
103
|
@property
|
|
103
104
|
@pulumi.getter(name="withDescribe")
|
|
104
|
-
def with_describe(self) -> Optional[bool]:
|
|
105
|
+
def with_describe(self) -> Optional[builtins.bool]:
|
|
105
106
|
"""
|
|
106
107
|
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.
|
|
107
108
|
"""
|
|
@@ -124,20 +125,20 @@ class AwaitableGetViewsResult(GetViewsResult):
|
|
|
124
125
|
|
|
125
126
|
|
|
126
127
|
def get_views(in_: Optional[Union['GetViewsInArgs', 'GetViewsInArgsDict']] = None,
|
|
127
|
-
like: Optional[str] = None,
|
|
128
|
+
like: Optional[builtins.str] = None,
|
|
128
129
|
limit: Optional[Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict']] = None,
|
|
129
|
-
starts_with: Optional[str] = None,
|
|
130
|
-
with_describe: Optional[bool] = None,
|
|
130
|
+
starts_with: Optional[builtins.str] = None,
|
|
131
|
+
with_describe: Optional[builtins.bool] = None,
|
|
131
132
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetViewsResult:
|
|
132
133
|
"""
|
|
133
134
|
Data source used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
134
135
|
|
|
135
136
|
|
|
136
137
|
:param Union['GetViewsInArgs', 'GetViewsInArgsDict'] in_: IN clause to filter the list of views
|
|
137
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
138
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
138
139
|
:param Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll 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 str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
140
|
-
:param bool with_describe: 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.
|
|
140
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
141
|
+
:param builtins.bool with_describe: 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.
|
|
141
142
|
"""
|
|
142
143
|
__args__ = dict()
|
|
143
144
|
__args__['in'] = in_
|
|
@@ -157,20 +158,20 @@ def get_views(in_: Optional[Union['GetViewsInArgs', 'GetViewsInArgsDict']] = Non
|
|
|
157
158
|
views=pulumi.get(__ret__, 'views'),
|
|
158
159
|
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
159
160
|
def get_views_output(in_: Optional[pulumi.Input[Optional[Union['GetViewsInArgs', 'GetViewsInArgsDict']]]] = None,
|
|
160
|
-
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
161
|
+
like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
161
162
|
limit: Optional[pulumi.Input[Optional[Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict']]]] = None,
|
|
162
|
-
starts_with: Optional[pulumi.Input[Optional[str]]] = None,
|
|
163
|
-
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
163
|
+
starts_with: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
164
|
+
with_describe: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
164
165
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetViewsResult]:
|
|
165
166
|
"""
|
|
166
167
|
Data source used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
167
168
|
|
|
168
169
|
|
|
169
170
|
:param Union['GetViewsInArgs', 'GetViewsInArgsDict'] in_: IN clause to filter the list of views
|
|
170
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
171
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
171
172
|
:param Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll 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 str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
173
|
-
:param bool with_describe: 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.
|
|
173
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
174
|
+
:param builtins.bool with_describe: 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.
|
|
174
175
|
"""
|
|
175
176
|
__args__ = dict()
|
|
176
177
|
__args__['in'] = in_
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -46,7 +47,7 @@ class GetWarehousesResult:
|
|
|
46
47
|
|
|
47
48
|
@property
|
|
48
49
|
@pulumi.getter
|
|
49
|
-
def id(self) -> str:
|
|
50
|
+
def id(self) -> builtins.str:
|
|
50
51
|
"""
|
|
51
52
|
The provider-assigned unique ID for this managed resource.
|
|
52
53
|
"""
|
|
@@ -54,7 +55,7 @@ class GetWarehousesResult:
|
|
|
54
55
|
|
|
55
56
|
@property
|
|
56
57
|
@pulumi.getter
|
|
57
|
-
def like(self) -> Optional[str]:
|
|
58
|
+
def like(self) -> Optional[builtins.str]:
|
|
58
59
|
"""
|
|
59
60
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
60
61
|
"""
|
|
@@ -70,7 +71,7 @@ class GetWarehousesResult:
|
|
|
70
71
|
|
|
71
72
|
@property
|
|
72
73
|
@pulumi.getter(name="withDescribe")
|
|
73
|
-
def with_describe(self) -> Optional[bool]:
|
|
74
|
+
def with_describe(self) -> Optional[builtins.bool]:
|
|
74
75
|
"""
|
|
75
76
|
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.
|
|
76
77
|
"""
|
|
@@ -78,7 +79,7 @@ class GetWarehousesResult:
|
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter(name="withParameters")
|
|
81
|
-
def with_parameters(self) -> Optional[bool]:
|
|
82
|
+
def with_parameters(self) -> Optional[builtins.bool]:
|
|
82
83
|
"""
|
|
83
84
|
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.
|
|
84
85
|
"""
|
|
@@ -98,17 +99,17 @@ class AwaitableGetWarehousesResult(GetWarehousesResult):
|
|
|
98
99
|
with_parameters=self.with_parameters)
|
|
99
100
|
|
|
100
101
|
|
|
101
|
-
def get_warehouses(like: Optional[str] = None,
|
|
102
|
-
with_describe: Optional[bool] = None,
|
|
103
|
-
with_parameters: Optional[bool] = None,
|
|
102
|
+
def get_warehouses(like: Optional[builtins.str] = None,
|
|
103
|
+
with_describe: Optional[builtins.bool] = None,
|
|
104
|
+
with_parameters: Optional[builtins.bool] = None,
|
|
104
105
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWarehousesResult:
|
|
105
106
|
"""
|
|
106
107
|
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.
|
|
107
108
|
|
|
108
109
|
|
|
109
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
110
|
-
:param bool with_describe: 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 bool with_parameters: 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.
|
|
110
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
111
|
+
:param builtins.bool with_describe: 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.
|
|
112
|
+
:param builtins.bool with_parameters: 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.
|
|
112
113
|
"""
|
|
113
114
|
__args__ = dict()
|
|
114
115
|
__args__['like'] = like
|
|
@@ -123,17 +124,17 @@ def get_warehouses(like: Optional[str] = None,
|
|
|
123
124
|
warehouses=pulumi.get(__ret__, 'warehouses'),
|
|
124
125
|
with_describe=pulumi.get(__ret__, 'with_describe'),
|
|
125
126
|
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
126
|
-
def get_warehouses_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
127
|
-
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
128
|
-
with_parameters: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
127
|
+
def get_warehouses_output(like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
128
|
+
with_describe: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
129
|
+
with_parameters: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
129
130
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWarehousesResult]:
|
|
130
131
|
"""
|
|
131
132
|
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.
|
|
132
133
|
|
|
133
134
|
|
|
134
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
135
|
-
:param bool with_describe: 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 bool with_parameters: 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.
|
|
135
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
136
|
+
:param builtins.bool with_describe: 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.
|
|
137
|
+
:param builtins.bool with_parameters: 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.
|
|
137
138
|
"""
|
|
138
139
|
__args__ = dict()
|
|
139
140
|
__args__['like'] = like
|