CryptoAssessmentBackupSetSummary

class oci.data_safe.models.CryptoAssessmentBackupSetSummary(**kwargs)

Bases: object

Summary of one backup set observed for a crypto assessment.

Attributes:

BACKUP_TYPE_ARCHIVED

A constant which can be used with the backup_type property of a CryptoAssessmentBackupSetSummary.

BACKUP_TYPE_DATAFILE

A constant which can be used with the backup_type property of a CryptoAssessmentBackupSetSummary.

BACKUP_TYPE_INCREMENTAL

A constant which can be used with the backup_type property of a CryptoAssessmentBackupSetSummary.

BACKUP_TYPE_NOT_SUPPORTED

A constant which can be used with the backup_type property of a CryptoAssessmentBackupSetSummary.

STATUS_AVAILABLE

A constant which can be used with the status property of a CryptoAssessmentBackupSetSummary.

STATUS_DELETED

A constant which can be used with the status property of a CryptoAssessmentBackupSetSummary.

STATUS_EXPIRED

A constant which can be used with the status property of a CryptoAssessmentBackupSetSummary.

STATUS_NOT_SUPPORTED

A constant which can be used with the status property of a CryptoAssessmentBackupSetSummary.

algorithm_observed

Gets the algorithm_observed of this CryptoAssessmentBackupSetSummary.

assessment_id

[Required] Gets the assessment_id of this CryptoAssessmentBackupSetSummary.

backup_pieces

[Required] Gets the backup_pieces of this CryptoAssessmentBackupSetSummary.

backup_set_key

[Required] Gets the backup_set_key of this CryptoAssessmentBackupSetSummary.

backup_type

[Required] Gets the backup_type of this CryptoAssessmentBackupSetSummary.

cipher_mode_observed

Gets the cipher_mode_observed of this CryptoAssessmentBackupSetSummary.

is_compressed

Gets the is_compressed of this CryptoAssessmentBackupSetSummary.

is_encrypted

[Required] Gets the is_encrypted of this CryptoAssessmentBackupSetSummary.

set_stamp

[Required] Gets the set_stamp of this CryptoAssessmentBackupSetSummary.

size_in_gbs

[Required] Gets the size_in_gbs of this CryptoAssessmentBackupSetSummary.

status

[Required] Gets the status of this CryptoAssessmentBackupSetSummary.

target_id

[Required] Gets the target_id of this CryptoAssessmentBackupSetSummary.

time_created

Gets the time_created of this CryptoAssessmentBackupSetSummary.

time_last_assessed

Gets the time_last_assessed of this CryptoAssessmentBackupSetSummary.

Methods:

__init__(**kwargs)

Initializes a new CryptoAssessmentBackupSetSummary object with values from keyword arguments.

BACKUP_TYPE_ARCHIVED = 'ARCHIVED'

A constant which can be used with the backup_type property of a CryptoAssessmentBackupSetSummary. This constant has a value of “ARCHIVED”

BACKUP_TYPE_DATAFILE = 'DATAFILE'

A constant which can be used with the backup_type property of a CryptoAssessmentBackupSetSummary. This constant has a value of “DATAFILE”

BACKUP_TYPE_INCREMENTAL = 'INCREMENTAL'

A constant which can be used with the backup_type property of a CryptoAssessmentBackupSetSummary. This constant has a value of “INCREMENTAL”

BACKUP_TYPE_NOT_SUPPORTED = 'NOT_SUPPORTED'

A constant which can be used with the backup_type property of a CryptoAssessmentBackupSetSummary. This constant has a value of “NOT_SUPPORTED”

STATUS_AVAILABLE = 'AVAILABLE'

A constant which can be used with the status property of a CryptoAssessmentBackupSetSummary. This constant has a value of “AVAILABLE”

STATUS_DELETED = 'DELETED'

A constant which can be used with the status property of a CryptoAssessmentBackupSetSummary. This constant has a value of “DELETED”

STATUS_EXPIRED = 'EXPIRED'

A constant which can be used with the status property of a CryptoAssessmentBackupSetSummary. This constant has a value of “EXPIRED”

STATUS_NOT_SUPPORTED = 'NOT_SUPPORTED'

A constant which can be used with the status property of a CryptoAssessmentBackupSetSummary. This constant has a value of “NOT_SUPPORTED”

__init__(**kwargs)

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

Parameters
  • assessment_id (str) – The value to assign to the assessment_id property of this CryptoAssessmentBackupSetSummary.

  • time_last_assessed (datetime) – The value to assign to the time_last_assessed property of this CryptoAssessmentBackupSetSummary.

  • target_id (str) – The value to assign to the target_id property of this CryptoAssessmentBackupSetSummary.

  • backup_set_key (str) – The value to assign to the backup_set_key property of this CryptoAssessmentBackupSetSummary.

  • set_stamp (str) – The value to assign to the set_stamp property of this CryptoAssessmentBackupSetSummary.

  • backup_type (str) – The value to assign to the backup_type property of this CryptoAssessmentBackupSetSummary. Allowed values for this property are: “DATAFILE”, “ARCHIVED”, “INCREMENTAL”, “NOT_SUPPORTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • status (str) – The value to assign to the status property of this CryptoAssessmentBackupSetSummary. Allowed values for this property are: “AVAILABLE”, “EXPIRED”, “DELETED”, “NOT_SUPPORTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • backup_pieces (int) – The value to assign to the backup_pieces property of this CryptoAssessmentBackupSetSummary.

  • is_encrypted (bool) – The value to assign to the is_encrypted property of this CryptoAssessmentBackupSetSummary.

  • algorithm_observed (str) – The value to assign to the algorithm_observed property of this CryptoAssessmentBackupSetSummary.

  • cipher_mode_observed (str) – The value to assign to the cipher_mode_observed property of this CryptoAssessmentBackupSetSummary.

  • is_compressed (bool) – The value to assign to the is_compressed property of this CryptoAssessmentBackupSetSummary.

  • time_created (datetime) – The value to assign to the time_created property of this CryptoAssessmentBackupSetSummary.

  • size_in_gbs (float) – The value to assign to the size_in_gbs property of this CryptoAssessmentBackupSetSummary.

property algorithm_observed

Gets the algorithm_observed of this CryptoAssessmentBackupSetSummary. Encryption algorithm observed for the backup set when encryption is enabled.

Returns

The algorithm_observed of this CryptoAssessmentBackupSetSummary.

Return type

str

property assessment_id

[Required] Gets the assessment_id of this CryptoAssessmentBackupSetSummary. OCID of the crypto assessment that discovered the backup set.

Returns

The assessment_id of this CryptoAssessmentBackupSetSummary.

Return type

str

property backup_pieces

[Required] Gets the backup_pieces of this CryptoAssessmentBackupSetSummary. Number of backup pieces in the set.

Returns

The backup_pieces of this CryptoAssessmentBackupSetSummary.

Return type

int

property backup_set_key

[Required] Gets the backup_set_key of this CryptoAssessmentBackupSetSummary. Backup set key.

Returns

The backup_set_key of this CryptoAssessmentBackupSetSummary.

Return type

str

property backup_type

[Required] Gets the backup_type of this CryptoAssessmentBackupSetSummary. Backup type observed for the set.

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

Returns

The backup_type of this CryptoAssessmentBackupSetSummary.

Return type

str

property cipher_mode_observed

Gets the cipher_mode_observed of this CryptoAssessmentBackupSetSummary. Cipher mode observed for the backup set when encryption is enabled.

Returns

The cipher_mode_observed of this CryptoAssessmentBackupSetSummary.

Return type

str

property is_compressed

Gets the is_compressed of this CryptoAssessmentBackupSetSummary. Indicates whether the backup set is compressed.

Returns

The is_compressed of this CryptoAssessmentBackupSetSummary.

Return type

bool

property is_encrypted

[Required] Gets the is_encrypted of this CryptoAssessmentBackupSetSummary. Indicates whether the backup set is encrypted.

Returns

The is_encrypted of this CryptoAssessmentBackupSetSummary.

Return type

bool

property set_stamp

[Required] Gets the set_stamp of this CryptoAssessmentBackupSetSummary. Backup set stamp.

Returns

The set_stamp of this CryptoAssessmentBackupSetSummary.

Return type

str

property size_in_gbs

[Required] Gets the size_in_gbs of this CryptoAssessmentBackupSetSummary. Backup set size in gigabytes.

Returns

The size_in_gbs of this CryptoAssessmentBackupSetSummary.

Return type

float

property status

[Required] Gets the status of this CryptoAssessmentBackupSetSummary. Current status of the backup set.

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

Returns

The status of this CryptoAssessmentBackupSetSummary.

Return type

str

property target_id

[Required] Gets the target_id of this CryptoAssessmentBackupSetSummary. OCID of the target database associated with the backup set.

Returns

The target_id of this CryptoAssessmentBackupSetSummary.

Return type

str

property time_created

Gets the time_created of this CryptoAssessmentBackupSetSummary. Backup set creation time in RFC3339 format.

Returns

The time_created of this CryptoAssessmentBackupSetSummary.

Return type

datetime

property time_last_assessed

Gets the time_last_assessed of this CryptoAssessmentBackupSetSummary. The date and time the associated crypto assessment was last assessed, in RFC3339 format.

Returns

The time_last_assessed of this CryptoAssessmentBackupSetSummary.

Return type

datetime