Get the targets in a blackout
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/blackouts/{blackoutId}/targets
This API returns the targets contained in the blackout.
Request
Path Parameters
-
blackoutId(required): string
blackout id
Query Parameters
-
limit: integer(int32)
Minimum Value:
1
Maximum Value:2000
To limit the number of rows returned. If the result set is greater, follow the previous and next links in the results.Example:20
-
name: array[string]
Name of the target.
-
nameMatches: array[string]
Name match of the target.
-
page: string
System generated page token used in the self, next and previous links.
-
sort: string
The sort field and direction. Allowed sort fields are name and id. Allowed directions are ASC and DESC.Example:
id:ASC
-
typeName: array[string]
Type name of the target.
-
typeNameMatches: array[string]
Type name match of the target.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
OK
Root Schema : TargetCollection
Type:
object
This is the representation of list of target summaries.
Show Source
-
count(required): integer
Number of targets in this page.Example:
1
-
items(required): array
items
Target summaries.
-
links(required): object
links
Result set navigation links.
Nested Schema : items
Type:
array
Target summaries.
Show Source
-
Array of:
object TargetSummary
Summary information about a target.
Nested Schema : TargetSummary
Type:
object
Summary information about a target.
Show Source
-
displayName(required): string
Display of the targetExample:
My Database Instance
-
id(required): string
Target IDExample:
D91786E288D35455C3ADA1B329B49BB5
-
links: object
links
Target related links
-
name(required): string
Target NameExample:
my_database
-
owner(required): string
Owner of the targetExample:
SYSMAN
-
status: string
Allowed Values:
[ "DOWN", "UP", "METRIC_ERROR", "AGENT_DOWN", "UNREACHABLE", "BLACKOUT", "PENDING", "REMOTE_HOST_UNREACHABLE" ]
This is the representation of a target status.Example:UP
-
statusDisplayName: string
Localized statusExample:
Hochgefahren
-
statusIconPath: string
Path to the status icon which is used in UIExample:
/sdk/core/uifwk/images/status/stat_arrowup_16.png
-
typeDisplayName(required): string
Localized type display name of the targetExample:
Datenbankinstanz
-
typeName(required): string
Target Type NameExample:
oracle_database
401 Response
Client is not authenticated.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
404 Response
Resource not found or not authorized
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
500 Response
Internal error serving the request.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
503 Response
Indicates that a required service is not available.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported