pulumi-snowflake 2.3.0a1752907264__py3-none-any.whl → 2.3.0a1753398370__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +1 -1
- pulumi_snowflake/_inputs.py +16796 -16797
- pulumi_snowflake/account.py +252 -253
- pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
- pulumi_snowflake/account_parameter.py +35 -36
- pulumi_snowflake/account_password_policy_attachment.py +18 -19
- pulumi_snowflake/account_role.py +42 -43
- pulumi_snowflake/alert.py +149 -150
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
- pulumi_snowflake/api_integration.py +251 -252
- pulumi_snowflake/authentication_policy.py +167 -168
- pulumi_snowflake/compute_pool.py +167 -168
- pulumi_snowflake/config/__init__.py +1 -1
- pulumi_snowflake/config/__init__.pyi +1 -2
- pulumi_snowflake/config/outputs.py +21 -22
- pulumi_snowflake/config/vars.py +43 -44
- pulumi_snowflake/cortex_search_service.py +191 -192
- pulumi_snowflake/current_account.py +2088 -2089
- pulumi_snowflake/database.py +353 -354
- pulumi_snowflake/database_role.py +63 -64
- pulumi_snowflake/dynamic_table.py +274 -275
- pulumi_snowflake/email_notification_integration.py +70 -71
- pulumi_snowflake/execute.py +61 -62
- pulumi_snowflake/external_function.py +280 -281
- pulumi_snowflake/external_oauth_integration.py +288 -289
- pulumi_snowflake/external_table.py +246 -247
- pulumi_snowflake/external_volume.py +68 -69
- pulumi_snowflake/failover_group.py +135 -136
- pulumi_snowflake/file_format.py +622 -623
- pulumi_snowflake/function_java.py +320 -321
- pulumi_snowflake/function_javascript.py +243 -244
- pulumi_snowflake/function_python.py +334 -335
- pulumi_snowflake/function_scala.py +320 -321
- pulumi_snowflake/function_sql.py +226 -227
- pulumi_snowflake/get_account_roles.py +16 -17
- pulumi_snowflake/get_accounts.py +16 -17
- pulumi_snowflake/get_alerts.py +22 -23
- pulumi_snowflake/get_compute_pools.py +23 -24
- pulumi_snowflake/get_connections.py +10 -11
- pulumi_snowflake/get_cortex_search_services.py +18 -19
- pulumi_snowflake/get_current_account.py +9 -10
- pulumi_snowflake/get_current_role.py +5 -6
- pulumi_snowflake/get_database.py +25 -26
- pulumi_snowflake/get_database_role.py +19 -20
- pulumi_snowflake/get_database_roles.py +17 -18
- pulumi_snowflake/get_databases.py +29 -30
- pulumi_snowflake/get_dynamic_tables.py +13 -14
- pulumi_snowflake/get_external_functions.py +16 -17
- pulumi_snowflake/get_external_tables.py +16 -17
- pulumi_snowflake/get_failover_groups.py +10 -11
- pulumi_snowflake/get_file_formats.py +16 -17
- pulumi_snowflake/get_functions.py +16 -17
- pulumi_snowflake/get_git_repositories.py +18 -19
- pulumi_snowflake/get_grants.py +9 -10
- pulumi_snowflake/get_image_repositories.py +11 -12
- pulumi_snowflake/get_masking_policies.py +18 -19
- pulumi_snowflake/get_materialized_views.py +16 -17
- pulumi_snowflake/get_network_policies.py +16 -17
- pulumi_snowflake/get_parameters.py +34 -35
- pulumi_snowflake/get_pipes.py +16 -17
- pulumi_snowflake/get_procedures.py +16 -17
- pulumi_snowflake/get_resource_monitors.py +10 -11
- pulumi_snowflake/get_row_access_policies.py +18 -19
- pulumi_snowflake/get_schemas.py +30 -31
- pulumi_snowflake/get_secrets.py +17 -18
- pulumi_snowflake/get_security_integrations.py +16 -17
- pulumi_snowflake/get_sequences.py +16 -17
- pulumi_snowflake/get_services.py +30 -31
- pulumi_snowflake/get_shares.py +10 -11
- pulumi_snowflake/get_stages.py +16 -17
- pulumi_snowflake/get_storage_integrations.py +4 -5
- pulumi_snowflake/get_streamlits.py +18 -19
- pulumi_snowflake/get_streams.py +24 -25
- pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
- pulumi_snowflake/get_system_get_private_link_config.py +21 -22
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
- pulumi_snowflake/get_tables.py +24 -25
- pulumi_snowflake/get_tags.py +11 -12
- pulumi_snowflake/get_tasks.py +30 -31
- pulumi_snowflake/get_users.py +29 -30
- pulumi_snowflake/get_views.py +24 -25
- pulumi_snowflake/get_warehouses.py +22 -23
- pulumi_snowflake/git_repository.py +133 -134
- pulumi_snowflake/grant_account_role.py +52 -53
- pulumi_snowflake/grant_application_role.py +52 -53
- pulumi_snowflake/grant_database_role.py +69 -70
- pulumi_snowflake/grant_ownership.py +55 -56
- pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
- pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
- pulumi_snowflake/grant_privileges_to_share.py +154 -155
- pulumi_snowflake/image_repository.py +80 -81
- pulumi_snowflake/job_service.py +148 -149
- pulumi_snowflake/legacy_service_user.py +1269 -1270
- pulumi_snowflake/managed_account.py +140 -141
- pulumi_snowflake/masking_policy.py +136 -137
- pulumi_snowflake/materialized_view.py +149 -150
- pulumi_snowflake/network_policy.py +116 -117
- pulumi_snowflake/network_policy_attachment.py +52 -53
- pulumi_snowflake/network_rule.py +129 -130
- pulumi_snowflake/notification_integration.py +298 -299
- pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
- pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
- pulumi_snowflake/object_parameter.py +72 -73
- pulumi_snowflake/outputs.py +15510 -15511
- pulumi_snowflake/password_policy.py +299 -300
- pulumi_snowflake/pipe.py +181 -182
- pulumi_snowflake/primary_connection.py +70 -71
- pulumi_snowflake/procedure_java.py +341 -342
- pulumi_snowflake/procedure_javascript.py +247 -248
- pulumi_snowflake/procedure_python.py +338 -339
- pulumi_snowflake/procedure_scala.py +341 -342
- pulumi_snowflake/procedure_sql.py +247 -248
- pulumi_snowflake/provider.py +377 -378
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +165 -166
- pulumi_snowflake/row_access_policy.py +102 -103
- pulumi_snowflake/saml2_integration.py +303 -304
- pulumi_snowflake/schema.py +390 -391
- pulumi_snowflake/scim_integration.py +133 -134
- pulumi_snowflake/secondary_connection.py +72 -73
- pulumi_snowflake/secondary_database.py +350 -351
- pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
- pulumi_snowflake/secret_with_basic_authentication.py +121 -122
- pulumi_snowflake/secret_with_client_credentials.py +125 -126
- pulumi_snowflake/secret_with_generic_string.py +104 -105
- pulumi_snowflake/sequence.py +121 -122
- pulumi_snowflake/service.py +233 -234
- pulumi_snowflake/service_user.py +1239 -1240
- pulumi_snowflake/share.py +61 -62
- pulumi_snowflake/shared_database.py +299 -300
- pulumi_snowflake/stage.py +234 -235
- pulumi_snowflake/storage_integration.py +230 -231
- pulumi_snowflake/stream_on_directory_table.py +128 -129
- pulumi_snowflake/stream_on_external_table.py +151 -152
- pulumi_snowflake/stream_on_table.py +164 -165
- pulumi_snowflake/stream_on_view.py +164 -165
- pulumi_snowflake/streamlit.py +184 -185
- pulumi_snowflake/table.py +147 -148
- pulumi_snowflake/table_column_masking_policy_application.py +52 -53
- pulumi_snowflake/table_constraint.py +191 -192
- pulumi_snowflake/tag.py +114 -115
- pulumi_snowflake/tag_association.py +86 -87
- pulumi_snowflake/task.py +1224 -1225
- pulumi_snowflake/user.py +1346 -1347
- pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
- pulumi_snowflake/user_password_policy_attachment.py +35 -36
- pulumi_snowflake/user_public_keys.py +52 -53
- pulumi_snowflake/view.py +187 -188
- pulumi_snowflake/warehouse.py +286 -287
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/METADATA +1 -1
- pulumi_snowflake-2.3.0a1753398370.dist-info/RECORD +158 -0
- pulumi_snowflake-2.3.0a1752907264.dist-info/RECORD +0 -158
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/top_level.txt +0 -0
pulumi_snowflake/service.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,36 +21,36 @@ __all__ = ['ServiceArgs', 'Service']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class ServiceArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
compute_pool: pulumi.Input[
|
|
26
|
-
database: pulumi.Input[
|
|
27
|
-
schema: pulumi.Input[
|
|
28
|
-
auto_resume: Optional[pulumi.Input[
|
|
29
|
-
auto_suspend_secs: Optional[pulumi.Input[
|
|
30
|
-
comment: Optional[pulumi.Input[
|
|
31
|
-
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
24
|
+
compute_pool: pulumi.Input[_builtins.str],
|
|
25
|
+
database: pulumi.Input[_builtins.str],
|
|
26
|
+
schema: pulumi.Input[_builtins.str],
|
|
27
|
+
auto_resume: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
auto_suspend_secs: Optional[pulumi.Input[_builtins.int]] = None,
|
|
29
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
32
31
|
from_specification: Optional[pulumi.Input['ServiceFromSpecificationArgs']] = None,
|
|
33
32
|
from_specification_template: Optional[pulumi.Input['ServiceFromSpecificationTemplateArgs']] = None,
|
|
34
|
-
max_instances: Optional[pulumi.Input[
|
|
35
|
-
min_instances: Optional[pulumi.Input[
|
|
36
|
-
min_ready_instances: Optional[pulumi.Input[
|
|
37
|
-
name: Optional[pulumi.Input[
|
|
38
|
-
query_warehouse: Optional[pulumi.Input[
|
|
33
|
+
max_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
34
|
+
min_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
35
|
+
min_ready_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
36
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
37
|
+
query_warehouse: Optional[pulumi.Input[_builtins.str]] = None):
|
|
39
38
|
"""
|
|
40
39
|
The set of arguments for constructing a Service resource.
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
:param pulumi.Input[
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
46
|
-
:param pulumi.Input[
|
|
47
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
40
|
+
:param pulumi.Input[_builtins.str] compute_pool: Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see [docs](https://docs.snowflake.com/en/sql-reference/sql/create-compute-pool)). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
41
|
+
:param pulumi.Input[_builtins.str] database: The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
42
|
+
:param pulumi.Input[_builtins.str] schema: The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
43
|
+
:param pulumi.Input[_builtins.str] auto_resume: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a service. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
44
|
+
:param pulumi.Input[_builtins.int] auto_suspend_secs: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity (service is idle) after which Snowflake automatically suspends the service.
|
|
45
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the service.
|
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] external_access_integrations: Specifies the names of the external access integrations that allow your service to access external sites.
|
|
48
47
|
:param pulumi.Input['ServiceFromSpecificationArgs'] from_specification: Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See [service specification](https://docs.snowflake.com/en/developer-guide/snowpark-container-services/specification-reference#general-guidelines) for more information.
|
|
49
48
|
:param pulumi.Input['ServiceFromSpecificationTemplateArgs'] from_specification_template: Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See [service specification](https://docs.snowflake.com/en/developer-guide/snowpark-container-services/specification-reference#general-guidelines) for more information.
|
|
50
|
-
:param pulumi.Input[
|
|
51
|
-
:param pulumi.Input[
|
|
52
|
-
:param pulumi.Input[
|
|
53
|
-
:param pulumi.Input[
|
|
54
|
-
:param pulumi.Input[
|
|
49
|
+
:param pulumi.Input[_builtins.int] max_instances: Specifies the maximum number of service instances to run.
|
|
50
|
+
:param pulumi.Input[_builtins.int] min_instances: Specifies the minimum number of service instances to run.
|
|
51
|
+
:param pulumi.Input[_builtins.int] min_ready_instances: Indicates the minimum service instances that must be ready for Snowflake to consider the service is ready to process requests.
|
|
52
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
53
|
+
:param pulumi.Input[_builtins.str] query_warehouse: Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
55
54
|
"""
|
|
56
55
|
pulumi.set(__self__, "compute_pool", compute_pool)
|
|
57
56
|
pulumi.set(__self__, "database", database)
|
|
@@ -79,91 +78,91 @@ class ServiceArgs:
|
|
|
79
78
|
if query_warehouse is not None:
|
|
80
79
|
pulumi.set(__self__, "query_warehouse", query_warehouse)
|
|
81
80
|
|
|
82
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
83
82
|
@pulumi.getter(name="computePool")
|
|
84
|
-
def compute_pool(self) -> pulumi.Input[
|
|
83
|
+
def compute_pool(self) -> pulumi.Input[_builtins.str]:
|
|
85
84
|
"""
|
|
86
85
|
Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see [docs](https://docs.snowflake.com/en/sql-reference/sql/create-compute-pool)). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
87
86
|
"""
|
|
88
87
|
return pulumi.get(self, "compute_pool")
|
|
89
88
|
|
|
90
89
|
@compute_pool.setter
|
|
91
|
-
def compute_pool(self, value: pulumi.Input[
|
|
90
|
+
def compute_pool(self, value: pulumi.Input[_builtins.str]):
|
|
92
91
|
pulumi.set(self, "compute_pool", value)
|
|
93
92
|
|
|
94
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
95
94
|
@pulumi.getter
|
|
96
|
-
def database(self) -> pulumi.Input[
|
|
95
|
+
def database(self) -> pulumi.Input[_builtins.str]:
|
|
97
96
|
"""
|
|
98
97
|
The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
99
98
|
"""
|
|
100
99
|
return pulumi.get(self, "database")
|
|
101
100
|
|
|
102
101
|
@database.setter
|
|
103
|
-
def database(self, value: pulumi.Input[
|
|
102
|
+
def database(self, value: pulumi.Input[_builtins.str]):
|
|
104
103
|
pulumi.set(self, "database", value)
|
|
105
104
|
|
|
106
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
107
106
|
@pulumi.getter
|
|
108
|
-
def schema(self) -> pulumi.Input[
|
|
107
|
+
def schema(self) -> pulumi.Input[_builtins.str]:
|
|
109
108
|
"""
|
|
110
109
|
The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
111
110
|
"""
|
|
112
111
|
return pulumi.get(self, "schema")
|
|
113
112
|
|
|
114
113
|
@schema.setter
|
|
115
|
-
def schema(self, value: pulumi.Input[
|
|
114
|
+
def schema(self, value: pulumi.Input[_builtins.str]):
|
|
116
115
|
pulumi.set(self, "schema", value)
|
|
117
116
|
|
|
118
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
119
118
|
@pulumi.getter(name="autoResume")
|
|
120
|
-
def auto_resume(self) -> Optional[pulumi.Input[
|
|
119
|
+
def auto_resume(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
121
120
|
"""
|
|
122
121
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a service. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
123
122
|
"""
|
|
124
123
|
return pulumi.get(self, "auto_resume")
|
|
125
124
|
|
|
126
125
|
@auto_resume.setter
|
|
127
|
-
def auto_resume(self, value: Optional[pulumi.Input[
|
|
126
|
+
def auto_resume(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
128
127
|
pulumi.set(self, "auto_resume", value)
|
|
129
128
|
|
|
130
|
-
@property
|
|
129
|
+
@_builtins.property
|
|
131
130
|
@pulumi.getter(name="autoSuspendSecs")
|
|
132
|
-
def auto_suspend_secs(self) -> Optional[pulumi.Input[
|
|
131
|
+
def auto_suspend_secs(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
133
132
|
"""
|
|
134
133
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity (service is idle) after which Snowflake automatically suspends the service.
|
|
135
134
|
"""
|
|
136
135
|
return pulumi.get(self, "auto_suspend_secs")
|
|
137
136
|
|
|
138
137
|
@auto_suspend_secs.setter
|
|
139
|
-
def auto_suspend_secs(self, value: Optional[pulumi.Input[
|
|
138
|
+
def auto_suspend_secs(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
140
139
|
pulumi.set(self, "auto_suspend_secs", value)
|
|
141
140
|
|
|
142
|
-
@property
|
|
141
|
+
@_builtins.property
|
|
143
142
|
@pulumi.getter
|
|
144
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
143
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
145
144
|
"""
|
|
146
145
|
Specifies a comment for the service.
|
|
147
146
|
"""
|
|
148
147
|
return pulumi.get(self, "comment")
|
|
149
148
|
|
|
150
149
|
@comment.setter
|
|
151
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
150
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
152
151
|
pulumi.set(self, "comment", value)
|
|
153
152
|
|
|
154
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
155
154
|
@pulumi.getter(name="externalAccessIntegrations")
|
|
156
|
-
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
155
|
+
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
157
156
|
"""
|
|
158
157
|
Specifies the names of the external access integrations that allow your service to access external sites.
|
|
159
158
|
"""
|
|
160
159
|
return pulumi.get(self, "external_access_integrations")
|
|
161
160
|
|
|
162
161
|
@external_access_integrations.setter
|
|
163
|
-
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
162
|
+
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
164
163
|
pulumi.set(self, "external_access_integrations", value)
|
|
165
164
|
|
|
166
|
-
@property
|
|
165
|
+
@_builtins.property
|
|
167
166
|
@pulumi.getter(name="fromSpecification")
|
|
168
167
|
def from_specification(self) -> Optional[pulumi.Input['ServiceFromSpecificationArgs']]:
|
|
169
168
|
"""
|
|
@@ -175,7 +174,7 @@ class ServiceArgs:
|
|
|
175
174
|
def from_specification(self, value: Optional[pulumi.Input['ServiceFromSpecificationArgs']]):
|
|
176
175
|
pulumi.set(self, "from_specification", value)
|
|
177
176
|
|
|
178
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
179
178
|
@pulumi.getter(name="fromSpecificationTemplate")
|
|
180
179
|
def from_specification_template(self) -> Optional[pulumi.Input['ServiceFromSpecificationTemplateArgs']]:
|
|
181
180
|
"""
|
|
@@ -187,107 +186,107 @@ class ServiceArgs:
|
|
|
187
186
|
def from_specification_template(self, value: Optional[pulumi.Input['ServiceFromSpecificationTemplateArgs']]):
|
|
188
187
|
pulumi.set(self, "from_specification_template", value)
|
|
189
188
|
|
|
190
|
-
@property
|
|
189
|
+
@_builtins.property
|
|
191
190
|
@pulumi.getter(name="maxInstances")
|
|
192
|
-
def max_instances(self) -> Optional[pulumi.Input[
|
|
191
|
+
def max_instances(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
193
192
|
"""
|
|
194
193
|
Specifies the maximum number of service instances to run.
|
|
195
194
|
"""
|
|
196
195
|
return pulumi.get(self, "max_instances")
|
|
197
196
|
|
|
198
197
|
@max_instances.setter
|
|
199
|
-
def max_instances(self, value: Optional[pulumi.Input[
|
|
198
|
+
def max_instances(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
200
199
|
pulumi.set(self, "max_instances", value)
|
|
201
200
|
|
|
202
|
-
@property
|
|
201
|
+
@_builtins.property
|
|
203
202
|
@pulumi.getter(name="minInstances")
|
|
204
|
-
def min_instances(self) -> Optional[pulumi.Input[
|
|
203
|
+
def min_instances(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
205
204
|
"""
|
|
206
205
|
Specifies the minimum number of service instances to run.
|
|
207
206
|
"""
|
|
208
207
|
return pulumi.get(self, "min_instances")
|
|
209
208
|
|
|
210
209
|
@min_instances.setter
|
|
211
|
-
def min_instances(self, value: Optional[pulumi.Input[
|
|
210
|
+
def min_instances(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
212
211
|
pulumi.set(self, "min_instances", value)
|
|
213
212
|
|
|
214
|
-
@property
|
|
213
|
+
@_builtins.property
|
|
215
214
|
@pulumi.getter(name="minReadyInstances")
|
|
216
|
-
def min_ready_instances(self) -> Optional[pulumi.Input[
|
|
215
|
+
def min_ready_instances(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
217
216
|
"""
|
|
218
217
|
Indicates the minimum service instances that must be ready for Snowflake to consider the service is ready to process requests.
|
|
219
218
|
"""
|
|
220
219
|
return pulumi.get(self, "min_ready_instances")
|
|
221
220
|
|
|
222
221
|
@min_ready_instances.setter
|
|
223
|
-
def min_ready_instances(self, value: Optional[pulumi.Input[
|
|
222
|
+
def min_ready_instances(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
224
223
|
pulumi.set(self, "min_ready_instances", value)
|
|
225
224
|
|
|
226
|
-
@property
|
|
225
|
+
@_builtins.property
|
|
227
226
|
@pulumi.getter
|
|
228
|
-
def name(self) -> Optional[pulumi.Input[
|
|
227
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
229
228
|
"""
|
|
230
229
|
Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
231
230
|
"""
|
|
232
231
|
return pulumi.get(self, "name")
|
|
233
232
|
|
|
234
233
|
@name.setter
|
|
235
|
-
def name(self, value: Optional[pulumi.Input[
|
|
234
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
236
235
|
pulumi.set(self, "name", value)
|
|
237
236
|
|
|
238
|
-
@property
|
|
237
|
+
@_builtins.property
|
|
239
238
|
@pulumi.getter(name="queryWarehouse")
|
|
240
|
-
def query_warehouse(self) -> Optional[pulumi.Input[
|
|
239
|
+
def query_warehouse(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
241
240
|
"""
|
|
242
241
|
Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
243
242
|
"""
|
|
244
243
|
return pulumi.get(self, "query_warehouse")
|
|
245
244
|
|
|
246
245
|
@query_warehouse.setter
|
|
247
|
-
def query_warehouse(self, value: Optional[pulumi.Input[
|
|
246
|
+
def query_warehouse(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
248
247
|
pulumi.set(self, "query_warehouse", value)
|
|
249
248
|
|
|
250
249
|
|
|
251
250
|
@pulumi.input_type
|
|
252
251
|
class _ServiceState:
|
|
253
252
|
def __init__(__self__, *,
|
|
254
|
-
auto_resume: Optional[pulumi.Input[
|
|
255
|
-
auto_suspend_secs: Optional[pulumi.Input[
|
|
256
|
-
comment: Optional[pulumi.Input[
|
|
257
|
-
compute_pool: Optional[pulumi.Input[
|
|
258
|
-
database: Optional[pulumi.Input[
|
|
253
|
+
auto_resume: Optional[pulumi.Input[_builtins.str]] = None,
|
|
254
|
+
auto_suspend_secs: Optional[pulumi.Input[_builtins.int]] = None,
|
|
255
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
256
|
+
compute_pool: Optional[pulumi.Input[_builtins.str]] = None,
|
|
257
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
259
258
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceDescribeOutputArgs']]]] = None,
|
|
260
|
-
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
259
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
261
260
|
from_specification: Optional[pulumi.Input['ServiceFromSpecificationArgs']] = None,
|
|
262
261
|
from_specification_template: Optional[pulumi.Input['ServiceFromSpecificationTemplateArgs']] = None,
|
|
263
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
264
|
-
max_instances: Optional[pulumi.Input[
|
|
265
|
-
min_instances: Optional[pulumi.Input[
|
|
266
|
-
min_ready_instances: Optional[pulumi.Input[
|
|
267
|
-
name: Optional[pulumi.Input[
|
|
268
|
-
query_warehouse: Optional[pulumi.Input[
|
|
269
|
-
schema: Optional[pulumi.Input[
|
|
270
|
-
service_type: Optional[pulumi.Input[
|
|
262
|
+
fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
263
|
+
max_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
264
|
+
min_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
265
|
+
min_ready_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
266
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
267
|
+
query_warehouse: Optional[pulumi.Input[_builtins.str]] = None,
|
|
268
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
269
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
271
270
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceShowOutputArgs']]]] = None):
|
|
272
271
|
"""
|
|
273
272
|
Input properties used for looking up and filtering Service resources.
|
|
274
|
-
:param pulumi.Input[
|
|
275
|
-
:param pulumi.Input[
|
|
276
|
-
:param pulumi.Input[
|
|
277
|
-
:param pulumi.Input[
|
|
278
|
-
:param pulumi.Input[
|
|
273
|
+
:param pulumi.Input[_builtins.str] auto_resume: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a service. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
274
|
+
:param pulumi.Input[_builtins.int] auto_suspend_secs: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity (service is idle) after which Snowflake automatically suspends the service.
|
|
275
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the service.
|
|
276
|
+
:param pulumi.Input[_builtins.str] compute_pool: Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see [docs](https://docs.snowflake.com/en/sql-reference/sql/create-compute-pool)). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
277
|
+
:param pulumi.Input[_builtins.str] database: The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
279
278
|
:param pulumi.Input[Sequence[pulumi.Input['ServiceDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SERVICE` for the given service.
|
|
280
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
279
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] external_access_integrations: Specifies the names of the external access integrations that allow your service to access external sites.
|
|
281
280
|
:param pulumi.Input['ServiceFromSpecificationArgs'] from_specification: Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See [service specification](https://docs.snowflake.com/en/developer-guide/snowpark-container-services/specification-reference#general-guidelines) for more information.
|
|
282
281
|
:param pulumi.Input['ServiceFromSpecificationTemplateArgs'] from_specification_template: Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See [service specification](https://docs.snowflake.com/en/developer-guide/snowpark-container-services/specification-reference#general-guidelines) for more information.
|
|
283
|
-
:param pulumi.Input[
|
|
284
|
-
:param pulumi.Input[
|
|
285
|
-
:param pulumi.Input[
|
|
286
|
-
:param pulumi.Input[
|
|
287
|
-
:param pulumi.Input[
|
|
288
|
-
:param pulumi.Input[
|
|
289
|
-
:param pulumi.Input[
|
|
290
|
-
:param pulumi.Input[
|
|
282
|
+
: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).
|
|
283
|
+
:param pulumi.Input[_builtins.int] max_instances: Specifies the maximum number of service instances to run.
|
|
284
|
+
:param pulumi.Input[_builtins.int] min_instances: Specifies the minimum number of service instances to run.
|
|
285
|
+
:param pulumi.Input[_builtins.int] min_ready_instances: Indicates the minimum service instances that must be ready for Snowflake to consider the service is ready to process requests.
|
|
286
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
287
|
+
:param pulumi.Input[_builtins.str] query_warehouse: Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
288
|
+
:param pulumi.Input[_builtins.str] schema: The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
289
|
+
:param pulumi.Input[_builtins.str] service_type: Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
|
|
291
290
|
:param pulumi.Input[Sequence[pulumi.Input['ServiceShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SERVICES` for the given service.
|
|
292
291
|
"""
|
|
293
292
|
if auto_resume is not None:
|
|
@@ -327,67 +326,67 @@ class _ServiceState:
|
|
|
327
326
|
if show_outputs is not None:
|
|
328
327
|
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
329
328
|
|
|
330
|
-
@property
|
|
329
|
+
@_builtins.property
|
|
331
330
|
@pulumi.getter(name="autoResume")
|
|
332
|
-
def auto_resume(self) -> Optional[pulumi.Input[
|
|
331
|
+
def auto_resume(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
333
332
|
"""
|
|
334
333
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a service. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
335
334
|
"""
|
|
336
335
|
return pulumi.get(self, "auto_resume")
|
|
337
336
|
|
|
338
337
|
@auto_resume.setter
|
|
339
|
-
def auto_resume(self, value: Optional[pulumi.Input[
|
|
338
|
+
def auto_resume(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
340
339
|
pulumi.set(self, "auto_resume", value)
|
|
341
340
|
|
|
342
|
-
@property
|
|
341
|
+
@_builtins.property
|
|
343
342
|
@pulumi.getter(name="autoSuspendSecs")
|
|
344
|
-
def auto_suspend_secs(self) -> Optional[pulumi.Input[
|
|
343
|
+
def auto_suspend_secs(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
345
344
|
"""
|
|
346
345
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity (service is idle) after which Snowflake automatically suspends the service.
|
|
347
346
|
"""
|
|
348
347
|
return pulumi.get(self, "auto_suspend_secs")
|
|
349
348
|
|
|
350
349
|
@auto_suspend_secs.setter
|
|
351
|
-
def auto_suspend_secs(self, value: Optional[pulumi.Input[
|
|
350
|
+
def auto_suspend_secs(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
352
351
|
pulumi.set(self, "auto_suspend_secs", value)
|
|
353
352
|
|
|
354
|
-
@property
|
|
353
|
+
@_builtins.property
|
|
355
354
|
@pulumi.getter
|
|
356
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
355
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
357
356
|
"""
|
|
358
357
|
Specifies a comment for the service.
|
|
359
358
|
"""
|
|
360
359
|
return pulumi.get(self, "comment")
|
|
361
360
|
|
|
362
361
|
@comment.setter
|
|
363
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
362
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
364
363
|
pulumi.set(self, "comment", value)
|
|
365
364
|
|
|
366
|
-
@property
|
|
365
|
+
@_builtins.property
|
|
367
366
|
@pulumi.getter(name="computePool")
|
|
368
|
-
def compute_pool(self) -> Optional[pulumi.Input[
|
|
367
|
+
def compute_pool(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
369
368
|
"""
|
|
370
369
|
Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see [docs](https://docs.snowflake.com/en/sql-reference/sql/create-compute-pool)). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
371
370
|
"""
|
|
372
371
|
return pulumi.get(self, "compute_pool")
|
|
373
372
|
|
|
374
373
|
@compute_pool.setter
|
|
375
|
-
def compute_pool(self, value: Optional[pulumi.Input[
|
|
374
|
+
def compute_pool(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
376
375
|
pulumi.set(self, "compute_pool", value)
|
|
377
376
|
|
|
378
|
-
@property
|
|
377
|
+
@_builtins.property
|
|
379
378
|
@pulumi.getter
|
|
380
|
-
def database(self) -> Optional[pulumi.Input[
|
|
379
|
+
def database(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
381
380
|
"""
|
|
382
381
|
The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
383
382
|
"""
|
|
384
383
|
return pulumi.get(self, "database")
|
|
385
384
|
|
|
386
385
|
@database.setter
|
|
387
|
-
def database(self, value: Optional[pulumi.Input[
|
|
386
|
+
def database(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
388
387
|
pulumi.set(self, "database", value)
|
|
389
388
|
|
|
390
|
-
@property
|
|
389
|
+
@_builtins.property
|
|
391
390
|
@pulumi.getter(name="describeOutputs")
|
|
392
391
|
def describe_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServiceDescribeOutputArgs']]]]:
|
|
393
392
|
"""
|
|
@@ -399,19 +398,19 @@ class _ServiceState:
|
|
|
399
398
|
def describe_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceDescribeOutputArgs']]]]):
|
|
400
399
|
pulumi.set(self, "describe_outputs", value)
|
|
401
400
|
|
|
402
|
-
@property
|
|
401
|
+
@_builtins.property
|
|
403
402
|
@pulumi.getter(name="externalAccessIntegrations")
|
|
404
|
-
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
403
|
+
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
405
404
|
"""
|
|
406
405
|
Specifies the names of the external access integrations that allow your service to access external sites.
|
|
407
406
|
"""
|
|
408
407
|
return pulumi.get(self, "external_access_integrations")
|
|
409
408
|
|
|
410
409
|
@external_access_integrations.setter
|
|
411
|
-
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
410
|
+
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
412
411
|
pulumi.set(self, "external_access_integrations", value)
|
|
413
412
|
|
|
414
|
-
@property
|
|
413
|
+
@_builtins.property
|
|
415
414
|
@pulumi.getter(name="fromSpecification")
|
|
416
415
|
def from_specification(self) -> Optional[pulumi.Input['ServiceFromSpecificationArgs']]:
|
|
417
416
|
"""
|
|
@@ -423,7 +422,7 @@ class _ServiceState:
|
|
|
423
422
|
def from_specification(self, value: Optional[pulumi.Input['ServiceFromSpecificationArgs']]):
|
|
424
423
|
pulumi.set(self, "from_specification", value)
|
|
425
424
|
|
|
426
|
-
@property
|
|
425
|
+
@_builtins.property
|
|
427
426
|
@pulumi.getter(name="fromSpecificationTemplate")
|
|
428
427
|
def from_specification_template(self) -> Optional[pulumi.Input['ServiceFromSpecificationTemplateArgs']]:
|
|
429
428
|
"""
|
|
@@ -435,103 +434,103 @@ class _ServiceState:
|
|
|
435
434
|
def from_specification_template(self, value: Optional[pulumi.Input['ServiceFromSpecificationTemplateArgs']]):
|
|
436
435
|
pulumi.set(self, "from_specification_template", value)
|
|
437
436
|
|
|
438
|
-
@property
|
|
437
|
+
@_builtins.property
|
|
439
438
|
@pulumi.getter(name="fullyQualifiedName")
|
|
440
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[
|
|
439
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
441
440
|
"""
|
|
442
441
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
443
442
|
"""
|
|
444
443
|
return pulumi.get(self, "fully_qualified_name")
|
|
445
444
|
|
|
446
445
|
@fully_qualified_name.setter
|
|
447
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[
|
|
446
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
448
447
|
pulumi.set(self, "fully_qualified_name", value)
|
|
449
448
|
|
|
450
|
-
@property
|
|
449
|
+
@_builtins.property
|
|
451
450
|
@pulumi.getter(name="maxInstances")
|
|
452
|
-
def max_instances(self) -> Optional[pulumi.Input[
|
|
451
|
+
def max_instances(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
453
452
|
"""
|
|
454
453
|
Specifies the maximum number of service instances to run.
|
|
455
454
|
"""
|
|
456
455
|
return pulumi.get(self, "max_instances")
|
|
457
456
|
|
|
458
457
|
@max_instances.setter
|
|
459
|
-
def max_instances(self, value: Optional[pulumi.Input[
|
|
458
|
+
def max_instances(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
460
459
|
pulumi.set(self, "max_instances", value)
|
|
461
460
|
|
|
462
|
-
@property
|
|
461
|
+
@_builtins.property
|
|
463
462
|
@pulumi.getter(name="minInstances")
|
|
464
|
-
def min_instances(self) -> Optional[pulumi.Input[
|
|
463
|
+
def min_instances(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
465
464
|
"""
|
|
466
465
|
Specifies the minimum number of service instances to run.
|
|
467
466
|
"""
|
|
468
467
|
return pulumi.get(self, "min_instances")
|
|
469
468
|
|
|
470
469
|
@min_instances.setter
|
|
471
|
-
def min_instances(self, value: Optional[pulumi.Input[
|
|
470
|
+
def min_instances(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
472
471
|
pulumi.set(self, "min_instances", value)
|
|
473
472
|
|
|
474
|
-
@property
|
|
473
|
+
@_builtins.property
|
|
475
474
|
@pulumi.getter(name="minReadyInstances")
|
|
476
|
-
def min_ready_instances(self) -> Optional[pulumi.Input[
|
|
475
|
+
def min_ready_instances(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
477
476
|
"""
|
|
478
477
|
Indicates the minimum service instances that must be ready for Snowflake to consider the service is ready to process requests.
|
|
479
478
|
"""
|
|
480
479
|
return pulumi.get(self, "min_ready_instances")
|
|
481
480
|
|
|
482
481
|
@min_ready_instances.setter
|
|
483
|
-
def min_ready_instances(self, value: Optional[pulumi.Input[
|
|
482
|
+
def min_ready_instances(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
484
483
|
pulumi.set(self, "min_ready_instances", value)
|
|
485
484
|
|
|
486
|
-
@property
|
|
485
|
+
@_builtins.property
|
|
487
486
|
@pulumi.getter
|
|
488
|
-
def name(self) -> Optional[pulumi.Input[
|
|
487
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
489
488
|
"""
|
|
490
489
|
Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
491
490
|
"""
|
|
492
491
|
return pulumi.get(self, "name")
|
|
493
492
|
|
|
494
493
|
@name.setter
|
|
495
|
-
def name(self, value: Optional[pulumi.Input[
|
|
494
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
496
495
|
pulumi.set(self, "name", value)
|
|
497
496
|
|
|
498
|
-
@property
|
|
497
|
+
@_builtins.property
|
|
499
498
|
@pulumi.getter(name="queryWarehouse")
|
|
500
|
-
def query_warehouse(self) -> Optional[pulumi.Input[
|
|
499
|
+
def query_warehouse(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
501
500
|
"""
|
|
502
501
|
Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
503
502
|
"""
|
|
504
503
|
return pulumi.get(self, "query_warehouse")
|
|
505
504
|
|
|
506
505
|
@query_warehouse.setter
|
|
507
|
-
def query_warehouse(self, value: Optional[pulumi.Input[
|
|
506
|
+
def query_warehouse(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
508
507
|
pulumi.set(self, "query_warehouse", value)
|
|
509
508
|
|
|
510
|
-
@property
|
|
509
|
+
@_builtins.property
|
|
511
510
|
@pulumi.getter
|
|
512
|
-
def schema(self) -> Optional[pulumi.Input[
|
|
511
|
+
def schema(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
513
512
|
"""
|
|
514
513
|
The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
515
514
|
"""
|
|
516
515
|
return pulumi.get(self, "schema")
|
|
517
516
|
|
|
518
517
|
@schema.setter
|
|
519
|
-
def schema(self, value: Optional[pulumi.Input[
|
|
518
|
+
def schema(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
520
519
|
pulumi.set(self, "schema", value)
|
|
521
520
|
|
|
522
|
-
@property
|
|
521
|
+
@_builtins.property
|
|
523
522
|
@pulumi.getter(name="serviceType")
|
|
524
|
-
def service_type(self) -> Optional[pulumi.Input[
|
|
523
|
+
def service_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
525
524
|
"""
|
|
526
525
|
Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
|
|
527
526
|
"""
|
|
528
527
|
return pulumi.get(self, "service_type")
|
|
529
528
|
|
|
530
529
|
@service_type.setter
|
|
531
|
-
def service_type(self, value: Optional[pulumi.Input[
|
|
530
|
+
def service_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
532
531
|
pulumi.set(self, "service_type", value)
|
|
533
532
|
|
|
534
|
-
@property
|
|
533
|
+
@_builtins.property
|
|
535
534
|
@pulumi.getter(name="showOutputs")
|
|
536
535
|
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServiceShowOutputArgs']]]]:
|
|
537
536
|
"""
|
|
@@ -550,20 +549,20 @@ class Service(pulumi.CustomResource):
|
|
|
550
549
|
def __init__(__self__,
|
|
551
550
|
resource_name: str,
|
|
552
551
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
553
|
-
auto_resume: Optional[pulumi.Input[
|
|
554
|
-
auto_suspend_secs: Optional[pulumi.Input[
|
|
555
|
-
comment: Optional[pulumi.Input[
|
|
556
|
-
compute_pool: Optional[pulumi.Input[
|
|
557
|
-
database: Optional[pulumi.Input[
|
|
558
|
-
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
552
|
+
auto_resume: Optional[pulumi.Input[_builtins.str]] = None,
|
|
553
|
+
auto_suspend_secs: Optional[pulumi.Input[_builtins.int]] = None,
|
|
554
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
555
|
+
compute_pool: Optional[pulumi.Input[_builtins.str]] = None,
|
|
556
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
557
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
559
558
|
from_specification: Optional[pulumi.Input[Union['ServiceFromSpecificationArgs', 'ServiceFromSpecificationArgsDict']]] = None,
|
|
560
559
|
from_specification_template: Optional[pulumi.Input[Union['ServiceFromSpecificationTemplateArgs', 'ServiceFromSpecificationTemplateArgsDict']]] = None,
|
|
561
|
-
max_instances: Optional[pulumi.Input[
|
|
562
|
-
min_instances: Optional[pulumi.Input[
|
|
563
|
-
min_ready_instances: Optional[pulumi.Input[
|
|
564
|
-
name: Optional[pulumi.Input[
|
|
565
|
-
query_warehouse: Optional[pulumi.Input[
|
|
566
|
-
schema: Optional[pulumi.Input[
|
|
560
|
+
max_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
561
|
+
min_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
562
|
+
min_ready_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
563
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
564
|
+
query_warehouse: Optional[pulumi.Input[_builtins.str]] = None,
|
|
565
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
567
566
|
__props__=None):
|
|
568
567
|
"""
|
|
569
568
|
## Import
|
|
@@ -574,20 +573,20 @@ class Service(pulumi.CustomResource):
|
|
|
574
573
|
|
|
575
574
|
:param str resource_name: The name of the resource.
|
|
576
575
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
577
|
-
:param pulumi.Input[
|
|
578
|
-
:param pulumi.Input[
|
|
579
|
-
:param pulumi.Input[
|
|
580
|
-
:param pulumi.Input[
|
|
581
|
-
:param pulumi.Input[
|
|
582
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
576
|
+
:param pulumi.Input[_builtins.str] auto_resume: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a service. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
577
|
+
:param pulumi.Input[_builtins.int] auto_suspend_secs: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity (service is idle) after which Snowflake automatically suspends the service.
|
|
578
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the service.
|
|
579
|
+
:param pulumi.Input[_builtins.str] compute_pool: Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see [docs](https://docs.snowflake.com/en/sql-reference/sql/create-compute-pool)). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
580
|
+
:param pulumi.Input[_builtins.str] database: The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
581
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] external_access_integrations: Specifies the names of the external access integrations that allow your service to access external sites.
|
|
583
582
|
:param pulumi.Input[Union['ServiceFromSpecificationArgs', 'ServiceFromSpecificationArgsDict']] from_specification: Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See [service specification](https://docs.snowflake.com/en/developer-guide/snowpark-container-services/specification-reference#general-guidelines) for more information.
|
|
584
583
|
:param pulumi.Input[Union['ServiceFromSpecificationTemplateArgs', 'ServiceFromSpecificationTemplateArgsDict']] from_specification_template: Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See [service specification](https://docs.snowflake.com/en/developer-guide/snowpark-container-services/specification-reference#general-guidelines) for more information.
|
|
585
|
-
:param pulumi.Input[
|
|
586
|
-
:param pulumi.Input[
|
|
587
|
-
:param pulumi.Input[
|
|
588
|
-
:param pulumi.Input[
|
|
589
|
-
:param pulumi.Input[
|
|
590
|
-
:param pulumi.Input[
|
|
584
|
+
:param pulumi.Input[_builtins.int] max_instances: Specifies the maximum number of service instances to run.
|
|
585
|
+
:param pulumi.Input[_builtins.int] min_instances: Specifies the minimum number of service instances to run.
|
|
586
|
+
:param pulumi.Input[_builtins.int] min_ready_instances: Indicates the minimum service instances that must be ready for Snowflake to consider the service is ready to process requests.
|
|
587
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
588
|
+
:param pulumi.Input[_builtins.str] query_warehouse: Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
589
|
+
:param pulumi.Input[_builtins.str] schema: The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
591
590
|
"""
|
|
592
591
|
...
|
|
593
592
|
@overload
|
|
@@ -617,20 +616,20 @@ class Service(pulumi.CustomResource):
|
|
|
617
616
|
def _internal_init(__self__,
|
|
618
617
|
resource_name: str,
|
|
619
618
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
620
|
-
auto_resume: Optional[pulumi.Input[
|
|
621
|
-
auto_suspend_secs: Optional[pulumi.Input[
|
|
622
|
-
comment: Optional[pulumi.Input[
|
|
623
|
-
compute_pool: Optional[pulumi.Input[
|
|
624
|
-
database: Optional[pulumi.Input[
|
|
625
|
-
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
619
|
+
auto_resume: Optional[pulumi.Input[_builtins.str]] = None,
|
|
620
|
+
auto_suspend_secs: Optional[pulumi.Input[_builtins.int]] = None,
|
|
621
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
622
|
+
compute_pool: Optional[pulumi.Input[_builtins.str]] = None,
|
|
623
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
624
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
626
625
|
from_specification: Optional[pulumi.Input[Union['ServiceFromSpecificationArgs', 'ServiceFromSpecificationArgsDict']]] = None,
|
|
627
626
|
from_specification_template: Optional[pulumi.Input[Union['ServiceFromSpecificationTemplateArgs', 'ServiceFromSpecificationTemplateArgsDict']]] = None,
|
|
628
|
-
max_instances: Optional[pulumi.Input[
|
|
629
|
-
min_instances: Optional[pulumi.Input[
|
|
630
|
-
min_ready_instances: Optional[pulumi.Input[
|
|
631
|
-
name: Optional[pulumi.Input[
|
|
632
|
-
query_warehouse: Optional[pulumi.Input[
|
|
633
|
-
schema: Optional[pulumi.Input[
|
|
627
|
+
max_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
628
|
+
min_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
629
|
+
min_ready_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
630
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
631
|
+
query_warehouse: Optional[pulumi.Input[_builtins.str]] = None,
|
|
632
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
634
633
|
__props__=None):
|
|
635
634
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
636
635
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -674,23 +673,23 @@ class Service(pulumi.CustomResource):
|
|
|
674
673
|
def get(resource_name: str,
|
|
675
674
|
id: pulumi.Input[str],
|
|
676
675
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
677
|
-
auto_resume: Optional[pulumi.Input[
|
|
678
|
-
auto_suspend_secs: Optional[pulumi.Input[
|
|
679
|
-
comment: Optional[pulumi.Input[
|
|
680
|
-
compute_pool: Optional[pulumi.Input[
|
|
681
|
-
database: Optional[pulumi.Input[
|
|
676
|
+
auto_resume: Optional[pulumi.Input[_builtins.str]] = None,
|
|
677
|
+
auto_suspend_secs: Optional[pulumi.Input[_builtins.int]] = None,
|
|
678
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
679
|
+
compute_pool: Optional[pulumi.Input[_builtins.str]] = None,
|
|
680
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
682
681
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServiceDescribeOutputArgs', 'ServiceDescribeOutputArgsDict']]]]] = None,
|
|
683
|
-
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
682
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
684
683
|
from_specification: Optional[pulumi.Input[Union['ServiceFromSpecificationArgs', 'ServiceFromSpecificationArgsDict']]] = None,
|
|
685
684
|
from_specification_template: Optional[pulumi.Input[Union['ServiceFromSpecificationTemplateArgs', 'ServiceFromSpecificationTemplateArgsDict']]] = None,
|
|
686
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
687
|
-
max_instances: Optional[pulumi.Input[
|
|
688
|
-
min_instances: Optional[pulumi.Input[
|
|
689
|
-
min_ready_instances: Optional[pulumi.Input[
|
|
690
|
-
name: Optional[pulumi.Input[
|
|
691
|
-
query_warehouse: Optional[pulumi.Input[
|
|
692
|
-
schema: Optional[pulumi.Input[
|
|
693
|
-
service_type: Optional[pulumi.Input[
|
|
685
|
+
fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
686
|
+
max_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
687
|
+
min_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
688
|
+
min_ready_instances: Optional[pulumi.Input[_builtins.int]] = None,
|
|
689
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
690
|
+
query_warehouse: Optional[pulumi.Input[_builtins.str]] = None,
|
|
691
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
692
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
694
693
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServiceShowOutputArgs', 'ServiceShowOutputArgsDict']]]]] = None) -> 'Service':
|
|
695
694
|
"""
|
|
696
695
|
Get an existing Service resource's state with the given name, id, and optional extra
|
|
@@ -699,23 +698,23 @@ class Service(pulumi.CustomResource):
|
|
|
699
698
|
:param str resource_name: The unique name of the resulting resource.
|
|
700
699
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
701
700
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
702
|
-
:param pulumi.Input[
|
|
703
|
-
:param pulumi.Input[
|
|
704
|
-
:param pulumi.Input[
|
|
705
|
-
:param pulumi.Input[
|
|
706
|
-
:param pulumi.Input[
|
|
701
|
+
:param pulumi.Input[_builtins.str] auto_resume: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a service. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
702
|
+
:param pulumi.Input[_builtins.int] auto_suspend_secs: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity (service is idle) after which Snowflake automatically suspends the service.
|
|
703
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the service.
|
|
704
|
+
:param pulumi.Input[_builtins.str] compute_pool: Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see [docs](https://docs.snowflake.com/en/sql-reference/sql/create-compute-pool)). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
705
|
+
:param pulumi.Input[_builtins.str] database: The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
707
706
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServiceDescribeOutputArgs', 'ServiceDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SERVICE` for the given service.
|
|
708
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
707
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] external_access_integrations: Specifies the names of the external access integrations that allow your service to access external sites.
|
|
709
708
|
:param pulumi.Input[Union['ServiceFromSpecificationArgs', 'ServiceFromSpecificationArgsDict']] from_specification: Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See [service specification](https://docs.snowflake.com/en/developer-guide/snowpark-container-services/specification-reference#general-guidelines) for more information.
|
|
710
709
|
:param pulumi.Input[Union['ServiceFromSpecificationTemplateArgs', 'ServiceFromSpecificationTemplateArgsDict']] from_specification_template: Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See [service specification](https://docs.snowflake.com/en/developer-guide/snowpark-container-services/specification-reference#general-guidelines) for more information.
|
|
711
|
-
:param pulumi.Input[
|
|
712
|
-
:param pulumi.Input[
|
|
713
|
-
:param pulumi.Input[
|
|
714
|
-
:param pulumi.Input[
|
|
715
|
-
:param pulumi.Input[
|
|
716
|
-
:param pulumi.Input[
|
|
717
|
-
:param pulumi.Input[
|
|
718
|
-
:param pulumi.Input[
|
|
710
|
+
: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).
|
|
711
|
+
:param pulumi.Input[_builtins.int] max_instances: Specifies the maximum number of service instances to run.
|
|
712
|
+
:param pulumi.Input[_builtins.int] min_instances: Specifies the minimum number of service instances to run.
|
|
713
|
+
:param pulumi.Input[_builtins.int] min_ready_instances: Indicates the minimum service instances that must be ready for Snowflake to consider the service is ready to process requests.
|
|
714
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
715
|
+
:param pulumi.Input[_builtins.str] query_warehouse: Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
716
|
+
:param pulumi.Input[_builtins.str] schema: The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
717
|
+
:param pulumi.Input[_builtins.str] service_type: Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
|
|
719
718
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServiceShowOutputArgs', 'ServiceShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SERVICES` for the given service.
|
|
720
719
|
"""
|
|
721
720
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -742,47 +741,47 @@ class Service(pulumi.CustomResource):
|
|
|
742
741
|
__props__.__dict__["show_outputs"] = show_outputs
|
|
743
742
|
return Service(resource_name, opts=opts, __props__=__props__)
|
|
744
743
|
|
|
745
|
-
@property
|
|
744
|
+
@_builtins.property
|
|
746
745
|
@pulumi.getter(name="autoResume")
|
|
747
|
-
def auto_resume(self) -> pulumi.Output[Optional[
|
|
746
|
+
def auto_resume(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
748
747
|
"""
|
|
749
748
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a service. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
750
749
|
"""
|
|
751
750
|
return pulumi.get(self, "auto_resume")
|
|
752
751
|
|
|
753
|
-
@property
|
|
752
|
+
@_builtins.property
|
|
754
753
|
@pulumi.getter(name="autoSuspendSecs")
|
|
755
|
-
def auto_suspend_secs(self) -> pulumi.Output[Optional[
|
|
754
|
+
def auto_suspend_secs(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
756
755
|
"""
|
|
757
756
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity (service is idle) after which Snowflake automatically suspends the service.
|
|
758
757
|
"""
|
|
759
758
|
return pulumi.get(self, "auto_suspend_secs")
|
|
760
759
|
|
|
761
|
-
@property
|
|
760
|
+
@_builtins.property
|
|
762
761
|
@pulumi.getter
|
|
763
|
-
def comment(self) -> pulumi.Output[Optional[
|
|
762
|
+
def comment(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
764
763
|
"""
|
|
765
764
|
Specifies a comment for the service.
|
|
766
765
|
"""
|
|
767
766
|
return pulumi.get(self, "comment")
|
|
768
767
|
|
|
769
|
-
@property
|
|
768
|
+
@_builtins.property
|
|
770
769
|
@pulumi.getter(name="computePool")
|
|
771
|
-
def compute_pool(self) -> pulumi.Output[
|
|
770
|
+
def compute_pool(self) -> pulumi.Output[_builtins.str]:
|
|
772
771
|
"""
|
|
773
772
|
Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see [docs](https://docs.snowflake.com/en/sql-reference/sql/create-compute-pool)). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
774
773
|
"""
|
|
775
774
|
return pulumi.get(self, "compute_pool")
|
|
776
775
|
|
|
777
|
-
@property
|
|
776
|
+
@_builtins.property
|
|
778
777
|
@pulumi.getter
|
|
779
|
-
def database(self) -> pulumi.Output[
|
|
778
|
+
def database(self) -> pulumi.Output[_builtins.str]:
|
|
780
779
|
"""
|
|
781
780
|
The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
782
781
|
"""
|
|
783
782
|
return pulumi.get(self, "database")
|
|
784
783
|
|
|
785
|
-
@property
|
|
784
|
+
@_builtins.property
|
|
786
785
|
@pulumi.getter(name="describeOutputs")
|
|
787
786
|
def describe_outputs(self) -> pulumi.Output[Sequence['outputs.ServiceDescribeOutput']]:
|
|
788
787
|
"""
|
|
@@ -790,15 +789,15 @@ class Service(pulumi.CustomResource):
|
|
|
790
789
|
"""
|
|
791
790
|
return pulumi.get(self, "describe_outputs")
|
|
792
791
|
|
|
793
|
-
@property
|
|
792
|
+
@_builtins.property
|
|
794
793
|
@pulumi.getter(name="externalAccessIntegrations")
|
|
795
|
-
def external_access_integrations(self) -> pulumi.Output[Optional[Sequence[
|
|
794
|
+
def external_access_integrations(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
796
795
|
"""
|
|
797
796
|
Specifies the names of the external access integrations that allow your service to access external sites.
|
|
798
797
|
"""
|
|
799
798
|
return pulumi.get(self, "external_access_integrations")
|
|
800
799
|
|
|
801
|
-
@property
|
|
800
|
+
@_builtins.property
|
|
802
801
|
@pulumi.getter(name="fromSpecification")
|
|
803
802
|
def from_specification(self) -> pulumi.Output[Optional['outputs.ServiceFromSpecification']]:
|
|
804
803
|
"""
|
|
@@ -806,7 +805,7 @@ class Service(pulumi.CustomResource):
|
|
|
806
805
|
"""
|
|
807
806
|
return pulumi.get(self, "from_specification")
|
|
808
807
|
|
|
809
|
-
@property
|
|
808
|
+
@_builtins.property
|
|
810
809
|
@pulumi.getter(name="fromSpecificationTemplate")
|
|
811
810
|
def from_specification_template(self) -> pulumi.Output[Optional['outputs.ServiceFromSpecificationTemplate']]:
|
|
812
811
|
"""
|
|
@@ -814,71 +813,71 @@ class Service(pulumi.CustomResource):
|
|
|
814
813
|
"""
|
|
815
814
|
return pulumi.get(self, "from_specification_template")
|
|
816
815
|
|
|
817
|
-
@property
|
|
816
|
+
@_builtins.property
|
|
818
817
|
@pulumi.getter(name="fullyQualifiedName")
|
|
819
|
-
def fully_qualified_name(self) -> pulumi.Output[
|
|
818
|
+
def fully_qualified_name(self) -> pulumi.Output[_builtins.str]:
|
|
820
819
|
"""
|
|
821
820
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
822
821
|
"""
|
|
823
822
|
return pulumi.get(self, "fully_qualified_name")
|
|
824
823
|
|
|
825
|
-
@property
|
|
824
|
+
@_builtins.property
|
|
826
825
|
@pulumi.getter(name="maxInstances")
|
|
827
|
-
def max_instances(self) -> pulumi.Output[Optional[
|
|
826
|
+
def max_instances(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
828
827
|
"""
|
|
829
828
|
Specifies the maximum number of service instances to run.
|
|
830
829
|
"""
|
|
831
830
|
return pulumi.get(self, "max_instances")
|
|
832
831
|
|
|
833
|
-
@property
|
|
832
|
+
@_builtins.property
|
|
834
833
|
@pulumi.getter(name="minInstances")
|
|
835
|
-
def min_instances(self) -> pulumi.Output[Optional[
|
|
834
|
+
def min_instances(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
836
835
|
"""
|
|
837
836
|
Specifies the minimum number of service instances to run.
|
|
838
837
|
"""
|
|
839
838
|
return pulumi.get(self, "min_instances")
|
|
840
839
|
|
|
841
|
-
@property
|
|
840
|
+
@_builtins.property
|
|
842
841
|
@pulumi.getter(name="minReadyInstances")
|
|
843
|
-
def min_ready_instances(self) -> pulumi.Output[Optional[
|
|
842
|
+
def min_ready_instances(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
844
843
|
"""
|
|
845
844
|
Indicates the minimum service instances that must be ready for Snowflake to consider the service is ready to process requests.
|
|
846
845
|
"""
|
|
847
846
|
return pulumi.get(self, "min_ready_instances")
|
|
848
847
|
|
|
849
|
-
@property
|
|
848
|
+
@_builtins.property
|
|
850
849
|
@pulumi.getter
|
|
851
|
-
def name(self) -> pulumi.Output[
|
|
850
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
852
851
|
"""
|
|
853
852
|
Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
854
853
|
"""
|
|
855
854
|
return pulumi.get(self, "name")
|
|
856
855
|
|
|
857
|
-
@property
|
|
856
|
+
@_builtins.property
|
|
858
857
|
@pulumi.getter(name="queryWarehouse")
|
|
859
|
-
def query_warehouse(self) -> pulumi.Output[Optional[
|
|
858
|
+
def query_warehouse(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
860
859
|
"""
|
|
861
860
|
Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
862
861
|
"""
|
|
863
862
|
return pulumi.get(self, "query_warehouse")
|
|
864
863
|
|
|
865
|
-
@property
|
|
864
|
+
@_builtins.property
|
|
866
865
|
@pulumi.getter
|
|
867
|
-
def schema(self) -> pulumi.Output[
|
|
866
|
+
def schema(self) -> pulumi.Output[_builtins.str]:
|
|
868
867
|
"""
|
|
869
868
|
The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
870
869
|
"""
|
|
871
870
|
return pulumi.get(self, "schema")
|
|
872
871
|
|
|
873
|
-
@property
|
|
872
|
+
@_builtins.property
|
|
874
873
|
@pulumi.getter(name="serviceType")
|
|
875
|
-
def service_type(self) -> pulumi.Output[
|
|
874
|
+
def service_type(self) -> pulumi.Output[_builtins.str]:
|
|
876
875
|
"""
|
|
877
876
|
Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
|
|
878
877
|
"""
|
|
879
878
|
return pulumi.get(self, "service_type")
|
|
880
879
|
|
|
881
|
-
@property
|
|
880
|
+
@_builtins.property
|
|
882
881
|
@pulumi.getter(name="showOutputs")
|
|
883
882
|
def show_outputs(self) -> pulumi.Output[Sequence['outputs.ServiceShowOutput']]:
|
|
884
883
|
"""
|