pulumi-snowflake 1.1.4a1742960027__py3-none-any.whl → 1.2.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.

Files changed (147) hide show
  1. pulumi_snowflake/__init__.py +1 -0
  2. pulumi_snowflake/_inputs.py +12306 -12305
  3. pulumi_snowflake/account.py +189 -188
  4. pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
  5. pulumi_snowflake/account_parameter.py +29 -28
  6. pulumi_snowflake/account_password_policy_attachment.py +15 -14
  7. pulumi_snowflake/account_role.py +32 -31
  8. pulumi_snowflake/alert.py +123 -122
  9. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +161 -160
  10. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +147 -146
  11. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +157 -156
  12. pulumi_snowflake/api_integration.py +218 -217
  13. pulumi_snowflake/authentication_policy.py +137 -136
  14. pulumi_snowflake/config/__init__.py +1 -0
  15. pulumi_snowflake/config/__init__.pyi +1 -0
  16. pulumi_snowflake/config/outputs.py +16 -15
  17. pulumi_snowflake/config/vars.py +1 -0
  18. pulumi_snowflake/cortex_search_service.py +141 -140
  19. pulumi_snowflake/database.py +288 -287
  20. pulumi_snowflake/database_role.py +50 -49
  21. pulumi_snowflake/dynamic_table.py +227 -226
  22. pulumi_snowflake/email_notification_integration.py +56 -55
  23. pulumi_snowflake/execute.py +50 -49
  24. pulumi_snowflake/external_function.py +237 -236
  25. pulumi_snowflake/external_oauth_integration.py +232 -231
  26. pulumi_snowflake/external_table.py +206 -205
  27. pulumi_snowflake/external_volume.py +59 -54
  28. pulumi_snowflake/failover_group.py +109 -108
  29. pulumi_snowflake/file_format.py +512 -511
  30. pulumi_snowflake/function_java.py +255 -254
  31. pulumi_snowflake/function_javascript.py +199 -198
  32. pulumi_snowflake/function_python.py +272 -271
  33. pulumi_snowflake/function_scala.py +255 -254
  34. pulumi_snowflake/function_sql.py +185 -184
  35. pulumi_snowflake/get_account_roles.py +12 -11
  36. pulumi_snowflake/get_accounts.py +12 -11
  37. pulumi_snowflake/get_alerts.py +23 -18
  38. pulumi_snowflake/get_connections.py +7 -6
  39. pulumi_snowflake/get_cortex_search_services.py +18 -13
  40. pulumi_snowflake/get_current_account.py +11 -6
  41. pulumi_snowflake/get_current_role.py +9 -4
  42. pulumi_snowflake/get_database.py +21 -16
  43. pulumi_snowflake/get_database_role.py +20 -15
  44. pulumi_snowflake/get_database_roles.py +12 -11
  45. pulumi_snowflake/get_databases.py +24 -23
  46. pulumi_snowflake/get_dynamic_tables.py +13 -8
  47. pulumi_snowflake/get_external_functions.py +18 -13
  48. pulumi_snowflake/get_external_tables.py +18 -13
  49. pulumi_snowflake/get_failover_groups.py +13 -8
  50. pulumi_snowflake/get_file_formats.py +18 -13
  51. pulumi_snowflake/get_functions.py +18 -13
  52. pulumi_snowflake/get_grants.py +6 -1
  53. pulumi_snowflake/get_masking_policies.py +13 -12
  54. pulumi_snowflake/get_materialized_views.py +18 -13
  55. pulumi_snowflake/get_network_policies.py +13 -12
  56. pulumi_snowflake/get_parameters.py +34 -29
  57. pulumi_snowflake/get_pipes.py +18 -13
  58. pulumi_snowflake/get_procedures.py +18 -13
  59. pulumi_snowflake/get_resource_monitors.py +7 -6
  60. pulumi_snowflake/get_row_access_policies.py +13 -12
  61. pulumi_snowflake/get_schemas.py +24 -23
  62. pulumi_snowflake/get_secrets.py +17 -12
  63. pulumi_snowflake/get_security_integrations.py +13 -12
  64. pulumi_snowflake/get_sequences.py +18 -13
  65. pulumi_snowflake/get_shares.py +13 -8
  66. pulumi_snowflake/get_stages.py +18 -13
  67. pulumi_snowflake/get_storage_integrations.py +8 -3
  68. pulumi_snowflake/get_streamlits.py +13 -12
  69. pulumi_snowflake/get_streams.py +18 -17
  70. pulumi_snowflake/get_system_generate_scim_access_token.py +14 -9
  71. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +12 -7
  72. pulumi_snowflake/get_system_get_private_link_config.py +17 -12
  73. pulumi_snowflake/get_system_get_snowflake_platform_info.py +10 -5
  74. pulumi_snowflake/get_tables.py +18 -13
  75. pulumi_snowflake/get_tags.py +7 -6
  76. pulumi_snowflake/get_tasks.py +23 -22
  77. pulumi_snowflake/get_users.py +24 -23
  78. pulumi_snowflake/get_views.py +18 -17
  79. pulumi_snowflake/get_warehouses.py +19 -18
  80. pulumi_snowflake/grant_account_role.py +43 -42
  81. pulumi_snowflake/grant_application_role.py +43 -42
  82. pulumi_snowflake/grant_database_role.py +57 -56
  83. pulumi_snowflake/grant_ownership.py +43 -42
  84. pulumi_snowflake/grant_privileges_to_account_role.py +107 -106
  85. pulumi_snowflake/grant_privileges_to_database_role.py +104 -103
  86. pulumi_snowflake/grant_privileges_to_share.py +127 -126
  87. pulumi_snowflake/legacy_service_user.py +1048 -1047
  88. pulumi_snowflake/managed_account.py +116 -115
  89. pulumi_snowflake/masking_policy.py +109 -108
  90. pulumi_snowflake/materialized_view.py +126 -125
  91. pulumi_snowflake/network_policy.py +92 -91
  92. pulumi_snowflake/network_policy_attachment.py +46 -45
  93. pulumi_snowflake/network_rule.py +106 -105
  94. pulumi_snowflake/notification_integration.py +254 -240
  95. pulumi_snowflake/oauth_integration_for_custom_clients.py +225 -224
  96. pulumi_snowflake/oauth_integration_for_partner_applications.py +143 -142
  97. pulumi_snowflake/object_parameter.py +60 -59
  98. pulumi_snowflake/outputs.py +9282 -9281
  99. pulumi_snowflake/password_policy.py +291 -286
  100. pulumi_snowflake/pipe.py +151 -150
  101. pulumi_snowflake/primary_connection.py +55 -54
  102. pulumi_snowflake/procedure_java.py +273 -272
  103. pulumi_snowflake/procedure_javascript.py +203 -202
  104. pulumi_snowflake/procedure_python.py +273 -272
  105. pulumi_snowflake/procedure_scala.py +273 -272
  106. pulumi_snowflake/procedure_sql.py +203 -202
  107. pulumi_snowflake/provider.py +303 -302
  108. pulumi_snowflake/pulumi-plugin.json +1 -1
  109. pulumi_snowflake/resource_monitor.py +134 -133
  110. pulumi_snowflake/row_access_policy.py +78 -77
  111. pulumi_snowflake/saml2_integration.py +258 -257
  112. pulumi_snowflake/schema.py +322 -321
  113. pulumi_snowflake/scim_integration.py +109 -108
  114. pulumi_snowflake/secondary_connection.py +57 -56
  115. pulumi_snowflake/secondary_database.py +288 -287
  116. pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
  117. pulumi_snowflake/secret_with_basic_authentication.py +95 -94
  118. pulumi_snowflake/secret_with_client_credentials.py +99 -98
  119. pulumi_snowflake/secret_with_generic_string.py +81 -80
  120. pulumi_snowflake/sequence.py +108 -107
  121. pulumi_snowflake/service_user.py +1021 -1020
  122. pulumi_snowflake/share.py +50 -49
  123. pulumi_snowflake/shared_database.py +246 -245
  124. pulumi_snowflake/stage.py +190 -189
  125. pulumi_snowflake/storage_integration.py +231 -165
  126. pulumi_snowflake/stream_on_directory_table.py +100 -99
  127. pulumi_snowflake/stream_on_external_table.py +117 -116
  128. pulumi_snowflake/stream_on_table.py +127 -126
  129. pulumi_snowflake/stream_on_view.py +127 -126
  130. pulumi_snowflake/streamlit.py +148 -147
  131. pulumi_snowflake/table.py +119 -118
  132. pulumi_snowflake/table_column_masking_policy_application.py +43 -42
  133. pulumi_snowflake/table_constraint.py +173 -172
  134. pulumi_snowflake/tag.py +92 -91
  135. pulumi_snowflake/tag_association.py +74 -73
  136. pulumi_snowflake/task.py +1005 -1004
  137. pulumi_snowflake/user.py +1110 -1109
  138. pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
  139. pulumi_snowflake/user_password_policy_attachment.py +29 -28
  140. pulumi_snowflake/user_public_keys.py +43 -42
  141. pulumi_snowflake/view.py +142 -141
  142. pulumi_snowflake/warehouse.py +244 -243
  143. {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.dist-info}/METADATA +1 -1
  144. pulumi_snowflake-1.2.0.dist-info/RECORD +148 -0
  145. pulumi_snowflake-1.1.4a1742960027.dist-info/RECORD +0 -148
  146. {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.dist-info}/WHEEL +0 -0
  147. {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.dist-info}/top_level.txt +0 -0
@@ -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,9 +113,9 @@ 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
- 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
+ (Default: `true`) 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
  """
119
120
  return pulumi.get(self, "with_parameters")
120
121
 
@@ -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: (Default: `true`) 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: (Default: `true`) 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_
@@ -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,17 +94,17 @@ 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
- 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
+ (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.
99
100
  """
100
101
  return pulumi.get(self, "with_describe")
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
- 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
+ (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.
107
108
  """
108
109
  return pulumi.get(self, "with_parameters")
109
110
 
@@ -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: (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.
141
+ :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.
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: (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.
174
+ :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.
174
175
  """
175
176
  __args__ = dict()
176
177
  __args__['like'] = like
@@ -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,9 +102,9 @@ 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
- 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
+ (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.
107
108
  """
108
109
  return pulumi.get(self, "with_describe")
109
110
 
@@ -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: (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.
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: (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.
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,17 +71,17 @@ 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
- 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
+ (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.
76
77
  """
77
78
  return pulumi.get(self, "with_describe")
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
- 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
+ (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.
84
85
  """
85
86
  return pulumi.get(self, "with_parameters")
86
87
 
@@ -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: (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.
112
+ :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.
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: (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.
137
+ :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.
137
138
  """
138
139
  __args__ = dict()
139
140
  __args__['like'] = like