pulumi-snowflake 0.58.0__py3-none-any.whl → 0.58.0a1722527984__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 +125 -5857
- pulumi_snowflake/account.py +50 -28
- pulumi_snowflake/account_parameter.py +28 -0
- pulumi_snowflake/account_password_policy_attachment.py +30 -2
- pulumi_snowflake/account_role.py +32 -51
- pulumi_snowflake/alert.py +45 -33
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +19 -39
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +19 -39
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +19 -39
- pulumi_snowflake/api_integration.py +54 -28
- pulumi_snowflake/cortex_search_service.py +0 -28
- pulumi_snowflake/database.py +148 -97
- pulumi_snowflake/database_old.py +77 -5
- pulumi_snowflake/database_role.py +42 -76
- pulumi_snowflake/dynamic_table.py +43 -33
- pulumi_snowflake/email_notification_integration.py +26 -28
- pulumi_snowflake/external_function.py +62 -38
- pulumi_snowflake/external_oauth_integration.py +21 -41
- pulumi_snowflake/external_table.py +58 -38
- pulumi_snowflake/failover_group.py +82 -38
- pulumi_snowflake/file_format.py +26 -28
- pulumi_snowflake/function.py +9 -33
- pulumi_snowflake/get_cortex_search_services.py +16 -16
- pulumi_snowflake/get_database_roles.py +38 -61
- pulumi_snowflake/get_databases.py +6 -6
- pulumi_snowflake/get_dynamic_tables.py +12 -12
- pulumi_snowflake/get_grants.py +138 -138
- pulumi_snowflake/get_network_policies.py +2 -2
- pulumi_snowflake/get_roles.py +2 -2
- pulumi_snowflake/get_schemas.py +8 -12
- pulumi_snowflake/get_security_integrations.py +2 -2
- pulumi_snowflake/get_streamlits.py +10 -10
- pulumi_snowflake/get_users.py +33 -96
- pulumi_snowflake/get_views.py +53 -92
- pulumi_snowflake/get_warehouses.py +2 -2
- pulumi_snowflake/grant_account_role.py +4 -0
- pulumi_snowflake/grant_application_role.py +4 -0
- pulumi_snowflake/grant_database_role.py +4 -0
- pulumi_snowflake/grant_ownership.py +5 -5
- pulumi_snowflake/grant_privileges_to_account_role.py +15 -15
- pulumi_snowflake/grant_privileges_to_database_role.py +12 -16
- pulumi_snowflake/grant_privileges_to_share.py +0 -47
- pulumi_snowflake/managed_account.py +4 -28
- pulumi_snowflake/masking_policy.py +89 -33
- pulumi_snowflake/materialized_view.py +39 -33
- pulumi_snowflake/network_policy.py +49 -47
- pulumi_snowflake/network_policy_attachment.py +30 -0
- pulumi_snowflake/network_rule.py +66 -28
- pulumi_snowflake/notification_integration.py +34 -28
- pulumi_snowflake/oauth_integration.py +34 -0
- pulumi_snowflake/oauth_integration_for_custom_clients.py +105 -39
- pulumi_snowflake/oauth_integration_for_partner_applications.py +19 -39
- pulumi_snowflake/object_parameter.py +103 -5
- pulumi_snowflake/outputs.py +4207 -12013
- pulumi_snowflake/password_policy.py +28 -28
- pulumi_snowflake/pipe.py +4 -28
- pulumi_snowflake/procedure.py +9 -33
- pulumi_snowflake/provider.py +16 -16
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +48 -28
- pulumi_snowflake/role.py +32 -51
- pulumi_snowflake/row_access_policy.py +34 -28
- pulumi_snowflake/saml2_integration.py +19 -39
- pulumi_snowflake/saml_integration.py +34 -0
- pulumi_snowflake/schema.py +28 -52
- pulumi_snowflake/scim_integration.py +19 -39
- pulumi_snowflake/secondary_database.py +19 -35
- pulumi_snowflake/sequence.py +36 -4
- pulumi_snowflake/session_parameter.py +32 -0
- pulumi_snowflake/share.py +28 -28
- pulumi_snowflake/shared_database.py +15 -35
- pulumi_snowflake/stage.py +33 -33
- pulumi_snowflake/storage_integration.py +4 -28
- pulumi_snowflake/stream.py +4 -28
- pulumi_snowflake/streamlit.py +19 -39
- pulumi_snowflake/table.py +47 -43
- pulumi_snowflake/table_column_masking_policy_application.py +14 -2
- pulumi_snowflake/table_constraint.py +157 -5
- pulumi_snowflake/tag.py +40 -28
- pulumi_snowflake/tag_association.py +125 -5
- pulumi_snowflake/tag_masking_policy_association.py +4 -0
- pulumi_snowflake/task.py +92 -28
- pulumi_snowflake/unsafe_execute.py +20 -2
- pulumi_snowflake/user.py +373 -3346
- pulumi_snowflake/user_password_policy_attachment.py +36 -0
- pulumi_snowflake/view.py +185 -465
- pulumi_snowflake/warehouse.py +43 -39
- {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722527984.dist-info}/METADATA +1 -1
- pulumi_snowflake-0.58.0a1722527984.dist-info/RECORD +129 -0
- {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722527984.dist-info}/WHEEL +1 -1
- pulumi_snowflake-0.58.0.dist-info/RECORD +0 -129
- {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722527984.dist-info}/top_level.txt +0 -0
|
@@ -33,7 +33,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs:
|
|
|
33
33
|
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
34
34
|
:param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
35
35
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
36
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
36
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
37
37
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
38
38
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
39
39
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
@@ -113,7 +113,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs:
|
|
|
113
113
|
@pulumi.getter
|
|
114
114
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
115
115
|
"""
|
|
116
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
116
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
117
117
|
"""
|
|
118
118
|
return pulumi.get(self, "name")
|
|
119
119
|
|
|
@@ -200,7 +200,6 @@ class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
|
200
200
|
comment: Optional[pulumi.Input[str]] = None,
|
|
201
201
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs']]]] = None,
|
|
202
202
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
203
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
204
203
|
name: Optional[pulumi.Input[str]] = None,
|
|
205
204
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
206
205
|
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -216,8 +215,7 @@ class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
|
216
215
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
217
216
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
218
217
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
219
|
-
:param pulumi.Input[str]
|
|
220
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
218
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
221
219
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
222
220
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
223
221
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
@@ -234,8 +232,6 @@ class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
|
234
232
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
235
233
|
if enabled is not None:
|
|
236
234
|
pulumi.set(__self__, "enabled", enabled)
|
|
237
|
-
if fully_qualified_name is not None:
|
|
238
|
-
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
239
235
|
if name is not None:
|
|
240
236
|
pulumi.set(__self__, "name", name)
|
|
241
237
|
if oauth_access_token_validity is not None:
|
|
@@ -293,23 +289,11 @@ class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
|
293
289
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
294
290
|
pulumi.set(self, "enabled", value)
|
|
295
291
|
|
|
296
|
-
@property
|
|
297
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
298
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
299
|
-
"""
|
|
300
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
301
|
-
"""
|
|
302
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
303
|
-
|
|
304
|
-
@fully_qualified_name.setter
|
|
305
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
306
|
-
pulumi.set(self, "fully_qualified_name", value)
|
|
307
|
-
|
|
308
292
|
@property
|
|
309
293
|
@pulumi.getter
|
|
310
294
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
311
295
|
"""
|
|
312
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
296
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
313
297
|
"""
|
|
314
298
|
return pulumi.get(self, "name")
|
|
315
299
|
|
|
@@ -444,6 +428,10 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
444
428
|
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
445
429
|
__props__=None):
|
|
446
430
|
"""
|
|
431
|
+
!> **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.
|
|
432
|
+
|
|
433
|
+
Resource used to manage api authentication security integration objects with authorization code grant. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
|
|
434
|
+
|
|
447
435
|
## Import
|
|
448
436
|
|
|
449
437
|
```sh
|
|
@@ -454,7 +442,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
454
442
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
455
443
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
456
444
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
457
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
445
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
458
446
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
459
447
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
460
448
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
@@ -471,6 +459,10 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
471
459
|
args: ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs,
|
|
472
460
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
473
461
|
"""
|
|
462
|
+
!> **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.
|
|
463
|
+
|
|
464
|
+
Resource used to manage api authentication security integration objects with authorization code grant. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
|
|
465
|
+
|
|
474
466
|
## Import
|
|
475
467
|
|
|
476
468
|
```sh
|
|
@@ -530,7 +522,6 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
530
522
|
__props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
|
|
531
523
|
__props__.__dict__["oauth_token_endpoint"] = oauth_token_endpoint
|
|
532
524
|
__props__.__dict__["describe_outputs"] = None
|
|
533
|
-
__props__.__dict__["fully_qualified_name"] = None
|
|
534
525
|
__props__.__dict__["show_outputs"] = None
|
|
535
526
|
super(ApiAuthenticationIntegrationWithAuthorizationCodeGrant, __self__).__init__(
|
|
536
527
|
'snowflake:index/apiAuthenticationIntegrationWithAuthorizationCodeGrant:ApiAuthenticationIntegrationWithAuthorizationCodeGrant',
|
|
@@ -543,9 +534,8 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
543
534
|
id: pulumi.Input[str],
|
|
544
535
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
545
536
|
comment: Optional[pulumi.Input[str]] = None,
|
|
546
|
-
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
537
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs']]]]] = None,
|
|
547
538
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
548
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
549
539
|
name: Optional[pulumi.Input[str]] = None,
|
|
550
540
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
551
541
|
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -555,7 +545,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
555
545
|
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
556
546
|
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
557
547
|
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
558
|
-
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
548
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgs']]]]] = None) -> 'ApiAuthenticationIntegrationWithAuthorizationCodeGrant':
|
|
559
549
|
"""
|
|
560
550
|
Get an existing ApiAuthenticationIntegrationWithAuthorizationCodeGrant resource's state with the given name, id, and optional extra
|
|
561
551
|
properties used to qualify the lookup.
|
|
@@ -564,10 +554,9 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
564
554
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
565
555
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
566
556
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
567
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
557
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
568
558
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
569
|
-
:param pulumi.Input[str]
|
|
570
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
559
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
571
560
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
572
561
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
573
562
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
@@ -576,7 +565,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
576
565
|
:param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
577
566
|
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
578
567
|
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
579
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
568
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
580
569
|
"""
|
|
581
570
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
582
571
|
|
|
@@ -585,7 +574,6 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
585
574
|
__props__.__dict__["comment"] = comment
|
|
586
575
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
587
576
|
__props__.__dict__["enabled"] = enabled
|
|
588
|
-
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
589
577
|
__props__.__dict__["name"] = name
|
|
590
578
|
__props__.__dict__["oauth_access_token_validity"] = oauth_access_token_validity
|
|
591
579
|
__props__.__dict__["oauth_allowed_scopes"] = oauth_allowed_scopes
|
|
@@ -622,19 +610,11 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
622
610
|
"""
|
|
623
611
|
return pulumi.get(self, "enabled")
|
|
624
612
|
|
|
625
|
-
@property
|
|
626
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
627
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
628
|
-
"""
|
|
629
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
630
|
-
"""
|
|
631
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
632
|
-
|
|
633
613
|
@property
|
|
634
614
|
@pulumi.getter
|
|
635
615
|
def name(self) -> pulumi.Output[str]:
|
|
636
616
|
"""
|
|
637
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
617
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
638
618
|
"""
|
|
639
619
|
return pulumi.get(self, "name")
|
|
640
620
|
|
|
@@ -32,7 +32,7 @@ class ApiAuthenticationIntegrationWithClientCredentialsArgs:
|
|
|
32
32
|
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
33
33
|
:param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
34
34
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
35
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
35
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
36
36
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
37
37
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
38
38
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
@@ -109,7 +109,7 @@ class ApiAuthenticationIntegrationWithClientCredentialsArgs:
|
|
|
109
109
|
@pulumi.getter
|
|
110
110
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
111
111
|
"""
|
|
112
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
112
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
113
113
|
"""
|
|
114
114
|
return pulumi.get(self, "name")
|
|
115
115
|
|
|
@@ -184,7 +184,6 @@ class _ApiAuthenticationIntegrationWithClientCredentialsState:
|
|
|
184
184
|
comment: Optional[pulumi.Input[str]] = None,
|
|
185
185
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgs']]]] = None,
|
|
186
186
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
187
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
188
187
|
name: Optional[pulumi.Input[str]] = None,
|
|
189
188
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
190
189
|
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -199,8 +198,7 @@ class _ApiAuthenticationIntegrationWithClientCredentialsState:
|
|
|
199
198
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
200
199
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
201
200
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
202
|
-
:param pulumi.Input[str]
|
|
203
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
201
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
204
202
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
205
203
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
206
204
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
@@ -216,8 +214,6 @@ class _ApiAuthenticationIntegrationWithClientCredentialsState:
|
|
|
216
214
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
217
215
|
if enabled is not None:
|
|
218
216
|
pulumi.set(__self__, "enabled", enabled)
|
|
219
|
-
if fully_qualified_name is not None:
|
|
220
|
-
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
221
217
|
if name is not None:
|
|
222
218
|
pulumi.set(__self__, "name", name)
|
|
223
219
|
if oauth_access_token_validity is not None:
|
|
@@ -273,23 +269,11 @@ class _ApiAuthenticationIntegrationWithClientCredentialsState:
|
|
|
273
269
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
274
270
|
pulumi.set(self, "enabled", value)
|
|
275
271
|
|
|
276
|
-
@property
|
|
277
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
278
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
279
|
-
"""
|
|
280
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
281
|
-
"""
|
|
282
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
283
|
-
|
|
284
|
-
@fully_qualified_name.setter
|
|
285
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
286
|
-
pulumi.set(self, "fully_qualified_name", value)
|
|
287
|
-
|
|
288
272
|
@property
|
|
289
273
|
@pulumi.getter
|
|
290
274
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
291
275
|
"""
|
|
292
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
276
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
293
277
|
"""
|
|
294
278
|
return pulumi.get(self, "name")
|
|
295
279
|
|
|
@@ -411,6 +395,10 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
411
395
|
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
412
396
|
__props__=None):
|
|
413
397
|
"""
|
|
398
|
+
!> **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.
|
|
399
|
+
|
|
400
|
+
Resource used to manage api authentication security integration objects with client credentials. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
|
|
401
|
+
|
|
414
402
|
## Import
|
|
415
403
|
|
|
416
404
|
```sh
|
|
@@ -421,7 +409,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
421
409
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
422
410
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
423
411
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
424
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
412
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
425
413
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
426
414
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
427
415
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
@@ -437,6 +425,10 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
437
425
|
args: ApiAuthenticationIntegrationWithClientCredentialsArgs,
|
|
438
426
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
439
427
|
"""
|
|
428
|
+
!> **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.
|
|
429
|
+
|
|
430
|
+
Resource used to manage api authentication security integration objects with client credentials. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
|
|
431
|
+
|
|
440
432
|
## Import
|
|
441
433
|
|
|
442
434
|
```sh
|
|
@@ -494,7 +486,6 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
494
486
|
__props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
|
|
495
487
|
__props__.__dict__["oauth_token_endpoint"] = oauth_token_endpoint
|
|
496
488
|
__props__.__dict__["describe_outputs"] = None
|
|
497
|
-
__props__.__dict__["fully_qualified_name"] = None
|
|
498
489
|
__props__.__dict__["show_outputs"] = None
|
|
499
490
|
super(ApiAuthenticationIntegrationWithClientCredentials, __self__).__init__(
|
|
500
491
|
'snowflake:index/apiAuthenticationIntegrationWithClientCredentials:ApiAuthenticationIntegrationWithClientCredentials',
|
|
@@ -507,9 +498,8 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
507
498
|
id: pulumi.Input[str],
|
|
508
499
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
509
500
|
comment: Optional[pulumi.Input[str]] = None,
|
|
510
|
-
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
501
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgs']]]]] = None,
|
|
511
502
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
512
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
513
503
|
name: Optional[pulumi.Input[str]] = None,
|
|
514
504
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
515
505
|
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -518,7 +508,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
518
508
|
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
519
509
|
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
520
510
|
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
521
|
-
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
511
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithClientCredentialsShowOutputArgs']]]]] = None) -> 'ApiAuthenticationIntegrationWithClientCredentials':
|
|
522
512
|
"""
|
|
523
513
|
Get an existing ApiAuthenticationIntegrationWithClientCredentials resource's state with the given name, id, and optional extra
|
|
524
514
|
properties used to qualify the lookup.
|
|
@@ -527,10 +517,9 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
527
517
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
528
518
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
529
519
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
530
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
520
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
531
521
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
532
|
-
:param pulumi.Input[str]
|
|
533
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
522
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
534
523
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
535
524
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
536
525
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
@@ -538,7 +527,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
538
527
|
:param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
539
528
|
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
540
529
|
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
541
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
530
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithClientCredentialsShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
542
531
|
"""
|
|
543
532
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
544
533
|
|
|
@@ -547,7 +536,6 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
547
536
|
__props__.__dict__["comment"] = comment
|
|
548
537
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
549
538
|
__props__.__dict__["enabled"] = enabled
|
|
550
|
-
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
551
539
|
__props__.__dict__["name"] = name
|
|
552
540
|
__props__.__dict__["oauth_access_token_validity"] = oauth_access_token_validity
|
|
553
541
|
__props__.__dict__["oauth_allowed_scopes"] = oauth_allowed_scopes
|
|
@@ -583,19 +571,11 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
583
571
|
"""
|
|
584
572
|
return pulumi.get(self, "enabled")
|
|
585
573
|
|
|
586
|
-
@property
|
|
587
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
588
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
589
|
-
"""
|
|
590
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
591
|
-
"""
|
|
592
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
593
|
-
|
|
594
574
|
@property
|
|
595
575
|
@pulumi.getter
|
|
596
576
|
def name(self) -> pulumi.Output[str]:
|
|
597
577
|
"""
|
|
598
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
578
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
599
579
|
"""
|
|
600
580
|
return pulumi.get(self, "name")
|
|
601
581
|
|
|
@@ -33,7 +33,7 @@ class ApiAuthenticationIntegrationWithJwtBearerArgs:
|
|
|
33
33
|
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
34
34
|
:param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
35
35
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
36
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
36
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
37
37
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
38
38
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
39
39
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
@@ -120,7 +120,7 @@ class ApiAuthenticationIntegrationWithJwtBearerArgs:
|
|
|
120
120
|
@pulumi.getter
|
|
121
121
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
122
122
|
"""
|
|
123
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
123
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
124
124
|
"""
|
|
125
125
|
return pulumi.get(self, "name")
|
|
126
126
|
|
|
@@ -195,7 +195,6 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
195
195
|
comment: Optional[pulumi.Input[str]] = None,
|
|
196
196
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]]] = None,
|
|
197
197
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
198
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
199
198
|
name: Optional[pulumi.Input[str]] = None,
|
|
200
199
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
201
200
|
oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
|
|
@@ -211,8 +210,7 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
211
210
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
212
211
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
213
212
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
214
|
-
:param pulumi.Input[str]
|
|
215
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
213
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
216
214
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
217
215
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
218
216
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
@@ -228,8 +226,6 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
228
226
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
229
227
|
if enabled is not None:
|
|
230
228
|
pulumi.set(__self__, "enabled", enabled)
|
|
231
|
-
if fully_qualified_name is not None:
|
|
232
|
-
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
233
229
|
if name is not None:
|
|
234
230
|
pulumi.set(__self__, "name", name)
|
|
235
231
|
if oauth_access_token_validity is not None:
|
|
@@ -287,23 +283,11 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
287
283
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
288
284
|
pulumi.set(self, "enabled", value)
|
|
289
285
|
|
|
290
|
-
@property
|
|
291
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
292
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
293
|
-
"""
|
|
294
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
295
|
-
"""
|
|
296
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
297
|
-
|
|
298
|
-
@fully_qualified_name.setter
|
|
299
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
300
|
-
pulumi.set(self, "fully_qualified_name", value)
|
|
301
|
-
|
|
302
286
|
@property
|
|
303
287
|
@pulumi.getter
|
|
304
288
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
305
289
|
"""
|
|
306
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
290
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
307
291
|
"""
|
|
308
292
|
return pulumi.get(self, "name")
|
|
309
293
|
|
|
@@ -435,6 +419,10 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
435
419
|
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
436
420
|
__props__=None):
|
|
437
421
|
"""
|
|
422
|
+
!> **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.
|
|
423
|
+
|
|
424
|
+
Resource used to manage api authentication security integration objects with jwt bearer. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
|
|
425
|
+
|
|
438
426
|
## Import
|
|
439
427
|
|
|
440
428
|
```sh
|
|
@@ -445,7 +433,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
445
433
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
446
434
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
447
435
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
448
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
436
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
449
437
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
450
438
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
451
439
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
@@ -461,6 +449,10 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
461
449
|
args: ApiAuthenticationIntegrationWithJwtBearerArgs,
|
|
462
450
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
463
451
|
"""
|
|
452
|
+
!> **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.
|
|
453
|
+
|
|
454
|
+
Resource used to manage api authentication security integration objects with jwt bearer. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
|
|
455
|
+
|
|
464
456
|
## Import
|
|
465
457
|
|
|
466
458
|
```sh
|
|
@@ -522,7 +514,6 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
522
514
|
__props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
|
|
523
515
|
__props__.__dict__["oauth_token_endpoint"] = oauth_token_endpoint
|
|
524
516
|
__props__.__dict__["describe_outputs"] = None
|
|
525
|
-
__props__.__dict__["fully_qualified_name"] = None
|
|
526
517
|
__props__.__dict__["show_outputs"] = None
|
|
527
518
|
super(ApiAuthenticationIntegrationWithJwtBearer, __self__).__init__(
|
|
528
519
|
'snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer',
|
|
@@ -535,9 +526,8 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
535
526
|
id: pulumi.Input[str],
|
|
536
527
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
537
528
|
comment: Optional[pulumi.Input[str]] = None,
|
|
538
|
-
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
529
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]]]] = None,
|
|
539
530
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
540
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
541
531
|
name: Optional[pulumi.Input[str]] = None,
|
|
542
532
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
543
533
|
oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
|
|
@@ -547,7 +537,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
547
537
|
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
548
538
|
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
549
539
|
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
550
|
-
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
540
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]]]] = None) -> 'ApiAuthenticationIntegrationWithJwtBearer':
|
|
551
541
|
"""
|
|
552
542
|
Get an existing ApiAuthenticationIntegrationWithJwtBearer resource's state with the given name, id, and optional extra
|
|
553
543
|
properties used to qualify the lookup.
|
|
@@ -556,10 +546,9 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
556
546
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
557
547
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
558
548
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
559
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
549
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
560
550
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
561
|
-
:param pulumi.Input[str]
|
|
562
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
551
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
563
552
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
564
553
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
565
554
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
@@ -567,7 +556,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
567
556
|
:param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
568
557
|
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
569
558
|
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
570
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
559
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
571
560
|
"""
|
|
572
561
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
573
562
|
|
|
@@ -576,7 +565,6 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
576
565
|
__props__.__dict__["comment"] = comment
|
|
577
566
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
578
567
|
__props__.__dict__["enabled"] = enabled
|
|
579
|
-
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
580
568
|
__props__.__dict__["name"] = name
|
|
581
569
|
__props__.__dict__["oauth_access_token_validity"] = oauth_access_token_validity
|
|
582
570
|
__props__.__dict__["oauth_assertion_issuer"] = oauth_assertion_issuer
|
|
@@ -613,19 +601,11 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
613
601
|
"""
|
|
614
602
|
return pulumi.get(self, "enabled")
|
|
615
603
|
|
|
616
|
-
@property
|
|
617
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
618
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
619
|
-
"""
|
|
620
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
621
|
-
"""
|
|
622
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
623
|
-
|
|
624
604
|
@property
|
|
625
605
|
@pulumi.getter
|
|
626
606
|
def name(self) -> pulumi.Output[str]:
|
|
627
607
|
"""
|
|
628
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
608
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
629
609
|
"""
|
|
630
610
|
return pulumi.get(self, "name")
|
|
631
611
|
|