pulumi-snowflake 0.50.2a1709892015__py3-none-any.whl → 1.2.0a1736835738__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/__init__.py +224 -172
- pulumi_snowflake/_inputs.py +52854 -1662
- pulumi_snowflake/_utilities.py +41 -5
- pulumi_snowflake/account.py +188 -214
- pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
- pulumi_snowflake/account_parameter.py +21 -44
- pulumi_snowflake/account_password_policy_attachment.py +7 -28
- pulumi_snowflake/account_role.py +250 -0
- pulumi_snowflake/alert.py +38 -43
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +704 -0
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +657 -0
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +692 -0
- pulumi_snowflake/api_integration.py +35 -50
- pulumi_snowflake/authentication_policy.py +622 -0
- pulumi_snowflake/config/__init__.pyi +76 -99
- pulumi_snowflake/config/outputs.py +5 -0
- pulumi_snowflake/config/vars.py +93 -124
- pulumi_snowflake/cortex_search_service.py +596 -0
- pulumi_snowflake/database.py +819 -209
- pulumi_snowflake/database_role.py +81 -40
- pulumi_snowflake/dynamic_table.py +44 -47
- pulumi_snowflake/email_notification_integration.py +35 -26
- pulumi_snowflake/{unsafe_execute.py → execute.py} +36 -139
- pulumi_snowflake/external_function.py +54 -71
- pulumi_snowflake/external_oauth_integration.py +593 -538
- pulumi_snowflake/external_table.py +67 -86
- pulumi_snowflake/external_volume.py +382 -0
- pulumi_snowflake/failover_group.py +59 -96
- pulumi_snowflake/file_format.py +33 -24
- pulumi_snowflake/function_java.py +1211 -0
- pulumi_snowflake/function_javascript.py +882 -0
- pulumi_snowflake/function_python.py +1212 -0
- pulumi_snowflake/function_scala.py +1212 -0
- pulumi_snowflake/function_sql.py +835 -0
- pulumi_snowflake/get_account_roles.py +129 -0
- pulumi_snowflake/get_accounts.py +53 -22
- pulumi_snowflake/get_alerts.py +22 -5
- pulumi_snowflake/get_connections.py +109 -0
- pulumi_snowflake/get_cortex_search_services.py +216 -0
- pulumi_snowflake/get_current_account.py +24 -9
- pulumi_snowflake/get_current_role.py +14 -7
- pulumi_snowflake/get_database.py +25 -5
- pulumi_snowflake/get_database_role.py +162 -0
- pulumi_snowflake/get_database_roles.py +79 -43
- pulumi_snowflake/get_databases.py +91 -69
- pulumi_snowflake/get_dynamic_tables.py +36 -19
- pulumi_snowflake/get_external_functions.py +28 -5
- pulumi_snowflake/get_external_tables.py +28 -5
- pulumi_snowflake/get_failover_groups.py +18 -7
- pulumi_snowflake/get_file_formats.py +28 -5
- pulumi_snowflake/get_functions.py +28 -5
- pulumi_snowflake/get_grants.py +207 -80
- pulumi_snowflake/get_masking_policies.py +91 -47
- pulumi_snowflake/get_materialized_views.py +28 -5
- pulumi_snowflake/get_network_policies.py +129 -0
- pulumi_snowflake/get_parameters.py +38 -11
- pulumi_snowflake/get_pipes.py +28 -5
- pulumi_snowflake/get_procedures.py +28 -5
- pulumi_snowflake/get_resource_monitors.py +37 -20
- pulumi_snowflake/get_row_access_policies.py +91 -47
- pulumi_snowflake/get_schemas.py +145 -37
- pulumi_snowflake/get_secrets.py +200 -0
- pulumi_snowflake/get_security_integrations.py +129 -0
- pulumi_snowflake/get_sequences.py +28 -5
- pulumi_snowflake/get_shares.py +18 -5
- pulumi_snowflake/get_stages.py +28 -5
- pulumi_snowflake/get_storage_integrations.py +16 -5
- pulumi_snowflake/get_streamlits.py +170 -0
- pulumi_snowflake/get_streams.py +114 -50
- pulumi_snowflake/get_system_generate_scim_access_token.py +18 -5
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +32 -7
- pulumi_snowflake/get_system_get_private_link_config.py +121 -6
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +15 -7
- pulumi_snowflake/get_tables.py +28 -5
- pulumi_snowflake/get_tags.py +130 -0
- pulumi_snowflake/get_tasks.py +134 -50
- pulumi_snowflake/get_users.py +116 -40
- pulumi_snowflake/get_views.py +114 -50
- pulumi_snowflake/get_warehouses.py +79 -22
- pulumi_snowflake/grant_account_role.py +28 -61
- pulumi_snowflake/grant_application_role.py +257 -0
- pulumi_snowflake/grant_database_role.py +35 -108
- pulumi_snowflake/grant_ownership.py +382 -0
- pulumi_snowflake/grant_privileges_to_account_role.py +42 -78
- pulumi_snowflake/grant_privileges_to_database_role.py +37 -223
- pulumi_snowflake/grant_privileges_to_share.py +96 -44
- pulumi_snowflake/legacy_service_user.py +3670 -0
- pulumi_snowflake/managed_account.py +42 -9
- pulumi_snowflake/masking_policy.py +213 -306
- pulumi_snowflake/materialized_view.py +62 -67
- pulumi_snowflake/network_policy.py +217 -57
- pulumi_snowflake/network_policy_attachment.py +7 -32
- pulumi_snowflake/network_rule.py +473 -0
- pulumi_snowflake/notification_integration.py +51 -82
- pulumi_snowflake/oauth_integration_for_custom_clients.py +906 -0
- pulumi_snowflake/{oauth_integration.py → oauth_integration_for_partner_applications.py} +191 -188
- pulumi_snowflake/object_parameter.py +12 -99
- pulumi_snowflake/outputs.py +49200 -2928
- pulumi_snowflake/password_policy.py +41 -28
- pulumi_snowflake/pipe.py +33 -0
- pulumi_snowflake/primary_connection.py +330 -0
- pulumi_snowflake/procedure_java.py +1273 -0
- pulumi_snowflake/procedure_javascript.py +895 -0
- pulumi_snowflake/procedure_python.py +1226 -0
- pulumi_snowflake/procedure_scala.py +1273 -0
- pulumi_snowflake/procedure_sql.py +895 -0
- pulumi_snowflake/provider.py +378 -613
- pulumi_snowflake/pulumi-plugin.json +2 -1
- pulumi_snowflake/resource_monitor.py +118 -323
- pulumi_snowflake/row_access_policy.py +200 -145
- pulumi_snowflake/{saml_integration.py → saml2_integration.py} +356 -295
- pulumi_snowflake/schema.py +949 -174
- pulumi_snowflake/scim_integration.py +286 -105
- pulumi_snowflake/secondary_connection.py +339 -0
- pulumi_snowflake/secondary_database.py +1080 -0
- pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
- pulumi_snowflake/secret_with_basic_authentication.py +500 -0
- pulumi_snowflake/secret_with_client_credentials.py +511 -0
- pulumi_snowflake/secret_with_generic_string.py +452 -0
- pulumi_snowflake/sequence.py +9 -30
- pulumi_snowflake/service_user.py +3585 -0
- pulumi_snowflake/share.py +35 -26
- pulumi_snowflake/shared_database.py +939 -0
- pulumi_snowflake/stage.py +95 -80
- pulumi_snowflake/storage_integration.py +48 -2
- pulumi_snowflake/stream_on_directory_table.py +517 -0
- pulumi_snowflake/stream_on_external_table.py +632 -0
- pulumi_snowflake/stream_on_table.py +666 -0
- pulumi_snowflake/stream_on_view.py +666 -0
- pulumi_snowflake/streamlit.py +671 -0
- pulumi_snowflake/table.py +86 -93
- pulumi_snowflake/table_column_masking_policy_application.py +7 -14
- pulumi_snowflake/table_constraint.py +29 -168
- pulumi_snowflake/tag.py +142 -70
- pulumi_snowflake/tag_association.py +40 -211
- pulumi_snowflake/task.py +3048 -414
- pulumi_snowflake/user.py +3351 -380
- pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
- pulumi_snowflake/user_password_policy_attachment.py +7 -6
- pulumi_snowflake/user_public_keys.py +5 -0
- pulumi_snowflake/view.py +466 -211
- pulumi_snowflake/warehouse.py +184 -164
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/METADATA +7 -6
- pulumi_snowflake-1.2.0a1736835738.dist-info/RECORD +148 -0
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/WHEEL +1 -1
- pulumi_snowflake/account_grant.py +0 -339
- pulumi_snowflake/database_grant.py +0 -491
- pulumi_snowflake/external_table_grant.py +0 -686
- pulumi_snowflake/failover_group_grant.py +0 -388
- pulumi_snowflake/file_format_grant.py +0 -631
- pulumi_snowflake/function.py +0 -868
- pulumi_snowflake/function_grant.py +0 -741
- pulumi_snowflake/get_role.py +0 -117
- pulumi_snowflake/get_roles.py +0 -116
- pulumi_snowflake/grant_privileges_to_role.py +0 -667
- pulumi_snowflake/integration_grant.py +0 -436
- pulumi_snowflake/masking_policy_grant.py +0 -538
- pulumi_snowflake/materialized_view_grant.py +0 -685
- pulumi_snowflake/pipe_grant.py +0 -583
- pulumi_snowflake/procedure.py +0 -883
- pulumi_snowflake/procedure_grant.py +0 -741
- pulumi_snowflake/resource_monitor_grant.py +0 -383
- pulumi_snowflake/role.py +0 -269
- pulumi_snowflake/role_grants.py +0 -348
- pulumi_snowflake/role_ownership_grant.py +0 -334
- pulumi_snowflake/row_access_policy_grant.py +0 -536
- pulumi_snowflake/schema_grant.py +0 -643
- pulumi_snowflake/sequence_grant.py +0 -631
- pulumi_snowflake/session_parameter.py +0 -328
- pulumi_snowflake/stage_grant.py +0 -631
- pulumi_snowflake/stream.py +0 -610
- pulumi_snowflake/stream_grant.py +0 -631
- pulumi_snowflake/table_grant.py +0 -673
- pulumi_snowflake/tag_grant.py +0 -528
- pulumi_snowflake/tag_masking_policy_association.py +0 -210
- pulumi_snowflake/task_grant.py +0 -631
- pulumi_snowflake/user_grant.py +0 -390
- pulumi_snowflake/user_ownership_grant.py +0 -286
- pulumi_snowflake/view_grant.py +0 -701
- pulumi_snowflake/warehouse_grant.py +0 -436
- pulumi_snowflake-0.50.2a1709892015.dist-info/RECORD +0 -136
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['NotificationIntegrationArgs', 'NotificationIntegration']
|
|
@@ -121,13 +126,11 @@ class NotificationIntegrationArgs:
|
|
|
121
126
|
|
|
122
127
|
@property
|
|
123
128
|
@pulumi.getter(name="awsSqsArn")
|
|
129
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
124
130
|
def aws_sqs_arn(self) -> Optional[pulumi.Input[str]]:
|
|
125
131
|
"""
|
|
126
132
|
AWS SQS queue ARN for notification integration to connect to
|
|
127
133
|
"""
|
|
128
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
129
|
-
pulumi.log.warn("""aws_sqs_arn is deprecated: No longer supported notification method""")
|
|
130
|
-
|
|
131
134
|
return pulumi.get(self, "aws_sqs_arn")
|
|
132
135
|
|
|
133
136
|
@aws_sqs_arn.setter
|
|
@@ -136,13 +139,11 @@ class NotificationIntegrationArgs:
|
|
|
136
139
|
|
|
137
140
|
@property
|
|
138
141
|
@pulumi.getter(name="awsSqsRoleArn")
|
|
142
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
139
143
|
def aws_sqs_role_arn(self) -> Optional[pulumi.Input[str]]:
|
|
140
144
|
"""
|
|
141
145
|
AWS IAM role ARN for notification integration to assume
|
|
142
146
|
"""
|
|
143
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
144
|
-
pulumi.log.warn("""aws_sqs_role_arn is deprecated: No longer supported notification method""")
|
|
145
|
-
|
|
146
147
|
return pulumi.get(self, "aws_sqs_role_arn")
|
|
147
148
|
|
|
148
149
|
@aws_sqs_role_arn.setter
|
|
@@ -187,13 +188,11 @@ class NotificationIntegrationArgs:
|
|
|
187
188
|
|
|
188
189
|
@property
|
|
189
190
|
@pulumi.getter
|
|
191
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
190
192
|
def direction(self) -> Optional[pulumi.Input[str]]:
|
|
191
193
|
"""
|
|
192
194
|
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
193
195
|
"""
|
|
194
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
195
|
-
pulumi.log.warn("""direction is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
196
|
-
|
|
197
196
|
return pulumi.get(self, "direction")
|
|
198
197
|
|
|
199
198
|
@direction.setter
|
|
@@ -244,13 +243,11 @@ class NotificationIntegrationArgs:
|
|
|
244
243
|
|
|
245
244
|
@property
|
|
246
245
|
@pulumi.getter
|
|
246
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
247
247
|
def type(self) -> Optional[pulumi.Input[str]]:
|
|
248
248
|
"""
|
|
249
249
|
A type of integration
|
|
250
250
|
"""
|
|
251
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
252
|
-
pulumi.log.warn("""type is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
253
|
-
|
|
254
251
|
return pulumi.get(self, "type")
|
|
255
252
|
|
|
256
253
|
@type.setter
|
|
@@ -275,6 +272,7 @@ class _NotificationIntegrationState:
|
|
|
275
272
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
276
273
|
direction: Optional[pulumi.Input[str]] = None,
|
|
277
274
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
275
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
278
276
|
gcp_pubsub_service_account: Optional[pulumi.Input[str]] = None,
|
|
279
277
|
gcp_pubsub_subscription_name: Optional[pulumi.Input[str]] = None,
|
|
280
278
|
gcp_pubsub_topic_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -296,6 +294,7 @@ class _NotificationIntegrationState:
|
|
|
296
294
|
:param pulumi.Input[str] comment: A comment for the integration
|
|
297
295
|
:param pulumi.Input[str] created_on: Date and time when the notification integration was created.
|
|
298
296
|
:param pulumi.Input[str] direction: Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
297
|
+
: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).
|
|
299
298
|
:param pulumi.Input[str] gcp_pubsub_service_account: The GCP service account identifier that Snowflake will use when assuming the GCP role
|
|
300
299
|
:param pulumi.Input[str] gcp_pubsub_subscription_name: The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
|
|
301
300
|
:param pulumi.Input[str] gcp_pubsub_topic_name: The topic id that Snowflake will use to push notifications.
|
|
@@ -345,6 +344,8 @@ class _NotificationIntegrationState:
|
|
|
345
344
|
pulumi.set(__self__, "direction", direction)
|
|
346
345
|
if enabled is not None:
|
|
347
346
|
pulumi.set(__self__, "enabled", enabled)
|
|
347
|
+
if fully_qualified_name is not None:
|
|
348
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
348
349
|
if gcp_pubsub_service_account is not None:
|
|
349
350
|
pulumi.set(__self__, "gcp_pubsub_service_account", gcp_pubsub_service_account)
|
|
350
351
|
if gcp_pubsub_subscription_name is not None:
|
|
@@ -411,13 +412,11 @@ class _NotificationIntegrationState:
|
|
|
411
412
|
|
|
412
413
|
@property
|
|
413
414
|
@pulumi.getter(name="awsSqsArn")
|
|
415
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
414
416
|
def aws_sqs_arn(self) -> Optional[pulumi.Input[str]]:
|
|
415
417
|
"""
|
|
416
418
|
AWS SQS queue ARN for notification integration to connect to
|
|
417
419
|
"""
|
|
418
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
419
|
-
pulumi.log.warn("""aws_sqs_arn is deprecated: No longer supported notification method""")
|
|
420
|
-
|
|
421
420
|
return pulumi.get(self, "aws_sqs_arn")
|
|
422
421
|
|
|
423
422
|
@aws_sqs_arn.setter
|
|
@@ -426,13 +425,11 @@ class _NotificationIntegrationState:
|
|
|
426
425
|
|
|
427
426
|
@property
|
|
428
427
|
@pulumi.getter(name="awsSqsExternalId")
|
|
428
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
429
429
|
def aws_sqs_external_id(self) -> Optional[pulumi.Input[str]]:
|
|
430
430
|
"""
|
|
431
431
|
The external ID that Snowflake will use when assuming the AWS role
|
|
432
432
|
"""
|
|
433
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
434
|
-
pulumi.log.warn("""aws_sqs_external_id is deprecated: No longer supported notification method""")
|
|
435
|
-
|
|
436
433
|
return pulumi.get(self, "aws_sqs_external_id")
|
|
437
434
|
|
|
438
435
|
@aws_sqs_external_id.setter
|
|
@@ -441,13 +438,11 @@ class _NotificationIntegrationState:
|
|
|
441
438
|
|
|
442
439
|
@property
|
|
443
440
|
@pulumi.getter(name="awsSqsIamUserArn")
|
|
441
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
444
442
|
def aws_sqs_iam_user_arn(self) -> Optional[pulumi.Input[str]]:
|
|
445
443
|
"""
|
|
446
444
|
The Snowflake user that will attempt to assume the AWS role.
|
|
447
445
|
"""
|
|
448
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
449
|
-
pulumi.log.warn("""aws_sqs_iam_user_arn is deprecated: No longer supported notification method""")
|
|
450
|
-
|
|
451
446
|
return pulumi.get(self, "aws_sqs_iam_user_arn")
|
|
452
447
|
|
|
453
448
|
@aws_sqs_iam_user_arn.setter
|
|
@@ -456,13 +451,11 @@ class _NotificationIntegrationState:
|
|
|
456
451
|
|
|
457
452
|
@property
|
|
458
453
|
@pulumi.getter(name="awsSqsRoleArn")
|
|
454
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
459
455
|
def aws_sqs_role_arn(self) -> Optional[pulumi.Input[str]]:
|
|
460
456
|
"""
|
|
461
457
|
AWS IAM role ARN for notification integration to assume
|
|
462
458
|
"""
|
|
463
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
464
|
-
pulumi.log.warn("""aws_sqs_role_arn is deprecated: No longer supported notification method""")
|
|
465
|
-
|
|
466
459
|
return pulumi.get(self, "aws_sqs_role_arn")
|
|
467
460
|
|
|
468
461
|
@aws_sqs_role_arn.setter
|
|
@@ -519,13 +512,11 @@ class _NotificationIntegrationState:
|
|
|
519
512
|
|
|
520
513
|
@property
|
|
521
514
|
@pulumi.getter
|
|
515
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
522
516
|
def direction(self) -> Optional[pulumi.Input[str]]:
|
|
523
517
|
"""
|
|
524
518
|
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
525
519
|
"""
|
|
526
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
527
|
-
pulumi.log.warn("""direction is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
528
|
-
|
|
529
520
|
return pulumi.get(self, "direction")
|
|
530
521
|
|
|
531
522
|
@direction.setter
|
|
@@ -541,6 +532,18 @@ class _NotificationIntegrationState:
|
|
|
541
532
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
542
533
|
pulumi.set(self, "enabled", value)
|
|
543
534
|
|
|
535
|
+
@property
|
|
536
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
537
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
538
|
+
"""
|
|
539
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
540
|
+
"""
|
|
541
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
542
|
+
|
|
543
|
+
@fully_qualified_name.setter
|
|
544
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
545
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
546
|
+
|
|
544
547
|
@property
|
|
545
548
|
@pulumi.getter(name="gcpPubsubServiceAccount")
|
|
546
549
|
def gcp_pubsub_service_account(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -600,13 +603,11 @@ class _NotificationIntegrationState:
|
|
|
600
603
|
|
|
601
604
|
@property
|
|
602
605
|
@pulumi.getter
|
|
606
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
603
607
|
def type(self) -> Optional[pulumi.Input[str]]:
|
|
604
608
|
"""
|
|
605
609
|
A type of integration
|
|
606
610
|
"""
|
|
607
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
608
|
-
pulumi.log.warn("""type is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
609
|
-
|
|
610
611
|
return pulumi.get(self, "type")
|
|
611
612
|
|
|
612
613
|
@type.setter
|
|
@@ -635,26 +636,10 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
635
636
|
type: Optional[pulumi.Input[str]] = None,
|
|
636
637
|
__props__=None):
|
|
637
638
|
"""
|
|
638
|
-
## Example Usage
|
|
639
|
-
|
|
640
|
-
```python
|
|
641
|
-
import pulumi
|
|
642
|
-
import pulumi_snowflake as snowflake
|
|
643
|
-
|
|
644
|
-
integration = snowflake.NotificationIntegration("integration",
|
|
645
|
-
azure_storage_queue_primary_uri="...",
|
|
646
|
-
azure_tenant_id="...",
|
|
647
|
-
comment="A notification integration.",
|
|
648
|
-
direction="OUTBOUND",
|
|
649
|
-
enabled=True,
|
|
650
|
-
notification_provider="AZURE_STORAGE_QUEUE",
|
|
651
|
-
type="QUEUE")
|
|
652
|
-
```
|
|
653
|
-
|
|
654
639
|
## Import
|
|
655
640
|
|
|
656
641
|
```sh
|
|
657
|
-
|
|
642
|
+
$ pulumi import snowflake:index/notificationIntegration:NotificationIntegration example name
|
|
658
643
|
```
|
|
659
644
|
|
|
660
645
|
:param str resource_name: The name of the resource.
|
|
@@ -679,26 +664,10 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
679
664
|
args: NotificationIntegrationArgs,
|
|
680
665
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
681
666
|
"""
|
|
682
|
-
## Example Usage
|
|
683
|
-
|
|
684
|
-
```python
|
|
685
|
-
import pulumi
|
|
686
|
-
import pulumi_snowflake as snowflake
|
|
687
|
-
|
|
688
|
-
integration = snowflake.NotificationIntegration("integration",
|
|
689
|
-
azure_storage_queue_primary_uri="...",
|
|
690
|
-
azure_tenant_id="...",
|
|
691
|
-
comment="A notification integration.",
|
|
692
|
-
direction="OUTBOUND",
|
|
693
|
-
enabled=True,
|
|
694
|
-
notification_provider="AZURE_STORAGE_QUEUE",
|
|
695
|
-
type="QUEUE")
|
|
696
|
-
```
|
|
697
|
-
|
|
698
667
|
## Import
|
|
699
668
|
|
|
700
669
|
```sh
|
|
701
|
-
|
|
670
|
+
$ pulumi import snowflake:index/notificationIntegration:NotificationIntegration example name
|
|
702
671
|
```
|
|
703
672
|
|
|
704
673
|
:param str resource_name: The name of the resource.
|
|
@@ -760,6 +729,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
760
729
|
__props__.__dict__["aws_sqs_external_id"] = None
|
|
761
730
|
__props__.__dict__["aws_sqs_iam_user_arn"] = None
|
|
762
731
|
__props__.__dict__["created_on"] = None
|
|
732
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
763
733
|
__props__.__dict__["gcp_pubsub_service_account"] = None
|
|
764
734
|
super(NotificationIntegration, __self__).__init__(
|
|
765
735
|
'snowflake:index/notificationIntegration:NotificationIntegration',
|
|
@@ -785,6 +755,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
785
755
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
786
756
|
direction: Optional[pulumi.Input[str]] = None,
|
|
787
757
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
758
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
788
759
|
gcp_pubsub_service_account: Optional[pulumi.Input[str]] = None,
|
|
789
760
|
gcp_pubsub_subscription_name: Optional[pulumi.Input[str]] = None,
|
|
790
761
|
gcp_pubsub_topic_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -811,6 +782,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
811
782
|
:param pulumi.Input[str] comment: A comment for the integration
|
|
812
783
|
:param pulumi.Input[str] created_on: Date and time when the notification integration was created.
|
|
813
784
|
:param pulumi.Input[str] direction: Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
785
|
+
: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).
|
|
814
786
|
:param pulumi.Input[str] gcp_pubsub_service_account: The GCP service account identifier that Snowflake will use when assuming the GCP role
|
|
815
787
|
:param pulumi.Input[str] gcp_pubsub_subscription_name: The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
|
|
816
788
|
:param pulumi.Input[str] gcp_pubsub_topic_name: The topic id that Snowflake will use to push notifications.
|
|
@@ -835,6 +807,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
835
807
|
__props__.__dict__["created_on"] = created_on
|
|
836
808
|
__props__.__dict__["direction"] = direction
|
|
837
809
|
__props__.__dict__["enabled"] = enabled
|
|
810
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
838
811
|
__props__.__dict__["gcp_pubsub_service_account"] = gcp_pubsub_service_account
|
|
839
812
|
__props__.__dict__["gcp_pubsub_subscription_name"] = gcp_pubsub_subscription_name
|
|
840
813
|
__props__.__dict__["gcp_pubsub_topic_name"] = gcp_pubsub_topic_name
|
|
@@ -877,46 +850,38 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
877
850
|
|
|
878
851
|
@property
|
|
879
852
|
@pulumi.getter(name="awsSqsArn")
|
|
853
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
880
854
|
def aws_sqs_arn(self) -> pulumi.Output[Optional[str]]:
|
|
881
855
|
"""
|
|
882
856
|
AWS SQS queue ARN for notification integration to connect to
|
|
883
857
|
"""
|
|
884
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
885
|
-
pulumi.log.warn("""aws_sqs_arn is deprecated: No longer supported notification method""")
|
|
886
|
-
|
|
887
858
|
return pulumi.get(self, "aws_sqs_arn")
|
|
888
859
|
|
|
889
860
|
@property
|
|
890
861
|
@pulumi.getter(name="awsSqsExternalId")
|
|
862
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
891
863
|
def aws_sqs_external_id(self) -> pulumi.Output[str]:
|
|
892
864
|
"""
|
|
893
865
|
The external ID that Snowflake will use when assuming the AWS role
|
|
894
866
|
"""
|
|
895
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
896
|
-
pulumi.log.warn("""aws_sqs_external_id is deprecated: No longer supported notification method""")
|
|
897
|
-
|
|
898
867
|
return pulumi.get(self, "aws_sqs_external_id")
|
|
899
868
|
|
|
900
869
|
@property
|
|
901
870
|
@pulumi.getter(name="awsSqsIamUserArn")
|
|
871
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
902
872
|
def aws_sqs_iam_user_arn(self) -> pulumi.Output[str]:
|
|
903
873
|
"""
|
|
904
874
|
The Snowflake user that will attempt to assume the AWS role.
|
|
905
875
|
"""
|
|
906
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
907
|
-
pulumi.log.warn("""aws_sqs_iam_user_arn is deprecated: No longer supported notification method""")
|
|
908
|
-
|
|
909
876
|
return pulumi.get(self, "aws_sqs_iam_user_arn")
|
|
910
877
|
|
|
911
878
|
@property
|
|
912
879
|
@pulumi.getter(name="awsSqsRoleArn")
|
|
880
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
913
881
|
def aws_sqs_role_arn(self) -> pulumi.Output[Optional[str]]:
|
|
914
882
|
"""
|
|
915
883
|
AWS IAM role ARN for notification integration to assume
|
|
916
884
|
"""
|
|
917
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
918
|
-
pulumi.log.warn("""aws_sqs_role_arn is deprecated: No longer supported notification method""")
|
|
919
|
-
|
|
920
885
|
return pulumi.get(self, "aws_sqs_role_arn")
|
|
921
886
|
|
|
922
887
|
@property
|
|
@@ -953,13 +918,11 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
953
918
|
|
|
954
919
|
@property
|
|
955
920
|
@pulumi.getter
|
|
921
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
956
922
|
def direction(self) -> pulumi.Output[Optional[str]]:
|
|
957
923
|
"""
|
|
958
924
|
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
959
925
|
"""
|
|
960
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
961
|
-
pulumi.log.warn("""direction is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
962
|
-
|
|
963
926
|
return pulumi.get(self, "direction")
|
|
964
927
|
|
|
965
928
|
@property
|
|
@@ -967,6 +930,14 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
967
930
|
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
968
931
|
return pulumi.get(self, "enabled")
|
|
969
932
|
|
|
933
|
+
@property
|
|
934
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
935
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
936
|
+
"""
|
|
937
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
938
|
+
"""
|
|
939
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
940
|
+
|
|
970
941
|
@property
|
|
971
942
|
@pulumi.getter(name="gcpPubsubServiceAccount")
|
|
972
943
|
def gcp_pubsub_service_account(self) -> pulumi.Output[str]:
|
|
@@ -1006,12 +977,10 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
1006
977
|
|
|
1007
978
|
@property
|
|
1008
979
|
@pulumi.getter
|
|
980
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
1009
981
|
def type(self) -> pulumi.Output[Optional[str]]:
|
|
1010
982
|
"""
|
|
1011
983
|
A type of integration
|
|
1012
984
|
"""
|
|
1013
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
1014
|
-
pulumi.log.warn("""type is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
1015
|
-
|
|
1016
985
|
return pulumi.get(self, "type")
|
|
1017
986
|
|