I don't know if here is the right place to ask, please be patient 🤗
We have On-prem environment based on VMWare vsphere (a few ESXi hosts and VMware VCenter). We also have Snap Center plugin for vmware VCetner installed on the VCenter itself, and a dedicated server for backups (snap center server on windows os, snap center version 4.0)
Since the plugin for VCenter is installed, we can to do a simple recovery actions from snapshots (restore a single vmdk file, de-attach and attach disks, restore entire vm, etc...). Those actions automatically creats a datastore (usually named snap-<some uid>) managed by the snap center vmware 'run as account'. I will call these 'snap center datastores'
However, a regular user still can create Virtual disks on these datastores - makig it difficult to manage.
We thought create a storage policy that prevent a regular VM disks reside on Datastore generated by the snap center. For this to come out, we need to find a way to attach vmware tag to each datastore created by the snapcenter.
Is it possible to define some vmware storage tag added automatically to those datastores when they are created?
This is important for us since we have some "leftovers" - snap center datastores being kept for a long time for some research reasons.
Hope this message is clear enough 😊