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