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.
- pulumi_snowflake/_inputs.py +5859 -127
- pulumi_snowflake/account.py +28 -50
- pulumi_snowflake/account_parameter.py +0 -28
- pulumi_snowflake/account_password_policy_attachment.py +2 -30
- pulumi_snowflake/account_role.py +51 -32
- pulumi_snowflake/alert.py +33 -45
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +39 -19
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +39 -19
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +39 -19
- pulumi_snowflake/api_integration.py +28 -54
- pulumi_snowflake/cortex_search_service.py +28 -0
- pulumi_snowflake/database.py +97 -148
- pulumi_snowflake/database_old.py +5 -77
- pulumi_snowflake/database_role.py +76 -42
- pulumi_snowflake/dynamic_table.py +33 -43
- pulumi_snowflake/email_notification_integration.py +28 -26
- pulumi_snowflake/external_function.py +38 -62
- pulumi_snowflake/external_oauth_integration.py +41 -21
- pulumi_snowflake/external_table.py +38 -58
- pulumi_snowflake/failover_group.py +38 -82
- pulumi_snowflake/file_format.py +28 -26
- pulumi_snowflake/function.py +33 -9
- pulumi_snowflake/get_cortex_search_services.py +16 -16
- pulumi_snowflake/get_database_roles.py +61 -38
- pulumi_snowflake/get_databases.py +4 -4
- pulumi_snowflake/get_dynamic_tables.py +12 -12
- pulumi_snowflake/get_grants.py +138 -138
- pulumi_snowflake/get_schemas.py +8 -8
- pulumi_snowflake/get_streamlits.py +8 -8
- pulumi_snowflake/get_users.py +96 -33
- pulumi_snowflake/get_views.py +92 -53
- pulumi_snowflake/grant_account_role.py +0 -4
- pulumi_snowflake/grant_application_role.py +0 -4
- pulumi_snowflake/grant_database_role.py +0 -4
- pulumi_snowflake/grant_ownership.py +5 -5
- pulumi_snowflake/grant_privileges_to_account_role.py +15 -15
- pulumi_snowflake/grant_privileges_to_database_role.py +16 -12
- pulumi_snowflake/grant_privileges_to_share.py +47 -0
- pulumi_snowflake/managed_account.py +28 -4
- pulumi_snowflake/masking_policy.py +33 -89
- pulumi_snowflake/materialized_view.py +33 -39
- pulumi_snowflake/network_policy.py +47 -49
- pulumi_snowflake/network_policy_attachment.py +0 -30
- pulumi_snowflake/network_rule.py +28 -66
- pulumi_snowflake/notification_integration.py +28 -34
- pulumi_snowflake/oauth_integration.py +0 -34
- pulumi_snowflake/oauth_integration_for_custom_clients.py +39 -105
- pulumi_snowflake/oauth_integration_for_partner_applications.py +39 -19
- pulumi_snowflake/object_parameter.py +5 -103
- pulumi_snowflake/outputs.py +11648 -3842
- pulumi_snowflake/password_policy.py +28 -28
- pulumi_snowflake/pipe.py +28 -4
- pulumi_snowflake/procedure.py +33 -9
- pulumi_snowflake/provider.py +16 -16
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +28 -48
- pulumi_snowflake/role.py +51 -32
- pulumi_snowflake/row_access_policy.py +28 -34
- pulumi_snowflake/saml2_integration.py +39 -19
- pulumi_snowflake/saml_integration.py +0 -34
- pulumi_snowflake/schema.py +45 -25
- pulumi_snowflake/scim_integration.py +39 -19
- pulumi_snowflake/secondary_database.py +35 -19
- pulumi_snowflake/sequence.py +4 -36
- pulumi_snowflake/session_parameter.py +0 -32
- pulumi_snowflake/share.py +28 -28
- pulumi_snowflake/shared_database.py +35 -15
- pulumi_snowflake/stage.py +33 -33
- pulumi_snowflake/storage_integration.py +28 -4
- pulumi_snowflake/stream.py +28 -4
- pulumi_snowflake/streamlit.py +39 -19
- pulumi_snowflake/table.py +43 -47
- pulumi_snowflake/table_column_masking_policy_application.py +2 -14
- pulumi_snowflake/table_constraint.py +5 -157
- pulumi_snowflake/tag.py +28 -40
- pulumi_snowflake/tag_association.py +5 -125
- pulumi_snowflake/tag_masking_policy_association.py +0 -4
- pulumi_snowflake/task.py +28 -92
- pulumi_snowflake/unsafe_execute.py +2 -20
- pulumi_snowflake/user.py +3341 -368
- pulumi_snowflake/user_password_policy_attachment.py +0 -36
- pulumi_snowflake/view.py +465 -185
- pulumi_snowflake/warehouse.py +39 -43
- {pulumi_snowflake-0.57.1a1722856643.dist-info → pulumi_snowflake-0.58.0.dist-info}/METADATA +1 -1
- pulumi_snowflake-0.58.0.dist-info/RECORD +129 -0
- {pulumi_snowflake-0.57.1a1722856643.dist-info → pulumi_snowflake-0.58.0.dist-info}/WHEEL +1 -1
- pulumi_snowflake-0.57.1a1722856643.dist-info/RECORD +0 -129
- {pulumi_snowflake-0.57.1a1722856643.dist-info → pulumi_snowflake-0.58.0.dist-info}/top_level.txt +0 -0
|
@@ -581,23 +581,6 @@ class SamlIntegration(pulumi.CustomResource):
|
|
|
581
581
|
saml2_x509_cert: Optional[pulumi.Input[str]] = None,
|
|
582
582
|
__props__=None):
|
|
583
583
|
"""
|
|
584
|
-
> **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use Saml2Integration instead. <deprecation>
|
|
585
|
-
|
|
586
|
-
## Example Usage
|
|
587
|
-
|
|
588
|
-
```python
|
|
589
|
-
import pulumi
|
|
590
|
-
import pulumi_snowflake as snowflake
|
|
591
|
-
|
|
592
|
-
saml_integration = snowflake.SamlIntegration("saml_integration",
|
|
593
|
-
name="saml_integration",
|
|
594
|
-
saml2_provider="CUSTOM",
|
|
595
|
-
saml2_issuer="test_issuer",
|
|
596
|
-
saml2_sso_url="https://testsamlissuer.com",
|
|
597
|
-
saml2_x509_cert="MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiMD6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO",
|
|
598
|
-
enabled=True)
|
|
599
|
-
```
|
|
600
|
-
|
|
601
584
|
## Import
|
|
602
585
|
|
|
603
586
|
```sh
|
|
@@ -629,23 +612,6 @@ class SamlIntegration(pulumi.CustomResource):
|
|
|
629
612
|
args: SamlIntegrationArgs,
|
|
630
613
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
631
614
|
"""
|
|
632
|
-
> **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use Saml2Integration instead. <deprecation>
|
|
633
|
-
|
|
634
|
-
## Example Usage
|
|
635
|
-
|
|
636
|
-
```python
|
|
637
|
-
import pulumi
|
|
638
|
-
import pulumi_snowflake as snowflake
|
|
639
|
-
|
|
640
|
-
saml_integration = snowflake.SamlIntegration("saml_integration",
|
|
641
|
-
name="saml_integration",
|
|
642
|
-
saml2_provider="CUSTOM",
|
|
643
|
-
saml2_issuer="test_issuer",
|
|
644
|
-
saml2_sso_url="https://testsamlissuer.com",
|
|
645
|
-
saml2_x509_cert="MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiMD6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO",
|
|
646
|
-
enabled=True)
|
|
647
|
-
```
|
|
648
|
-
|
|
649
615
|
## Import
|
|
650
616
|
|
|
651
617
|
```sh
|
pulumi_snowflake/schema.py
CHANGED
|
@@ -51,7 +51,7 @@ class SchemaArgs:
|
|
|
51
51
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
52
52
|
:param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
|
|
53
53
|
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
|
|
54
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
54
|
+
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
55
55
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
56
56
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
57
57
|
:param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
@@ -243,7 +243,7 @@ class SchemaArgs:
|
|
|
243
243
|
@pulumi.getter(name="pipeExecutionPaused")
|
|
244
244
|
def pipe_execution_paused(self) -> Optional[pulumi.Input[bool]]:
|
|
245
245
|
"""
|
|
246
|
-
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
246
|
+
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
247
247
|
"""
|
|
248
248
|
return pulumi.get(self, "pipe_execution_paused")
|
|
249
249
|
|
|
@@ -383,6 +383,7 @@ class _SchemaState:
|
|
|
383
383
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['SchemaDescribeOutputArgs']]]] = None,
|
|
384
384
|
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
385
385
|
external_volume: Optional[pulumi.Input[str]] = None,
|
|
386
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
386
387
|
is_transient: Optional[pulumi.Input[str]] = None,
|
|
387
388
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
388
389
|
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
@@ -410,12 +411,13 @@ class _SchemaState:
|
|
|
410
411
|
:param pulumi.Input[Sequence[pulumi.Input['SchemaDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SCHEMA` for the given object. In order to handle this output, one must grant sufficient privileges, e.g. grant*ownership on all objects in the schema.
|
|
411
412
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
412
413
|
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
|
|
414
|
+
: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).
|
|
413
415
|
:param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
414
416
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
415
417
|
:param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
|
|
416
418
|
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
|
|
417
419
|
:param pulumi.Input[Sequence[pulumi.Input['SchemaParameterArgs']]] parameters: Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
|
|
418
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
420
|
+
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
419
421
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
420
422
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
421
423
|
:param pulumi.Input[Sequence[pulumi.Input['SchemaShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SCHEMA` for the given object.
|
|
@@ -444,6 +446,8 @@ class _SchemaState:
|
|
|
444
446
|
pulumi.set(__self__, "enable_console_output", enable_console_output)
|
|
445
447
|
if external_volume is not None:
|
|
446
448
|
pulumi.set(__self__, "external_volume", external_volume)
|
|
449
|
+
if fully_qualified_name is not None:
|
|
450
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
447
451
|
if is_transient is not None:
|
|
448
452
|
pulumi.set(__self__, "is_transient", is_transient)
|
|
449
453
|
if log_level is not None:
|
|
@@ -575,6 +579,18 @@ class _SchemaState:
|
|
|
575
579
|
def external_volume(self, value: Optional[pulumi.Input[str]]):
|
|
576
580
|
pulumi.set(self, "external_volume", value)
|
|
577
581
|
|
|
582
|
+
@property
|
|
583
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
584
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
585
|
+
"""
|
|
586
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
587
|
+
"""
|
|
588
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
589
|
+
|
|
590
|
+
@fully_qualified_name.setter
|
|
591
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
592
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
593
|
+
|
|
578
594
|
@property
|
|
579
595
|
@pulumi.getter(name="isTransient")
|
|
580
596
|
def is_transient(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -639,7 +655,7 @@ class _SchemaState:
|
|
|
639
655
|
@pulumi.getter(name="pipeExecutionPaused")
|
|
640
656
|
def pipe_execution_paused(self) -> Optional[pulumi.Input[bool]]:
|
|
641
657
|
"""
|
|
642
|
-
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
658
|
+
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
643
659
|
"""
|
|
644
660
|
return pulumi.get(self, "pipe_execution_paused")
|
|
645
661
|
|
|
@@ -809,16 +825,12 @@ class Schema(pulumi.CustomResource):
|
|
|
809
825
|
with_managed_access: Optional[pulumi.Input[str]] = None,
|
|
810
826
|
__props__=None):
|
|
811
827
|
"""
|
|
812
|
-
!> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
813
|
-
|
|
814
|
-
Resource used to manage schema objects. For more information, check [schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema).
|
|
815
|
-
|
|
816
828
|
## Import
|
|
817
829
|
|
|
818
|
-
format is
|
|
830
|
+
format is <database_name>.<schema_name>
|
|
819
831
|
|
|
820
832
|
```sh
|
|
821
|
-
$ pulumi import snowflake:index/schema:Schema example '
|
|
833
|
+
$ pulumi import snowflake:index/schema:Schema example '"<database_name>"."<schema_name>"'
|
|
822
834
|
```
|
|
823
835
|
|
|
824
836
|
:param str resource_name: The name of the resource.
|
|
@@ -834,7 +846,7 @@ class Schema(pulumi.CustomResource):
|
|
|
834
846
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
835
847
|
:param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
|
|
836
848
|
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
|
|
837
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
849
|
+
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
838
850
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
839
851
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
840
852
|
:param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
@@ -853,16 +865,12 @@ class Schema(pulumi.CustomResource):
|
|
|
853
865
|
args: SchemaArgs,
|
|
854
866
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
855
867
|
"""
|
|
856
|
-
!> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
857
|
-
|
|
858
|
-
Resource used to manage schema objects. For more information, check [schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema).
|
|
859
|
-
|
|
860
868
|
## Import
|
|
861
869
|
|
|
862
|
-
format is
|
|
870
|
+
format is <database_name>.<schema_name>
|
|
863
871
|
|
|
864
872
|
```sh
|
|
865
|
-
$ pulumi import snowflake:index/schema:Schema example '
|
|
873
|
+
$ pulumi import snowflake:index/schema:Schema example '"<database_name>"."<schema_name>"'
|
|
866
874
|
```
|
|
867
875
|
|
|
868
876
|
:param str resource_name: The name of the resource.
|
|
@@ -936,6 +944,7 @@ class Schema(pulumi.CustomResource):
|
|
|
936
944
|
__props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
|
|
937
945
|
__props__.__dict__["with_managed_access"] = with_managed_access
|
|
938
946
|
__props__.__dict__["describe_outputs"] = None
|
|
947
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
939
948
|
__props__.__dict__["parameters"] = None
|
|
940
949
|
__props__.__dict__["show_outputs"] = None
|
|
941
950
|
super(Schema, __self__).__init__(
|
|
@@ -953,18 +962,19 @@ class Schema(pulumi.CustomResource):
|
|
|
953
962
|
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
954
963
|
database: Optional[pulumi.Input[str]] = None,
|
|
955
964
|
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
956
|
-
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
965
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SchemaDescribeOutputArgs', 'SchemaDescribeOutputArgsDict']]]]] = None,
|
|
957
966
|
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
958
967
|
external_volume: Optional[pulumi.Input[str]] = None,
|
|
968
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
959
969
|
is_transient: Optional[pulumi.Input[str]] = None,
|
|
960
970
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
961
971
|
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
962
972
|
name: Optional[pulumi.Input[str]] = None,
|
|
963
|
-
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
973
|
+
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SchemaParameterArgs', 'SchemaParameterArgsDict']]]]] = None,
|
|
964
974
|
pipe_execution_paused: Optional[pulumi.Input[bool]] = None,
|
|
965
975
|
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
966
976
|
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
967
|
-
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
977
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SchemaShowOutputArgs', 'SchemaShowOutputArgsDict']]]]] = None,
|
|
968
978
|
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
969
979
|
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
970
980
|
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
@@ -985,18 +995,19 @@ class Schema(pulumi.CustomResource):
|
|
|
985
995
|
:param pulumi.Input[int] data_retention_time_in_days: Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
|
|
986
996
|
:param pulumi.Input[str] database: The database in which to create the schema.
|
|
987
997
|
:param pulumi.Input[str] default_ddl_collation: Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
|
|
988
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
998
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['SchemaDescribeOutputArgs', 'SchemaDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SCHEMA` for the given object. In order to handle this output, one must grant sufficient privileges, e.g. grant*ownership on all objects in the schema.
|
|
989
999
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
990
1000
|
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
|
|
1001
|
+
: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).
|
|
991
1002
|
:param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
992
1003
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
993
1004
|
:param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
|
|
994
1005
|
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
|
|
995
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
996
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
1006
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['SchemaParameterArgs', 'SchemaParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
|
|
1007
|
+
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
997
1008
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
998
1009
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
999
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1010
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['SchemaShowOutputArgs', 'SchemaShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SCHEMA` for the given object.
|
|
1000
1011
|
:param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
1001
1012
|
:param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
|
|
1002
1013
|
:param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
|
|
@@ -1018,6 +1029,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1018
1029
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
1019
1030
|
__props__.__dict__["enable_console_output"] = enable_console_output
|
|
1020
1031
|
__props__.__dict__["external_volume"] = external_volume
|
|
1032
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
1021
1033
|
__props__.__dict__["is_transient"] = is_transient
|
|
1022
1034
|
__props__.__dict__["log_level"] = log_level
|
|
1023
1035
|
__props__.__dict__["max_data_extension_time_in_days"] = max_data_extension_time_in_days
|
|
@@ -1101,6 +1113,14 @@ class Schema(pulumi.CustomResource):
|
|
|
1101
1113
|
"""
|
|
1102
1114
|
return pulumi.get(self, "external_volume")
|
|
1103
1115
|
|
|
1116
|
+
@property
|
|
1117
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
1118
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
1119
|
+
"""
|
|
1120
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
1121
|
+
"""
|
|
1122
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
1123
|
+
|
|
1104
1124
|
@property
|
|
1105
1125
|
@pulumi.getter(name="isTransient")
|
|
1106
1126
|
def is_transient(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -1145,7 +1165,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1145
1165
|
@pulumi.getter(name="pipeExecutionPaused")
|
|
1146
1166
|
def pipe_execution_paused(self) -> pulumi.Output[bool]:
|
|
1147
1167
|
"""
|
|
1148
|
-
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
1168
|
+
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
1149
1169
|
"""
|
|
1150
1170
|
return pulumi.get(self, "pipe_execution_paused")
|
|
1151
1171
|
|
|
@@ -29,7 +29,7 @@ class ScimIntegrationArgs:
|
|
|
29
29
|
:param pulumi.Input[str] run_as_role: Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: `OKTA_PROVISIONER` | `AAD_PROVISIONER` | `GENERIC_SCIM_PROVISIONER`.
|
|
30
30
|
:param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
|
|
31
31
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
32
|
-
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
32
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
33
33
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
|
|
34
34
|
:param pulumi.Input[str] sync_password: Specifies whether to enable or disable the synchronization of a user password from an Okta SCIM client as part of the API request to Snowflake. This property is not supported for Azure SCIM. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
35
35
|
"""
|
|
@@ -97,7 +97,7 @@ class ScimIntegrationArgs:
|
|
|
97
97
|
@pulumi.getter
|
|
98
98
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
99
99
|
"""
|
|
100
|
-
String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
100
|
+
String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
101
101
|
"""
|
|
102
102
|
return pulumi.get(self, "name")
|
|
103
103
|
|
|
@@ -136,6 +136,7 @@ class _ScimIntegrationState:
|
|
|
136
136
|
comment: Optional[pulumi.Input[str]] = None,
|
|
137
137
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ScimIntegrationDescribeOutputArgs']]]] = None,
|
|
138
138
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
139
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
139
140
|
name: Optional[pulumi.Input[str]] = None,
|
|
140
141
|
network_policy: Optional[pulumi.Input[str]] = None,
|
|
141
142
|
run_as_role: Optional[pulumi.Input[str]] = None,
|
|
@@ -147,7 +148,8 @@ class _ScimIntegrationState:
|
|
|
147
148
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
148
149
|
:param pulumi.Input[Sequence[pulumi.Input['ScimIntegrationDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
149
150
|
:param pulumi.Input[bool] enabled: Specify whether the security integration is enabled.
|
|
150
|
-
:param pulumi.Input[str]
|
|
151
|
+
: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).
|
|
152
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
151
153
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
|
|
152
154
|
:param pulumi.Input[str] run_as_role: Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: `OKTA_PROVISIONER` | `AAD_PROVISIONER` | `GENERIC_SCIM_PROVISIONER`.
|
|
153
155
|
:param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
|
|
@@ -160,6 +162,8 @@ class _ScimIntegrationState:
|
|
|
160
162
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
161
163
|
if enabled is not None:
|
|
162
164
|
pulumi.set(__self__, "enabled", enabled)
|
|
165
|
+
if fully_qualified_name is not None:
|
|
166
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
163
167
|
if name is not None:
|
|
164
168
|
pulumi.set(__self__, "name", name)
|
|
165
169
|
if network_policy is not None:
|
|
@@ -209,11 +213,23 @@ class _ScimIntegrationState:
|
|
|
209
213
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
210
214
|
pulumi.set(self, "enabled", value)
|
|
211
215
|
|
|
216
|
+
@property
|
|
217
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
218
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
219
|
+
"""
|
|
220
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
221
|
+
"""
|
|
222
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
223
|
+
|
|
224
|
+
@fully_qualified_name.setter
|
|
225
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
226
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
227
|
+
|
|
212
228
|
@property
|
|
213
229
|
@pulumi.getter
|
|
214
230
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
215
231
|
"""
|
|
216
|
-
String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
232
|
+
String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
217
233
|
"""
|
|
218
234
|
return pulumi.get(self, "name")
|
|
219
235
|
|
|
@@ -296,10 +312,6 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
296
312
|
sync_password: Optional[pulumi.Input[str]] = None,
|
|
297
313
|
__props__=None):
|
|
298
314
|
"""
|
|
299
|
-
!> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
300
|
-
|
|
301
|
-
Resource used to manage scim security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-scim).
|
|
302
|
-
|
|
303
315
|
## Import
|
|
304
316
|
|
|
305
317
|
```sh
|
|
@@ -310,7 +322,7 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
310
322
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
311
323
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
312
324
|
:param pulumi.Input[bool] enabled: Specify whether the security integration is enabled.
|
|
313
|
-
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
325
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
314
326
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
|
|
315
327
|
:param pulumi.Input[str] run_as_role: Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: `OKTA_PROVISIONER` | `AAD_PROVISIONER` | `GENERIC_SCIM_PROVISIONER`.
|
|
316
328
|
:param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
|
|
@@ -323,10 +335,6 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
323
335
|
args: ScimIntegrationArgs,
|
|
324
336
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
325
337
|
"""
|
|
326
|
-
!> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
327
|
-
|
|
328
|
-
Resource used to manage scim security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-scim).
|
|
329
|
-
|
|
330
338
|
## Import
|
|
331
339
|
|
|
332
340
|
```sh
|
|
@@ -378,6 +386,7 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
378
386
|
__props__.__dict__["scim_client"] = scim_client
|
|
379
387
|
__props__.__dict__["sync_password"] = sync_password
|
|
380
388
|
__props__.__dict__["describe_outputs"] = None
|
|
389
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
381
390
|
__props__.__dict__["show_outputs"] = None
|
|
382
391
|
super(ScimIntegration, __self__).__init__(
|
|
383
392
|
'snowflake:index/scimIntegration:ScimIntegration',
|
|
@@ -390,13 +399,14 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
390
399
|
id: pulumi.Input[str],
|
|
391
400
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
392
401
|
comment: Optional[pulumi.Input[str]] = None,
|
|
393
|
-
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
402
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScimIntegrationDescribeOutputArgs', 'ScimIntegrationDescribeOutputArgsDict']]]]] = None,
|
|
394
403
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
404
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
395
405
|
name: Optional[pulumi.Input[str]] = None,
|
|
396
406
|
network_policy: Optional[pulumi.Input[str]] = None,
|
|
397
407
|
run_as_role: Optional[pulumi.Input[str]] = None,
|
|
398
408
|
scim_client: Optional[pulumi.Input[str]] = None,
|
|
399
|
-
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
409
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScimIntegrationShowOutputArgs', 'ScimIntegrationShowOutputArgsDict']]]]] = None,
|
|
400
410
|
sync_password: Optional[pulumi.Input[str]] = None) -> 'ScimIntegration':
|
|
401
411
|
"""
|
|
402
412
|
Get an existing ScimIntegration resource's state with the given name, id, and optional extra
|
|
@@ -406,13 +416,14 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
406
416
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
407
417
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
408
418
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
409
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
419
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ScimIntegrationDescribeOutputArgs', 'ScimIntegrationDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
410
420
|
:param pulumi.Input[bool] enabled: Specify whether the security integration is enabled.
|
|
411
|
-
:param pulumi.Input[str]
|
|
421
|
+
: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).
|
|
422
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
412
423
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
|
|
413
424
|
:param pulumi.Input[str] run_as_role: Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: `OKTA_PROVISIONER` | `AAD_PROVISIONER` | `GENERIC_SCIM_PROVISIONER`.
|
|
414
425
|
:param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
|
|
415
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
426
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ScimIntegrationShowOutputArgs', 'ScimIntegrationShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
416
427
|
:param pulumi.Input[str] sync_password: Specifies whether to enable or disable the synchronization of a user password from an Okta SCIM client as part of the API request to Snowflake. This property is not supported for Azure SCIM. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
417
428
|
"""
|
|
418
429
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -422,6 +433,7 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
422
433
|
__props__.__dict__["comment"] = comment
|
|
423
434
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
424
435
|
__props__.__dict__["enabled"] = enabled
|
|
436
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
425
437
|
__props__.__dict__["name"] = name
|
|
426
438
|
__props__.__dict__["network_policy"] = network_policy
|
|
427
439
|
__props__.__dict__["run_as_role"] = run_as_role
|
|
@@ -454,11 +466,19 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
454
466
|
"""
|
|
455
467
|
return pulumi.get(self, "enabled")
|
|
456
468
|
|
|
469
|
+
@property
|
|
470
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
471
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
472
|
+
"""
|
|
473
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
474
|
+
"""
|
|
475
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
476
|
+
|
|
457
477
|
@property
|
|
458
478
|
@pulumi.getter
|
|
459
479
|
def name(self) -> pulumi.Output[str]:
|
|
460
480
|
"""
|
|
461
|
-
String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
481
|
+
String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
462
482
|
"""
|
|
463
483
|
return pulumi.get(self, "name")
|
|
464
484
|
|