pulumi-snowflake 0.63.0a1734416430__py3-none-any.whl → 1.0.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 (127) hide show
  1. pulumi_snowflake/__init__.py +82 -74
  2. pulumi_snowflake/_inputs.py +12705 -4876
  3. pulumi_snowflake/account.py +156 -163
  4. pulumi_snowflake/account_parameter.py +16 -16
  5. pulumi_snowflake/account_role.py +9 -9
  6. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +9 -22
  7. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +9 -22
  8. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +9 -22
  9. pulumi_snowflake/authentication_policy.py +21 -21
  10. pulumi_snowflake/config/__init__.pyi +8 -86
  11. pulumi_snowflake/config/vars.py +10 -110
  12. pulumi_snowflake/database.py +9 -9
  13. pulumi_snowflake/database_role.py +14 -14
  14. pulumi_snowflake/{unsafe_execute.py → execute.py} +35 -25
  15. pulumi_snowflake/external_oauth_integration.py +27 -27
  16. pulumi_snowflake/external_volume.py +11 -7
  17. pulumi_snowflake/function_java.py +1211 -0
  18. pulumi_snowflake/function_javascript.py +882 -0
  19. pulumi_snowflake/function_python.py +1212 -0
  20. pulumi_snowflake/function_scala.py +1212 -0
  21. pulumi_snowflake/function_sql.py +835 -0
  22. pulumi_snowflake/get_account_roles.py +129 -0
  23. pulumi_snowflake/get_accounts.py +41 -19
  24. pulumi_snowflake/get_alerts.py +4 -0
  25. pulumi_snowflake/get_connections.py +2 -40
  26. pulumi_snowflake/get_cortex_search_services.py +4 -0
  27. pulumi_snowflake/get_current_account.py +4 -0
  28. pulumi_snowflake/get_current_role.py +2 -2
  29. pulumi_snowflake/get_database.py +4 -0
  30. pulumi_snowflake/get_database_role.py +4 -0
  31. pulumi_snowflake/get_database_roles.py +2 -6
  32. pulumi_snowflake/get_databases.py +2 -6
  33. pulumi_snowflake/get_dynamic_tables.py +4 -2
  34. pulumi_snowflake/get_external_functions.py +4 -0
  35. pulumi_snowflake/get_external_tables.py +4 -0
  36. pulumi_snowflake/get_failover_groups.py +4 -2
  37. pulumi_snowflake/get_file_formats.py +4 -0
  38. pulumi_snowflake/get_functions.py +4 -0
  39. pulumi_snowflake/get_grants.py +0 -4
  40. pulumi_snowflake/get_masking_policies.py +2 -6
  41. pulumi_snowflake/get_materialized_views.py +4 -0
  42. pulumi_snowflake/get_network_policies.py +2 -6
  43. pulumi_snowflake/get_parameters.py +4 -0
  44. pulumi_snowflake/get_pipes.py +4 -0
  45. pulumi_snowflake/get_procedures.py +4 -0
  46. pulumi_snowflake/get_resource_monitors.py +2 -6
  47. pulumi_snowflake/get_row_access_policies.py +2 -6
  48. pulumi_snowflake/get_schemas.py +6 -4
  49. pulumi_snowflake/get_secrets.py +2 -6
  50. pulumi_snowflake/get_security_integrations.py +2 -6
  51. pulumi_snowflake/get_sequences.py +4 -0
  52. pulumi_snowflake/get_shares.py +4 -0
  53. pulumi_snowflake/get_stages.py +4 -0
  54. pulumi_snowflake/get_storage_integrations.py +4 -0
  55. pulumi_snowflake/get_streamlits.py +2 -6
  56. pulumi_snowflake/get_streams.py +2 -6
  57. pulumi_snowflake/get_system_generate_scim_access_token.py +4 -0
  58. pulumi_snowflake/get_system_get_private_link_config.py +4 -0
  59. pulumi_snowflake/get_system_get_snowflake_platform_info.py +2 -2
  60. pulumi_snowflake/get_tables.py +4 -0
  61. pulumi_snowflake/get_tags.py +2 -6
  62. pulumi_snowflake/get_tasks.py +0 -4
  63. pulumi_snowflake/get_users.py +2 -6
  64. pulumi_snowflake/get_views.py +2 -6
  65. pulumi_snowflake/get_warehouses.py +2 -6
  66. pulumi_snowflake/grant_account_role.py +21 -21
  67. pulumi_snowflake/grant_application_role.py +7 -7
  68. pulumi_snowflake/grant_database_role.py +28 -28
  69. pulumi_snowflake/grant_ownership.py +14 -14
  70. pulumi_snowflake/grant_privileges_to_account_role.py +14 -14
  71. pulumi_snowflake/grant_privileges_to_database_role.py +14 -14
  72. pulumi_snowflake/grant_privileges_to_share.py +42 -42
  73. pulumi_snowflake/legacy_service_user.py +21 -21
  74. pulumi_snowflake/masking_policy.py +21 -21
  75. pulumi_snowflake/network_policy.py +23 -23
  76. pulumi_snowflake/oauth_integration_for_custom_clients.py +73 -46
  77. pulumi_snowflake/oauth_integration_for_partner_applications.py +57 -30
  78. pulumi_snowflake/outputs.py +10029 -4056
  79. pulumi_snowflake/password_policy.py +12 -2
  80. pulumi_snowflake/primary_connection.py +16 -16
  81. pulumi_snowflake/procedure_java.py +1273 -0
  82. pulumi_snowflake/procedure_javascript.py +895 -0
  83. pulumi_snowflake/procedure_python.py +1226 -0
  84. pulumi_snowflake/procedure_scala.py +1273 -0
  85. pulumi_snowflake/procedure_sql.py +895 -0
  86. pulumi_snowflake/provider.py +40 -527
  87. pulumi_snowflake/pulumi-plugin.json +1 -1
  88. pulumi_snowflake/resource_monitor.py +16 -20
  89. pulumi_snowflake/row_access_policy.py +21 -21
  90. pulumi_snowflake/saml2_integration.py +9 -9
  91. pulumi_snowflake/schema.py +14 -18
  92. pulumi_snowflake/scim_integration.py +16 -16
  93. pulumi_snowflake/secondary_connection.py +16 -16
  94. pulumi_snowflake/secondary_database.py +16 -16
  95. pulumi_snowflake/secret_with_authorization_code_grant.py +28 -28
  96. pulumi_snowflake/secret_with_basic_authentication.py +21 -21
  97. pulumi_snowflake/secret_with_client_credentials.py +28 -28
  98. pulumi_snowflake/secret_with_generic_string.py +21 -21
  99. pulumi_snowflake/service_user.py +21 -21
  100. pulumi_snowflake/shared_database.py +16 -16
  101. pulumi_snowflake/stream_on_directory_table.py +28 -41
  102. pulumi_snowflake/stream_on_external_table.py +28 -41
  103. pulumi_snowflake/stream_on_table.py +28 -41
  104. pulumi_snowflake/stream_on_view.py +28 -41
  105. pulumi_snowflake/streamlit.py +42 -46
  106. pulumi_snowflake/tag.py +28 -28
  107. pulumi_snowflake/tag_association.py +28 -86
  108. pulumi_snowflake/task.py +58 -62
  109. pulumi_snowflake/user.py +21 -21
  110. pulumi_snowflake/view.py +28 -41
  111. pulumi_snowflake/warehouse.py +16 -16
  112. {pulumi_snowflake-0.63.0a1734416430.dist-info → pulumi_snowflake-1.0.0.dist-info}/METADATA +1 -1
  113. pulumi_snowflake-1.0.0.dist-info/RECORD +148 -0
  114. pulumi_snowflake/database_old.py +0 -489
  115. pulumi_snowflake/function.py +0 -901
  116. pulumi_snowflake/get_role.py +0 -126
  117. pulumi_snowflake/get_roles.py +0 -133
  118. pulumi_snowflake/oauth_integration.py +0 -610
  119. pulumi_snowflake/procedure.py +0 -910
  120. pulumi_snowflake/role.py +0 -250
  121. pulumi_snowflake/saml_integration.py +0 -916
  122. pulumi_snowflake/session_parameter.py +0 -301
  123. pulumi_snowflake/stream.py +0 -643
  124. pulumi_snowflake/tag_masking_policy_association.py +0 -211
  125. pulumi_snowflake-0.63.0a1734416430.dist-info/RECORD +0 -148
  126. {pulumi_snowflake-0.63.0a1734416430.dist-info → pulumi_snowflake-1.0.0.dist-info}/WHEEL +0 -0
  127. {pulumi_snowflake-0.63.0a1734416430.dist-info → pulumi_snowflake-1.0.0.dist-info}/top_level.txt +0 -0
pulumi_snowflake/tag.py CHANGED
@@ -29,12 +29,12 @@ class TagArgs:
29
29
  name: Optional[pulumi.Input[str]] = None):
30
30
  """
31
31
  The set of arguments for constructing a Tag resource.
32
- :param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
33
- :param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
32
+ :param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
33
+ :param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
34
34
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: Set of allowed values for the tag.
35
35
  :param pulumi.Input[str] comment: Specifies a comment for the tag.
36
- :param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
37
- :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
36
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them. For more information about this resource, see docs.
37
+ :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
38
38
  """
39
39
  pulumi.set(__self__, "database", database)
40
40
  pulumi.set(__self__, "schema", schema)
@@ -51,7 +51,7 @@ class TagArgs:
51
51
  @pulumi.getter
52
52
  def database(self) -> pulumi.Input[str]:
53
53
  """
54
- The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
54
+ The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
55
55
  """
56
56
  return pulumi.get(self, "database")
57
57
 
@@ -63,7 +63,7 @@ class TagArgs:
63
63
  @pulumi.getter
64
64
  def schema(self) -> pulumi.Input[str]:
65
65
  """
66
- The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
66
+ The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
67
67
  """
68
68
  return pulumi.get(self, "schema")
69
69
 
@@ -99,7 +99,7 @@ class TagArgs:
99
99
  @pulumi.getter(name="maskingPolicies")
100
100
  def masking_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
101
101
  """
102
- Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
102
+ Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them. For more information about this resource, see docs.
103
103
  """
104
104
  return pulumi.get(self, "masking_policies")
105
105
 
@@ -111,7 +111,7 @@ class TagArgs:
111
111
  @pulumi.getter
112
112
  def name(self) -> Optional[pulumi.Input[str]]:
113
113
  """
114
- Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
114
+ Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
115
115
  """
116
116
  return pulumi.get(self, "name")
117
117
 
@@ -135,11 +135,11 @@ class _TagState:
135
135
  Input properties used for looking up and filtering Tag resources.
136
136
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: Set of allowed values for the tag.
137
137
  :param pulumi.Input[str] comment: Specifies a comment for the tag.
138
- :param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
138
+ :param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
139
139
  :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).
140
- :param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
141
- :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
142
- :param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
140
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them. For more information about this resource, see docs.
141
+ :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
142
+ :param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
143
143
  :param pulumi.Input[Sequence[pulumi.Input['TagShowOutputArgs']]] show_outputs: Outputs the result of `SHOW TAGS` for the given tag.
144
144
  """
145
145
  if allowed_values is not None:
@@ -187,7 +187,7 @@ class _TagState:
187
187
  @pulumi.getter
188
188
  def database(self) -> Optional[pulumi.Input[str]]:
189
189
  """
190
- The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
190
+ The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
191
191
  """
192
192
  return pulumi.get(self, "database")
193
193
 
@@ -211,7 +211,7 @@ class _TagState:
211
211
  @pulumi.getter(name="maskingPolicies")
212
212
  def masking_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
213
213
  """
214
- Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
214
+ Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them. For more information about this resource, see docs.
215
215
  """
216
216
  return pulumi.get(self, "masking_policies")
217
217
 
@@ -223,7 +223,7 @@ class _TagState:
223
223
  @pulumi.getter
224
224
  def name(self) -> Optional[pulumi.Input[str]]:
225
225
  """
226
- Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
226
+ Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
227
227
  """
228
228
  return pulumi.get(self, "name")
229
229
 
@@ -235,7 +235,7 @@ class _TagState:
235
235
  @pulumi.getter
236
236
  def schema(self) -> Optional[pulumi.Input[str]]:
237
237
  """
238
- The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
238
+ The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
239
239
  """
240
240
  return pulumi.get(self, "schema")
241
241
 
@@ -279,10 +279,10 @@ class Tag(pulumi.CustomResource):
279
279
  :param pulumi.ResourceOptions opts: Options for the resource.
280
280
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: Set of allowed values for the tag.
281
281
  :param pulumi.Input[str] comment: Specifies a comment for the tag.
282
- :param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
283
- :param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
284
- :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
285
- :param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
282
+ :param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
283
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them. For more information about this resource, see docs.
284
+ :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
285
+ :param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
286
286
  """
287
287
  ...
288
288
  @overload
@@ -366,11 +366,11 @@ class Tag(pulumi.CustomResource):
366
366
  :param pulumi.ResourceOptions opts: Options for the resource.
367
367
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: Set of allowed values for the tag.
368
368
  :param pulumi.Input[str] comment: Specifies a comment for the tag.
369
- :param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
369
+ :param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
370
370
  :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).
371
- :param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
372
- :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
373
- :param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
371
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them. For more information about this resource, see docs.
372
+ :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
373
+ :param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
374
374
  :param pulumi.Input[Sequence[pulumi.Input[Union['TagShowOutputArgs', 'TagShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW TAGS` for the given tag.
375
375
  """
376
376
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -407,7 +407,7 @@ class Tag(pulumi.CustomResource):
407
407
  @pulumi.getter
408
408
  def database(self) -> pulumi.Output[str]:
409
409
  """
410
- The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
410
+ The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
411
411
  """
412
412
  return pulumi.get(self, "database")
413
413
 
@@ -423,7 +423,7 @@ class Tag(pulumi.CustomResource):
423
423
  @pulumi.getter(name="maskingPolicies")
424
424
  def masking_policies(self) -> pulumi.Output[Optional[Sequence[str]]]:
425
425
  """
426
- Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
426
+ Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them. For more information about this resource, see docs.
427
427
  """
428
428
  return pulumi.get(self, "masking_policies")
429
429
 
@@ -431,7 +431,7 @@ class Tag(pulumi.CustomResource):
431
431
  @pulumi.getter
432
432
  def name(self) -> pulumi.Output[str]:
433
433
  """
434
- Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
434
+ Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
435
435
  """
436
436
  return pulumi.get(self, "name")
437
437
 
@@ -439,7 +439,7 @@ class Tag(pulumi.CustomResource):
439
439
  @pulumi.getter
440
440
  def schema(self) -> pulumi.Output[str]:
441
441
  """
442
- The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
442
+ The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
443
443
  """
444
444
  return pulumi.get(self, "schema")
445
445
 
@@ -13,51 +13,42 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from . import _utilities
16
- from . import outputs
17
- from ._inputs import *
18
16
 
19
17
  __all__ = ['TagAssociationArgs', 'TagAssociation']
20
18
 
21
19
  @pulumi.input_type
22
20
  class TagAssociationArgs:
23
21
  def __init__(__self__, *,
24
- object_identifiers: pulumi.Input[Sequence[pulumi.Input['TagAssociationObjectIdentifierArgs']]],
22
+ object_identifiers: pulumi.Input[Sequence[pulumi.Input[str]]],
25
23
  object_type: pulumi.Input[str],
26
24
  tag_id: pulumi.Input[str],
27
25
  tag_value: pulumi.Input[str],
28
- object_name: Optional[pulumi.Input[str]] = None,
29
26
  skip_validation: Optional[pulumi.Input[bool]] = None):
30
27
  """
31
28
  The set of arguments for constructing a TagAssociation resource.
32
- :param pulumi.Input[Sequence[pulumi.Input['TagAssociationObjectIdentifierArgs']]] object_identifiers: Specifies the object identifier for the tag association.
29
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] object_identifiers: Specifies the object identifiers for the tag association.
33
30
  :param pulumi.Input[str] object_type: Specifies the type of object to add a tag. Allowed object types: [ACCOUNT APPLICATION APPLICATION PACKAGE DATABASE FAILOVER GROUP INTEGRATION NETWORK POLICY REPLICATION GROUP ROLE SHARE USER WAREHOUSE DATABASE ROLE SCHEMA ALERT SNOWFLAKE.CORE.BUDGET SNOWFLAKE.ML.CLASSIFICATION EXTERNAL FUNCTION EXTERNAL TABLE FUNCTION GIT REPOSITORY ICEBERG TABLE MATERIALIZED VIEW PIPE MASKING POLICY PASSWORD POLICY ROW ACCESS POLICY SESSION POLICY PRIVACY POLICY PROCEDURE STAGE STREAM TABLE TASK VIEW COLUMN EVENT TABLE].
34
- :param pulumi.Input[str] tag_id: Specifies the identifier for the tag. Note: format must follow: "databaseName"."schemaName"."tagName" or "databaseName.schemaName.tagName" or "databaseName|schemaName.tagName" (snowflake_tag.tag.id)
31
+ :param pulumi.Input[str] tag_id: Specifies the identifier for the tag.
35
32
  :param pulumi.Input[str] tag_value: Specifies the value of the tag, (e.g. 'finance' or 'engineering')
36
- :param pulumi.Input[str] object_name: Specifies the object identifier for the tag association.
37
33
  :param pulumi.Input[bool] skip_validation: If true, skips validation of the tag association.
38
34
  """
39
35
  pulumi.set(__self__, "object_identifiers", object_identifiers)
40
36
  pulumi.set(__self__, "object_type", object_type)
41
37
  pulumi.set(__self__, "tag_id", tag_id)
42
38
  pulumi.set(__self__, "tag_value", tag_value)
43
- if object_name is not None:
44
- warnings.warn("""Use `object_identifier` instead""", DeprecationWarning)
45
- pulumi.log.warn("""object_name is deprecated: Use `object_identifier` instead""")
46
- if object_name is not None:
47
- pulumi.set(__self__, "object_name", object_name)
48
39
  if skip_validation is not None:
49
40
  pulumi.set(__self__, "skip_validation", skip_validation)
50
41
 
51
42
  @property
52
43
  @pulumi.getter(name="objectIdentifiers")
53
- def object_identifiers(self) -> pulumi.Input[Sequence[pulumi.Input['TagAssociationObjectIdentifierArgs']]]:
44
+ def object_identifiers(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
54
45
  """
55
- Specifies the object identifier for the tag association.
46
+ Specifies the object identifiers for the tag association.
56
47
  """
57
48
  return pulumi.get(self, "object_identifiers")
58
49
 
59
50
  @object_identifiers.setter
60
- def object_identifiers(self, value: pulumi.Input[Sequence[pulumi.Input['TagAssociationObjectIdentifierArgs']]]):
51
+ def object_identifiers(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
61
52
  pulumi.set(self, "object_identifiers", value)
62
53
 
63
54
  @property
@@ -76,7 +67,7 @@ class TagAssociationArgs:
76
67
  @pulumi.getter(name="tagId")
77
68
  def tag_id(self) -> pulumi.Input[str]:
78
69
  """
79
- Specifies the identifier for the tag. Note: format must follow: "databaseName"."schemaName"."tagName" or "databaseName.schemaName.tagName" or "databaseName|schemaName.tagName" (snowflake_tag.tag.id)
70
+ Specifies the identifier for the tag.
80
71
  """
81
72
  return pulumi.get(self, "tag_id")
82
73
 
@@ -96,19 +87,6 @@ class TagAssociationArgs:
96
87
  def tag_value(self, value: pulumi.Input[str]):
97
88
  pulumi.set(self, "tag_value", value)
98
89
 
99
- @property
100
- @pulumi.getter(name="objectName")
101
- @_utilities.deprecated("""Use `object_identifier` instead""")
102
- def object_name(self) -> Optional[pulumi.Input[str]]:
103
- """
104
- Specifies the object identifier for the tag association.
105
- """
106
- return pulumi.get(self, "object_name")
107
-
108
- @object_name.setter
109
- def object_name(self, value: Optional[pulumi.Input[str]]):
110
- pulumi.set(self, "object_name", value)
111
-
112
90
  @property
113
91
  @pulumi.getter(name="skipValidation")
114
92
  def skip_validation(self) -> Optional[pulumi.Input[bool]]:
@@ -125,28 +103,21 @@ class TagAssociationArgs:
125
103
  @pulumi.input_type
126
104
  class _TagAssociationState:
127
105
  def __init__(__self__, *,
128
- object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input['TagAssociationObjectIdentifierArgs']]]] = None,
129
- object_name: Optional[pulumi.Input[str]] = None,
106
+ object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
130
107
  object_type: Optional[pulumi.Input[str]] = None,
131
108
  skip_validation: Optional[pulumi.Input[bool]] = None,
132
109
  tag_id: Optional[pulumi.Input[str]] = None,
133
110
  tag_value: Optional[pulumi.Input[str]] = None):
134
111
  """
135
112
  Input properties used for looking up and filtering TagAssociation resources.
136
- :param pulumi.Input[Sequence[pulumi.Input['TagAssociationObjectIdentifierArgs']]] object_identifiers: Specifies the object identifier for the tag association.
137
- :param pulumi.Input[str] object_name: Specifies the object identifier for the tag association.
113
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] object_identifiers: Specifies the object identifiers for the tag association.
138
114
  :param pulumi.Input[str] object_type: Specifies the type of object to add a tag. Allowed object types: [ACCOUNT APPLICATION APPLICATION PACKAGE DATABASE FAILOVER GROUP INTEGRATION NETWORK POLICY REPLICATION GROUP ROLE SHARE USER WAREHOUSE DATABASE ROLE SCHEMA ALERT SNOWFLAKE.CORE.BUDGET SNOWFLAKE.ML.CLASSIFICATION EXTERNAL FUNCTION EXTERNAL TABLE FUNCTION GIT REPOSITORY ICEBERG TABLE MATERIALIZED VIEW PIPE MASKING POLICY PASSWORD POLICY ROW ACCESS POLICY SESSION POLICY PRIVACY POLICY PROCEDURE STAGE STREAM TABLE TASK VIEW COLUMN EVENT TABLE].
139
115
  :param pulumi.Input[bool] skip_validation: If true, skips validation of the tag association.
140
- :param pulumi.Input[str] tag_id: Specifies the identifier for the tag. Note: format must follow: "databaseName"."schemaName"."tagName" or "databaseName.schemaName.tagName" or "databaseName|schemaName.tagName" (snowflake_tag.tag.id)
116
+ :param pulumi.Input[str] tag_id: Specifies the identifier for the tag.
141
117
  :param pulumi.Input[str] tag_value: Specifies the value of the tag, (e.g. 'finance' or 'engineering')
142
118
  """
143
119
  if object_identifiers is not None:
144
120
  pulumi.set(__self__, "object_identifiers", object_identifiers)
145
- if object_name is not None:
146
- warnings.warn("""Use `object_identifier` instead""", DeprecationWarning)
147
- pulumi.log.warn("""object_name is deprecated: Use `object_identifier` instead""")
148
- if object_name is not None:
149
- pulumi.set(__self__, "object_name", object_name)
150
121
  if object_type is not None:
151
122
  pulumi.set(__self__, "object_type", object_type)
152
123
  if skip_validation is not None:
@@ -158,29 +129,16 @@ class _TagAssociationState:
158
129
 
159
130
  @property
160
131
  @pulumi.getter(name="objectIdentifiers")
161
- def object_identifiers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TagAssociationObjectIdentifierArgs']]]]:
132
+ def object_identifiers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
162
133
  """
163
- Specifies the object identifier for the tag association.
134
+ Specifies the object identifiers for the tag association.
164
135
  """
165
136
  return pulumi.get(self, "object_identifiers")
166
137
 
167
138
  @object_identifiers.setter
168
- def object_identifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TagAssociationObjectIdentifierArgs']]]]):
139
+ def object_identifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
169
140
  pulumi.set(self, "object_identifiers", value)
170
141
 
171
- @property
172
- @pulumi.getter(name="objectName")
173
- @_utilities.deprecated("""Use `object_identifier` instead""")
174
- def object_name(self) -> Optional[pulumi.Input[str]]:
175
- """
176
- Specifies the object identifier for the tag association.
177
- """
178
- return pulumi.get(self, "object_name")
179
-
180
- @object_name.setter
181
- def object_name(self, value: Optional[pulumi.Input[str]]):
182
- pulumi.set(self, "object_name", value)
183
-
184
142
  @property
185
143
  @pulumi.getter(name="objectType")
186
144
  def object_type(self) -> Optional[pulumi.Input[str]]:
@@ -209,7 +167,7 @@ class _TagAssociationState:
209
167
  @pulumi.getter(name="tagId")
210
168
  def tag_id(self) -> Optional[pulumi.Input[str]]:
211
169
  """
212
- Specifies the identifier for the tag. Note: format must follow: "databaseName"."schemaName"."tagName" or "databaseName.schemaName.tagName" or "databaseName|schemaName.tagName" (snowflake_tag.tag.id)
170
+ Specifies the identifier for the tag.
213
171
  """
214
172
  return pulumi.get(self, "tag_id")
215
173
 
@@ -235,8 +193,7 @@ class TagAssociation(pulumi.CustomResource):
235
193
  def __init__(__self__,
236
194
  resource_name: str,
237
195
  opts: Optional[pulumi.ResourceOptions] = None,
238
- object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagAssociationObjectIdentifierArgs', 'TagAssociationObjectIdentifierArgsDict']]]]] = None,
239
- object_name: Optional[pulumi.Input[str]] = None,
196
+ object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
240
197
  object_type: Optional[pulumi.Input[str]] = None,
241
198
  skip_validation: Optional[pulumi.Input[bool]] = None,
242
199
  tag_id: Optional[pulumi.Input[str]] = None,
@@ -245,19 +202,18 @@ class TagAssociation(pulumi.CustomResource):
245
202
  """
246
203
  ## Import
247
204
 
248
- format is dbName.schemaName.tagName or dbName.schemaName.tagName
205
+ ~> **Note** Due to technical limitations of Terraform SDK, `object_identifiers` are not set during import state. Please run `terraform refresh` after importing to get this field populated.
249
206
 
250
207
  ```sh
251
- $ pulumi import snowflake:index/tagAssociation:TagAssociation example 'dbName.schemaName.tagName'
208
+ $ pulumi import snowflake:index/tagAssociation:TagAssociation example '"TAG_DATABASE"."TAG_SCHEMA"."TAG_NAME"|TAG_VALUE|OBJECT_TYPE'
252
209
  ```
253
210
 
254
211
  :param str resource_name: The name of the resource.
255
212
  :param pulumi.ResourceOptions opts: Options for the resource.
256
- :param pulumi.Input[Sequence[pulumi.Input[Union['TagAssociationObjectIdentifierArgs', 'TagAssociationObjectIdentifierArgsDict']]]] object_identifiers: Specifies the object identifier for the tag association.
257
- :param pulumi.Input[str] object_name: Specifies the object identifier for the tag association.
213
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] object_identifiers: Specifies the object identifiers for the tag association.
258
214
  :param pulumi.Input[str] object_type: Specifies the type of object to add a tag. Allowed object types: [ACCOUNT APPLICATION APPLICATION PACKAGE DATABASE FAILOVER GROUP INTEGRATION NETWORK POLICY REPLICATION GROUP ROLE SHARE USER WAREHOUSE DATABASE ROLE SCHEMA ALERT SNOWFLAKE.CORE.BUDGET SNOWFLAKE.ML.CLASSIFICATION EXTERNAL FUNCTION EXTERNAL TABLE FUNCTION GIT REPOSITORY ICEBERG TABLE MATERIALIZED VIEW PIPE MASKING POLICY PASSWORD POLICY ROW ACCESS POLICY SESSION POLICY PRIVACY POLICY PROCEDURE STAGE STREAM TABLE TASK VIEW COLUMN EVENT TABLE].
259
215
  :param pulumi.Input[bool] skip_validation: If true, skips validation of the tag association.
260
- :param pulumi.Input[str] tag_id: Specifies the identifier for the tag. Note: format must follow: "databaseName"."schemaName"."tagName" or "databaseName.schemaName.tagName" or "databaseName|schemaName.tagName" (snowflake_tag.tag.id)
216
+ :param pulumi.Input[str] tag_id: Specifies the identifier for the tag.
261
217
  :param pulumi.Input[str] tag_value: Specifies the value of the tag, (e.g. 'finance' or 'engineering')
262
218
  """
263
219
  ...
@@ -269,10 +225,10 @@ class TagAssociation(pulumi.CustomResource):
269
225
  """
270
226
  ## Import
271
227
 
272
- format is dbName.schemaName.tagName or dbName.schemaName.tagName
228
+ ~> **Note** Due to technical limitations of Terraform SDK, `object_identifiers` are not set during import state. Please run `terraform refresh` after importing to get this field populated.
273
229
 
274
230
  ```sh
275
- $ pulumi import snowflake:index/tagAssociation:TagAssociation example 'dbName.schemaName.tagName'
231
+ $ pulumi import snowflake:index/tagAssociation:TagAssociation example '"TAG_DATABASE"."TAG_SCHEMA"."TAG_NAME"|TAG_VALUE|OBJECT_TYPE'
276
232
  ```
277
233
 
278
234
  :param str resource_name: The name of the resource.
@@ -290,8 +246,7 @@ class TagAssociation(pulumi.CustomResource):
290
246
  def _internal_init(__self__,
291
247
  resource_name: str,
292
248
  opts: Optional[pulumi.ResourceOptions] = None,
293
- object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagAssociationObjectIdentifierArgs', 'TagAssociationObjectIdentifierArgsDict']]]]] = None,
294
- object_name: Optional[pulumi.Input[str]] = None,
249
+ object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
295
250
  object_type: Optional[pulumi.Input[str]] = None,
296
251
  skip_validation: Optional[pulumi.Input[bool]] = None,
297
252
  tag_id: Optional[pulumi.Input[str]] = None,
@@ -308,7 +263,6 @@ class TagAssociation(pulumi.CustomResource):
308
263
  if object_identifiers is None and not opts.urn:
309
264
  raise TypeError("Missing required property 'object_identifiers'")
310
265
  __props__.__dict__["object_identifiers"] = object_identifiers
311
- __props__.__dict__["object_name"] = object_name
312
266
  if object_type is None and not opts.urn:
313
267
  raise TypeError("Missing required property 'object_type'")
314
268
  __props__.__dict__["object_type"] = object_type
@@ -329,8 +283,7 @@ class TagAssociation(pulumi.CustomResource):
329
283
  def get(resource_name: str,
330
284
  id: pulumi.Input[str],
331
285
  opts: Optional[pulumi.ResourceOptions] = None,
332
- object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagAssociationObjectIdentifierArgs', 'TagAssociationObjectIdentifierArgsDict']]]]] = None,
333
- object_name: Optional[pulumi.Input[str]] = None,
286
+ object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
334
287
  object_type: Optional[pulumi.Input[str]] = None,
335
288
  skip_validation: Optional[pulumi.Input[bool]] = None,
336
289
  tag_id: Optional[pulumi.Input[str]] = None,
@@ -342,11 +295,10 @@ class TagAssociation(pulumi.CustomResource):
342
295
  :param str resource_name: The unique name of the resulting resource.
343
296
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
344
297
  :param pulumi.ResourceOptions opts: Options for the resource.
345
- :param pulumi.Input[Sequence[pulumi.Input[Union['TagAssociationObjectIdentifierArgs', 'TagAssociationObjectIdentifierArgsDict']]]] object_identifiers: Specifies the object identifier for the tag association.
346
- :param pulumi.Input[str] object_name: Specifies the object identifier for the tag association.
298
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] object_identifiers: Specifies the object identifiers for the tag association.
347
299
  :param pulumi.Input[str] object_type: Specifies the type of object to add a tag. Allowed object types: [ACCOUNT APPLICATION APPLICATION PACKAGE DATABASE FAILOVER GROUP INTEGRATION NETWORK POLICY REPLICATION GROUP ROLE SHARE USER WAREHOUSE DATABASE ROLE SCHEMA ALERT SNOWFLAKE.CORE.BUDGET SNOWFLAKE.ML.CLASSIFICATION EXTERNAL FUNCTION EXTERNAL TABLE FUNCTION GIT REPOSITORY ICEBERG TABLE MATERIALIZED VIEW PIPE MASKING POLICY PASSWORD POLICY ROW ACCESS POLICY SESSION POLICY PRIVACY POLICY PROCEDURE STAGE STREAM TABLE TASK VIEW COLUMN EVENT TABLE].
348
300
  :param pulumi.Input[bool] skip_validation: If true, skips validation of the tag association.
349
- :param pulumi.Input[str] tag_id: Specifies the identifier for the tag. Note: format must follow: "databaseName"."schemaName"."tagName" or "databaseName.schemaName.tagName" or "databaseName|schemaName.tagName" (snowflake_tag.tag.id)
301
+ :param pulumi.Input[str] tag_id: Specifies the identifier for the tag.
350
302
  :param pulumi.Input[str] tag_value: Specifies the value of the tag, (e.g. 'finance' or 'engineering')
351
303
  """
352
304
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -354,7 +306,6 @@ class TagAssociation(pulumi.CustomResource):
354
306
  __props__ = _TagAssociationState.__new__(_TagAssociationState)
355
307
 
356
308
  __props__.__dict__["object_identifiers"] = object_identifiers
357
- __props__.__dict__["object_name"] = object_name
358
309
  __props__.__dict__["object_type"] = object_type
359
310
  __props__.__dict__["skip_validation"] = skip_validation
360
311
  __props__.__dict__["tag_id"] = tag_id
@@ -363,21 +314,12 @@ class TagAssociation(pulumi.CustomResource):
363
314
 
364
315
  @property
365
316
  @pulumi.getter(name="objectIdentifiers")
366
- def object_identifiers(self) -> pulumi.Output[Sequence['outputs.TagAssociationObjectIdentifier']]:
317
+ def object_identifiers(self) -> pulumi.Output[Sequence[str]]:
367
318
  """
368
- Specifies the object identifier for the tag association.
319
+ Specifies the object identifiers for the tag association.
369
320
  """
370
321
  return pulumi.get(self, "object_identifiers")
371
322
 
372
- @property
373
- @pulumi.getter(name="objectName")
374
- @_utilities.deprecated("""Use `object_identifier` instead""")
375
- def object_name(self) -> pulumi.Output[Optional[str]]:
376
- """
377
- Specifies the object identifier for the tag association.
378
- """
379
- return pulumi.get(self, "object_name")
380
-
381
323
  @property
382
324
  @pulumi.getter(name="objectType")
383
325
  def object_type(self) -> pulumi.Output[str]:
@@ -398,7 +340,7 @@ class TagAssociation(pulumi.CustomResource):
398
340
  @pulumi.getter(name="tagId")
399
341
  def tag_id(self) -> pulumi.Output[str]:
400
342
  """
401
- Specifies the identifier for the tag. Note: format must follow: "databaseName"."schemaName"."tagName" or "databaseName.schemaName.tagName" or "databaseName|schemaName.tagName" (snowflake_tag.tag.id)
343
+ Specifies the identifier for the tag.
402
344
  """
403
345
  return pulumi.get(self, "tag_id")
404
346