OciLoggingConfiguration¶
-
class
oci.batch.models.OciLoggingConfiguration(**kwargs)¶ Bases:
oci.batch.models.logging_configuration.LoggingConfigurationLogging configuration for OCI Logging service.
Attributes
TYPE_OCI_LOGGINGstr(object=’’) -> str log_group_id[Required] Gets the log_group_id of this OciLoggingConfiguration. log_id[Required] Gets the log_id of this OciLoggingConfiguration. type[Required] Gets the type of this LoggingConfiguration. Methods
__init__(**kwargs)Initializes a new OciLoggingConfiguration object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
TYPE_OCI_LOGGING= 'OCI_LOGGING'¶
-
__init__(**kwargs)¶ Initializes a new OciLoggingConfiguration object with values from keyword arguments. The default value of the
typeattribute of this class isOCI_LOGGINGand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this OciLoggingConfiguration. Allowed values for this property are: “OCI_LOGGING”
- log_group_id (str) – The value to assign to the log_group_id property of this OciLoggingConfiguration.
- log_id (str) – The value to assign to the log_id property of this OciLoggingConfiguration.
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
log_group_id¶ [Required] Gets the log_group_id of this OciLoggingConfiguration. The OCID of the log group.
Returns: The log_group_id of this OciLoggingConfiguration. Return type: str
-
log_id¶ [Required] Gets the log_id of this OciLoggingConfiguration. The OCID of the log.
Returns: The log_id of this OciLoggingConfiguration. Return type: str
-
type¶ [Required] Gets the type of this LoggingConfiguration. Discriminator for sub-entities.
Allowed values for this property are: “OCI_LOGGING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this LoggingConfiguration. Return type: str
-