pulumi-snowflake 1.2.0a1743575514__py3-none-any.whl → 1.2.0a1744183688__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.

Files changed (147) hide show
  1. pulumi_snowflake/__init__.py +1 -0
  2. pulumi_snowflake/_inputs.py +12288 -12287
  3. pulumi_snowflake/account.py +186 -185
  4. pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
  5. pulumi_snowflake/account_parameter.py +29 -28
  6. pulumi_snowflake/account_password_policy_attachment.py +15 -14
  7. pulumi_snowflake/account_role.py +32 -31
  8. pulumi_snowflake/alert.py +120 -119
  9. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
  10. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
  11. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
  12. pulumi_snowflake/api_integration.py +203 -202
  13. pulumi_snowflake/authentication_policy.py +134 -133
  14. pulumi_snowflake/config/__init__.py +1 -0
  15. pulumi_snowflake/config/__init__.pyi +1 -0
  16. pulumi_snowflake/config/outputs.py +16 -15
  17. pulumi_snowflake/config/vars.py +1 -0
  18. pulumi_snowflake/cortex_search_service.py +141 -140
  19. pulumi_snowflake/database.py +288 -287
  20. pulumi_snowflake/database_role.py +50 -49
  21. pulumi_snowflake/dynamic_table.py +218 -217
  22. pulumi_snowflake/email_notification_integration.py +56 -55
  23. pulumi_snowflake/execute.py +50 -49
  24. pulumi_snowflake/external_function.py +225 -224
  25. pulumi_snowflake/external_oauth_integration.py +232 -231
  26. pulumi_snowflake/external_table.py +197 -196
  27. pulumi_snowflake/external_volume.py +50 -49
  28. pulumi_snowflake/failover_group.py +106 -105
  29. pulumi_snowflake/file_format.py +512 -511
  30. pulumi_snowflake/function_java.py +249 -248
  31. pulumi_snowflake/function_javascript.py +193 -192
  32. pulumi_snowflake/function_python.py +263 -262
  33. pulumi_snowflake/function_scala.py +249 -248
  34. pulumi_snowflake/function_sql.py +179 -178
  35. pulumi_snowflake/get_account_roles.py +12 -11
  36. pulumi_snowflake/get_accounts.py +12 -11
  37. pulumi_snowflake/get_alerts.py +17 -16
  38. pulumi_snowflake/get_connections.py +7 -6
  39. pulumi_snowflake/get_cortex_search_services.py +12 -11
  40. pulumi_snowflake/get_current_account.py +5 -4
  41. pulumi_snowflake/get_current_role.py +3 -2
  42. pulumi_snowflake/get_database.py +15 -14
  43. pulumi_snowflake/get_database_role.py +14 -13
  44. pulumi_snowflake/get_database_roles.py +12 -11
  45. pulumi_snowflake/get_databases.py +22 -21
  46. pulumi_snowflake/get_dynamic_tables.py +7 -6
  47. pulumi_snowflake/get_external_functions.py +12 -11
  48. pulumi_snowflake/get_external_tables.py +12 -11
  49. pulumi_snowflake/get_failover_groups.py +7 -6
  50. pulumi_snowflake/get_file_formats.py +12 -11
  51. pulumi_snowflake/get_functions.py +12 -11
  52. pulumi_snowflake/get_grants.py +2 -1
  53. pulumi_snowflake/get_masking_policies.py +12 -11
  54. pulumi_snowflake/get_materialized_views.py +12 -11
  55. pulumi_snowflake/get_network_policies.py +12 -11
  56. pulumi_snowflake/get_parameters.py +27 -26
  57. pulumi_snowflake/get_pipes.py +12 -11
  58. pulumi_snowflake/get_procedures.py +12 -11
  59. pulumi_snowflake/get_resource_monitors.py +7 -6
  60. pulumi_snowflake/get_row_access_policies.py +12 -11
  61. pulumi_snowflake/get_schemas.py +22 -21
  62. pulumi_snowflake/get_secrets.py +12 -11
  63. pulumi_snowflake/get_security_integrations.py +12 -11
  64. pulumi_snowflake/get_sequences.py +12 -11
  65. pulumi_snowflake/get_shares.py +7 -6
  66. pulumi_snowflake/get_stages.py +12 -11
  67. pulumi_snowflake/get_storage_integrations.py +2 -1
  68. pulumi_snowflake/get_streamlits.py +12 -11
  69. pulumi_snowflake/get_streams.py +17 -16
  70. pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
  71. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
  72. pulumi_snowflake/get_system_get_private_link_config.py +11 -10
  73. pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
  74. pulumi_snowflake/get_tables.py +12 -11
  75. pulumi_snowflake/get_tags.py +7 -6
  76. pulumi_snowflake/get_tasks.py +22 -21
  77. pulumi_snowflake/get_users.py +22 -21
  78. pulumi_snowflake/get_views.py +17 -16
  79. pulumi_snowflake/get_warehouses.py +17 -16
  80. pulumi_snowflake/grant_account_role.py +43 -42
  81. pulumi_snowflake/grant_application_role.py +43 -42
  82. pulumi_snowflake/grant_database_role.py +57 -56
  83. pulumi_snowflake/grant_ownership.py +43 -42
  84. pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
  85. pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
  86. pulumi_snowflake/grant_privileges_to_share.py +127 -126
  87. pulumi_snowflake/legacy_service_user.py +1039 -1038
  88. pulumi_snowflake/managed_account.py +113 -112
  89. pulumi_snowflake/masking_policy.py +106 -105
  90. pulumi_snowflake/materialized_view.py +120 -119
  91. pulumi_snowflake/network_policy.py +92 -91
  92. pulumi_snowflake/network_policy_attachment.py +43 -42
  93. pulumi_snowflake/network_rule.py +106 -105
  94. pulumi_snowflake/notification_integration.py +238 -237
  95. pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
  96. pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
  97. pulumi_snowflake/object_parameter.py +57 -56
  98. pulumi_snowflake/outputs.py +9273 -9272
  99. pulumi_snowflake/password_policy.py +246 -245
  100. pulumi_snowflake/pipe.py +148 -147
  101. pulumi_snowflake/primary_connection.py +55 -54
  102. pulumi_snowflake/procedure_java.py +267 -266
  103. pulumi_snowflake/procedure_javascript.py +197 -196
  104. pulumi_snowflake/procedure_python.py +267 -266
  105. pulumi_snowflake/procedure_scala.py +267 -266
  106. pulumi_snowflake/procedure_sql.py +197 -196
  107. pulumi_snowflake/provider.py +303 -302
  108. pulumi_snowflake/pulumi-plugin.json +1 -1
  109. pulumi_snowflake/resource_monitor.py +134 -133
  110. pulumi_snowflake/row_access_policy.py +78 -77
  111. pulumi_snowflake/saml2_integration.py +246 -245
  112. pulumi_snowflake/schema.py +316 -315
  113. pulumi_snowflake/scim_integration.py +106 -105
  114. pulumi_snowflake/secondary_connection.py +57 -56
  115. pulumi_snowflake/secondary_database.py +288 -287
  116. pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
  117. pulumi_snowflake/secret_with_basic_authentication.py +95 -94
  118. pulumi_snowflake/secret_with_client_credentials.py +99 -98
  119. pulumi_snowflake/secret_with_generic_string.py +81 -80
  120. pulumi_snowflake/sequence.py +99 -98
  121. pulumi_snowflake/service_user.py +1015 -1014
  122. pulumi_snowflake/share.py +50 -49
  123. pulumi_snowflake/shared_database.py +246 -245
  124. pulumi_snowflake/stage.py +190 -189
  125. pulumi_snowflake/storage_integration.py +166 -165
  126. pulumi_snowflake/stream_on_directory_table.py +100 -99
  127. pulumi_snowflake/stream_on_external_table.py +114 -113
  128. pulumi_snowflake/stream_on_table.py +124 -123
  129. pulumi_snowflake/stream_on_view.py +124 -123
  130. pulumi_snowflake/streamlit.py +148 -147
  131. pulumi_snowflake/table.py +113 -112
  132. pulumi_snowflake/table_column_masking_policy_application.py +43 -42
  133. pulumi_snowflake/table_constraint.py +155 -154
  134. pulumi_snowflake/tag.py +92 -91
  135. pulumi_snowflake/tag_association.py +71 -70
  136. pulumi_snowflake/task.py +1002 -1001
  137. pulumi_snowflake/user.py +1101 -1100
  138. pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
  139. pulumi_snowflake/user_password_policy_attachment.py +29 -28
  140. pulumi_snowflake/user_public_keys.py +43 -42
  141. pulumi_snowflake/view.py +136 -135
  142. pulumi_snowflake/warehouse.py +232 -231
  143. {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/METADATA +1 -1
  144. pulumi_snowflake-1.2.0a1744183688.dist-info/RECORD +148 -0
  145. pulumi_snowflake-1.2.0a1743575514.dist-info/RECORD +0 -148
  146. {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
  147. {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -21,21 +22,21 @@ __all__ = ['SecretWithAuthorizationCodeGrantArgs', 'SecretWithAuthorizationCodeG
21
22
  @pulumi.input_type
22
23
  class SecretWithAuthorizationCodeGrantArgs:
23
24
  def __init__(__self__, *,
24
- api_authentication: pulumi.Input[str],
25
- database: pulumi.Input[str],
26
- oauth_refresh_token: pulumi.Input[str],
27
- oauth_refresh_token_expiry_time: pulumi.Input[str],
28
- schema: pulumi.Input[str],
29
- comment: Optional[pulumi.Input[str]] = None,
30
- name: Optional[pulumi.Input[str]] = None):
25
+ api_authentication: pulumi.Input[builtins.str],
26
+ database: pulumi.Input[builtins.str],
27
+ oauth_refresh_token: pulumi.Input[builtins.str],
28
+ oauth_refresh_token_expiry_time: pulumi.Input[builtins.str],
29
+ schema: pulumi.Input[builtins.str],
30
+ comment: Optional[pulumi.Input[builtins.str]] = None,
31
+ name: Optional[pulumi.Input[builtins.str]] = None):
31
32
  """
32
33
  The set of arguments for constructing a SecretWithAuthorizationCodeGrant resource.
33
- :param pulumi.Input[str] api_authentication: Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
34
- :param pulumi.Input[str] database: The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
35
- :param pulumi.Input[str] oauth_refresh_token_expiry_time: Specifies the timestamp as a string when the OAuth refresh token expires. Accepted string formats: YYYY-MM-DD, YYYY-MM-DD HH:MI, YYYY-MM-DD HH:MI:SS, YYYY-MM-DD HH:MI \\n\\n
36
- :param pulumi.Input[str] schema: The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
37
- :param pulumi.Input[str] comment: Specifies a comment for the secret.
38
- :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the secret, must be unique in your schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
34
+ :param pulumi.Input[builtins.str] api_authentication: Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
35
+ :param pulumi.Input[builtins.str] database: The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
36
+ :param pulumi.Input[builtins.str] oauth_refresh_token_expiry_time: Specifies the timestamp as a string when the OAuth refresh token expires. Accepted string formats: YYYY-MM-DD, YYYY-MM-DD HH:MI, YYYY-MM-DD HH:MI:SS, YYYY-MM-DD HH:MI \\n\\n
37
+ :param pulumi.Input[builtins.str] schema: The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
38
+ :param pulumi.Input[builtins.str] comment: Specifies a comment for the secret.
39
+ :param pulumi.Input[builtins.str] name: String that specifies the identifier (i.e. name) for the secret, must be unique in your schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
39
40
  """
40
41
  pulumi.set(__self__, "api_authentication", api_authentication)
41
42
  pulumi.set(__self__, "database", database)
@@ -49,111 +50,111 @@ class SecretWithAuthorizationCodeGrantArgs:
49
50
 
50
51
  @property
51
52
  @pulumi.getter(name="apiAuthentication")
52
- def api_authentication(self) -> pulumi.Input[str]:
53
+ def api_authentication(self) -> pulumi.Input[builtins.str]:
53
54
  """
54
55
  Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
55
56
  """
56
57
  return pulumi.get(self, "api_authentication")
57
58
 
58
59
  @api_authentication.setter
59
- def api_authentication(self, value: pulumi.Input[str]):
60
+ def api_authentication(self, value: pulumi.Input[builtins.str]):
60
61
  pulumi.set(self, "api_authentication", value)
61
62
 
62
63
  @property
63
64
  @pulumi.getter
64
- def database(self) -> pulumi.Input[str]:
65
+ def database(self) -> pulumi.Input[builtins.str]:
65
66
  """
66
67
  The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
67
68
  """
68
69
  return pulumi.get(self, "database")
69
70
 
70
71
  @database.setter
71
- def database(self, value: pulumi.Input[str]):
72
+ def database(self, value: pulumi.Input[builtins.str]):
72
73
  pulumi.set(self, "database", value)
73
74
 
74
75
  @property
75
76
  @pulumi.getter(name="oauthRefreshToken")
76
- def oauth_refresh_token(self) -> pulumi.Input[str]:
77
+ def oauth_refresh_token(self) -> pulumi.Input[builtins.str]:
77
78
  return pulumi.get(self, "oauth_refresh_token")
78
79
 
79
80
  @oauth_refresh_token.setter
80
- def oauth_refresh_token(self, value: pulumi.Input[str]):
81
+ def oauth_refresh_token(self, value: pulumi.Input[builtins.str]):
81
82
  pulumi.set(self, "oauth_refresh_token", value)
82
83
 
83
84
  @property
84
85
  @pulumi.getter(name="oauthRefreshTokenExpiryTime")
85
- def oauth_refresh_token_expiry_time(self) -> pulumi.Input[str]:
86
+ def oauth_refresh_token_expiry_time(self) -> pulumi.Input[builtins.str]:
86
87
  """
87
88
  Specifies the timestamp as a string when the OAuth refresh token expires. Accepted string formats: YYYY-MM-DD, YYYY-MM-DD HH:MI, YYYY-MM-DD HH:MI:SS, YYYY-MM-DD HH:MI \\n\\n
88
89
  """
89
90
  return pulumi.get(self, "oauth_refresh_token_expiry_time")
90
91
 
91
92
  @oauth_refresh_token_expiry_time.setter
92
- def oauth_refresh_token_expiry_time(self, value: pulumi.Input[str]):
93
+ def oauth_refresh_token_expiry_time(self, value: pulumi.Input[builtins.str]):
93
94
  pulumi.set(self, "oauth_refresh_token_expiry_time", value)
94
95
 
95
96
  @property
96
97
  @pulumi.getter
97
- def schema(self) -> pulumi.Input[str]:
98
+ def schema(self) -> pulumi.Input[builtins.str]:
98
99
  """
99
100
  The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
100
101
  """
101
102
  return pulumi.get(self, "schema")
102
103
 
103
104
  @schema.setter
104
- def schema(self, value: pulumi.Input[str]):
105
+ def schema(self, value: pulumi.Input[builtins.str]):
105
106
  pulumi.set(self, "schema", value)
106
107
 
107
108
  @property
108
109
  @pulumi.getter
109
- def comment(self) -> Optional[pulumi.Input[str]]:
110
+ def comment(self) -> Optional[pulumi.Input[builtins.str]]:
110
111
  """
111
112
  Specifies a comment for the secret.
112
113
  """
113
114
  return pulumi.get(self, "comment")
114
115
 
115
116
  @comment.setter
116
- def comment(self, value: Optional[pulumi.Input[str]]):
117
+ def comment(self, value: Optional[pulumi.Input[builtins.str]]):
117
118
  pulumi.set(self, "comment", value)
118
119
 
119
120
  @property
120
121
  @pulumi.getter
121
- def name(self) -> Optional[pulumi.Input[str]]:
122
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
122
123
  """
123
124
  String that specifies the identifier (i.e. name) for the secret, must be unique in your schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
124
125
  """
125
126
  return pulumi.get(self, "name")
126
127
 
127
128
  @name.setter
128
- def name(self, value: Optional[pulumi.Input[str]]):
129
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
129
130
  pulumi.set(self, "name", value)
130
131
 
131
132
 
132
133
  @pulumi.input_type
133
134
  class _SecretWithAuthorizationCodeGrantState:
134
135
  def __init__(__self__, *,
135
- api_authentication: Optional[pulumi.Input[str]] = None,
136
- comment: Optional[pulumi.Input[str]] = None,
137
- database: Optional[pulumi.Input[str]] = None,
136
+ api_authentication: Optional[pulumi.Input[builtins.str]] = None,
137
+ comment: Optional[pulumi.Input[builtins.str]] = None,
138
+ database: Optional[pulumi.Input[builtins.str]] = None,
138
139
  describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['SecretWithAuthorizationCodeGrantDescribeOutputArgs']]]] = None,
139
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
140
- name: Optional[pulumi.Input[str]] = None,
141
- oauth_refresh_token: Optional[pulumi.Input[str]] = None,
142
- oauth_refresh_token_expiry_time: Optional[pulumi.Input[str]] = None,
143
- schema: Optional[pulumi.Input[str]] = None,
144
- secret_type: Optional[pulumi.Input[str]] = None,
140
+ fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
141
+ name: Optional[pulumi.Input[builtins.str]] = None,
142
+ oauth_refresh_token: Optional[pulumi.Input[builtins.str]] = None,
143
+ oauth_refresh_token_expiry_time: Optional[pulumi.Input[builtins.str]] = None,
144
+ schema: Optional[pulumi.Input[builtins.str]] = None,
145
+ secret_type: Optional[pulumi.Input[builtins.str]] = None,
145
146
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['SecretWithAuthorizationCodeGrantShowOutputArgs']]]] = None):
146
147
  """
147
148
  Input properties used for looking up and filtering SecretWithAuthorizationCodeGrant resources.
148
- :param pulumi.Input[str] api_authentication: Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
149
- :param pulumi.Input[str] comment: Specifies a comment for the secret.
150
- :param pulumi.Input[str] database: The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
149
+ :param pulumi.Input[builtins.str] api_authentication: Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
150
+ :param pulumi.Input[builtins.str] comment: Specifies a comment for the secret.
151
+ :param pulumi.Input[builtins.str] database: The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
151
152
  :param pulumi.Input[Sequence[pulumi.Input['SecretWithAuthorizationCodeGrantDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECRET` for the given secret.
152
- :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).
153
- :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the secret, must be unique in your schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
154
- :param pulumi.Input[str] oauth_refresh_token_expiry_time: Specifies the timestamp as a string when the OAuth refresh token expires. Accepted string formats: YYYY-MM-DD, YYYY-MM-DD HH:MI, YYYY-MM-DD HH:MI:SS, YYYY-MM-DD HH:MI \\n\\n
155
- :param pulumi.Input[str] schema: The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
156
- :param pulumi.Input[str] secret_type: Specifies a type for the secret. This field is used for checking external changes and recreating the resources if needed.
153
+ :param pulumi.Input[builtins.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).
154
+ :param pulumi.Input[builtins.str] name: String that specifies the identifier (i.e. name) for the secret, must be unique in your schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
155
+ :param pulumi.Input[builtins.str] oauth_refresh_token_expiry_time: Specifies the timestamp as a string when the OAuth refresh token expires. Accepted string formats: YYYY-MM-DD, YYYY-MM-DD HH:MI, YYYY-MM-DD HH:MI:SS, YYYY-MM-DD HH:MI \\n\\n
156
+ :param pulumi.Input[builtins.str] schema: The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
157
+ :param pulumi.Input[builtins.str] secret_type: Specifies a type for the secret. This field is used for checking external changes and recreating the resources if needed.
157
158
  :param pulumi.Input[Sequence[pulumi.Input['SecretWithAuthorizationCodeGrantShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SECRETS` for the given secret.
158
159
  """
159
160
  if api_authentication is not None:
@@ -181,38 +182,38 @@ class _SecretWithAuthorizationCodeGrantState:
181
182
 
182
183
  @property
183
184
  @pulumi.getter(name="apiAuthentication")
184
- def api_authentication(self) -> Optional[pulumi.Input[str]]:
185
+ def api_authentication(self) -> Optional[pulumi.Input[builtins.str]]:
185
186
  """
186
187
  Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
187
188
  """
188
189
  return pulumi.get(self, "api_authentication")
189
190
 
190
191
  @api_authentication.setter
191
- def api_authentication(self, value: Optional[pulumi.Input[str]]):
192
+ def api_authentication(self, value: Optional[pulumi.Input[builtins.str]]):
192
193
  pulumi.set(self, "api_authentication", value)
193
194
 
194
195
  @property
195
196
  @pulumi.getter
196
- def comment(self) -> Optional[pulumi.Input[str]]:
197
+ def comment(self) -> Optional[pulumi.Input[builtins.str]]:
197
198
  """
198
199
  Specifies a comment for the secret.
199
200
  """
200
201
  return pulumi.get(self, "comment")
201
202
 
202
203
  @comment.setter
203
- def comment(self, value: Optional[pulumi.Input[str]]):
204
+ def comment(self, value: Optional[pulumi.Input[builtins.str]]):
204
205
  pulumi.set(self, "comment", value)
205
206
 
206
207
  @property
207
208
  @pulumi.getter
208
- def database(self) -> Optional[pulumi.Input[str]]:
209
+ def database(self) -> Optional[pulumi.Input[builtins.str]]:
209
210
  """
210
211
  The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
211
212
  """
212
213
  return pulumi.get(self, "database")
213
214
 
214
215
  @database.setter
215
- def database(self, value: Optional[pulumi.Input[str]]):
216
+ def database(self, value: Optional[pulumi.Input[builtins.str]]):
216
217
  pulumi.set(self, "database", value)
217
218
 
218
219
  @property
@@ -229,71 +230,71 @@ class _SecretWithAuthorizationCodeGrantState:
229
230
 
230
231
  @property
231
232
  @pulumi.getter(name="fullyQualifiedName")
232
- def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
233
+ def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
233
234
  """
234
235
  Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
235
236
  """
236
237
  return pulumi.get(self, "fully_qualified_name")
237
238
 
238
239
  @fully_qualified_name.setter
239
- def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
240
+ def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
240
241
  pulumi.set(self, "fully_qualified_name", value)
241
242
 
242
243
  @property
243
244
  @pulumi.getter
244
- def name(self) -> Optional[pulumi.Input[str]]:
245
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
245
246
  """
246
247
  String that specifies the identifier (i.e. name) for the secret, must be unique in your schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
247
248
  """
248
249
  return pulumi.get(self, "name")
249
250
 
250
251
  @name.setter
251
- def name(self, value: Optional[pulumi.Input[str]]):
252
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
252
253
  pulumi.set(self, "name", value)
253
254
 
254
255
  @property
255
256
  @pulumi.getter(name="oauthRefreshToken")
256
- def oauth_refresh_token(self) -> Optional[pulumi.Input[str]]:
257
+ def oauth_refresh_token(self) -> Optional[pulumi.Input[builtins.str]]:
257
258
  return pulumi.get(self, "oauth_refresh_token")
258
259
 
259
260
  @oauth_refresh_token.setter
260
- def oauth_refresh_token(self, value: Optional[pulumi.Input[str]]):
261
+ def oauth_refresh_token(self, value: Optional[pulumi.Input[builtins.str]]):
261
262
  pulumi.set(self, "oauth_refresh_token", value)
262
263
 
263
264
  @property
264
265
  @pulumi.getter(name="oauthRefreshTokenExpiryTime")
265
- def oauth_refresh_token_expiry_time(self) -> Optional[pulumi.Input[str]]:
266
+ def oauth_refresh_token_expiry_time(self) -> Optional[pulumi.Input[builtins.str]]:
266
267
  """
267
268
  Specifies the timestamp as a string when the OAuth refresh token expires. Accepted string formats: YYYY-MM-DD, YYYY-MM-DD HH:MI, YYYY-MM-DD HH:MI:SS, YYYY-MM-DD HH:MI \\n\\n
268
269
  """
269
270
  return pulumi.get(self, "oauth_refresh_token_expiry_time")
270
271
 
271
272
  @oauth_refresh_token_expiry_time.setter
272
- def oauth_refresh_token_expiry_time(self, value: Optional[pulumi.Input[str]]):
273
+ def oauth_refresh_token_expiry_time(self, value: Optional[pulumi.Input[builtins.str]]):
273
274
  pulumi.set(self, "oauth_refresh_token_expiry_time", value)
274
275
 
275
276
  @property
276
277
  @pulumi.getter
277
- def schema(self) -> Optional[pulumi.Input[str]]:
278
+ def schema(self) -> Optional[pulumi.Input[builtins.str]]:
278
279
  """
279
280
  The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
280
281
  """
281
282
  return pulumi.get(self, "schema")
282
283
 
283
284
  @schema.setter
284
- def schema(self, value: Optional[pulumi.Input[str]]):
285
+ def schema(self, value: Optional[pulumi.Input[builtins.str]]):
285
286
  pulumi.set(self, "schema", value)
286
287
 
287
288
  @property
288
289
  @pulumi.getter(name="secretType")
289
- def secret_type(self) -> Optional[pulumi.Input[str]]:
290
+ def secret_type(self) -> Optional[pulumi.Input[builtins.str]]:
290
291
  """
291
292
  Specifies a type for the secret. This field is used for checking external changes and recreating the resources if needed.
292
293
  """
293
294
  return pulumi.get(self, "secret_type")
294
295
 
295
296
  @secret_type.setter
296
- def secret_type(self, value: Optional[pulumi.Input[str]]):
297
+ def secret_type(self, value: Optional[pulumi.Input[builtins.str]]):
297
298
  pulumi.set(self, "secret_type", value)
298
299
 
299
300
  @property
@@ -314,13 +315,13 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
314
315
  def __init__(__self__,
315
316
  resource_name: str,
316
317
  opts: Optional[pulumi.ResourceOptions] = None,
317
- api_authentication: Optional[pulumi.Input[str]] = None,
318
- comment: Optional[pulumi.Input[str]] = None,
319
- database: Optional[pulumi.Input[str]] = None,
320
- name: Optional[pulumi.Input[str]] = None,
321
- oauth_refresh_token: Optional[pulumi.Input[str]] = None,
322
- oauth_refresh_token_expiry_time: Optional[pulumi.Input[str]] = None,
323
- schema: Optional[pulumi.Input[str]] = None,
318
+ api_authentication: Optional[pulumi.Input[builtins.str]] = None,
319
+ comment: Optional[pulumi.Input[builtins.str]] = None,
320
+ database: Optional[pulumi.Input[builtins.str]] = None,
321
+ name: Optional[pulumi.Input[builtins.str]] = None,
322
+ oauth_refresh_token: Optional[pulumi.Input[builtins.str]] = None,
323
+ oauth_refresh_token_expiry_time: Optional[pulumi.Input[builtins.str]] = None,
324
+ schema: Optional[pulumi.Input[builtins.str]] = None,
324
325
  __props__=None):
325
326
  """
326
327
  ## Import
@@ -331,12 +332,12 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
331
332
 
332
333
  :param str resource_name: The name of the resource.
333
334
  :param pulumi.ResourceOptions opts: Options for the resource.
334
- :param pulumi.Input[str] api_authentication: Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
335
- :param pulumi.Input[str] comment: Specifies a comment for the secret.
336
- :param pulumi.Input[str] database: The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
337
- :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the secret, must be unique in your schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
338
- :param pulumi.Input[str] oauth_refresh_token_expiry_time: Specifies the timestamp as a string when the OAuth refresh token expires. Accepted string formats: YYYY-MM-DD, YYYY-MM-DD HH:MI, YYYY-MM-DD HH:MI:SS, YYYY-MM-DD HH:MI \\n\\n
339
- :param pulumi.Input[str] schema: The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
335
+ :param pulumi.Input[builtins.str] api_authentication: Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
336
+ :param pulumi.Input[builtins.str] comment: Specifies a comment for the secret.
337
+ :param pulumi.Input[builtins.str] database: The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
338
+ :param pulumi.Input[builtins.str] name: String that specifies the identifier (i.e. name) for the secret, must be unique in your schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
339
+ :param pulumi.Input[builtins.str] oauth_refresh_token_expiry_time: Specifies the timestamp as a string when the OAuth refresh token expires. Accepted string formats: YYYY-MM-DD, YYYY-MM-DD HH:MI, YYYY-MM-DD HH:MI:SS, YYYY-MM-DD HH:MI \\n\\n
340
+ :param pulumi.Input[builtins.str] schema: The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
340
341
  """
341
342
  ...
342
343
  @overload
@@ -366,13 +367,13 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
366
367
  def _internal_init(__self__,
367
368
  resource_name: str,
368
369
  opts: Optional[pulumi.ResourceOptions] = None,
369
- api_authentication: Optional[pulumi.Input[str]] = None,
370
- comment: Optional[pulumi.Input[str]] = None,
371
- database: Optional[pulumi.Input[str]] = None,
372
- name: Optional[pulumi.Input[str]] = None,
373
- oauth_refresh_token: Optional[pulumi.Input[str]] = None,
374
- oauth_refresh_token_expiry_time: Optional[pulumi.Input[str]] = None,
375
- schema: Optional[pulumi.Input[str]] = None,
370
+ api_authentication: Optional[pulumi.Input[builtins.str]] = None,
371
+ comment: Optional[pulumi.Input[builtins.str]] = None,
372
+ database: Optional[pulumi.Input[builtins.str]] = None,
373
+ name: Optional[pulumi.Input[builtins.str]] = None,
374
+ oauth_refresh_token: Optional[pulumi.Input[builtins.str]] = None,
375
+ oauth_refresh_token_expiry_time: Optional[pulumi.Input[builtins.str]] = None,
376
+ schema: Optional[pulumi.Input[builtins.str]] = None,
376
377
  __props__=None):
377
378
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
378
379
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -415,16 +416,16 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
415
416
  def get(resource_name: str,
416
417
  id: pulumi.Input[str],
417
418
  opts: Optional[pulumi.ResourceOptions] = None,
418
- api_authentication: Optional[pulumi.Input[str]] = None,
419
- comment: Optional[pulumi.Input[str]] = None,
420
- database: Optional[pulumi.Input[str]] = None,
419
+ api_authentication: Optional[pulumi.Input[builtins.str]] = None,
420
+ comment: Optional[pulumi.Input[builtins.str]] = None,
421
+ database: Optional[pulumi.Input[builtins.str]] = None,
421
422
  describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretWithAuthorizationCodeGrantDescribeOutputArgs', 'SecretWithAuthorizationCodeGrantDescribeOutputArgsDict']]]]] = None,
422
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
423
- name: Optional[pulumi.Input[str]] = None,
424
- oauth_refresh_token: Optional[pulumi.Input[str]] = None,
425
- oauth_refresh_token_expiry_time: Optional[pulumi.Input[str]] = None,
426
- schema: Optional[pulumi.Input[str]] = None,
427
- secret_type: Optional[pulumi.Input[str]] = None,
423
+ fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
424
+ name: Optional[pulumi.Input[builtins.str]] = None,
425
+ oauth_refresh_token: Optional[pulumi.Input[builtins.str]] = None,
426
+ oauth_refresh_token_expiry_time: Optional[pulumi.Input[builtins.str]] = None,
427
+ schema: Optional[pulumi.Input[builtins.str]] = None,
428
+ secret_type: Optional[pulumi.Input[builtins.str]] = None,
428
429
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretWithAuthorizationCodeGrantShowOutputArgs', 'SecretWithAuthorizationCodeGrantShowOutputArgsDict']]]]] = None) -> 'SecretWithAuthorizationCodeGrant':
429
430
  """
430
431
  Get an existing SecretWithAuthorizationCodeGrant resource's state with the given name, id, and optional extra
@@ -433,15 +434,15 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
433
434
  :param str resource_name: The unique name of the resulting resource.
434
435
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
435
436
  :param pulumi.ResourceOptions opts: Options for the resource.
436
- :param pulumi.Input[str] api_authentication: Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
437
- :param pulumi.Input[str] comment: Specifies a comment for the secret.
438
- :param pulumi.Input[str] database: The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
437
+ :param pulumi.Input[builtins.str] api_authentication: Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
438
+ :param pulumi.Input[builtins.str] comment: Specifies a comment for the secret.
439
+ :param pulumi.Input[builtins.str] database: The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
439
440
  :param pulumi.Input[Sequence[pulumi.Input[Union['SecretWithAuthorizationCodeGrantDescribeOutputArgs', 'SecretWithAuthorizationCodeGrantDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECRET` for the given secret.
440
- :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).
441
- :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the secret, must be unique in your schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
442
- :param pulumi.Input[str] oauth_refresh_token_expiry_time: Specifies the timestamp as a string when the OAuth refresh token expires. Accepted string formats: YYYY-MM-DD, YYYY-MM-DD HH:MI, YYYY-MM-DD HH:MI:SS, YYYY-MM-DD HH:MI \\n\\n
443
- :param pulumi.Input[str] schema: The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
444
- :param pulumi.Input[str] secret_type: Specifies a type for the secret. This field is used for checking external changes and recreating the resources if needed.
441
+ :param pulumi.Input[builtins.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).
442
+ :param pulumi.Input[builtins.str] name: String that specifies the identifier (i.e. name) for the secret, must be unique in your schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
443
+ :param pulumi.Input[builtins.str] oauth_refresh_token_expiry_time: Specifies the timestamp as a string when the OAuth refresh token expires. Accepted string formats: YYYY-MM-DD, YYYY-MM-DD HH:MI, YYYY-MM-DD HH:MI:SS, YYYY-MM-DD HH:MI \\n\\n
444
+ :param pulumi.Input[builtins.str] schema: The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
445
+ :param pulumi.Input[builtins.str] secret_type: Specifies a type for the secret. This field is used for checking external changes and recreating the resources if needed.
445
446
  :param pulumi.Input[Sequence[pulumi.Input[Union['SecretWithAuthorizationCodeGrantShowOutputArgs', 'SecretWithAuthorizationCodeGrantShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECRETS` for the given secret.
446
447
  """
447
448
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -463,7 +464,7 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
463
464
 
464
465
  @property
465
466
  @pulumi.getter(name="apiAuthentication")
466
- def api_authentication(self) -> pulumi.Output[str]:
467
+ def api_authentication(self) -> pulumi.Output[builtins.str]:
467
468
  """
468
469
  Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
469
470
  """
@@ -471,7 +472,7 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
471
472
 
472
473
  @property
473
474
  @pulumi.getter
474
- def comment(self) -> pulumi.Output[Optional[str]]:
475
+ def comment(self) -> pulumi.Output[Optional[builtins.str]]:
475
476
  """
476
477
  Specifies a comment for the secret.
477
478
  """
@@ -479,7 +480,7 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
479
480
 
480
481
  @property
481
482
  @pulumi.getter
482
- def database(self) -> pulumi.Output[str]:
483
+ def database(self) -> pulumi.Output[builtins.str]:
483
484
  """
484
485
  The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
485
486
  """
@@ -495,7 +496,7 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
495
496
 
496
497
  @property
497
498
  @pulumi.getter(name="fullyQualifiedName")
498
- def fully_qualified_name(self) -> pulumi.Output[str]:
499
+ def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
499
500
  """
500
501
  Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
501
502
  """
@@ -503,7 +504,7 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
503
504
 
504
505
  @property
505
506
  @pulumi.getter
506
- def name(self) -> pulumi.Output[str]:
507
+ def name(self) -> pulumi.Output[builtins.str]:
507
508
  """
508
509
  String that specifies the identifier (i.e. name) for the secret, must be unique in your schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
509
510
  """
@@ -511,12 +512,12 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
511
512
 
512
513
  @property
513
514
  @pulumi.getter(name="oauthRefreshToken")
514
- def oauth_refresh_token(self) -> pulumi.Output[str]:
515
+ def oauth_refresh_token(self) -> pulumi.Output[builtins.str]:
515
516
  return pulumi.get(self, "oauth_refresh_token")
516
517
 
517
518
  @property
518
519
  @pulumi.getter(name="oauthRefreshTokenExpiryTime")
519
- def oauth_refresh_token_expiry_time(self) -> pulumi.Output[str]:
520
+ def oauth_refresh_token_expiry_time(self) -> pulumi.Output[builtins.str]:
520
521
  """
521
522
  Specifies the timestamp as a string when the OAuth refresh token expires. Accepted string formats: YYYY-MM-DD, YYYY-MM-DD HH:MI, YYYY-MM-DD HH:MI:SS, YYYY-MM-DD HH:MI \\n\\n
522
523
  """
@@ -524,7 +525,7 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
524
525
 
525
526
  @property
526
527
  @pulumi.getter
527
- def schema(self) -> pulumi.Output[str]:
528
+ def schema(self) -> pulumi.Output[builtins.str]:
528
529
  """
529
530
  The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
530
531
  """
@@ -532,7 +533,7 @@ class SecretWithAuthorizationCodeGrant(pulumi.CustomResource):
532
533
 
533
534
  @property
534
535
  @pulumi.getter(name="secretType")
535
- def secret_type(self) -> pulumi.Output[str]:
536
+ def secret_type(self) -> pulumi.Output[builtins.str]:
536
537
  """
537
538
  Specifies a type for the secret. This field is used for checking external changes and recreating the resources if needed.
538
539
  """