DiscoverySchedule¶
- class oci.cloud_migrations.models.DiscoverySchedule(**kwargs)¶
Bases:
objectDiscovery schedule.
Attributes:
A constant which can be used with the lifecycle_state property of a DiscoverySchedule.
A constant which can be used with the lifecycle_state property of a DiscoverySchedule.
[Required] Gets the compartment_id of this DiscoverySchedule.
Gets the defined_tags of this DiscoverySchedule.
[Required] Gets the display_name of this DiscoverySchedule.
[Required] Gets the execution_recurrences of this DiscoverySchedule.
Gets the freeform_tags of this DiscoverySchedule.
[Required] Gets the id of this DiscoverySchedule.
[Required] Gets the lifecycle_details of this DiscoverySchedule.
[Required] Gets the lifecycle_state of this DiscoverySchedule.
Gets the system_tags of this DiscoverySchedule.
[Required] Gets the time_created of this DiscoverySchedule.
[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”
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.
- property 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
- property defined_tags¶
Gets the defined_tags of this DiscoverySchedule. 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 DiscoverySchedule.
- Return type
dict(str, dict(str, object))
- property 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
- property 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
- property freeform_tags¶
Gets the freeform_tags of this DiscoverySchedule. Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this DiscoverySchedule.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this DiscoverySchedule. The OCID of the discovery schedule.
- Returns
The id of this DiscoverySchedule.
- Return type
str
- property 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
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this DiscoverySchedule. Current state of the discovery schedule.
Allowed values for this property are: “ACTIVE”, “DELETED”
- Returns
The lifecycle_state of this DiscoverySchedule.
- Return type
str
- property system_tags¶
Gets the system_tags of this DiscoverySchedule. 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 DiscoverySchedule.
- Return type
dict(str, dict(str, object))
- property 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
- property 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