Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace UpdateObjectStorageTierDetails

To change the storage tier of an object, we specify the object name and the desired storage tier in the body. Objects can be moved between Standard and InfrequentAccess tiers and from Standard or InfrequentAccess tier to Archive tier. If a version id is specified, only the specified version of the object is moved to a different storage tier, else the current version is used.

Properties

objectName

objectName: string

An object for which the storage tier needs to be changed.

storageTier

storageTier: StorageTier

The storage tier that the object should be moved to.

Optional versionId

versionId: undefined | string

The versionId of the object. Current object version is used by default.

Functions

getDeserializedJsonObj

getJsonObj