UpdateObjectStorageScriptLocationDetails

class oci.disaster_recovery.models.UpdateObjectStorageScriptLocationDetails(**kwargs)

Bases: object

The details for updating an object storage script location for a user-defined step in a DR plan.

Methods:

__init__(**kwargs)

Initializes a new UpdateObjectStorageScriptLocationDetails object with values from keyword arguments.

Attributes:

bucket

[Required] Gets the bucket of this UpdateObjectStorageScriptLocationDetails.

namespace

[Required] Gets the namespace of this UpdateObjectStorageScriptLocationDetails.

object

[Required] Gets the object of this UpdateObjectStorageScriptLocationDetails.

__init__(**kwargs)

Initializes a new UpdateObjectStorageScriptLocationDetails 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 UpdateObjectStorageScriptLocationDetails.

  • bucket (str) – The value to assign to the bucket property of this UpdateObjectStorageScriptLocationDetails.

  • object (str) – The value to assign to the object property of this UpdateObjectStorageScriptLocationDetails.

property bucket

[Required] Gets the bucket of this UpdateObjectStorageScriptLocationDetails. The bucket name inside the object storage namespace.

Example: custom_dr_scripts

Returns

The bucket of this UpdateObjectStorageScriptLocationDetails.

Return type

str

property namespace

[Required] Gets the namespace of this UpdateObjectStorageScriptLocationDetails. The namespace in object storage (Note - this is usually the tenancy name).

Example: myocitenancy

Returns

The namespace of this UpdateObjectStorageScriptLocationDetails.

Return type

str

property object

[Required] Gets the object of this UpdateObjectStorageScriptLocationDetails. The object name inside the object storage bucket.

Example: validate_app_start.sh

Returns

The object of this UpdateObjectStorageScriptLocationDetails.

Return type

str