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:
Gets the category_name of this LogAnalyticsResourceCategory.
Gets the compartment_id of this LogAnalyticsResourceCategory.
Gets the is_system of this LogAnalyticsResourceCategory.
Gets the resource_display_name of this LogAnalyticsResourceCategory.
Gets the resource_id of this LogAnalyticsResourceCategory.
Gets 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.
- property 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
- property compartment_id¶
Gets the compartment_id of this LogAnalyticsResourceCategory. Compartment ID of the resource
- Returns
The compartment_id of this LogAnalyticsResourceCategory.
- Return type
str
- property 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
- property 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
- property 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
- property resource_type¶
Gets the resource_type of this LogAnalyticsResourceCategory. The resource type.
- Returns
The resource_type of this LogAnalyticsResourceCategory.
- Return type
str