pulumi-snowflake 2.2.0__py3-none-any.whl → 2.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-snowflake might be problematic. Click here for more details.

Files changed (160) hide show
  1. pulumi_snowflake/__init__.py +20 -1
  2. pulumi_snowflake/_inputs.py +17236 -16797
  3. pulumi_snowflake/account.py +252 -253
  4. pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
  5. pulumi_snowflake/account_parameter.py +35 -36
  6. pulumi_snowflake/account_password_policy_attachment.py +18 -19
  7. pulumi_snowflake/account_role.py +42 -43
  8. pulumi_snowflake/alert.py +149 -150
  9. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
  10. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
  11. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
  12. pulumi_snowflake/api_integration.py +251 -252
  13. pulumi_snowflake/authentication_policy.py +167 -168
  14. pulumi_snowflake/compute_pool.py +167 -168
  15. pulumi_snowflake/config/__init__.py +1 -1
  16. pulumi_snowflake/config/__init__.pyi +1 -2
  17. pulumi_snowflake/config/outputs.py +21 -22
  18. pulumi_snowflake/config/vars.py +43 -44
  19. pulumi_snowflake/cortex_search_service.py +191 -192
  20. pulumi_snowflake/current_account.py +2096 -2097
  21. pulumi_snowflake/current_organization_account.py +5863 -0
  22. pulumi_snowflake/database.py +353 -354
  23. pulumi_snowflake/database_role.py +63 -64
  24. pulumi_snowflake/dynamic_table.py +274 -275
  25. pulumi_snowflake/email_notification_integration.py +70 -71
  26. pulumi_snowflake/execute.py +61 -62
  27. pulumi_snowflake/external_function.py +280 -281
  28. pulumi_snowflake/external_oauth_integration.py +288 -289
  29. pulumi_snowflake/external_table.py +246 -247
  30. pulumi_snowflake/external_volume.py +68 -69
  31. pulumi_snowflake/failover_group.py +135 -136
  32. pulumi_snowflake/file_format.py +622 -623
  33. pulumi_snowflake/function_java.py +320 -321
  34. pulumi_snowflake/function_javascript.py +243 -244
  35. pulumi_snowflake/function_python.py +334 -335
  36. pulumi_snowflake/function_scala.py +320 -321
  37. pulumi_snowflake/function_sql.py +226 -227
  38. pulumi_snowflake/get_account_roles.py +16 -17
  39. pulumi_snowflake/get_accounts.py +16 -17
  40. pulumi_snowflake/get_alerts.py +22 -23
  41. pulumi_snowflake/get_compute_pools.py +23 -24
  42. pulumi_snowflake/get_connections.py +10 -11
  43. pulumi_snowflake/get_cortex_search_services.py +18 -19
  44. pulumi_snowflake/get_current_account.py +9 -10
  45. pulumi_snowflake/get_current_role.py +5 -6
  46. pulumi_snowflake/get_database.py +25 -26
  47. pulumi_snowflake/get_database_role.py +19 -20
  48. pulumi_snowflake/get_database_roles.py +17 -18
  49. pulumi_snowflake/get_databases.py +29 -30
  50. pulumi_snowflake/get_dynamic_tables.py +13 -14
  51. pulumi_snowflake/get_external_functions.py +16 -17
  52. pulumi_snowflake/get_external_tables.py +16 -17
  53. pulumi_snowflake/get_failover_groups.py +10 -11
  54. pulumi_snowflake/get_file_formats.py +16 -17
  55. pulumi_snowflake/get_functions.py +16 -17
  56. pulumi_snowflake/get_git_repositories.py +18 -19
  57. pulumi_snowflake/get_grants.py +9 -10
  58. pulumi_snowflake/get_image_repositories.py +11 -12
  59. pulumi_snowflake/get_masking_policies.py +18 -19
  60. pulumi_snowflake/get_materialized_views.py +16 -17
  61. pulumi_snowflake/get_network_policies.py +16 -17
  62. pulumi_snowflake/get_parameters.py +34 -35
  63. pulumi_snowflake/get_pipes.py +16 -17
  64. pulumi_snowflake/get_procedures.py +16 -17
  65. pulumi_snowflake/get_resource_monitors.py +10 -11
  66. pulumi_snowflake/get_row_access_policies.py +18 -19
  67. pulumi_snowflake/get_schemas.py +30 -31
  68. pulumi_snowflake/get_secrets.py +17 -18
  69. pulumi_snowflake/get_security_integrations.py +16 -17
  70. pulumi_snowflake/get_sequences.py +16 -17
  71. pulumi_snowflake/get_services.py +30 -31
  72. pulumi_snowflake/get_shares.py +10 -11
  73. pulumi_snowflake/get_stages.py +16 -17
  74. pulumi_snowflake/get_storage_integrations.py +4 -5
  75. pulumi_snowflake/get_streamlits.py +18 -19
  76. pulumi_snowflake/get_streams.py +24 -25
  77. pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
  78. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
  79. pulumi_snowflake/get_system_get_private_link_config.py +21 -22
  80. pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
  81. pulumi_snowflake/get_tables.py +24 -25
  82. pulumi_snowflake/get_tags.py +11 -12
  83. pulumi_snowflake/get_tasks.py +30 -31
  84. pulumi_snowflake/get_user_programmatic_access_tokens.py +113 -0
  85. pulumi_snowflake/get_users.py +29 -30
  86. pulumi_snowflake/get_views.py +24 -25
  87. pulumi_snowflake/get_warehouses.py +22 -23
  88. pulumi_snowflake/git_repository.py +133 -134
  89. pulumi_snowflake/grant_account_role.py +52 -53
  90. pulumi_snowflake/grant_application_role.py +52 -53
  91. pulumi_snowflake/grant_database_role.py +69 -70
  92. pulumi_snowflake/grant_ownership.py +55 -56
  93. pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
  94. pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
  95. pulumi_snowflake/grant_privileges_to_share.py +154 -155
  96. pulumi_snowflake/image_repository.py +80 -81
  97. pulumi_snowflake/job_service.py +148 -149
  98. pulumi_snowflake/legacy_service_user.py +1269 -1270
  99. pulumi_snowflake/managed_account.py +140 -141
  100. pulumi_snowflake/masking_policy.py +136 -137
  101. pulumi_snowflake/materialized_view.py +149 -150
  102. pulumi_snowflake/network_policy.py +116 -117
  103. pulumi_snowflake/network_policy_attachment.py +52 -53
  104. pulumi_snowflake/network_rule.py +129 -130
  105. pulumi_snowflake/notification_integration.py +298 -299
  106. pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
  107. pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
  108. pulumi_snowflake/object_parameter.py +72 -73
  109. pulumi_snowflake/outputs.py +15957 -15511
  110. pulumi_snowflake/password_policy.py +299 -300
  111. pulumi_snowflake/pipe.py +181 -182
  112. pulumi_snowflake/primary_connection.py +70 -71
  113. pulumi_snowflake/procedure_java.py +341 -342
  114. pulumi_snowflake/procedure_javascript.py +247 -248
  115. pulumi_snowflake/procedure_python.py +338 -339
  116. pulumi_snowflake/procedure_scala.py +341 -342
  117. pulumi_snowflake/procedure_sql.py +247 -248
  118. pulumi_snowflake/provider.py +377 -378
  119. pulumi_snowflake/pulumi-plugin.json +1 -1
  120. pulumi_snowflake/resource_monitor.py +165 -166
  121. pulumi_snowflake/row_access_policy.py +102 -103
  122. pulumi_snowflake/saml2_integration.py +303 -304
  123. pulumi_snowflake/schema.py +390 -391
  124. pulumi_snowflake/scim_integration.py +133 -134
  125. pulumi_snowflake/secondary_connection.py +72 -73
  126. pulumi_snowflake/secondary_database.py +350 -351
  127. pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
  128. pulumi_snowflake/secret_with_basic_authentication.py +121 -122
  129. pulumi_snowflake/secret_with_client_credentials.py +125 -126
  130. pulumi_snowflake/secret_with_generic_string.py +104 -105
  131. pulumi_snowflake/sequence.py +121 -122
  132. pulumi_snowflake/service.py +233 -234
  133. pulumi_snowflake/service_user.py +1239 -1240
  134. pulumi_snowflake/share.py +61 -62
  135. pulumi_snowflake/shared_database.py +299 -300
  136. pulumi_snowflake/stage.py +234 -235
  137. pulumi_snowflake/storage_integration.py +230 -231
  138. pulumi_snowflake/stream_on_directory_table.py +128 -129
  139. pulumi_snowflake/stream_on_external_table.py +151 -152
  140. pulumi_snowflake/stream_on_table.py +164 -165
  141. pulumi_snowflake/stream_on_view.py +164 -165
  142. pulumi_snowflake/streamlit.py +184 -185
  143. pulumi_snowflake/table.py +147 -148
  144. pulumi_snowflake/table_column_masking_policy_application.py +52 -53
  145. pulumi_snowflake/table_constraint.py +191 -192
  146. pulumi_snowflake/tag.py +114 -115
  147. pulumi_snowflake/tag_association.py +86 -87
  148. pulumi_snowflake/task.py +1224 -1225
  149. pulumi_snowflake/user.py +1346 -1347
  150. pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
  151. pulumi_snowflake/user_password_policy_attachment.py +35 -36
  152. pulumi_snowflake/user_programmatic_access_token.py +598 -0
  153. pulumi_snowflake/user_public_keys.py +52 -53
  154. pulumi_snowflake/view.py +187 -188
  155. pulumi_snowflake/warehouse.py +286 -287
  156. {pulumi_snowflake-2.2.0.dist-info → pulumi_snowflake-2.3.0.dist-info}/METADATA +1 -1
  157. pulumi_snowflake-2.3.0.dist-info/RECORD +161 -0
  158. pulumi_snowflake-2.2.0.dist-info/RECORD +0 -158
  159. {pulumi_snowflake-2.2.0.dist-info → pulumi_snowflake-2.3.0.dist-info}/WHEEL +0 -0
  160. {pulumi_snowflake-2.2.0.dist-info → pulumi_snowflake-2.3.0.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -22,26 +21,26 @@ __all__ = ['ResourceMonitorArgs', 'ResourceMonitor']
22
21
  @pulumi.input_type
23
22
  class ResourceMonitorArgs:
24
23
  def __init__(__self__, *,
25
- credit_quota: Optional[pulumi.Input[builtins.int]] = None,
26
- end_timestamp: Optional[pulumi.Input[builtins.str]] = None,
27
- frequency: Optional[pulumi.Input[builtins.str]] = None,
28
- name: Optional[pulumi.Input[builtins.str]] = None,
29
- notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
30
- notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
31
- start_timestamp: Optional[pulumi.Input[builtins.str]] = None,
32
- suspend_immediate_trigger: Optional[pulumi.Input[builtins.int]] = None,
33
- suspend_trigger: Optional[pulumi.Input[builtins.int]] = None):
24
+ credit_quota: Optional[pulumi.Input[_builtins.int]] = None,
25
+ end_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
26
+ frequency: Optional[pulumi.Input[_builtins.str]] = None,
27
+ name: Optional[pulumi.Input[_builtins.str]] = None,
28
+ notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
29
+ notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
30
+ start_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
31
+ suspend_immediate_trigger: Optional[pulumi.Input[_builtins.int]] = None,
32
+ suspend_trigger: Optional[pulumi.Input[_builtins.int]] = None):
34
33
  """
35
34
  The set of arguments for constructing a ResourceMonitor resource.
36
- :param pulumi.Input[builtins.int] credit_quota: The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
37
- :param pulumi.Input[builtins.str] end_timestamp: The date and time when the resource monitor suspends the assigned warehouses.
38
- :param pulumi.Input[builtins.str] frequency: The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
39
- :param pulumi.Input[builtins.str] name: Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
40
- :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] notify_triggers: Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notify_users field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
41
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] notify_users: Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
42
- :param pulumi.Input[builtins.str] start_timestamp: The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `start_timestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
43
- :param pulumi.Input[builtins.int] suspend_immediate_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
44
- :param pulumi.Input[builtins.int] suspend_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
35
+ :param pulumi.Input[_builtins.int] credit_quota: The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
36
+ :param pulumi.Input[_builtins.str] end_timestamp: The date and time when the resource monitor suspends the assigned warehouses.
37
+ :param pulumi.Input[_builtins.str] frequency: The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
38
+ :param pulumi.Input[_builtins.str] name: Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
39
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] notify_triggers: Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notify_users field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
40
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] notify_users: Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
41
+ :param pulumi.Input[_builtins.str] start_timestamp: The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `start_timestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
42
+ :param pulumi.Input[_builtins.int] suspend_immediate_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
43
+ :param pulumi.Input[_builtins.int] suspend_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
45
44
  """
46
45
  if credit_quota is not None:
47
46
  pulumi.set(__self__, "credit_quota", credit_quota)
@@ -62,142 +61,142 @@ class ResourceMonitorArgs:
62
61
  if suspend_trigger is not None:
63
62
  pulumi.set(__self__, "suspend_trigger", suspend_trigger)
64
63
 
65
- @property
64
+ @_builtins.property
66
65
  @pulumi.getter(name="creditQuota")
67
- def credit_quota(self) -> Optional[pulumi.Input[builtins.int]]:
66
+ def credit_quota(self) -> Optional[pulumi.Input[_builtins.int]]:
68
67
  """
69
68
  The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
70
69
  """
71
70
  return pulumi.get(self, "credit_quota")
72
71
 
73
72
  @credit_quota.setter
74
- def credit_quota(self, value: Optional[pulumi.Input[builtins.int]]):
73
+ def credit_quota(self, value: Optional[pulumi.Input[_builtins.int]]):
75
74
  pulumi.set(self, "credit_quota", value)
76
75
 
77
- @property
76
+ @_builtins.property
78
77
  @pulumi.getter(name="endTimestamp")
79
- def end_timestamp(self) -> Optional[pulumi.Input[builtins.str]]:
78
+ def end_timestamp(self) -> Optional[pulumi.Input[_builtins.str]]:
80
79
  """
81
80
  The date and time when the resource monitor suspends the assigned warehouses.
82
81
  """
83
82
  return pulumi.get(self, "end_timestamp")
84
83
 
85
84
  @end_timestamp.setter
86
- def end_timestamp(self, value: Optional[pulumi.Input[builtins.str]]):
85
+ def end_timestamp(self, value: Optional[pulumi.Input[_builtins.str]]):
87
86
  pulumi.set(self, "end_timestamp", value)
88
87
 
89
- @property
88
+ @_builtins.property
90
89
  @pulumi.getter
91
- def frequency(self) -> Optional[pulumi.Input[builtins.str]]:
90
+ def frequency(self) -> Optional[pulumi.Input[_builtins.str]]:
92
91
  """
93
92
  The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
94
93
  """
95
94
  return pulumi.get(self, "frequency")
96
95
 
97
96
  @frequency.setter
98
- def frequency(self, value: Optional[pulumi.Input[builtins.str]]):
97
+ def frequency(self, value: Optional[pulumi.Input[_builtins.str]]):
99
98
  pulumi.set(self, "frequency", value)
100
99
 
101
- @property
100
+ @_builtins.property
102
101
  @pulumi.getter
103
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
102
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
104
103
  """
105
104
  Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
106
105
  """
107
106
  return pulumi.get(self, "name")
108
107
 
109
108
  @name.setter
110
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
109
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
111
110
  pulumi.set(self, "name", value)
112
111
 
113
- @property
112
+ @_builtins.property
114
113
  @pulumi.getter(name="notifyTriggers")
115
- def notify_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
114
+ def notify_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
116
115
  """
117
116
  Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notify_users field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
118
117
  """
119
118
  return pulumi.get(self, "notify_triggers")
120
119
 
121
120
  @notify_triggers.setter
122
- def notify_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]):
121
+ def notify_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]):
123
122
  pulumi.set(self, "notify_triggers", value)
124
123
 
125
- @property
124
+ @_builtins.property
126
125
  @pulumi.getter(name="notifyUsers")
127
- def notify_users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
126
+ def notify_users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
128
127
  """
129
128
  Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
130
129
  """
131
130
  return pulumi.get(self, "notify_users")
132
131
 
133
132
  @notify_users.setter
134
- def notify_users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
133
+ def notify_users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
135
134
  pulumi.set(self, "notify_users", value)
136
135
 
137
- @property
136
+ @_builtins.property
138
137
  @pulumi.getter(name="startTimestamp")
139
- def start_timestamp(self) -> Optional[pulumi.Input[builtins.str]]:
138
+ def start_timestamp(self) -> Optional[pulumi.Input[_builtins.str]]:
140
139
  """
141
140
  The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `start_timestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
142
141
  """
143
142
  return pulumi.get(self, "start_timestamp")
144
143
 
145
144
  @start_timestamp.setter
146
- def start_timestamp(self, value: Optional[pulumi.Input[builtins.str]]):
145
+ def start_timestamp(self, value: Optional[pulumi.Input[_builtins.str]]):
147
146
  pulumi.set(self, "start_timestamp", value)
148
147
 
149
- @property
148
+ @_builtins.property
150
149
  @pulumi.getter(name="suspendImmediateTrigger")
151
- def suspend_immediate_trigger(self) -> Optional[pulumi.Input[builtins.int]]:
150
+ def suspend_immediate_trigger(self) -> Optional[pulumi.Input[_builtins.int]]:
152
151
  """
153
152
  Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
154
153
  """
155
154
  return pulumi.get(self, "suspend_immediate_trigger")
156
155
 
157
156
  @suspend_immediate_trigger.setter
158
- def suspend_immediate_trigger(self, value: Optional[pulumi.Input[builtins.int]]):
157
+ def suspend_immediate_trigger(self, value: Optional[pulumi.Input[_builtins.int]]):
159
158
  pulumi.set(self, "suspend_immediate_trigger", value)
160
159
 
161
- @property
160
+ @_builtins.property
162
161
  @pulumi.getter(name="suspendTrigger")
163
- def suspend_trigger(self) -> Optional[pulumi.Input[builtins.int]]:
162
+ def suspend_trigger(self) -> Optional[pulumi.Input[_builtins.int]]:
164
163
  """
165
164
  Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
166
165
  """
167
166
  return pulumi.get(self, "suspend_trigger")
168
167
 
169
168
  @suspend_trigger.setter
170
- def suspend_trigger(self, value: Optional[pulumi.Input[builtins.int]]):
169
+ def suspend_trigger(self, value: Optional[pulumi.Input[_builtins.int]]):
171
170
  pulumi.set(self, "suspend_trigger", value)
172
171
 
173
172
 
174
173
  @pulumi.input_type
175
174
  class _ResourceMonitorState:
176
175
  def __init__(__self__, *,
177
- credit_quota: Optional[pulumi.Input[builtins.int]] = None,
178
- end_timestamp: Optional[pulumi.Input[builtins.str]] = None,
179
- frequency: Optional[pulumi.Input[builtins.str]] = None,
180
- fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
181
- name: Optional[pulumi.Input[builtins.str]] = None,
182
- notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
183
- notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
176
+ credit_quota: Optional[pulumi.Input[_builtins.int]] = None,
177
+ end_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
178
+ frequency: Optional[pulumi.Input[_builtins.str]] = None,
179
+ fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
180
+ name: Optional[pulumi.Input[_builtins.str]] = None,
181
+ notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
182
+ notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
184
183
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceMonitorShowOutputArgs']]]] = None,
185
- start_timestamp: Optional[pulumi.Input[builtins.str]] = None,
186
- suspend_immediate_trigger: Optional[pulumi.Input[builtins.int]] = None,
187
- suspend_trigger: Optional[pulumi.Input[builtins.int]] = None):
184
+ start_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
185
+ suspend_immediate_trigger: Optional[pulumi.Input[_builtins.int]] = None,
186
+ suspend_trigger: Optional[pulumi.Input[_builtins.int]] = None):
188
187
  """
189
188
  Input properties used for looking up and filtering ResourceMonitor resources.
190
- :param pulumi.Input[builtins.int] credit_quota: The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
191
- :param pulumi.Input[builtins.str] end_timestamp: The date and time when the resource monitor suspends the assigned warehouses.
192
- :param pulumi.Input[builtins.str] frequency: The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
193
- :param pulumi.Input[builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
194
- :param pulumi.Input[builtins.str] name: Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
195
- :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] notify_triggers: Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notify_users field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
196
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] notify_users: Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
189
+ :param pulumi.Input[_builtins.int] credit_quota: The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
190
+ :param pulumi.Input[_builtins.str] end_timestamp: The date and time when the resource monitor suspends the assigned warehouses.
191
+ :param pulumi.Input[_builtins.str] frequency: The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
192
+ :param pulumi.Input[_builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
193
+ :param pulumi.Input[_builtins.str] name: Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
194
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] notify_triggers: Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notify_users field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
195
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] notify_users: Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
197
196
  :param pulumi.Input[Sequence[pulumi.Input['ResourceMonitorShowOutputArgs']]] show_outputs: Outputs the result of `SHOW RESOURCE MONITORS` for the given resource monitor.
198
- :param pulumi.Input[builtins.str] start_timestamp: The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `start_timestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
199
- :param pulumi.Input[builtins.int] suspend_immediate_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
200
- :param pulumi.Input[builtins.int] suspend_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
197
+ :param pulumi.Input[_builtins.str] start_timestamp: The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `start_timestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
198
+ :param pulumi.Input[_builtins.int] suspend_immediate_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
199
+ :param pulumi.Input[_builtins.int] suspend_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
201
200
  """
202
201
  if credit_quota is not None:
203
202
  pulumi.set(__self__, "credit_quota", credit_quota)
@@ -222,91 +221,91 @@ class _ResourceMonitorState:
222
221
  if suspend_trigger is not None:
223
222
  pulumi.set(__self__, "suspend_trigger", suspend_trigger)
224
223
 
225
- @property
224
+ @_builtins.property
226
225
  @pulumi.getter(name="creditQuota")
227
- def credit_quota(self) -> Optional[pulumi.Input[builtins.int]]:
226
+ def credit_quota(self) -> Optional[pulumi.Input[_builtins.int]]:
228
227
  """
229
228
  The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
230
229
  """
231
230
  return pulumi.get(self, "credit_quota")
232
231
 
233
232
  @credit_quota.setter
234
- def credit_quota(self, value: Optional[pulumi.Input[builtins.int]]):
233
+ def credit_quota(self, value: Optional[pulumi.Input[_builtins.int]]):
235
234
  pulumi.set(self, "credit_quota", value)
236
235
 
237
- @property
236
+ @_builtins.property
238
237
  @pulumi.getter(name="endTimestamp")
239
- def end_timestamp(self) -> Optional[pulumi.Input[builtins.str]]:
238
+ def end_timestamp(self) -> Optional[pulumi.Input[_builtins.str]]:
240
239
  """
241
240
  The date and time when the resource monitor suspends the assigned warehouses.
242
241
  """
243
242
  return pulumi.get(self, "end_timestamp")
244
243
 
245
244
  @end_timestamp.setter
246
- def end_timestamp(self, value: Optional[pulumi.Input[builtins.str]]):
245
+ def end_timestamp(self, value: Optional[pulumi.Input[_builtins.str]]):
247
246
  pulumi.set(self, "end_timestamp", value)
248
247
 
249
- @property
248
+ @_builtins.property
250
249
  @pulumi.getter
251
- def frequency(self) -> Optional[pulumi.Input[builtins.str]]:
250
+ def frequency(self) -> Optional[pulumi.Input[_builtins.str]]:
252
251
  """
253
252
  The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
254
253
  """
255
254
  return pulumi.get(self, "frequency")
256
255
 
257
256
  @frequency.setter
258
- def frequency(self, value: Optional[pulumi.Input[builtins.str]]):
257
+ def frequency(self, value: Optional[pulumi.Input[_builtins.str]]):
259
258
  pulumi.set(self, "frequency", value)
260
259
 
261
- @property
260
+ @_builtins.property
262
261
  @pulumi.getter(name="fullyQualifiedName")
263
- def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
262
+ def fully_qualified_name(self) -> Optional[pulumi.Input[_builtins.str]]:
264
263
  """
265
264
  Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
266
265
  """
267
266
  return pulumi.get(self, "fully_qualified_name")
268
267
 
269
268
  @fully_qualified_name.setter
270
- def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
269
+ def fully_qualified_name(self, value: Optional[pulumi.Input[_builtins.str]]):
271
270
  pulumi.set(self, "fully_qualified_name", value)
272
271
 
273
- @property
272
+ @_builtins.property
274
273
  @pulumi.getter
275
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
274
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
276
275
  """
277
276
  Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
278
277
  """
279
278
  return pulumi.get(self, "name")
280
279
 
281
280
  @name.setter
282
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
281
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
283
282
  pulumi.set(self, "name", value)
284
283
 
285
- @property
284
+ @_builtins.property
286
285
  @pulumi.getter(name="notifyTriggers")
287
- def notify_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
286
+ def notify_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
288
287
  """
289
288
  Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notify_users field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
290
289
  """
291
290
  return pulumi.get(self, "notify_triggers")
292
291
 
293
292
  @notify_triggers.setter
294
- def notify_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]):
293
+ def notify_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]):
295
294
  pulumi.set(self, "notify_triggers", value)
296
295
 
297
- @property
296
+ @_builtins.property
298
297
  @pulumi.getter(name="notifyUsers")
299
- def notify_users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
298
+ def notify_users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
300
299
  """
301
300
  Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
302
301
  """
303
302
  return pulumi.get(self, "notify_users")
304
303
 
305
304
  @notify_users.setter
306
- def notify_users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
305
+ def notify_users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
307
306
  pulumi.set(self, "notify_users", value)
308
307
 
309
- @property
308
+ @_builtins.property
310
309
  @pulumi.getter(name="showOutputs")
311
310
  def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceMonitorShowOutputArgs']]]]:
312
311
  """
@@ -318,40 +317,40 @@ class _ResourceMonitorState:
318
317
  def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceMonitorShowOutputArgs']]]]):
319
318
  pulumi.set(self, "show_outputs", value)
320
319
 
321
- @property
320
+ @_builtins.property
322
321
  @pulumi.getter(name="startTimestamp")
323
- def start_timestamp(self) -> Optional[pulumi.Input[builtins.str]]:
322
+ def start_timestamp(self) -> Optional[pulumi.Input[_builtins.str]]:
324
323
  """
325
324
  The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `start_timestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
326
325
  """
327
326
  return pulumi.get(self, "start_timestamp")
328
327
 
329
328
  @start_timestamp.setter
330
- def start_timestamp(self, value: Optional[pulumi.Input[builtins.str]]):
329
+ def start_timestamp(self, value: Optional[pulumi.Input[_builtins.str]]):
331
330
  pulumi.set(self, "start_timestamp", value)
332
331
 
333
- @property
332
+ @_builtins.property
334
333
  @pulumi.getter(name="suspendImmediateTrigger")
335
- def suspend_immediate_trigger(self) -> Optional[pulumi.Input[builtins.int]]:
334
+ def suspend_immediate_trigger(self) -> Optional[pulumi.Input[_builtins.int]]:
336
335
  """
337
336
  Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
338
337
  """
339
338
  return pulumi.get(self, "suspend_immediate_trigger")
340
339
 
341
340
  @suspend_immediate_trigger.setter
342
- def suspend_immediate_trigger(self, value: Optional[pulumi.Input[builtins.int]]):
341
+ def suspend_immediate_trigger(self, value: Optional[pulumi.Input[_builtins.int]]):
343
342
  pulumi.set(self, "suspend_immediate_trigger", value)
344
343
 
345
- @property
344
+ @_builtins.property
346
345
  @pulumi.getter(name="suspendTrigger")
347
- def suspend_trigger(self) -> Optional[pulumi.Input[builtins.int]]:
346
+ def suspend_trigger(self) -> Optional[pulumi.Input[_builtins.int]]:
348
347
  """
349
348
  Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
350
349
  """
351
350
  return pulumi.get(self, "suspend_trigger")
352
351
 
353
352
  @suspend_trigger.setter
354
- def suspend_trigger(self, value: Optional[pulumi.Input[builtins.int]]):
353
+ def suspend_trigger(self, value: Optional[pulumi.Input[_builtins.int]]):
355
354
  pulumi.set(self, "suspend_trigger", value)
356
355
 
357
356
 
@@ -361,15 +360,15 @@ class ResourceMonitor(pulumi.CustomResource):
361
360
  def __init__(__self__,
362
361
  resource_name: str,
363
362
  opts: Optional[pulumi.ResourceOptions] = None,
364
- credit_quota: Optional[pulumi.Input[builtins.int]] = None,
365
- end_timestamp: Optional[pulumi.Input[builtins.str]] = None,
366
- frequency: Optional[pulumi.Input[builtins.str]] = None,
367
- name: Optional[pulumi.Input[builtins.str]] = None,
368
- notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
369
- notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
370
- start_timestamp: Optional[pulumi.Input[builtins.str]] = None,
371
- suspend_immediate_trigger: Optional[pulumi.Input[builtins.int]] = None,
372
- suspend_trigger: Optional[pulumi.Input[builtins.int]] = None,
363
+ credit_quota: Optional[pulumi.Input[_builtins.int]] = None,
364
+ end_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
365
+ frequency: Optional[pulumi.Input[_builtins.str]] = None,
366
+ name: Optional[pulumi.Input[_builtins.str]] = None,
367
+ notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
368
+ notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
369
+ start_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
370
+ suspend_immediate_trigger: Optional[pulumi.Input[_builtins.int]] = None,
371
+ suspend_trigger: Optional[pulumi.Input[_builtins.int]] = None,
373
372
  __props__=None):
374
373
  """
375
374
  ## Import
@@ -380,15 +379,15 @@ class ResourceMonitor(pulumi.CustomResource):
380
379
 
381
380
  :param str resource_name: The name of the resource.
382
381
  :param pulumi.ResourceOptions opts: Options for the resource.
383
- :param pulumi.Input[builtins.int] credit_quota: The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
384
- :param pulumi.Input[builtins.str] end_timestamp: The date and time when the resource monitor suspends the assigned warehouses.
385
- :param pulumi.Input[builtins.str] frequency: The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
386
- :param pulumi.Input[builtins.str] name: Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
387
- :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] notify_triggers: Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notify_users field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
388
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] notify_users: Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
389
- :param pulumi.Input[builtins.str] start_timestamp: The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `start_timestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
390
- :param pulumi.Input[builtins.int] suspend_immediate_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
391
- :param pulumi.Input[builtins.int] suspend_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
382
+ :param pulumi.Input[_builtins.int] credit_quota: The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
383
+ :param pulumi.Input[_builtins.str] end_timestamp: The date and time when the resource monitor suspends the assigned warehouses.
384
+ :param pulumi.Input[_builtins.str] frequency: The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
385
+ :param pulumi.Input[_builtins.str] name: Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
386
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] notify_triggers: Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notify_users field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
387
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] notify_users: Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
388
+ :param pulumi.Input[_builtins.str] start_timestamp: The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `start_timestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
389
+ :param pulumi.Input[_builtins.int] suspend_immediate_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
390
+ :param pulumi.Input[_builtins.int] suspend_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
392
391
  """
393
392
  ...
394
393
  @overload
@@ -418,15 +417,15 @@ class ResourceMonitor(pulumi.CustomResource):
418
417
  def _internal_init(__self__,
419
418
  resource_name: str,
420
419
  opts: Optional[pulumi.ResourceOptions] = None,
421
- credit_quota: Optional[pulumi.Input[builtins.int]] = None,
422
- end_timestamp: Optional[pulumi.Input[builtins.str]] = None,
423
- frequency: Optional[pulumi.Input[builtins.str]] = None,
424
- name: Optional[pulumi.Input[builtins.str]] = None,
425
- notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
426
- notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
427
- start_timestamp: Optional[pulumi.Input[builtins.str]] = None,
428
- suspend_immediate_trigger: Optional[pulumi.Input[builtins.int]] = None,
429
- suspend_trigger: Optional[pulumi.Input[builtins.int]] = None,
420
+ credit_quota: Optional[pulumi.Input[_builtins.int]] = None,
421
+ end_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
422
+ frequency: Optional[pulumi.Input[_builtins.str]] = None,
423
+ name: Optional[pulumi.Input[_builtins.str]] = None,
424
+ notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
425
+ notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
426
+ start_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
427
+ suspend_immediate_trigger: Optional[pulumi.Input[_builtins.int]] = None,
428
+ suspend_trigger: Optional[pulumi.Input[_builtins.int]] = None,
430
429
  __props__=None):
431
430
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
432
431
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -457,17 +456,17 @@ class ResourceMonitor(pulumi.CustomResource):
457
456
  def get(resource_name: str,
458
457
  id: pulumi.Input[str],
459
458
  opts: Optional[pulumi.ResourceOptions] = None,
460
- credit_quota: Optional[pulumi.Input[builtins.int]] = None,
461
- end_timestamp: Optional[pulumi.Input[builtins.str]] = None,
462
- frequency: Optional[pulumi.Input[builtins.str]] = None,
463
- fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
464
- name: Optional[pulumi.Input[builtins.str]] = None,
465
- notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
466
- notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
459
+ credit_quota: Optional[pulumi.Input[_builtins.int]] = None,
460
+ end_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
461
+ frequency: Optional[pulumi.Input[_builtins.str]] = None,
462
+ fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
463
+ name: Optional[pulumi.Input[_builtins.str]] = None,
464
+ notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
465
+ notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
467
466
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ResourceMonitorShowOutputArgs', 'ResourceMonitorShowOutputArgsDict']]]]] = None,
468
- start_timestamp: Optional[pulumi.Input[builtins.str]] = None,
469
- suspend_immediate_trigger: Optional[pulumi.Input[builtins.int]] = None,
470
- suspend_trigger: Optional[pulumi.Input[builtins.int]] = None) -> 'ResourceMonitor':
467
+ start_timestamp: Optional[pulumi.Input[_builtins.str]] = None,
468
+ suspend_immediate_trigger: Optional[pulumi.Input[_builtins.int]] = None,
469
+ suspend_trigger: Optional[pulumi.Input[_builtins.int]] = None) -> 'ResourceMonitor':
471
470
  """
472
471
  Get an existing ResourceMonitor resource's state with the given name, id, and optional extra
473
472
  properties used to qualify the lookup.
@@ -475,17 +474,17 @@ class ResourceMonitor(pulumi.CustomResource):
475
474
  :param str resource_name: The unique name of the resulting resource.
476
475
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
477
476
  :param pulumi.ResourceOptions opts: Options for the resource.
478
- :param pulumi.Input[builtins.int] credit_quota: The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
479
- :param pulumi.Input[builtins.str] end_timestamp: The date and time when the resource monitor suspends the assigned warehouses.
480
- :param pulumi.Input[builtins.str] frequency: The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
481
- :param pulumi.Input[builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
482
- :param pulumi.Input[builtins.str] name: Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
483
- :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] notify_triggers: Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notify_users field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
484
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] notify_users: Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
477
+ :param pulumi.Input[_builtins.int] credit_quota: The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
478
+ :param pulumi.Input[_builtins.str] end_timestamp: The date and time when the resource monitor suspends the assigned warehouses.
479
+ :param pulumi.Input[_builtins.str] frequency: The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
480
+ :param pulumi.Input[_builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
481
+ :param pulumi.Input[_builtins.str] name: Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
482
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] notify_triggers: Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notify_users field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
483
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] notify_users: Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
485
484
  :param pulumi.Input[Sequence[pulumi.Input[Union['ResourceMonitorShowOutputArgs', 'ResourceMonitorShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW RESOURCE MONITORS` for the given resource monitor.
486
- :param pulumi.Input[builtins.str] start_timestamp: The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `start_timestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
487
- :param pulumi.Input[builtins.int] suspend_immediate_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
488
- :param pulumi.Input[builtins.int] suspend_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
485
+ :param pulumi.Input[_builtins.str] start_timestamp: The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `start_timestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
486
+ :param pulumi.Input[_builtins.int] suspend_immediate_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
487
+ :param pulumi.Input[_builtins.int] suspend_trigger: Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
489
488
  """
490
489
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
491
490
 
@@ -504,63 +503,63 @@ class ResourceMonitor(pulumi.CustomResource):
504
503
  __props__.__dict__["suspend_trigger"] = suspend_trigger
505
504
  return ResourceMonitor(resource_name, opts=opts, __props__=__props__)
506
505
 
507
- @property
506
+ @_builtins.property
508
507
  @pulumi.getter(name="creditQuota")
509
- def credit_quota(self) -> pulumi.Output[Optional[builtins.int]]:
508
+ def credit_quota(self) -> pulumi.Output[Optional[_builtins.int]]:
510
509
  """
511
510
  The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
512
511
  """
513
512
  return pulumi.get(self, "credit_quota")
514
513
 
515
- @property
514
+ @_builtins.property
516
515
  @pulumi.getter(name="endTimestamp")
517
- def end_timestamp(self) -> pulumi.Output[Optional[builtins.str]]:
516
+ def end_timestamp(self) -> pulumi.Output[Optional[_builtins.str]]:
518
517
  """
519
518
  The date and time when the resource monitor suspends the assigned warehouses.
520
519
  """
521
520
  return pulumi.get(self, "end_timestamp")
522
521
 
523
- @property
522
+ @_builtins.property
524
523
  @pulumi.getter
525
- def frequency(self) -> pulumi.Output[Optional[builtins.str]]:
524
+ def frequency(self) -> pulumi.Output[Optional[_builtins.str]]:
526
525
  """
527
526
  The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
528
527
  """
529
528
  return pulumi.get(self, "frequency")
530
529
 
531
- @property
530
+ @_builtins.property
532
531
  @pulumi.getter(name="fullyQualifiedName")
533
- def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
532
+ def fully_qualified_name(self) -> pulumi.Output[_builtins.str]:
534
533
  """
535
534
  Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
536
535
  """
537
536
  return pulumi.get(self, "fully_qualified_name")
538
537
 
539
- @property
538
+ @_builtins.property
540
539
  @pulumi.getter
541
- def name(self) -> pulumi.Output[builtins.str]:
540
+ def name(self) -> pulumi.Output[_builtins.str]:
542
541
  """
543
542
  Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
544
543
  """
545
544
  return pulumi.get(self, "name")
546
545
 
547
- @property
546
+ @_builtins.property
548
547
  @pulumi.getter(name="notifyTriggers")
549
- def notify_triggers(self) -> pulumi.Output[Optional[Sequence[builtins.int]]]:
548
+ def notify_triggers(self) -> pulumi.Output[Optional[Sequence[_builtins.int]]]:
550
549
  """
551
550
  Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notify_users field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
552
551
  """
553
552
  return pulumi.get(self, "notify_triggers")
554
553
 
555
- @property
554
+ @_builtins.property
556
555
  @pulumi.getter(name="notifyUsers")
557
- def notify_users(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
556
+ def notify_users(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
558
557
  """
559
558
  Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
560
559
  """
561
560
  return pulumi.get(self, "notify_users")
562
561
 
563
- @property
562
+ @_builtins.property
564
563
  @pulumi.getter(name="showOutputs")
565
564
  def show_outputs(self) -> pulumi.Output[Sequence['outputs.ResourceMonitorShowOutput']]:
566
565
  """
@@ -568,25 +567,25 @@ class ResourceMonitor(pulumi.CustomResource):
568
567
  """
569
568
  return pulumi.get(self, "show_outputs")
570
569
 
571
- @property
570
+ @_builtins.property
572
571
  @pulumi.getter(name="startTimestamp")
573
- def start_timestamp(self) -> pulumi.Output[Optional[builtins.str]]:
572
+ def start_timestamp(self) -> pulumi.Output[Optional[_builtins.str]]:
574
573
  """
575
574
  The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `start_timestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
576
575
  """
577
576
  return pulumi.get(self, "start_timestamp")
578
577
 
579
- @property
578
+ @_builtins.property
580
579
  @pulumi.getter(name="suspendImmediateTrigger")
581
- def suspend_immediate_trigger(self) -> pulumi.Output[Optional[builtins.int]]:
580
+ def suspend_immediate_trigger(self) -> pulumi.Output[Optional[_builtins.int]]:
582
581
  """
583
582
  Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
584
583
  """
585
584
  return pulumi.get(self, "suspend_immediate_trigger")
586
585
 
587
- @property
586
+ @_builtins.property
588
587
  @pulumi.getter(name="suspendTrigger")
589
- def suspend_trigger(self) -> pulumi.Output[Optional[builtins.int]]:
588
+ def suspend_trigger(self) -> pulumi.Output[Optional[_builtins.int]]:
590
589
  """
591
590
  Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
592
591
  """