Create Event Log State
Only Solution users, Container admins, Container developers and System admins can create EventLogStates.
Request
URI
POST
https://{api_host}/container-service/api/resources/event-logs
COPY
Request Body
EventLogState of type(s) application/json
Required
{
"documentExpirationTimeMicros": "string",
"eventLogType": "string",
"documentSelfLink": "string",
"description": "string",
"tenantLinks": [
"string"
],
"documentUpdateTimeMicros": "string",
"resourceType": "string"
}
string
documentExpirationTimeMicros
Optional
documentExpirationTimeMicros
object
customProperties
Optional
customProperties
string
eventLogType
Optional
eventLogType
Possible values are : INFO, WARNING, ERROR,
string
documentSelfLink
Optional
documentSelfLink
string
description
Optional
description
array of string
tenantLinks
Optional
tenantLinks
string
documentUpdateTimeMicros
Optional
documentUpdateTimeMicros
string
resourceType
Optional
resourceType
Responses
200
successful operation
Returns EventLogState of type(s) */*
{
"documentExpirationTimeMicros": "string",
"eventLogType": "string",
"documentSelfLink": "string",
"description": "string",
"tenantLinks": [
"string"
],
"documentUpdateTimeMicros": "string",
"resourceType": "string"
}
string
documentExpirationTimeMicros
Optional
documentExpirationTimeMicros
object
customProperties
Optional
customProperties
string
eventLogType
Optional
eventLogType
Possible values are : INFO, WARNING, ERROR,
string
documentSelfLink
Optional
documentSelfLink
string
description
Optional
description
array of string
tenantLinks
Optional
tenantLinks
string
documentUpdateTimeMicros
Optional
documentUpdateTimeMicros
string
resourceType
Optional
resourceType
201
'Created' is returned for the new state with the state url in the location
header of the response;
Operation doesn't return any data structure