Content_Registries_Harbor_StorageSpec

Content_Registries_Harbor_StorageSpec
Content_Registries_Harbor_StorageSpec

The Harbor.StorageSpec structure contains the specification required to configure storage associated with a Harbor registry. In this version, Harbor registry is created in Kubernetes environment, information in this structure will result in storage quotas on a Kubernetes namespace.

JSON Example
{
    "policy": "string",
    "limit": 0
}
string
policy
Required

Identifier of the storage policy. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: SpsStorageProfile. When operations return a value of this structure as a result, the field will be an identifier for the resource type: SpsStorageProfile.

integer As int64
limit
Optional

The maximum amount of storage (in mebibytes) which can be utilized by the registry for this specification. If unset, a default limit of 204800 mebibytes will be set as the registry's storage capacity.