pulumi-snowflake 2.3.0a1753339260__py3-none-any.whl → 2.3.0a1753398370__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 +1 -1
- pulumi_snowflake/_inputs.py +16796 -16797
- pulumi_snowflake/account.py +252 -253
- pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
- pulumi_snowflake/account_parameter.py +35 -36
- pulumi_snowflake/account_password_policy_attachment.py +18 -19
- pulumi_snowflake/account_role.py +42 -43
- pulumi_snowflake/alert.py +149 -150
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
- pulumi_snowflake/api_integration.py +251 -252
- pulumi_snowflake/authentication_policy.py +167 -168
- pulumi_snowflake/compute_pool.py +167 -168
- pulumi_snowflake/config/__init__.py +1 -1
- pulumi_snowflake/config/__init__.pyi +1 -2
- pulumi_snowflake/config/outputs.py +21 -22
- pulumi_snowflake/config/vars.py +43 -44
- pulumi_snowflake/cortex_search_service.py +191 -192
- pulumi_snowflake/current_account.py +2088 -2089
- pulumi_snowflake/database.py +353 -354
- pulumi_snowflake/database_role.py +63 -64
- pulumi_snowflake/dynamic_table.py +274 -275
- pulumi_snowflake/email_notification_integration.py +70 -71
- pulumi_snowflake/execute.py +61 -62
- pulumi_snowflake/external_function.py +280 -281
- pulumi_snowflake/external_oauth_integration.py +288 -289
- pulumi_snowflake/external_table.py +246 -247
- pulumi_snowflake/external_volume.py +68 -69
- pulumi_snowflake/failover_group.py +135 -136
- pulumi_snowflake/file_format.py +622 -623
- pulumi_snowflake/function_java.py +320 -321
- pulumi_snowflake/function_javascript.py +243 -244
- pulumi_snowflake/function_python.py +334 -335
- pulumi_snowflake/function_scala.py +320 -321
- pulumi_snowflake/function_sql.py +226 -227
- pulumi_snowflake/get_account_roles.py +16 -17
- pulumi_snowflake/get_accounts.py +16 -17
- pulumi_snowflake/get_alerts.py +22 -23
- pulumi_snowflake/get_compute_pools.py +23 -24
- pulumi_snowflake/get_connections.py +10 -11
- pulumi_snowflake/get_cortex_search_services.py +18 -19
- pulumi_snowflake/get_current_account.py +9 -10
- pulumi_snowflake/get_current_role.py +5 -6
- pulumi_snowflake/get_database.py +25 -26
- pulumi_snowflake/get_database_role.py +19 -20
- pulumi_snowflake/get_database_roles.py +17 -18
- pulumi_snowflake/get_databases.py +29 -30
- pulumi_snowflake/get_dynamic_tables.py +13 -14
- pulumi_snowflake/get_external_functions.py +16 -17
- pulumi_snowflake/get_external_tables.py +16 -17
- pulumi_snowflake/get_failover_groups.py +10 -11
- pulumi_snowflake/get_file_formats.py +16 -17
- pulumi_snowflake/get_functions.py +16 -17
- pulumi_snowflake/get_git_repositories.py +18 -19
- pulumi_snowflake/get_grants.py +9 -10
- pulumi_snowflake/get_image_repositories.py +11 -12
- pulumi_snowflake/get_masking_policies.py +18 -19
- pulumi_snowflake/get_materialized_views.py +16 -17
- pulumi_snowflake/get_network_policies.py +16 -17
- pulumi_snowflake/get_parameters.py +34 -35
- pulumi_snowflake/get_pipes.py +16 -17
- pulumi_snowflake/get_procedures.py +16 -17
- pulumi_snowflake/get_resource_monitors.py +10 -11
- pulumi_snowflake/get_row_access_policies.py +18 -19
- pulumi_snowflake/get_schemas.py +30 -31
- pulumi_snowflake/get_secrets.py +17 -18
- pulumi_snowflake/get_security_integrations.py +16 -17
- pulumi_snowflake/get_sequences.py +16 -17
- pulumi_snowflake/get_services.py +30 -31
- pulumi_snowflake/get_shares.py +10 -11
- pulumi_snowflake/get_stages.py +16 -17
- pulumi_snowflake/get_storage_integrations.py +4 -5
- pulumi_snowflake/get_streamlits.py +18 -19
- pulumi_snowflake/get_streams.py +24 -25
- pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
- pulumi_snowflake/get_system_get_private_link_config.py +21 -22
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
- pulumi_snowflake/get_tables.py +24 -25
- pulumi_snowflake/get_tags.py +11 -12
- pulumi_snowflake/get_tasks.py +30 -31
- pulumi_snowflake/get_users.py +29 -30
- pulumi_snowflake/get_views.py +24 -25
- pulumi_snowflake/get_warehouses.py +22 -23
- pulumi_snowflake/git_repository.py +133 -134
- pulumi_snowflake/grant_account_role.py +52 -53
- pulumi_snowflake/grant_application_role.py +52 -53
- pulumi_snowflake/grant_database_role.py +69 -70
- pulumi_snowflake/grant_ownership.py +55 -56
- pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
- pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
- pulumi_snowflake/grant_privileges_to_share.py +154 -155
- pulumi_snowflake/image_repository.py +80 -81
- pulumi_snowflake/job_service.py +148 -149
- pulumi_snowflake/legacy_service_user.py +1269 -1270
- pulumi_snowflake/managed_account.py +140 -141
- pulumi_snowflake/masking_policy.py +136 -137
- pulumi_snowflake/materialized_view.py +149 -150
- pulumi_snowflake/network_policy.py +116 -117
- pulumi_snowflake/network_policy_attachment.py +52 -53
- pulumi_snowflake/network_rule.py +129 -130
- pulumi_snowflake/notification_integration.py +298 -299
- pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
- pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
- pulumi_snowflake/object_parameter.py +72 -73
- pulumi_snowflake/outputs.py +15510 -15511
- pulumi_snowflake/password_policy.py +299 -300
- pulumi_snowflake/pipe.py +181 -182
- pulumi_snowflake/primary_connection.py +70 -71
- pulumi_snowflake/procedure_java.py +341 -342
- pulumi_snowflake/procedure_javascript.py +247 -248
- pulumi_snowflake/procedure_python.py +338 -339
- pulumi_snowflake/procedure_scala.py +341 -342
- pulumi_snowflake/procedure_sql.py +247 -248
- pulumi_snowflake/provider.py +377 -378
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +165 -166
- pulumi_snowflake/row_access_policy.py +102 -103
- pulumi_snowflake/saml2_integration.py +303 -304
- pulumi_snowflake/schema.py +390 -391
- pulumi_snowflake/scim_integration.py +133 -134
- pulumi_snowflake/secondary_connection.py +72 -73
- pulumi_snowflake/secondary_database.py +350 -351
- pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
- pulumi_snowflake/secret_with_basic_authentication.py +121 -122
- pulumi_snowflake/secret_with_client_credentials.py +125 -126
- pulumi_snowflake/secret_with_generic_string.py +104 -105
- pulumi_snowflake/sequence.py +121 -122
- pulumi_snowflake/service.py +233 -234
- pulumi_snowflake/service_user.py +1239 -1240
- pulumi_snowflake/share.py +61 -62
- pulumi_snowflake/shared_database.py +299 -300
- pulumi_snowflake/stage.py +234 -235
- pulumi_snowflake/storage_integration.py +230 -231
- pulumi_snowflake/stream_on_directory_table.py +128 -129
- pulumi_snowflake/stream_on_external_table.py +151 -152
- pulumi_snowflake/stream_on_table.py +164 -165
- pulumi_snowflake/stream_on_view.py +164 -165
- pulumi_snowflake/streamlit.py +184 -185
- pulumi_snowflake/table.py +147 -148
- pulumi_snowflake/table_column_masking_policy_application.py +52 -53
- pulumi_snowflake/table_constraint.py +191 -192
- pulumi_snowflake/tag.py +114 -115
- pulumi_snowflake/tag_association.py +86 -87
- pulumi_snowflake/task.py +1224 -1225
- pulumi_snowflake/user.py +1346 -1347
- pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
- pulumi_snowflake/user_password_policy_attachment.py +35 -36
- pulumi_snowflake/user_public_keys.py +52 -53
- pulumi_snowflake/view.py +187 -188
- pulumi_snowflake/warehouse.py +286 -287
- {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/METADATA +1 -1
- pulumi_snowflake-2.3.0a1753398370.dist-info/RECORD +158 -0
- pulumi_snowflake-2.3.0a1753339260.dist-info/RECORD +0 -158
- {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,20 +21,20 @@ __all__ = ['SecretWithClientCredentialsArgs', 'SecretWithClientCredentials']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class SecretWithClientCredentialsArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
api_authentication: pulumi.Input[
|
|
26
|
-
database: pulumi.Input[
|
|
27
|
-
oauth_scopes: pulumi.Input[Sequence[pulumi.Input[
|
|
28
|
-
schema: pulumi.Input[
|
|
29
|
-
comment: Optional[pulumi.Input[
|
|
30
|
-
name: Optional[pulumi.Input[
|
|
24
|
+
api_authentication: pulumi.Input[_builtins.str],
|
|
25
|
+
database: pulumi.Input[_builtins.str],
|
|
26
|
+
oauth_scopes: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
27
|
+
schema: pulumi.Input[_builtins.str],
|
|
28
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
31
30
|
"""
|
|
32
31
|
The set of arguments for constructing a SecretWithClientCredentials resource.
|
|
33
|
-
:param pulumi.Input[
|
|
34
|
-
:param pulumi.Input[
|
|
35
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
36
|
-
:param pulumi.Input[
|
|
37
|
-
:param pulumi.Input[
|
|
38
|
-
:param pulumi.Input[
|
|
32
|
+
: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.
|
|
33
|
+
: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: `|`, `.`, `"`.
|
|
34
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] oauth_scopes: Specifies a list of scopes to use when making a request from the OAuth server by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
35
|
+
: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: `|`, `.`, `"`.
|
|
36
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the secret.
|
|
37
|
+
: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
38
|
"""
|
|
40
39
|
pulumi.set(__self__, "api_authentication", api_authentication)
|
|
41
40
|
pulumi.set(__self__, "database", database)
|
|
@@ -46,103 +45,103 @@ class SecretWithClientCredentialsArgs:
|
|
|
46
45
|
if name is not None:
|
|
47
46
|
pulumi.set(__self__, "name", name)
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter(name="apiAuthentication")
|
|
51
|
-
def api_authentication(self) -> pulumi.Input[
|
|
50
|
+
def api_authentication(self) -> pulumi.Input[_builtins.str]:
|
|
52
51
|
"""
|
|
53
52
|
Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "api_authentication")
|
|
56
55
|
|
|
57
56
|
@api_authentication.setter
|
|
58
|
-
def api_authentication(self, value: pulumi.Input[
|
|
57
|
+
def api_authentication(self, value: pulumi.Input[_builtins.str]):
|
|
59
58
|
pulumi.set(self, "api_authentication", value)
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter
|
|
63
|
-
def database(self) -> pulumi.Input[
|
|
62
|
+
def database(self) -> pulumi.Input[_builtins.str]:
|
|
64
63
|
"""
|
|
65
64
|
The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
66
65
|
"""
|
|
67
66
|
return pulumi.get(self, "database")
|
|
68
67
|
|
|
69
68
|
@database.setter
|
|
70
|
-
def database(self, value: pulumi.Input[
|
|
69
|
+
def database(self, value: pulumi.Input[_builtins.str]):
|
|
71
70
|
pulumi.set(self, "database", value)
|
|
72
71
|
|
|
73
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
74
73
|
@pulumi.getter(name="oauthScopes")
|
|
75
|
-
def oauth_scopes(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
74
|
+
def oauth_scopes(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
76
75
|
"""
|
|
77
76
|
Specifies a list of scopes to use when making a request from the OAuth server by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
78
77
|
"""
|
|
79
78
|
return pulumi.get(self, "oauth_scopes")
|
|
80
79
|
|
|
81
80
|
@oauth_scopes.setter
|
|
82
|
-
def oauth_scopes(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
81
|
+
def oauth_scopes(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
83
82
|
pulumi.set(self, "oauth_scopes", value)
|
|
84
83
|
|
|
85
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
86
85
|
@pulumi.getter
|
|
87
|
-
def schema(self) -> pulumi.Input[
|
|
86
|
+
def schema(self) -> pulumi.Input[_builtins.str]:
|
|
88
87
|
"""
|
|
89
88
|
The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
90
89
|
"""
|
|
91
90
|
return pulumi.get(self, "schema")
|
|
92
91
|
|
|
93
92
|
@schema.setter
|
|
94
|
-
def schema(self, value: pulumi.Input[
|
|
93
|
+
def schema(self, value: pulumi.Input[_builtins.str]):
|
|
95
94
|
pulumi.set(self, "schema", value)
|
|
96
95
|
|
|
97
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
98
97
|
@pulumi.getter
|
|
99
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
98
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
100
99
|
"""
|
|
101
100
|
Specifies a comment for the secret.
|
|
102
101
|
"""
|
|
103
102
|
return pulumi.get(self, "comment")
|
|
104
103
|
|
|
105
104
|
@comment.setter
|
|
106
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
105
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
107
106
|
pulumi.set(self, "comment", value)
|
|
108
107
|
|
|
109
|
-
@property
|
|
108
|
+
@_builtins.property
|
|
110
109
|
@pulumi.getter
|
|
111
|
-
def name(self) -> Optional[pulumi.Input[
|
|
110
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
112
111
|
"""
|
|
113
112
|
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: `|`, `.`, `"`.
|
|
114
113
|
"""
|
|
115
114
|
return pulumi.get(self, "name")
|
|
116
115
|
|
|
117
116
|
@name.setter
|
|
118
|
-
def name(self, value: Optional[pulumi.Input[
|
|
117
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
119
118
|
pulumi.set(self, "name", value)
|
|
120
119
|
|
|
121
120
|
|
|
122
121
|
@pulumi.input_type
|
|
123
122
|
class _SecretWithClientCredentialsState:
|
|
124
123
|
def __init__(__self__, *,
|
|
125
|
-
api_authentication: Optional[pulumi.Input[
|
|
126
|
-
comment: Optional[pulumi.Input[
|
|
127
|
-
database: Optional[pulumi.Input[
|
|
124
|
+
api_authentication: Optional[pulumi.Input[_builtins.str]] = None,
|
|
125
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
126
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
128
127
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['SecretWithClientCredentialsDescribeOutputArgs']]]] = None,
|
|
129
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
130
|
-
name: Optional[pulumi.Input[
|
|
131
|
-
oauth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
132
|
-
schema: Optional[pulumi.Input[
|
|
133
|
-
secret_type: Optional[pulumi.Input[
|
|
128
|
+
fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
129
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
130
|
+
oauth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
131
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
|
+
secret_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
134
133
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['SecretWithClientCredentialsShowOutputArgs']]]] = None):
|
|
135
134
|
"""
|
|
136
135
|
Input properties used for looking up and filtering SecretWithClientCredentials resources.
|
|
137
|
-
:param pulumi.Input[
|
|
138
|
-
:param pulumi.Input[
|
|
139
|
-
:param pulumi.Input[
|
|
136
|
+
: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.
|
|
137
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the secret.
|
|
138
|
+
: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: `|`, `.`, `"`.
|
|
140
139
|
:param pulumi.Input[Sequence[pulumi.Input['SecretWithClientCredentialsDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECRET` for the given secret.
|
|
141
|
-
:param pulumi.Input[
|
|
142
|
-
:param pulumi.Input[
|
|
143
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
144
|
-
:param pulumi.Input[
|
|
145
|
-
:param pulumi.Input[
|
|
140
|
+
: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).
|
|
141
|
+
: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: `|`, `.`, `"`.
|
|
142
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] oauth_scopes: Specifies a list of scopes to use when making a request from the OAuth server by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
143
|
+
: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: `|`, `.`, `"`.
|
|
144
|
+
: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.
|
|
146
145
|
:param pulumi.Input[Sequence[pulumi.Input['SecretWithClientCredentialsShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SECRETS` for the given secret.
|
|
147
146
|
"""
|
|
148
147
|
if api_authentication is not None:
|
|
@@ -166,43 +165,43 @@ class _SecretWithClientCredentialsState:
|
|
|
166
165
|
if show_outputs is not None:
|
|
167
166
|
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
168
167
|
|
|
169
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
170
169
|
@pulumi.getter(name="apiAuthentication")
|
|
171
|
-
def api_authentication(self) -> Optional[pulumi.Input[
|
|
170
|
+
def api_authentication(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
172
171
|
"""
|
|
173
172
|
Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
|
|
174
173
|
"""
|
|
175
174
|
return pulumi.get(self, "api_authentication")
|
|
176
175
|
|
|
177
176
|
@api_authentication.setter
|
|
178
|
-
def api_authentication(self, value: Optional[pulumi.Input[
|
|
177
|
+
def api_authentication(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
179
178
|
pulumi.set(self, "api_authentication", value)
|
|
180
179
|
|
|
181
|
-
@property
|
|
180
|
+
@_builtins.property
|
|
182
181
|
@pulumi.getter
|
|
183
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
182
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
184
183
|
"""
|
|
185
184
|
Specifies a comment for the secret.
|
|
186
185
|
"""
|
|
187
186
|
return pulumi.get(self, "comment")
|
|
188
187
|
|
|
189
188
|
@comment.setter
|
|
190
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
189
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
191
190
|
pulumi.set(self, "comment", value)
|
|
192
191
|
|
|
193
|
-
@property
|
|
192
|
+
@_builtins.property
|
|
194
193
|
@pulumi.getter
|
|
195
|
-
def database(self) -> Optional[pulumi.Input[
|
|
194
|
+
def database(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
196
195
|
"""
|
|
197
196
|
The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
198
197
|
"""
|
|
199
198
|
return pulumi.get(self, "database")
|
|
200
199
|
|
|
201
200
|
@database.setter
|
|
202
|
-
def database(self, value: Optional[pulumi.Input[
|
|
201
|
+
def database(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
203
202
|
pulumi.set(self, "database", value)
|
|
204
203
|
|
|
205
|
-
@property
|
|
204
|
+
@_builtins.property
|
|
206
205
|
@pulumi.getter(name="describeOutputs")
|
|
207
206
|
def describe_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecretWithClientCredentialsDescribeOutputArgs']]]]:
|
|
208
207
|
"""
|
|
@@ -214,67 +213,67 @@ class _SecretWithClientCredentialsState:
|
|
|
214
213
|
def describe_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecretWithClientCredentialsDescribeOutputArgs']]]]):
|
|
215
214
|
pulumi.set(self, "describe_outputs", value)
|
|
216
215
|
|
|
217
|
-
@property
|
|
216
|
+
@_builtins.property
|
|
218
217
|
@pulumi.getter(name="fullyQualifiedName")
|
|
219
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[
|
|
218
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
220
219
|
"""
|
|
221
220
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
222
221
|
"""
|
|
223
222
|
return pulumi.get(self, "fully_qualified_name")
|
|
224
223
|
|
|
225
224
|
@fully_qualified_name.setter
|
|
226
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[
|
|
225
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
227
226
|
pulumi.set(self, "fully_qualified_name", value)
|
|
228
227
|
|
|
229
|
-
@property
|
|
228
|
+
@_builtins.property
|
|
230
229
|
@pulumi.getter
|
|
231
|
-
def name(self) -> Optional[pulumi.Input[
|
|
230
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
232
231
|
"""
|
|
233
232
|
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: `|`, `.`, `"`.
|
|
234
233
|
"""
|
|
235
234
|
return pulumi.get(self, "name")
|
|
236
235
|
|
|
237
236
|
@name.setter
|
|
238
|
-
def name(self, value: Optional[pulumi.Input[
|
|
237
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
239
238
|
pulumi.set(self, "name", value)
|
|
240
239
|
|
|
241
|
-
@property
|
|
240
|
+
@_builtins.property
|
|
242
241
|
@pulumi.getter(name="oauthScopes")
|
|
243
|
-
def oauth_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
242
|
+
def oauth_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
244
243
|
"""
|
|
245
244
|
Specifies a list of scopes to use when making a request from the OAuth server by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
246
245
|
"""
|
|
247
246
|
return pulumi.get(self, "oauth_scopes")
|
|
248
247
|
|
|
249
248
|
@oauth_scopes.setter
|
|
250
|
-
def oauth_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
249
|
+
def oauth_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
251
250
|
pulumi.set(self, "oauth_scopes", value)
|
|
252
251
|
|
|
253
|
-
@property
|
|
252
|
+
@_builtins.property
|
|
254
253
|
@pulumi.getter
|
|
255
|
-
def schema(self) -> Optional[pulumi.Input[
|
|
254
|
+
def schema(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
256
255
|
"""
|
|
257
256
|
The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
258
257
|
"""
|
|
259
258
|
return pulumi.get(self, "schema")
|
|
260
259
|
|
|
261
260
|
@schema.setter
|
|
262
|
-
def schema(self, value: Optional[pulumi.Input[
|
|
261
|
+
def schema(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
263
262
|
pulumi.set(self, "schema", value)
|
|
264
263
|
|
|
265
|
-
@property
|
|
264
|
+
@_builtins.property
|
|
266
265
|
@pulumi.getter(name="secretType")
|
|
267
|
-
def secret_type(self) -> Optional[pulumi.Input[
|
|
266
|
+
def secret_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
268
267
|
"""
|
|
269
268
|
Specifies a type for the secret. This field is used for checking external changes and recreating the resources if needed.
|
|
270
269
|
"""
|
|
271
270
|
return pulumi.get(self, "secret_type")
|
|
272
271
|
|
|
273
272
|
@secret_type.setter
|
|
274
|
-
def secret_type(self, value: Optional[pulumi.Input[
|
|
273
|
+
def secret_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
275
274
|
pulumi.set(self, "secret_type", value)
|
|
276
275
|
|
|
277
|
-
@property
|
|
276
|
+
@_builtins.property
|
|
278
277
|
@pulumi.getter(name="showOutputs")
|
|
279
278
|
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecretWithClientCredentialsShowOutputArgs']]]]:
|
|
280
279
|
"""
|
|
@@ -293,12 +292,12 @@ class SecretWithClientCredentials(pulumi.CustomResource):
|
|
|
293
292
|
def __init__(__self__,
|
|
294
293
|
resource_name: str,
|
|
295
294
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
296
|
-
api_authentication: Optional[pulumi.Input[
|
|
297
|
-
comment: Optional[pulumi.Input[
|
|
298
|
-
database: Optional[pulumi.Input[
|
|
299
|
-
name: Optional[pulumi.Input[
|
|
300
|
-
oauth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
301
|
-
schema: Optional[pulumi.Input[
|
|
295
|
+
api_authentication: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
297
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
298
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
299
|
+
oauth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
300
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
301
|
__props__=None):
|
|
303
302
|
"""
|
|
304
303
|
## Import
|
|
@@ -309,12 +308,12 @@ class SecretWithClientCredentials(pulumi.CustomResource):
|
|
|
309
308
|
|
|
310
309
|
:param str resource_name: The name of the resource.
|
|
311
310
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
312
|
-
:param pulumi.Input[
|
|
313
|
-
:param pulumi.Input[
|
|
314
|
-
:param pulumi.Input[
|
|
315
|
-
:param pulumi.Input[
|
|
316
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
317
|
-
:param pulumi.Input[
|
|
311
|
+
: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.
|
|
312
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the secret.
|
|
313
|
+
: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: `|`, `.`, `"`.
|
|
314
|
+
: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: `|`, `.`, `"`.
|
|
315
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] oauth_scopes: Specifies a list of scopes to use when making a request from the OAuth server by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
316
|
+
: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: `|`, `.`, `"`.
|
|
318
317
|
"""
|
|
319
318
|
...
|
|
320
319
|
@overload
|
|
@@ -344,12 +343,12 @@ class SecretWithClientCredentials(pulumi.CustomResource):
|
|
|
344
343
|
def _internal_init(__self__,
|
|
345
344
|
resource_name: str,
|
|
346
345
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
347
|
-
api_authentication: Optional[pulumi.Input[
|
|
348
|
-
comment: Optional[pulumi.Input[
|
|
349
|
-
database: Optional[pulumi.Input[
|
|
350
|
-
name: Optional[pulumi.Input[
|
|
351
|
-
oauth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
352
|
-
schema: Optional[pulumi.Input[
|
|
346
|
+
api_authentication: Optional[pulumi.Input[_builtins.str]] = None,
|
|
347
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
348
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
349
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
350
|
+
oauth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
351
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
353
352
|
__props__=None):
|
|
354
353
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
355
354
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -387,15 +386,15 @@ class SecretWithClientCredentials(pulumi.CustomResource):
|
|
|
387
386
|
def get(resource_name: str,
|
|
388
387
|
id: pulumi.Input[str],
|
|
389
388
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
390
|
-
api_authentication: Optional[pulumi.Input[
|
|
391
|
-
comment: Optional[pulumi.Input[
|
|
392
|
-
database: Optional[pulumi.Input[
|
|
389
|
+
api_authentication: Optional[pulumi.Input[_builtins.str]] = None,
|
|
390
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
391
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
393
392
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretWithClientCredentialsDescribeOutputArgs', 'SecretWithClientCredentialsDescribeOutputArgsDict']]]]] = None,
|
|
394
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
395
|
-
name: Optional[pulumi.Input[
|
|
396
|
-
oauth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
397
|
-
schema: Optional[pulumi.Input[
|
|
398
|
-
secret_type: Optional[pulumi.Input[
|
|
393
|
+
fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
394
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
395
|
+
oauth_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
396
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
397
|
+
secret_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
399
398
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecretWithClientCredentialsShowOutputArgs', 'SecretWithClientCredentialsShowOutputArgsDict']]]]] = None) -> 'SecretWithClientCredentials':
|
|
400
399
|
"""
|
|
401
400
|
Get an existing SecretWithClientCredentials resource's state with the given name, id, and optional extra
|
|
@@ -404,15 +403,15 @@ class SecretWithClientCredentials(pulumi.CustomResource):
|
|
|
404
403
|
:param str resource_name: The unique name of the resulting resource.
|
|
405
404
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
406
405
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
407
|
-
:param pulumi.Input[
|
|
408
|
-
:param pulumi.Input[
|
|
409
|
-
:param pulumi.Input[
|
|
406
|
+
: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.
|
|
407
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the secret.
|
|
408
|
+
: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: `|`, `.`, `"`.
|
|
410
409
|
:param pulumi.Input[Sequence[pulumi.Input[Union['SecretWithClientCredentialsDescribeOutputArgs', 'SecretWithClientCredentialsDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECRET` for the given secret.
|
|
411
|
-
:param pulumi.Input[
|
|
412
|
-
:param pulumi.Input[
|
|
413
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
414
|
-
:param pulumi.Input[
|
|
415
|
-
:param pulumi.Input[
|
|
410
|
+
: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).
|
|
411
|
+
: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: `|`, `.`, `"`.
|
|
412
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] oauth_scopes: Specifies a list of scopes to use when making a request from the OAuth server by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
413
|
+
: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: `|`, `.`, `"`.
|
|
414
|
+
: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.
|
|
416
415
|
:param pulumi.Input[Sequence[pulumi.Input[Union['SecretWithClientCredentialsShowOutputArgs', 'SecretWithClientCredentialsShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECRETS` for the given secret.
|
|
417
416
|
"""
|
|
418
417
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -431,31 +430,31 @@ class SecretWithClientCredentials(pulumi.CustomResource):
|
|
|
431
430
|
__props__.__dict__["show_outputs"] = show_outputs
|
|
432
431
|
return SecretWithClientCredentials(resource_name, opts=opts, __props__=__props__)
|
|
433
432
|
|
|
434
|
-
@property
|
|
433
|
+
@_builtins.property
|
|
435
434
|
@pulumi.getter(name="apiAuthentication")
|
|
436
|
-
def api_authentication(self) -> pulumi.Output[
|
|
435
|
+
def api_authentication(self) -> pulumi.Output[_builtins.str]:
|
|
437
436
|
"""
|
|
438
437
|
Specifies the name value of the Snowflake security integration that connects Snowflake to an external service. For more information about this resource, see docs.
|
|
439
438
|
"""
|
|
440
439
|
return pulumi.get(self, "api_authentication")
|
|
441
440
|
|
|
442
|
-
@property
|
|
441
|
+
@_builtins.property
|
|
443
442
|
@pulumi.getter
|
|
444
|
-
def comment(self) -> pulumi.Output[Optional[
|
|
443
|
+
def comment(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
445
444
|
"""
|
|
446
445
|
Specifies a comment for the secret.
|
|
447
446
|
"""
|
|
448
447
|
return pulumi.get(self, "comment")
|
|
449
448
|
|
|
450
|
-
@property
|
|
449
|
+
@_builtins.property
|
|
451
450
|
@pulumi.getter
|
|
452
|
-
def database(self) -> pulumi.Output[
|
|
451
|
+
def database(self) -> pulumi.Output[_builtins.str]:
|
|
453
452
|
"""
|
|
454
453
|
The database in which to create the secret Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
455
454
|
"""
|
|
456
455
|
return pulumi.get(self, "database")
|
|
457
456
|
|
|
458
|
-
@property
|
|
457
|
+
@_builtins.property
|
|
459
458
|
@pulumi.getter(name="describeOutputs")
|
|
460
459
|
def describe_outputs(self) -> pulumi.Output[Sequence['outputs.SecretWithClientCredentialsDescribeOutput']]:
|
|
461
460
|
"""
|
|
@@ -463,47 +462,47 @@ class SecretWithClientCredentials(pulumi.CustomResource):
|
|
|
463
462
|
"""
|
|
464
463
|
return pulumi.get(self, "describe_outputs")
|
|
465
464
|
|
|
466
|
-
@property
|
|
465
|
+
@_builtins.property
|
|
467
466
|
@pulumi.getter(name="fullyQualifiedName")
|
|
468
|
-
def fully_qualified_name(self) -> pulumi.Output[
|
|
467
|
+
def fully_qualified_name(self) -> pulumi.Output[_builtins.str]:
|
|
469
468
|
"""
|
|
470
469
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
471
470
|
"""
|
|
472
471
|
return pulumi.get(self, "fully_qualified_name")
|
|
473
472
|
|
|
474
|
-
@property
|
|
473
|
+
@_builtins.property
|
|
475
474
|
@pulumi.getter
|
|
476
|
-
def name(self) -> pulumi.Output[
|
|
475
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
477
476
|
"""
|
|
478
477
|
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: `|`, `.`, `"`.
|
|
479
478
|
"""
|
|
480
479
|
return pulumi.get(self, "name")
|
|
481
480
|
|
|
482
|
-
@property
|
|
481
|
+
@_builtins.property
|
|
483
482
|
@pulumi.getter(name="oauthScopes")
|
|
484
|
-
def oauth_scopes(self) -> pulumi.Output[Sequence[
|
|
483
|
+
def oauth_scopes(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
485
484
|
"""
|
|
486
485
|
Specifies a list of scopes to use when making a request from the OAuth server by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
487
486
|
"""
|
|
488
487
|
return pulumi.get(self, "oauth_scopes")
|
|
489
488
|
|
|
490
|
-
@property
|
|
489
|
+
@_builtins.property
|
|
491
490
|
@pulumi.getter
|
|
492
|
-
def schema(self) -> pulumi.Output[
|
|
491
|
+
def schema(self) -> pulumi.Output[_builtins.str]:
|
|
493
492
|
"""
|
|
494
493
|
The schema in which to create the secret. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
495
494
|
"""
|
|
496
495
|
return pulumi.get(self, "schema")
|
|
497
496
|
|
|
498
|
-
@property
|
|
497
|
+
@_builtins.property
|
|
499
498
|
@pulumi.getter(name="secretType")
|
|
500
|
-
def secret_type(self) -> pulumi.Output[
|
|
499
|
+
def secret_type(self) -> pulumi.Output[_builtins.str]:
|
|
501
500
|
"""
|
|
502
501
|
Specifies a type for the secret. This field is used for checking external changes and recreating the resources if needed.
|
|
503
502
|
"""
|
|
504
503
|
return pulumi.get(self, "secret_type")
|
|
505
504
|
|
|
506
|
-
@property
|
|
505
|
+
@_builtins.property
|
|
507
506
|
@pulumi.getter(name="showOutputs")
|
|
508
507
|
def show_outputs(self) -> pulumi.Output[Sequence['outputs.SecretWithClientCredentialsShowOutput']]:
|
|
509
508
|
"""
|