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.
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
@@ -173,6 +173,7 @@ class _FailoverGroupState:
173
173
  allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
174
174
  allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
175
175
  from_replica: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']] = None,
176
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
176
177
  ignore_edition_check: Optional[pulumi.Input[bool]] = None,
177
178
  name: Optional[pulumi.Input[str]] = None,
178
179
  object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -184,6 +185,7 @@ class _FailoverGroupState:
184
185
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
185
186
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
186
187
  :param pulumi.Input['FailoverGroupFromReplicaArgs'] from_replica: Specifies the name of the replica to use as the source for the failover group.
188
+ :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).
187
189
  :param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
188
190
  :param pulumi.Input[str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
189
191
  :param pulumi.Input[Sequence[pulumi.Input[str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
@@ -199,6 +201,8 @@ class _FailoverGroupState:
199
201
  pulumi.set(__self__, "allowed_shares", allowed_shares)
200
202
  if from_replica is not None:
201
203
  pulumi.set(__self__, "from_replica", from_replica)
204
+ if fully_qualified_name is not None:
205
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
202
206
  if ignore_edition_check is not None:
203
207
  pulumi.set(__self__, "ignore_edition_check", ignore_edition_check)
204
208
  if name is not None:
@@ -268,6 +272,18 @@ class _FailoverGroupState:
268
272
  def from_replica(self, value: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']]):
269
273
  pulumi.set(self, "from_replica", value)
270
274
 
275
+ @property
276
+ @pulumi.getter(name="fullyQualifiedName")
277
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
278
+ """
279
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
280
+ """
281
+ return pulumi.get(self, "fully_qualified_name")
282
+
283
+ @fully_qualified_name.setter
284
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
285
+ pulumi.set(self, "fully_qualified_name", value)
286
+
271
287
  @property
272
288
  @pulumi.getter(name="ignoreEditionCheck")
273
289
  def ignore_edition_check(self) -> Optional[pulumi.Input[bool]]:
@@ -326,49 +342,13 @@ class FailoverGroup(pulumi.CustomResource):
326
342
  allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
327
343
  allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
328
344
  allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
329
- from_replica: Optional[pulumi.Input[pulumi.InputType['FailoverGroupFromReplicaArgs']]] = None,
345
+ from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
330
346
  ignore_edition_check: Optional[pulumi.Input[bool]] = None,
331
347
  name: Optional[pulumi.Input[str]] = None,
332
348
  object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
333
- replication_schedule: Optional[pulumi.Input[pulumi.InputType['FailoverGroupReplicationScheduleArgs']]] = None,
349
+ replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None,
334
350
  __props__=None):
335
351
  """
336
- ## Example Usage
337
-
338
- ```python
339
- import pulumi
340
- import pulumi_snowflake as snowflake
341
-
342
- db = snowflake.Database("db", name="db1")
343
- source_failover_group = snowflake.FailoverGroup("source_failover_group",
344
- name="FG1",
345
- object_types=[
346
- "WAREHOUSES",
347
- "DATABASES",
348
- "INTEGRATIONS",
349
- "ROLES",
350
- ],
351
- allowed_accounts=[
352
- "<org_name>.<target_account_name1>",
353
- "<org_name>.<target_account_name2>",
354
- ],
355
- allowed_databases=[db.name],
356
- allowed_integration_types=["SECURITY INTEGRATIONS"],
357
- replication_schedule=snowflake.FailoverGroupReplicationScheduleArgs(
358
- cron=snowflake.FailoverGroupReplicationScheduleCronArgs(
359
- expression="0 0 10-20 * TUE,THU",
360
- time_zone="UTC",
361
- ),
362
- ))
363
- target_failover_group = snowflake.FailoverGroup("target_failover_group",
364
- name="FG1",
365
- from_replica=snowflake.FailoverGroupFromReplicaArgs(
366
- organization_name="...",
367
- source_account_name="...",
368
- name=source_failover_group.name,
369
- ))
370
- ```
371
-
372
352
  ## Import
373
353
 
374
354
  ```sh
@@ -381,11 +361,11 @@ class FailoverGroup(pulumi.CustomResource):
381
361
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_databases: Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
382
362
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
383
363
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
384
- :param pulumi.Input[pulumi.InputType['FailoverGroupFromReplicaArgs']] from_replica: Specifies the name of the replica to use as the source for the failover group.
364
+ :param pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']] from_replica: Specifies the name of the replica to use as the source for the failover group.
385
365
  :param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
386
366
  :param pulumi.Input[str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
387
367
  :param pulumi.Input[Sequence[pulumi.Input[str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
388
- :param pulumi.Input[pulumi.InputType['FailoverGroupReplicationScheduleArgs']] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
368
+ :param pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
389
369
  """
390
370
  ...
391
371
  @overload
@@ -394,42 +374,6 @@ class FailoverGroup(pulumi.CustomResource):
394
374
  args: Optional[FailoverGroupArgs] = None,
395
375
  opts: Optional[pulumi.ResourceOptions] = None):
396
376
  """
397
- ## Example Usage
398
-
399
- ```python
400
- import pulumi
401
- import pulumi_snowflake as snowflake
402
-
403
- db = snowflake.Database("db", name="db1")
404
- source_failover_group = snowflake.FailoverGroup("source_failover_group",
405
- name="FG1",
406
- object_types=[
407
- "WAREHOUSES",
408
- "DATABASES",
409
- "INTEGRATIONS",
410
- "ROLES",
411
- ],
412
- allowed_accounts=[
413
- "<org_name>.<target_account_name1>",
414
- "<org_name>.<target_account_name2>",
415
- ],
416
- allowed_databases=[db.name],
417
- allowed_integration_types=["SECURITY INTEGRATIONS"],
418
- replication_schedule=snowflake.FailoverGroupReplicationScheduleArgs(
419
- cron=snowflake.FailoverGroupReplicationScheduleCronArgs(
420
- expression="0 0 10-20 * TUE,THU",
421
- time_zone="UTC",
422
- ),
423
- ))
424
- target_failover_group = snowflake.FailoverGroup("target_failover_group",
425
- name="FG1",
426
- from_replica=snowflake.FailoverGroupFromReplicaArgs(
427
- organization_name="...",
428
- source_account_name="...",
429
- name=source_failover_group.name,
430
- ))
431
- ```
432
-
433
377
  ## Import
434
378
 
435
379
  ```sh
@@ -455,11 +399,11 @@ class FailoverGroup(pulumi.CustomResource):
455
399
  allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
456
400
  allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
457
401
  allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
458
- from_replica: Optional[pulumi.Input[pulumi.InputType['FailoverGroupFromReplicaArgs']]] = None,
402
+ from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
459
403
  ignore_edition_check: Optional[pulumi.Input[bool]] = None,
460
404
  name: Optional[pulumi.Input[str]] = None,
461
405
  object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
462
- replication_schedule: Optional[pulumi.Input[pulumi.InputType['FailoverGroupReplicationScheduleArgs']]] = None,
406
+ replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None,
463
407
  __props__=None):
464
408
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
465
409
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -478,6 +422,7 @@ class FailoverGroup(pulumi.CustomResource):
478
422
  __props__.__dict__["name"] = name
479
423
  __props__.__dict__["object_types"] = object_types
480
424
  __props__.__dict__["replication_schedule"] = replication_schedule
425
+ __props__.__dict__["fully_qualified_name"] = None
481
426
  super(FailoverGroup, __self__).__init__(
482
427
  'snowflake:index/failoverGroup:FailoverGroup',
483
428
  resource_name,
@@ -492,11 +437,12 @@ class FailoverGroup(pulumi.CustomResource):
492
437
  allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
493
438
  allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
494
439
  allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
495
- from_replica: Optional[pulumi.Input[pulumi.InputType['FailoverGroupFromReplicaArgs']]] = None,
440
+ from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
441
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
496
442
  ignore_edition_check: Optional[pulumi.Input[bool]] = None,
497
443
  name: Optional[pulumi.Input[str]] = None,
498
444
  object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
499
- replication_schedule: Optional[pulumi.Input[pulumi.InputType['FailoverGroupReplicationScheduleArgs']]] = None) -> 'FailoverGroup':
445
+ replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None) -> 'FailoverGroup':
500
446
  """
501
447
  Get an existing FailoverGroup resource's state with the given name, id, and optional extra
502
448
  properties used to qualify the lookup.
@@ -508,11 +454,12 @@ class FailoverGroup(pulumi.CustomResource):
508
454
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_databases: Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
509
455
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
510
456
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
511
- :param pulumi.Input[pulumi.InputType['FailoverGroupFromReplicaArgs']] from_replica: Specifies the name of the replica to use as the source for the failover group.
457
+ :param pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']] from_replica: Specifies the name of the replica to use as the source for the failover group.
458
+ :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).
512
459
  :param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
513
460
  :param pulumi.Input[str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
514
461
  :param pulumi.Input[Sequence[pulumi.Input[str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
515
- :param pulumi.Input[pulumi.InputType['FailoverGroupReplicationScheduleArgs']] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
462
+ :param pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
516
463
  """
517
464
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
518
465
 
@@ -523,6 +470,7 @@ class FailoverGroup(pulumi.CustomResource):
523
470
  __props__.__dict__["allowed_integration_types"] = allowed_integration_types
524
471
  __props__.__dict__["allowed_shares"] = allowed_shares
525
472
  __props__.__dict__["from_replica"] = from_replica
473
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
526
474
  __props__.__dict__["ignore_edition_check"] = ignore_edition_check
527
475
  __props__.__dict__["name"] = name
528
476
  __props__.__dict__["object_types"] = object_types
@@ -569,6 +517,14 @@ class FailoverGroup(pulumi.CustomResource):
569
517
  """
570
518
  return pulumi.get(self, "from_replica")
571
519
 
520
+ @property
521
+ @pulumi.getter(name="fullyQualifiedName")
522
+ def fully_qualified_name(self) -> pulumi.Output[str]:
523
+ """
524
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
525
+ """
526
+ return pulumi.get(self, "fully_qualified_name")
527
+
572
528
  @property
573
529
  @pulumi.getter(name="ignoreEditionCheck")
574
530
  def ignore_edition_check(self) -> pulumi.Output[Optional[bool]]:
@@ -614,6 +614,7 @@ class _FileFormatState:
614
614
  field_optionally_enclosed_by: Optional[pulumi.Input[str]] = None,
615
615
  file_extension: Optional[pulumi.Input[str]] = None,
616
616
  format_type: Optional[pulumi.Input[str]] = None,
617
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
617
618
  ignore_utf8_errors: Optional[pulumi.Input[bool]] = None,
618
619
  name: Optional[pulumi.Input[str]] = None,
619
620
  null_ifs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -652,6 +653,7 @@ class _FileFormatState:
652
653
  :param pulumi.Input[str] field_optionally_enclosed_by: Character used to enclose strings.
653
654
  :param pulumi.Input[str] file_extension: Specifies the extension for files unloaded to a stage.
654
655
  :param pulumi.Input[str] format_type: Specifies the format of the input files (for data loading) or output files (for data unloading).
656
+ :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).
655
657
  :param pulumi.Input[bool] ignore_utf8_errors: Boolean that specifies whether UTF-8 encoding errors produce error conditions.
656
658
  :param pulumi.Input[str] name: Specifies the identifier for the file format; must be unique for the database and schema in which the file format is created.
657
659
  :param pulumi.Input[Sequence[pulumi.Input[str]]] null_ifs: String used to convert to and from SQL NULL.
@@ -708,6 +710,8 @@ class _FileFormatState:
708
710
  pulumi.set(__self__, "file_extension", file_extension)
709
711
  if format_type is not None:
710
712
  pulumi.set(__self__, "format_type", format_type)
713
+ if fully_qualified_name is not None:
714
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
711
715
  if ignore_utf8_errors is not None:
712
716
  pulumi.set(__self__, "ignore_utf8_errors", ignore_utf8_errors)
713
717
  if name is not None:
@@ -971,6 +975,18 @@ class _FileFormatState:
971
975
  def format_type(self, value: Optional[pulumi.Input[str]]):
972
976
  pulumi.set(self, "format_type", value)
973
977
 
978
+ @property
979
+ @pulumi.getter(name="fullyQualifiedName")
980
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
981
+ """
982
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
983
+ """
984
+ return pulumi.get(self, "fully_qualified_name")
985
+
986
+ @fully_qualified_name.setter
987
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
988
+ pulumi.set(self, "fully_qualified_name", value)
989
+
974
990
  @property
975
991
  @pulumi.getter(name="ignoreUtf8Errors")
976
992
  def ignore_utf8_errors(self) -> Optional[pulumi.Input[bool]]:
@@ -1219,19 +1235,6 @@ class FileFormat(pulumi.CustomResource):
1219
1235
  trim_space: Optional[pulumi.Input[bool]] = None,
1220
1236
  __props__=None):
1221
1237
  """
1222
- ## Example Usage
1223
-
1224
- ```python
1225
- import pulumi
1226
- import pulumi_snowflake as snowflake
1227
-
1228
- example_file_format = snowflake.FileFormat("example_file_format",
1229
- name="EXAMPLE_FILE_FORMAT",
1230
- database="EXAMPLE_DB",
1231
- schema="EXAMPLE_SCHEMA",
1232
- format_type="CSV")
1233
- ```
1234
-
1235
1238
  ## Import
1236
1239
 
1237
1240
  format is database name | schema name | file format name
@@ -1286,19 +1289,6 @@ class FileFormat(pulumi.CustomResource):
1286
1289
  args: FileFormatArgs,
1287
1290
  opts: Optional[pulumi.ResourceOptions] = None):
1288
1291
  """
1289
- ## Example Usage
1290
-
1291
- ```python
1292
- import pulumi
1293
- import pulumi_snowflake as snowflake
1294
-
1295
- example_file_format = snowflake.FileFormat("example_file_format",
1296
- name="EXAMPLE_FILE_FORMAT",
1297
- database="EXAMPLE_DB",
1298
- schema="EXAMPLE_SCHEMA",
1299
- format_type="CSV")
1300
- ```
1301
-
1302
1292
  ## Import
1303
1293
 
1304
1294
  format is database name | schema name | file format name
@@ -1409,6 +1399,7 @@ class FileFormat(pulumi.CustomResource):
1409
1399
  __props__.__dict__["time_format"] = time_format
1410
1400
  __props__.__dict__["timestamp_format"] = timestamp_format
1411
1401
  __props__.__dict__["trim_space"] = trim_space
1402
+ __props__.__dict__["fully_qualified_name"] = None
1412
1403
  super(FileFormat, __self__).__init__(
1413
1404
  'snowflake:index/fileFormat:FileFormat',
1414
1405
  resource_name,
@@ -1438,6 +1429,7 @@ class FileFormat(pulumi.CustomResource):
1438
1429
  field_optionally_enclosed_by: Optional[pulumi.Input[str]] = None,
1439
1430
  file_extension: Optional[pulumi.Input[str]] = None,
1440
1431
  format_type: Optional[pulumi.Input[str]] = None,
1432
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
1441
1433
  ignore_utf8_errors: Optional[pulumi.Input[bool]] = None,
1442
1434
  name: Optional[pulumi.Input[str]] = None,
1443
1435
  null_ifs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -1481,6 +1473,7 @@ class FileFormat(pulumi.CustomResource):
1481
1473
  :param pulumi.Input[str] field_optionally_enclosed_by: Character used to enclose strings.
1482
1474
  :param pulumi.Input[str] file_extension: Specifies the extension for files unloaded to a stage.
1483
1475
  :param pulumi.Input[str] format_type: Specifies the format of the input files (for data loading) or output files (for data unloading).
1476
+ :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).
1484
1477
  :param pulumi.Input[bool] ignore_utf8_errors: Boolean that specifies whether UTF-8 encoding errors produce error conditions.
1485
1478
  :param pulumi.Input[str] name: Specifies the identifier for the file format; must be unique for the database and schema in which the file format is created.
1486
1479
  :param pulumi.Input[Sequence[pulumi.Input[str]]] null_ifs: String used to convert to and from SQL NULL.
@@ -1522,6 +1515,7 @@ class FileFormat(pulumi.CustomResource):
1522
1515
  __props__.__dict__["field_optionally_enclosed_by"] = field_optionally_enclosed_by
1523
1516
  __props__.__dict__["file_extension"] = file_extension
1524
1517
  __props__.__dict__["format_type"] = format_type
1518
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
1525
1519
  __props__.__dict__["ignore_utf8_errors"] = ignore_utf8_errors
1526
1520
  __props__.__dict__["name"] = name
1527
1521
  __props__.__dict__["null_ifs"] = null_ifs
@@ -1693,6 +1687,14 @@ class FileFormat(pulumi.CustomResource):
1693
1687
  """
1694
1688
  return pulumi.get(self, "format_type")
1695
1689
 
1690
+ @property
1691
+ @pulumi.getter(name="fullyQualifiedName")
1692
+ def fully_qualified_name(self) -> pulumi.Output[str]:
1693
+ """
1694
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
1695
+ """
1696
+ return pulumi.get(self, "fully_qualified_name")
1697
+
1696
1698
  @property
1697
1699
  @pulumi.getter(name="ignoreUtf8Errors")
1698
1700
  def ignore_utf8_errors(self) -> pulumi.Output[Optional[bool]]:
@@ -279,6 +279,7 @@ class _FunctionState:
279
279
  arguments: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionArgumentArgs']]]] = None,
280
280
  comment: Optional[pulumi.Input[str]] = None,
281
281
  database: Optional[pulumi.Input[str]] = None,
282
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
282
283
  handler: Optional[pulumi.Input[str]] = None,
283
284
  imports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
284
285
  is_secure: Optional[pulumi.Input[bool]] = None,
@@ -297,6 +298,7 @@ class _FunctionState:
297
298
  :param pulumi.Input[Sequence[pulumi.Input['FunctionArgumentArgs']]] arguments: List of the arguments for the function
298
299
  :param pulumi.Input[str] comment: Specifies a comment for the function.
299
300
  :param pulumi.Input[str] database: The database in which to create the function. Don't use the | character.
301
+ :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).
300
302
  :param pulumi.Input[str] handler: The handler method for Java / Python function.
301
303
  :param pulumi.Input[Sequence[pulumi.Input[str]]] imports: Imports for Java / Python functions. For Java this a list of jar files, for Python this is a list of Python files.
302
304
  :param pulumi.Input[bool] is_secure: Specifies that the function is secure.
@@ -317,6 +319,8 @@ class _FunctionState:
317
319
  pulumi.set(__self__, "comment", comment)
318
320
  if database is not None:
319
321
  pulumi.set(__self__, "database", database)
322
+ if fully_qualified_name is not None:
323
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
320
324
  if handler is not None:
321
325
  pulumi.set(__self__, "handler", handler)
322
326
  if imports is not None:
@@ -380,6 +384,18 @@ class _FunctionState:
380
384
  def database(self, value: Optional[pulumi.Input[str]]):
381
385
  pulumi.set(self, "database", value)
382
386
 
387
+ @property
388
+ @pulumi.getter(name="fullyQualifiedName")
389
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
390
+ """
391
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
392
+ """
393
+ return pulumi.get(self, "fully_qualified_name")
394
+
395
+ @fully_qualified_name.setter
396
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
397
+ pulumi.set(self, "fully_qualified_name", value)
398
+
383
399
  @property
384
400
  @pulumi.getter
385
401
  def handler(self) -> Optional[pulumi.Input[str]]:
@@ -542,7 +558,7 @@ class Function(pulumi.CustomResource):
542
558
  def __init__(__self__,
543
559
  resource_name: str,
544
560
  opts: Optional[pulumi.ResourceOptions] = None,
545
- arguments: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FunctionArgumentArgs']]]]] = None,
561
+ arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionArgumentArgs', 'FunctionArgumentArgsDict']]]]] = None,
546
562
  comment: Optional[pulumi.Input[str]] = None,
547
563
  database: Optional[pulumi.Input[str]] = None,
548
564
  handler: Optional[pulumi.Input[str]] = None,
@@ -560,8 +576,6 @@ class Function(pulumi.CustomResource):
560
576
  target_path: Optional[pulumi.Input[str]] = None,
561
577
  __props__=None):
562
578
  """
563
- ## Example Usage
564
-
565
579
  ## Import
566
580
 
567
581
  format is <database_name>.<schema_name>.<function_name>(<arg types, separated with ','>)
@@ -572,7 +586,7 @@ class Function(pulumi.CustomResource):
572
586
 
573
587
  :param str resource_name: The name of the resource.
574
588
  :param pulumi.ResourceOptions opts: Options for the resource.
575
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FunctionArgumentArgs']]]] arguments: List of the arguments for the function
589
+ :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionArgumentArgs', 'FunctionArgumentArgsDict']]]] arguments: List of the arguments for the function
576
590
  :param pulumi.Input[str] comment: Specifies a comment for the function.
577
591
  :param pulumi.Input[str] database: The database in which to create the function. Don't use the | character.
578
592
  :param pulumi.Input[str] handler: The handler method for Java / Python function.
@@ -596,8 +610,6 @@ class Function(pulumi.CustomResource):
596
610
  args: FunctionArgs,
597
611
  opts: Optional[pulumi.ResourceOptions] = None):
598
612
  """
599
- ## Example Usage
600
-
601
613
  ## Import
602
614
 
603
615
  format is <database_name>.<schema_name>.<function_name>(<arg types, separated with ','>)
@@ -621,7 +633,7 @@ class Function(pulumi.CustomResource):
621
633
  def _internal_init(__self__,
622
634
  resource_name: str,
623
635
  opts: Optional[pulumi.ResourceOptions] = None,
624
- arguments: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FunctionArgumentArgs']]]]] = None,
636
+ arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionArgumentArgs', 'FunctionArgumentArgsDict']]]]] = None,
625
637
  comment: Optional[pulumi.Input[str]] = None,
626
638
  database: Optional[pulumi.Input[str]] = None,
627
639
  handler: Optional[pulumi.Input[str]] = None,
@@ -670,6 +682,7 @@ class Function(pulumi.CustomResource):
670
682
  raise TypeError("Missing required property 'statement'")
671
683
  __props__.__dict__["statement"] = statement
672
684
  __props__.__dict__["target_path"] = target_path
685
+ __props__.__dict__["fully_qualified_name"] = None
673
686
  super(Function, __self__).__init__(
674
687
  'snowflake:index/function:Function',
675
688
  resource_name,
@@ -680,9 +693,10 @@ class Function(pulumi.CustomResource):
680
693
  def get(resource_name: str,
681
694
  id: pulumi.Input[str],
682
695
  opts: Optional[pulumi.ResourceOptions] = None,
683
- arguments: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FunctionArgumentArgs']]]]] = None,
696
+ arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionArgumentArgs', 'FunctionArgumentArgsDict']]]]] = None,
684
697
  comment: Optional[pulumi.Input[str]] = None,
685
698
  database: Optional[pulumi.Input[str]] = None,
699
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
686
700
  handler: Optional[pulumi.Input[str]] = None,
687
701
  imports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
688
702
  is_secure: Optional[pulumi.Input[bool]] = None,
@@ -703,9 +717,10 @@ class Function(pulumi.CustomResource):
703
717
  :param str resource_name: The unique name of the resulting resource.
704
718
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
705
719
  :param pulumi.ResourceOptions opts: Options for the resource.
706
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FunctionArgumentArgs']]]] arguments: List of the arguments for the function
720
+ :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionArgumentArgs', 'FunctionArgumentArgsDict']]]] arguments: List of the arguments for the function
707
721
  :param pulumi.Input[str] comment: Specifies a comment for the function.
708
722
  :param pulumi.Input[str] database: The database in which to create the function. Don't use the | character.
723
+ :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).
709
724
  :param pulumi.Input[str] handler: The handler method for Java / Python function.
710
725
  :param pulumi.Input[Sequence[pulumi.Input[str]]] imports: Imports for Java / Python functions. For Java this a list of jar files, for Python this is a list of Python files.
711
726
  :param pulumi.Input[bool] is_secure: Specifies that the function is secure.
@@ -727,6 +742,7 @@ class Function(pulumi.CustomResource):
727
742
  __props__.__dict__["arguments"] = arguments
728
743
  __props__.__dict__["comment"] = comment
729
744
  __props__.__dict__["database"] = database
745
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
730
746
  __props__.__dict__["handler"] = handler
731
747
  __props__.__dict__["imports"] = imports
732
748
  __props__.__dict__["is_secure"] = is_secure
@@ -766,6 +782,14 @@ class Function(pulumi.CustomResource):
766
782
  """
767
783
  return pulumi.get(self, "database")
768
784
 
785
+ @property
786
+ @pulumi.getter(name="fullyQualifiedName")
787
+ def fully_qualified_name(self) -> pulumi.Output[str]:
788
+ """
789
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
790
+ """
791
+ return pulumi.get(self, "fully_qualified_name")
792
+
769
793
  @property
770
794
  @pulumi.getter
771
795
  def handler(self) -> pulumi.Output[Optional[str]]:
@@ -106,9 +106,9 @@ class AwaitableGetCortexSearchServicesResult(GetCortexSearchServicesResult):
106
106
  starts_with=self.starts_with)
107
107
 
108
108
 
109
- def get_cortex_search_services(in_: Optional[pulumi.InputType['GetCortexSearchServicesInArgs']] = None,
109
+ def get_cortex_search_services(in_: Optional[Union['GetCortexSearchServicesInArgs', 'GetCortexSearchServicesInArgsDict']] = None,
110
110
  like: Optional[str] = None,
111
- limit: Optional[pulumi.InputType['GetCortexSearchServicesLimitArgs']] = None,
111
+ limit: Optional[Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict']] = None,
112
112
  starts_with: Optional[str] = None,
113
113
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCortexSearchServicesResult:
114
114
  """
@@ -128,17 +128,17 @@ def get_cortex_search_services(in_: Optional[pulumi.InputType['GetCortexSearchSe
128
128
  starts_with = snowflake.get_cortex_search_services(starts_with="prefix-")
129
129
  pulumi.export("startsWithOutput", starts_with.cortex_search_services)
130
130
  # Filtering (limit)
131
- limit = snowflake.get_cortex_search_services(limit=snowflake.GetCortexSearchServicesLimitArgs(
132
- rows=10,
133
- from_="prefix-",
134
- ))
131
+ limit = snowflake.get_cortex_search_services(limit={
132
+ "rows": 10,
133
+ "from_": "prefix-",
134
+ })
135
135
  pulumi.export("limitOutput", limit.cortex_search_services)
136
136
  ```
137
137
 
138
138
 
139
- :param pulumi.InputType['GetCortexSearchServicesInArgs'] in_: IN clause to filter the list of cortex search services.
139
+ :param Union['GetCortexSearchServicesInArgs', 'GetCortexSearchServicesInArgsDict'] in_: IN clause to filter the list of cortex search services.
140
140
  :param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
141
- :param pulumi.InputType['GetCortexSearchServicesLimitArgs'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
141
+ :param Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
142
142
  :param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
143
143
  """
144
144
  __args__ = dict()
@@ -159,9 +159,9 @@ def get_cortex_search_services(in_: Optional[pulumi.InputType['GetCortexSearchSe
159
159
 
160
160
 
161
161
  @_utilities.lift_output_func(get_cortex_search_services)
162
- def get_cortex_search_services_output(in_: Optional[pulumi.Input[Optional[pulumi.InputType['GetCortexSearchServicesInArgs']]]] = None,
162
+ def get_cortex_search_services_output(in_: Optional[pulumi.Input[Optional[Union['GetCortexSearchServicesInArgs', 'GetCortexSearchServicesInArgsDict']]]] = None,
163
163
  like: Optional[pulumi.Input[Optional[str]]] = None,
164
- limit: Optional[pulumi.Input[Optional[pulumi.InputType['GetCortexSearchServicesLimitArgs']]]] = None,
164
+ limit: Optional[pulumi.Input[Optional[Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict']]]] = None,
165
165
  starts_with: Optional[pulumi.Input[Optional[str]]] = None,
166
166
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCortexSearchServicesResult]:
167
167
  """
@@ -181,17 +181,17 @@ def get_cortex_search_services_output(in_: Optional[pulumi.Input[Optional[pulumi
181
181
  starts_with = snowflake.get_cortex_search_services(starts_with="prefix-")
182
182
  pulumi.export("startsWithOutput", starts_with.cortex_search_services)
183
183
  # Filtering (limit)
184
- limit = snowflake.get_cortex_search_services(limit=snowflake.GetCortexSearchServicesLimitArgs(
185
- rows=10,
186
- from_="prefix-",
187
- ))
184
+ limit = snowflake.get_cortex_search_services(limit={
185
+ "rows": 10,
186
+ "from_": "prefix-",
187
+ })
188
188
  pulumi.export("limitOutput", limit.cortex_search_services)
189
189
  ```
190
190
 
191
191
 
192
- :param pulumi.InputType['GetCortexSearchServicesInArgs'] in_: IN clause to filter the list of cortex search services.
192
+ :param Union['GetCortexSearchServicesInArgs', 'GetCortexSearchServicesInArgsDict'] in_: IN clause to filter the list of cortex search services.
193
193
  :param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
194
- :param pulumi.InputType['GetCortexSearchServicesLimitArgs'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
194
+ :param Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
195
195
  :param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
196
196
  """
197
197
  ...