pulumi-gcp 7.5.0a1704283083__py3-none-any.whl → 7.6.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +99 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +40 -0
- pulumi_gcp/bigqueryanalyticshub/listing.py +117 -3
- pulumi_gcp/bigqueryanalyticshub/outputs.py +49 -0
- pulumi_gcp/clouddeploy/__init__.py +1 -0
- pulumi_gcp/clouddeploy/_inputs.py +239 -0
- pulumi_gcp/clouddeploy/automation.py +1103 -0
- pulumi_gcp/clouddeploy/outputs.py +246 -0
- pulumi_gcp/clouddomains/__init__.py +10 -0
- pulumi_gcp/clouddomains/_inputs.py +1098 -0
- pulumi_gcp/clouddomains/outputs.py +1156 -0
- pulumi_gcp/clouddomains/registration.py +1068 -0
- pulumi_gcp/cloudrunv2/job.py +4 -4
- pulumi_gcp/composer/_inputs.py +79 -1
- pulumi_gcp/composer/outputs.py +131 -4
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +180 -0
- pulumi_gcp/compute/get_instance_template.py +11 -1
- pulumi_gcp/compute/get_region_instance_template.py +11 -1
- pulumi_gcp/compute/get_reservation.py +212 -0
- pulumi_gcp/compute/instance_template.py +47 -0
- pulumi_gcp/compute/network_firewall_policy.py +20 -22
- pulumi_gcp/compute/outputs.py +325 -0
- pulumi_gcp/compute/region_instance_template.py +47 -0
- pulumi_gcp/compute/region_network_firewall_policy.py +31 -35
- pulumi_gcp/compute/router_peer.py +54 -0
- pulumi_gcp/compute/vpn_tunnel.py +8 -4
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +23 -0
- pulumi_gcp/container/aws_node_pool.py +7 -7
- pulumi_gcp/container/cluster.py +68 -14
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/outputs.py +49 -0
- pulumi_gcp/dataflow/pipeline.py +1 -1
- pulumi_gcp/dataproc/_inputs.py +413 -39
- pulumi_gcp/dataproc/metastore_service.py +63 -0
- pulumi_gcp/dataproc/outputs.py +461 -39
- pulumi_gcp/dns/__init__.py +1 -0
- pulumi_gcp/dns/_inputs.py +94 -0
- pulumi_gcp/dns/get_managed_zones.py +89 -0
- pulumi_gcp/dns/outputs.py +62 -0
- pulumi_gcp/edgecontainer/vpn_connection.py +10 -10
- pulumi_gcp/filestore/__init__.py +1 -0
- pulumi_gcp/filestore/get_instance.py +258 -0
- pulumi_gcp/filestore/instance.py +7 -7
- pulumi_gcp/filestore/outputs.py +126 -0
- pulumi_gcp/gkebackup/backup_plan.py +24 -8
- pulumi_gcp/gkebackup/restore_plan.py +36 -12
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +36 -12
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +36 -12
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +36 -12
- pulumi_gcp/gkehub/_inputs.py +502 -2
- pulumi_gcp/gkehub/feature.py +34 -0
- pulumi_gcp/gkehub/feature_membership.py +177 -0
- pulumi_gcp/gkehub/membership.py +18 -6
- pulumi_gcp/gkehub/outputs.py +502 -2
- pulumi_gcp/gkeonprem/_inputs.py +21 -25
- pulumi_gcp/gkeonprem/outputs.py +34 -25
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +34 -0
- pulumi_gcp/integrationconnectors/__init__.py +1 -0
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +669 -0
- pulumi_gcp/kms/_inputs.py +42 -0
- pulumi_gcp/kms/crypto_key.py +36 -0
- pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
- pulumi_gcp/kms/outputs.py +62 -0
- pulumi_gcp/logging/__init__.py +2 -0
- pulumi_gcp/logging/folder_settings.py +490 -0
- pulumi_gcp/logging/folder_sink.py +21 -21
- pulumi_gcp/logging/organization_settings.py +484 -0
- pulumi_gcp/logging/organization_sink.py +21 -21
- pulumi_gcp/logging/project_sink.py +7 -14
- pulumi_gcp/netapp/__init__.py +3 -0
- pulumi_gcp/netapp/active_directory.py +1413 -0
- pulumi_gcp/netapp/backup_vault.py +593 -0
- pulumi_gcp/netapp/kmsconfig.py +649 -0
- pulumi_gcp/orgpolicy/policy.py +28 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +29 -37
- pulumi_gcp/serviceaccount/account.py +47 -0
- pulumi_gcp/servicenetworking/connection.py +55 -1
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/ssl_cert.py +1 -1
- pulumi_gcp/sql/user.py +7 -7
- pulumi_gcp/storage/transfer_job.py +24 -5
- pulumi_gcp/vertex/__init__.py +3 -0
- pulumi_gcp/vertex/_inputs.py +339 -0
- pulumi_gcp/vertex/ai_feature_group.py +710 -0
- pulumi_gcp/vertex/ai_feature_online_store.py +962 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +804 -0
- pulumi_gcp/vertex/outputs.py +406 -0
- pulumi_gcp/vmwareengine/__init__.py +2 -0
- pulumi_gcp/vmwareengine/_inputs.py +84 -0
- pulumi_gcp/vmwareengine/external_access_rule.py +947 -0
- pulumi_gcp/vmwareengine/get_external_access_rule.py +245 -0
- pulumi_gcp/vmwareengine/outputs.py +146 -0
- pulumi_gcp/workflows/workflow.py +7 -7
- {pulumi_gcp-7.5.0a1704283083.dist-info → pulumi_gcp-7.6.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.5.0a1704283083.dist-info → pulumi_gcp-7.6.0.dist-info}/RECORD +101 -82
- {pulumi_gcp-7.5.0a1704283083.dist-info → pulumi_gcp-7.6.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.5.0a1704283083.dist-info → pulumi_gcp-7.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,962 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['AiFeatureOnlineStoreArgs', 'AiFeatureOnlineStore']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class AiFeatureOnlineStoreArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
bigtable: Optional[pulumi.Input['AiFeatureOnlineStoreBigtableArgs']] = None,
|
20
|
+
dedicated_serving_endpoint: Optional[pulumi.Input['AiFeatureOnlineStoreDedicatedServingEndpointArgs']] = None,
|
21
|
+
embedding_management: Optional[pulumi.Input['AiFeatureOnlineStoreEmbeddingManagementArgs']] = None,
|
22
|
+
force_destroy: Optional[pulumi.Input[bool]] = None,
|
23
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
24
|
+
name: Optional[pulumi.Input[str]] = None,
|
25
|
+
optimized: Optional[pulumi.Input['AiFeatureOnlineStoreOptimizedArgs']] = None,
|
26
|
+
project: Optional[pulumi.Input[str]] = None,
|
27
|
+
region: Optional[pulumi.Input[str]] = None):
|
28
|
+
"""
|
29
|
+
The set of arguments for constructing a AiFeatureOnlineStore resource.
|
30
|
+
:param pulumi.Input['AiFeatureOnlineStoreBigtableArgs'] bigtable: Settings for Cloud Bigtable instance that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore.
|
31
|
+
Structure is documented below.
|
32
|
+
:param pulumi.Input['AiFeatureOnlineStoreDedicatedServingEndpointArgs'] dedicated_serving_endpoint: The dedicated serving endpoint for this FeatureOnlineStore, which is different from common vertex service endpoint. Only
|
33
|
+
need to set when you choose Optimized storage type or enable EmbeddingManagement. Will use public endpoint by default.
|
34
|
+
:param pulumi.Input['AiFeatureOnlineStoreEmbeddingManagementArgs'] embedding_management: The settings for embedding management in FeatureOnlineStore. Embedding management can only be used with BigTable.
|
35
|
+
:param pulumi.Input[bool] force_destroy: If set to true, any FeatureViews and Features for this FeatureOnlineStore will also be deleted.
|
36
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels with user-defined metadata to organize your feature online stores.
|
37
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
38
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
39
|
+
:param pulumi.Input[str] name: The resource name of the Feature Online Store. This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.
|
40
|
+
|
41
|
+
|
42
|
+
- - -
|
43
|
+
:param pulumi.Input['AiFeatureOnlineStoreOptimizedArgs'] optimized: Settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this
|
44
|
+
FeatureOnlineStore
|
45
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
46
|
+
If it is not provided, the provider project is used.
|
47
|
+
:param pulumi.Input[str] region: The region of feature online store. eg us-central1
|
48
|
+
"""
|
49
|
+
if bigtable is not None:
|
50
|
+
pulumi.set(__self__, "bigtable", bigtable)
|
51
|
+
if dedicated_serving_endpoint is not None:
|
52
|
+
pulumi.set(__self__, "dedicated_serving_endpoint", dedicated_serving_endpoint)
|
53
|
+
if embedding_management is not None:
|
54
|
+
pulumi.set(__self__, "embedding_management", embedding_management)
|
55
|
+
if force_destroy is not None:
|
56
|
+
pulumi.set(__self__, "force_destroy", force_destroy)
|
57
|
+
if labels is not None:
|
58
|
+
pulumi.set(__self__, "labels", labels)
|
59
|
+
if name is not None:
|
60
|
+
pulumi.set(__self__, "name", name)
|
61
|
+
if optimized is not None:
|
62
|
+
pulumi.set(__self__, "optimized", optimized)
|
63
|
+
if project is not None:
|
64
|
+
pulumi.set(__self__, "project", project)
|
65
|
+
if region is not None:
|
66
|
+
pulumi.set(__self__, "region", region)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def bigtable(self) -> Optional[pulumi.Input['AiFeatureOnlineStoreBigtableArgs']]:
|
71
|
+
"""
|
72
|
+
Settings for Cloud Bigtable instance that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore.
|
73
|
+
Structure is documented below.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "bigtable")
|
76
|
+
|
77
|
+
@bigtable.setter
|
78
|
+
def bigtable(self, value: Optional[pulumi.Input['AiFeatureOnlineStoreBigtableArgs']]):
|
79
|
+
pulumi.set(self, "bigtable", value)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="dedicatedServingEndpoint")
|
83
|
+
def dedicated_serving_endpoint(self) -> Optional[pulumi.Input['AiFeatureOnlineStoreDedicatedServingEndpointArgs']]:
|
84
|
+
"""
|
85
|
+
The dedicated serving endpoint for this FeatureOnlineStore, which is different from common vertex service endpoint. Only
|
86
|
+
need to set when you choose Optimized storage type or enable EmbeddingManagement. Will use public endpoint by default.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "dedicated_serving_endpoint")
|
89
|
+
|
90
|
+
@dedicated_serving_endpoint.setter
|
91
|
+
def dedicated_serving_endpoint(self, value: Optional[pulumi.Input['AiFeatureOnlineStoreDedicatedServingEndpointArgs']]):
|
92
|
+
pulumi.set(self, "dedicated_serving_endpoint", value)
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="embeddingManagement")
|
96
|
+
def embedding_management(self) -> Optional[pulumi.Input['AiFeatureOnlineStoreEmbeddingManagementArgs']]:
|
97
|
+
"""
|
98
|
+
The settings for embedding management in FeatureOnlineStore. Embedding management can only be used with BigTable.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "embedding_management")
|
101
|
+
|
102
|
+
@embedding_management.setter
|
103
|
+
def embedding_management(self, value: Optional[pulumi.Input['AiFeatureOnlineStoreEmbeddingManagementArgs']]):
|
104
|
+
pulumi.set(self, "embedding_management", value)
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="forceDestroy")
|
108
|
+
def force_destroy(self) -> Optional[pulumi.Input[bool]]:
|
109
|
+
"""
|
110
|
+
If set to true, any FeatureViews and Features for this FeatureOnlineStore will also be deleted.
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "force_destroy")
|
113
|
+
|
114
|
+
@force_destroy.setter
|
115
|
+
def force_destroy(self, value: Optional[pulumi.Input[bool]]):
|
116
|
+
pulumi.set(self, "force_destroy", value)
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter
|
120
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
121
|
+
"""
|
122
|
+
The labels with user-defined metadata to organize your feature online stores.
|
123
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
124
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
125
|
+
"""
|
126
|
+
return pulumi.get(self, "labels")
|
127
|
+
|
128
|
+
@labels.setter
|
129
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
130
|
+
pulumi.set(self, "labels", value)
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter
|
134
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
135
|
+
"""
|
136
|
+
The resource name of the Feature Online Store. This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.
|
137
|
+
|
138
|
+
|
139
|
+
- - -
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "name")
|
142
|
+
|
143
|
+
@name.setter
|
144
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
145
|
+
pulumi.set(self, "name", value)
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter
|
149
|
+
def optimized(self) -> Optional[pulumi.Input['AiFeatureOnlineStoreOptimizedArgs']]:
|
150
|
+
"""
|
151
|
+
Settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this
|
152
|
+
FeatureOnlineStore
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "optimized")
|
155
|
+
|
156
|
+
@optimized.setter
|
157
|
+
def optimized(self, value: Optional[pulumi.Input['AiFeatureOnlineStoreOptimizedArgs']]):
|
158
|
+
pulumi.set(self, "optimized", value)
|
159
|
+
|
160
|
+
@property
|
161
|
+
@pulumi.getter
|
162
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
163
|
+
"""
|
164
|
+
The ID of the project in which the resource belongs.
|
165
|
+
If it is not provided, the provider project is used.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "project")
|
168
|
+
|
169
|
+
@project.setter
|
170
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
171
|
+
pulumi.set(self, "project", value)
|
172
|
+
|
173
|
+
@property
|
174
|
+
@pulumi.getter
|
175
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
176
|
+
"""
|
177
|
+
The region of feature online store. eg us-central1
|
178
|
+
"""
|
179
|
+
return pulumi.get(self, "region")
|
180
|
+
|
181
|
+
@region.setter
|
182
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
183
|
+
pulumi.set(self, "region", value)
|
184
|
+
|
185
|
+
|
186
|
+
@pulumi.input_type
|
187
|
+
class _AiFeatureOnlineStoreState:
|
188
|
+
def __init__(__self__, *,
|
189
|
+
bigtable: Optional[pulumi.Input['AiFeatureOnlineStoreBigtableArgs']] = None,
|
190
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
191
|
+
dedicated_serving_endpoint: Optional[pulumi.Input['AiFeatureOnlineStoreDedicatedServingEndpointArgs']] = None,
|
192
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
193
|
+
embedding_management: Optional[pulumi.Input['AiFeatureOnlineStoreEmbeddingManagementArgs']] = None,
|
194
|
+
etag: Optional[pulumi.Input[str]] = None,
|
195
|
+
force_destroy: Optional[pulumi.Input[bool]] = None,
|
196
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
197
|
+
name: Optional[pulumi.Input[str]] = None,
|
198
|
+
optimized: Optional[pulumi.Input['AiFeatureOnlineStoreOptimizedArgs']] = None,
|
199
|
+
project: Optional[pulumi.Input[str]] = None,
|
200
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
201
|
+
region: Optional[pulumi.Input[str]] = None,
|
202
|
+
state: Optional[pulumi.Input[str]] = None,
|
203
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
204
|
+
"""
|
205
|
+
Input properties used for looking up and filtering AiFeatureOnlineStore resources.
|
206
|
+
:param pulumi.Input['AiFeatureOnlineStoreBigtableArgs'] bigtable: Settings for Cloud Bigtable instance that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore.
|
207
|
+
Structure is documented below.
|
208
|
+
:param pulumi.Input[str] create_time: The timestamp of when the feature online store was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
209
|
+
:param pulumi.Input['AiFeatureOnlineStoreDedicatedServingEndpointArgs'] dedicated_serving_endpoint: The dedicated serving endpoint for this FeatureOnlineStore, which is different from common vertex service endpoint. Only
|
210
|
+
need to set when you choose Optimized storage type or enable EmbeddingManagement. Will use public endpoint by default.
|
211
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
212
|
+
:param pulumi.Input['AiFeatureOnlineStoreEmbeddingManagementArgs'] embedding_management: The settings for embedding management in FeatureOnlineStore. Embedding management can only be used with BigTable.
|
213
|
+
:param pulumi.Input[str] etag: Used to perform consistent read-modify-write updates.
|
214
|
+
:param pulumi.Input[bool] force_destroy: If set to true, any FeatureViews and Features for this FeatureOnlineStore will also be deleted.
|
215
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels with user-defined metadata to organize your feature online stores.
|
216
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
217
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
218
|
+
:param pulumi.Input[str] name: The resource name of the Feature Online Store. This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.
|
219
|
+
|
220
|
+
|
221
|
+
- - -
|
222
|
+
:param pulumi.Input['AiFeatureOnlineStoreOptimizedArgs'] optimized: Settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this
|
223
|
+
FeatureOnlineStore
|
224
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
225
|
+
If it is not provided, the provider project is used.
|
226
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
227
|
+
and default labels configured on the provider.
|
228
|
+
:param pulumi.Input[str] region: The region of feature online store. eg us-central1
|
229
|
+
:param pulumi.Input[str] state: The state of the Feature Online Store. See the possible states in [this link](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featureOnlineStores#state).
|
230
|
+
:param pulumi.Input[str] update_time: The timestamp of when the feature online store was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
231
|
+
"""
|
232
|
+
if bigtable is not None:
|
233
|
+
pulumi.set(__self__, "bigtable", bigtable)
|
234
|
+
if create_time is not None:
|
235
|
+
pulumi.set(__self__, "create_time", create_time)
|
236
|
+
if dedicated_serving_endpoint is not None:
|
237
|
+
pulumi.set(__self__, "dedicated_serving_endpoint", dedicated_serving_endpoint)
|
238
|
+
if effective_labels is not None:
|
239
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
240
|
+
if embedding_management is not None:
|
241
|
+
pulumi.set(__self__, "embedding_management", embedding_management)
|
242
|
+
if etag is not None:
|
243
|
+
pulumi.set(__self__, "etag", etag)
|
244
|
+
if force_destroy is not None:
|
245
|
+
pulumi.set(__self__, "force_destroy", force_destroy)
|
246
|
+
if labels is not None:
|
247
|
+
pulumi.set(__self__, "labels", labels)
|
248
|
+
if name is not None:
|
249
|
+
pulumi.set(__self__, "name", name)
|
250
|
+
if optimized is not None:
|
251
|
+
pulumi.set(__self__, "optimized", optimized)
|
252
|
+
if project is not None:
|
253
|
+
pulumi.set(__self__, "project", project)
|
254
|
+
if pulumi_labels is not None:
|
255
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
256
|
+
if region is not None:
|
257
|
+
pulumi.set(__self__, "region", region)
|
258
|
+
if state is not None:
|
259
|
+
pulumi.set(__self__, "state", state)
|
260
|
+
if update_time is not None:
|
261
|
+
pulumi.set(__self__, "update_time", update_time)
|
262
|
+
|
263
|
+
@property
|
264
|
+
@pulumi.getter
|
265
|
+
def bigtable(self) -> Optional[pulumi.Input['AiFeatureOnlineStoreBigtableArgs']]:
|
266
|
+
"""
|
267
|
+
Settings for Cloud Bigtable instance that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore.
|
268
|
+
Structure is documented below.
|
269
|
+
"""
|
270
|
+
return pulumi.get(self, "bigtable")
|
271
|
+
|
272
|
+
@bigtable.setter
|
273
|
+
def bigtable(self, value: Optional[pulumi.Input['AiFeatureOnlineStoreBigtableArgs']]):
|
274
|
+
pulumi.set(self, "bigtable", value)
|
275
|
+
|
276
|
+
@property
|
277
|
+
@pulumi.getter(name="createTime")
|
278
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
279
|
+
"""
|
280
|
+
The timestamp of when the feature online store was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
281
|
+
"""
|
282
|
+
return pulumi.get(self, "create_time")
|
283
|
+
|
284
|
+
@create_time.setter
|
285
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
286
|
+
pulumi.set(self, "create_time", value)
|
287
|
+
|
288
|
+
@property
|
289
|
+
@pulumi.getter(name="dedicatedServingEndpoint")
|
290
|
+
def dedicated_serving_endpoint(self) -> Optional[pulumi.Input['AiFeatureOnlineStoreDedicatedServingEndpointArgs']]:
|
291
|
+
"""
|
292
|
+
The dedicated serving endpoint for this FeatureOnlineStore, which is different from common vertex service endpoint. Only
|
293
|
+
need to set when you choose Optimized storage type or enable EmbeddingManagement. Will use public endpoint by default.
|
294
|
+
"""
|
295
|
+
return pulumi.get(self, "dedicated_serving_endpoint")
|
296
|
+
|
297
|
+
@dedicated_serving_endpoint.setter
|
298
|
+
def dedicated_serving_endpoint(self, value: Optional[pulumi.Input['AiFeatureOnlineStoreDedicatedServingEndpointArgs']]):
|
299
|
+
pulumi.set(self, "dedicated_serving_endpoint", value)
|
300
|
+
|
301
|
+
@property
|
302
|
+
@pulumi.getter(name="effectiveLabels")
|
303
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
304
|
+
"""
|
305
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "effective_labels")
|
308
|
+
|
309
|
+
@effective_labels.setter
|
310
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
311
|
+
pulumi.set(self, "effective_labels", value)
|
312
|
+
|
313
|
+
@property
|
314
|
+
@pulumi.getter(name="embeddingManagement")
|
315
|
+
def embedding_management(self) -> Optional[pulumi.Input['AiFeatureOnlineStoreEmbeddingManagementArgs']]:
|
316
|
+
"""
|
317
|
+
The settings for embedding management in FeatureOnlineStore. Embedding management can only be used with BigTable.
|
318
|
+
"""
|
319
|
+
return pulumi.get(self, "embedding_management")
|
320
|
+
|
321
|
+
@embedding_management.setter
|
322
|
+
def embedding_management(self, value: Optional[pulumi.Input['AiFeatureOnlineStoreEmbeddingManagementArgs']]):
|
323
|
+
pulumi.set(self, "embedding_management", value)
|
324
|
+
|
325
|
+
@property
|
326
|
+
@pulumi.getter
|
327
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
328
|
+
"""
|
329
|
+
Used to perform consistent read-modify-write updates.
|
330
|
+
"""
|
331
|
+
return pulumi.get(self, "etag")
|
332
|
+
|
333
|
+
@etag.setter
|
334
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
335
|
+
pulumi.set(self, "etag", value)
|
336
|
+
|
337
|
+
@property
|
338
|
+
@pulumi.getter(name="forceDestroy")
|
339
|
+
def force_destroy(self) -> Optional[pulumi.Input[bool]]:
|
340
|
+
"""
|
341
|
+
If set to true, any FeatureViews and Features for this FeatureOnlineStore will also be deleted.
|
342
|
+
"""
|
343
|
+
return pulumi.get(self, "force_destroy")
|
344
|
+
|
345
|
+
@force_destroy.setter
|
346
|
+
def force_destroy(self, value: Optional[pulumi.Input[bool]]):
|
347
|
+
pulumi.set(self, "force_destroy", value)
|
348
|
+
|
349
|
+
@property
|
350
|
+
@pulumi.getter
|
351
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
352
|
+
"""
|
353
|
+
The labels with user-defined metadata to organize your feature online stores.
|
354
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
355
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
356
|
+
"""
|
357
|
+
return pulumi.get(self, "labels")
|
358
|
+
|
359
|
+
@labels.setter
|
360
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
361
|
+
pulumi.set(self, "labels", value)
|
362
|
+
|
363
|
+
@property
|
364
|
+
@pulumi.getter
|
365
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
366
|
+
"""
|
367
|
+
The resource name of the Feature Online Store. This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.
|
368
|
+
|
369
|
+
|
370
|
+
- - -
|
371
|
+
"""
|
372
|
+
return pulumi.get(self, "name")
|
373
|
+
|
374
|
+
@name.setter
|
375
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
376
|
+
pulumi.set(self, "name", value)
|
377
|
+
|
378
|
+
@property
|
379
|
+
@pulumi.getter
|
380
|
+
def optimized(self) -> Optional[pulumi.Input['AiFeatureOnlineStoreOptimizedArgs']]:
|
381
|
+
"""
|
382
|
+
Settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this
|
383
|
+
FeatureOnlineStore
|
384
|
+
"""
|
385
|
+
return pulumi.get(self, "optimized")
|
386
|
+
|
387
|
+
@optimized.setter
|
388
|
+
def optimized(self, value: Optional[pulumi.Input['AiFeatureOnlineStoreOptimizedArgs']]):
|
389
|
+
pulumi.set(self, "optimized", value)
|
390
|
+
|
391
|
+
@property
|
392
|
+
@pulumi.getter
|
393
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
394
|
+
"""
|
395
|
+
The ID of the project in which the resource belongs.
|
396
|
+
If it is not provided, the provider project is used.
|
397
|
+
"""
|
398
|
+
return pulumi.get(self, "project")
|
399
|
+
|
400
|
+
@project.setter
|
401
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
402
|
+
pulumi.set(self, "project", value)
|
403
|
+
|
404
|
+
@property
|
405
|
+
@pulumi.getter(name="pulumiLabels")
|
406
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
407
|
+
"""
|
408
|
+
The combination of labels configured directly on the resource
|
409
|
+
and default labels configured on the provider.
|
410
|
+
"""
|
411
|
+
return pulumi.get(self, "pulumi_labels")
|
412
|
+
|
413
|
+
@pulumi_labels.setter
|
414
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
415
|
+
pulumi.set(self, "pulumi_labels", value)
|
416
|
+
|
417
|
+
@property
|
418
|
+
@pulumi.getter
|
419
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
420
|
+
"""
|
421
|
+
The region of feature online store. eg us-central1
|
422
|
+
"""
|
423
|
+
return pulumi.get(self, "region")
|
424
|
+
|
425
|
+
@region.setter
|
426
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
427
|
+
pulumi.set(self, "region", value)
|
428
|
+
|
429
|
+
@property
|
430
|
+
@pulumi.getter
|
431
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
432
|
+
"""
|
433
|
+
The state of the Feature Online Store. See the possible states in [this link](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featureOnlineStores#state).
|
434
|
+
"""
|
435
|
+
return pulumi.get(self, "state")
|
436
|
+
|
437
|
+
@state.setter
|
438
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
439
|
+
pulumi.set(self, "state", value)
|
440
|
+
|
441
|
+
@property
|
442
|
+
@pulumi.getter(name="updateTime")
|
443
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
444
|
+
"""
|
445
|
+
The timestamp of when the feature online store was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
446
|
+
"""
|
447
|
+
return pulumi.get(self, "update_time")
|
448
|
+
|
449
|
+
@update_time.setter
|
450
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
451
|
+
pulumi.set(self, "update_time", value)
|
452
|
+
|
453
|
+
|
454
|
+
class AiFeatureOnlineStore(pulumi.CustomResource):
|
455
|
+
@overload
|
456
|
+
def __init__(__self__,
|
457
|
+
resource_name: str,
|
458
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
459
|
+
bigtable: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreBigtableArgs']]] = None,
|
460
|
+
dedicated_serving_endpoint: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreDedicatedServingEndpointArgs']]] = None,
|
461
|
+
embedding_management: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreEmbeddingManagementArgs']]] = None,
|
462
|
+
force_destroy: Optional[pulumi.Input[bool]] = None,
|
463
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
464
|
+
name: Optional[pulumi.Input[str]] = None,
|
465
|
+
optimized: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreOptimizedArgs']]] = None,
|
466
|
+
project: Optional[pulumi.Input[str]] = None,
|
467
|
+
region: Optional[pulumi.Input[str]] = None,
|
468
|
+
__props__=None):
|
469
|
+
"""
|
470
|
+
Vertex AI Feature Online Store provides a centralized repository for serving ML features and embedding indexes at low latency. The Feature Online Store is a top-level container.
|
471
|
+
|
472
|
+
To get more information about FeatureOnlineStore, see:
|
473
|
+
|
474
|
+
* [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featureOnlineStores)
|
475
|
+
* How-to Guides
|
476
|
+
* [Official Documentation](https://cloud.google.com/vertex-ai/docs)
|
477
|
+
|
478
|
+
## Example Usage
|
479
|
+
### Vertex Ai Feature Online Store
|
480
|
+
|
481
|
+
```python
|
482
|
+
import pulumi
|
483
|
+
import pulumi_gcp as gcp
|
484
|
+
|
485
|
+
feature_online_store = gcp.vertex.AiFeatureOnlineStore("featureOnlineStore",
|
486
|
+
bigtable=gcp.vertex.AiFeatureOnlineStoreBigtableArgs(
|
487
|
+
auto_scaling=gcp.vertex.AiFeatureOnlineStoreBigtableAutoScalingArgs(
|
488
|
+
cpu_utilization_target=50,
|
489
|
+
max_node_count=3,
|
490
|
+
min_node_count=1,
|
491
|
+
),
|
492
|
+
),
|
493
|
+
labels={
|
494
|
+
"foo": "bar",
|
495
|
+
},
|
496
|
+
region="us-central1")
|
497
|
+
```
|
498
|
+
### Vertex Ai Featureonlinestore With Beta Fields Optimized
|
499
|
+
|
500
|
+
```python
|
501
|
+
import pulumi
|
502
|
+
import pulumi_gcp as gcp
|
503
|
+
|
504
|
+
project = gcp.organizations.get_project()
|
505
|
+
featureonlinestore = gcp.vertex.AiFeatureOnlineStore("featureonlinestore",
|
506
|
+
labels={
|
507
|
+
"foo": "bar",
|
508
|
+
},
|
509
|
+
region="us-central1",
|
510
|
+
optimized=gcp.vertex.AiFeatureOnlineStoreOptimizedArgs(),
|
511
|
+
dedicated_serving_endpoint=gcp.vertex.AiFeatureOnlineStoreDedicatedServingEndpointArgs(
|
512
|
+
private_service_connect_config=gcp.vertex.AiFeatureOnlineStoreDedicatedServingEndpointPrivateServiceConnectConfigArgs(
|
513
|
+
enable_private_service_connect=True,
|
514
|
+
project_allowlists=[project.number],
|
515
|
+
),
|
516
|
+
),
|
517
|
+
opts=pulumi.ResourceOptions(provider=google_beta))
|
518
|
+
```
|
519
|
+
### Vertex Ai Featureonlinestore With Beta Fields Bigtable
|
520
|
+
|
521
|
+
```python
|
522
|
+
import pulumi
|
523
|
+
import pulumi_gcp as gcp
|
524
|
+
|
525
|
+
featureonlinestore = gcp.vertex.AiFeatureOnlineStore("featureonlinestore",
|
526
|
+
labels={
|
527
|
+
"foo": "bar",
|
528
|
+
},
|
529
|
+
region="us-central1",
|
530
|
+
bigtable=gcp.vertex.AiFeatureOnlineStoreBigtableArgs(
|
531
|
+
auto_scaling=gcp.vertex.AiFeatureOnlineStoreBigtableAutoScalingArgs(
|
532
|
+
min_node_count=1,
|
533
|
+
max_node_count=2,
|
534
|
+
cpu_utilization_target=80,
|
535
|
+
),
|
536
|
+
),
|
537
|
+
embedding_management=gcp.vertex.AiFeatureOnlineStoreEmbeddingManagementArgs(
|
538
|
+
enabled=True,
|
539
|
+
),
|
540
|
+
force_destroy=True,
|
541
|
+
opts=pulumi.ResourceOptions(provider=google_beta))
|
542
|
+
project = gcp.organizations.get_project()
|
543
|
+
```
|
544
|
+
|
545
|
+
## Import
|
546
|
+
|
547
|
+
FeatureOnlineStore can be imported using any of these accepted formats* `projects/{{project}}/locations/{{region}}/featureOnlineStores/{{name}}` * `{{project}}/{{region}}/{{name}}` * `{{region}}/{{name}}` * `{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import FeatureOnlineStore using one of the formats above. For exampletf import {
|
548
|
+
|
549
|
+
id = "projects/{{project}}/locations/{{region}}/featureOnlineStores/{{name}}"
|
550
|
+
|
551
|
+
to = google_vertex_ai_feature_online_store.default }
|
552
|
+
|
553
|
+
```sh
|
554
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStore:AiFeatureOnlineStore When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), FeatureOnlineStore can be imported using one of the formats above. For example
|
555
|
+
```
|
556
|
+
|
557
|
+
```sh
|
558
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStore:AiFeatureOnlineStore default projects/{{project}}/locations/{{region}}/featureOnlineStores/{{name}}
|
559
|
+
```
|
560
|
+
|
561
|
+
```sh
|
562
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStore:AiFeatureOnlineStore default {{project}}/{{region}}/{{name}}
|
563
|
+
```
|
564
|
+
|
565
|
+
```sh
|
566
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStore:AiFeatureOnlineStore default {{region}}/{{name}}
|
567
|
+
```
|
568
|
+
|
569
|
+
```sh
|
570
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStore:AiFeatureOnlineStore default {{name}}
|
571
|
+
```
|
572
|
+
|
573
|
+
:param str resource_name: The name of the resource.
|
574
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
575
|
+
:param pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreBigtableArgs']] bigtable: Settings for Cloud Bigtable instance that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore.
|
576
|
+
Structure is documented below.
|
577
|
+
:param pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreDedicatedServingEndpointArgs']] dedicated_serving_endpoint: The dedicated serving endpoint for this FeatureOnlineStore, which is different from common vertex service endpoint. Only
|
578
|
+
need to set when you choose Optimized storage type or enable EmbeddingManagement. Will use public endpoint by default.
|
579
|
+
:param pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreEmbeddingManagementArgs']] embedding_management: The settings for embedding management in FeatureOnlineStore. Embedding management can only be used with BigTable.
|
580
|
+
:param pulumi.Input[bool] force_destroy: If set to true, any FeatureViews and Features for this FeatureOnlineStore will also be deleted.
|
581
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels with user-defined metadata to organize your feature online stores.
|
582
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
583
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
584
|
+
:param pulumi.Input[str] name: The resource name of the Feature Online Store. This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.
|
585
|
+
|
586
|
+
|
587
|
+
- - -
|
588
|
+
:param pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreOptimizedArgs']] optimized: Settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this
|
589
|
+
FeatureOnlineStore
|
590
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
591
|
+
If it is not provided, the provider project is used.
|
592
|
+
:param pulumi.Input[str] region: The region of feature online store. eg us-central1
|
593
|
+
"""
|
594
|
+
...
|
595
|
+
@overload
|
596
|
+
def __init__(__self__,
|
597
|
+
resource_name: str,
|
598
|
+
args: Optional[AiFeatureOnlineStoreArgs] = None,
|
599
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
600
|
+
"""
|
601
|
+
Vertex AI Feature Online Store provides a centralized repository for serving ML features and embedding indexes at low latency. The Feature Online Store is a top-level container.
|
602
|
+
|
603
|
+
To get more information about FeatureOnlineStore, see:
|
604
|
+
|
605
|
+
* [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featureOnlineStores)
|
606
|
+
* How-to Guides
|
607
|
+
* [Official Documentation](https://cloud.google.com/vertex-ai/docs)
|
608
|
+
|
609
|
+
## Example Usage
|
610
|
+
### Vertex Ai Feature Online Store
|
611
|
+
|
612
|
+
```python
|
613
|
+
import pulumi
|
614
|
+
import pulumi_gcp as gcp
|
615
|
+
|
616
|
+
feature_online_store = gcp.vertex.AiFeatureOnlineStore("featureOnlineStore",
|
617
|
+
bigtable=gcp.vertex.AiFeatureOnlineStoreBigtableArgs(
|
618
|
+
auto_scaling=gcp.vertex.AiFeatureOnlineStoreBigtableAutoScalingArgs(
|
619
|
+
cpu_utilization_target=50,
|
620
|
+
max_node_count=3,
|
621
|
+
min_node_count=1,
|
622
|
+
),
|
623
|
+
),
|
624
|
+
labels={
|
625
|
+
"foo": "bar",
|
626
|
+
},
|
627
|
+
region="us-central1")
|
628
|
+
```
|
629
|
+
### Vertex Ai Featureonlinestore With Beta Fields Optimized
|
630
|
+
|
631
|
+
```python
|
632
|
+
import pulumi
|
633
|
+
import pulumi_gcp as gcp
|
634
|
+
|
635
|
+
project = gcp.organizations.get_project()
|
636
|
+
featureonlinestore = gcp.vertex.AiFeatureOnlineStore("featureonlinestore",
|
637
|
+
labels={
|
638
|
+
"foo": "bar",
|
639
|
+
},
|
640
|
+
region="us-central1",
|
641
|
+
optimized=gcp.vertex.AiFeatureOnlineStoreOptimizedArgs(),
|
642
|
+
dedicated_serving_endpoint=gcp.vertex.AiFeatureOnlineStoreDedicatedServingEndpointArgs(
|
643
|
+
private_service_connect_config=gcp.vertex.AiFeatureOnlineStoreDedicatedServingEndpointPrivateServiceConnectConfigArgs(
|
644
|
+
enable_private_service_connect=True,
|
645
|
+
project_allowlists=[project.number],
|
646
|
+
),
|
647
|
+
),
|
648
|
+
opts=pulumi.ResourceOptions(provider=google_beta))
|
649
|
+
```
|
650
|
+
### Vertex Ai Featureonlinestore With Beta Fields Bigtable
|
651
|
+
|
652
|
+
```python
|
653
|
+
import pulumi
|
654
|
+
import pulumi_gcp as gcp
|
655
|
+
|
656
|
+
featureonlinestore = gcp.vertex.AiFeatureOnlineStore("featureonlinestore",
|
657
|
+
labels={
|
658
|
+
"foo": "bar",
|
659
|
+
},
|
660
|
+
region="us-central1",
|
661
|
+
bigtable=gcp.vertex.AiFeatureOnlineStoreBigtableArgs(
|
662
|
+
auto_scaling=gcp.vertex.AiFeatureOnlineStoreBigtableAutoScalingArgs(
|
663
|
+
min_node_count=1,
|
664
|
+
max_node_count=2,
|
665
|
+
cpu_utilization_target=80,
|
666
|
+
),
|
667
|
+
),
|
668
|
+
embedding_management=gcp.vertex.AiFeatureOnlineStoreEmbeddingManagementArgs(
|
669
|
+
enabled=True,
|
670
|
+
),
|
671
|
+
force_destroy=True,
|
672
|
+
opts=pulumi.ResourceOptions(provider=google_beta))
|
673
|
+
project = gcp.organizations.get_project()
|
674
|
+
```
|
675
|
+
|
676
|
+
## Import
|
677
|
+
|
678
|
+
FeatureOnlineStore can be imported using any of these accepted formats* `projects/{{project}}/locations/{{region}}/featureOnlineStores/{{name}}` * `{{project}}/{{region}}/{{name}}` * `{{region}}/{{name}}` * `{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import FeatureOnlineStore using one of the formats above. For exampletf import {
|
679
|
+
|
680
|
+
id = "projects/{{project}}/locations/{{region}}/featureOnlineStores/{{name}}"
|
681
|
+
|
682
|
+
to = google_vertex_ai_feature_online_store.default }
|
683
|
+
|
684
|
+
```sh
|
685
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStore:AiFeatureOnlineStore When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), FeatureOnlineStore can be imported using one of the formats above. For example
|
686
|
+
```
|
687
|
+
|
688
|
+
```sh
|
689
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStore:AiFeatureOnlineStore default projects/{{project}}/locations/{{region}}/featureOnlineStores/{{name}}
|
690
|
+
```
|
691
|
+
|
692
|
+
```sh
|
693
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStore:AiFeatureOnlineStore default {{project}}/{{region}}/{{name}}
|
694
|
+
```
|
695
|
+
|
696
|
+
```sh
|
697
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStore:AiFeatureOnlineStore default {{region}}/{{name}}
|
698
|
+
```
|
699
|
+
|
700
|
+
```sh
|
701
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStore:AiFeatureOnlineStore default {{name}}
|
702
|
+
```
|
703
|
+
|
704
|
+
:param str resource_name: The name of the resource.
|
705
|
+
:param AiFeatureOnlineStoreArgs args: The arguments to use to populate this resource's properties.
|
706
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
707
|
+
"""
|
708
|
+
...
|
709
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
710
|
+
resource_args, opts = _utilities.get_resource_args_opts(AiFeatureOnlineStoreArgs, pulumi.ResourceOptions, *args, **kwargs)
|
711
|
+
if resource_args is not None:
|
712
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
713
|
+
else:
|
714
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
715
|
+
|
716
|
+
def _internal_init(__self__,
|
717
|
+
resource_name: str,
|
718
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
719
|
+
bigtable: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreBigtableArgs']]] = None,
|
720
|
+
dedicated_serving_endpoint: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreDedicatedServingEndpointArgs']]] = None,
|
721
|
+
embedding_management: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreEmbeddingManagementArgs']]] = None,
|
722
|
+
force_destroy: Optional[pulumi.Input[bool]] = None,
|
723
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
724
|
+
name: Optional[pulumi.Input[str]] = None,
|
725
|
+
optimized: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreOptimizedArgs']]] = None,
|
726
|
+
project: Optional[pulumi.Input[str]] = None,
|
727
|
+
region: Optional[pulumi.Input[str]] = None,
|
728
|
+
__props__=None):
|
729
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
730
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
731
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
732
|
+
if opts.id is None:
|
733
|
+
if __props__ is not None:
|
734
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
735
|
+
__props__ = AiFeatureOnlineStoreArgs.__new__(AiFeatureOnlineStoreArgs)
|
736
|
+
|
737
|
+
__props__.__dict__["bigtable"] = bigtable
|
738
|
+
__props__.__dict__["dedicated_serving_endpoint"] = dedicated_serving_endpoint
|
739
|
+
__props__.__dict__["embedding_management"] = embedding_management
|
740
|
+
__props__.__dict__["force_destroy"] = force_destroy
|
741
|
+
__props__.__dict__["labels"] = labels
|
742
|
+
__props__.__dict__["name"] = name
|
743
|
+
__props__.__dict__["optimized"] = optimized
|
744
|
+
__props__.__dict__["project"] = project
|
745
|
+
__props__.__dict__["region"] = region
|
746
|
+
__props__.__dict__["create_time"] = None
|
747
|
+
__props__.__dict__["effective_labels"] = None
|
748
|
+
__props__.__dict__["etag"] = None
|
749
|
+
__props__.__dict__["pulumi_labels"] = None
|
750
|
+
__props__.__dict__["state"] = None
|
751
|
+
__props__.__dict__["update_time"] = None
|
752
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
753
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
754
|
+
super(AiFeatureOnlineStore, __self__).__init__(
|
755
|
+
'gcp:vertex/aiFeatureOnlineStore:AiFeatureOnlineStore',
|
756
|
+
resource_name,
|
757
|
+
__props__,
|
758
|
+
opts)
|
759
|
+
|
760
|
+
@staticmethod
|
761
|
+
def get(resource_name: str,
|
762
|
+
id: pulumi.Input[str],
|
763
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
764
|
+
bigtable: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreBigtableArgs']]] = None,
|
765
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
766
|
+
dedicated_serving_endpoint: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreDedicatedServingEndpointArgs']]] = None,
|
767
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
768
|
+
embedding_management: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreEmbeddingManagementArgs']]] = None,
|
769
|
+
etag: Optional[pulumi.Input[str]] = None,
|
770
|
+
force_destroy: Optional[pulumi.Input[bool]] = None,
|
771
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
772
|
+
name: Optional[pulumi.Input[str]] = None,
|
773
|
+
optimized: Optional[pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreOptimizedArgs']]] = None,
|
774
|
+
project: Optional[pulumi.Input[str]] = None,
|
775
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
776
|
+
region: Optional[pulumi.Input[str]] = None,
|
777
|
+
state: Optional[pulumi.Input[str]] = None,
|
778
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'AiFeatureOnlineStore':
|
779
|
+
"""
|
780
|
+
Get an existing AiFeatureOnlineStore resource's state with the given name, id, and optional extra
|
781
|
+
properties used to qualify the lookup.
|
782
|
+
|
783
|
+
:param str resource_name: The unique name of the resulting resource.
|
784
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
785
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
786
|
+
:param pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreBigtableArgs']] bigtable: Settings for Cloud Bigtable instance that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore.
|
787
|
+
Structure is documented below.
|
788
|
+
:param pulumi.Input[str] create_time: The timestamp of when the feature online store was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
789
|
+
:param pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreDedicatedServingEndpointArgs']] dedicated_serving_endpoint: The dedicated serving endpoint for this FeatureOnlineStore, which is different from common vertex service endpoint. Only
|
790
|
+
need to set when you choose Optimized storage type or enable EmbeddingManagement. Will use public endpoint by default.
|
791
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
792
|
+
:param pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreEmbeddingManagementArgs']] embedding_management: The settings for embedding management in FeatureOnlineStore. Embedding management can only be used with BigTable.
|
793
|
+
:param pulumi.Input[str] etag: Used to perform consistent read-modify-write updates.
|
794
|
+
:param pulumi.Input[bool] force_destroy: If set to true, any FeatureViews and Features for this FeatureOnlineStore will also be deleted.
|
795
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels with user-defined metadata to organize your feature online stores.
|
796
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
797
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
798
|
+
:param pulumi.Input[str] name: The resource name of the Feature Online Store. This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.
|
799
|
+
|
800
|
+
|
801
|
+
- - -
|
802
|
+
:param pulumi.Input[pulumi.InputType['AiFeatureOnlineStoreOptimizedArgs']] optimized: Settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this
|
803
|
+
FeatureOnlineStore
|
804
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
805
|
+
If it is not provided, the provider project is used.
|
806
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
807
|
+
and default labels configured on the provider.
|
808
|
+
:param pulumi.Input[str] region: The region of feature online store. eg us-central1
|
809
|
+
:param pulumi.Input[str] state: The state of the Feature Online Store. See the possible states in [this link](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featureOnlineStores#state).
|
810
|
+
:param pulumi.Input[str] update_time: The timestamp of when the feature online store was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
811
|
+
"""
|
812
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
813
|
+
|
814
|
+
__props__ = _AiFeatureOnlineStoreState.__new__(_AiFeatureOnlineStoreState)
|
815
|
+
|
816
|
+
__props__.__dict__["bigtable"] = bigtable
|
817
|
+
__props__.__dict__["create_time"] = create_time
|
818
|
+
__props__.__dict__["dedicated_serving_endpoint"] = dedicated_serving_endpoint
|
819
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
820
|
+
__props__.__dict__["embedding_management"] = embedding_management
|
821
|
+
__props__.__dict__["etag"] = etag
|
822
|
+
__props__.__dict__["force_destroy"] = force_destroy
|
823
|
+
__props__.__dict__["labels"] = labels
|
824
|
+
__props__.__dict__["name"] = name
|
825
|
+
__props__.__dict__["optimized"] = optimized
|
826
|
+
__props__.__dict__["project"] = project
|
827
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
828
|
+
__props__.__dict__["region"] = region
|
829
|
+
__props__.__dict__["state"] = state
|
830
|
+
__props__.__dict__["update_time"] = update_time
|
831
|
+
return AiFeatureOnlineStore(resource_name, opts=opts, __props__=__props__)
|
832
|
+
|
833
|
+
@property
|
834
|
+
@pulumi.getter
|
835
|
+
def bigtable(self) -> pulumi.Output[Optional['outputs.AiFeatureOnlineStoreBigtable']]:
|
836
|
+
"""
|
837
|
+
Settings for Cloud Bigtable instance that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore.
|
838
|
+
Structure is documented below.
|
839
|
+
"""
|
840
|
+
return pulumi.get(self, "bigtable")
|
841
|
+
|
842
|
+
@property
|
843
|
+
@pulumi.getter(name="createTime")
|
844
|
+
def create_time(self) -> pulumi.Output[str]:
|
845
|
+
"""
|
846
|
+
The timestamp of when the feature online store was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
847
|
+
"""
|
848
|
+
return pulumi.get(self, "create_time")
|
849
|
+
|
850
|
+
@property
|
851
|
+
@pulumi.getter(name="dedicatedServingEndpoint")
|
852
|
+
def dedicated_serving_endpoint(self) -> pulumi.Output['outputs.AiFeatureOnlineStoreDedicatedServingEndpoint']:
|
853
|
+
"""
|
854
|
+
The dedicated serving endpoint for this FeatureOnlineStore, which is different from common vertex service endpoint. Only
|
855
|
+
need to set when you choose Optimized storage type or enable EmbeddingManagement. Will use public endpoint by default.
|
856
|
+
"""
|
857
|
+
return pulumi.get(self, "dedicated_serving_endpoint")
|
858
|
+
|
859
|
+
@property
|
860
|
+
@pulumi.getter(name="effectiveLabels")
|
861
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
862
|
+
"""
|
863
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
864
|
+
"""
|
865
|
+
return pulumi.get(self, "effective_labels")
|
866
|
+
|
867
|
+
@property
|
868
|
+
@pulumi.getter(name="embeddingManagement")
|
869
|
+
def embedding_management(self) -> pulumi.Output[Optional['outputs.AiFeatureOnlineStoreEmbeddingManagement']]:
|
870
|
+
"""
|
871
|
+
The settings for embedding management in FeatureOnlineStore. Embedding management can only be used with BigTable.
|
872
|
+
"""
|
873
|
+
return pulumi.get(self, "embedding_management")
|
874
|
+
|
875
|
+
@property
|
876
|
+
@pulumi.getter
|
877
|
+
def etag(self) -> pulumi.Output[str]:
|
878
|
+
"""
|
879
|
+
Used to perform consistent read-modify-write updates.
|
880
|
+
"""
|
881
|
+
return pulumi.get(self, "etag")
|
882
|
+
|
883
|
+
@property
|
884
|
+
@pulumi.getter(name="forceDestroy")
|
885
|
+
def force_destroy(self) -> pulumi.Output[Optional[bool]]:
|
886
|
+
"""
|
887
|
+
If set to true, any FeatureViews and Features for this FeatureOnlineStore will also be deleted.
|
888
|
+
"""
|
889
|
+
return pulumi.get(self, "force_destroy")
|
890
|
+
|
891
|
+
@property
|
892
|
+
@pulumi.getter
|
893
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
894
|
+
"""
|
895
|
+
The labels with user-defined metadata to organize your feature online stores.
|
896
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
897
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
898
|
+
"""
|
899
|
+
return pulumi.get(self, "labels")
|
900
|
+
|
901
|
+
@property
|
902
|
+
@pulumi.getter
|
903
|
+
def name(self) -> pulumi.Output[str]:
|
904
|
+
"""
|
905
|
+
The resource name of the Feature Online Store. This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.
|
906
|
+
|
907
|
+
|
908
|
+
- - -
|
909
|
+
"""
|
910
|
+
return pulumi.get(self, "name")
|
911
|
+
|
912
|
+
@property
|
913
|
+
@pulumi.getter
|
914
|
+
def optimized(self) -> pulumi.Output[Optional['outputs.AiFeatureOnlineStoreOptimized']]:
|
915
|
+
"""
|
916
|
+
Settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this
|
917
|
+
FeatureOnlineStore
|
918
|
+
"""
|
919
|
+
return pulumi.get(self, "optimized")
|
920
|
+
|
921
|
+
@property
|
922
|
+
@pulumi.getter
|
923
|
+
def project(self) -> pulumi.Output[str]:
|
924
|
+
"""
|
925
|
+
The ID of the project in which the resource belongs.
|
926
|
+
If it is not provided, the provider project is used.
|
927
|
+
"""
|
928
|
+
return pulumi.get(self, "project")
|
929
|
+
|
930
|
+
@property
|
931
|
+
@pulumi.getter(name="pulumiLabels")
|
932
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
933
|
+
"""
|
934
|
+
The combination of labels configured directly on the resource
|
935
|
+
and default labels configured on the provider.
|
936
|
+
"""
|
937
|
+
return pulumi.get(self, "pulumi_labels")
|
938
|
+
|
939
|
+
@property
|
940
|
+
@pulumi.getter
|
941
|
+
def region(self) -> pulumi.Output[str]:
|
942
|
+
"""
|
943
|
+
The region of feature online store. eg us-central1
|
944
|
+
"""
|
945
|
+
return pulumi.get(self, "region")
|
946
|
+
|
947
|
+
@property
|
948
|
+
@pulumi.getter
|
949
|
+
def state(self) -> pulumi.Output[str]:
|
950
|
+
"""
|
951
|
+
The state of the Feature Online Store. See the possible states in [this link](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featureOnlineStores#state).
|
952
|
+
"""
|
953
|
+
return pulumi.get(self, "state")
|
954
|
+
|
955
|
+
@property
|
956
|
+
@pulumi.getter(name="updateTime")
|
957
|
+
def update_time(self) -> pulumi.Output[str]:
|
958
|
+
"""
|
959
|
+
The timestamp of when the feature online store was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
960
|
+
"""
|
961
|
+
return pulumi.get(self, "update_time")
|
962
|
+
|