ObjectStorageDetail¶
- class oci.dif.models.ObjectStorageDetail(**kwargs)¶
Bases:
objectObject Storage Details required to provision buckets.
Attributes:
A constant which can be used with the auto_tiering property of a ObjectStorageDetail.
A constant which can be used with the auto_tiering property of a ObjectStorageDetail.
A constant which can be used with the object_versioning property of a ObjectStorageDetail.
A constant which can be used with the object_versioning property of a ObjectStorageDetail.
A constant which can be used with the object_versioning property of a ObjectStorageDetail.
A constant which can be used with the storage_tier property of a ObjectStorageDetail.
A constant which can be used with the storage_tier property of a ObjectStorageDetail.
Gets the auto_tiering of this ObjectStorageDetail.
[Required] Gets the instance_id of this ObjectStorageDetail.
[Required] Gets the object_versioning of this ObjectStorageDetail.
[Required] Gets the storage_tier of this ObjectStorageDetail.
Methods:
__init__(**kwargs)Initializes a new ObjectStorageDetail object with values from keyword arguments.
- AUTO_TIERING_DISABLED = 'DISABLED'¶
A constant which can be used with the auto_tiering property of a ObjectStorageDetail. This constant has a value of “DISABLED”
- AUTO_TIERING_INFREQUENTACCESS = 'INFREQUENTACCESS'¶
A constant which can be used with the auto_tiering property of a ObjectStorageDetail. This constant has a value of “INFREQUENTACCESS”
- OBJECT_VERSIONING_DISABLED = 'DISABLED'¶
A constant which can be used with the object_versioning property of a ObjectStorageDetail. This constant has a value of “DISABLED”
- OBJECT_VERSIONING_ENABLED = 'ENABLED'¶
A constant which can be used with the object_versioning property of a ObjectStorageDetail. This constant has a value of “ENABLED”
- OBJECT_VERSIONING_SUSPENDED = 'SUSPENDED'¶
A constant which can be used with the object_versioning property of a ObjectStorageDetail. This constant has a value of “SUSPENDED”
- STORAGE_TIER_ARCHIVE = 'ARCHIVE'¶
A constant which can be used with the storage_tier property of a ObjectStorageDetail. This constant has a value of “ARCHIVE”
- STORAGE_TIER_STANDARD = 'STANDARD'¶
A constant which can be used with the storage_tier property of a ObjectStorageDetail. This constant has a value of “STANDARD”
- __init__(**kwargs)¶
Initializes a new ObjectStorageDetail 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 ObjectStorageDetail.
object_versioning (str) – The value to assign to the object_versioning property of this ObjectStorageDetail. Allowed values for this property are: “ENABLED”, “SUSPENDED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
storage_tier (str) – The value to assign to the storage_tier property of this ObjectStorageDetail. Allowed values for this property are: “STANDARD”, “ARCHIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
auto_tiering (str) – The value to assign to the auto_tiering property of this ObjectStorageDetail. Allowed values for this property are: “DISABLED”, “INFREQUENTACCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property auto_tiering¶
Gets the auto_tiering of this ObjectStorageDetail. It sets the auto-tiering status on the bucket.Allowed values are “DISABLED” / “INFREQUENTACCESS”
Allowed values for this property are: “DISABLED”, “INFREQUENTACCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The auto_tiering of this ObjectStorageDetail.
- Return type
str
- property instance_id¶
[Required] Gets the instance_id of this ObjectStorageDetail. Id for Object Storage instance to be provisioned.
- Returns
The instance_id of this ObjectStorageDetail.
- Return type
str
- property object_versioning¶
[Required] Gets the object_versioning of this ObjectStorageDetail. Mentions whether the object versioning to be enabled or not,Allowed values are “ENABLED” / “DISABLED”/”SUSPENDED”
Allowed values for this property are: “ENABLED”, “SUSPENDED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The object_versioning of this ObjectStorageDetail.
- Return type
str
- property storage_tier¶
[Required] Gets the storage_tier of this ObjectStorageDetail. Mentions which storage tier to use for the bucket,Allowed values are “STANDARD” / “ARCHIVE”
Allowed values for this property are: “STANDARD”, “ARCHIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The storage_tier of this ObjectStorageDetail.
- Return type
str