Deployment¶
-
class
oci.golden_gate.models.
Deployment
(**kwargs)¶ Bases:
object
A container for your OCI GoldenGate resources, such as the OCI GoldenGate deployment console.
Attributes
DEPLOYMENT_TYPE_OGG
A constant which can be used with the deployment_type property of a Deployment. LICENSE_MODEL_BRING_YOUR_OWN_LICENSE
A constant which can be used with the license_model property of a Deployment. LICENSE_MODEL_LICENSE_INCLUDED
A constant which can be used with the license_model property of a Deployment. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_STATE_CANCELED
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_STATE_CANCELING
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_STATE_INACTIVE
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_STATE_IN_PROGRESS
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_STATE_SUCCEEDED
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a Deployment. LIFECYCLE_SUB_STATE_BACKUP_IN_PROGRESS
A constant which can be used with the lifecycle_sub_state property of a Deployment. LIFECYCLE_SUB_STATE_MOVING
A constant which can be used with the lifecycle_sub_state property of a Deployment. LIFECYCLE_SUB_STATE_RECOVERING
A constant which can be used with the lifecycle_sub_state property of a Deployment. LIFECYCLE_SUB_STATE_RESTORING
A constant which can be used with the lifecycle_sub_state property of a Deployment. LIFECYCLE_SUB_STATE_STARTING
A constant which can be used with the lifecycle_sub_state property of a Deployment. LIFECYCLE_SUB_STATE_STOPPING
A constant which can be used with the lifecycle_sub_state property of a Deployment. LIFECYCLE_SUB_STATE_UPGRADING
A constant which can be used with the lifecycle_sub_state property of a Deployment. compartment_id
[Required] Gets the compartment_id of this Deployment. cpu_core_count
[Required] Gets the cpu_core_count of this Deployment. defined_tags
Gets the defined_tags of this Deployment. deployment_backup_id
Gets the deployment_backup_id of this Deployment. deployment_type
[Required] Gets the deployment_type of this Deployment. deployment_url
Gets the deployment_url of this Deployment. description
Gets the description of this Deployment. display_name
Gets the display_name of this Deployment. fqdn
Gets the fqdn of this Deployment. freeform_tags
Gets the freeform_tags of this Deployment. id
[Required] Gets the id of this Deployment. is_auto_scaling_enabled
[Required] Gets the is_auto_scaling_enabled of this Deployment. is_healthy
Gets the is_healthy of this Deployment. is_latest_version
Gets the is_latest_version of this Deployment. is_public
Gets the is_public of this Deployment. license_model
[Required] Gets the license_model of this Deployment. lifecycle_details
Gets the lifecycle_details of this Deployment. lifecycle_state
Gets the lifecycle_state of this Deployment. lifecycle_sub_state
Gets the lifecycle_sub_state of this Deployment. nsg_ids
Gets the nsg_ids of this Deployment. ogg_data
Gets the ogg_data of this Deployment. private_ip_address
Gets the private_ip_address of this Deployment. public_ip_address
Gets the public_ip_address of this Deployment. subnet_id
[Required] Gets the subnet_id of this Deployment. system_tags
Gets the system_tags of this Deployment. time_created
Gets the time_created of this Deployment. time_updated
Gets the time_updated of this Deployment. time_upgrade_required
Gets the time_upgrade_required of this Deployment. Methods
__init__
(**kwargs)Initializes a new Deployment object with values from keyword arguments. -
DEPLOYMENT_TYPE_OGG
= 'OGG'¶ A constant which can be used with the deployment_type property of a Deployment. This constant has a value of “OGG”
-
LICENSE_MODEL_BRING_YOUR_OWN_LICENSE
= 'BRING_YOUR_OWN_LICENSE'¶ A constant which can be used with the license_model property of a Deployment. This constant has a value of “BRING_YOUR_OWN_LICENSE”
-
LICENSE_MODEL_LICENSE_INCLUDED
= 'LICENSE_INCLUDED'¶ A constant which can be used with the license_model property of a Deployment. This constant has a value of “LICENSE_INCLUDED”
-
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CANCELED
= 'CANCELED'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “CANCELED”
-
LIFECYCLE_STATE_CANCELING
= 'CANCELING'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “CANCELING”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE
= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_IN_PROGRESS
= 'IN_PROGRESS'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “IN_PROGRESS”
-
LIFECYCLE_STATE_NEEDS_ATTENTION
= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “NEEDS_ATTENTION”
-
LIFECYCLE_STATE_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “SUCCEEDED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a Deployment. This constant has a value of “UPDATING”
-
LIFECYCLE_SUB_STATE_BACKUP_IN_PROGRESS
= 'BACKUP_IN_PROGRESS'¶ A constant which can be used with the lifecycle_sub_state property of a Deployment. This constant has a value of “BACKUP_IN_PROGRESS”
-
LIFECYCLE_SUB_STATE_MOVING
= 'MOVING'¶ A constant which can be used with the lifecycle_sub_state property of a Deployment. This constant has a value of “MOVING”
-
LIFECYCLE_SUB_STATE_RECOVERING
= 'RECOVERING'¶ A constant which can be used with the lifecycle_sub_state property of a Deployment. This constant has a value of “RECOVERING”
-
LIFECYCLE_SUB_STATE_RESTORING
= 'RESTORING'¶ A constant which can be used with the lifecycle_sub_state property of a Deployment. This constant has a value of “RESTORING”
-
LIFECYCLE_SUB_STATE_STARTING
= 'STARTING'¶ A constant which can be used with the lifecycle_sub_state property of a Deployment. This constant has a value of “STARTING”
-
LIFECYCLE_SUB_STATE_STOPPING
= 'STOPPING'¶ A constant which can be used with the lifecycle_sub_state property of a Deployment. This constant has a value of “STOPPING”
-
LIFECYCLE_SUB_STATE_UPGRADING
= 'UPGRADING'¶ A constant which can be used with the lifecycle_sub_state property of a Deployment. This constant has a value of “UPGRADING”
-
__init__
(**kwargs)¶ Initializes a new Deployment 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 Deployment.
- display_name (str) – The value to assign to the display_name property of this Deployment.
- description (str) – The value to assign to the description property of this Deployment.
- compartment_id (str) – The value to assign to the compartment_id property of this Deployment.
- deployment_backup_id (str) – The value to assign to the deployment_backup_id property of this Deployment.
- time_created (datetime) – The value to assign to the time_created property of this Deployment.
- time_updated (datetime) – The value to assign to the time_updated property of this Deployment.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this Deployment. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, “IN_PROGRESS”, “CANCELING”, “CANCELED”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_sub_state (str) – The value to assign to the lifecycle_sub_state property of this Deployment. Allowed values for this property are: “RECOVERING”, “STARTING”, “STOPPING”, “MOVING”, “UPGRADING”, “RESTORING”, “BACKUP_IN_PROGRESS”, ‘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 Deployment.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Deployment.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Deployment.
- is_healthy (bool) – The value to assign to the is_healthy property of this Deployment.
- subnet_id (str) – The value to assign to the subnet_id property of this Deployment.
- fqdn (str) – The value to assign to the fqdn property of this Deployment.
- license_model (str) – The value to assign to the license_model property of this Deployment. Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- cpu_core_count (int) – The value to assign to the cpu_core_count property of this Deployment.
- is_auto_scaling_enabled (bool) – The value to assign to the is_auto_scaling_enabled property of this Deployment.
- nsg_ids (list[str]) – The value to assign to the nsg_ids property of this Deployment.
- is_public (bool) – The value to assign to the is_public property of this Deployment.
- public_ip_address (str) – The value to assign to the public_ip_address property of this Deployment.
- private_ip_address (str) – The value to assign to the private_ip_address property of this Deployment.
- deployment_url (str) – The value to assign to the deployment_url property of this Deployment.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this Deployment.
- is_latest_version (bool) – The value to assign to the is_latest_version property of this Deployment.
- time_upgrade_required (datetime) – The value to assign to the time_upgrade_required property of this Deployment.
- deployment_type (str) – The value to assign to the deployment_type property of this Deployment. Allowed values for this property are: “OGG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- ogg_data (oci.golden_gate.models.OggDeployment) – The value to assign to the ogg_data property of this Deployment.
-
compartment_id
¶ [Required] Gets the compartment_id of this Deployment. The OCID of the compartment being referenced.
Returns: The compartment_id of this Deployment. Return type: str
-
cpu_core_count
¶ [Required] Gets the cpu_core_count of this Deployment. The Minimum number of OCPUs to be made available for this Deployment.
Returns: The cpu_core_count of this Deployment. Return type: int
Gets the defined_tags of this Deployment. 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 Deployment. Return type: dict(str, dict(str, object))
-
deployment_backup_id
¶ Gets the deployment_backup_id of this Deployment. The OCID of the backup being referenced.
Returns: The deployment_backup_id of this Deployment. Return type: str
-
deployment_type
¶ [Required] Gets the deployment_type of this Deployment. The type of deployment, the value determines the exact ‘type’ of service executed in the Deployment. NOTE: Use of the value OGG is maintained for backward compatibility purposes. Its use is discouraged
in favor of the equivalent DATABASE_ORACLE value.Allowed values for this property are: “OGG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The deployment_type of this Deployment. Return type: str
-
deployment_url
¶ Gets the deployment_url of this Deployment. The URL of a resource.
Returns: The deployment_url of this Deployment. Return type: str
-
description
¶ Gets the description of this Deployment. Metadata about this specific object.
Returns: The description of this Deployment. Return type: str
-
display_name
¶ Gets the display_name of this Deployment. An object’s Display Name.
Returns: The display_name of this Deployment. Return type: str
-
fqdn
¶ Gets the fqdn of this Deployment. A three-label Fully Qualified Domain Name (FQDN) for a resource.
Returns: The fqdn of this Deployment. Return type: str
Gets the freeform_tags of this Deployment. 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 Deployment. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this Deployment. The OCID of the deployment being referenced.
Returns: The id of this Deployment. Return type: str
-
is_auto_scaling_enabled
¶ [Required] Gets the is_auto_scaling_enabled of this Deployment. Indicates if auto scaling is enabled for the Deployment’s CPU core count.
Returns: The is_auto_scaling_enabled of this Deployment. Return type: bool
-
is_healthy
¶ Gets the is_healthy of this Deployment. True if all of the aggregate resources are working correctly.
Returns: The is_healthy of this Deployment. Return type: bool
-
is_latest_version
¶ Gets the is_latest_version of this Deployment. Indicates if the resource is the the latest available version.
Returns: The is_latest_version of this Deployment. Return type: bool
-
is_public
¶ Gets the is_public of this Deployment. True if this object is publicly available.
Returns: The is_public of this Deployment. Return type: bool
-
license_model
¶ [Required] Gets the license_model of this Deployment. The Oracle license model that applies to a Deployment.
Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The license_model of this Deployment. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this Deployment. 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 Deployment. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this Deployment. Possible lifecycle states.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, “IN_PROGRESS”, “CANCELING”, “CANCELED”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this Deployment. Return type: str
-
lifecycle_sub_state
¶ Gets the lifecycle_sub_state of this Deployment. Possible GGS lifecycle sub-states.
Allowed values for this property are: “RECOVERING”, “STARTING”, “STOPPING”, “MOVING”, “UPGRADING”, “RESTORING”, “BACKUP_IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_sub_state of this Deployment. Return type: str
-
nsg_ids
¶ Gets the nsg_ids of this Deployment. An array of Network Security Group OCIDs used to define network access for a deployment.
Returns: The nsg_ids of this Deployment. Return type: list[str]
-
ogg_data
¶ Gets the ogg_data of this Deployment.
Returns: The ogg_data of this Deployment. Return type: oci.golden_gate.models.OggDeployment
-
private_ip_address
¶ Gets the private_ip_address of this Deployment. The private IP address in the customer’s VCN representing the access point for the associated endpoint service in the GoldenGate service VCN.
Returns: The private_ip_address of this Deployment. Return type: str
-
public_ip_address
¶ Gets the public_ip_address of this Deployment. The public IP address representing the access point for the Deployment.
Returns: The public_ip_address of this Deployment. Return type: str
-
subnet_id
¶ [Required] Gets the subnet_id of this Deployment. The OCID of the subnet being referenced.
Returns: The subnet_id of this Deployment. Return type: str
Gets the system_tags of this Deployment. 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 Deployment. Return type: dict(str, dict(str, object))
-
time_created
¶ Gets the time_created of this Deployment. 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 Deployment. Return type: datetime
-
time_updated
¶ Gets the time_updated of this Deployment. 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 Deployment. Return type: datetime
-
time_upgrade_required
¶ Gets the time_upgrade_required of this Deployment. The date the existing version in use will no longer be considered as usable and an upgrade will be required. This date is typically 6 months after the version was released for use by GGS. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
Returns: The time_upgrade_required of this Deployment. Return type: datetime
-