documented what to do for FS 2.x cleanup (#2507)

This commit is contained in:
Andrew Ferlitsch
2023-11-14 18:27:23 +00:00
committed by GitHub
parent 379644e115
commit 0d453b7e01
@@ -130,8 +130,15 @@ class MatchingEngineIndexEndpointResourceCleanupManager(VertexAIResourceCleanupM
resource.delete(force=True)
class FeatureStoreCleanupManager(VertexAIResourceCleanupManager):
# TODO: only deleting legacy
# not deleting ingestions jobs
# not deleting batch serving jobs
vertex_ai_resource = aiplatform.Featurestore
# for FS 2.0
# TODO: use _v1beta1, and gapic clients
# delete features, feature groups, feature views, feature online stores
def resource_name(self, resource: Any) -> str:
return resource.name