ImportOciCacheFromObjectStorageDetails¶
- class oci.redis.models.ImportOciCacheFromObjectStorageDetails(**kwargs)¶
Bases:
objectDetails for importing OCI Cache data from Object Storage RDB file(s) during cluster creation.
Methods:
__init__(**kwargs)Initializes a new ImportOciCacheFromObjectStorageDetails object with values from keyword arguments.
Attributes:
[Required] Gets the bucket_name of this ImportOciCacheFromObjectStorageDetails.
[Required] Gets the namespace_name of this ImportOciCacheFromObjectStorageDetails.
[Required] Gets the objects of this ImportOciCacheFromObjectStorageDetails.
- __init__(**kwargs)¶
Initializes a new ImportOciCacheFromObjectStorageDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
namespace_name (str) – The value to assign to the namespace_name property of this ImportOciCacheFromObjectStorageDetails.
bucket_name (str) – The value to assign to the bucket_name property of this ImportOciCacheFromObjectStorageDetails.
objects (list[oci.redis.models.ImportOciCacheFromObjectStorageObject]) – The value to assign to the objects property of this ImportOciCacheFromObjectStorageDetails.
- property bucket_name¶
[Required] Gets the bucket_name of this ImportOciCacheFromObjectStorageDetails. The Object Storage bucket name.
- Returns
The bucket_name of this ImportOciCacheFromObjectStorageDetails.
- Return type
str
- property namespace_name¶
[Required] Gets the namespace_name of this ImportOciCacheFromObjectStorageDetails. The Object Storage namespace name.
- Returns
The namespace_name of this ImportOciCacheFromObjectStorageDetails.
- Return type
str
- property objects¶
[Required] Gets the objects of this ImportOciCacheFromObjectStorageDetails. The list of objects to import from the specified bucket.
- Returns
The objects of this ImportOciCacheFromObjectStorageDetails.
- Return type
list[oci.redis.models.ImportOciCacheFromObjectStorageObject]