BackupLocation¶
- class oci.key_management.models.BackupLocation(**kwargs)¶
Bases:
objectBackup upload location
Attributes:
A constant which can be used with the destination property of a BackupLocation.
A constant which can be used with the destination property of a BackupLocation.
[Required] Gets the destination of this BackupLocation.
Methods:
__init__(**kwargs)Initializes a new BackupLocation 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'¶
A constant which can be used with the destination property of a BackupLocation. This constant has a value of “BUCKET”
- DESTINATION_PRE_AUTHENTICATED_REQUEST_URI = 'PRE_AUTHENTICATED_REQUEST_URI'¶
A constant which can be used with the destination property of a BackupLocation. This constant has a value of “PRE_AUTHENTICATED_REQUEST_URI”
- __init__(**kwargs)¶
Initializes a new BackupLocation object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 BackupLocation. Allowed values for this property are: “BUCKET”, “PRE_AUTHENTICATED_REQUEST_URI”
- property 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.