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
|
@@ -38,7 +38,7 @@ class OauthIntegrationForCustomClientsArgs:
|
|
|
38
38
|
:param pulumi.Input[str] oauth_redirect_uri: Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI.
|
|
39
39
|
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
|
|
40
40
|
:param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. 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.
|
|
41
|
-
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
41
|
+
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
42
42
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy. This network policy controls network traffic that is attempting to exchange an authorization code for an access or refresh token or to use a refresh token to obtain a new access token.
|
|
43
43
|
:param pulumi.Input[str] oauth_allow_non_tls_redirect_uri: If true, allows setting oauth*redirect*uri to a URI not protected by TLS. 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.
|
|
44
44
|
:param pulumi.Input[str] oauth_enforce_pkce: Boolean that specifies whether Proof Key for Code Exchange (PKCE) should be required for the integration. 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.
|
|
@@ -139,7 +139,7 @@ class OauthIntegrationForCustomClientsArgs:
|
|
|
139
139
|
@pulumi.getter
|
|
140
140
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
141
141
|
"""
|
|
142
|
-
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
142
|
+
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
143
143
|
"""
|
|
144
144
|
return pulumi.get(self, "name")
|
|
145
145
|
|
|
@@ -257,6 +257,7 @@ class _OauthIntegrationForCustomClientsState:
|
|
|
257
257
|
comment: Optional[pulumi.Input[str]] = None,
|
|
258
258
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['OauthIntegrationForCustomClientsDescribeOutputArgs']]]] = None,
|
|
259
259
|
enabled: Optional[pulumi.Input[str]] = None,
|
|
260
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
260
261
|
name: Optional[pulumi.Input[str]] = None,
|
|
261
262
|
network_policy: Optional[pulumi.Input[str]] = None,
|
|
262
263
|
oauth_allow_non_tls_redirect_uri: Optional[pulumi.Input[str]] = None,
|
|
@@ -276,7 +277,8 @@ class _OauthIntegrationForCustomClientsState:
|
|
|
276
277
|
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
|
|
277
278
|
:param pulumi.Input[Sequence[pulumi.Input['OauthIntegrationForCustomClientsDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
|
|
278
279
|
:param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. 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.
|
|
279
|
-
:param pulumi.Input[str]
|
|
280
|
+
: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).
|
|
281
|
+
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
280
282
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy. This network policy controls network traffic that is attempting to exchange an authorization code for an access or refresh token or to use a refresh token to obtain a new access token.
|
|
281
283
|
:param pulumi.Input[str] oauth_allow_non_tls_redirect_uri: If true, allows setting oauth*redirect*uri to a URI not protected by TLS. 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.
|
|
282
284
|
:param pulumi.Input[str] oauth_client_type: Specifies the type of client being registered. Snowflake supports both confidential and public clients. Valid options are: `PUBLIC` | `CONFIDENTIAL`.
|
|
@@ -296,6 +298,8 @@ class _OauthIntegrationForCustomClientsState:
|
|
|
296
298
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
297
299
|
if enabled is not None:
|
|
298
300
|
pulumi.set(__self__, "enabled", enabled)
|
|
301
|
+
if fully_qualified_name is not None:
|
|
302
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
299
303
|
if name is not None:
|
|
300
304
|
pulumi.set(__self__, "name", name)
|
|
301
305
|
if network_policy is not None:
|
|
@@ -371,11 +375,23 @@ class _OauthIntegrationForCustomClientsState:
|
|
|
371
375
|
def enabled(self, value: Optional[pulumi.Input[str]]):
|
|
372
376
|
pulumi.set(self, "enabled", value)
|
|
373
377
|
|
|
378
|
+
@property
|
|
379
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
380
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
381
|
+
"""
|
|
382
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
383
|
+
"""
|
|
384
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
385
|
+
|
|
386
|
+
@fully_qualified_name.setter
|
|
387
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
388
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
389
|
+
|
|
374
390
|
@property
|
|
375
391
|
@pulumi.getter
|
|
376
392
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
377
393
|
"""
|
|
378
|
-
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
394
|
+
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
379
395
|
"""
|
|
380
396
|
return pulumi.get(self, "name")
|
|
381
397
|
|
|
@@ -544,53 +560,6 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
544
560
|
pre_authorized_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
545
561
|
__props__=None):
|
|
546
562
|
"""
|
|
547
|
-
!> **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.
|
|
548
|
-
|
|
549
|
-
Resource used to manage oauth security integration for custom clients objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-snowflake).
|
|
550
|
-
|
|
551
|
-
## Example Usage
|
|
552
|
-
|
|
553
|
-
```python
|
|
554
|
-
import pulumi
|
|
555
|
-
import pulumi_snowflake as snowflake
|
|
556
|
-
import pulumi_std as std
|
|
557
|
-
|
|
558
|
-
# basic resource
|
|
559
|
-
basic = snowflake.OauthIntegrationForCustomClients("basic",
|
|
560
|
-
name="saml_integration",
|
|
561
|
-
oauth_client_type="CONFIDENTIAL",
|
|
562
|
-
oauth_redirect_uri="https://example.com",
|
|
563
|
-
blocked_roles_lists=[
|
|
564
|
-
"ACCOUNTADMIN",
|
|
565
|
-
"SECURITYADMIN",
|
|
566
|
-
])
|
|
567
|
-
# resource with all fields set
|
|
568
|
-
complete = snowflake.OauthIntegrationForCustomClients("complete",
|
|
569
|
-
name="saml_integration",
|
|
570
|
-
oauth_client_type="CONFIDENTIAL",
|
|
571
|
-
oauth_redirect_uri="https://example.com",
|
|
572
|
-
enabled="true",
|
|
573
|
-
oauth_allow_non_tls_redirect_uri="true",
|
|
574
|
-
oauth_enforce_pkce="true",
|
|
575
|
-
oauth_use_secondary_roles="NONE",
|
|
576
|
-
pre_authorized_roles_lists=[
|
|
577
|
-
"role_id1",
|
|
578
|
-
"role_id2",
|
|
579
|
-
],
|
|
580
|
-
blocked_roles_lists=[
|
|
581
|
-
"ACCOUNTADMIN",
|
|
582
|
-
"SECURITYADMIN",
|
|
583
|
-
"role_id1",
|
|
584
|
-
"role_id2",
|
|
585
|
-
],
|
|
586
|
-
oauth_issue_refresh_tokens="true",
|
|
587
|
-
oauth_refresh_token_validity=87600,
|
|
588
|
-
network_policy="network_policy_id",
|
|
589
|
-
oauth_client_rsa_public_key=std.file(input="rsa.pub").result,
|
|
590
|
-
oauth_client_rsa_public_key2=std.file(input="rsa2.pub").result,
|
|
591
|
-
comment="my oauth integration")
|
|
592
|
-
```
|
|
593
|
-
|
|
594
563
|
## Import
|
|
595
564
|
|
|
596
565
|
```sh
|
|
@@ -602,7 +571,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
602
571
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_roles_lists: A set of Snowflake roles that a user cannot explicitly consent to using after authenticating.
|
|
603
572
|
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
|
|
604
573
|
:param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. 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.
|
|
605
|
-
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
574
|
+
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
606
575
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy. This network policy controls network traffic that is attempting to exchange an authorization code for an access or refresh token or to use a refresh token to obtain a new access token.
|
|
607
576
|
:param pulumi.Input[str] oauth_allow_non_tls_redirect_uri: If true, allows setting oauth*redirect*uri to a URI not protected by TLS. 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.
|
|
608
577
|
:param pulumi.Input[str] oauth_client_type: Specifies the type of client being registered. Snowflake supports both confidential and public clients. Valid options are: `PUBLIC` | `CONFIDENTIAL`.
|
|
@@ -620,53 +589,6 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
620
589
|
args: OauthIntegrationForCustomClientsArgs,
|
|
621
590
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
622
591
|
"""
|
|
623
|
-
!> **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.
|
|
624
|
-
|
|
625
|
-
Resource used to manage oauth security integration for custom clients objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-snowflake).
|
|
626
|
-
|
|
627
|
-
## Example Usage
|
|
628
|
-
|
|
629
|
-
```python
|
|
630
|
-
import pulumi
|
|
631
|
-
import pulumi_snowflake as snowflake
|
|
632
|
-
import pulumi_std as std
|
|
633
|
-
|
|
634
|
-
# basic resource
|
|
635
|
-
basic = snowflake.OauthIntegrationForCustomClients("basic",
|
|
636
|
-
name="saml_integration",
|
|
637
|
-
oauth_client_type="CONFIDENTIAL",
|
|
638
|
-
oauth_redirect_uri="https://example.com",
|
|
639
|
-
blocked_roles_lists=[
|
|
640
|
-
"ACCOUNTADMIN",
|
|
641
|
-
"SECURITYADMIN",
|
|
642
|
-
])
|
|
643
|
-
# resource with all fields set
|
|
644
|
-
complete = snowflake.OauthIntegrationForCustomClients("complete",
|
|
645
|
-
name="saml_integration",
|
|
646
|
-
oauth_client_type="CONFIDENTIAL",
|
|
647
|
-
oauth_redirect_uri="https://example.com",
|
|
648
|
-
enabled="true",
|
|
649
|
-
oauth_allow_non_tls_redirect_uri="true",
|
|
650
|
-
oauth_enforce_pkce="true",
|
|
651
|
-
oauth_use_secondary_roles="NONE",
|
|
652
|
-
pre_authorized_roles_lists=[
|
|
653
|
-
"role_id1",
|
|
654
|
-
"role_id2",
|
|
655
|
-
],
|
|
656
|
-
blocked_roles_lists=[
|
|
657
|
-
"ACCOUNTADMIN",
|
|
658
|
-
"SECURITYADMIN",
|
|
659
|
-
"role_id1",
|
|
660
|
-
"role_id2",
|
|
661
|
-
],
|
|
662
|
-
oauth_issue_refresh_tokens="true",
|
|
663
|
-
oauth_refresh_token_validity=87600,
|
|
664
|
-
network_policy="network_policy_id",
|
|
665
|
-
oauth_client_rsa_public_key=std.file(input="rsa.pub").result,
|
|
666
|
-
oauth_client_rsa_public_key2=std.file(input="rsa2.pub").result,
|
|
667
|
-
comment="my oauth integration")
|
|
668
|
-
```
|
|
669
|
-
|
|
670
592
|
## Import
|
|
671
593
|
|
|
672
594
|
```sh
|
|
@@ -734,6 +656,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
734
656
|
__props__.__dict__["oauth_use_secondary_roles"] = oauth_use_secondary_roles
|
|
735
657
|
__props__.__dict__["pre_authorized_roles_lists"] = pre_authorized_roles_lists
|
|
736
658
|
__props__.__dict__["describe_outputs"] = None
|
|
659
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
737
660
|
__props__.__dict__["show_outputs"] = None
|
|
738
661
|
super(OauthIntegrationForCustomClients, __self__).__init__(
|
|
739
662
|
'snowflake:index/oauthIntegrationForCustomClients:OauthIntegrationForCustomClients',
|
|
@@ -747,8 +670,9 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
747
670
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
748
671
|
blocked_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
749
672
|
comment: Optional[pulumi.Input[str]] = None,
|
|
750
|
-
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
673
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForCustomClientsDescribeOutputArgs', 'OauthIntegrationForCustomClientsDescribeOutputArgsDict']]]]] = None,
|
|
751
674
|
enabled: Optional[pulumi.Input[str]] = None,
|
|
675
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
752
676
|
name: Optional[pulumi.Input[str]] = None,
|
|
753
677
|
network_policy: Optional[pulumi.Input[str]] = None,
|
|
754
678
|
oauth_allow_non_tls_redirect_uri: Optional[pulumi.Input[str]] = None,
|
|
@@ -761,7 +685,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
761
685
|
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
762
686
|
oauth_use_secondary_roles: Optional[pulumi.Input[str]] = None,
|
|
763
687
|
pre_authorized_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
764
|
-
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
688
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForCustomClientsShowOutputArgs', 'OauthIntegrationForCustomClientsShowOutputArgsDict']]]]] = None) -> 'OauthIntegrationForCustomClients':
|
|
765
689
|
"""
|
|
766
690
|
Get an existing OauthIntegrationForCustomClients resource's state with the given name, id, and optional extra
|
|
767
691
|
properties used to qualify the lookup.
|
|
@@ -771,9 +695,10 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
771
695
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
772
696
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_roles_lists: A set of Snowflake roles that a user cannot explicitly consent to using after authenticating.
|
|
773
697
|
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
|
|
774
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
698
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForCustomClientsDescribeOutputArgs', 'OauthIntegrationForCustomClientsDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
|
|
775
699
|
:param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. 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.
|
|
776
|
-
:param pulumi.Input[str]
|
|
700
|
+
: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).
|
|
701
|
+
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
777
702
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy. This network policy controls network traffic that is attempting to exchange an authorization code for an access or refresh token or to use a refresh token to obtain a new access token.
|
|
778
703
|
:param pulumi.Input[str] oauth_allow_non_tls_redirect_uri: If true, allows setting oauth*redirect*uri to a URI not protected by TLS. 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.
|
|
779
704
|
:param pulumi.Input[str] oauth_client_type: Specifies the type of client being registered. Snowflake supports both confidential and public clients. Valid options are: `PUBLIC` | `CONFIDENTIAL`.
|
|
@@ -783,7 +708,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
783
708
|
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
|
|
784
709
|
:param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened. Valid options are: `IMPLICIT` | `NONE`.
|
|
785
710
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] pre_authorized_roles_lists: A set of Snowflake roles that a user does not need to explicitly consent to using after authenticating.
|
|
786
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
711
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForCustomClientsShowOutputArgs', 'OauthIntegrationForCustomClientsShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATION` for the given integration.
|
|
787
712
|
"""
|
|
788
713
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
789
714
|
|
|
@@ -793,6 +718,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
793
718
|
__props__.__dict__["comment"] = comment
|
|
794
719
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
795
720
|
__props__.__dict__["enabled"] = enabled
|
|
721
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
796
722
|
__props__.__dict__["name"] = name
|
|
797
723
|
__props__.__dict__["network_policy"] = network_policy
|
|
798
724
|
__props__.__dict__["oauth_allow_non_tls_redirect_uri"] = oauth_allow_non_tls_redirect_uri
|
|
@@ -840,11 +766,19 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
840
766
|
"""
|
|
841
767
|
return pulumi.get(self, "enabled")
|
|
842
768
|
|
|
769
|
+
@property
|
|
770
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
771
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
772
|
+
"""
|
|
773
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
774
|
+
"""
|
|
775
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
776
|
+
|
|
843
777
|
@property
|
|
844
778
|
@pulumi.getter
|
|
845
779
|
def name(self) -> pulumi.Output[str]:
|
|
846
780
|
"""
|
|
847
|
-
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
781
|
+
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
848
782
|
"""
|
|
849
783
|
return pulumi.get(self, "name")
|
|
850
784
|
|
|
@@ -31,7 +31,7 @@ class OauthIntegrationForPartnerApplicationsArgs:
|
|
|
31
31
|
:param pulumi.Input[str] oauth_client: Creates an OAuth interface between Snowflake and a partner application. Valid options are: `LOOKER` | `TABLEAU_DESKTOP` | `TABLEAU_SERVER`.
|
|
32
32
|
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
|
|
33
33
|
:param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. 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.
|
|
34
|
-
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
34
|
+
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
35
35
|
:param pulumi.Input[str] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired. 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.
|
|
36
36
|
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
|
|
37
37
|
:param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened. Valid options are: `IMPLICIT` | `NONE`.
|
|
@@ -105,7 +105,7 @@ class OauthIntegrationForPartnerApplicationsArgs:
|
|
|
105
105
|
@pulumi.getter
|
|
106
106
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
107
107
|
"""
|
|
108
|
-
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
108
|
+
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
109
109
|
"""
|
|
110
110
|
return pulumi.get(self, "name")
|
|
111
111
|
|
|
@@ -166,6 +166,7 @@ class _OauthIntegrationForPartnerApplicationsState:
|
|
|
166
166
|
comment: Optional[pulumi.Input[str]] = None,
|
|
167
167
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['OauthIntegrationForPartnerApplicationsDescribeOutputArgs']]]] = None,
|
|
168
168
|
enabled: Optional[pulumi.Input[str]] = None,
|
|
169
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
169
170
|
name: Optional[pulumi.Input[str]] = None,
|
|
170
171
|
oauth_client: Optional[pulumi.Input[str]] = None,
|
|
171
172
|
oauth_issue_refresh_tokens: Optional[pulumi.Input[str]] = None,
|
|
@@ -179,7 +180,8 @@ class _OauthIntegrationForPartnerApplicationsState:
|
|
|
179
180
|
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
|
|
180
181
|
:param pulumi.Input[Sequence[pulumi.Input['OauthIntegrationForPartnerApplicationsDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
|
|
181
182
|
:param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. 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.
|
|
182
|
-
:param pulumi.Input[str]
|
|
183
|
+
: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).
|
|
184
|
+
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
183
185
|
:param pulumi.Input[str] oauth_client: Creates an OAuth interface between Snowflake and a partner application. Valid options are: `LOOKER` | `TABLEAU_DESKTOP` | `TABLEAU_SERVER`.
|
|
184
186
|
:param pulumi.Input[str] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired. 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.
|
|
185
187
|
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
|
|
@@ -194,6 +196,8 @@ class _OauthIntegrationForPartnerApplicationsState:
|
|
|
194
196
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
195
197
|
if enabled is not None:
|
|
196
198
|
pulumi.set(__self__, "enabled", enabled)
|
|
199
|
+
if fully_qualified_name is not None:
|
|
200
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
197
201
|
if name is not None:
|
|
198
202
|
pulumi.set(__self__, "name", name)
|
|
199
203
|
if oauth_client is not None:
|
|
@@ -257,11 +261,23 @@ class _OauthIntegrationForPartnerApplicationsState:
|
|
|
257
261
|
def enabled(self, value: Optional[pulumi.Input[str]]):
|
|
258
262
|
pulumi.set(self, "enabled", value)
|
|
259
263
|
|
|
264
|
+
@property
|
|
265
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
266
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
267
|
+
"""
|
|
268
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
269
|
+
"""
|
|
270
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
271
|
+
|
|
272
|
+
@fully_qualified_name.setter
|
|
273
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
274
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
275
|
+
|
|
260
276
|
@property
|
|
261
277
|
@pulumi.getter
|
|
262
278
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
263
279
|
"""
|
|
264
|
-
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
280
|
+
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
265
281
|
"""
|
|
266
282
|
return pulumi.get(self, "name")
|
|
267
283
|
|
|
@@ -355,10 +371,6 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
|
|
|
355
371
|
oauth_use_secondary_roles: Optional[pulumi.Input[str]] = None,
|
|
356
372
|
__props__=None):
|
|
357
373
|
"""
|
|
358
|
-
!> **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.
|
|
359
|
-
|
|
360
|
-
Resource used to manage oauth security integration for partner applications objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-snowflake).
|
|
361
|
-
|
|
362
374
|
## Import
|
|
363
375
|
|
|
364
376
|
```sh
|
|
@@ -370,7 +382,7 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
|
|
|
370
382
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_roles_lists: A set of Snowflake roles that a user cannot explicitly consent to using after authenticating.
|
|
371
383
|
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
|
|
372
384
|
:param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. 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.
|
|
373
|
-
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
385
|
+
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
374
386
|
:param pulumi.Input[str] oauth_client: Creates an OAuth interface between Snowflake and a partner application. Valid options are: `LOOKER` | `TABLEAU_DESKTOP` | `TABLEAU_SERVER`.
|
|
375
387
|
:param pulumi.Input[str] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired. 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.
|
|
376
388
|
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
|
|
@@ -383,10 +395,6 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
|
|
|
383
395
|
args: OauthIntegrationForPartnerApplicationsArgs,
|
|
384
396
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
385
397
|
"""
|
|
386
|
-
!> **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.
|
|
387
|
-
|
|
388
|
-
Resource used to manage oauth security integration for partner applications objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-snowflake).
|
|
389
|
-
|
|
390
398
|
## Import
|
|
391
399
|
|
|
392
400
|
```sh
|
|
@@ -440,6 +448,7 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
|
|
|
440
448
|
__props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
|
|
441
449
|
__props__.__dict__["oauth_use_secondary_roles"] = oauth_use_secondary_roles
|
|
442
450
|
__props__.__dict__["describe_outputs"] = None
|
|
451
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
443
452
|
__props__.__dict__["show_outputs"] = None
|
|
444
453
|
super(OauthIntegrationForPartnerApplications, __self__).__init__(
|
|
445
454
|
'snowflake:index/oauthIntegrationForPartnerApplications:OauthIntegrationForPartnerApplications',
|
|
@@ -453,15 +462,16 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
|
|
|
453
462
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
454
463
|
blocked_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
455
464
|
comment: Optional[pulumi.Input[str]] = None,
|
|
456
|
-
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
465
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForPartnerApplicationsDescribeOutputArgs', 'OauthIntegrationForPartnerApplicationsDescribeOutputArgsDict']]]]] = None,
|
|
457
466
|
enabled: Optional[pulumi.Input[str]] = None,
|
|
467
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
458
468
|
name: Optional[pulumi.Input[str]] = None,
|
|
459
469
|
oauth_client: Optional[pulumi.Input[str]] = None,
|
|
460
470
|
oauth_issue_refresh_tokens: Optional[pulumi.Input[str]] = None,
|
|
461
471
|
oauth_redirect_uri: Optional[pulumi.Input[str]] = None,
|
|
462
472
|
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
463
473
|
oauth_use_secondary_roles: Optional[pulumi.Input[str]] = None,
|
|
464
|
-
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
474
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForPartnerApplicationsShowOutputArgs', 'OauthIntegrationForPartnerApplicationsShowOutputArgsDict']]]]] = None) -> 'OauthIntegrationForPartnerApplications':
|
|
465
475
|
"""
|
|
466
476
|
Get an existing OauthIntegrationForPartnerApplications resource's state with the given name, id, and optional extra
|
|
467
477
|
properties used to qualify the lookup.
|
|
@@ -471,14 +481,15 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
|
|
|
471
481
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
472
482
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_roles_lists: A set of Snowflake roles that a user cannot explicitly consent to using after authenticating.
|
|
473
483
|
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
|
|
474
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
484
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForPartnerApplicationsDescribeOutputArgs', 'OauthIntegrationForPartnerApplicationsDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
|
|
475
485
|
:param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. 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.
|
|
476
|
-
:param pulumi.Input[str]
|
|
486
|
+
: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).
|
|
487
|
+
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
477
488
|
:param pulumi.Input[str] oauth_client: Creates an OAuth interface between Snowflake and a partner application. Valid options are: `LOOKER` | `TABLEAU_DESKTOP` | `TABLEAU_SERVER`.
|
|
478
489
|
:param pulumi.Input[str] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired. 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.
|
|
479
490
|
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
|
|
480
491
|
:param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened. Valid options are: `IMPLICIT` | `NONE`.
|
|
481
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
492
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForPartnerApplicationsShowOutputArgs', 'OauthIntegrationForPartnerApplicationsShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATION` for the given integration.
|
|
482
493
|
"""
|
|
483
494
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
484
495
|
|
|
@@ -488,6 +499,7 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
|
|
|
488
499
|
__props__.__dict__["comment"] = comment
|
|
489
500
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
490
501
|
__props__.__dict__["enabled"] = enabled
|
|
502
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
491
503
|
__props__.__dict__["name"] = name
|
|
492
504
|
__props__.__dict__["oauth_client"] = oauth_client
|
|
493
505
|
__props__.__dict__["oauth_issue_refresh_tokens"] = oauth_issue_refresh_tokens
|
|
@@ -529,11 +541,19 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
|
|
|
529
541
|
"""
|
|
530
542
|
return pulumi.get(self, "enabled")
|
|
531
543
|
|
|
544
|
+
@property
|
|
545
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
546
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
547
|
+
"""
|
|
548
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
549
|
+
"""
|
|
550
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
551
|
+
|
|
532
552
|
@property
|
|
533
553
|
@pulumi.getter
|
|
534
554
|
def name(self) -> pulumi.Output[str]:
|
|
535
555
|
"""
|
|
536
|
-
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
556
|
+
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
537
557
|
"""
|
|
538
558
|
return pulumi.get(self, "name")
|
|
539
559
|
|
|
@@ -193,61 +193,12 @@ class ObjectParameter(pulumi.CustomResource):
|
|
|
193
193
|
resource_name: str,
|
|
194
194
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
195
195
|
key: Optional[pulumi.Input[str]] = None,
|
|
196
|
-
object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
196
|
+
object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObjectParameterObjectIdentifierArgs', 'ObjectParameterObjectIdentifierArgsDict']]]]] = None,
|
|
197
197
|
object_type: Optional[pulumi.Input[str]] = None,
|
|
198
198
|
on_account: Optional[pulumi.Input[bool]] = None,
|
|
199
199
|
value: Optional[pulumi.Input[str]] = None,
|
|
200
200
|
__props__=None):
|
|
201
201
|
"""
|
|
202
|
-
## Example Usage
|
|
203
|
-
|
|
204
|
-
```python
|
|
205
|
-
import pulumi
|
|
206
|
-
import pulumi_snowflake as snowflake
|
|
207
|
-
|
|
208
|
-
d = snowflake.Database("d", name="TEST_DB")
|
|
209
|
-
o = snowflake.ObjectParameter("o",
|
|
210
|
-
key="SUSPEND_TASK_AFTER_NUM_FAILURES",
|
|
211
|
-
value="33",
|
|
212
|
-
object_type="DATABASE",
|
|
213
|
-
object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
|
|
214
|
-
name=d.name,
|
|
215
|
-
)])
|
|
216
|
-
s = snowflake.Schema("s",
|
|
217
|
-
name="TEST_SCHEMA",
|
|
218
|
-
database=d.name)
|
|
219
|
-
o2 = snowflake.ObjectParameter("o2",
|
|
220
|
-
key="USER_TASK_TIMEOUT_MS",
|
|
221
|
-
value="500",
|
|
222
|
-
object_type="SCHEMA",
|
|
223
|
-
object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
|
|
224
|
-
database=d.name,
|
|
225
|
-
name=s.name,
|
|
226
|
-
)])
|
|
227
|
-
t = snowflake.Table("t",
|
|
228
|
-
name="TEST_TABLE",
|
|
229
|
-
database=d.name,
|
|
230
|
-
schema=s.name,
|
|
231
|
-
columns=[snowflake.TableColumnArgs(
|
|
232
|
-
name="id",
|
|
233
|
-
type="NUMBER",
|
|
234
|
-
)])
|
|
235
|
-
o3 = snowflake.ObjectParameter("o3",
|
|
236
|
-
key="DATA_RETENTION_TIME_IN_DAYS",
|
|
237
|
-
value="89",
|
|
238
|
-
object_type="TABLE",
|
|
239
|
-
object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
|
|
240
|
-
database=d.name,
|
|
241
|
-
schema=s.name,
|
|
242
|
-
name=t.name,
|
|
243
|
-
)])
|
|
244
|
-
# Setting object parameter at account level
|
|
245
|
-
o4 = snowflake.ObjectParameter("o4",
|
|
246
|
-
key="DATA_RETENTION_TIME_IN_DAYS",
|
|
247
|
-
value="89",
|
|
248
|
-
on_account=True)
|
|
249
|
-
```
|
|
250
|
-
|
|
251
202
|
## Import
|
|
252
203
|
|
|
253
204
|
```sh
|
|
@@ -257,7 +208,7 @@ class ObjectParameter(pulumi.CustomResource):
|
|
|
257
208
|
:param str resource_name: The name of the resource.
|
|
258
209
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
259
210
|
:param pulumi.Input[str] key: Name of object parameter. Valid values are those in [object parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#object-parameters).
|
|
260
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
211
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ObjectParameterObjectIdentifierArgs', 'ObjectParameterObjectIdentifierArgsDict']]]] object_identifiers: Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
|
|
261
212
|
:param pulumi.Input[str] object_type: Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types). If no value is provided, then the resource will default to setting the object parameter at account level.
|
|
262
213
|
:param pulumi.Input[bool] on_account: If true, the object parameter will be set on the account level.
|
|
263
214
|
:param pulumi.Input[str] value: Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
|
|
@@ -269,55 +220,6 @@ class ObjectParameter(pulumi.CustomResource):
|
|
|
269
220
|
args: ObjectParameterArgs,
|
|
270
221
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
271
222
|
"""
|
|
272
|
-
## Example Usage
|
|
273
|
-
|
|
274
|
-
```python
|
|
275
|
-
import pulumi
|
|
276
|
-
import pulumi_snowflake as snowflake
|
|
277
|
-
|
|
278
|
-
d = snowflake.Database("d", name="TEST_DB")
|
|
279
|
-
o = snowflake.ObjectParameter("o",
|
|
280
|
-
key="SUSPEND_TASK_AFTER_NUM_FAILURES",
|
|
281
|
-
value="33",
|
|
282
|
-
object_type="DATABASE",
|
|
283
|
-
object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
|
|
284
|
-
name=d.name,
|
|
285
|
-
)])
|
|
286
|
-
s = snowflake.Schema("s",
|
|
287
|
-
name="TEST_SCHEMA",
|
|
288
|
-
database=d.name)
|
|
289
|
-
o2 = snowflake.ObjectParameter("o2",
|
|
290
|
-
key="USER_TASK_TIMEOUT_MS",
|
|
291
|
-
value="500",
|
|
292
|
-
object_type="SCHEMA",
|
|
293
|
-
object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
|
|
294
|
-
database=d.name,
|
|
295
|
-
name=s.name,
|
|
296
|
-
)])
|
|
297
|
-
t = snowflake.Table("t",
|
|
298
|
-
name="TEST_TABLE",
|
|
299
|
-
database=d.name,
|
|
300
|
-
schema=s.name,
|
|
301
|
-
columns=[snowflake.TableColumnArgs(
|
|
302
|
-
name="id",
|
|
303
|
-
type="NUMBER",
|
|
304
|
-
)])
|
|
305
|
-
o3 = snowflake.ObjectParameter("o3",
|
|
306
|
-
key="DATA_RETENTION_TIME_IN_DAYS",
|
|
307
|
-
value="89",
|
|
308
|
-
object_type="TABLE",
|
|
309
|
-
object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
|
|
310
|
-
database=d.name,
|
|
311
|
-
schema=s.name,
|
|
312
|
-
name=t.name,
|
|
313
|
-
)])
|
|
314
|
-
# Setting object parameter at account level
|
|
315
|
-
o4 = snowflake.ObjectParameter("o4",
|
|
316
|
-
key="DATA_RETENTION_TIME_IN_DAYS",
|
|
317
|
-
value="89",
|
|
318
|
-
on_account=True)
|
|
319
|
-
```
|
|
320
|
-
|
|
321
223
|
## Import
|
|
322
224
|
|
|
323
225
|
```sh
|
|
@@ -340,7 +242,7 @@ class ObjectParameter(pulumi.CustomResource):
|
|
|
340
242
|
resource_name: str,
|
|
341
243
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
342
244
|
key: Optional[pulumi.Input[str]] = None,
|
|
343
|
-
object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
245
|
+
object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObjectParameterObjectIdentifierArgs', 'ObjectParameterObjectIdentifierArgsDict']]]]] = None,
|
|
344
246
|
object_type: Optional[pulumi.Input[str]] = None,
|
|
345
247
|
on_account: Optional[pulumi.Input[bool]] = None,
|
|
346
248
|
value: Optional[pulumi.Input[str]] = None,
|
|
@@ -373,7 +275,7 @@ class ObjectParameter(pulumi.CustomResource):
|
|
|
373
275
|
id: pulumi.Input[str],
|
|
374
276
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
375
277
|
key: Optional[pulumi.Input[str]] = None,
|
|
376
|
-
object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
278
|
+
object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObjectParameterObjectIdentifierArgs', 'ObjectParameterObjectIdentifierArgsDict']]]]] = None,
|
|
377
279
|
object_type: Optional[pulumi.Input[str]] = None,
|
|
378
280
|
on_account: Optional[pulumi.Input[bool]] = None,
|
|
379
281
|
value: Optional[pulumi.Input[str]] = None) -> 'ObjectParameter':
|
|
@@ -385,7 +287,7 @@ class ObjectParameter(pulumi.CustomResource):
|
|
|
385
287
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
386
288
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
387
289
|
:param pulumi.Input[str] key: Name of object parameter. Valid values are those in [object parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#object-parameters).
|
|
388
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
290
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ObjectParameterObjectIdentifierArgs', 'ObjectParameterObjectIdentifierArgsDict']]]] object_identifiers: Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
|
|
389
291
|
:param pulumi.Input[str] object_type: Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types). If no value is provided, then the resource will default to setting the object parameter at account level.
|
|
390
292
|
:param pulumi.Input[bool] on_account: If true, the object parameter will be set on the account level.
|
|
391
293
|
:param pulumi.Input[str] value: Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
|