DiscoveryJobSummary

class oci.stack_monitoring.models.DiscoveryJobSummary(**kwargs)

Bases: object

The Summary of DiscoveryJob details.

Attributes

DISCOVERY_TYPE_ADD A constant which can be used with the discovery_type property of a DiscoveryJobSummary.
DISCOVERY_TYPE_ADD_WITH_RETRY A constant which can be used with the discovery_type property of a DiscoveryJobSummary.
DISCOVERY_TYPE_REFRESH A constant which can be used with the discovery_type property of a DiscoveryJobSummary.
LICENSE_ENTERPRISE_EDITION A constant which can be used with the license property of a DiscoveryJobSummary.
LICENSE_STANDARD_EDITION A constant which can be used with the license property of a DiscoveryJobSummary.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a DiscoveryJobSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a DiscoveryJobSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a DiscoveryJobSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a DiscoveryJobSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a DiscoveryJobSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a DiscoveryJobSummary.
RESOURCE_TYPE_APACHE_HTTP_SERVER A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_APACHE_TOMCAT A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_CUSTOM_RESOURCE A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_EBS_INSTANCE A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_HOST A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_OCI_ORACLE_CDB A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_OCI_ORACLE_DB A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_OCI_ORACLE_PDB A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_ORACLE_DATABASE A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_ORACLE_GOLDENGATE A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_ORACLE_HTTP_SERVER A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_ORACLE_MFT A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_ORACLE_PSFT A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_SQL_SERVER A constant which can be used with the resource_type property of a DiscoveryJobSummary.
RESOURCE_TYPE_WEBLOGIC_DOMAIN A constant which can be used with the resource_type property of a DiscoveryJobSummary.
STATUS_CREATED A constant which can be used with the status property of a DiscoveryJobSummary.
STATUS_DELETED A constant which can be used with the status property of a DiscoveryJobSummary.
STATUS_FAILURE A constant which can be used with the status property of a DiscoveryJobSummary.
STATUS_INACTIVE A constant which can be used with the status property of a DiscoveryJobSummary.
STATUS_INPROGRESS A constant which can be used with the status property of a DiscoveryJobSummary.
STATUS_SUCCESS A constant which can be used with the status property of a DiscoveryJobSummary.
compartment_id Gets the compartment_id of this DiscoveryJobSummary.
defined_tags Gets the defined_tags of this DiscoveryJobSummary.
discovery_type Gets the discovery_type of this DiscoveryJobSummary.
freeform_tags Gets the freeform_tags of this DiscoveryJobSummary.
id [Required] Gets the id of this DiscoveryJobSummary.
license Gets the license of this DiscoveryJobSummary.
lifecycle_state Gets the lifecycle_state of this DiscoveryJobSummary.
resource_name Gets the resource_name of this DiscoveryJobSummary.
resource_type Gets the resource_type of this DiscoveryJobSummary.
status Gets the status of this DiscoveryJobSummary.
status_message Gets the status_message of this DiscoveryJobSummary.
system_tags Gets the system_tags of this DiscoveryJobSummary.
tenant_id Gets the tenant_id of this DiscoveryJobSummary.
time_updated Gets the time_updated of this DiscoveryJobSummary.
user_id Gets the user_id of this DiscoveryJobSummary.

Methods

__init__(**kwargs) Initializes a new DiscoveryJobSummary object with values from keyword arguments.
DISCOVERY_TYPE_ADD = 'ADD'

A constant which can be used with the discovery_type property of a DiscoveryJobSummary. This constant has a value of “ADD”

DISCOVERY_TYPE_ADD_WITH_RETRY = 'ADD_WITH_RETRY'

A constant which can be used with the discovery_type property of a DiscoveryJobSummary. This constant has a value of “ADD_WITH_RETRY”

DISCOVERY_TYPE_REFRESH = 'REFRESH'

A constant which can be used with the discovery_type property of a DiscoveryJobSummary. This constant has a value of “REFRESH”

LICENSE_ENTERPRISE_EDITION = 'ENTERPRISE_EDITION'

A constant which can be used with the license property of a DiscoveryJobSummary. This constant has a value of “ENTERPRISE_EDITION”

LICENSE_STANDARD_EDITION = 'STANDARD_EDITION'

A constant which can be used with the license property of a DiscoveryJobSummary. This constant has a value of “STANDARD_EDITION”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

RESOURCE_TYPE_APACHE_HTTP_SERVER = 'APACHE_HTTP_SERVER'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “APACHE_HTTP_SERVER”

RESOURCE_TYPE_APACHE_TOMCAT = 'APACHE_TOMCAT'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “APACHE_TOMCAT”

RESOURCE_TYPE_CUSTOM_RESOURCE = 'CUSTOM_RESOURCE'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “CUSTOM_RESOURCE”

RESOURCE_TYPE_EBS_INSTANCE = 'EBS_INSTANCE'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “EBS_INSTANCE”

RESOURCE_TYPE_HOST = 'HOST'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “HOST”

RESOURCE_TYPE_OCI_ORACLE_CDB = 'OCI_ORACLE_CDB'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “OCI_ORACLE_CDB”

RESOURCE_TYPE_OCI_ORACLE_DB = 'OCI_ORACLE_DB'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “OCI_ORACLE_DB”

RESOURCE_TYPE_OCI_ORACLE_PDB = 'OCI_ORACLE_PDB'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “OCI_ORACLE_PDB”

RESOURCE_TYPE_ORACLE_DATABASE = 'ORACLE_DATABASE'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “ORACLE_DATABASE”

RESOURCE_TYPE_ORACLE_GOLDENGATE = 'ORACLE_GOLDENGATE'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “ORACLE_GOLDENGATE”

RESOURCE_TYPE_ORACLE_HTTP_SERVER = 'ORACLE_HTTP_SERVER'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “ORACLE_HTTP_SERVER”

RESOURCE_TYPE_ORACLE_MFT = 'ORACLE_MFT'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “ORACLE_MFT”

RESOURCE_TYPE_ORACLE_PSFT = 'ORACLE_PSFT'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “ORACLE_PSFT”

RESOURCE_TYPE_SQL_SERVER = 'SQL_SERVER'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “SQL_SERVER”

RESOURCE_TYPE_WEBLOGIC_DOMAIN = 'WEBLOGIC_DOMAIN'

A constant which can be used with the resource_type property of a DiscoveryJobSummary. This constant has a value of “WEBLOGIC_DOMAIN”

STATUS_CREATED = 'CREATED'

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

STATUS_DELETED = 'DELETED'

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

STATUS_FAILURE = 'FAILURE'

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

STATUS_INACTIVE = 'INACTIVE'

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

STATUS_INPROGRESS = 'INPROGRESS'

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

STATUS_SUCCESS = 'SUCCESS'

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

__init__(**kwargs)

Initializes a new DiscoveryJobSummary 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 DiscoveryJobSummary.
  • resource_type (str) – The value to assign to the resource_type property of this DiscoveryJobSummary. Allowed values for this property are: “WEBLOGIC_DOMAIN”, “EBS_INSTANCE”, “SQL_SERVER”, “APACHE_TOMCAT”, “ORACLE_DATABASE”, “OCI_ORACLE_DB”, “OCI_ORACLE_CDB”, “OCI_ORACLE_PDB”, “HOST”, “ORACLE_PSFT”, “ORACLE_MFT”, “APACHE_HTTP_SERVER”, “ORACLE_GOLDENGATE”, “CUSTOM_RESOURCE”, “ORACLE_HTTP_SERVER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • resource_name (str) – The value to assign to the resource_name property of this DiscoveryJobSummary.
  • license (str) – The value to assign to the license property of this DiscoveryJobSummary. Allowed values for this property are: “STANDARD_EDITION”, “ENTERPRISE_EDITION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • compartment_id (str) – The value to assign to the compartment_id property of this DiscoveryJobSummary.
  • discovery_type (str) – The value to assign to the discovery_type property of this DiscoveryJobSummary. Allowed values for this property are: “ADD”, “ADD_WITH_RETRY”, “REFRESH”, ‘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 DiscoveryJobSummary. Allowed values for this property are: “SUCCESS”, “FAILURE”, “INPROGRESS”, “INACTIVE”, “CREATED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • status_message (str) – The value to assign to the status_message property of this DiscoveryJobSummary.
  • tenant_id (str) – The value to assign to the tenant_id property of this DiscoveryJobSummary.
  • user_id (str) – The value to assign to the user_id property of this DiscoveryJobSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this DiscoveryJobSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DiscoveryJobSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DiscoveryJobSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DiscoveryJobSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DiscoveryJobSummary.
compartment_id

Gets the compartment_id of this DiscoveryJobSummary. The OCID of the Compartment

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

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

Returns:The defined_tags of this DiscoveryJobSummary.
Return type:dict(str, dict(str, object))
discovery_type

Gets the discovery_type of this DiscoveryJobSummary. Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources.

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

Returns:The discovery_type of this DiscoveryJobSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this DiscoveryJobSummary. 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 DiscoveryJobSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this DiscoveryJobSummary. The OCID of Discovery job

Returns:The id of this DiscoveryJobSummary.
Return type:str
license

Gets the license of this DiscoveryJobSummary. License edition of the monitored resource.

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

Returns:The license of this DiscoveryJobSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this DiscoveryJobSummary. The current state of the DiscoveryJob Resource.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “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 DiscoveryJobSummary.
Return type:str
resource_name

Gets the resource_name of this DiscoveryJobSummary. The name of resource type

Returns:The resource_name of this DiscoveryJobSummary.
Return type:str
resource_type

Gets the resource_type of this DiscoveryJobSummary. Resource Type

Allowed values for this property are: “WEBLOGIC_DOMAIN”, “EBS_INSTANCE”, “SQL_SERVER”, “APACHE_TOMCAT”, “ORACLE_DATABASE”, “OCI_ORACLE_DB”, “OCI_ORACLE_CDB”, “OCI_ORACLE_PDB”, “HOST”, “ORACLE_PSFT”, “ORACLE_MFT”, “APACHE_HTTP_SERVER”, “ORACLE_GOLDENGATE”, “CUSTOM_RESOURCE”, “ORACLE_HTTP_SERVER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The resource_type of this DiscoveryJobSummary.
Return type:str
status

Gets the status of this DiscoveryJobSummary. Specifies the status of the discovery job

Allowed values for this property are: “SUCCESS”, “FAILURE”, “INPROGRESS”, “INACTIVE”, “CREATED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this DiscoveryJobSummary.
Return type:str
status_message

Gets the status_message of this DiscoveryJobSummary. The short summary of the status of the discovery job

Returns:The status_message of this DiscoveryJobSummary.
Return type:str
system_tags

Gets the system_tags of this DiscoveryJobSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this DiscoveryJobSummary.
Return type:dict(str, dict(str, object))
tenant_id

Gets the tenant_id of this DiscoveryJobSummary. The OCID of Tenant

Returns:The tenant_id of this DiscoveryJobSummary.
Return type:str
time_updated

Gets the time_updated of this DiscoveryJobSummary. The time the discovery Job was updated.

Returns:The time_updated of this DiscoveryJobSummary.
Return type:datetime
user_id

Gets the user_id of this DiscoveryJobSummary. The OCID of user in which the job is submitted

Returns:The user_id of this DiscoveryJobSummary.
Return type:str