pulumi-snowflake 0.57.1a1722856643__py3-none-any.whl → 0.58.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 (88) 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 +51 -32
  6. pulumi_snowflake/alert.py +33 -45
  7. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +39 -19
  8. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +39 -19
  9. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +39 -19
  10. pulumi_snowflake/api_integration.py +28 -54
  11. pulumi_snowflake/cortex_search_service.py +28 -0
  12. pulumi_snowflake/database.py +97 -148
  13. pulumi_snowflake/database_old.py +5 -77
  14. pulumi_snowflake/database_role.py +76 -42
  15. pulumi_snowflake/dynamic_table.py +33 -43
  16. pulumi_snowflake/email_notification_integration.py +28 -26
  17. pulumi_snowflake/external_function.py +38 -62
  18. pulumi_snowflake/external_oauth_integration.py +41 -21
  19. pulumi_snowflake/external_table.py +38 -58
  20. pulumi_snowflake/failover_group.py +38 -82
  21. pulumi_snowflake/file_format.py +28 -26
  22. pulumi_snowflake/function.py +33 -9
  23. pulumi_snowflake/get_cortex_search_services.py +16 -16
  24. pulumi_snowflake/get_database_roles.py +61 -38
  25. pulumi_snowflake/get_databases.py +4 -4
  26. pulumi_snowflake/get_dynamic_tables.py +12 -12
  27. pulumi_snowflake/get_grants.py +138 -138
  28. pulumi_snowflake/get_schemas.py +8 -8
  29. pulumi_snowflake/get_streamlits.py +8 -8
  30. pulumi_snowflake/get_users.py +96 -33
  31. pulumi_snowflake/get_views.py +92 -53
  32. pulumi_snowflake/grant_account_role.py +0 -4
  33. pulumi_snowflake/grant_application_role.py +0 -4
  34. pulumi_snowflake/grant_database_role.py +0 -4
  35. pulumi_snowflake/grant_ownership.py +5 -5
  36. pulumi_snowflake/grant_privileges_to_account_role.py +15 -15
  37. pulumi_snowflake/grant_privileges_to_database_role.py +16 -12
  38. pulumi_snowflake/grant_privileges_to_share.py +47 -0
  39. pulumi_snowflake/managed_account.py +28 -4
  40. pulumi_snowflake/masking_policy.py +33 -89
  41. pulumi_snowflake/materialized_view.py +33 -39
  42. pulumi_snowflake/network_policy.py +47 -49
  43. pulumi_snowflake/network_policy_attachment.py +0 -30
  44. pulumi_snowflake/network_rule.py +28 -66
  45. pulumi_snowflake/notification_integration.py +28 -34
  46. pulumi_snowflake/oauth_integration.py +0 -34
  47. pulumi_snowflake/oauth_integration_for_custom_clients.py +39 -105
  48. pulumi_snowflake/oauth_integration_for_partner_applications.py +39 -19
  49. pulumi_snowflake/object_parameter.py +5 -103
  50. pulumi_snowflake/outputs.py +11648 -3842
  51. pulumi_snowflake/password_policy.py +28 -28
  52. pulumi_snowflake/pipe.py +28 -4
  53. pulumi_snowflake/procedure.py +33 -9
  54. pulumi_snowflake/provider.py +16 -16
  55. pulumi_snowflake/pulumi-plugin.json +1 -1
  56. pulumi_snowflake/resource_monitor.py +28 -48
  57. pulumi_snowflake/role.py +51 -32
  58. pulumi_snowflake/row_access_policy.py +28 -34
  59. pulumi_snowflake/saml2_integration.py +39 -19
  60. pulumi_snowflake/saml_integration.py +0 -34
  61. pulumi_snowflake/schema.py +45 -25
  62. pulumi_snowflake/scim_integration.py +39 -19
  63. pulumi_snowflake/secondary_database.py +35 -19
  64. pulumi_snowflake/sequence.py +4 -36
  65. pulumi_snowflake/session_parameter.py +0 -32
  66. pulumi_snowflake/share.py +28 -28
  67. pulumi_snowflake/shared_database.py +35 -15
  68. pulumi_snowflake/stage.py +33 -33
  69. pulumi_snowflake/storage_integration.py +28 -4
  70. pulumi_snowflake/stream.py +28 -4
  71. pulumi_snowflake/streamlit.py +39 -19
  72. pulumi_snowflake/table.py +43 -47
  73. pulumi_snowflake/table_column_masking_policy_application.py +2 -14
  74. pulumi_snowflake/table_constraint.py +5 -157
  75. pulumi_snowflake/tag.py +28 -40
  76. pulumi_snowflake/tag_association.py +5 -125
  77. pulumi_snowflake/tag_masking_policy_association.py +0 -4
  78. pulumi_snowflake/task.py +28 -92
  79. pulumi_snowflake/unsafe_execute.py +2 -20
  80. pulumi_snowflake/user.py +3341 -368
  81. pulumi_snowflake/user_password_policy_attachment.py +0 -36
  82. pulumi_snowflake/view.py +465 -185
  83. pulumi_snowflake/warehouse.py +39 -43
  84. {pulumi_snowflake-0.57.1a1722856643.dist-info → pulumi_snowflake-0.58.0.dist-info}/METADATA +1 -1
  85. pulumi_snowflake-0.58.0.dist-info/RECORD +129 -0
  86. {pulumi_snowflake-0.57.1a1722856643.dist-info → pulumi_snowflake-0.58.0.dist-info}/WHEEL +1 -1
  87. pulumi_snowflake-0.57.1a1722856643.dist-info/RECORD +0 -129
  88. {pulumi_snowflake-0.57.1a1722856643.dist-info → pulumi_snowflake-0.58.0.dist-info}/top_level.txt +0 -0
@@ -350,9 +350,9 @@ class GrantPrivilegesToAccountRole(pulumi.CustomResource):
350
350
  always_apply: Optional[pulumi.Input[bool]] = None,
351
351
  always_apply_trigger: Optional[pulumi.Input[str]] = None,
352
352
  on_account: Optional[pulumi.Input[bool]] = None,
353
- on_account_object: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnAccountObjectArgs']]] = None,
354
- on_schema: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnSchemaArgs']]] = None,
355
- on_schema_object: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnSchemaObjectArgs']]] = None,
353
+ on_account_object: Optional[pulumi.Input[Union['GrantPrivilegesToAccountRoleOnAccountObjectArgs', 'GrantPrivilegesToAccountRoleOnAccountObjectArgsDict']]] = None,
354
+ on_schema: Optional[pulumi.Input[Union['GrantPrivilegesToAccountRoleOnSchemaArgs', 'GrantPrivilegesToAccountRoleOnSchemaArgsDict']]] = None,
355
+ on_schema_object: Optional[pulumi.Input[Union['GrantPrivilegesToAccountRoleOnSchemaObjectArgs', 'GrantPrivilegesToAccountRoleOnSchemaObjectArgsDict']]] = None,
356
356
  privileges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
357
357
  with_grant_option: Optional[pulumi.Input[bool]] = None,
358
358
  __props__=None):
@@ -391,9 +391,9 @@ class GrantPrivilegesToAccountRole(pulumi.CustomResource):
391
391
  :param pulumi.Input[bool] all_privileges: Grant all privileges on the account role.
392
392
  :param pulumi.Input[str] always_apply_trigger: This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
393
393
  :param pulumi.Input[bool] on_account: If true, the privileges will be granted on the account.
394
- :param pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnAccountObjectArgs']] on_account_object: Specifies the account object on which privileges will be granted
395
- :param pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnSchemaArgs']] on_schema: Specifies the schema on which privileges will be granted.
396
- :param pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnSchemaObjectArgs']] on_schema_object: Specifies the schema object on which privileges will be granted.
394
+ :param pulumi.Input[Union['GrantPrivilegesToAccountRoleOnAccountObjectArgs', 'GrantPrivilegesToAccountRoleOnAccountObjectArgsDict']] on_account_object: Specifies the account object on which privileges will be granted
395
+ :param pulumi.Input[Union['GrantPrivilegesToAccountRoleOnSchemaArgs', 'GrantPrivilegesToAccountRoleOnSchemaArgsDict']] on_schema: Specifies the schema on which privileges will be granted.
396
+ :param pulumi.Input[Union['GrantPrivilegesToAccountRoleOnSchemaObjectArgs', 'GrantPrivilegesToAccountRoleOnSchemaObjectArgsDict']] on_schema_object: Specifies the schema object on which privileges will be granted.
397
397
  :param pulumi.Input[Sequence[pulumi.Input[str]]] privileges: The privileges to grant on the account role.
398
398
  :param pulumi.Input[bool] with_grant_option: Specifies whether the grantee can grant the privileges to other users.
399
399
  """
@@ -452,9 +452,9 @@ class GrantPrivilegesToAccountRole(pulumi.CustomResource):
452
452
  always_apply: Optional[pulumi.Input[bool]] = None,
453
453
  always_apply_trigger: Optional[pulumi.Input[str]] = None,
454
454
  on_account: Optional[pulumi.Input[bool]] = None,
455
- on_account_object: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnAccountObjectArgs']]] = None,
456
- on_schema: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnSchemaArgs']]] = None,
457
- on_schema_object: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnSchemaObjectArgs']]] = None,
455
+ on_account_object: Optional[pulumi.Input[Union['GrantPrivilegesToAccountRoleOnAccountObjectArgs', 'GrantPrivilegesToAccountRoleOnAccountObjectArgsDict']]] = None,
456
+ on_schema: Optional[pulumi.Input[Union['GrantPrivilegesToAccountRoleOnSchemaArgs', 'GrantPrivilegesToAccountRoleOnSchemaArgsDict']]] = None,
457
+ on_schema_object: Optional[pulumi.Input[Union['GrantPrivilegesToAccountRoleOnSchemaObjectArgs', 'GrantPrivilegesToAccountRoleOnSchemaObjectArgsDict']]] = None,
458
458
  privileges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
459
459
  with_grant_option: Optional[pulumi.Input[bool]] = None,
460
460
  __props__=None):
@@ -493,9 +493,9 @@ class GrantPrivilegesToAccountRole(pulumi.CustomResource):
493
493
  always_apply: Optional[pulumi.Input[bool]] = None,
494
494
  always_apply_trigger: Optional[pulumi.Input[str]] = None,
495
495
  on_account: Optional[pulumi.Input[bool]] = None,
496
- on_account_object: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnAccountObjectArgs']]] = None,
497
- on_schema: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnSchemaArgs']]] = None,
498
- on_schema_object: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnSchemaObjectArgs']]] = None,
496
+ on_account_object: Optional[pulumi.Input[Union['GrantPrivilegesToAccountRoleOnAccountObjectArgs', 'GrantPrivilegesToAccountRoleOnAccountObjectArgsDict']]] = None,
497
+ on_schema: Optional[pulumi.Input[Union['GrantPrivilegesToAccountRoleOnSchemaArgs', 'GrantPrivilegesToAccountRoleOnSchemaArgsDict']]] = None,
498
+ on_schema_object: Optional[pulumi.Input[Union['GrantPrivilegesToAccountRoleOnSchemaObjectArgs', 'GrantPrivilegesToAccountRoleOnSchemaObjectArgsDict']]] = None,
499
499
  privileges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
500
500
  with_grant_option: Optional[pulumi.Input[bool]] = None) -> 'GrantPrivilegesToAccountRole':
501
501
  """
@@ -509,9 +509,9 @@ class GrantPrivilegesToAccountRole(pulumi.CustomResource):
509
509
  :param pulumi.Input[bool] all_privileges: Grant all privileges on the account role.
510
510
  :param pulumi.Input[str] always_apply_trigger: This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
511
511
  :param pulumi.Input[bool] on_account: If true, the privileges will be granted on the account.
512
- :param pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnAccountObjectArgs']] on_account_object: Specifies the account object on which privileges will be granted
513
- :param pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnSchemaArgs']] on_schema: Specifies the schema on which privileges will be granted.
514
- :param pulumi.Input[pulumi.InputType['GrantPrivilegesToAccountRoleOnSchemaObjectArgs']] on_schema_object: Specifies the schema object on which privileges will be granted.
512
+ :param pulumi.Input[Union['GrantPrivilegesToAccountRoleOnAccountObjectArgs', 'GrantPrivilegesToAccountRoleOnAccountObjectArgsDict']] on_account_object: Specifies the account object on which privileges will be granted
513
+ :param pulumi.Input[Union['GrantPrivilegesToAccountRoleOnSchemaArgs', 'GrantPrivilegesToAccountRoleOnSchemaArgsDict']] on_schema: Specifies the schema on which privileges will be granted.
514
+ :param pulumi.Input[Union['GrantPrivilegesToAccountRoleOnSchemaObjectArgs', 'GrantPrivilegesToAccountRoleOnSchemaObjectArgsDict']] on_schema_object: Specifies the schema object on which privileges will be granted.
515
515
  :param pulumi.Input[Sequence[pulumi.Input[str]]] privileges: The privileges to grant on the account role.
516
516
  :param pulumi.Input[bool] with_grant_option: Specifies whether the grantee can grant the privileges to other users.
517
517
  """
@@ -318,13 +318,15 @@ class GrantPrivilegesToDatabaseRole(pulumi.CustomResource):
318
318
  always_apply_trigger: Optional[pulumi.Input[str]] = None,
319
319
  database_role_name: Optional[pulumi.Input[str]] = None,
320
320
  on_database: Optional[pulumi.Input[str]] = None,
321
- on_schema: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToDatabaseRoleOnSchemaArgs']]] = None,
322
- on_schema_object: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToDatabaseRoleOnSchemaObjectArgs']]] = None,
321
+ on_schema: Optional[pulumi.Input[Union['GrantPrivilegesToDatabaseRoleOnSchemaArgs', 'GrantPrivilegesToDatabaseRoleOnSchemaArgsDict']]] = None,
322
+ on_schema_object: Optional[pulumi.Input[Union['GrantPrivilegesToDatabaseRoleOnSchemaObjectArgs', 'GrantPrivilegesToDatabaseRoleOnSchemaObjectArgsDict']]] = None,
323
323
  privileges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
324
324
  with_grant_option: Optional[pulumi.Input[bool]] = None,
325
325
  __props__=None):
326
326
  """
327
- !> **Warning** Be careful when using `always_apply` field. It will always produce a plan (even when no changes were made) and can be harmful in some setups. For more details why we decided to introduce it to go our document explaining those design decisions (coming soon).
327
+ ## Import
328
+
329
+ ### Import examples
328
330
 
329
331
  #### Grant all privileges OnDatabase
330
332
 
@@ -356,8 +358,8 @@ class GrantPrivilegesToDatabaseRole(pulumi.CustomResource):
356
358
  :param pulumi.Input[str] always_apply_trigger: This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
357
359
  :param pulumi.Input[str] database_role_name: The fully qualified name of the database role to which privileges will be granted.
358
360
  :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted.
359
- :param pulumi.Input[pulumi.InputType['GrantPrivilegesToDatabaseRoleOnSchemaArgs']] on_schema: Specifies the schema on which privileges will be granted.
360
- :param pulumi.Input[pulumi.InputType['GrantPrivilegesToDatabaseRoleOnSchemaObjectArgs']] on_schema_object: Specifies the schema object on which privileges will be granted.
361
+ :param pulumi.Input[Union['GrantPrivilegesToDatabaseRoleOnSchemaArgs', 'GrantPrivilegesToDatabaseRoleOnSchemaArgsDict']] on_schema: Specifies the schema on which privileges will be granted.
362
+ :param pulumi.Input[Union['GrantPrivilegesToDatabaseRoleOnSchemaObjectArgs', 'GrantPrivilegesToDatabaseRoleOnSchemaObjectArgsDict']] on_schema_object: Specifies the schema object on which privileges will be granted.
361
363
  :param pulumi.Input[Sequence[pulumi.Input[str]]] privileges: The privileges to grant on the database role.
362
364
  :param pulumi.Input[bool] with_grant_option: If specified, allows the recipient role to grant the privileges to other roles.
363
365
  """
@@ -368,7 +370,9 @@ class GrantPrivilegesToDatabaseRole(pulumi.CustomResource):
368
370
  args: GrantPrivilegesToDatabaseRoleArgs,
369
371
  opts: Optional[pulumi.ResourceOptions] = None):
370
372
  """
371
- !> **Warning** Be careful when using `always_apply` field. It will always produce a plan (even when no changes were made) and can be harmful in some setups. For more details why we decided to introduce it to go our document explaining those design decisions (coming soon).
373
+ ## Import
374
+
375
+ ### Import examples
372
376
 
373
377
  #### Grant all privileges OnDatabase
374
378
 
@@ -414,8 +418,8 @@ class GrantPrivilegesToDatabaseRole(pulumi.CustomResource):
414
418
  always_apply_trigger: Optional[pulumi.Input[str]] = None,
415
419
  database_role_name: Optional[pulumi.Input[str]] = None,
416
420
  on_database: Optional[pulumi.Input[str]] = None,
417
- on_schema: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToDatabaseRoleOnSchemaArgs']]] = None,
418
- on_schema_object: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToDatabaseRoleOnSchemaObjectArgs']]] = None,
421
+ on_schema: Optional[pulumi.Input[Union['GrantPrivilegesToDatabaseRoleOnSchemaArgs', 'GrantPrivilegesToDatabaseRoleOnSchemaArgsDict']]] = None,
422
+ on_schema_object: Optional[pulumi.Input[Union['GrantPrivilegesToDatabaseRoleOnSchemaObjectArgs', 'GrantPrivilegesToDatabaseRoleOnSchemaObjectArgsDict']]] = None,
419
423
  privileges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
420
424
  with_grant_option: Optional[pulumi.Input[bool]] = None,
421
425
  __props__=None):
@@ -453,8 +457,8 @@ class GrantPrivilegesToDatabaseRole(pulumi.CustomResource):
453
457
  always_apply_trigger: Optional[pulumi.Input[str]] = None,
454
458
  database_role_name: Optional[pulumi.Input[str]] = None,
455
459
  on_database: Optional[pulumi.Input[str]] = None,
456
- on_schema: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToDatabaseRoleOnSchemaArgs']]] = None,
457
- on_schema_object: Optional[pulumi.Input[pulumi.InputType['GrantPrivilegesToDatabaseRoleOnSchemaObjectArgs']]] = None,
460
+ on_schema: Optional[pulumi.Input[Union['GrantPrivilegesToDatabaseRoleOnSchemaArgs', 'GrantPrivilegesToDatabaseRoleOnSchemaArgsDict']]] = None,
461
+ on_schema_object: Optional[pulumi.Input[Union['GrantPrivilegesToDatabaseRoleOnSchemaObjectArgs', 'GrantPrivilegesToDatabaseRoleOnSchemaObjectArgsDict']]] = None,
458
462
  privileges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
459
463
  with_grant_option: Optional[pulumi.Input[bool]] = None) -> 'GrantPrivilegesToDatabaseRole':
460
464
  """
@@ -468,8 +472,8 @@ class GrantPrivilegesToDatabaseRole(pulumi.CustomResource):
468
472
  :param pulumi.Input[str] always_apply_trigger: This is a helper field and should not be set. Its main purpose is to help to achieve the functionality described by the always_apply field.
469
473
  :param pulumi.Input[str] database_role_name: The fully qualified name of the database role to which privileges will be granted.
470
474
  :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted.
471
- :param pulumi.Input[pulumi.InputType['GrantPrivilegesToDatabaseRoleOnSchemaArgs']] on_schema: Specifies the schema on which privileges will be granted.
472
- :param pulumi.Input[pulumi.InputType['GrantPrivilegesToDatabaseRoleOnSchemaObjectArgs']] on_schema_object: Specifies the schema object on which privileges will be granted.
475
+ :param pulumi.Input[Union['GrantPrivilegesToDatabaseRoleOnSchemaArgs', 'GrantPrivilegesToDatabaseRoleOnSchemaArgsDict']] on_schema: Specifies the schema on which privileges will be granted.
476
+ :param pulumi.Input[Union['GrantPrivilegesToDatabaseRoleOnSchemaObjectArgs', 'GrantPrivilegesToDatabaseRoleOnSchemaObjectArgsDict']] on_schema_object: Specifies the schema object on which privileges will be granted.
473
477
  :param pulumi.Input[Sequence[pulumi.Input[str]]] privileges: The privileges to grant on the database role.
474
478
  :param pulumi.Input[bool] with_grant_option: If specified, allows the recipient role to grant the privileges to other roles.
475
479
  """
@@ -18,6 +18,7 @@ class GrantPrivilegesToShareArgs:
18
18
  to_share: pulumi.Input[str],
19
19
  on_all_tables_in_schema: Optional[pulumi.Input[str]] = None,
20
20
  on_database: Optional[pulumi.Input[str]] = None,
21
+ on_function: Optional[pulumi.Input[str]] = None,
21
22
  on_schema: Optional[pulumi.Input[str]] = None,
22
23
  on_table: Optional[pulumi.Input[str]] = None,
23
24
  on_tag: Optional[pulumi.Input[str]] = None,
@@ -28,6 +29,7 @@ class GrantPrivilegesToShareArgs:
28
29
  :param pulumi.Input[str] to_share: The fully qualified name of the share on which privileges will be granted.
29
30
  :param pulumi.Input[str] on_all_tables_in_schema: The fully qualified identifier for the schema for which the specified privilege will be granted for all tables.
30
31
  :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted.
32
+ :param pulumi.Input[str] on_function: The fully qualified name of the function on which privileges will be granted.
31
33
  :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted.
32
34
  :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted.
33
35
  :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted.
@@ -39,6 +41,8 @@ class GrantPrivilegesToShareArgs:
39
41
  pulumi.set(__self__, "on_all_tables_in_schema", on_all_tables_in_schema)
40
42
  if on_database is not None:
41
43
  pulumi.set(__self__, "on_database", on_database)
44
+ if on_function is not None:
45
+ pulumi.set(__self__, "on_function", on_function)
42
46
  if on_schema is not None:
43
47
  pulumi.set(__self__, "on_schema", on_schema)
44
48
  if on_table is not None:
@@ -96,6 +100,18 @@ class GrantPrivilegesToShareArgs:
96
100
  def on_database(self, value: Optional[pulumi.Input[str]]):
97
101
  pulumi.set(self, "on_database", value)
98
102
 
103
+ @property
104
+ @pulumi.getter(name="onFunction")
105
+ def on_function(self) -> Optional[pulumi.Input[str]]:
106
+ """
107
+ The fully qualified name of the function on which privileges will be granted.
108
+ """
109
+ return pulumi.get(self, "on_function")
110
+
111
+ @on_function.setter
112
+ def on_function(self, value: Optional[pulumi.Input[str]]):
113
+ pulumi.set(self, "on_function", value)
114
+
99
115
  @property
100
116
  @pulumi.getter(name="onSchema")
101
117
  def on_schema(self) -> Optional[pulumi.Input[str]]:
@@ -150,6 +166,7 @@ class _GrantPrivilegesToShareState:
150
166
  def __init__(__self__, *,
151
167
  on_all_tables_in_schema: Optional[pulumi.Input[str]] = None,
152
168
  on_database: Optional[pulumi.Input[str]] = None,
169
+ on_function: Optional[pulumi.Input[str]] = None,
153
170
  on_schema: Optional[pulumi.Input[str]] = None,
154
171
  on_table: Optional[pulumi.Input[str]] = None,
155
172
  on_tag: Optional[pulumi.Input[str]] = None,
@@ -160,6 +177,7 @@ class _GrantPrivilegesToShareState:
160
177
  Input properties used for looking up and filtering GrantPrivilegesToShare resources.
161
178
  :param pulumi.Input[str] on_all_tables_in_schema: The fully qualified identifier for the schema for which the specified privilege will be granted for all tables.
162
179
  :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted.
180
+ :param pulumi.Input[str] on_function: The fully qualified name of the function on which privileges will be granted.
163
181
  :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted.
164
182
  :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted.
165
183
  :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted.
@@ -171,6 +189,8 @@ class _GrantPrivilegesToShareState:
171
189
  pulumi.set(__self__, "on_all_tables_in_schema", on_all_tables_in_schema)
172
190
  if on_database is not None:
173
191
  pulumi.set(__self__, "on_database", on_database)
192
+ if on_function is not None:
193
+ pulumi.set(__self__, "on_function", on_function)
174
194
  if on_schema is not None:
175
195
  pulumi.set(__self__, "on_schema", on_schema)
176
196
  if on_table is not None:
@@ -208,6 +228,18 @@ class _GrantPrivilegesToShareState:
208
228
  def on_database(self, value: Optional[pulumi.Input[str]]):
209
229
  pulumi.set(self, "on_database", value)
210
230
 
231
+ @property
232
+ @pulumi.getter(name="onFunction")
233
+ def on_function(self) -> Optional[pulumi.Input[str]]:
234
+ """
235
+ The fully qualified name of the function on which privileges will be granted.
236
+ """
237
+ return pulumi.get(self, "on_function")
238
+
239
+ @on_function.setter
240
+ def on_function(self, value: Optional[pulumi.Input[str]]):
241
+ pulumi.set(self, "on_function", value)
242
+
211
243
  @property
212
244
  @pulumi.getter(name="onSchema")
213
245
  def on_schema(self) -> Optional[pulumi.Input[str]]:
@@ -288,6 +320,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
288
320
  opts: Optional[pulumi.ResourceOptions] = None,
289
321
  on_all_tables_in_schema: Optional[pulumi.Input[str]] = None,
290
322
  on_database: Optional[pulumi.Input[str]] = None,
323
+ on_function: Optional[pulumi.Input[str]] = None,
291
324
  on_schema: Optional[pulumi.Input[str]] = None,
292
325
  on_table: Optional[pulumi.Input[str]] = None,
293
326
  on_tag: Optional[pulumi.Input[str]] = None,
@@ -308,6 +341,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
308
341
  :param pulumi.ResourceOptions opts: Options for the resource.
309
342
  :param pulumi.Input[str] on_all_tables_in_schema: The fully qualified identifier for the schema for which the specified privilege will be granted for all tables.
310
343
  :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted.
344
+ :param pulumi.Input[str] on_function: The fully qualified name of the function on which privileges will be granted.
311
345
  :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted.
312
346
  :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted.
313
347
  :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted.
@@ -347,6 +381,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
347
381
  opts: Optional[pulumi.ResourceOptions] = None,
348
382
  on_all_tables_in_schema: Optional[pulumi.Input[str]] = None,
349
383
  on_database: Optional[pulumi.Input[str]] = None,
384
+ on_function: Optional[pulumi.Input[str]] = None,
350
385
  on_schema: Optional[pulumi.Input[str]] = None,
351
386
  on_table: Optional[pulumi.Input[str]] = None,
352
387
  on_tag: Optional[pulumi.Input[str]] = None,
@@ -364,6 +399,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
364
399
 
365
400
  __props__.__dict__["on_all_tables_in_schema"] = on_all_tables_in_schema
366
401
  __props__.__dict__["on_database"] = on_database
402
+ __props__.__dict__["on_function"] = on_function
367
403
  __props__.__dict__["on_schema"] = on_schema
368
404
  __props__.__dict__["on_table"] = on_table
369
405
  __props__.__dict__["on_tag"] = on_tag
@@ -386,6 +422,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
386
422
  opts: Optional[pulumi.ResourceOptions] = None,
387
423
  on_all_tables_in_schema: Optional[pulumi.Input[str]] = None,
388
424
  on_database: Optional[pulumi.Input[str]] = None,
425
+ on_function: Optional[pulumi.Input[str]] = None,
389
426
  on_schema: Optional[pulumi.Input[str]] = None,
390
427
  on_table: Optional[pulumi.Input[str]] = None,
391
428
  on_tag: Optional[pulumi.Input[str]] = None,
@@ -401,6 +438,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
401
438
  :param pulumi.ResourceOptions opts: Options for the resource.
402
439
  :param pulumi.Input[str] on_all_tables_in_schema: The fully qualified identifier for the schema for which the specified privilege will be granted for all tables.
403
440
  :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted.
441
+ :param pulumi.Input[str] on_function: The fully qualified name of the function on which privileges will be granted.
404
442
  :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted.
405
443
  :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted.
406
444
  :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted.
@@ -414,6 +452,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
414
452
 
415
453
  __props__.__dict__["on_all_tables_in_schema"] = on_all_tables_in_schema
416
454
  __props__.__dict__["on_database"] = on_database
455
+ __props__.__dict__["on_function"] = on_function
417
456
  __props__.__dict__["on_schema"] = on_schema
418
457
  __props__.__dict__["on_table"] = on_table
419
458
  __props__.__dict__["on_tag"] = on_tag
@@ -438,6 +477,14 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
438
477
  """
439
478
  return pulumi.get(self, "on_database")
440
479
 
480
+ @property
481
+ @pulumi.getter(name="onFunction")
482
+ def on_function(self) -> pulumi.Output[Optional[str]]:
483
+ """
484
+ The fully qualified name of the function on which privileges will be granted.
485
+ """
486
+ return pulumi.get(self, "on_function")
487
+
441
488
  @property
442
489
  @pulumi.getter(name="onSchema")
443
490
  def on_schema(self) -> pulumi.Output[Optional[str]]:
@@ -105,6 +105,7 @@ class _ManagedAccountState:
105
105
  cloud: Optional[pulumi.Input[str]] = None,
106
106
  comment: Optional[pulumi.Input[str]] = None,
107
107
  created_on: Optional[pulumi.Input[str]] = None,
108
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
108
109
  locator: Optional[pulumi.Input[str]] = None,
109
110
  name: Optional[pulumi.Input[str]] = None,
110
111
  region: Optional[pulumi.Input[str]] = None,
@@ -117,6 +118,7 @@ class _ManagedAccountState:
117
118
  :param pulumi.Input[str] cloud: Cloud in which the managed account is located.
118
119
  :param pulumi.Input[str] comment: Specifies a comment for the managed account.
119
120
  :param pulumi.Input[str] created_on: Date and time when the managed account was created.
121
+ :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).
120
122
  :param pulumi.Input[str] locator: Display name of the managed account.
121
123
  :param pulumi.Input[str] name: Identifier for the managed account; must be unique for your account.
122
124
  :param pulumi.Input[str] region: Snowflake Region in which the managed account is located.
@@ -133,6 +135,8 @@ class _ManagedAccountState:
133
135
  pulumi.set(__self__, "comment", comment)
134
136
  if created_on is not None:
135
137
  pulumi.set(__self__, "created_on", created_on)
138
+ if fully_qualified_name is not None:
139
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
136
140
  if locator is not None:
137
141
  pulumi.set(__self__, "locator", locator)
138
142
  if name is not None:
@@ -204,6 +208,18 @@ class _ManagedAccountState:
204
208
  def created_on(self, value: Optional[pulumi.Input[str]]):
205
209
  pulumi.set(self, "created_on", value)
206
210
 
211
+ @property
212
+ @pulumi.getter(name="fullyQualifiedName")
213
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
214
+ """
215
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
216
+ """
217
+ return pulumi.get(self, "fully_qualified_name")
218
+
219
+ @fully_qualified_name.setter
220
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
221
+ pulumi.set(self, "fully_qualified_name", value)
222
+
207
223
  @property
208
224
  @pulumi.getter
209
225
  def locator(self) -> Optional[pulumi.Input[str]]:
@@ -277,8 +293,6 @@ class ManagedAccount(pulumi.CustomResource):
277
293
  type: Optional[pulumi.Input[str]] = None,
278
294
  __props__=None):
279
295
  """
280
- ## Example Usage
281
-
282
296
  ## Import
283
297
 
284
298
  ```sh
@@ -300,8 +314,6 @@ class ManagedAccount(pulumi.CustomResource):
300
314
  args: ManagedAccountArgs,
301
315
  opts: Optional[pulumi.ResourceOptions] = None):
302
316
  """
303
- ## Example Usage
304
-
305
317
  ## Import
306
318
 
307
319
  ```sh
@@ -348,6 +360,7 @@ class ManagedAccount(pulumi.CustomResource):
348
360
  __props__.__dict__["type"] = type
349
361
  __props__.__dict__["cloud"] = None
350
362
  __props__.__dict__["created_on"] = None
363
+ __props__.__dict__["fully_qualified_name"] = None
351
364
  __props__.__dict__["locator"] = None
352
365
  __props__.__dict__["region"] = None
353
366
  __props__.__dict__["url"] = None
@@ -368,6 +381,7 @@ class ManagedAccount(pulumi.CustomResource):
368
381
  cloud: Optional[pulumi.Input[str]] = None,
369
382
  comment: Optional[pulumi.Input[str]] = None,
370
383
  created_on: Optional[pulumi.Input[str]] = None,
384
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
371
385
  locator: Optional[pulumi.Input[str]] = None,
372
386
  name: Optional[pulumi.Input[str]] = None,
373
387
  region: Optional[pulumi.Input[str]] = None,
@@ -385,6 +399,7 @@ class ManagedAccount(pulumi.CustomResource):
385
399
  :param pulumi.Input[str] cloud: Cloud in which the managed account is located.
386
400
  :param pulumi.Input[str] comment: Specifies a comment for the managed account.
387
401
  :param pulumi.Input[str] created_on: Date and time when the managed account was created.
402
+ :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).
388
403
  :param pulumi.Input[str] locator: Display name of the managed account.
389
404
  :param pulumi.Input[str] name: Identifier for the managed account; must be unique for your account.
390
405
  :param pulumi.Input[str] region: Snowflake Region in which the managed account is located.
@@ -400,6 +415,7 @@ class ManagedAccount(pulumi.CustomResource):
400
415
  __props__.__dict__["cloud"] = cloud
401
416
  __props__.__dict__["comment"] = comment
402
417
  __props__.__dict__["created_on"] = created_on
418
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
403
419
  __props__.__dict__["locator"] = locator
404
420
  __props__.__dict__["name"] = name
405
421
  __props__.__dict__["region"] = region
@@ -447,6 +463,14 @@ class ManagedAccount(pulumi.CustomResource):
447
463
  """
448
464
  return pulumi.get(self, "created_on")
449
465
 
466
+ @property
467
+ @pulumi.getter(name="fullyQualifiedName")
468
+ def fully_qualified_name(self) -> pulumi.Output[str]:
469
+ """
470
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
471
+ """
472
+ return pulumi.get(self, "fully_qualified_name")
473
+
450
474
  @property
451
475
  @pulumi.getter
452
476
  def locator(self) -> pulumi.Output[str]: