pulumi-snowflake 0.58.0__py3-none-any.whl → 0.58.0a1722528062__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.
- pulumi_snowflake/_inputs.py +125 -5857
- pulumi_snowflake/account.py +50 -28
- pulumi_snowflake/account_parameter.py +28 -0
- pulumi_snowflake/account_password_policy_attachment.py +30 -2
- pulumi_snowflake/account_role.py +32 -51
- pulumi_snowflake/alert.py +45 -33
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +19 -39
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +19 -39
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +19 -39
- pulumi_snowflake/api_integration.py +54 -28
- pulumi_snowflake/cortex_search_service.py +0 -28
- pulumi_snowflake/database.py +148 -97
- pulumi_snowflake/database_old.py +77 -5
- pulumi_snowflake/database_role.py +42 -76
- pulumi_snowflake/dynamic_table.py +43 -33
- pulumi_snowflake/email_notification_integration.py +26 -28
- pulumi_snowflake/external_function.py +62 -38
- pulumi_snowflake/external_oauth_integration.py +21 -41
- pulumi_snowflake/external_table.py +58 -38
- pulumi_snowflake/failover_group.py +82 -38
- pulumi_snowflake/file_format.py +26 -28
- pulumi_snowflake/function.py +9 -33
- pulumi_snowflake/get_cortex_search_services.py +16 -16
- pulumi_snowflake/get_database_roles.py +38 -61
- pulumi_snowflake/get_databases.py +6 -6
- pulumi_snowflake/get_dynamic_tables.py +12 -12
- pulumi_snowflake/get_grants.py +138 -138
- pulumi_snowflake/get_network_policies.py +2 -2
- pulumi_snowflake/get_roles.py +2 -2
- pulumi_snowflake/get_schemas.py +8 -12
- pulumi_snowflake/get_security_integrations.py +2 -2
- pulumi_snowflake/get_streamlits.py +10 -10
- pulumi_snowflake/get_users.py +33 -96
- pulumi_snowflake/get_views.py +53 -92
- pulumi_snowflake/get_warehouses.py +2 -2
- pulumi_snowflake/grant_account_role.py +4 -0
- pulumi_snowflake/grant_application_role.py +4 -0
- pulumi_snowflake/grant_database_role.py +4 -0
- 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 +12 -16
- pulumi_snowflake/grant_privileges_to_share.py +0 -47
- pulumi_snowflake/managed_account.py +4 -28
- pulumi_snowflake/masking_policy.py +89 -33
- pulumi_snowflake/materialized_view.py +39 -33
- pulumi_snowflake/network_policy.py +49 -47
- pulumi_snowflake/network_policy_attachment.py +30 -0
- pulumi_snowflake/network_rule.py +66 -28
- pulumi_snowflake/notification_integration.py +34 -28
- pulumi_snowflake/oauth_integration.py +34 -0
- pulumi_snowflake/oauth_integration_for_custom_clients.py +105 -39
- pulumi_snowflake/oauth_integration_for_partner_applications.py +19 -39
- pulumi_snowflake/object_parameter.py +103 -5
- pulumi_snowflake/outputs.py +4207 -12013
- pulumi_snowflake/password_policy.py +28 -28
- pulumi_snowflake/pipe.py +4 -28
- pulumi_snowflake/procedure.py +9 -33
- pulumi_snowflake/provider.py +16 -16
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +48 -28
- pulumi_snowflake/role.py +32 -51
- pulumi_snowflake/row_access_policy.py +34 -28
- pulumi_snowflake/saml2_integration.py +19 -39
- pulumi_snowflake/saml_integration.py +34 -0
- pulumi_snowflake/schema.py +28 -52
- pulumi_snowflake/scim_integration.py +19 -39
- pulumi_snowflake/secondary_database.py +19 -35
- pulumi_snowflake/sequence.py +36 -4
- pulumi_snowflake/session_parameter.py +32 -0
- pulumi_snowflake/share.py +28 -28
- pulumi_snowflake/shared_database.py +15 -35
- pulumi_snowflake/stage.py +33 -33
- pulumi_snowflake/storage_integration.py +4 -28
- pulumi_snowflake/stream.py +4 -28
- pulumi_snowflake/streamlit.py +19 -39
- pulumi_snowflake/table.py +47 -43
- pulumi_snowflake/table_column_masking_policy_application.py +14 -2
- pulumi_snowflake/table_constraint.py +157 -5
- pulumi_snowflake/tag.py +40 -28
- pulumi_snowflake/tag_association.py +125 -5
- pulumi_snowflake/tag_masking_policy_association.py +4 -0
- pulumi_snowflake/task.py +92 -28
- pulumi_snowflake/unsafe_execute.py +20 -2
- pulumi_snowflake/user.py +373 -3346
- pulumi_snowflake/user_password_policy_attachment.py +36 -0
- pulumi_snowflake/view.py +185 -465
- pulumi_snowflake/warehouse.py +43 -39
- {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722528062.dist-info}/METADATA +1 -1
- pulumi_snowflake-0.58.0a1722528062.dist-info/RECORD +129 -0
- {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722528062.dist-info}/WHEEL +1 -1
- pulumi_snowflake-0.58.0.dist-info/RECORD +0 -129
- {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722528062.dist-info}/top_level.txt +0 -0
|
@@ -581,6 +581,23 @@ 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
|
+
|
|
584
601
|
## Import
|
|
585
602
|
|
|
586
603
|
```sh
|
|
@@ -612,6 +629,23 @@ class SamlIntegration(pulumi.CustomResource):
|
|
|
612
629
|
args: SamlIntegrationArgs,
|
|
613
630
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
614
631
|
"""
|
|
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
|
+
|
|
615
649
|
## Import
|
|
616
650
|
|
|
617
651
|
```sh
|
pulumi_snowflake/schema.py
CHANGED
|
@@ -50,8 +50,8 @@ class SchemaArgs:
|
|
|
50
50
|
: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.
|
|
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
|
-
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
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,
|
|
53
|
+
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
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, see [PIPE*EXECUTION*PAUSED](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).
|
|
@@ -231,7 +231,7 @@ class SchemaArgs:
|
|
|
231
231
|
@pulumi.getter
|
|
232
232
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
233
233
|
"""
|
|
234
|
-
Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
234
|
+
Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
235
235
|
"""
|
|
236
236
|
return pulumi.get(self, "name")
|
|
237
237
|
|
|
@@ -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, see [PIPE*EXECUTION*PAUSED](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,7 +383,6 @@ 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,
|
|
387
386
|
is_transient: Optional[pulumi.Input[str]] = None,
|
|
388
387
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
389
388
|
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
@@ -411,13 +410,12 @@ class _SchemaState:
|
|
|
411
410
|
: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.
|
|
412
411
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
413
412
|
: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).
|
|
415
413
|
: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.
|
|
416
414
|
: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).
|
|
417
415
|
: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).
|
|
418
|
-
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
416
|
+
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
419
417
|
:param pulumi.Input[Sequence[pulumi.Input['SchemaParameterArgs']]] parameters: Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
|
|
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,
|
|
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, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
421
419
|
: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).
|
|
422
420
|
: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).
|
|
423
421
|
:param pulumi.Input[Sequence[pulumi.Input['SchemaShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SCHEMA` for the given object.
|
|
@@ -446,8 +444,6 @@ class _SchemaState:
|
|
|
446
444
|
pulumi.set(__self__, "enable_console_output", enable_console_output)
|
|
447
445
|
if external_volume is not None:
|
|
448
446
|
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)
|
|
451
447
|
if is_transient is not None:
|
|
452
448
|
pulumi.set(__self__, "is_transient", is_transient)
|
|
453
449
|
if log_level is not None:
|
|
@@ -579,18 +575,6 @@ class _SchemaState:
|
|
|
579
575
|
def external_volume(self, value: Optional[pulumi.Input[str]]):
|
|
580
576
|
pulumi.set(self, "external_volume", value)
|
|
581
577
|
|
|
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
|
-
|
|
594
578
|
@property
|
|
595
579
|
@pulumi.getter(name="isTransient")
|
|
596
580
|
def is_transient(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -631,7 +615,7 @@ class _SchemaState:
|
|
|
631
615
|
@pulumi.getter
|
|
632
616
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
633
617
|
"""
|
|
634
|
-
Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
618
|
+
Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
635
619
|
"""
|
|
636
620
|
return pulumi.get(self, "name")
|
|
637
621
|
|
|
@@ -655,7 +639,7 @@ class _SchemaState:
|
|
|
655
639
|
@pulumi.getter(name="pipeExecutionPaused")
|
|
656
640
|
def pipe_execution_paused(self) -> Optional[pulumi.Input[bool]]:
|
|
657
641
|
"""
|
|
658
|
-
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
642
|
+
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
659
643
|
"""
|
|
660
644
|
return pulumi.get(self, "pipe_execution_paused")
|
|
661
645
|
|
|
@@ -825,12 +809,14 @@ class Schema(pulumi.CustomResource):
|
|
|
825
809
|
with_managed_access: Optional[pulumi.Input[str]] = None,
|
|
826
810
|
__props__=None):
|
|
827
811
|
"""
|
|
812
|
+
Resource used to manage schema objects. For more information, check [schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema).
|
|
813
|
+
|
|
828
814
|
## Import
|
|
829
815
|
|
|
830
|
-
format is
|
|
816
|
+
format is dbName | schemaName
|
|
831
817
|
|
|
832
818
|
```sh
|
|
833
|
-
$ pulumi import snowflake:index/schema:Schema example '
|
|
819
|
+
$ pulumi import snowflake:index/schema:Schema example 'dbName|schemaName'
|
|
834
820
|
```
|
|
835
821
|
|
|
836
822
|
:param str resource_name: The name of the resource.
|
|
@@ -845,8 +831,8 @@ class Schema(pulumi.CustomResource):
|
|
|
845
831
|
: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.
|
|
846
832
|
: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).
|
|
847
833
|
: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).
|
|
848
|
-
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
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,
|
|
834
|
+
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
835
|
+
: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, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
850
836
|
: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).
|
|
851
837
|
: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).
|
|
852
838
|
: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).
|
|
@@ -865,12 +851,14 @@ class Schema(pulumi.CustomResource):
|
|
|
865
851
|
args: SchemaArgs,
|
|
866
852
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
867
853
|
"""
|
|
854
|
+
Resource used to manage schema objects. For more information, check [schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema).
|
|
855
|
+
|
|
868
856
|
## Import
|
|
869
857
|
|
|
870
|
-
format is
|
|
858
|
+
format is dbName | schemaName
|
|
871
859
|
|
|
872
860
|
```sh
|
|
873
|
-
$ pulumi import snowflake:index/schema:Schema example '
|
|
861
|
+
$ pulumi import snowflake:index/schema:Schema example 'dbName|schemaName'
|
|
874
862
|
```
|
|
875
863
|
|
|
876
864
|
:param str resource_name: The name of the resource.
|
|
@@ -944,7 +932,6 @@ class Schema(pulumi.CustomResource):
|
|
|
944
932
|
__props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
|
|
945
933
|
__props__.__dict__["with_managed_access"] = with_managed_access
|
|
946
934
|
__props__.__dict__["describe_outputs"] = None
|
|
947
|
-
__props__.__dict__["fully_qualified_name"] = None
|
|
948
935
|
__props__.__dict__["parameters"] = None
|
|
949
936
|
__props__.__dict__["show_outputs"] = None
|
|
950
937
|
super(Schema, __self__).__init__(
|
|
@@ -962,19 +949,18 @@ class Schema(pulumi.CustomResource):
|
|
|
962
949
|
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
963
950
|
database: Optional[pulumi.Input[str]] = None,
|
|
964
951
|
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
965
|
-
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
952
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaDescribeOutputArgs']]]]] = None,
|
|
966
953
|
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
967
954
|
external_volume: Optional[pulumi.Input[str]] = None,
|
|
968
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
969
955
|
is_transient: Optional[pulumi.Input[str]] = None,
|
|
970
956
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
971
957
|
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
972
958
|
name: Optional[pulumi.Input[str]] = None,
|
|
973
|
-
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
959
|
+
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaParameterArgs']]]]] = None,
|
|
974
960
|
pipe_execution_paused: Optional[pulumi.Input[bool]] = None,
|
|
975
961
|
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
976
962
|
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
977
|
-
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
963
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaShowOutputArgs']]]]] = None,
|
|
978
964
|
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
979
965
|
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
980
966
|
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
@@ -995,19 +981,18 @@ class Schema(pulumi.CustomResource):
|
|
|
995
981
|
: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).
|
|
996
982
|
:param pulumi.Input[str] database: The database in which to create the schema.
|
|
997
983
|
: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).
|
|
998
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
984
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['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.
|
|
999
985
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
1000
986
|
: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).
|
|
1002
987
|
: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.
|
|
1003
988
|
: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).
|
|
1004
989
|
: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).
|
|
1005
|
-
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
1006
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
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,
|
|
990
|
+
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
991
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaParameterArgs']]]] parameters: Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
|
|
992
|
+
: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, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
1008
993
|
: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).
|
|
1009
994
|
: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).
|
|
1010
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
995
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SCHEMA` for the given object.
|
|
1011
996
|
: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).
|
|
1012
997
|
: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).
|
|
1013
998
|
: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).
|
|
@@ -1029,7 +1014,6 @@ class Schema(pulumi.CustomResource):
|
|
|
1029
1014
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
1030
1015
|
__props__.__dict__["enable_console_output"] = enable_console_output
|
|
1031
1016
|
__props__.__dict__["external_volume"] = external_volume
|
|
1032
|
-
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
1033
1017
|
__props__.__dict__["is_transient"] = is_transient
|
|
1034
1018
|
__props__.__dict__["log_level"] = log_level
|
|
1035
1019
|
__props__.__dict__["max_data_extension_time_in_days"] = max_data_extension_time_in_days
|
|
@@ -1113,14 +1097,6 @@ class Schema(pulumi.CustomResource):
|
|
|
1113
1097
|
"""
|
|
1114
1098
|
return pulumi.get(self, "external_volume")
|
|
1115
1099
|
|
|
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
|
-
|
|
1124
1100
|
@property
|
|
1125
1101
|
@pulumi.getter(name="isTransient")
|
|
1126
1102
|
def is_transient(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -1149,7 +1125,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1149
1125
|
@pulumi.getter
|
|
1150
1126
|
def name(self) -> pulumi.Output[str]:
|
|
1151
1127
|
"""
|
|
1152
|
-
Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
1128
|
+
Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
1153
1129
|
"""
|
|
1154
1130
|
return pulumi.get(self, "name")
|
|
1155
1131
|
|
|
@@ -1165,7 +1141,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1165
1141
|
@pulumi.getter(name="pipeExecutionPaused")
|
|
1166
1142
|
def pipe_execution_paused(self) -> pulumi.Output[bool]:
|
|
1167
1143
|
"""
|
|
1168
|
-
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
1144
|
+
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
1169
1145
|
"""
|
|
1170
1146
|
return pulumi.get(self, "pipe_execution_paused")
|
|
1171
1147
|
|
|
@@ -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.
|
|
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.
|
|
101
101
|
"""
|
|
102
102
|
return pulumi.get(self, "name")
|
|
103
103
|
|
|
@@ -136,7 +136,6 @@ 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,
|
|
140
139
|
name: Optional[pulumi.Input[str]] = None,
|
|
141
140
|
network_policy: Optional[pulumi.Input[str]] = None,
|
|
142
141
|
run_as_role: Optional[pulumi.Input[str]] = None,
|
|
@@ -148,8 +147,7 @@ class _ScimIntegrationState:
|
|
|
148
147
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
149
148
|
:param pulumi.Input[Sequence[pulumi.Input['ScimIntegrationDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
150
149
|
:param pulumi.Input[bool] enabled: Specify whether the security integration is enabled.
|
|
151
|
-
:param pulumi.Input[str]
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
150
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
153
151
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
|
|
154
152
|
: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`.
|
|
155
153
|
:param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
|
|
@@ -162,8 +160,6 @@ class _ScimIntegrationState:
|
|
|
162
160
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
163
161
|
if enabled is not None:
|
|
164
162
|
pulumi.set(__self__, "enabled", enabled)
|
|
165
|
-
if fully_qualified_name is not None:
|
|
166
|
-
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
167
163
|
if name is not None:
|
|
168
164
|
pulumi.set(__self__, "name", name)
|
|
169
165
|
if network_policy is not None:
|
|
@@ -213,23 +209,11 @@ class _ScimIntegrationState:
|
|
|
213
209
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
214
210
|
pulumi.set(self, "enabled", value)
|
|
215
211
|
|
|
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
|
-
|
|
228
212
|
@property
|
|
229
213
|
@pulumi.getter
|
|
230
214
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
231
215
|
"""
|
|
232
|
-
String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
216
|
+
String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
233
217
|
"""
|
|
234
218
|
return pulumi.get(self, "name")
|
|
235
219
|
|
|
@@ -312,6 +296,10 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
312
296
|
sync_password: Optional[pulumi.Input[str]] = None,
|
|
313
297
|
__props__=None):
|
|
314
298
|
"""
|
|
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
|
+
|
|
315
303
|
## Import
|
|
316
304
|
|
|
317
305
|
```sh
|
|
@@ -322,7 +310,7 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
322
310
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
323
311
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
324
312
|
:param pulumi.Input[bool] enabled: Specify whether the security integration is enabled.
|
|
325
|
-
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
313
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
326
314
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
|
|
327
315
|
: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`.
|
|
328
316
|
:param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
|
|
@@ -335,6 +323,10 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
335
323
|
args: ScimIntegrationArgs,
|
|
336
324
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
337
325
|
"""
|
|
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
|
+
|
|
338
330
|
## Import
|
|
339
331
|
|
|
340
332
|
```sh
|
|
@@ -386,7 +378,6 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
386
378
|
__props__.__dict__["scim_client"] = scim_client
|
|
387
379
|
__props__.__dict__["sync_password"] = sync_password
|
|
388
380
|
__props__.__dict__["describe_outputs"] = None
|
|
389
|
-
__props__.__dict__["fully_qualified_name"] = None
|
|
390
381
|
__props__.__dict__["show_outputs"] = None
|
|
391
382
|
super(ScimIntegration, __self__).__init__(
|
|
392
383
|
'snowflake:index/scimIntegration:ScimIntegration',
|
|
@@ -399,14 +390,13 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
399
390
|
id: pulumi.Input[str],
|
|
400
391
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
401
392
|
comment: Optional[pulumi.Input[str]] = None,
|
|
402
|
-
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
393
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScimIntegrationDescribeOutputArgs']]]]] = None,
|
|
403
394
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
404
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
405
395
|
name: Optional[pulumi.Input[str]] = None,
|
|
406
396
|
network_policy: Optional[pulumi.Input[str]] = None,
|
|
407
397
|
run_as_role: Optional[pulumi.Input[str]] = None,
|
|
408
398
|
scim_client: Optional[pulumi.Input[str]] = None,
|
|
409
|
-
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
399
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScimIntegrationShowOutputArgs']]]]] = None,
|
|
410
400
|
sync_password: Optional[pulumi.Input[str]] = None) -> 'ScimIntegration':
|
|
411
401
|
"""
|
|
412
402
|
Get an existing ScimIntegration resource's state with the given name, id, and optional extra
|
|
@@ -416,14 +406,13 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
416
406
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
417
407
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
418
408
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
419
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
409
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScimIntegrationDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
420
410
|
:param pulumi.Input[bool] enabled: Specify whether the security integration is enabled.
|
|
421
|
-
:param pulumi.Input[str]
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
411
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
423
412
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
|
|
424
413
|
: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`.
|
|
425
414
|
:param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
|
|
426
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
415
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScimIntegrationShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
427
416
|
: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.
|
|
428
417
|
"""
|
|
429
418
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -433,7 +422,6 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
433
422
|
__props__.__dict__["comment"] = comment
|
|
434
423
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
435
424
|
__props__.__dict__["enabled"] = enabled
|
|
436
|
-
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
437
425
|
__props__.__dict__["name"] = name
|
|
438
426
|
__props__.__dict__["network_policy"] = network_policy
|
|
439
427
|
__props__.__dict__["run_as_role"] = run_as_role
|
|
@@ -466,19 +454,11 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
466
454
|
"""
|
|
467
455
|
return pulumi.get(self, "enabled")
|
|
468
456
|
|
|
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
|
-
|
|
477
457
|
@property
|
|
478
458
|
@pulumi.getter
|
|
479
459
|
def name(self) -> pulumi.Output[str]:
|
|
480
460
|
"""
|
|
481
|
-
String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
461
|
+
String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
482
462
|
"""
|
|
483
463
|
return pulumi.get(self, "name")
|
|
484
464
|
|