BackupSummary

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

Bases: object

The information of a backup for the server.

Attributes

CONTENT_TYPE_BINARY A constant which can be used with the content_type property of a BackupSummary.
TYPE_LOCAL_FILE A constant which can be used with the type property of a BackupSummary.
backup_location [Required] Gets the backup_location of this BackupSummary.
content_type Gets the content_type of this BackupSummary.
id [Required] Gets the id of this BackupSummary.
managed_instance_id Gets the managed_instance_id of this BackupSummary.
time_created Gets the time_created of this BackupSummary.
type [Required] Gets the type of this BackupSummary.

Methods

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

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

TYPE_LOCAL_FILE = 'LOCAL_FILE'

A constant which can be used with the type property of a BackupSummary. This constant has a value of “LOCAL_FILE”

__init__(**kwargs)

Initializes a new BackupSummary 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 BackupSummary.
  • type (str) – The value to assign to the type property of this BackupSummary. Allowed values for this property are: “LOCAL_FILE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • managed_instance_id (str) – The value to assign to the managed_instance_id property of this BackupSummary.
  • backup_location (str) – The value to assign to the backup_location property of this BackupSummary.
  • content_type (str) – The value to assign to the content_type property of this BackupSummary. Allowed values for this property are: “BINARY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this BackupSummary.
backup_location

[Required] Gets the backup_location of this BackupSummary. The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.

Returns:The backup_location of this BackupSummary.
Return type:str
content_type

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

Allowed values for this property are: “BINARY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

[Required] Gets the id of this BackupSummary. The unique identifier of the backup.

Note: Not an OCID.

Returns:The id of this BackupSummary.
Return type:str
managed_instance_id

Gets the managed_instance_id of this BackupSummary. The managed instance ID of the server for which the backup was created.

Returns:The managed_instance_id of this BackupSummary.
Return type:str
time_created

Gets the time_created of this BackupSummary. The date and time when the backup was created (in RFC 3339 format).

Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this BackupSummary.
Return type:datetime
type

[Required] Gets the type of this BackupSummary. The type of the backup.

Allowed values for this property are: “LOCAL_FILE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this BackupSummary.
Return type:str