BackupLocationBucket

class oci.key_management.models.BackupLocationBucket(**kwargs)

Bases: oci.key_management.models.backup_location.BackupLocation

Object storage bucket details to upload or download the backup

Attributes

DESTINATION_BUCKET str(object=’’) -> str
DESTINATION_PRE_AUTHENTICATED_REQUEST_URI str(object=’’) -> str
bucket_name [Required] Gets the bucket_name of this BackupLocationBucket.
destination [Required] Gets the destination of this BackupLocation.
namespace [Required] Gets the namespace of this BackupLocationBucket.
object_name [Required] Gets the object_name of this BackupLocationBucket.

Methods

__init__(**kwargs) Initializes a new BackupLocationBucket object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
DESTINATION_BUCKET = 'BUCKET'
DESTINATION_PRE_AUTHENTICATED_REQUEST_URI = 'PRE_AUTHENTICATED_REQUEST_URI'
__init__(**kwargs)

Initializes a new BackupLocationBucket object with values from keyword arguments. The default value of the destination attribute of this class is BUCKET and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • destination (str) – The value to assign to the destination property of this BackupLocationBucket. Allowed values for this property are: “BUCKET”, “PRE_AUTHENTICATED_REQUEST_URI”
  • namespace (str) – The value to assign to the namespace property of this BackupLocationBucket.
  • bucket_name (str) – The value to assign to the bucket_name property of this BackupLocationBucket.
  • object_name (str) – The value to assign to the object_name property of this BackupLocationBucket.
bucket_name

[Required] Gets the bucket_name of this BackupLocationBucket.

Returns:The bucket_name of this BackupLocationBucket.
Return type:str
destination

[Required] Gets the destination of this BackupLocation. ‘Backup location destination: BUCKET - Uploading or downloading backup via object store bucket PRE_AUTHENTICATED_REQUEST_URI - Uploading or downloading backup via a PreAuthenticated object store URI’

Allowed values for this property are: “BUCKET”, “PRE_AUTHENTICATED_REQUEST_URI”

Returns:The destination of this BackupLocation.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

namespace

[Required] Gets the namespace of this BackupLocationBucket.

Returns:The namespace of this BackupLocationBucket.
Return type:str
object_name

[Required] Gets the object_name of this BackupLocationBucket.

Returns:The object_name of this BackupLocationBucket.
Return type:str