Creates and executes a historic ADDM task using the specified AWR snapshot IDs.
POST {{baseUrl}}/managedDatabases/:managedDatabaseId/actions/runHistoricAddm
Creates and executes a historic ADDM task using the specified AWR snapshot IDs. If an existing ADDM task uses the provided awr snapshot IDs, the existing task will be returned.
Request Body
{"startSnapshotId"=>"<long>", "endSnapshotId"=>"<long>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations. For example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
might be rejected. | |||
opc-request-id | string | Unique identifier for the request. | |
opc-named-credential-id | string | The OCID of the Named Credential. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"timeCreated":"\u003cdateTime\u003e","taskId":"\u003clong\u003e","beginSnapshotId":"\u003clong\u003e","dbUser":"\u003cstring\u003e","description":"\u003cstring\u003e","endSnapshotId":"\u003clong\u003e","endSnapshotTime":"\u003cdateTime\u003e","findings":"\u003clong\u003e","howCreated":"AUTO","isNewlyCreated":"\u003cboolean\u003e","startSnapshotTime":"\u003cdateTime\u003e","status":"COMPLETED","taskName":"\u003cstring\u003e"}