CreateObjectStorageLogLocationDetails¶
- class oci.disaster_recovery.models.CreateObjectStorageLogLocationDetails(**kwargs)¶
Bases:
objectThe details for creating an object storage log location for a DR protection group.
Methods:
__init__(**kwargs)Initializes a new CreateObjectStorageLogLocationDetails object with values from keyword arguments.
Attributes:
[Required] Gets the bucket of this CreateObjectStorageLogLocationDetails.
[Required] Gets the namespace of this CreateObjectStorageLogLocationDetails.
- __init__(**kwargs)¶
Initializes a new CreateObjectStorageLogLocationDetails 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 CreateObjectStorageLogLocationDetails.
bucket (str) – The value to assign to the bucket property of this CreateObjectStorageLogLocationDetails.
- property bucket¶
[Required] Gets the bucket of this CreateObjectStorageLogLocationDetails. The bucket name inside the object storage namespace.
Example: operation_logs
- Returns
The bucket of this CreateObjectStorageLogLocationDetails.
- Return type
str
- property namespace¶
[Required] Gets the namespace of this CreateObjectStorageLogLocationDetails. The namespace in object storage (Note - this is usually the tenancy name).
Example: myocitenancy
- Returns
The namespace of this CreateObjectStorageLogLocationDetails.
- Return type
str