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