ObjectStorageLogLocation¶
- class oci.disaster_recovery.models.ObjectStorageLogLocation(**kwargs)¶
Bases:
objectThe details of an object storage log location for a DR protection group.
Methods:
__init__(**kwargs)Initializes a new ObjectStorageLogLocation object with values from keyword arguments.
Attributes:
[Required] Gets the bucket of this ObjectStorageLogLocation.
[Required] Gets the namespace of this ObjectStorageLogLocation.
Gets the object of this ObjectStorageLogLocation.
- __init__(**kwargs)¶
Initializes a new ObjectStorageLogLocation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
namespace (str) – The value to assign to the namespace property of this ObjectStorageLogLocation.
bucket (str) – The value to assign to the bucket property of this ObjectStorageLogLocation.
object (str) – The value to assign to the object property of this ObjectStorageLogLocation.
- property bucket¶
[Required] Gets the bucket of this ObjectStorageLogLocation. The bucket name inside the object storage namespace.
Example: operation_logs
- Returns
The bucket of this ObjectStorageLogLocation.
- Return type
str
- property namespace¶
[Required] Gets the namespace of this ObjectStorageLogLocation. The namespace in object storage (Note - this is usually the tenancy name).
Example: myocitenancy
- Returns
The namespace of this ObjectStorageLogLocation.
- Return type
str
- property object¶
Gets the object of this ObjectStorageLogLocation. The object name inside the object storage bucket.
Example: switchover_plan_executions
- Returns
The object of this ObjectStorageLogLocation.
- Return type
str