MultiCloudResourceDiscovery¶
-
class
oci.dbmulticloud.models.
MultiCloudResourceDiscovery
(**kwargs)¶ Bases:
object
Multi Cloud Resource Discovery Object.
Attributes
LIFECYCLE_STATE_ACCEPTED
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_CANCELED
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_CANCELING
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_IN_PROGRESS
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_SUCCEEDED
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_WAITING
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. RESOURCE_TYPE_STORAGE
A constant which can be used with the resource_type property of a MultiCloudResourceDiscovery. RESOURCE_TYPE_VAULTS
A constant which can be used with the resource_type property of a MultiCloudResourceDiscovery. compartment_id
[Required] Gets the compartment_id of this MultiCloudResourceDiscovery. defined_tags
Gets the defined_tags of this MultiCloudResourceDiscovery. display_name
[Required] Gets the display_name of this MultiCloudResourceDiscovery. freeform_tags
Gets the freeform_tags of this MultiCloudResourceDiscovery. id
[Required] Gets the id of this MultiCloudResourceDiscovery. last_modification
Gets the last_modification of this MultiCloudResourceDiscovery. lifecycle_state
Gets the lifecycle_state of this MultiCloudResourceDiscovery. lifecycle_state_details
Gets the lifecycle_state_details of this MultiCloudResourceDiscovery. oracle_db_connector_id
[Required] Gets the oracle_db_connector_id of this MultiCloudResourceDiscovery. resource_type
[Required] Gets the resource_type of this MultiCloudResourceDiscovery. resources
Gets the resources of this MultiCloudResourceDiscovery. system_tags
Gets the system_tags of this MultiCloudResourceDiscovery. time_created
Gets the time_created of this MultiCloudResourceDiscovery. time_updated
Gets the time_updated of this MultiCloudResourceDiscovery. Methods
__init__
(**kwargs)Initializes a new MultiCloudResourceDiscovery object with values from keyword arguments. -
LIFECYCLE_STATE_ACCEPTED
= 'ACCEPTED'¶ A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. This constant has a value of “ACCEPTED”
-
LIFECYCLE_STATE_CANCELED
= 'CANCELED'¶ A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. This constant has a value of “CANCELED”
-
LIFECYCLE_STATE_CANCELING
= 'CANCELING'¶ A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. This constant has a value of “CANCELING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_IN_PROGRESS
= 'IN_PROGRESS'¶ A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. 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 MultiCloudResourceDiscovery. 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 MultiCloudResourceDiscovery. This constant has a value of “SUCCEEDED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. This constant has a value of “UPDATING”
-
LIFECYCLE_STATE_WAITING
= 'WAITING'¶ A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. This constant has a value of “WAITING”
-
RESOURCE_TYPE_STORAGE
= 'STORAGE'¶ A constant which can be used with the resource_type property of a MultiCloudResourceDiscovery. This constant has a value of “STORAGE”
-
RESOURCE_TYPE_VAULTS
= 'VAULTS'¶ A constant which can be used with the resource_type property of a MultiCloudResourceDiscovery. This constant has a value of “VAULTS”
-
__init__
(**kwargs)¶ Initializes a new MultiCloudResourceDiscovery 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 MultiCloudResourceDiscovery.
- compartment_id (str) – The value to assign to the compartment_id property of this MultiCloudResourceDiscovery.
- display_name (str) – The value to assign to the display_name property of this MultiCloudResourceDiscovery.
- oracle_db_connector_id (str) – The value to assign to the oracle_db_connector_id property of this MultiCloudResourceDiscovery.
- resources (list[oci.dbmulticloud.models.Resources]) – The value to assign to the resources property of this MultiCloudResourceDiscovery.
- resource_type (str) – The value to assign to the resource_type property of this MultiCloudResourceDiscovery. Allowed values for this property are: “VAULTS”, “STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this MultiCloudResourceDiscovery. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “WAITING”, “SUCCEEDED”, “UPDATING”, “CANCELING”, “CANCELED”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_state_details (str) – The value to assign to the lifecycle_state_details property of this MultiCloudResourceDiscovery.
- time_created (datetime) – The value to assign to the time_created property of this MultiCloudResourceDiscovery.
- time_updated (datetime) – The value to assign to the time_updated property of this MultiCloudResourceDiscovery.
- last_modification (str) – The value to assign to the last_modification property of this MultiCloudResourceDiscovery.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MultiCloudResourceDiscovery.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MultiCloudResourceDiscovery.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MultiCloudResourceDiscovery.
-
compartment_id
¶ [Required] Gets the compartment_id of this MultiCloudResourceDiscovery. The OCID of the compartment that contains Multi Cloud Discovery Resource.
Returns: The compartment_id of this MultiCloudResourceDiscovery. Return type: str
Gets the defined_tags of this MultiCloudResourceDiscovery. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this MultiCloudResourceDiscovery. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this MultiCloudResourceDiscovery. Display name of Multi Cloud Discovery Resource.
Returns: The display_name of this MultiCloudResourceDiscovery. Return type: str
Gets the freeform_tags of this MultiCloudResourceDiscovery. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this MultiCloudResourceDiscovery. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this MultiCloudResourceDiscovery. The OCID of the Multi Cloud Discovery Resource.
Returns: The id of this MultiCloudResourceDiscovery. Return type: str
-
last_modification
¶ Gets the last_modification of this MultiCloudResourceDiscovery. Description of the latest modification of the Multi Cloud Discovery Resource.
Returns: The last_modification of this MultiCloudResourceDiscovery. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this MultiCloudResourceDiscovery. The current lifecycle state of the discovered resource.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “WAITING”, “SUCCEEDED”, “UPDATING”, “CANCELING”, “CANCELED”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this MultiCloudResourceDiscovery. Return type: str
-
lifecycle_state_details
¶ Gets the lifecycle_state_details of this MultiCloudResourceDiscovery. Description of the current lifecycle state in more detail.
Returns: The lifecycle_state_details of this MultiCloudResourceDiscovery. Return type: str
-
oracle_db_connector_id
¶ [Required] Gets the oracle_db_connector_id of this MultiCloudResourceDiscovery. The OCID of the Oracle DB Connector Resource.
Returns: The oracle_db_connector_id of this MultiCloudResourceDiscovery. Return type: str
-
resource_type
¶ [Required] Gets the resource_type of this MultiCloudResourceDiscovery. Resource Type to discover.
Allowed values for this property are: “VAULTS”, “STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The resource_type of this MultiCloudResourceDiscovery. Return type: str
-
resources
¶ Gets the resources of this MultiCloudResourceDiscovery. List of All Discovered resources.
Returns: The resources of this MultiCloudResourceDiscovery. Return type: list[oci.dbmulticloud.models.Resources]
Gets the system_tags of this MultiCloudResourceDiscovery. System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this MultiCloudResourceDiscovery. Return type: dict(str, dict(str, object))
-