LogAnalyticsResourceCategory¶
-
class
oci.log_analytics.models.LogAnalyticsResourceCategory(**kwargs)¶ Bases:
objectA resource and its category.
Methods
__init__(**kwargs)Initializes a new LogAnalyticsResourceCategory object with values from keyword arguments. Attributes
category_nameGets the category_name of this LogAnalyticsResourceCategory. compartment_idGets the compartment_id of this LogAnalyticsResourceCategory. is_systemGets the is_system of this LogAnalyticsResourceCategory. resource_display_nameGets the resource_display_name of this LogAnalyticsResourceCategory. resource_idGets the resource_id of this LogAnalyticsResourceCategory. resource_typeGets the resource_type of this LogAnalyticsResourceCategory. -
__init__(**kwargs)¶ Initializes a new LogAnalyticsResourceCategory object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - resource_id (str) – The value to assign to the resource_id property of this LogAnalyticsResourceCategory.
- resource_type (str) – The value to assign to the resource_type property of this LogAnalyticsResourceCategory.
- category_name (str) – The value to assign to the category_name property of this LogAnalyticsResourceCategory.
- is_system (bool) – The value to assign to the is_system property of this LogAnalyticsResourceCategory.
- resource_display_name (str) – The value to assign to the resource_display_name property of this LogAnalyticsResourceCategory.
- compartment_id (str) – The value to assign to the compartment_id property of this LogAnalyticsResourceCategory.
-
category_name¶ Gets the category_name of this LogAnalyticsResourceCategory. The category name to which this resource belongs.
Returns: The category_name of this LogAnalyticsResourceCategory. Return type: str
-
compartment_id¶ Gets the compartment_id of this LogAnalyticsResourceCategory. Compartment ID of the resource
Returns: The compartment_id of this LogAnalyticsResourceCategory. Return type: str
-
is_system¶ Gets the is_system of this LogAnalyticsResourceCategory. The system flag. A value of false denotes a user-created category assignment. A value of true denotes an Oracle-defined category assignment.
Returns: The is_system of this LogAnalyticsResourceCategory. Return type: bool
-
resource_display_name¶ Gets the resource_display_name of this LogAnalyticsResourceCategory. The resource display name.
Returns: The resource_display_name of this LogAnalyticsResourceCategory. Return type: str
-
resource_id¶ Gets the resource_id of this LogAnalyticsResourceCategory. The unique identifier of the resource, usually a name or ocid.
Returns: The resource_id of this LogAnalyticsResourceCategory. Return type: str
-
resource_type¶ Gets the resource_type of this LogAnalyticsResourceCategory. The resource type.
Returns: The resource_type of this LogAnalyticsResourceCategory. Return type: str
-