This commit is contained in:
mr 2025-01-13 13:09:43 +01:00
parent 11905339bb
commit 3cdb43074b

View File

@ -26,6 +26,7 @@ func (d *StorageResource) GetAccessor(request *tools.APIRequest) utils.Accessor
type StorageResourceInstance struct {
ResourceInstance[*StorageResourcePartnership]
Source string `bson:"source,omitempty" json:"source,omitempty"` // Source is the source of the storage
Local bool `bson:"local" json:"local"`
SecurityLevel string `bson:"security_level,omitempty" json:"security_level,omitempty"`
SizeType common.StorageSize `bson:"size_type" json:"size_type" default:"0"` // SizeType is the type of the storage size