pulumi-snowflake 0.58.0a1726035035__py3-none-any.whl → 0.59.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.
- pulumi_snowflake/_inputs.py +8587 -2022
- 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 +41 -36
- pulumi_snowflake/alert.py +28 -40
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +35 -15
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +35 -15
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +35 -15
- pulumi_snowflake/api_integration.py +28 -54
- pulumi_snowflake/cortex_search_service.py +28 -76
- pulumi_snowflake/database.py +82 -15
- pulumi_snowflake/database_old.py +0 -72
- pulumi_snowflake/database_role.py +76 -42
- pulumi_snowflake/dynamic_table.py +28 -38
- pulumi_snowflake/email_notification_integration.py +28 -26
- pulumi_snowflake/external_function.py +28 -52
- pulumi_snowflake/external_oauth_integration.py +35 -15
- pulumi_snowflake/external_table.py +28 -48
- pulumi_snowflake/failover_group.py +28 -72
- pulumi_snowflake/file_format.py +28 -26
- pulumi_snowflake/function.py +28 -4
- pulumi_snowflake/get_database_roles.py +63 -36
- pulumi_snowflake/get_masking_policies.py +73 -48
- pulumi_snowflake/get_resource_monitors.py +28 -16
- pulumi_snowflake/get_row_access_policies.py +73 -48
- pulumi_snowflake/get_users.py +96 -33
- pulumi_snowflake/get_views.py +94 -51
- 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_privileges_to_account_role.py +4 -4
- pulumi_snowflake/grant_privileges_to_database_role.py +6 -2
- pulumi_snowflake/grant_privileges_to_share.py +49 -2
- pulumi_snowflake/managed_account.py +28 -4
- pulumi_snowflake/masking_policy.py +208 -306
- pulumi_snowflake/materialized_view.py +28 -34
- pulumi_snowflake/network_policy.py +35 -15
- 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 +35 -101
- pulumi_snowflake/oauth_integration_for_partner_applications.py +35 -15
- pulumi_snowflake/object_parameter.py +0 -98
- pulumi_snowflake/outputs.py +13035 -4202
- pulumi_snowflake/password_policy.py +28 -28
- pulumi_snowflake/pipe.py +28 -4
- pulumi_snowflake/procedure.py +28 -4
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +111 -307
- pulumi_snowflake/role.py +41 -36
- pulumi_snowflake/row_access_policy.py +195 -147
- pulumi_snowflake/saml2_integration.py +35 -15
- pulumi_snowflake/saml_integration.py +0 -34
- pulumi_snowflake/schema.py +39 -19
- pulumi_snowflake/scim_integration.py +35 -15
- 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 +28 -28
- pulumi_snowflake/storage_integration.py +28 -4
- pulumi_snowflake/stream.py +28 -4
- pulumi_snowflake/streamlit.py +36 -16
- pulumi_snowflake/table.py +28 -32
- pulumi_snowflake/table_column_masking_policy_application.py +2 -14
- pulumi_snowflake/table_constraint.py +0 -152
- pulumi_snowflake/tag.py +28 -40
- pulumi_snowflake/tag_association.py +0 -120
- 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 -46
- pulumi_snowflake/view.py +465 -185
- pulumi_snowflake/warehouse.py +39 -43
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.59.0.dist-info}/METADATA +1 -1
- pulumi_snowflake-0.59.0.dist-info/RECORD +129 -0
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.59.0.dist-info}/WHEEL +1 -1
- pulumi_snowflake-0.58.0a1726035035.dist-info/RECORD +0 -129
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.59.0.dist-info}/top_level.txt +0 -0
|
@@ -267,6 +267,7 @@ class _NotificationIntegrationState:
|
|
|
267
267
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
268
268
|
direction: Optional[pulumi.Input[str]] = None,
|
|
269
269
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
270
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
270
271
|
gcp_pubsub_service_account: Optional[pulumi.Input[str]] = None,
|
|
271
272
|
gcp_pubsub_subscription_name: Optional[pulumi.Input[str]] = None,
|
|
272
273
|
gcp_pubsub_topic_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -288,6 +289,7 @@ class _NotificationIntegrationState:
|
|
|
288
289
|
:param pulumi.Input[str] comment: A comment for the integration
|
|
289
290
|
:param pulumi.Input[str] created_on: Date and time when the notification integration was created.
|
|
290
291
|
:param pulumi.Input[str] direction: Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
292
|
+
: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).
|
|
291
293
|
:param pulumi.Input[str] gcp_pubsub_service_account: The GCP service account identifier that Snowflake will use when assuming the GCP role
|
|
292
294
|
:param pulumi.Input[str] gcp_pubsub_subscription_name: The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
|
|
293
295
|
:param pulumi.Input[str] gcp_pubsub_topic_name: The topic id that Snowflake will use to push notifications.
|
|
@@ -337,6 +339,8 @@ class _NotificationIntegrationState:
|
|
|
337
339
|
pulumi.set(__self__, "direction", direction)
|
|
338
340
|
if enabled is not None:
|
|
339
341
|
pulumi.set(__self__, "enabled", enabled)
|
|
342
|
+
if fully_qualified_name is not None:
|
|
343
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
340
344
|
if gcp_pubsub_service_account is not None:
|
|
341
345
|
pulumi.set(__self__, "gcp_pubsub_service_account", gcp_pubsub_service_account)
|
|
342
346
|
if gcp_pubsub_subscription_name is not None:
|
|
@@ -523,6 +527,18 @@ class _NotificationIntegrationState:
|
|
|
523
527
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
524
528
|
pulumi.set(self, "enabled", value)
|
|
525
529
|
|
|
530
|
+
@property
|
|
531
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
532
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
533
|
+
"""
|
|
534
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
535
|
+
"""
|
|
536
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
537
|
+
|
|
538
|
+
@fully_qualified_name.setter
|
|
539
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
540
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
541
|
+
|
|
526
542
|
@property
|
|
527
543
|
@pulumi.getter(name="gcpPubsubServiceAccount")
|
|
528
544
|
def gcp_pubsub_service_account(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -615,23 +631,6 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
615
631
|
type: Optional[pulumi.Input[str]] = None,
|
|
616
632
|
__props__=None):
|
|
617
633
|
"""
|
|
618
|
-
## Example Usage
|
|
619
|
-
|
|
620
|
-
```python
|
|
621
|
-
import pulumi
|
|
622
|
-
import pulumi_snowflake as snowflake
|
|
623
|
-
|
|
624
|
-
integration = snowflake.NotificationIntegration("integration",
|
|
625
|
-
name="notification",
|
|
626
|
-
comment="A notification integration.",
|
|
627
|
-
enabled=True,
|
|
628
|
-
type="QUEUE",
|
|
629
|
-
direction="OUTBOUND",
|
|
630
|
-
notification_provider="AZURE_STORAGE_QUEUE",
|
|
631
|
-
azure_storage_queue_primary_uri="...",
|
|
632
|
-
azure_tenant_id="...")
|
|
633
|
-
```
|
|
634
|
-
|
|
635
634
|
## Import
|
|
636
635
|
|
|
637
636
|
```sh
|
|
@@ -660,23 +659,6 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
660
659
|
args: NotificationIntegrationArgs,
|
|
661
660
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
662
661
|
"""
|
|
663
|
-
## Example Usage
|
|
664
|
-
|
|
665
|
-
```python
|
|
666
|
-
import pulumi
|
|
667
|
-
import pulumi_snowflake as snowflake
|
|
668
|
-
|
|
669
|
-
integration = snowflake.NotificationIntegration("integration",
|
|
670
|
-
name="notification",
|
|
671
|
-
comment="A notification integration.",
|
|
672
|
-
enabled=True,
|
|
673
|
-
type="QUEUE",
|
|
674
|
-
direction="OUTBOUND",
|
|
675
|
-
notification_provider="AZURE_STORAGE_QUEUE",
|
|
676
|
-
azure_storage_queue_primary_uri="...",
|
|
677
|
-
azure_tenant_id="...")
|
|
678
|
-
```
|
|
679
|
-
|
|
680
662
|
## Import
|
|
681
663
|
|
|
682
664
|
```sh
|
|
@@ -742,6 +724,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
742
724
|
__props__.__dict__["aws_sqs_external_id"] = None
|
|
743
725
|
__props__.__dict__["aws_sqs_iam_user_arn"] = None
|
|
744
726
|
__props__.__dict__["created_on"] = None
|
|
727
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
745
728
|
__props__.__dict__["gcp_pubsub_service_account"] = None
|
|
746
729
|
super(NotificationIntegration, __self__).__init__(
|
|
747
730
|
'snowflake:index/notificationIntegration:NotificationIntegration',
|
|
@@ -767,6 +750,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
767
750
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
768
751
|
direction: Optional[pulumi.Input[str]] = None,
|
|
769
752
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
753
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
770
754
|
gcp_pubsub_service_account: Optional[pulumi.Input[str]] = None,
|
|
771
755
|
gcp_pubsub_subscription_name: Optional[pulumi.Input[str]] = None,
|
|
772
756
|
gcp_pubsub_topic_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -793,6 +777,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
793
777
|
:param pulumi.Input[str] comment: A comment for the integration
|
|
794
778
|
:param pulumi.Input[str] created_on: Date and time when the notification integration was created.
|
|
795
779
|
:param pulumi.Input[str] direction: Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
780
|
+
: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).
|
|
796
781
|
:param pulumi.Input[str] gcp_pubsub_service_account: The GCP service account identifier that Snowflake will use when assuming the GCP role
|
|
797
782
|
:param pulumi.Input[str] gcp_pubsub_subscription_name: The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
|
|
798
783
|
:param pulumi.Input[str] gcp_pubsub_topic_name: The topic id that Snowflake will use to push notifications.
|
|
@@ -817,6 +802,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
817
802
|
__props__.__dict__["created_on"] = created_on
|
|
818
803
|
__props__.__dict__["direction"] = direction
|
|
819
804
|
__props__.__dict__["enabled"] = enabled
|
|
805
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
820
806
|
__props__.__dict__["gcp_pubsub_service_account"] = gcp_pubsub_service_account
|
|
821
807
|
__props__.__dict__["gcp_pubsub_subscription_name"] = gcp_pubsub_subscription_name
|
|
822
808
|
__props__.__dict__["gcp_pubsub_topic_name"] = gcp_pubsub_topic_name
|
|
@@ -939,6 +925,14 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
939
925
|
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
940
926
|
return pulumi.get(self, "enabled")
|
|
941
927
|
|
|
928
|
+
@property
|
|
929
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
930
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
931
|
+
"""
|
|
932
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
933
|
+
"""
|
|
934
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
935
|
+
|
|
942
936
|
@property
|
|
943
937
|
@pulumi.getter(name="gcpPubsubServiceAccount")
|
|
944
938
|
def gcp_pubsub_service_account(self) -> pulumi.Output[str]:
|
|
@@ -379,23 +379,6 @@ class OauthIntegration(pulumi.CustomResource):
|
|
|
379
379
|
oauth_use_secondary_roles: Optional[pulumi.Input[str]] = None,
|
|
380
380
|
__props__=None):
|
|
381
381
|
"""
|
|
382
|
-
> **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use OauthIntegrationForCustomClients or OauthIntegrationForPartnerApplications instead. <deprecation>
|
|
383
|
-
|
|
384
|
-
## Example Usage
|
|
385
|
-
|
|
386
|
-
```python
|
|
387
|
-
import pulumi
|
|
388
|
-
import pulumi_snowflake as snowflake
|
|
389
|
-
|
|
390
|
-
tableau_desktop = snowflake.OauthIntegration("tableau_desktop",
|
|
391
|
-
name="TABLEAU_DESKTOP",
|
|
392
|
-
oauth_client="TABLEAU_DESKTOP",
|
|
393
|
-
enabled=True,
|
|
394
|
-
oauth_issue_refresh_tokens=True,
|
|
395
|
-
oauth_refresh_token_validity=3600,
|
|
396
|
-
blocked_roles_lists=["SYSADMIN"])
|
|
397
|
-
```
|
|
398
|
-
|
|
399
382
|
## Import
|
|
400
383
|
|
|
401
384
|
```sh
|
|
@@ -422,23 +405,6 @@ class OauthIntegration(pulumi.CustomResource):
|
|
|
422
405
|
args: OauthIntegrationArgs,
|
|
423
406
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
424
407
|
"""
|
|
425
|
-
> **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use OauthIntegrationForCustomClients or OauthIntegrationForPartnerApplications instead. <deprecation>
|
|
426
|
-
|
|
427
|
-
## Example Usage
|
|
428
|
-
|
|
429
|
-
```python
|
|
430
|
-
import pulumi
|
|
431
|
-
import pulumi_snowflake as snowflake
|
|
432
|
-
|
|
433
|
-
tableau_desktop = snowflake.OauthIntegration("tableau_desktop",
|
|
434
|
-
name="TABLEAU_DESKTOP",
|
|
435
|
-
oauth_client="TABLEAU_DESKTOP",
|
|
436
|
-
enabled=True,
|
|
437
|
-
oauth_issue_refresh_tokens=True,
|
|
438
|
-
oauth_refresh_token_validity=3600,
|
|
439
|
-
blocked_roles_lists=["SYSADMIN"])
|
|
440
|
-
```
|
|
441
|
-
|
|
442
408
|
## Import
|
|
443
409
|
|
|
444
410
|
```sh
|
|
@@ -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',
|
|
@@ -749,6 +672,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
749
672
|
comment: Optional[pulumi.Input[str]] = None,
|
|
750
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,
|
|
@@ -773,7 +697,8 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
|
|
|
773
697
|
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
|
|
774
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`.
|
|
@@ -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',
|
|
@@ -455,6 +464,7 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
|
|
|
455
464
|
comment: Optional[pulumi.Input[str]] = None,
|
|
456
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,
|
|
@@ -473,7 +483,8 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
|
|
|
473
483
|
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
|
|
474
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.
|
|
@@ -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
|
|