MultiCloudResourceDiscovery¶
- class oci.dbmulticloud.models.MultiCloudResourceDiscovery(**kwargs)¶
Bases:
objectMulticloud Resource Discovery resource object
Attributes:
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery.
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery.
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery.
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery.
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery.
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery.
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery.
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery.
A constant which can be used with the lifecycle_state property of a MultiCloudResourceDiscovery.
A constant which can be used with the resource_type property of a MultiCloudResourceDiscovery.
A constant which can be used with the resource_type property of a MultiCloudResourceDiscovery.
A constant which can be used with the resource_type property of a MultiCloudResourceDiscovery.
A constant which can be used with the resource_type property of a MultiCloudResourceDiscovery.
[Required] Gets the compartment_id of this MultiCloudResourceDiscovery.
Gets the defined_tags of this MultiCloudResourceDiscovery.
[Required] Gets the display_name of this MultiCloudResourceDiscovery.
Gets the freeform_tags of this MultiCloudResourceDiscovery.
[Required] Gets the id of this MultiCloudResourceDiscovery.
Gets the last_modification of this MultiCloudResourceDiscovery.
Gets the lifecycle_state of this MultiCloudResourceDiscovery.
Gets the lifecycle_state_details of this MultiCloudResourceDiscovery.
[Required] Gets the oracle_db_connector_id of this MultiCloudResourceDiscovery.
[Required] Gets the resource_type of this MultiCloudResourceDiscovery.
Gets the resources of this MultiCloudResourceDiscovery.
Gets the resources_filter of this MultiCloudResourceDiscovery.
Gets the system_tags of this MultiCloudResourceDiscovery.
Gets the time_created of this MultiCloudResourceDiscovery.
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_AWS_KEYS = 'AWS_KEYS'¶
A constant which can be used with the resource_type property of a MultiCloudResourceDiscovery. This constant has a value of “AWS_KEYS”
- 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”, “AWS_KEYS”, ‘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.
- property 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
- property defined_tags¶
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))
- property 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
- property freeform_tags¶
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)
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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”, “AWS_KEYS”, ‘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
- property resources¶
Gets the resources of this MultiCloudResourceDiscovery. List of All Discovered resources.
- Returns
The resources of this MultiCloudResourceDiscovery.
- Return type
- property 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)
- property system_tags¶
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))