{
"operation-name" : "add",
"description" : "Add the audit logger resource.",
"request-properties" : {
"autoflush" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Whether every event should be immediately flushed to disk (If undefined will default to the value of synchronized).",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"encoding" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The audit file encoding. Default is UTF_8.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"format" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The format to use to record the audit event.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "SIMPLE",
"min-length" : 1,
"max-length" : 2147483647,
"allowed" : [
"SIMPLE",
"JSON"
],
"stability" : "default"
},
"suffix" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The suffix string in a format which can be understood by java.time.format.DateTimeFormatter. The period of the rotation is automatically calculated based on the suffix.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"stability" : "default"
},
"synchronized" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Whether every event should be immediately synchronised to disk.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"path" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Path of the file to be written.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"relative-to" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The relative path to the audit log.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"requires" : ["path"],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"restart-required" : "resource-services",
"runtime-only" : false
}