pulumi-snowflake 0.58.0a1725948527__py3-none-any.whl → 0.58.0a1726066221__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/_inputs.py +5859 -127
- pulumi_snowflake/account.py +28 -50
- pulumi_snowflake/account_parameter.py +0 -28
- pulumi_snowflake/account_password_policy_attachment.py +2 -30
- pulumi_snowflake/account_role.py +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 +61 -38
- pulumi_snowflake/get_users.py +96 -33
- pulumi_snowflake/get_views.py +92 -53
- pulumi_snowflake/grant_account_role.py +0 -4
- pulumi_snowflake/grant_application_role.py +0 -4
- pulumi_snowflake/grant_database_role.py +0 -4
- pulumi_snowflake/grant_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 +28 -84
- 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 +11648 -3842
- 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 +28 -48
- pulumi_snowflake/role.py +41 -36
- pulumi_snowflake/row_access_policy.py +28 -34
- 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 +35 -39
- {pulumi_snowflake-0.58.0a1725948527.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/METADATA +1 -1
- pulumi_snowflake-0.58.0a1726066221.dist-info/RECORD +129 -0
- pulumi_snowflake-0.58.0a1725948527.dist-info/RECORD +0 -129
- {pulumi_snowflake-0.58.0a1725948527.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-0.58.0a1725948527.dist-info → pulumi_snowflake-0.58.0a1726066221.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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
117
117
|
"""
|
|
118
118
|
return pulumi.get(self, "name")
|
|
119
119
|
|
|
@@ -200,6 +200,7 @@ 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,
|
|
203
204
|
name: Optional[pulumi.Input[str]] = None,
|
|
204
205
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
205
206
|
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -215,7 +216,8 @@ class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
|
215
216
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
216
217
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
217
218
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
218
|
-
:param pulumi.Input[str]
|
|
219
|
+
: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).
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
219
221
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
220
222
|
: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.
|
|
221
223
|
: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.
|
|
@@ -232,6 +234,8 @@ class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
|
232
234
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
233
235
|
if enabled is not None:
|
|
234
236
|
pulumi.set(__self__, "enabled", enabled)
|
|
237
|
+
if fully_qualified_name is not None:
|
|
238
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
235
239
|
if name is not None:
|
|
236
240
|
pulumi.set(__self__, "name", name)
|
|
237
241
|
if oauth_access_token_validity is not None:
|
|
@@ -289,11 +293,23 @@ class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
|
289
293
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
290
294
|
pulumi.set(self, "enabled", value)
|
|
291
295
|
|
|
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
|
+
|
|
292
308
|
@property
|
|
293
309
|
@pulumi.getter
|
|
294
310
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
295
311
|
"""
|
|
296
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
312
|
+
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: `|`, `.`, `(`, `)`, `"`
|
|
297
313
|
"""
|
|
298
314
|
return pulumi.get(self, "name")
|
|
299
315
|
|
|
@@ -428,10 +444,6 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
428
444
|
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
429
445
|
__props__=None):
|
|
430
446
|
"""
|
|
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
|
-
|
|
435
447
|
## Import
|
|
436
448
|
|
|
437
449
|
```sh
|
|
@@ -442,7 +454,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
442
454
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
443
455
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
444
456
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
445
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
457
|
+
: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: `|`, `.`, `(`, `)`, `"`
|
|
446
458
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
447
459
|
: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.
|
|
448
460
|
: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.
|
|
@@ -459,10 +471,6 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
459
471
|
args: ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs,
|
|
460
472
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
461
473
|
"""
|
|
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
|
-
|
|
466
474
|
## Import
|
|
467
475
|
|
|
468
476
|
```sh
|
|
@@ -522,6 +530,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
522
530
|
__props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
|
|
523
531
|
__props__.__dict__["oauth_token_endpoint"] = oauth_token_endpoint
|
|
524
532
|
__props__.__dict__["describe_outputs"] = None
|
|
533
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
525
534
|
__props__.__dict__["show_outputs"] = None
|
|
526
535
|
super(ApiAuthenticationIntegrationWithAuthorizationCodeGrant, __self__).__init__(
|
|
527
536
|
'snowflake:index/apiAuthenticationIntegrationWithAuthorizationCodeGrant:ApiAuthenticationIntegrationWithAuthorizationCodeGrant',
|
|
@@ -536,6 +545,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
536
545
|
comment: Optional[pulumi.Input[str]] = None,
|
|
537
546
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs', 'ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgsDict']]]]] = None,
|
|
538
547
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
548
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
539
549
|
name: Optional[pulumi.Input[str]] = None,
|
|
540
550
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
541
551
|
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -556,7 +566,8 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
556
566
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
557
567
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs', 'ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
558
568
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
559
|
-
:param pulumi.Input[str]
|
|
569
|
+
: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).
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
560
571
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
561
572
|
: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.
|
|
562
573
|
: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.
|
|
@@ -574,6 +585,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
574
585
|
__props__.__dict__["comment"] = comment
|
|
575
586
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
576
587
|
__props__.__dict__["enabled"] = enabled
|
|
588
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
577
589
|
__props__.__dict__["name"] = name
|
|
578
590
|
__props__.__dict__["oauth_access_token_validity"] = oauth_access_token_validity
|
|
579
591
|
__props__.__dict__["oauth_allowed_scopes"] = oauth_allowed_scopes
|
|
@@ -610,11 +622,19 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
610
622
|
"""
|
|
611
623
|
return pulumi.get(self, "enabled")
|
|
612
624
|
|
|
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
|
+
|
|
613
633
|
@property
|
|
614
634
|
@pulumi.getter
|
|
615
635
|
def name(self) -> pulumi.Output[str]:
|
|
616
636
|
"""
|
|
617
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
637
|
+
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: `|`, `.`, `(`, `)`, `"`
|
|
618
638
|
"""
|
|
619
639
|
return pulumi.get(self, "name")
|
|
620
640
|
|
|
@@ -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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
113
113
|
"""
|
|
114
114
|
return pulumi.get(self, "name")
|
|
115
115
|
|
|
@@ -184,6 +184,7 @@ 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,
|
|
187
188
|
name: Optional[pulumi.Input[str]] = None,
|
|
188
189
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
189
190
|
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -198,7 +199,8 @@ class _ApiAuthenticationIntegrationWithClientCredentialsState:
|
|
|
198
199
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
199
200
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
200
201
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
201
|
-
:param pulumi.Input[str]
|
|
202
|
+
: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).
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
202
204
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
203
205
|
: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.
|
|
204
206
|
: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`.
|
|
@@ -214,6 +216,8 @@ class _ApiAuthenticationIntegrationWithClientCredentialsState:
|
|
|
214
216
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
215
217
|
if enabled is not None:
|
|
216
218
|
pulumi.set(__self__, "enabled", enabled)
|
|
219
|
+
if fully_qualified_name is not None:
|
|
220
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
217
221
|
if name is not None:
|
|
218
222
|
pulumi.set(__self__, "name", name)
|
|
219
223
|
if oauth_access_token_validity is not None:
|
|
@@ -269,11 +273,23 @@ class _ApiAuthenticationIntegrationWithClientCredentialsState:
|
|
|
269
273
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
270
274
|
pulumi.set(self, "enabled", value)
|
|
271
275
|
|
|
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
|
+
|
|
272
288
|
@property
|
|
273
289
|
@pulumi.getter
|
|
274
290
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
275
291
|
"""
|
|
276
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
292
|
+
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: `|`, `.`, `(`, `)`, `"`
|
|
277
293
|
"""
|
|
278
294
|
return pulumi.get(self, "name")
|
|
279
295
|
|
|
@@ -395,10 +411,6 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
395
411
|
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
396
412
|
__props__=None):
|
|
397
413
|
"""
|
|
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
|
-
|
|
402
414
|
## Import
|
|
403
415
|
|
|
404
416
|
```sh
|
|
@@ -409,7 +421,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
409
421
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
410
422
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
411
423
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
412
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
424
|
+
: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: `|`, `.`, `(`, `)`, `"`
|
|
413
425
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
414
426
|
: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.
|
|
415
427
|
: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`.
|
|
@@ -425,10 +437,6 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
425
437
|
args: ApiAuthenticationIntegrationWithClientCredentialsArgs,
|
|
426
438
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
427
439
|
"""
|
|
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
|
-
|
|
432
440
|
## Import
|
|
433
441
|
|
|
434
442
|
```sh
|
|
@@ -486,6 +494,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
486
494
|
__props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
|
|
487
495
|
__props__.__dict__["oauth_token_endpoint"] = oauth_token_endpoint
|
|
488
496
|
__props__.__dict__["describe_outputs"] = None
|
|
497
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
489
498
|
__props__.__dict__["show_outputs"] = None
|
|
490
499
|
super(ApiAuthenticationIntegrationWithClientCredentials, __self__).__init__(
|
|
491
500
|
'snowflake:index/apiAuthenticationIntegrationWithClientCredentials:ApiAuthenticationIntegrationWithClientCredentials',
|
|
@@ -500,6 +509,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
500
509
|
comment: Optional[pulumi.Input[str]] = None,
|
|
501
510
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgs', 'ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgsDict']]]]] = None,
|
|
502
511
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
512
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
503
513
|
name: Optional[pulumi.Input[str]] = None,
|
|
504
514
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
505
515
|
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -519,7 +529,8 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
519
529
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
520
530
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgs', 'ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
521
531
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
522
|
-
:param pulumi.Input[str]
|
|
532
|
+
: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).
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
523
534
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
524
535
|
: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.
|
|
525
536
|
: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`.
|
|
@@ -536,6 +547,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
536
547
|
__props__.__dict__["comment"] = comment
|
|
537
548
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
538
549
|
__props__.__dict__["enabled"] = enabled
|
|
550
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
539
551
|
__props__.__dict__["name"] = name
|
|
540
552
|
__props__.__dict__["oauth_access_token_validity"] = oauth_access_token_validity
|
|
541
553
|
__props__.__dict__["oauth_allowed_scopes"] = oauth_allowed_scopes
|
|
@@ -571,11 +583,19 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
571
583
|
"""
|
|
572
584
|
return pulumi.get(self, "enabled")
|
|
573
585
|
|
|
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
|
+
|
|
574
594
|
@property
|
|
575
595
|
@pulumi.getter
|
|
576
596
|
def name(self) -> pulumi.Output[str]:
|
|
577
597
|
"""
|
|
578
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
598
|
+
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: `|`, `.`, `(`, `)`, `"`
|
|
579
599
|
"""
|
|
580
600
|
return pulumi.get(self, "name")
|
|
581
601
|
|
|
@@ -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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
124
124
|
"""
|
|
125
125
|
return pulumi.get(self, "name")
|
|
126
126
|
|
|
@@ -195,6 +195,7 @@ 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,
|
|
198
199
|
name: Optional[pulumi.Input[str]] = None,
|
|
199
200
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
200
201
|
oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
|
|
@@ -210,7 +211,8 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
210
211
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
211
212
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
212
213
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
213
|
-
:param pulumi.Input[str]
|
|
214
|
+
: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).
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
214
216
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
215
217
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
216
218
|
: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`.
|
|
@@ -226,6 +228,8 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
226
228
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
227
229
|
if enabled is not None:
|
|
228
230
|
pulumi.set(__self__, "enabled", enabled)
|
|
231
|
+
if fully_qualified_name is not None:
|
|
232
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
229
233
|
if name is not None:
|
|
230
234
|
pulumi.set(__self__, "name", name)
|
|
231
235
|
if oauth_access_token_validity is not None:
|
|
@@ -283,11 +287,23 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
283
287
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
284
288
|
pulumi.set(self, "enabled", value)
|
|
285
289
|
|
|
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
|
+
|
|
286
302
|
@property
|
|
287
303
|
@pulumi.getter
|
|
288
304
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
289
305
|
"""
|
|
290
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
306
|
+
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: `|`, `.`, `(`, `)`, `"`
|
|
291
307
|
"""
|
|
292
308
|
return pulumi.get(self, "name")
|
|
293
309
|
|
|
@@ -419,10 +435,6 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
419
435
|
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
420
436
|
__props__=None):
|
|
421
437
|
"""
|
|
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
|
-
|
|
426
438
|
## Import
|
|
427
439
|
|
|
428
440
|
```sh
|
|
@@ -433,7 +445,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
433
445
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
434
446
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
435
447
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
436
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
448
|
+
: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: `|`, `.`, `(`, `)`, `"`
|
|
437
449
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
438
450
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
439
451
|
: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`.
|
|
@@ -449,10 +461,6 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
449
461
|
args: ApiAuthenticationIntegrationWithJwtBearerArgs,
|
|
450
462
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
451
463
|
"""
|
|
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
|
-
|
|
456
464
|
## Import
|
|
457
465
|
|
|
458
466
|
```sh
|
|
@@ -514,6 +522,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
514
522
|
__props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
|
|
515
523
|
__props__.__dict__["oauth_token_endpoint"] = oauth_token_endpoint
|
|
516
524
|
__props__.__dict__["describe_outputs"] = None
|
|
525
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
517
526
|
__props__.__dict__["show_outputs"] = None
|
|
518
527
|
super(ApiAuthenticationIntegrationWithJwtBearer, __self__).__init__(
|
|
519
528
|
'snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer',
|
|
@@ -528,6 +537,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
528
537
|
comment: Optional[pulumi.Input[str]] = None,
|
|
529
538
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs', 'ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgsDict']]]]] = None,
|
|
530
539
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
540
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
531
541
|
name: Optional[pulumi.Input[str]] = None,
|
|
532
542
|
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
533
543
|
oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
|
|
@@ -548,7 +558,8 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
548
558
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
549
559
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs', 'ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
550
560
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
551
|
-
:param pulumi.Input[str]
|
|
561
|
+
: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).
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
552
563
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
553
564
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
554
565
|
: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`.
|
|
@@ -565,6 +576,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
565
576
|
__props__.__dict__["comment"] = comment
|
|
566
577
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
567
578
|
__props__.__dict__["enabled"] = enabled
|
|
579
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
568
580
|
__props__.__dict__["name"] = name
|
|
569
581
|
__props__.__dict__["oauth_access_token_validity"] = oauth_access_token_validity
|
|
570
582
|
__props__.__dict__["oauth_assertion_issuer"] = oauth_assertion_issuer
|
|
@@ -601,11 +613,19 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
601
613
|
"""
|
|
602
614
|
return pulumi.get(self, "enabled")
|
|
603
615
|
|
|
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
|
+
|
|
604
624
|
@property
|
|
605
625
|
@pulumi.getter
|
|
606
626
|
def name(self) -> pulumi.Output[str]:
|
|
607
627
|
"""
|
|
608
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
628
|
+
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: `|`, `.`, `(`, `)`, `"`
|
|
609
629
|
"""
|
|
610
630
|
return pulumi.get(self, "name")
|
|
611
631
|
|
|
@@ -223,6 +223,7 @@ class _ApiIntegrationState:
|
|
|
223
223
|
comment: Optional[pulumi.Input[str]] = None,
|
|
224
224
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
225
225
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
226
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
226
227
|
google_audience: Optional[pulumi.Input[str]] = None,
|
|
227
228
|
name: Optional[pulumi.Input[str]] = None):
|
|
228
229
|
"""
|
|
@@ -239,6 +240,7 @@ class _ApiIntegrationState:
|
|
|
239
240
|
:param pulumi.Input[str] azure_tenant_id: Specifies the ID for your Office 365 tenant that all Azure API Management instances belong to.
|
|
240
241
|
:param pulumi.Input[str] created_on: Date and time when the API integration was created.
|
|
241
242
|
:param pulumi.Input[bool] enabled: Specifies whether this API integration is enabled or disabled. If the API integration is disabled, any external function that relies on it will not work.
|
|
243
|
+
: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).
|
|
242
244
|
:param pulumi.Input[str] google_audience: The audience claim when generating the JWT (JSON Web Token) to authenticate to the Google API Gateway.
|
|
243
245
|
:param pulumi.Input[str] name: Specifies the name of the API integration. This name follows the rules for Object Identifiers. The name should be unique among api integrations in your account.
|
|
244
246
|
"""
|
|
@@ -272,6 +274,8 @@ class _ApiIntegrationState:
|
|
|
272
274
|
pulumi.set(__self__, "created_on", created_on)
|
|
273
275
|
if enabled is not None:
|
|
274
276
|
pulumi.set(__self__, "enabled", enabled)
|
|
277
|
+
if fully_qualified_name is not None:
|
|
278
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
275
279
|
if google_audience is not None:
|
|
276
280
|
pulumi.set(__self__, "google_audience", google_audience)
|
|
277
281
|
if name is not None:
|
|
@@ -448,6 +452,18 @@ class _ApiIntegrationState:
|
|
|
448
452
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
449
453
|
pulumi.set(self, "enabled", value)
|
|
450
454
|
|
|
455
|
+
@property
|
|
456
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
457
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
458
|
+
"""
|
|
459
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
460
|
+
"""
|
|
461
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
462
|
+
|
|
463
|
+
@fully_qualified_name.setter
|
|
464
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
465
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
466
|
+
|
|
451
467
|
@property
|
|
452
468
|
@pulumi.getter(name="googleAudience")
|
|
453
469
|
def google_audience(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -492,33 +508,6 @@ class ApiIntegration(pulumi.CustomResource):
|
|
|
492
508
|
name: Optional[pulumi.Input[str]] = None,
|
|
493
509
|
__props__=None):
|
|
494
510
|
"""
|
|
495
|
-
## Example Usage
|
|
496
|
-
|
|
497
|
-
```python
|
|
498
|
-
import pulumi
|
|
499
|
-
import pulumi_snowflake as snowflake
|
|
500
|
-
|
|
501
|
-
aws = snowflake.ApiIntegration("aws",
|
|
502
|
-
name="aws_integration",
|
|
503
|
-
api_provider="aws_api_gateway",
|
|
504
|
-
api_aws_role_arn="arn:aws:iam::000000000001:/role/test",
|
|
505
|
-
api_allowed_prefixes=["https://123456.execute-api.us-west-2.amazonaws.com/prod/"],
|
|
506
|
-
enabled=True)
|
|
507
|
-
azure = snowflake.ApiIntegration("azure",
|
|
508
|
-
name="azure_integration",
|
|
509
|
-
api_provider="azure_api_management",
|
|
510
|
-
azure_tenant_id="00000000-0000-0000-0000-000000000000",
|
|
511
|
-
azure_ad_application_id="11111111-1111-1111-1111-111111111111",
|
|
512
|
-
api_allowed_prefixes=["https://apim-hello-world.azure-api.net/"],
|
|
513
|
-
enabled=True)
|
|
514
|
-
gcp = snowflake.ApiIntegration("gcp",
|
|
515
|
-
name="gcp_integration",
|
|
516
|
-
api_provider="google_api_gateway",
|
|
517
|
-
google_audience="api-gateway-id-123456.apigateway.gcp-project.cloud.goog",
|
|
518
|
-
api_allowed_prefixes=["https://gateway-id-123456.uc.gateway.dev/"],
|
|
519
|
-
enabled=True)
|
|
520
|
-
```
|
|
521
|
-
|
|
522
511
|
## Import
|
|
523
512
|
|
|
524
513
|
```sh
|
|
@@ -546,33 +535,6 @@ class ApiIntegration(pulumi.CustomResource):
|
|
|
546
535
|
args: ApiIntegrationArgs,
|
|
547
536
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
548
537
|
"""
|
|
549
|
-
## Example Usage
|
|
550
|
-
|
|
551
|
-
```python
|
|
552
|
-
import pulumi
|
|
553
|
-
import pulumi_snowflake as snowflake
|
|
554
|
-
|
|
555
|
-
aws = snowflake.ApiIntegration("aws",
|
|
556
|
-
name="aws_integration",
|
|
557
|
-
api_provider="aws_api_gateway",
|
|
558
|
-
api_aws_role_arn="arn:aws:iam::000000000001:/role/test",
|
|
559
|
-
api_allowed_prefixes=["https://123456.execute-api.us-west-2.amazonaws.com/prod/"],
|
|
560
|
-
enabled=True)
|
|
561
|
-
azure = snowflake.ApiIntegration("azure",
|
|
562
|
-
name="azure_integration",
|
|
563
|
-
api_provider="azure_api_management",
|
|
564
|
-
azure_tenant_id="00000000-0000-0000-0000-000000000000",
|
|
565
|
-
azure_ad_application_id="11111111-1111-1111-1111-111111111111",
|
|
566
|
-
api_allowed_prefixes=["https://apim-hello-world.azure-api.net/"],
|
|
567
|
-
enabled=True)
|
|
568
|
-
gcp = snowflake.ApiIntegration("gcp",
|
|
569
|
-
name="gcp_integration",
|
|
570
|
-
api_provider="google_api_gateway",
|
|
571
|
-
google_audience="api-gateway-id-123456.apigateway.gcp-project.cloud.goog",
|
|
572
|
-
api_allowed_prefixes=["https://gateway-id-123456.uc.gateway.dev/"],
|
|
573
|
-
enabled=True)
|
|
574
|
-
```
|
|
575
|
-
|
|
576
538
|
## Import
|
|
577
539
|
|
|
578
540
|
```sh
|
|
@@ -636,6 +598,7 @@ class ApiIntegration(pulumi.CustomResource):
|
|
|
636
598
|
__props__.__dict__["azure_consent_url"] = None
|
|
637
599
|
__props__.__dict__["azure_multi_tenant_app_name"] = None
|
|
638
600
|
__props__.__dict__["created_on"] = None
|
|
601
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
639
602
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["apiKey"])
|
|
640
603
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
641
604
|
super(ApiIntegration, __self__).__init__(
|
|
@@ -663,6 +626,7 @@ class ApiIntegration(pulumi.CustomResource):
|
|
|
663
626
|
comment: Optional[pulumi.Input[str]] = None,
|
|
664
627
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
665
628
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
629
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
666
630
|
google_audience: Optional[pulumi.Input[str]] = None,
|
|
667
631
|
name: Optional[pulumi.Input[str]] = None) -> 'ApiIntegration':
|
|
668
632
|
"""
|
|
@@ -684,6 +648,7 @@ class ApiIntegration(pulumi.CustomResource):
|
|
|
684
648
|
:param pulumi.Input[str] azure_tenant_id: Specifies the ID for your Office 365 tenant that all Azure API Management instances belong to.
|
|
685
649
|
:param pulumi.Input[str] created_on: Date and time when the API integration was created.
|
|
686
650
|
:param pulumi.Input[bool] enabled: Specifies whether this API integration is enabled or disabled. If the API integration is disabled, any external function that relies on it will not work.
|
|
651
|
+
: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).
|
|
687
652
|
:param pulumi.Input[str] google_audience: The audience claim when generating the JWT (JSON Web Token) to authenticate to the Google API Gateway.
|
|
688
653
|
:param pulumi.Input[str] name: Specifies the name of the API integration. This name follows the rules for Object Identifiers. The name should be unique among api integrations in your account.
|
|
689
654
|
"""
|
|
@@ -706,6 +671,7 @@ class ApiIntegration(pulumi.CustomResource):
|
|
|
706
671
|
__props__.__dict__["comment"] = comment
|
|
707
672
|
__props__.__dict__["created_on"] = created_on
|
|
708
673
|
__props__.__dict__["enabled"] = enabled
|
|
674
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
709
675
|
__props__.__dict__["google_audience"] = google_audience
|
|
710
676
|
__props__.__dict__["name"] = name
|
|
711
677
|
return ApiIntegration(resource_name, opts=opts, __props__=__props__)
|
|
@@ -821,6 +787,14 @@ class ApiIntegration(pulumi.CustomResource):
|
|
|
821
787
|
"""
|
|
822
788
|
return pulumi.get(self, "enabled")
|
|
823
789
|
|
|
790
|
+
@property
|
|
791
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
792
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
793
|
+
"""
|
|
794
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
795
|
+
"""
|
|
796
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
797
|
+
|
|
824
798
|
@property
|
|
825
799
|
@pulumi.getter(name="googleAudience")
|
|
826
800
|
def google_audience(self) -> pulumi.Output[Optional[str]]:
|