LogAnalyticsResourceCategory

class oci.log_analytics.models.LogAnalyticsResourceCategory(**kwargs)

Bases: object

A resource and its category.

Methods

__init__(**kwargs) Initializes a new LogAnalyticsResourceCategory object with values from keyword arguments.

Attributes

category_name Gets the category_name of this LogAnalyticsResourceCategory.
is_system Gets the is_system of this LogAnalyticsResourceCategory.
resource_id Gets the resource_id of this LogAnalyticsResourceCategory.
resource_type 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.
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
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_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