MultiCloudResourceDiscovery¶
-
class
oci.dbmulticloud.models.MultiCloudResourceDiscovery(**kwargs)¶ Bases:
objectMulticloud Resource Discovery resource object
Attributes
LIFECYCLE_STATE_ACCEPTEDA constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_CANCELEDA constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_CANCELINGA constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_IN_PROGRESSA constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_NEEDS_ATTENTIONA constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_SUCCEEDEDA constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. LIFECYCLE_STATE_WAITINGA constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery. RESOURCE_TYPE_GCP_KEY_RINGSA constant which can be used with the resource_type property of a MultiCloudResourceDiscovery. RESOURCE_TYPE_STORAGEA constant which can be used with the resource_type property of a MultiCloudResourceDiscovery. RESOURCE_TYPE_VAULTSA constant which can be used with the resource_type property of a MultiCloudResourceDiscovery. compartment_id[Required] Gets the compartment_id of this MultiCloudResourceDiscovery. defined_tagsGets the defined_tags of this MultiCloudResourceDiscovery. display_name[Required] Gets the display_name of this MultiCloudResourceDiscovery. freeform_tagsGets the freeform_tags of this MultiCloudResourceDiscovery. id[Required] Gets the id of this MultiCloudResourceDiscovery. last_modificationGets the last_modification of this MultiCloudResourceDiscovery. lifecycle_stateGets the lifecycle_state of this MultiCloudResourceDiscovery. lifecycle_state_detailsGets 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. resourcesGets the resources of this MultiCloudResourceDiscovery. resources_filterGets the resources_filter of this MultiCloudResourceDiscovery. system_tagsGets the system_tags of this MultiCloudResourceDiscovery. time_createdGets the time_created of this MultiCloudResourceDiscovery. time_updatedGets 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_GCP_KEY_RINGS= 'GCP_KEY_RINGS'¶ A constant which can be used with the resource_type property of a MultiCloudResourceDiscovery. This constant has a value of “GCP_KEY_RINGS”
-
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_filter (dict(str, str)) – The value to assign to the resources_filter 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”, “GCP_KEY_RINGS”, ‘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 Multicloud Resource 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 the Multicloud Resource 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 Multicloud Resource 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 Multicloud Resource 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”, “GCP_KEY_RINGS”, ‘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]
-
resources_filter¶ Gets the resources_filter of this MultiCloudResourceDiscovery. Discover resource using attributes as key-value pair. For GCP supported attributes (keyRing) For Azure supported attributes (keyVault) GCP Example {“keyRing”: “projects/db-mc-dataplane/locations/global/keyRings/dbmci-keyring”} or {“keyRing”: “dbmci-keyring”} Azure Example {“keyVault”: “/subscriptions/fd42b73d-5f28-4a23-ae7c-ca08c625fe07/resourceGroups/yumfei0808Test/providers/Microsoft.KeyVault/managedHSMs/orp7HSM001”} or {“keyVault”: “orp7HSM001”}
Returns: The resources_filter of this MultiCloudResourceDiscovery. Return type: dict(str, str)
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))
-