BackupToRestore

class oci.wlms.models.BackupToRestore(**kwargs)

Bases: object

Information of the backup to be used to restore a server in a domain.

Attributes

CONTENT_TYPE_BINARY A constant which can be used with the content_type property of a BackupToRestore.
content_type Gets the content_type of this BackupToRestore.
id Gets the id of this BackupToRestore.

Methods

__init__(**kwargs) Initializes a new BackupToRestore object with values from keyword arguments.
CONTENT_TYPE_BINARY = 'BINARY'

A constant which can be used with the content_type property of a BackupToRestore. This constant has a value of “BINARY”

__init__(**kwargs)

Initializes a new BackupToRestore object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this BackupToRestore.
  • content_type (str) – The value to assign to the content_type property of this BackupToRestore. Allowed values for this property are: “BINARY”
content_type

Gets the content_type of this BackupToRestore. The type of content of the backup.

Allowed values for this property are: “BINARY”

Returns:The content_type of this BackupToRestore.
Return type:str
id

Gets the id of this BackupToRestore. The unique identifier of the backup to be used to restore.

Note: Not OCIDs.

Returns:The id of this BackupToRestore.
Return type:str