CreateLogGroupDetails¶
-
class
oci.logging.models.CreateLogGroupDetails(**kwargs)¶ Bases:
objectThe details to create a log group.
Methods
__init__(**kwargs)Initializes a new CreateLogGroupDetails object with values from keyword arguments. Attributes
compartment_id[Required] Gets the compartment_id of this CreateLogGroupDetails. defined_tagsGets the defined_tags of this CreateLogGroupDetails. descriptionGets the description of this CreateLogGroupDetails. display_name[Required] Gets the display_name of this CreateLogGroupDetails. freeform_tagsGets the freeform_tags of this CreateLogGroupDetails. -
__init__(**kwargs)¶ Initializes a new CreateLogGroupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateLogGroupDetails.
- display_name (str) – The value to assign to the display_name property of this CreateLogGroupDetails.
- description (str) – The value to assign to the description property of this CreateLogGroupDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateLogGroupDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateLogGroupDetails.
-
compartment_id¶ [Required] Gets the compartment_id of this CreateLogGroupDetails. The OCID of the compartment that the resource belongs to.
Returns: The compartment_id of this CreateLogGroupDetails. Return type: str
Gets the defined_tags of this CreateLogGroupDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CreateLogGroupDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CreateLogGroupDetails. Description for this resource.
Returns: The description of this CreateLogGroupDetails. Return type: str
-
display_name¶ [Required] Gets the display_name of this CreateLogGroupDetails. The user-friendly display name. This must be unique within the enclosing resource, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this CreateLogGroupDetails. Return type: str
Gets the freeform_tags of this CreateLogGroupDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
Returns: The freeform_tags of this CreateLogGroupDetails. Return type: dict(str, str)
-