DeploymentBackup

class oci.golden_gate.models.DeploymentBackup(**kwargs)

Bases: object

A backup of the current state of the GoldenGate deployment. Can be used to restore a deployment, or create a new deployment with that state as the starting deployment state.

Attributes

BACKUP_TYPE_FULL A constant which can be used with the backup_type property of a DeploymentBackup.
BACKUP_TYPE_INCREMENTAL A constant which can be used with the backup_type property of a DeploymentBackup.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a DeploymentBackup.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a DeploymentBackup.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a DeploymentBackup.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a DeploymentBackup.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a DeploymentBackup.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a DeploymentBackup.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a DeploymentBackup.
backup_type Gets the backup_type of this DeploymentBackup.
bucket_name Gets the bucket_name of this DeploymentBackup.
compartment_id [Required] Gets the compartment_id of this DeploymentBackup.
defined_tags Gets the defined_tags of this DeploymentBackup.
deployment_id [Required] Gets the deployment_id of this DeploymentBackup.
display_name Gets the display_name of this DeploymentBackup.
freeform_tags Gets the freeform_tags of this DeploymentBackup.
id [Required] Gets the id of this DeploymentBackup.
is_automatic Gets the is_automatic of this DeploymentBackup.
lifecycle_details Gets the lifecycle_details of this DeploymentBackup.
lifecycle_state [Required] Gets the lifecycle_state of this DeploymentBackup.
namespace_name Gets the namespace_name of this DeploymentBackup.
object_name Gets the object_name of this DeploymentBackup.
ogg_version [Required] Gets the ogg_version of this DeploymentBackup.
system_tags Gets the system_tags of this DeploymentBackup.
time_created Gets the time_created of this DeploymentBackup.
time_of_backup Gets the time_of_backup of this DeploymentBackup.
time_updated Gets the time_updated of this DeploymentBackup.

Methods

__init__(**kwargs) Initializes a new DeploymentBackup object with values from keyword arguments.
BACKUP_TYPE_FULL = 'FULL'

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

BACKUP_TYPE_INCREMENTAL = 'INCREMENTAL'

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

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a DeploymentBackup. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a DeploymentBackup. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a DeploymentBackup. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a DeploymentBackup. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a DeploymentBackup. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a DeploymentBackup. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new DeploymentBackup 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 DeploymentBackup.
  • deployment_id (str) – The value to assign to the deployment_id property of this DeploymentBackup.
  • compartment_id (str) – The value to assign to the compartment_id property of this DeploymentBackup.
  • display_name (str) – The value to assign to the display_name property of this DeploymentBackup.
  • is_automatic (bool) – The value to assign to the is_automatic property of this DeploymentBackup.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DeploymentBackup. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this DeploymentBackup.
  • time_of_backup (datetime) – The value to assign to the time_of_backup property of this DeploymentBackup.
  • backup_type (str) – The value to assign to the backup_type property of this DeploymentBackup. Allowed values for this property are: “INCREMENTAL”, “FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • ogg_version (str) – The value to assign to the ogg_version property of this DeploymentBackup.
  • namespace_name (str) – The value to assign to the namespace_name property of this DeploymentBackup.
  • bucket_name (str) – The value to assign to the bucket_name property of this DeploymentBackup.
  • object_name (str) – The value to assign to the object_name property of this DeploymentBackup.
  • time_created (datetime) – The value to assign to the time_created property of this DeploymentBackup.
  • time_updated (datetime) – The value to assign to the time_updated property of this DeploymentBackup.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DeploymentBackup.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DeploymentBackup.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DeploymentBackup.
backup_type

Gets the backup_type of this DeploymentBackup. Possible Deployment backup types.

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

Returns:The backup_type of this DeploymentBackup.
Return type:str
bucket_name

Gets the bucket_name of this DeploymentBackup. Name of the bucket where the object is to be uploaded in the object storage

Returns:The bucket_name of this DeploymentBackup.
Return type:str
compartment_id

[Required] Gets the compartment_id of this DeploymentBackup. The OCID of the compartment being referenced.

Returns:The compartment_id of this DeploymentBackup.
Return type:str
defined_tags

Gets the defined_tags of this DeploymentBackup. Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this DeploymentBackup.
Return type:dict(str, dict(str, object))
deployment_id

[Required] Gets the deployment_id of this DeploymentBackup. The OCID of the deployment being referenced.

Returns:The deployment_id of this DeploymentBackup.
Return type:str
display_name

Gets the display_name of this DeploymentBackup. An object’s Display Name.

Returns:The display_name of this DeploymentBackup.
Return type:str
freeform_tags

Gets the freeform_tags of this DeploymentBackup. A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this DeploymentBackup.
Return type:dict(str, str)
id

[Required] Gets the id of this DeploymentBackup. The OCID of the backup being referenced.

Returns:The id of this DeploymentBackup.
Return type:str
is_automatic

Gets the is_automatic of this DeploymentBackup. True if this object is automatically created

Returns:The is_automatic of this DeploymentBackup.
Return type:bool
lifecycle_details

Gets the lifecycle_details of this DeploymentBackup. Describes the object’s current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.

Returns:The lifecycle_details of this DeploymentBackup.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this DeploymentBackup. Possible lifecycle states.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this DeploymentBackup.
Return type:str
namespace_name

Gets the namespace_name of this DeploymentBackup. Name of namespace that serves as a container for all of your buckets

Returns:The namespace_name of this DeploymentBackup.
Return type:str
object_name

Gets the object_name of this DeploymentBackup. Name of the object to be uploaded to object storage

Returns:The object_name of this DeploymentBackup.
Return type:str
ogg_version

[Required] Gets the ogg_version of this DeploymentBackup. Version of OGG

Returns:The ogg_version of this DeploymentBackup.
Return type:str
system_tags

Gets the system_tags of this DeploymentBackup. The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

Returns:The system_tags of this DeploymentBackup.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this DeploymentBackup. The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_created of this DeploymentBackup.
Return type:datetime
time_of_backup

Gets the time_of_backup of this DeploymentBackup. The time of the resource backup. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_of_backup of this DeploymentBackup.
Return type:datetime
time_updated

Gets the time_updated of this DeploymentBackup. The time the resource was last updated. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_updated of this DeploymentBackup.
Return type:datetime