ContentRegistriesHarborStorageSpec

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.


Properties

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.


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.

JSON Example

{
    "policy": "string"
}
Feedback

Was this page helpful?