CreateCloudDbSystemDiscoveryDetails¶
- class oci.database_management.models.CreateCloudDbSystemDiscoveryDetails(**kwargs)¶
Bases:
objectThe details required to create a cloud DB system discovery resource.
Attributes:
A constant which can be used with the deployment_type property of a CreateCloudDbSystemDiscoveryDetails.
A constant which can be used with the deployment_type property of a CreateCloudDbSystemDiscoveryDetails.
A constant which can be used with the deployment_type property of a CreateCloudDbSystemDiscoveryDetails.
A constant which can be used with the deployment_type property of a CreateCloudDbSystemDiscoveryDetails.
[Required] Gets the agent_id of this CreateCloudDbSystemDiscoveryDetails.
[Required] Gets the compartment_id of this CreateCloudDbSystemDiscoveryDetails.
[Required] Gets the dbaas_parent_infrastructure_id of this CreateCloudDbSystemDiscoveryDetails.
Gets the defined_tags of this CreateCloudDbSystemDiscoveryDetails.
[Required] Gets the deployment_type of this CreateCloudDbSystemDiscoveryDetails.
Gets the display_name of this CreateCloudDbSystemDiscoveryDetails.
Gets the freeform_tags of this CreateCloudDbSystemDiscoveryDetails.
Methods:
__init__(**kwargs)Initializes a new CreateCloudDbSystemDiscoveryDetails object with values from keyword arguments.
- DEPLOYMENT_TYPE_EXADATA = 'EXADATA'¶
A constant which can be used with the deployment_type property of a CreateCloudDbSystemDiscoveryDetails. This constant has a value of “EXADATA”
- DEPLOYMENT_TYPE_EXADATA_CC = 'EXADATA_CC'¶
A constant which can be used with the deployment_type property of a CreateCloudDbSystemDiscoveryDetails. This constant has a value of “EXADATA_CC”
- DEPLOYMENT_TYPE_EXADATA_XS = 'EXADATA_XS'¶
A constant which can be used with the deployment_type property of a CreateCloudDbSystemDiscoveryDetails. This constant has a value of “EXADATA_XS”
- DEPLOYMENT_TYPE_VM = 'VM'¶
A constant which can be used with the deployment_type property of a CreateCloudDbSystemDiscoveryDetails. This constant has a value of “VM”
- __init__(**kwargs)¶
Initializes a new CreateCloudDbSystemDiscoveryDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateCloudDbSystemDiscoveryDetails.
agent_id (str) – The value to assign to the agent_id property of this CreateCloudDbSystemDiscoveryDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateCloudDbSystemDiscoveryDetails.
dbaas_parent_infrastructure_id (str) – The value to assign to the dbaas_parent_infrastructure_id property of this CreateCloudDbSystemDiscoveryDetails.
deployment_type (str) – The value to assign to the deployment_type property of this CreateCloudDbSystemDiscoveryDetails. Allowed values for this property are: “VM”, “EXADATA”, “EXADATA_CC”, “EXADATA_XS”
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateCloudDbSystemDiscoveryDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateCloudDbSystemDiscoveryDetails.
- property agent_id¶
[Required] Gets the agent_id of this CreateCloudDbSystemDiscoveryDetails. The OCID of the management agent used for the cloud DB system discovery.
- Returns
The agent_id of this CreateCloudDbSystemDiscoveryDetails.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this CreateCloudDbSystemDiscoveryDetails. The OCID of the compartment in which the cloud DB system resides.
- Returns
The compartment_id of this CreateCloudDbSystemDiscoveryDetails.
- Return type
str
- property dbaas_parent_infrastructure_id¶
[Required] Gets the dbaas_parent_infrastructure_id of this CreateCloudDbSystemDiscoveryDetails. The OCID of the parent cloud DB Infrastructure. For VM DB systems, it will be the DBSystem ID. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
- Returns
The dbaas_parent_infrastructure_id of this CreateCloudDbSystemDiscoveryDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateCloudDbSystemDiscoveryDetails. 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 CreateCloudDbSystemDiscoveryDetails.
- Return type
dict(str, dict(str, object))
- property deployment_type¶
[Required] Gets the deployment_type of this CreateCloudDbSystemDiscoveryDetails. The deployment type of cloud DB system.
Allowed values for this property are: “VM”, “EXADATA”, “EXADATA_CC”, “EXADATA_XS”
- Returns
The deployment_type of this CreateCloudDbSystemDiscoveryDetails.
- Return type
str
- property display_name¶
Gets the display_name of this CreateCloudDbSystemDiscoveryDetails. The user-friendly name for the DB system. The name does not have to be unique.
- Returns
The display_name of this CreateCloudDbSystemDiscoveryDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateCloudDbSystemDiscoveryDetails. 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 CreateCloudDbSystemDiscoveryDetails.
- Return type
dict(str, str)