CreateMonitoredResourceDetails¶
-
class
oci.stack_monitoring.models.CreateMonitoredResourceDetails(**kwargs)¶ Bases:
objectThe information about new monitored resource to be created. The combination of monitored resource name and type should be unique across tenancy.
Attributes
LICENSE_ENTERPRISE_EDITIONA constant which can be used with the license property of a CreateMonitoredResourceDetails. LICENSE_ENTERPRISE_EDITION_FOR_GPU_INFRASTRUCTUREA constant which can be used with the license property of a CreateMonitoredResourceDetails. LICENSE_STANDARD_EDITIONA constant which can be used with the license property of a CreateMonitoredResourceDetails. additional_aliasesGets the additional_aliases of this CreateMonitoredResourceDetails. additional_credentialsGets the additional_credentials of this CreateMonitoredResourceDetails. aliasesGets the aliases of this CreateMonitoredResourceDetails. compartment_id[Required] Gets the compartment_id of this CreateMonitoredResourceDetails. credentialsGets the credentials of this CreateMonitoredResourceDetails. database_connection_detailsGets the database_connection_details of this CreateMonitoredResourceDetails. defined_tagsGets the defined_tags of this CreateMonitoredResourceDetails. display_nameGets the display_name of this CreateMonitoredResourceDetails. external_idGets the external_id of this CreateMonitoredResourceDetails. freeform_tagsGets the freeform_tags of this CreateMonitoredResourceDetails. host_nameGets the host_name of this CreateMonitoredResourceDetails. licenseGets the license of this CreateMonitoredResourceDetails. management_agent_idGets the management_agent_id of this CreateMonitoredResourceDetails. name[Required] Gets the name of this CreateMonitoredResourceDetails. propertiesGets the properties of this CreateMonitoredResourceDetails. resource_time_zoneGets the resource_time_zone of this CreateMonitoredResourceDetails. type[Required] Gets the type of this CreateMonitoredResourceDetails. Methods
__init__(**kwargs)Initializes a new CreateMonitoredResourceDetails object with values from keyword arguments. -
LICENSE_ENTERPRISE_EDITION= 'ENTERPRISE_EDITION'¶ A constant which can be used with the license property of a CreateMonitoredResourceDetails. This constant has a value of “ENTERPRISE_EDITION”
-
LICENSE_ENTERPRISE_EDITION_FOR_GPU_INFRASTRUCTURE= 'ENTERPRISE_EDITION_FOR_GPU_INFRASTRUCTURE'¶ A constant which can be used with the license property of a CreateMonitoredResourceDetails. This constant has a value of “ENTERPRISE_EDITION_FOR_GPU_INFRASTRUCTURE”
-
LICENSE_STANDARD_EDITION= 'STANDARD_EDITION'¶ A constant which can be used with the license property of a CreateMonitoredResourceDetails. This constant has a value of “STANDARD_EDITION”
-
__init__(**kwargs)¶ Initializes a new CreateMonitoredResourceDetails 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 CreateMonitoredResourceDetails.
- display_name (str) – The value to assign to the display_name property of this CreateMonitoredResourceDetails.
- type (str) – The value to assign to the type property of this CreateMonitoredResourceDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateMonitoredResourceDetails.
- host_name (str) – The value to assign to the host_name property of this CreateMonitoredResourceDetails.
- external_id (str) – The value to assign to the external_id property of this CreateMonitoredResourceDetails.
- management_agent_id (str) – The value to assign to the management_agent_id property of this CreateMonitoredResourceDetails.
- resource_time_zone (str) – The value to assign to the resource_time_zone property of this CreateMonitoredResourceDetails.
- license (str) – The value to assign to the license property of this CreateMonitoredResourceDetails. Allowed values for this property are: “STANDARD_EDITION”, “ENTERPRISE_EDITION”, “ENTERPRISE_EDITION_FOR_GPU_INFRASTRUCTURE”
- properties (list[oci.stack_monitoring.models.MonitoredResourceProperty]) – The value to assign to the properties property of this CreateMonitoredResourceDetails.
- database_connection_details (oci.stack_monitoring.models.ConnectionDetails) – The value to assign to the database_connection_details property of this CreateMonitoredResourceDetails.
- credentials (oci.stack_monitoring.models.MonitoredResourceCredential) – The value to assign to the credentials property of this CreateMonitoredResourceDetails.
- aliases (oci.stack_monitoring.models.MonitoredResourceAliasCredential) – The value to assign to the aliases property of this CreateMonitoredResourceDetails.
- additional_credentials (list[oci.stack_monitoring.models.MonitoredResourceCredential]) – The value to assign to the additional_credentials property of this CreateMonitoredResourceDetails.
- additional_aliases (list[oci.stack_monitoring.models.MonitoredResourceAliasCredential]) – The value to assign to the additional_aliases property of this CreateMonitoredResourceDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMonitoredResourceDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMonitoredResourceDetails.
-
additional_aliases¶ Gets the additional_aliases of this CreateMonitoredResourceDetails. List of MonitoredResourceAliasCredentials. This property complements the existing “aliases” property by allowing user to specify more than one credential alias. If both “aliases” and “additionalAliases” are specified, union of the values is used as list of aliases applicable for this resource. If any duplicate found in the combined list of “alias” and “additionalAliases”, an error will be thrown.
Returns: The additional_aliases of this CreateMonitoredResourceDetails. Return type: list[oci.stack_monitoring.models.MonitoredResourceAliasCredential]
-
additional_credentials¶ Gets the additional_credentials of this CreateMonitoredResourceDetails. List of MonitoredResourceCredentials. This property complements the existing “credentials” property by allowing user to specify more than one credential. If both “credential” and “additionalCredentials” are specified, union of the values is used as list of credentials applicable for this resource. If any duplicate found in the combined list of “credentials” and “additionalCredentials”, an error will be thrown.
Returns: The additional_credentials of this CreateMonitoredResourceDetails. Return type: list[oci.stack_monitoring.models.MonitoredResourceCredential]
-
aliases¶ Gets the aliases of this CreateMonitoredResourceDetails.
Returns: The aliases of this CreateMonitoredResourceDetails. Return type: oci.stack_monitoring.models.MonitoredResourceAliasCredential
-
compartment_id¶ [Required] Gets the compartment_id of this CreateMonitoredResourceDetails. Compartment Identifier OCID.
Returns: The compartment_id of this CreateMonitoredResourceDetails. Return type: str
-
credentials¶ Gets the credentials of this CreateMonitoredResourceDetails.
Returns: The credentials of this CreateMonitoredResourceDetails. Return type: oci.stack_monitoring.models.MonitoredResourceCredential
-
database_connection_details¶ Gets the database_connection_details of this CreateMonitoredResourceDetails.
Returns: The database_connection_details of this CreateMonitoredResourceDetails. Return type: oci.stack_monitoring.models.ConnectionDetails
Gets the defined_tags of this CreateMonitoredResourceDetails. 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 CreateMonitoredResourceDetails. Return type: dict(str, dict(str, object))
-
display_name¶ Gets the display_name of this CreateMonitoredResourceDetails. Monitored resource display name.
Returns: The display_name of this CreateMonitoredResourceDetails. Return type: str
-
external_id¶ Gets the external_id of this CreateMonitoredResourceDetails. External resource is any OCI resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only OCI compute instance.
Returns: The external_id of this CreateMonitoredResourceDetails. Return type: str
Gets the freeform_tags of this CreateMonitoredResourceDetails. 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 CreateMonitoredResourceDetails. Return type: dict(str, str)
-
host_name¶ Gets the host_name of this CreateMonitoredResourceDetails. Host name of the monitored resource.
Returns: The host_name of this CreateMonitoredResourceDetails. Return type: str
-
license¶ Gets the license of this CreateMonitoredResourceDetails. License edition of the monitored resource. If not provided the default license type for the compartment will be used.
Allowed values for this property are: “STANDARD_EDITION”, “ENTERPRISE_EDITION”, “ENTERPRISE_EDITION_FOR_GPU_INFRASTRUCTURE”
Returns: The license of this CreateMonitoredResourceDetails. Return type: str
-
management_agent_id¶ Gets the management_agent_id of this CreateMonitoredResourceDetails. Management Agent Identifier OCID.
Returns: The management_agent_id of this CreateMonitoredResourceDetails. Return type: str
-
name¶ [Required] Gets the name of this CreateMonitoredResourceDetails. Monitored Resource Name.
Returns: The name of this CreateMonitoredResourceDetails. Return type: str
-
properties¶ Gets the properties of this CreateMonitoredResourceDetails. List of monitored resource properties.
Returns: The properties of this CreateMonitoredResourceDetails. Return type: list[oci.stack_monitoring.models.MonitoredResourceProperty]
-
resource_time_zone¶ Gets the resource_time_zone of this CreateMonitoredResourceDetails. Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
Returns: The resource_time_zone of this CreateMonitoredResourceDetails. Return type: str
-
type¶ [Required] Gets the type of this CreateMonitoredResourceDetails. Monitored Resource Type.
Returns: The type of this CreateMonitoredResourceDetails. Return type: str
-