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,29 +22,29 @@ __all__ = ['ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs', 'ApiAut
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
enabled: pulumi.Input[bool],
|
|
25
|
-
oauth_client_id: pulumi.Input[str],
|
|
26
|
-
oauth_client_secret: pulumi.Input[str],
|
|
27
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
30
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
31
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
34
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
enabled: pulumi.Input[builtins.bool],
|
|
26
|
+
oauth_client_id: pulumi.Input[builtins.str],
|
|
27
|
+
oauth_client_secret: pulumi.Input[builtins.str],
|
|
28
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
31
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
32
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
35
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None):
|
|
35
36
|
"""
|
|
36
37
|
The set of arguments for constructing a ApiAuthenticationIntegrationWithAuthorizationCodeGrant resource.
|
|
37
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
38
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
39
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
40
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
41
|
-
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
42
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
43
|
-
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
44
|
-
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
45
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
46
|
-
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
38
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
39
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
40
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
41
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
42
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
43
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
44
|
+
:param pulumi.Input[builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
45
|
+
:param pulumi.Input[builtins.str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
46
|
+
:param pulumi.Input[builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
47
|
+
:param pulumi.Input[builtins.str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
47
48
|
"""
|
|
48
49
|
pulumi.set(__self__, "enabled", enabled)
|
|
49
50
|
pulumi.set(__self__, "oauth_client_id", oauth_client_id)
|
|
@@ -67,165 +68,165 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter
|
|
70
|
-
def enabled(self) -> pulumi.Input[bool]:
|
|
71
|
+
def enabled(self) -> pulumi.Input[builtins.bool]:
|
|
71
72
|
"""
|
|
72
73
|
Specifies whether this security integration is enabled or disabled.
|
|
73
74
|
"""
|
|
74
75
|
return pulumi.get(self, "enabled")
|
|
75
76
|
|
|
76
77
|
@enabled.setter
|
|
77
|
-
def enabled(self, value: pulumi.Input[bool]):
|
|
78
|
+
def enabled(self, value: pulumi.Input[builtins.bool]):
|
|
78
79
|
pulumi.set(self, "enabled", value)
|
|
79
80
|
|
|
80
81
|
@property
|
|
81
82
|
@pulumi.getter(name="oauthClientId")
|
|
82
|
-
def oauth_client_id(self) -> pulumi.Input[str]:
|
|
83
|
+
def oauth_client_id(self) -> pulumi.Input[builtins.str]:
|
|
83
84
|
"""
|
|
84
85
|
Specifies the client ID for the OAuth application in the external service.
|
|
85
86
|
"""
|
|
86
87
|
return pulumi.get(self, "oauth_client_id")
|
|
87
88
|
|
|
88
89
|
@oauth_client_id.setter
|
|
89
|
-
def oauth_client_id(self, value: pulumi.Input[str]):
|
|
90
|
+
def oauth_client_id(self, value: pulumi.Input[builtins.str]):
|
|
90
91
|
pulumi.set(self, "oauth_client_id", value)
|
|
91
92
|
|
|
92
93
|
@property
|
|
93
94
|
@pulumi.getter(name="oauthClientSecret")
|
|
94
|
-
def oauth_client_secret(self) -> pulumi.Input[str]:
|
|
95
|
+
def oauth_client_secret(self) -> pulumi.Input[builtins.str]:
|
|
95
96
|
return pulumi.get(self, "oauth_client_secret")
|
|
96
97
|
|
|
97
98
|
@oauth_client_secret.setter
|
|
98
|
-
def oauth_client_secret(self, value: pulumi.Input[str]):
|
|
99
|
+
def oauth_client_secret(self, value: pulumi.Input[builtins.str]):
|
|
99
100
|
pulumi.set(self, "oauth_client_secret", value)
|
|
100
101
|
|
|
101
102
|
@property
|
|
102
103
|
@pulumi.getter
|
|
103
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
104
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
104
105
|
"""
|
|
105
106
|
Specifies a comment for the integration.
|
|
106
107
|
"""
|
|
107
108
|
return pulumi.get(self, "comment")
|
|
108
109
|
|
|
109
110
|
@comment.setter
|
|
110
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
111
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
111
112
|
pulumi.set(self, "comment", value)
|
|
112
113
|
|
|
113
114
|
@property
|
|
114
115
|
@pulumi.getter
|
|
115
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
116
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
116
117
|
"""
|
|
117
118
|
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
118
119
|
"""
|
|
119
120
|
return pulumi.get(self, "name")
|
|
120
121
|
|
|
121
122
|
@name.setter
|
|
122
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
123
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
123
124
|
pulumi.set(self, "name", value)
|
|
124
125
|
|
|
125
126
|
@property
|
|
126
127
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
127
|
-
def oauth_access_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
128
|
+
def oauth_access_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
128
129
|
"""
|
|
129
130
|
Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
130
131
|
"""
|
|
131
132
|
return pulumi.get(self, "oauth_access_token_validity")
|
|
132
133
|
|
|
133
134
|
@oauth_access_token_validity.setter
|
|
134
|
-
def oauth_access_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
135
|
+
def oauth_access_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
135
136
|
pulumi.set(self, "oauth_access_token_validity", value)
|
|
136
137
|
|
|
137
138
|
@property
|
|
138
139
|
@pulumi.getter(name="oauthAllowedScopes")
|
|
139
|
-
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
140
|
+
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
140
141
|
"""
|
|
141
142
|
Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
142
143
|
"""
|
|
143
144
|
return pulumi.get(self, "oauth_allowed_scopes")
|
|
144
145
|
|
|
145
146
|
@oauth_allowed_scopes.setter
|
|
146
|
-
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
147
|
+
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
147
148
|
pulumi.set(self, "oauth_allowed_scopes", value)
|
|
148
149
|
|
|
149
150
|
@property
|
|
150
151
|
@pulumi.getter(name="oauthAuthorizationEndpoint")
|
|
151
|
-
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
152
|
+
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
152
153
|
"""
|
|
153
154
|
Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
154
155
|
"""
|
|
155
156
|
return pulumi.get(self, "oauth_authorization_endpoint")
|
|
156
157
|
|
|
157
158
|
@oauth_authorization_endpoint.setter
|
|
158
|
-
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
159
|
+
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
159
160
|
pulumi.set(self, "oauth_authorization_endpoint", value)
|
|
160
161
|
|
|
161
162
|
@property
|
|
162
163
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
163
|
-
def oauth_client_auth_method(self) -> Optional[pulumi.Input[str]]:
|
|
164
|
+
def oauth_client_auth_method(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
164
165
|
"""
|
|
165
166
|
Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
166
167
|
"""
|
|
167
168
|
return pulumi.get(self, "oauth_client_auth_method")
|
|
168
169
|
|
|
169
170
|
@oauth_client_auth_method.setter
|
|
170
|
-
def oauth_client_auth_method(self, value: Optional[pulumi.Input[str]]):
|
|
171
|
+
def oauth_client_auth_method(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
171
172
|
pulumi.set(self, "oauth_client_auth_method", value)
|
|
172
173
|
|
|
173
174
|
@property
|
|
174
175
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
175
|
-
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
176
|
+
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
176
177
|
"""
|
|
177
178
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
178
179
|
"""
|
|
179
180
|
return pulumi.get(self, "oauth_refresh_token_validity")
|
|
180
181
|
|
|
181
182
|
@oauth_refresh_token_validity.setter
|
|
182
|
-
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
183
|
+
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
183
184
|
pulumi.set(self, "oauth_refresh_token_validity", value)
|
|
184
185
|
|
|
185
186
|
@property
|
|
186
187
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
187
|
-
def oauth_token_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
188
|
+
def oauth_token_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
188
189
|
"""
|
|
189
190
|
Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
190
191
|
"""
|
|
191
192
|
return pulumi.get(self, "oauth_token_endpoint")
|
|
192
193
|
|
|
193
194
|
@oauth_token_endpoint.setter
|
|
194
|
-
def oauth_token_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
195
|
+
def oauth_token_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
195
196
|
pulumi.set(self, "oauth_token_endpoint", value)
|
|
196
197
|
|
|
197
198
|
|
|
198
199
|
@pulumi.input_type
|
|
199
200
|
class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
200
201
|
def __init__(__self__, *,
|
|
201
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
202
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
202
203
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs']]]] = None,
|
|
203
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
204
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
205
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
206
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
207
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
208
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
|
|
209
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
210
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
211
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
212
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
213
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
204
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
205
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
206
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
207
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
208
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
209
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
210
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
211
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
212
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
213
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
214
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
214
215
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgs']]]] = None):
|
|
215
216
|
"""
|
|
216
217
|
Input properties used for looking up and filtering ApiAuthenticationIntegrationWithAuthorizationCodeGrant resources.
|
|
217
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
218
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
218
219
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
219
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
220
|
-
: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).
|
|
221
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
222
|
-
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
223
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
224
|
-
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
225
|
-
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
226
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
227
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
228
|
-
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
220
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
221
|
+
: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).
|
|
222
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
223
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
224
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
225
|
+
:param pulumi.Input[builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
226
|
+
:param pulumi.Input[builtins.str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
227
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
228
|
+
:param pulumi.Input[builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
229
|
+
:param pulumi.Input[builtins.str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
229
230
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
230
231
|
"""
|
|
231
232
|
if comment is not None:
|
|
@@ -259,14 +260,14 @@ class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
|
259
260
|
|
|
260
261
|
@property
|
|
261
262
|
@pulumi.getter
|
|
262
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
263
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
263
264
|
"""
|
|
264
265
|
Specifies a comment for the integration.
|
|
265
266
|
"""
|
|
266
267
|
return pulumi.get(self, "comment")
|
|
267
268
|
|
|
268
269
|
@comment.setter
|
|
269
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
270
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
270
271
|
pulumi.set(self, "comment", value)
|
|
271
272
|
|
|
272
273
|
@property
|
|
@@ -283,131 +284,131 @@ class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
|
283
284
|
|
|
284
285
|
@property
|
|
285
286
|
@pulumi.getter
|
|
286
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
287
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
287
288
|
"""
|
|
288
289
|
Specifies whether this security integration is enabled or disabled.
|
|
289
290
|
"""
|
|
290
291
|
return pulumi.get(self, "enabled")
|
|
291
292
|
|
|
292
293
|
@enabled.setter
|
|
293
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
294
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
294
295
|
pulumi.set(self, "enabled", value)
|
|
295
296
|
|
|
296
297
|
@property
|
|
297
298
|
@pulumi.getter(name="fullyQualifiedName")
|
|
298
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
299
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
299
300
|
"""
|
|
300
301
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
301
302
|
"""
|
|
302
303
|
return pulumi.get(self, "fully_qualified_name")
|
|
303
304
|
|
|
304
305
|
@fully_qualified_name.setter
|
|
305
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
306
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
306
307
|
pulumi.set(self, "fully_qualified_name", value)
|
|
307
308
|
|
|
308
309
|
@property
|
|
309
310
|
@pulumi.getter
|
|
310
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
311
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
311
312
|
"""
|
|
312
313
|
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
313
314
|
"""
|
|
314
315
|
return pulumi.get(self, "name")
|
|
315
316
|
|
|
316
317
|
@name.setter
|
|
317
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
318
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
318
319
|
pulumi.set(self, "name", value)
|
|
319
320
|
|
|
320
321
|
@property
|
|
321
322
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
322
|
-
def oauth_access_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
323
|
+
def oauth_access_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
323
324
|
"""
|
|
324
325
|
Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
325
326
|
"""
|
|
326
327
|
return pulumi.get(self, "oauth_access_token_validity")
|
|
327
328
|
|
|
328
329
|
@oauth_access_token_validity.setter
|
|
329
|
-
def oauth_access_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
330
|
+
def oauth_access_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
330
331
|
pulumi.set(self, "oauth_access_token_validity", value)
|
|
331
332
|
|
|
332
333
|
@property
|
|
333
334
|
@pulumi.getter(name="oauthAllowedScopes")
|
|
334
|
-
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
335
|
+
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
335
336
|
"""
|
|
336
337
|
Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
337
338
|
"""
|
|
338
339
|
return pulumi.get(self, "oauth_allowed_scopes")
|
|
339
340
|
|
|
340
341
|
@oauth_allowed_scopes.setter
|
|
341
|
-
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
342
|
+
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
342
343
|
pulumi.set(self, "oauth_allowed_scopes", value)
|
|
343
344
|
|
|
344
345
|
@property
|
|
345
346
|
@pulumi.getter(name="oauthAuthorizationEndpoint")
|
|
346
|
-
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
347
|
+
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
347
348
|
"""
|
|
348
349
|
Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
349
350
|
"""
|
|
350
351
|
return pulumi.get(self, "oauth_authorization_endpoint")
|
|
351
352
|
|
|
352
353
|
@oauth_authorization_endpoint.setter
|
|
353
|
-
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
354
|
+
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
354
355
|
pulumi.set(self, "oauth_authorization_endpoint", value)
|
|
355
356
|
|
|
356
357
|
@property
|
|
357
358
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
358
|
-
def oauth_client_auth_method(self) -> Optional[pulumi.Input[str]]:
|
|
359
|
+
def oauth_client_auth_method(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
359
360
|
"""
|
|
360
361
|
Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
361
362
|
"""
|
|
362
363
|
return pulumi.get(self, "oauth_client_auth_method")
|
|
363
364
|
|
|
364
365
|
@oauth_client_auth_method.setter
|
|
365
|
-
def oauth_client_auth_method(self, value: Optional[pulumi.Input[str]]):
|
|
366
|
+
def oauth_client_auth_method(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
366
367
|
pulumi.set(self, "oauth_client_auth_method", value)
|
|
367
368
|
|
|
368
369
|
@property
|
|
369
370
|
@pulumi.getter(name="oauthClientId")
|
|
370
|
-
def oauth_client_id(self) -> Optional[pulumi.Input[str]]:
|
|
371
|
+
def oauth_client_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
371
372
|
"""
|
|
372
373
|
Specifies the client ID for the OAuth application in the external service.
|
|
373
374
|
"""
|
|
374
375
|
return pulumi.get(self, "oauth_client_id")
|
|
375
376
|
|
|
376
377
|
@oauth_client_id.setter
|
|
377
|
-
def oauth_client_id(self, value: Optional[pulumi.Input[str]]):
|
|
378
|
+
def oauth_client_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
378
379
|
pulumi.set(self, "oauth_client_id", value)
|
|
379
380
|
|
|
380
381
|
@property
|
|
381
382
|
@pulumi.getter(name="oauthClientSecret")
|
|
382
|
-
def oauth_client_secret(self) -> Optional[pulumi.Input[str]]:
|
|
383
|
+
def oauth_client_secret(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
383
384
|
return pulumi.get(self, "oauth_client_secret")
|
|
384
385
|
|
|
385
386
|
@oauth_client_secret.setter
|
|
386
|
-
def oauth_client_secret(self, value: Optional[pulumi.Input[str]]):
|
|
387
|
+
def oauth_client_secret(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
387
388
|
pulumi.set(self, "oauth_client_secret", value)
|
|
388
389
|
|
|
389
390
|
@property
|
|
390
391
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
391
|
-
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
392
|
+
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
392
393
|
"""
|
|
393
394
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
394
395
|
"""
|
|
395
396
|
return pulumi.get(self, "oauth_refresh_token_validity")
|
|
396
397
|
|
|
397
398
|
@oauth_refresh_token_validity.setter
|
|
398
|
-
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
399
|
+
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
399
400
|
pulumi.set(self, "oauth_refresh_token_validity", value)
|
|
400
401
|
|
|
401
402
|
@property
|
|
402
403
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
403
|
-
def oauth_token_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
404
|
+
def oauth_token_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
404
405
|
"""
|
|
405
406
|
Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
406
407
|
"""
|
|
407
408
|
return pulumi.get(self, "oauth_token_endpoint")
|
|
408
409
|
|
|
409
410
|
@oauth_token_endpoint.setter
|
|
410
|
-
def oauth_token_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
411
|
+
def oauth_token_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
411
412
|
pulumi.set(self, "oauth_token_endpoint", value)
|
|
412
413
|
|
|
413
414
|
@property
|
|
@@ -428,17 +429,17 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
428
429
|
def __init__(__self__,
|
|
429
430
|
resource_name: str,
|
|
430
431
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
431
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
432
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
433
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
434
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
435
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
436
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
|
|
437
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
438
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
439
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
440
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
441
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
432
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
433
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
434
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
435
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
436
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
437
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
438
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
439
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
440
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
441
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
442
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
442
443
|
__props__=None):
|
|
443
444
|
"""
|
|
444
445
|
## Import
|
|
@@ -449,16 +450,16 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
449
450
|
|
|
450
451
|
:param str resource_name: The name of the resource.
|
|
451
452
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
452
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
453
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
454
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
455
|
-
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
456
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
457
|
-
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
458
|
-
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
459
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
460
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
461
|
-
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
453
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
454
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
455
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
456
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
457
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
458
|
+
:param pulumi.Input[builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
459
|
+
:param pulumi.Input[builtins.str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
460
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
461
|
+
:param pulumi.Input[builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
462
|
+
:param pulumi.Input[builtins.str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
462
463
|
"""
|
|
463
464
|
...
|
|
464
465
|
@overload
|
|
@@ -488,17 +489,17 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
488
489
|
def _internal_init(__self__,
|
|
489
490
|
resource_name: str,
|
|
490
491
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
491
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
492
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
493
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
494
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
495
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
496
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
|
|
497
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
498
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
499
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
500
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
501
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
492
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
493
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
494
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
495
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
496
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
497
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
498
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
499
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
500
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
501
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
502
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
502
503
|
__props__=None):
|
|
503
504
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
504
505
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -538,19 +539,19 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
538
539
|
def get(resource_name: str,
|
|
539
540
|
id: pulumi.Input[str],
|
|
540
541
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
541
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
542
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
542
543
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs', 'ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgsDict']]]]] = None,
|
|
543
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
544
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
545
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
546
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
547
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
548
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
|
|
549
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
550
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
551
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
552
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
553
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
544
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
545
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
546
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
547
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
548
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
549
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
550
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
551
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
552
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
553
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
554
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
554
555
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgs', 'ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgsDict']]]]] = None) -> 'ApiAuthenticationIntegrationWithAuthorizationCodeGrant':
|
|
555
556
|
"""
|
|
556
557
|
Get an existing ApiAuthenticationIntegrationWithAuthorizationCodeGrant resource's state with the given name, id, and optional extra
|
|
@@ -559,18 +560,18 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
559
560
|
:param str resource_name: The unique name of the resulting resource.
|
|
560
561
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
561
562
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
562
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
563
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
563
564
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs', 'ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
564
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
565
|
-
: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).
|
|
566
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
567
|
-
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
568
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
569
|
-
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
570
|
-
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
571
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
572
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
573
|
-
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
565
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
566
|
+
: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).
|
|
567
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
568
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
569
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
570
|
+
:param pulumi.Input[builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
571
|
+
:param pulumi.Input[builtins.str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
572
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
573
|
+
:param pulumi.Input[builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
574
|
+
:param pulumi.Input[builtins.str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
574
575
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgs', 'ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
575
576
|
"""
|
|
576
577
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -595,7 +596,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
595
596
|
|
|
596
597
|
@property
|
|
597
598
|
@pulumi.getter
|
|
598
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
599
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
599
600
|
"""
|
|
600
601
|
Specifies a comment for the integration.
|
|
601
602
|
"""
|
|
@@ -611,7 +612,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
611
612
|
|
|
612
613
|
@property
|
|
613
614
|
@pulumi.getter
|
|
614
|
-
def enabled(self) -> pulumi.Output[bool]:
|
|
615
|
+
def enabled(self) -> pulumi.Output[builtins.bool]:
|
|
615
616
|
"""
|
|
616
617
|
Specifies whether this security integration is enabled or disabled.
|
|
617
618
|
"""
|
|
@@ -619,7 +620,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
619
620
|
|
|
620
621
|
@property
|
|
621
622
|
@pulumi.getter(name="fullyQualifiedName")
|
|
622
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
623
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
623
624
|
"""
|
|
624
625
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
625
626
|
"""
|
|
@@ -627,7 +628,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
627
628
|
|
|
628
629
|
@property
|
|
629
630
|
@pulumi.getter
|
|
630
|
-
def name(self) -> pulumi.Output[str]:
|
|
631
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
631
632
|
"""
|
|
632
633
|
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
633
634
|
"""
|
|
@@ -635,7 +636,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
635
636
|
|
|
636
637
|
@property
|
|
637
638
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
638
|
-
def oauth_access_token_validity(self) -> pulumi.Output[Optional[int]]:
|
|
639
|
+
def oauth_access_token_validity(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
639
640
|
"""
|
|
640
641
|
Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
641
642
|
"""
|
|
@@ -643,7 +644,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
643
644
|
|
|
644
645
|
@property
|
|
645
646
|
@pulumi.getter(name="oauthAllowedScopes")
|
|
646
|
-
def oauth_allowed_scopes(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
647
|
+
def oauth_allowed_scopes(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
647
648
|
"""
|
|
648
649
|
Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
649
650
|
"""
|
|
@@ -651,7 +652,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
651
652
|
|
|
652
653
|
@property
|
|
653
654
|
@pulumi.getter(name="oauthAuthorizationEndpoint")
|
|
654
|
-
def oauth_authorization_endpoint(self) -> pulumi.Output[Optional[str]]:
|
|
655
|
+
def oauth_authorization_endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
655
656
|
"""
|
|
656
657
|
Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
657
658
|
"""
|
|
@@ -659,7 +660,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
659
660
|
|
|
660
661
|
@property
|
|
661
662
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
662
|
-
def oauth_client_auth_method(self) -> pulumi.Output[Optional[str]]:
|
|
663
|
+
def oauth_client_auth_method(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
663
664
|
"""
|
|
664
665
|
Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
665
666
|
"""
|
|
@@ -667,7 +668,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
667
668
|
|
|
668
669
|
@property
|
|
669
670
|
@pulumi.getter(name="oauthClientId")
|
|
670
|
-
def oauth_client_id(self) -> pulumi.Output[str]:
|
|
671
|
+
def oauth_client_id(self) -> pulumi.Output[builtins.str]:
|
|
671
672
|
"""
|
|
672
673
|
Specifies the client ID for the OAuth application in the external service.
|
|
673
674
|
"""
|
|
@@ -675,12 +676,12 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
675
676
|
|
|
676
677
|
@property
|
|
677
678
|
@pulumi.getter(name="oauthClientSecret")
|
|
678
|
-
def oauth_client_secret(self) -> pulumi.Output[str]:
|
|
679
|
+
def oauth_client_secret(self) -> pulumi.Output[builtins.str]:
|
|
679
680
|
return pulumi.get(self, "oauth_client_secret")
|
|
680
681
|
|
|
681
682
|
@property
|
|
682
683
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
683
|
-
def oauth_refresh_token_validity(self) -> pulumi.Output[Optional[int]]:
|
|
684
|
+
def oauth_refresh_token_validity(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
684
685
|
"""
|
|
685
686
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
686
687
|
"""
|
|
@@ -688,7 +689,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
688
689
|
|
|
689
690
|
@property
|
|
690
691
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
691
|
-
def oauth_token_endpoint(self) -> pulumi.Output[Optional[str]]:
|
|
692
|
+
def oauth_token_endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
692
693
|
"""
|
|
693
694
|
Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
694
695
|
"""
|