ObjectStorageUpdateDetail

class oci.dif.models.ObjectStorageUpdateDetail(**kwargs)

Bases: object

Details of Object Storage instance to be updated.

Attributes

AUTO_TIERING_DISABLED A constant which can be used with the auto_tiering property of a ObjectStorageUpdateDetail.
AUTO_TIERING_INFREQUENTACCESS A constant which can be used with the auto_tiering property of a ObjectStorageUpdateDetail.
OBJECT_VERSIONING_DISABLED A constant which can be used with the object_versioning property of a ObjectStorageUpdateDetail.
OBJECT_VERSIONING_ENABLED A constant which can be used with the object_versioning property of a ObjectStorageUpdateDetail.
OBJECT_VERSIONING_SUSPENDED A constant which can be used with the object_versioning property of a ObjectStorageUpdateDetail.
auto_tiering Gets the auto_tiering of this ObjectStorageUpdateDetail.
instance_id [Required] Gets the instance_id of this ObjectStorageUpdateDetail.
object_versioning Gets the object_versioning of this ObjectStorageUpdateDetail.

Methods

__init__(**kwargs) Initializes a new ObjectStorageUpdateDetail object with values from keyword arguments.
AUTO_TIERING_DISABLED = 'DISABLED'

A constant which can be used with the auto_tiering property of a ObjectStorageUpdateDetail. This constant has a value of “DISABLED”

AUTO_TIERING_INFREQUENTACCESS = 'INFREQUENTACCESS'

A constant which can be used with the auto_tiering property of a ObjectStorageUpdateDetail. This constant has a value of “INFREQUENTACCESS”

OBJECT_VERSIONING_DISABLED = 'DISABLED'

A constant which can be used with the object_versioning property of a ObjectStorageUpdateDetail. This constant has a value of “DISABLED”

OBJECT_VERSIONING_ENABLED = 'ENABLED'

A constant which can be used with the object_versioning property of a ObjectStorageUpdateDetail. This constant has a value of “ENABLED”

OBJECT_VERSIONING_SUSPENDED = 'SUSPENDED'

A constant which can be used with the object_versioning property of a ObjectStorageUpdateDetail. This constant has a value of “SUSPENDED”

__init__(**kwargs)

Initializes a new ObjectStorageUpdateDetail object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • instance_id (str) – The value to assign to the instance_id property of this ObjectStorageUpdateDetail.
  • object_versioning (str) – The value to assign to the object_versioning property of this ObjectStorageUpdateDetail. Allowed values for this property are: “ENABLED”, “SUSPENDED”, “DISABLED”
  • auto_tiering (str) – The value to assign to the auto_tiering property of this ObjectStorageUpdateDetail. Allowed values for this property are: “DISABLED”, “INFREQUENTACCESS”
auto_tiering

Gets the auto_tiering of this ObjectStorageUpdateDetail. It sets the auto-tiering status on the bucket.Allowed values are “DISABLED” / “INFREQUENTACCESS”

Allowed values for this property are: “DISABLED”, “INFREQUENTACCESS”

Returns:The auto_tiering of this ObjectStorageUpdateDetail.
Return type:str
instance_id

[Required] Gets the instance_id of this ObjectStorageUpdateDetail. Instance id of the existing Object Storage instance to be updated.

Returns:The instance_id of this ObjectStorageUpdateDetail.
Return type:str
object_versioning

Gets the object_versioning of this ObjectStorageUpdateDetail. Mentions which storage tier to use for the bucket,Allowed values are “STANDARD” / “ARCHIVE”

Allowed values for this property are: “ENABLED”, “SUSPENDED”, “DISABLED”

Returns:The object_versioning of this ObjectStorageUpdateDetail.
Return type:str