DiscoverySchedule

class oci.cloud_bridge.models.DiscoverySchedule(**kwargs)

Bases: object

Discovery schedule.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a DiscoverySchedule.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a DiscoverySchedule.
compartment_id [Required] Gets the compartment_id of this DiscoverySchedule.
defined_tags Gets the defined_tags of this DiscoverySchedule.
display_name [Required] Gets the display_name of this DiscoverySchedule.
execution_recurrences [Required] Gets the execution_recurrences of this DiscoverySchedule.
freeform_tags Gets the freeform_tags of this DiscoverySchedule.
id [Required] Gets the id of this DiscoverySchedule.
lifecycle_details [Required] Gets the lifecycle_details of this DiscoverySchedule.
lifecycle_state [Required] Gets the lifecycle_state of this DiscoverySchedule.
system_tags Gets the system_tags of this DiscoverySchedule.
time_created [Required] Gets the time_created of this DiscoverySchedule.
time_updated [Required] Gets the time_updated of this DiscoverySchedule.

Methods

__init__(**kwargs) Initializes a new DiscoverySchedule object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

__init__(**kwargs)

Initializes a new DiscoverySchedule 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 DiscoverySchedule.
  • display_name (str) – The value to assign to the display_name property of this DiscoverySchedule.
  • execution_recurrences (str) – The value to assign to the execution_recurrences property of this DiscoverySchedule.
  • compartment_id (str) – The value to assign to the compartment_id property of this DiscoverySchedule.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DiscoverySchedule. Allowed values for this property are: “ACTIVE”, “DELETED”, ‘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 DiscoverySchedule.
  • time_created (datetime) – The value to assign to the time_created property of this DiscoverySchedule.
  • time_updated (datetime) – The value to assign to the time_updated property of this DiscoverySchedule.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DiscoverySchedule.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DiscoverySchedule.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DiscoverySchedule.
compartment_id

[Required] Gets the compartment_id of this DiscoverySchedule. The OCID of the compartment in which the discovery schedule exists.

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

Gets the defined_tags of this DiscoverySchedule. The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this DiscoverySchedule.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this DiscoverySchedule. A user-friendly name for the discovery schedule. Does not have to be unique, and it’s mutable. Avoid entering confidential information.

Returns:The display_name of this DiscoverySchedule.
Return type:str
execution_recurrences

[Required] Gets the execution_recurrences of this DiscoverySchedule. Recurrence specification for the discovery schedule execution.

Returns:The execution_recurrences of this DiscoverySchedule.
Return type:str
freeform_tags

Gets the freeform_tags of this DiscoverySchedule. The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”}

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

[Required] Gets the id of this DiscoverySchedule. The OCID of the discovery schedule.

Returns:The id of this DiscoverySchedule.
Return type:str
lifecycle_details

[Required] Gets the lifecycle_details of this DiscoverySchedule. The detailed state of the discovery schedule.

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

[Required] Gets the lifecycle_state of this DiscoverySchedule. Current state of the discovery schedule.

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

Returns:The lifecycle_state of this DiscoverySchedule.
Return type:str
system_tags

Gets the system_tags of this DiscoverySchedule. 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 DiscoverySchedule.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this DiscoverySchedule. The time when the discovery schedule was created in RFC3339 format.

Returns:The time_created of this DiscoverySchedule.
Return type:datetime
time_updated

[Required] Gets the time_updated of this DiscoverySchedule. The time when the discovery schedule was last updated in RFC3339 format.

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