ServerToRestore

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

Bases: object

The object containing server to restore and the backups to be used to restore.

Methods:

__init__(**kwargs)

Initializes a new ServerToRestore object with values from keyword arguments.

Attributes:

backups

Gets the backups of this ServerToRestore.

server_id

Gets the server_id of this ServerToRestore.

__init__(**kwargs)

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

Parameters
  • server_id (str) – The value to assign to the server_id property of this ServerToRestore.

  • backups (list[oci.wlms.models.BackupToRestore]) – The value to assign to the backups property of this ServerToRestore.

property backups

Gets the backups of this ServerToRestore. The list of backup unique identifiers to be used to restore.

Note: Not OCIDs.

Returns

The backups of this ServerToRestore.

Return type

list[oci.wlms.models.BackupToRestore]

property server_id

Gets the server_id of this ServerToRestore. The unique identifier of the server for which backup needs to be restored.

Note: Not an OCID.

Returns

The server_id of this ServerToRestore.

Return type

str