pulumi-snowflake 2.1.0a1750230214__py3-none-any.whl → 2.2.0a1751946295__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 +58 -0
- pulumi_snowflake/_inputs.py +4790 -958
- pulumi_snowflake/account.py +47 -0
- pulumi_snowflake/compute_pool.py +625 -0
- pulumi_snowflake/config/__init__.pyi +6 -3
- pulumi_snowflake/config/vars.py +6 -3
- pulumi_snowflake/cortex_search_service.py +77 -0
- pulumi_snowflake/current_account.py +5885 -0
- pulumi_snowflake/database.py +7 -7
- pulumi_snowflake/get_compute_pools.py +175 -0
- pulumi_snowflake/get_cortex_search_services.py +3 -3
- pulumi_snowflake/get_database_roles.py +3 -3
- pulumi_snowflake/get_databases.py +3 -3
- pulumi_snowflake/get_git_repositories.py +175 -0
- pulumi_snowflake/get_image_repositories.py +135 -0
- pulumi_snowflake/get_masking_policies.py +3 -3
- pulumi_snowflake/get_row_access_policies.py +3 -3
- pulumi_snowflake/get_schemas.py +3 -3
- pulumi_snowflake/get_services.py +215 -0
- pulumi_snowflake/get_streamlits.py +3 -3
- pulumi_snowflake/get_streams.py +3 -3
- pulumi_snowflake/get_tables.py +103 -62
- pulumi_snowflake/get_tasks.py +3 -3
- pulumi_snowflake/get_users.py +3 -3
- pulumi_snowflake/get_views.py +3 -3
- pulumi_snowflake/git_repository.py +532 -0
- pulumi_snowflake/image_repository.py +361 -0
- pulumi_snowflake/job_service.py +653 -0
- pulumi_snowflake/outputs.py +4220 -136
- pulumi_snowflake/provider.py +24 -12
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/schema.py +7 -7
- pulumi_snowflake/secondary_database.py +7 -7
- pulumi_snowflake/service.py +888 -0
- pulumi_snowflake/shared_database.py +7 -7
- pulumi_snowflake/tag_association.py +7 -7
- {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/METADATA +1 -1
- {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/RECORD +40 -30
- {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,653 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from . import _utilities
|
|
17
|
+
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
19
|
+
|
|
20
|
+
__all__ = ['JobServiceArgs', 'JobService']
|
|
21
|
+
|
|
22
|
+
@pulumi.input_type
|
|
23
|
+
class JobServiceArgs:
|
|
24
|
+
def __init__(__self__, *,
|
|
25
|
+
compute_pool: pulumi.Input[builtins.str],
|
|
26
|
+
database: pulumi.Input[builtins.str],
|
|
27
|
+
schema: pulumi.Input[builtins.str],
|
|
28
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
30
|
+
from_specification: Optional[pulumi.Input['JobServiceFromSpecificationArgs']] = None,
|
|
31
|
+
from_specification_template: Optional[pulumi.Input['JobServiceFromSpecificationTemplateArgs']] = None,
|
|
32
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
query_warehouse: Optional[pulumi.Input[builtins.str]] = None):
|
|
34
|
+
"""
|
|
35
|
+
The set of arguments for constructing a JobService resource.
|
|
36
|
+
: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: `|`, `.`, `"`.
|
|
37
|
+
: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: `|`, `.`, `"`.
|
|
38
|
+
: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: `|`, `.`, `"`.
|
|
39
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the service.
|
|
40
|
+
: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.
|
|
41
|
+
:param pulumi.Input['JobServiceFromSpecificationArgs'] 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.
|
|
42
|
+
:param pulumi.Input['JobServiceFromSpecificationTemplateArgs'] 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.
|
|
43
|
+
: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: `|`, `.`, `"`.
|
|
44
|
+
: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: `|`, `.`, `"`.
|
|
45
|
+
"""
|
|
46
|
+
pulumi.set(__self__, "compute_pool", compute_pool)
|
|
47
|
+
pulumi.set(__self__, "database", database)
|
|
48
|
+
pulumi.set(__self__, "schema", schema)
|
|
49
|
+
if comment is not None:
|
|
50
|
+
pulumi.set(__self__, "comment", comment)
|
|
51
|
+
if external_access_integrations is not None:
|
|
52
|
+
pulumi.set(__self__, "external_access_integrations", external_access_integrations)
|
|
53
|
+
if from_specification is not None:
|
|
54
|
+
pulumi.set(__self__, "from_specification", from_specification)
|
|
55
|
+
if from_specification_template is not None:
|
|
56
|
+
pulumi.set(__self__, "from_specification_template", from_specification_template)
|
|
57
|
+
if name is not None:
|
|
58
|
+
pulumi.set(__self__, "name", name)
|
|
59
|
+
if query_warehouse is not None:
|
|
60
|
+
pulumi.set(__self__, "query_warehouse", query_warehouse)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
@pulumi.getter(name="computePool")
|
|
64
|
+
def compute_pool(self) -> pulumi.Input[builtins.str]:
|
|
65
|
+
"""
|
|
66
|
+
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: `|`, `.`, `"`.
|
|
67
|
+
"""
|
|
68
|
+
return pulumi.get(self, "compute_pool")
|
|
69
|
+
|
|
70
|
+
@compute_pool.setter
|
|
71
|
+
def compute_pool(self, value: pulumi.Input[builtins.str]):
|
|
72
|
+
pulumi.set(self, "compute_pool", value)
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter
|
|
76
|
+
def database(self) -> pulumi.Input[builtins.str]:
|
|
77
|
+
"""
|
|
78
|
+
The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "database")
|
|
81
|
+
|
|
82
|
+
@database.setter
|
|
83
|
+
def database(self, value: pulumi.Input[builtins.str]):
|
|
84
|
+
pulumi.set(self, "database", value)
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter
|
|
88
|
+
def schema(self) -> pulumi.Input[builtins.str]:
|
|
89
|
+
"""
|
|
90
|
+
The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "schema")
|
|
93
|
+
|
|
94
|
+
@schema.setter
|
|
95
|
+
def schema(self, value: pulumi.Input[builtins.str]):
|
|
96
|
+
pulumi.set(self, "schema", value)
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter
|
|
100
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
101
|
+
"""
|
|
102
|
+
Specifies a comment for the service.
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "comment")
|
|
105
|
+
|
|
106
|
+
@comment.setter
|
|
107
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
108
|
+
pulumi.set(self, "comment", value)
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
@pulumi.getter(name="externalAccessIntegrations")
|
|
112
|
+
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
113
|
+
"""
|
|
114
|
+
Specifies the names of the external access integrations that allow your service to access external sites.
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "external_access_integrations")
|
|
117
|
+
|
|
118
|
+
@external_access_integrations.setter
|
|
119
|
+
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
120
|
+
pulumi.set(self, "external_access_integrations", value)
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter(name="fromSpecification")
|
|
124
|
+
def from_specification(self) -> Optional[pulumi.Input['JobServiceFromSpecificationArgs']]:
|
|
125
|
+
"""
|
|
126
|
+
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.
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "from_specification")
|
|
129
|
+
|
|
130
|
+
@from_specification.setter
|
|
131
|
+
def from_specification(self, value: Optional[pulumi.Input['JobServiceFromSpecificationArgs']]):
|
|
132
|
+
pulumi.set(self, "from_specification", value)
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter(name="fromSpecificationTemplate")
|
|
136
|
+
def from_specification_template(self) -> Optional[pulumi.Input['JobServiceFromSpecificationTemplateArgs']]:
|
|
137
|
+
"""
|
|
138
|
+
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.
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "from_specification_template")
|
|
141
|
+
|
|
142
|
+
@from_specification_template.setter
|
|
143
|
+
def from_specification_template(self, value: Optional[pulumi.Input['JobServiceFromSpecificationTemplateArgs']]):
|
|
144
|
+
pulumi.set(self, "from_specification_template", value)
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter
|
|
148
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
149
|
+
"""
|
|
150
|
+
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: `|`, `.`, `"`.
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "name")
|
|
153
|
+
|
|
154
|
+
@name.setter
|
|
155
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
156
|
+
pulumi.set(self, "name", value)
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
@pulumi.getter(name="queryWarehouse")
|
|
160
|
+
def query_warehouse(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
161
|
+
"""
|
|
162
|
+
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: `|`, `.`, `"`.
|
|
163
|
+
"""
|
|
164
|
+
return pulumi.get(self, "query_warehouse")
|
|
165
|
+
|
|
166
|
+
@query_warehouse.setter
|
|
167
|
+
def query_warehouse(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
168
|
+
pulumi.set(self, "query_warehouse", value)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
@pulumi.input_type
|
|
172
|
+
class _JobServiceState:
|
|
173
|
+
def __init__(__self__, *,
|
|
174
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
175
|
+
compute_pool: Optional[pulumi.Input[builtins.str]] = None,
|
|
176
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
177
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['JobServiceDescribeOutputArgs']]]] = None,
|
|
178
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
179
|
+
from_specification: Optional[pulumi.Input['JobServiceFromSpecificationArgs']] = None,
|
|
180
|
+
from_specification_template: Optional[pulumi.Input['JobServiceFromSpecificationTemplateArgs']] = None,
|
|
181
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
182
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
183
|
+
query_warehouse: Optional[pulumi.Input[builtins.str]] = None,
|
|
184
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
185
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
186
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['JobServiceShowOutputArgs']]]] = None):
|
|
187
|
+
"""
|
|
188
|
+
Input properties used for looking up and filtering JobService resources.
|
|
189
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the service.
|
|
190
|
+
: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: `|`, `.`, `"`.
|
|
191
|
+
: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: `|`, `.`, `"`.
|
|
192
|
+
:param pulumi.Input[Sequence[pulumi.Input['JobServiceDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SERVICE` for the given service.
|
|
193
|
+
: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.
|
|
194
|
+
:param pulumi.Input['JobServiceFromSpecificationArgs'] 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.
|
|
195
|
+
:param pulumi.Input['JobServiceFromSpecificationTemplateArgs'] 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.
|
|
196
|
+
: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).
|
|
197
|
+
: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: `|`, `.`, `"`.
|
|
198
|
+
: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: `|`, `.`, `"`.
|
|
199
|
+
: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: `|`, `.`, `"`.
|
|
200
|
+
: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.
|
|
201
|
+
:param pulumi.Input[Sequence[pulumi.Input['JobServiceShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SERVICES` for the given service.
|
|
202
|
+
"""
|
|
203
|
+
if comment is not None:
|
|
204
|
+
pulumi.set(__self__, "comment", comment)
|
|
205
|
+
if compute_pool is not None:
|
|
206
|
+
pulumi.set(__self__, "compute_pool", compute_pool)
|
|
207
|
+
if database is not None:
|
|
208
|
+
pulumi.set(__self__, "database", database)
|
|
209
|
+
if describe_outputs is not None:
|
|
210
|
+
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
211
|
+
if external_access_integrations is not None:
|
|
212
|
+
pulumi.set(__self__, "external_access_integrations", external_access_integrations)
|
|
213
|
+
if from_specification is not None:
|
|
214
|
+
pulumi.set(__self__, "from_specification", from_specification)
|
|
215
|
+
if from_specification_template is not None:
|
|
216
|
+
pulumi.set(__self__, "from_specification_template", from_specification_template)
|
|
217
|
+
if fully_qualified_name is not None:
|
|
218
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
219
|
+
if name is not None:
|
|
220
|
+
pulumi.set(__self__, "name", name)
|
|
221
|
+
if query_warehouse is not None:
|
|
222
|
+
pulumi.set(__self__, "query_warehouse", query_warehouse)
|
|
223
|
+
if schema is not None:
|
|
224
|
+
pulumi.set(__self__, "schema", schema)
|
|
225
|
+
if service_type is not None:
|
|
226
|
+
pulumi.set(__self__, "service_type", service_type)
|
|
227
|
+
if show_outputs is not None:
|
|
228
|
+
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
@pulumi.getter
|
|
232
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
233
|
+
"""
|
|
234
|
+
Specifies a comment for the service.
|
|
235
|
+
"""
|
|
236
|
+
return pulumi.get(self, "comment")
|
|
237
|
+
|
|
238
|
+
@comment.setter
|
|
239
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
240
|
+
pulumi.set(self, "comment", value)
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
@pulumi.getter(name="computePool")
|
|
244
|
+
def compute_pool(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
245
|
+
"""
|
|
246
|
+
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: `|`, `.`, `"`.
|
|
247
|
+
"""
|
|
248
|
+
return pulumi.get(self, "compute_pool")
|
|
249
|
+
|
|
250
|
+
@compute_pool.setter
|
|
251
|
+
def compute_pool(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
252
|
+
pulumi.set(self, "compute_pool", value)
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
@pulumi.getter
|
|
256
|
+
def database(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
257
|
+
"""
|
|
258
|
+
The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
259
|
+
"""
|
|
260
|
+
return pulumi.get(self, "database")
|
|
261
|
+
|
|
262
|
+
@database.setter
|
|
263
|
+
def database(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
264
|
+
pulumi.set(self, "database", value)
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
@pulumi.getter(name="describeOutputs")
|
|
268
|
+
def describe_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobServiceDescribeOutputArgs']]]]:
|
|
269
|
+
"""
|
|
270
|
+
Outputs the result of `DESCRIBE SERVICE` for the given service.
|
|
271
|
+
"""
|
|
272
|
+
return pulumi.get(self, "describe_outputs")
|
|
273
|
+
|
|
274
|
+
@describe_outputs.setter
|
|
275
|
+
def describe_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobServiceDescribeOutputArgs']]]]):
|
|
276
|
+
pulumi.set(self, "describe_outputs", value)
|
|
277
|
+
|
|
278
|
+
@property
|
|
279
|
+
@pulumi.getter(name="externalAccessIntegrations")
|
|
280
|
+
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
281
|
+
"""
|
|
282
|
+
Specifies the names of the external access integrations that allow your service to access external sites.
|
|
283
|
+
"""
|
|
284
|
+
return pulumi.get(self, "external_access_integrations")
|
|
285
|
+
|
|
286
|
+
@external_access_integrations.setter
|
|
287
|
+
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
288
|
+
pulumi.set(self, "external_access_integrations", value)
|
|
289
|
+
|
|
290
|
+
@property
|
|
291
|
+
@pulumi.getter(name="fromSpecification")
|
|
292
|
+
def from_specification(self) -> Optional[pulumi.Input['JobServiceFromSpecificationArgs']]:
|
|
293
|
+
"""
|
|
294
|
+
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.
|
|
295
|
+
"""
|
|
296
|
+
return pulumi.get(self, "from_specification")
|
|
297
|
+
|
|
298
|
+
@from_specification.setter
|
|
299
|
+
def from_specification(self, value: Optional[pulumi.Input['JobServiceFromSpecificationArgs']]):
|
|
300
|
+
pulumi.set(self, "from_specification", value)
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
@pulumi.getter(name="fromSpecificationTemplate")
|
|
304
|
+
def from_specification_template(self) -> Optional[pulumi.Input['JobServiceFromSpecificationTemplateArgs']]:
|
|
305
|
+
"""
|
|
306
|
+
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.
|
|
307
|
+
"""
|
|
308
|
+
return pulumi.get(self, "from_specification_template")
|
|
309
|
+
|
|
310
|
+
@from_specification_template.setter
|
|
311
|
+
def from_specification_template(self, value: Optional[pulumi.Input['JobServiceFromSpecificationTemplateArgs']]):
|
|
312
|
+
pulumi.set(self, "from_specification_template", value)
|
|
313
|
+
|
|
314
|
+
@property
|
|
315
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
316
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
317
|
+
"""
|
|
318
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
319
|
+
"""
|
|
320
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
321
|
+
|
|
322
|
+
@fully_qualified_name.setter
|
|
323
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
324
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
325
|
+
|
|
326
|
+
@property
|
|
327
|
+
@pulumi.getter
|
|
328
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
329
|
+
"""
|
|
330
|
+
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: `|`, `.`, `"`.
|
|
331
|
+
"""
|
|
332
|
+
return pulumi.get(self, "name")
|
|
333
|
+
|
|
334
|
+
@name.setter
|
|
335
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
336
|
+
pulumi.set(self, "name", value)
|
|
337
|
+
|
|
338
|
+
@property
|
|
339
|
+
@pulumi.getter(name="queryWarehouse")
|
|
340
|
+
def query_warehouse(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
341
|
+
"""
|
|
342
|
+
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: `|`, `.`, `"`.
|
|
343
|
+
"""
|
|
344
|
+
return pulumi.get(self, "query_warehouse")
|
|
345
|
+
|
|
346
|
+
@query_warehouse.setter
|
|
347
|
+
def query_warehouse(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
348
|
+
pulumi.set(self, "query_warehouse", value)
|
|
349
|
+
|
|
350
|
+
@property
|
|
351
|
+
@pulumi.getter
|
|
352
|
+
def schema(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
353
|
+
"""
|
|
354
|
+
The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
355
|
+
"""
|
|
356
|
+
return pulumi.get(self, "schema")
|
|
357
|
+
|
|
358
|
+
@schema.setter
|
|
359
|
+
def schema(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
360
|
+
pulumi.set(self, "schema", value)
|
|
361
|
+
|
|
362
|
+
@property
|
|
363
|
+
@pulumi.getter(name="serviceType")
|
|
364
|
+
def service_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
365
|
+
"""
|
|
366
|
+
Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
|
|
367
|
+
"""
|
|
368
|
+
return pulumi.get(self, "service_type")
|
|
369
|
+
|
|
370
|
+
@service_type.setter
|
|
371
|
+
def service_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
372
|
+
pulumi.set(self, "service_type", value)
|
|
373
|
+
|
|
374
|
+
@property
|
|
375
|
+
@pulumi.getter(name="showOutputs")
|
|
376
|
+
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobServiceShowOutputArgs']]]]:
|
|
377
|
+
"""
|
|
378
|
+
Outputs the result of `SHOW SERVICES` for the given service.
|
|
379
|
+
"""
|
|
380
|
+
return pulumi.get(self, "show_outputs")
|
|
381
|
+
|
|
382
|
+
@show_outputs.setter
|
|
383
|
+
def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobServiceShowOutputArgs']]]]):
|
|
384
|
+
pulumi.set(self, "show_outputs", value)
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
@pulumi.type_token("snowflake:index/jobService:JobService")
|
|
388
|
+
class JobService(pulumi.CustomResource):
|
|
389
|
+
@overload
|
|
390
|
+
def __init__(__self__,
|
|
391
|
+
resource_name: str,
|
|
392
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
393
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
394
|
+
compute_pool: Optional[pulumi.Input[builtins.str]] = None,
|
|
395
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
396
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
397
|
+
from_specification: Optional[pulumi.Input[Union['JobServiceFromSpecificationArgs', 'JobServiceFromSpecificationArgsDict']]] = None,
|
|
398
|
+
from_specification_template: Optional[pulumi.Input[Union['JobServiceFromSpecificationTemplateArgs', 'JobServiceFromSpecificationTemplateArgsDict']]] = None,
|
|
399
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
400
|
+
query_warehouse: Optional[pulumi.Input[builtins.str]] = None,
|
|
401
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
402
|
+
__props__=None):
|
|
403
|
+
"""
|
|
404
|
+
## Import
|
|
405
|
+
|
|
406
|
+
```sh
|
|
407
|
+
$ pulumi import snowflake:index/jobService:JobService example '"<database_name>"."<schema_name>"."<job_service_name>"'
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
:param str resource_name: The name of the resource.
|
|
411
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
412
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the service.
|
|
413
|
+
: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: `|`, `.`, `"`.
|
|
414
|
+
: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: `|`, `.`, `"`.
|
|
415
|
+
: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.
|
|
416
|
+
:param pulumi.Input[Union['JobServiceFromSpecificationArgs', 'JobServiceFromSpecificationArgsDict']] 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.
|
|
417
|
+
:param pulumi.Input[Union['JobServiceFromSpecificationTemplateArgs', 'JobServiceFromSpecificationTemplateArgsDict']] 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.
|
|
418
|
+
: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: `|`, `.`, `"`.
|
|
419
|
+
: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: `|`, `.`, `"`.
|
|
420
|
+
: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: `|`, `.`, `"`.
|
|
421
|
+
"""
|
|
422
|
+
...
|
|
423
|
+
@overload
|
|
424
|
+
def __init__(__self__,
|
|
425
|
+
resource_name: str,
|
|
426
|
+
args: JobServiceArgs,
|
|
427
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
428
|
+
"""
|
|
429
|
+
## Import
|
|
430
|
+
|
|
431
|
+
```sh
|
|
432
|
+
$ pulumi import snowflake:index/jobService:JobService example '"<database_name>"."<schema_name>"."<job_service_name>"'
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
:param str resource_name: The name of the resource.
|
|
436
|
+
:param JobServiceArgs args: The arguments to use to populate this resource's properties.
|
|
437
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
438
|
+
"""
|
|
439
|
+
...
|
|
440
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
441
|
+
resource_args, opts = _utilities.get_resource_args_opts(JobServiceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
442
|
+
if resource_args is not None:
|
|
443
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
444
|
+
else:
|
|
445
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
446
|
+
|
|
447
|
+
def _internal_init(__self__,
|
|
448
|
+
resource_name: str,
|
|
449
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
450
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
451
|
+
compute_pool: Optional[pulumi.Input[builtins.str]] = None,
|
|
452
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
453
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
454
|
+
from_specification: Optional[pulumi.Input[Union['JobServiceFromSpecificationArgs', 'JobServiceFromSpecificationArgsDict']]] = None,
|
|
455
|
+
from_specification_template: Optional[pulumi.Input[Union['JobServiceFromSpecificationTemplateArgs', 'JobServiceFromSpecificationTemplateArgsDict']]] = None,
|
|
456
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
457
|
+
query_warehouse: Optional[pulumi.Input[builtins.str]] = None,
|
|
458
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
459
|
+
__props__=None):
|
|
460
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
461
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
462
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
463
|
+
if opts.id is None:
|
|
464
|
+
if __props__ is not None:
|
|
465
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
466
|
+
__props__ = JobServiceArgs.__new__(JobServiceArgs)
|
|
467
|
+
|
|
468
|
+
__props__.__dict__["comment"] = comment
|
|
469
|
+
if compute_pool is None and not opts.urn:
|
|
470
|
+
raise TypeError("Missing required property 'compute_pool'")
|
|
471
|
+
__props__.__dict__["compute_pool"] = compute_pool
|
|
472
|
+
if database is None and not opts.urn:
|
|
473
|
+
raise TypeError("Missing required property 'database'")
|
|
474
|
+
__props__.__dict__["database"] = database
|
|
475
|
+
__props__.__dict__["external_access_integrations"] = external_access_integrations
|
|
476
|
+
__props__.__dict__["from_specification"] = from_specification
|
|
477
|
+
__props__.__dict__["from_specification_template"] = from_specification_template
|
|
478
|
+
__props__.__dict__["name"] = name
|
|
479
|
+
__props__.__dict__["query_warehouse"] = query_warehouse
|
|
480
|
+
if schema is None and not opts.urn:
|
|
481
|
+
raise TypeError("Missing required property 'schema'")
|
|
482
|
+
__props__.__dict__["schema"] = schema
|
|
483
|
+
__props__.__dict__["describe_outputs"] = None
|
|
484
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
485
|
+
__props__.__dict__["service_type"] = None
|
|
486
|
+
__props__.__dict__["show_outputs"] = None
|
|
487
|
+
super(JobService, __self__).__init__(
|
|
488
|
+
'snowflake:index/jobService:JobService',
|
|
489
|
+
resource_name,
|
|
490
|
+
__props__,
|
|
491
|
+
opts)
|
|
492
|
+
|
|
493
|
+
@staticmethod
|
|
494
|
+
def get(resource_name: str,
|
|
495
|
+
id: pulumi.Input[str],
|
|
496
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
497
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
498
|
+
compute_pool: Optional[pulumi.Input[builtins.str]] = None,
|
|
499
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
500
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobServiceDescribeOutputArgs', 'JobServiceDescribeOutputArgsDict']]]]] = None,
|
|
501
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
502
|
+
from_specification: Optional[pulumi.Input[Union['JobServiceFromSpecificationArgs', 'JobServiceFromSpecificationArgsDict']]] = None,
|
|
503
|
+
from_specification_template: Optional[pulumi.Input[Union['JobServiceFromSpecificationTemplateArgs', 'JobServiceFromSpecificationTemplateArgsDict']]] = None,
|
|
504
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
505
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
506
|
+
query_warehouse: Optional[pulumi.Input[builtins.str]] = None,
|
|
507
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
508
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
509
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobServiceShowOutputArgs', 'JobServiceShowOutputArgsDict']]]]] = None) -> 'JobService':
|
|
510
|
+
"""
|
|
511
|
+
Get an existing JobService resource's state with the given name, id, and optional extra
|
|
512
|
+
properties used to qualify the lookup.
|
|
513
|
+
|
|
514
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
515
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
516
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
517
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the service.
|
|
518
|
+
: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: `|`, `.`, `"`.
|
|
519
|
+
: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: `|`, `.`, `"`.
|
|
520
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['JobServiceDescribeOutputArgs', 'JobServiceDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SERVICE` for the given service.
|
|
521
|
+
: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.
|
|
522
|
+
:param pulumi.Input[Union['JobServiceFromSpecificationArgs', 'JobServiceFromSpecificationArgsDict']] 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.
|
|
523
|
+
:param pulumi.Input[Union['JobServiceFromSpecificationTemplateArgs', 'JobServiceFromSpecificationTemplateArgsDict']] 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.
|
|
524
|
+
: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).
|
|
525
|
+
: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: `|`, `.`, `"`.
|
|
526
|
+
: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: `|`, `.`, `"`.
|
|
527
|
+
: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: `|`, `.`, `"`.
|
|
528
|
+
: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.
|
|
529
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['JobServiceShowOutputArgs', 'JobServiceShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SERVICES` for the given service.
|
|
530
|
+
"""
|
|
531
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
532
|
+
|
|
533
|
+
__props__ = _JobServiceState.__new__(_JobServiceState)
|
|
534
|
+
|
|
535
|
+
__props__.__dict__["comment"] = comment
|
|
536
|
+
__props__.__dict__["compute_pool"] = compute_pool
|
|
537
|
+
__props__.__dict__["database"] = database
|
|
538
|
+
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
539
|
+
__props__.__dict__["external_access_integrations"] = external_access_integrations
|
|
540
|
+
__props__.__dict__["from_specification"] = from_specification
|
|
541
|
+
__props__.__dict__["from_specification_template"] = from_specification_template
|
|
542
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
543
|
+
__props__.__dict__["name"] = name
|
|
544
|
+
__props__.__dict__["query_warehouse"] = query_warehouse
|
|
545
|
+
__props__.__dict__["schema"] = schema
|
|
546
|
+
__props__.__dict__["service_type"] = service_type
|
|
547
|
+
__props__.__dict__["show_outputs"] = show_outputs
|
|
548
|
+
return JobService(resource_name, opts=opts, __props__=__props__)
|
|
549
|
+
|
|
550
|
+
@property
|
|
551
|
+
@pulumi.getter
|
|
552
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
553
|
+
"""
|
|
554
|
+
Specifies a comment for the service.
|
|
555
|
+
"""
|
|
556
|
+
return pulumi.get(self, "comment")
|
|
557
|
+
|
|
558
|
+
@property
|
|
559
|
+
@pulumi.getter(name="computePool")
|
|
560
|
+
def compute_pool(self) -> pulumi.Output[builtins.str]:
|
|
561
|
+
"""
|
|
562
|
+
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: `|`, `.`, `"`.
|
|
563
|
+
"""
|
|
564
|
+
return pulumi.get(self, "compute_pool")
|
|
565
|
+
|
|
566
|
+
@property
|
|
567
|
+
@pulumi.getter
|
|
568
|
+
def database(self) -> pulumi.Output[builtins.str]:
|
|
569
|
+
"""
|
|
570
|
+
The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
571
|
+
"""
|
|
572
|
+
return pulumi.get(self, "database")
|
|
573
|
+
|
|
574
|
+
@property
|
|
575
|
+
@pulumi.getter(name="describeOutputs")
|
|
576
|
+
def describe_outputs(self) -> pulumi.Output[Sequence['outputs.JobServiceDescribeOutput']]:
|
|
577
|
+
"""
|
|
578
|
+
Outputs the result of `DESCRIBE SERVICE` for the given service.
|
|
579
|
+
"""
|
|
580
|
+
return pulumi.get(self, "describe_outputs")
|
|
581
|
+
|
|
582
|
+
@property
|
|
583
|
+
@pulumi.getter(name="externalAccessIntegrations")
|
|
584
|
+
def external_access_integrations(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
585
|
+
"""
|
|
586
|
+
Specifies the names of the external access integrations that allow your service to access external sites.
|
|
587
|
+
"""
|
|
588
|
+
return pulumi.get(self, "external_access_integrations")
|
|
589
|
+
|
|
590
|
+
@property
|
|
591
|
+
@pulumi.getter(name="fromSpecification")
|
|
592
|
+
def from_specification(self) -> pulumi.Output[Optional['outputs.JobServiceFromSpecification']]:
|
|
593
|
+
"""
|
|
594
|
+
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.
|
|
595
|
+
"""
|
|
596
|
+
return pulumi.get(self, "from_specification")
|
|
597
|
+
|
|
598
|
+
@property
|
|
599
|
+
@pulumi.getter(name="fromSpecificationTemplate")
|
|
600
|
+
def from_specification_template(self) -> pulumi.Output[Optional['outputs.JobServiceFromSpecificationTemplate']]:
|
|
601
|
+
"""
|
|
602
|
+
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.
|
|
603
|
+
"""
|
|
604
|
+
return pulumi.get(self, "from_specification_template")
|
|
605
|
+
|
|
606
|
+
@property
|
|
607
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
608
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
609
|
+
"""
|
|
610
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
611
|
+
"""
|
|
612
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
613
|
+
|
|
614
|
+
@property
|
|
615
|
+
@pulumi.getter
|
|
616
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
617
|
+
"""
|
|
618
|
+
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: `|`, `.`, `"`.
|
|
619
|
+
"""
|
|
620
|
+
return pulumi.get(self, "name")
|
|
621
|
+
|
|
622
|
+
@property
|
|
623
|
+
@pulumi.getter(name="queryWarehouse")
|
|
624
|
+
def query_warehouse(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
625
|
+
"""
|
|
626
|
+
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: `|`, `.`, `"`.
|
|
627
|
+
"""
|
|
628
|
+
return pulumi.get(self, "query_warehouse")
|
|
629
|
+
|
|
630
|
+
@property
|
|
631
|
+
@pulumi.getter
|
|
632
|
+
def schema(self) -> pulumi.Output[builtins.str]:
|
|
633
|
+
"""
|
|
634
|
+
The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
635
|
+
"""
|
|
636
|
+
return pulumi.get(self, "schema")
|
|
637
|
+
|
|
638
|
+
@property
|
|
639
|
+
@pulumi.getter(name="serviceType")
|
|
640
|
+
def service_type(self) -> pulumi.Output[builtins.str]:
|
|
641
|
+
"""
|
|
642
|
+
Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
|
|
643
|
+
"""
|
|
644
|
+
return pulumi.get(self, "service_type")
|
|
645
|
+
|
|
646
|
+
@property
|
|
647
|
+
@pulumi.getter(name="showOutputs")
|
|
648
|
+
def show_outputs(self) -> pulumi.Output[Sequence['outputs.JobServiceShowOutput']]:
|
|
649
|
+
"""
|
|
650
|
+
Outputs the result of `SHOW SERVICES` for the given service.
|
|
651
|
+
"""
|
|
652
|
+
return pulumi.get(self, "show_outputs")
|
|
653
|
+
|