CreateAwrHubSourceDetails¶
-
class
oci.opsi.models.
CreateAwrHubSourceDetails
(**kwargs)¶ Bases:
object
payload to register Awr Hub source
Attributes
TYPE_ADW_D
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_ADW_S
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_ATP_D
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_ATP_S
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_COMANAGED_BM_CDB
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_COMANAGED_BM_NONCDB
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_COMANAGED_BM_PDB
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_COMANAGED_EXACS_CDB
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_COMANAGED_EXACS_NONCDB
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_COMANAGED_EXACS_PDB
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_COMANAGED_VM_CDB
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_COMANAGED_VM_NONCDB
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_COMANAGED_VM_PDB
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_EXTERNAL_NONCDB
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_EXTERNAL_PDB
A constant which can be used with the type property of a CreateAwrHubSourceDetails. TYPE_UNDEFINED
A constant which can be used with the type property of a CreateAwrHubSourceDetails. associated_opsi_id
Gets the associated_opsi_id of this CreateAwrHubSourceDetails. associated_resource_id
Gets the associated_resource_id of this CreateAwrHubSourceDetails. awr_hub_id
[Required] Gets the awr_hub_id of this CreateAwrHubSourceDetails. compartment_id
[Required] Gets the compartment_id of this CreateAwrHubSourceDetails. defined_tags
Gets the defined_tags of this CreateAwrHubSourceDetails. freeform_tags
Gets the freeform_tags of this CreateAwrHubSourceDetails. name
[Required] Gets the name of this CreateAwrHubSourceDetails. type
[Required] Gets the type of this CreateAwrHubSourceDetails. Methods
__init__
(**kwargs)Initializes a new CreateAwrHubSourceDetails object with values from keyword arguments. -
TYPE_ADW_D
= 'ADW_D'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “ADW_D”
-
TYPE_ADW_S
= 'ADW_S'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “ADW_S”
-
TYPE_ATP_D
= 'ATP_D'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “ATP_D”
-
TYPE_ATP_S
= 'ATP_S'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “ATP_S”
-
TYPE_COMANAGED_BM_CDB
= 'COMANAGED_BM_CDB'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “COMANAGED_BM_CDB”
-
TYPE_COMANAGED_BM_NONCDB
= 'COMANAGED_BM_NONCDB'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “COMANAGED_BM_NONCDB”
-
TYPE_COMANAGED_BM_PDB
= 'COMANAGED_BM_PDB'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “COMANAGED_BM_PDB”
-
TYPE_COMANAGED_EXACS_CDB
= 'COMANAGED_EXACS_CDB'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “COMANAGED_EXACS_CDB”
-
TYPE_COMANAGED_EXACS_NONCDB
= 'COMANAGED_EXACS_NONCDB'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “COMANAGED_EXACS_NONCDB”
-
TYPE_COMANAGED_EXACS_PDB
= 'COMANAGED_EXACS_PDB'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “COMANAGED_EXACS_PDB”
-
TYPE_COMANAGED_VM_CDB
= 'COMANAGED_VM_CDB'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “COMANAGED_VM_CDB”
-
TYPE_COMANAGED_VM_NONCDB
= 'COMANAGED_VM_NONCDB'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “COMANAGED_VM_NONCDB”
-
TYPE_COMANAGED_VM_PDB
= 'COMANAGED_VM_PDB'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “COMANAGED_VM_PDB”
-
TYPE_EXTERNAL_NONCDB
= 'EXTERNAL_NONCDB'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “EXTERNAL_NONCDB”
-
TYPE_EXTERNAL_PDB
= 'EXTERNAL_PDB'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “EXTERNAL_PDB”
-
TYPE_UNDEFINED
= 'UNDEFINED'¶ A constant which can be used with the type property of a CreateAwrHubSourceDetails. This constant has a value of “UNDEFINED”
-
__init__
(**kwargs)¶ Initializes a new CreateAwrHubSourceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this CreateAwrHubSourceDetails.
- awr_hub_id (str) – The value to assign to the awr_hub_id property of this CreateAwrHubSourceDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateAwrHubSourceDetails.
- associated_resource_id (str) – The value to assign to the associated_resource_id property of this CreateAwrHubSourceDetails.
- associated_opsi_id (str) – The value to assign to the associated_opsi_id property of this CreateAwrHubSourceDetails.
- type (str) – The value to assign to the type property of this CreateAwrHubSourceDetails. Allowed values for this property are: “ADW_S”, “ATP_S”, “ADW_D”, “ATP_D”, “EXTERNAL_PDB”, “EXTERNAL_NONCDB”, “COMANAGED_VM_CDB”, “COMANAGED_VM_PDB”, “COMANAGED_VM_NONCDB”, “COMANAGED_BM_CDB”, “COMANAGED_BM_PDB”, “COMANAGED_BM_NONCDB”, “COMANAGED_EXACS_CDB”, “COMANAGED_EXACS_PDB”, “COMANAGED_EXACS_NONCDB”, “UNDEFINED”
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateAwrHubSourceDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateAwrHubSourceDetails.
-
associated_opsi_id
¶ Gets the associated_opsi_id of this CreateAwrHubSourceDetails. The OCID of the database id.
Returns: The associated_opsi_id of this CreateAwrHubSourceDetails. Return type: str
-
associated_resource_id
¶ Gets the associated_resource_id of this CreateAwrHubSourceDetails. The OCID of the database id.
Returns: The associated_resource_id of this CreateAwrHubSourceDetails. Return type: str
-
awr_hub_id
¶ [Required] Gets the awr_hub_id of this CreateAwrHubSourceDetails. AWR Hub OCID
Returns: The awr_hub_id of this CreateAwrHubSourceDetails. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateAwrHubSourceDetails. The OCID of the compartment.
Returns: The compartment_id of this CreateAwrHubSourceDetails. Return type: str
Gets the defined_tags of this CreateAwrHubSourceDetails. 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 CreateAwrHubSourceDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this CreateAwrHubSourceDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateAwrHubSourceDetails. Return type: dict(str, str)
-
name
¶ [Required] Gets the name of this CreateAwrHubSourceDetails. The name of the Awr Hub source database.
Returns: The name of this CreateAwrHubSourceDetails. Return type: str
-
type
¶ [Required] Gets the type of this CreateAwrHubSourceDetails. source type of the database
Allowed values for this property are: “ADW_S”, “ATP_S”, “ADW_D”, “ATP_D”, “EXTERNAL_PDB”, “EXTERNAL_NONCDB”, “COMANAGED_VM_CDB”, “COMANAGED_VM_PDB”, “COMANAGED_VM_NONCDB”, “COMANAGED_BM_CDB”, “COMANAGED_BM_PDB”, “COMANAGED_BM_NONCDB”, “COMANAGED_EXACS_CDB”, “COMANAGED_EXACS_PDB”, “COMANAGED_EXACS_NONCDB”, “UNDEFINED”
Returns: The type of this CreateAwrHubSourceDetails. Return type: str
-