DiscoveryScheduleSummary¶
- class oci.cloud_migrations.models.DiscoveryScheduleSummary(**kwargs)¶
Bases:
objectSummarized information about a discovery schedule.
Attributes:
A constant which can be used with the lifecycle_state property of a DiscoveryScheduleSummary.
A constant which can be used with the lifecycle_state property of a DiscoveryScheduleSummary.
[Required] Gets the compartment_id of this DiscoveryScheduleSummary.
Gets the defined_tags of this DiscoveryScheduleSummary.
[Required] Gets the display_name of this DiscoveryScheduleSummary.
Gets the freeform_tags of this DiscoveryScheduleSummary.
[Required] Gets the id of this DiscoveryScheduleSummary.
[Required] Gets the lifecycle_details of this DiscoveryScheduleSummary.
[Required] Gets the lifecycle_state of this DiscoveryScheduleSummary.
Gets the system_tags of this DiscoveryScheduleSummary.
[Required] Gets the time_created of this DiscoveryScheduleSummary.
[Required] Gets the time_updated of this DiscoveryScheduleSummary.
Methods:
__init__(**kwargs)Initializes a new DiscoveryScheduleSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a DiscoveryScheduleSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a DiscoveryScheduleSummary. This constant has a value of “DELETED”
- __init__(**kwargs)¶
Initializes a new DiscoveryScheduleSummary 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 DiscoveryScheduleSummary.
display_name (str) – The value to assign to the display_name property of this DiscoveryScheduleSummary.
compartment_id (str) – The value to assign to the compartment_id property of this DiscoveryScheduleSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DiscoveryScheduleSummary. Allowed values for this property are: “ACTIVE”, “DELETED”
lifecycle_details (str) – The value to assign to the lifecycle_details property of this DiscoveryScheduleSummary.
time_created (datetime) – The value to assign to the time_created property of this DiscoveryScheduleSummary.
time_updated (datetime) – The value to assign to the time_updated property of this DiscoveryScheduleSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DiscoveryScheduleSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DiscoveryScheduleSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DiscoveryScheduleSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this DiscoveryScheduleSummary. The OCID of the compartment in which the discovery schedule exists.
- Returns
The compartment_id of this DiscoveryScheduleSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this DiscoveryScheduleSummary. 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 DiscoveryScheduleSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this DiscoveryScheduleSummary. 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 DiscoveryScheduleSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this DiscoveryScheduleSummary. 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 DiscoveryScheduleSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this DiscoveryScheduleSummary. The OCID of the discovery schedule.
- Returns
The id of this DiscoveryScheduleSummary.
- Return type
str
- property lifecycle_details¶
[Required] Gets the lifecycle_details of this DiscoveryScheduleSummary. The detailed state of the discovery schedule.
- Returns
The lifecycle_details of this DiscoveryScheduleSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this DiscoveryScheduleSummary. Current state of the discovery schedule.
Allowed values for this property are: “ACTIVE”, “DELETED”
- Returns
The lifecycle_state of this DiscoveryScheduleSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this DiscoveryScheduleSummary. 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 DiscoveryScheduleSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this DiscoveryScheduleSummary. The time when the discovery schedule was created in RFC3339 format.
- Returns
The time_created of this DiscoveryScheduleSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this DiscoveryScheduleSummary. The time when the discovery schedule was last updated in RFC3339 format.
- Returns
The time_updated of this DiscoveryScheduleSummary.
- Return type
datetime