pulumi-snowflake 0.58.0a1726035035__py3-none-any.whl → 0.58.0a1726066221__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 (80) hide show
  1. pulumi_snowflake/_inputs.py +5859 -127
  2. pulumi_snowflake/account.py +28 -50
  3. pulumi_snowflake/account_parameter.py +0 -28
  4. pulumi_snowflake/account_password_policy_attachment.py +2 -30
  5. pulumi_snowflake/account_role.py +41 -36
  6. pulumi_snowflake/alert.py +28 -40
  7. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +35 -15
  8. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +35 -15
  9. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +35 -15
  10. pulumi_snowflake/api_integration.py +28 -54
  11. pulumi_snowflake/cortex_search_service.py +28 -76
  12. pulumi_snowflake/database.py +82 -15
  13. pulumi_snowflake/database_old.py +0 -72
  14. pulumi_snowflake/database_role.py +76 -42
  15. pulumi_snowflake/dynamic_table.py +28 -38
  16. pulumi_snowflake/email_notification_integration.py +28 -26
  17. pulumi_snowflake/external_function.py +28 -52
  18. pulumi_snowflake/external_oauth_integration.py +35 -15
  19. pulumi_snowflake/external_table.py +28 -48
  20. pulumi_snowflake/failover_group.py +28 -72
  21. pulumi_snowflake/file_format.py +28 -26
  22. pulumi_snowflake/function.py +28 -4
  23. pulumi_snowflake/get_database_roles.py +61 -38
  24. pulumi_snowflake/get_users.py +96 -33
  25. pulumi_snowflake/get_views.py +92 -53
  26. pulumi_snowflake/grant_account_role.py +0 -4
  27. pulumi_snowflake/grant_application_role.py +0 -4
  28. pulumi_snowflake/grant_database_role.py +0 -4
  29. pulumi_snowflake/grant_privileges_to_account_role.py +4 -4
  30. pulumi_snowflake/grant_privileges_to_database_role.py +6 -2
  31. pulumi_snowflake/grant_privileges_to_share.py +49 -2
  32. pulumi_snowflake/managed_account.py +28 -4
  33. pulumi_snowflake/masking_policy.py +28 -84
  34. pulumi_snowflake/materialized_view.py +28 -34
  35. pulumi_snowflake/network_policy.py +35 -15
  36. pulumi_snowflake/network_policy_attachment.py +0 -30
  37. pulumi_snowflake/network_rule.py +28 -66
  38. pulumi_snowflake/notification_integration.py +28 -34
  39. pulumi_snowflake/oauth_integration.py +0 -34
  40. pulumi_snowflake/oauth_integration_for_custom_clients.py +35 -101
  41. pulumi_snowflake/oauth_integration_for_partner_applications.py +35 -15
  42. pulumi_snowflake/object_parameter.py +0 -98
  43. pulumi_snowflake/outputs.py +11648 -3842
  44. pulumi_snowflake/password_policy.py +28 -28
  45. pulumi_snowflake/pipe.py +28 -4
  46. pulumi_snowflake/procedure.py +28 -4
  47. pulumi_snowflake/pulumi-plugin.json +1 -1
  48. pulumi_snowflake/resource_monitor.py +28 -48
  49. pulumi_snowflake/role.py +41 -36
  50. pulumi_snowflake/row_access_policy.py +28 -34
  51. pulumi_snowflake/saml2_integration.py +35 -15
  52. pulumi_snowflake/saml_integration.py +0 -34
  53. pulumi_snowflake/schema.py +39 -19
  54. pulumi_snowflake/scim_integration.py +35 -15
  55. pulumi_snowflake/secondary_database.py +35 -19
  56. pulumi_snowflake/sequence.py +4 -36
  57. pulumi_snowflake/session_parameter.py +0 -32
  58. pulumi_snowflake/share.py +28 -28
  59. pulumi_snowflake/shared_database.py +35 -15
  60. pulumi_snowflake/stage.py +28 -28
  61. pulumi_snowflake/storage_integration.py +28 -4
  62. pulumi_snowflake/stream.py +28 -4
  63. pulumi_snowflake/streamlit.py +36 -16
  64. pulumi_snowflake/table.py +28 -32
  65. pulumi_snowflake/table_column_masking_policy_application.py +2 -14
  66. pulumi_snowflake/table_constraint.py +0 -152
  67. pulumi_snowflake/tag.py +28 -40
  68. pulumi_snowflake/tag_association.py +0 -120
  69. pulumi_snowflake/tag_masking_policy_association.py +0 -4
  70. pulumi_snowflake/task.py +28 -92
  71. pulumi_snowflake/unsafe_execute.py +2 -20
  72. pulumi_snowflake/user.py +3341 -368
  73. pulumi_snowflake/user_password_policy_attachment.py +0 -46
  74. pulumi_snowflake/view.py +465 -185
  75. pulumi_snowflake/warehouse.py +35 -39
  76. {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/METADATA +1 -1
  77. pulumi_snowflake-0.58.0a1726066221.dist-info/RECORD +129 -0
  78. pulumi_snowflake-0.58.0a1726035035.dist-info/RECORD +0 -129
  79. {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/WHEEL +0 -0
  80. {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/top_level.txt +0 -0
pulumi_snowflake/role.py CHANGED
@@ -20,6 +20,7 @@ class RoleArgs:
20
20
  name: Optional[pulumi.Input[str]] = None):
21
21
  """
22
22
  The set of arguments for constructing a Role resource.
23
+ :param pulumi.Input[str] name: Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
23
24
  """
24
25
  if comment is not None:
25
26
  pulumi.set(__self__, "comment", comment)
@@ -38,6 +39,9 @@ class RoleArgs:
38
39
  @property
39
40
  @pulumi.getter
40
41
  def name(self) -> Optional[pulumi.Input[str]]:
42
+ """
43
+ Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
44
+ """
41
45
  return pulumi.get(self, "name")
42
46
 
43
47
  @name.setter
@@ -49,14 +53,19 @@ class RoleArgs:
49
53
  class _RoleState:
50
54
  def __init__(__self__, *,
51
55
  comment: Optional[pulumi.Input[str]] = None,
56
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
52
57
  name: Optional[pulumi.Input[str]] = None,
53
58
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['RoleShowOutputArgs']]]] = None):
54
59
  """
55
60
  Input properties used for looking up and filtering Role resources.
61
+ :param pulumi.Input[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).
62
+ :param pulumi.Input[str] name: Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
56
63
  :param pulumi.Input[Sequence[pulumi.Input['RoleShowOutputArgs']]] show_outputs: Outputs the result of `SHOW ROLES` for the given role.
57
64
  """
58
65
  if comment is not None:
59
66
  pulumi.set(__self__, "comment", comment)
67
+ if fully_qualified_name is not None:
68
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
60
69
  if name is not None:
61
70
  pulumi.set(__self__, "name", name)
62
71
  if show_outputs is not None:
@@ -71,9 +80,24 @@ class _RoleState:
71
80
  def comment(self, value: Optional[pulumi.Input[str]]):
72
81
  pulumi.set(self, "comment", value)
73
82
 
83
+ @property
84
+ @pulumi.getter(name="fullyQualifiedName")
85
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
86
+ """
87
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
88
+ """
89
+ return pulumi.get(self, "fully_qualified_name")
90
+
91
+ @fully_qualified_name.setter
92
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
93
+ pulumi.set(self, "fully_qualified_name", value)
94
+
74
95
  @property
75
96
  @pulumi.getter
76
97
  def name(self) -> Optional[pulumi.Input[str]]:
98
+ """
99
+ Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
100
+ """
77
101
  return pulumi.get(self, "name")
78
102
 
79
103
  @name.setter
@@ -102,24 +126,6 @@ class Role(pulumi.CustomResource):
102
126
  name: Optional[pulumi.Input[str]] = None,
103
127
  __props__=None):
104
128
  """
105
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use AccountRole instead. <deprecation>
106
-
107
- The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
108
-
109
- ## Example Usage
110
-
111
- ```python
112
- import pulumi
113
- import pulumi_snowflake as snowflake
114
-
115
- ## Minimal
116
- minimal = snowflake.Role("minimal", name="role_name")
117
- ## Complete (with every optional set)
118
- complete = snowflake.Role("complete",
119
- name="role_name",
120
- comment="my account role")
121
- ```
122
-
123
129
  ## Import
124
130
 
125
131
  ```sh
@@ -128,6 +134,7 @@ class Role(pulumi.CustomResource):
128
134
 
129
135
  :param str resource_name: The name of the resource.
130
136
  :param pulumi.ResourceOptions opts: Options for the resource.
137
+ :param pulumi.Input[str] name: Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
131
138
  """
132
139
  ...
133
140
  @overload
@@ -136,24 +143,6 @@ class Role(pulumi.CustomResource):
136
143
  args: Optional[RoleArgs] = None,
137
144
  opts: Optional[pulumi.ResourceOptions] = None):
138
145
  """
139
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use AccountRole instead. <deprecation>
140
-
141
- The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
142
-
143
- ## Example Usage
144
-
145
- ```python
146
- import pulumi
147
- import pulumi_snowflake as snowflake
148
-
149
- ## Minimal
150
- minimal = snowflake.Role("minimal", name="role_name")
151
- ## Complete (with every optional set)
152
- complete = snowflake.Role("complete",
153
- name="role_name",
154
- comment="my account role")
155
- ```
156
-
157
146
  ## Import
158
147
 
159
148
  ```sh
@@ -188,6 +177,7 @@ class Role(pulumi.CustomResource):
188
177
 
189
178
  __props__.__dict__["comment"] = comment
190
179
  __props__.__dict__["name"] = name
180
+ __props__.__dict__["fully_qualified_name"] = None
191
181
  __props__.__dict__["show_outputs"] = None
192
182
  super(Role, __self__).__init__(
193
183
  'snowflake:index/role:Role',
@@ -200,6 +190,7 @@ class Role(pulumi.CustomResource):
200
190
  id: pulumi.Input[str],
201
191
  opts: Optional[pulumi.ResourceOptions] = None,
202
192
  comment: Optional[pulumi.Input[str]] = None,
193
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
203
194
  name: Optional[pulumi.Input[str]] = None,
204
195
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RoleShowOutputArgs', 'RoleShowOutputArgsDict']]]]] = None) -> 'Role':
205
196
  """
@@ -209,6 +200,8 @@ class Role(pulumi.CustomResource):
209
200
  :param str resource_name: The unique name of the resulting resource.
210
201
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
211
202
  :param pulumi.ResourceOptions opts: Options for the resource.
203
+ :param pulumi.Input[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).
204
+ :param pulumi.Input[str] name: Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
212
205
  :param pulumi.Input[Sequence[pulumi.Input[Union['RoleShowOutputArgs', 'RoleShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW ROLES` for the given role.
213
206
  """
214
207
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -216,6 +209,7 @@ class Role(pulumi.CustomResource):
216
209
  __props__ = _RoleState.__new__(_RoleState)
217
210
 
218
211
  __props__.__dict__["comment"] = comment
212
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
219
213
  __props__.__dict__["name"] = name
220
214
  __props__.__dict__["show_outputs"] = show_outputs
221
215
  return Role(resource_name, opts=opts, __props__=__props__)
@@ -225,9 +219,20 @@ class Role(pulumi.CustomResource):
225
219
  def comment(self) -> pulumi.Output[Optional[str]]:
226
220
  return pulumi.get(self, "comment")
227
221
 
222
+ @property
223
+ @pulumi.getter(name="fullyQualifiedName")
224
+ def fully_qualified_name(self) -> pulumi.Output[str]:
225
+ """
226
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
227
+ """
228
+ return pulumi.get(self, "fully_qualified_name")
229
+
228
230
  @property
229
231
  @pulumi.getter
230
232
  def name(self) -> pulumi.Output[str]:
233
+ """
234
+ Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
235
+ """
231
236
  return pulumi.get(self, "name")
232
237
 
233
238
  @property
@@ -116,6 +116,7 @@ class _RowAccessPolicyState:
116
116
  def __init__(__self__, *,
117
117
  comment: Optional[pulumi.Input[str]] = None,
118
118
  database: Optional[pulumi.Input[str]] = None,
119
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
119
120
  name: Optional[pulumi.Input[str]] = None,
120
121
  row_access_expression: Optional[pulumi.Input[str]] = None,
121
122
  schema: Optional[pulumi.Input[str]] = None,
@@ -124,6 +125,7 @@ class _RowAccessPolicyState:
124
125
  Input properties used for looking up and filtering RowAccessPolicy resources.
125
126
  :param pulumi.Input[str] comment: Specifies a comment for the row access policy.
126
127
  :param pulumi.Input[str] database: The database in which to create the row access policy.
128
+ :param pulumi.Input[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).
127
129
  :param pulumi.Input[str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created.
128
130
  :param pulumi.Input[str] row_access_expression: Specifies the SQL expression. The expression can be any boolean-valued SQL expression.
129
131
  :param pulumi.Input[str] schema: The schema in which to create the row access policy.
@@ -133,6 +135,8 @@ class _RowAccessPolicyState:
133
135
  pulumi.set(__self__, "comment", comment)
134
136
  if database is not None:
135
137
  pulumi.set(__self__, "database", database)
138
+ if fully_qualified_name is not None:
139
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
136
140
  if name is not None:
137
141
  pulumi.set(__self__, "name", name)
138
142
  if row_access_expression is not None:
@@ -166,6 +170,18 @@ class _RowAccessPolicyState:
166
170
  def database(self, value: Optional[pulumi.Input[str]]):
167
171
  pulumi.set(self, "database", value)
168
172
 
173
+ @property
174
+ @pulumi.getter(name="fullyQualifiedName")
175
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
176
+ """
177
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
178
+ """
179
+ return pulumi.get(self, "fully_qualified_name")
180
+
181
+ @fully_qualified_name.setter
182
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
183
+ pulumi.set(self, "fully_qualified_name", value)
184
+
169
185
  @property
170
186
  @pulumi.getter
171
187
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -228,23 +244,6 @@ class RowAccessPolicy(pulumi.CustomResource):
228
244
  signature: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
229
245
  __props__=None):
230
246
  """
231
- ## Example Usage
232
-
233
- ```python
234
- import pulumi
235
- import pulumi_snowflake as snowflake
236
-
237
- example_row_access_policy = snowflake.RowAccessPolicy("example_row_access_policy",
238
- name="EXAMPLE_ROW_ACCESS_POLICY",
239
- database="EXAMPLE_DB",
240
- schema="EXAMPLE_SCHEMA",
241
- signature={
242
- "A": "VARCHAR",
243
- "B": "VARCHAR",
244
- },
245
- row_access_expression="case when current_role() in ('ANALYST') then true else false end")
246
- ```
247
-
248
247
  ## Import
249
248
 
250
249
  format is database name | schema name | policy name
@@ -269,23 +268,6 @@ class RowAccessPolicy(pulumi.CustomResource):
269
268
  args: RowAccessPolicyArgs,
270
269
  opts: Optional[pulumi.ResourceOptions] = None):
271
270
  """
272
- ## Example Usage
273
-
274
- ```python
275
- import pulumi
276
- import pulumi_snowflake as snowflake
277
-
278
- example_row_access_policy = snowflake.RowAccessPolicy("example_row_access_policy",
279
- name="EXAMPLE_ROW_ACCESS_POLICY",
280
- database="EXAMPLE_DB",
281
- schema="EXAMPLE_SCHEMA",
282
- signature={
283
- "A": "VARCHAR",
284
- "B": "VARCHAR",
285
- },
286
- row_access_expression="case when current_role() in ('ANALYST') then true else false end")
287
- ```
288
-
289
271
  ## Import
290
272
 
291
273
  format is database name | schema name | policy name
@@ -338,6 +320,7 @@ class RowAccessPolicy(pulumi.CustomResource):
338
320
  if signature is None and not opts.urn:
339
321
  raise TypeError("Missing required property 'signature'")
340
322
  __props__.__dict__["signature"] = signature
323
+ __props__.__dict__["fully_qualified_name"] = None
341
324
  super(RowAccessPolicy, __self__).__init__(
342
325
  'snowflake:index/rowAccessPolicy:RowAccessPolicy',
343
326
  resource_name,
@@ -350,6 +333,7 @@ class RowAccessPolicy(pulumi.CustomResource):
350
333
  opts: Optional[pulumi.ResourceOptions] = None,
351
334
  comment: Optional[pulumi.Input[str]] = None,
352
335
  database: Optional[pulumi.Input[str]] = None,
336
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
353
337
  name: Optional[pulumi.Input[str]] = None,
354
338
  row_access_expression: Optional[pulumi.Input[str]] = None,
355
339
  schema: Optional[pulumi.Input[str]] = None,
@@ -363,6 +347,7 @@ class RowAccessPolicy(pulumi.CustomResource):
363
347
  :param pulumi.ResourceOptions opts: Options for the resource.
364
348
  :param pulumi.Input[str] comment: Specifies a comment for the row access policy.
365
349
  :param pulumi.Input[str] database: The database in which to create the row access policy.
350
+ :param pulumi.Input[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).
366
351
  :param pulumi.Input[str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created.
367
352
  :param pulumi.Input[str] row_access_expression: Specifies the SQL expression. The expression can be any boolean-valued SQL expression.
368
353
  :param pulumi.Input[str] schema: The schema in which to create the row access policy.
@@ -374,6 +359,7 @@ class RowAccessPolicy(pulumi.CustomResource):
374
359
 
375
360
  __props__.__dict__["comment"] = comment
376
361
  __props__.__dict__["database"] = database
362
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
377
363
  __props__.__dict__["name"] = name
378
364
  __props__.__dict__["row_access_expression"] = row_access_expression
379
365
  __props__.__dict__["schema"] = schema
@@ -396,6 +382,14 @@ class RowAccessPolicy(pulumi.CustomResource):
396
382
  """
397
383
  return pulumi.get(self, "database")
398
384
 
385
+ @property
386
+ @pulumi.getter(name="fullyQualifiedName")
387
+ def fully_qualified_name(self) -> pulumi.Output[str]:
388
+ """
389
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
390
+ """
391
+ return pulumi.get(self, "fully_qualified_name")
392
+
399
393
  @property
400
394
  @pulumi.getter
401
395
  def name(self) -> pulumi.Output[str]:
@@ -43,7 +43,7 @@ class Saml2IntegrationArgs:
43
43
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_user_domains: A list of email domains that can authenticate with a SAML2 security integration. If this field changes value from non-empty to empty, the whole resource is recreated because of Snowflake limitations.
44
44
  :param pulumi.Input[str] comment: Specifies a comment for the integration.
45
45
  :param pulumi.Input[str] enabled: Specifies whether this security integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
46
- :param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
46
+ :param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
47
47
  :param pulumi.Input[str] saml2_enable_sp_initiated: The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in With button on the login page. FALSE: does not display the Log in With button on the login page. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
48
48
  :param pulumi.Input[str] saml2_force_authn: The Boolean indicating whether users, during the initial authentication flow, are forced to authenticate again to access Snowflake. When set to TRUE, Snowflake sets the ForceAuthn SAML parameter to TRUE in the outgoing request from Snowflake to the identity provider. TRUE: forces users to authenticate again to access Snowflake, even if a valid session with the identity provider exists. FALSE: does not force users to authenticate again to access Snowflake. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
49
49
  :param pulumi.Input[str] saml2_post_logout_redirect_url: The endpoint to which Snowflake redirects users after clicking the Log Out button in the classic Snowflake web interface. Snowflake terminates the Snowflake session upon redirecting to the specified endpoint.
@@ -184,7 +184,7 @@ class Saml2IntegrationArgs:
184
184
  @pulumi.getter
185
185
  def name(self) -> Optional[pulumi.Input[str]]:
186
186
  """
187
- Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
187
+ Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
188
188
  """
189
189
  return pulumi.get(self, "name")
190
190
 
@@ -297,6 +297,7 @@ class _Saml2IntegrationState:
297
297
  comment: Optional[pulumi.Input[str]] = None,
298
298
  describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['Saml2IntegrationDescribeOutputArgs']]]] = None,
299
299
  enabled: Optional[pulumi.Input[str]] = None,
300
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
300
301
  name: Optional[pulumi.Input[str]] = None,
301
302
  saml2_enable_sp_initiated: Optional[pulumi.Input[str]] = None,
302
303
  saml2_force_authn: Optional[pulumi.Input[str]] = None,
@@ -318,7 +319,8 @@ class _Saml2IntegrationState:
318
319
  :param pulumi.Input[str] comment: Specifies a comment for the integration.
319
320
  :param pulumi.Input[Sequence[pulumi.Input['Saml2IntegrationDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
320
321
  :param pulumi.Input[str] enabled: Specifies whether this security integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
321
- :param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
322
+ :param pulumi.Input[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).
323
+ :param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
322
324
  :param pulumi.Input[str] saml2_enable_sp_initiated: The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in With button on the login page. FALSE: does not display the Log in With button on the login page. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
323
325
  :param pulumi.Input[str] saml2_force_authn: The Boolean indicating whether users, during the initial authentication flow, are forced to authenticate again to access Snowflake. When set to TRUE, Snowflake sets the ForceAuthn SAML parameter to TRUE in the outgoing request from Snowflake to the identity provider. TRUE: forces users to authenticate again to access Snowflake, even if a valid session with the identity provider exists. FALSE: does not force users to authenticate again to access Snowflake. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
324
326
  :param pulumi.Input[str] saml2_issuer: The string containing the IdP EntityID / Issuer.
@@ -343,6 +345,8 @@ class _Saml2IntegrationState:
343
345
  pulumi.set(__self__, "describe_outputs", describe_outputs)
344
346
  if enabled is not None:
345
347
  pulumi.set(__self__, "enabled", enabled)
348
+ if fully_qualified_name is not None:
349
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
346
350
  if name is not None:
347
351
  pulumi.set(__self__, "name", name)
348
352
  if saml2_enable_sp_initiated is not None:
@@ -432,11 +436,23 @@ class _Saml2IntegrationState:
432
436
  def enabled(self, value: Optional[pulumi.Input[str]]):
433
437
  pulumi.set(self, "enabled", value)
434
438
 
439
+ @property
440
+ @pulumi.getter(name="fullyQualifiedName")
441
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
442
+ """
443
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
444
+ """
445
+ return pulumi.get(self, "fully_qualified_name")
446
+
447
+ @fully_qualified_name.setter
448
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
449
+ pulumi.set(self, "fully_qualified_name", value)
450
+
435
451
  @property
436
452
  @pulumi.getter
437
453
  def name(self) -> Optional[pulumi.Input[str]]:
438
454
  """
439
- Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
455
+ Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
440
456
  """
441
457
  return pulumi.get(self, "name")
442
458
 
@@ -625,10 +641,6 @@ class Saml2Integration(pulumi.CustomResource):
625
641
  saml2_x509_cert: Optional[pulumi.Input[str]] = None,
626
642
  __props__=None):
627
643
  """
628
- !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
629
-
630
- Resource used to manage saml2 security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-saml2).
631
-
632
644
  ## Import
633
645
 
634
646
  ```sh
@@ -641,7 +653,7 @@ class Saml2Integration(pulumi.CustomResource):
641
653
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_user_domains: A list of email domains that can authenticate with a SAML2 security integration. If this field changes value from non-empty to empty, the whole resource is recreated because of Snowflake limitations.
642
654
  :param pulumi.Input[str] comment: Specifies a comment for the integration.
643
655
  :param pulumi.Input[str] enabled: Specifies whether this security integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
644
- :param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
656
+ :param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
645
657
  :param pulumi.Input[str] saml2_enable_sp_initiated: The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in With button on the login page. FALSE: does not display the Log in With button on the login page. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
646
658
  :param pulumi.Input[str] saml2_force_authn: The Boolean indicating whether users, during the initial authentication flow, are forced to authenticate again to access Snowflake. When set to TRUE, Snowflake sets the ForceAuthn SAML parameter to TRUE in the outgoing request from Snowflake to the identity provider. TRUE: forces users to authenticate again to access Snowflake, even if a valid session with the identity provider exists. FALSE: does not force users to authenticate again to access Snowflake. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
647
659
  :param pulumi.Input[str] saml2_issuer: The string containing the IdP EntityID / Issuer.
@@ -662,10 +674,6 @@ class Saml2Integration(pulumi.CustomResource):
662
674
  args: Saml2IntegrationArgs,
663
675
  opts: Optional[pulumi.ResourceOptions] = None):
664
676
  """
665
- !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
666
-
667
- Resource used to manage saml2 security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-saml2).
668
-
669
677
  ## Import
670
678
 
671
679
  ```sh
@@ -739,6 +747,7 @@ class Saml2Integration(pulumi.CustomResource):
739
747
  raise TypeError("Missing required property 'saml2_x509_cert'")
740
748
  __props__.__dict__["saml2_x509_cert"] = saml2_x509_cert
741
749
  __props__.__dict__["describe_outputs"] = None
750
+ __props__.__dict__["fully_qualified_name"] = None
742
751
  __props__.__dict__["show_outputs"] = None
743
752
  super(Saml2Integration, __self__).__init__(
744
753
  'snowflake:index/saml2Integration:Saml2Integration',
@@ -755,6 +764,7 @@ class Saml2Integration(pulumi.CustomResource):
755
764
  comment: Optional[pulumi.Input[str]] = None,
756
765
  describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['Saml2IntegrationDescribeOutputArgs', 'Saml2IntegrationDescribeOutputArgsDict']]]]] = None,
757
766
  enabled: Optional[pulumi.Input[str]] = None,
767
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
758
768
  name: Optional[pulumi.Input[str]] = None,
759
769
  saml2_enable_sp_initiated: Optional[pulumi.Input[str]] = None,
760
770
  saml2_force_authn: Optional[pulumi.Input[str]] = None,
@@ -781,7 +791,8 @@ class Saml2Integration(pulumi.CustomResource):
781
791
  :param pulumi.Input[str] comment: Specifies a comment for the integration.
782
792
  :param pulumi.Input[Sequence[pulumi.Input[Union['Saml2IntegrationDescribeOutputArgs', 'Saml2IntegrationDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
783
793
  :param pulumi.Input[str] enabled: Specifies whether this security integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
784
- :param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
794
+ :param pulumi.Input[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).
795
+ :param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
785
796
  :param pulumi.Input[str] saml2_enable_sp_initiated: The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in With button on the login page. FALSE: does not display the Log in With button on the login page. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
786
797
  :param pulumi.Input[str] saml2_force_authn: The Boolean indicating whether users, during the initial authentication flow, are forced to authenticate again to access Snowflake. When set to TRUE, Snowflake sets the ForceAuthn SAML parameter to TRUE in the outgoing request from Snowflake to the identity provider. TRUE: forces users to authenticate again to access Snowflake, even if a valid session with the identity provider exists. FALSE: does not force users to authenticate again to access Snowflake. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
787
798
  :param pulumi.Input[str] saml2_issuer: The string containing the IdP EntityID / Issuer.
@@ -805,6 +816,7 @@ class Saml2Integration(pulumi.CustomResource):
805
816
  __props__.__dict__["comment"] = comment
806
817
  __props__.__dict__["describe_outputs"] = describe_outputs
807
818
  __props__.__dict__["enabled"] = enabled
819
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
808
820
  __props__.__dict__["name"] = name
809
821
  __props__.__dict__["saml2_enable_sp_initiated"] = saml2_enable_sp_initiated
810
822
  __props__.__dict__["saml2_force_authn"] = saml2_force_authn
@@ -861,11 +873,19 @@ class Saml2Integration(pulumi.CustomResource):
861
873
  """
862
874
  return pulumi.get(self, "enabled")
863
875
 
876
+ @property
877
+ @pulumi.getter(name="fullyQualifiedName")
878
+ def fully_qualified_name(self) -> pulumi.Output[str]:
879
+ """
880
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
881
+ """
882
+ return pulumi.get(self, "fully_qualified_name")
883
+
864
884
  @property
865
885
  @pulumi.getter
866
886
  def name(self) -> pulumi.Output[str]:
867
887
  """
868
- Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
888
+ Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
869
889
  """
870
890
  return pulumi.get(self, "name")
871
891
 
@@ -581,23 +581,6 @@ class SamlIntegration(pulumi.CustomResource):
581
581
  saml2_x509_cert: Optional[pulumi.Input[str]] = None,
582
582
  __props__=None):
583
583
  """
584
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use Saml2Integration instead. <deprecation>
585
-
586
- ## Example Usage
587
-
588
- ```python
589
- import pulumi
590
- import pulumi_snowflake as snowflake
591
-
592
- saml_integration = snowflake.SamlIntegration("saml_integration",
593
- name="saml_integration",
594
- saml2_provider="CUSTOM",
595
- saml2_issuer="test_issuer",
596
- saml2_sso_url="https://testsamlissuer.com",
597
- saml2_x509_cert="MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiMD6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO",
598
- enabled=True)
599
- ```
600
-
601
584
  ## Import
602
585
 
603
586
  ```sh
@@ -629,23 +612,6 @@ class SamlIntegration(pulumi.CustomResource):
629
612
  args: SamlIntegrationArgs,
630
613
  opts: Optional[pulumi.ResourceOptions] = None):
631
614
  """
632
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use Saml2Integration instead. <deprecation>
633
-
634
- ## Example Usage
635
-
636
- ```python
637
- import pulumi
638
- import pulumi_snowflake as snowflake
639
-
640
- saml_integration = snowflake.SamlIntegration("saml_integration",
641
- name="saml_integration",
642
- saml2_provider="CUSTOM",
643
- saml2_issuer="test_issuer",
644
- saml2_sso_url="https://testsamlissuer.com",
645
- saml2_x509_cert="MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiMD6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO",
646
- enabled=True)
647
- ```
648
-
649
615
  ## Import
650
616
 
651
617
  ```sh