Test the monitoring credential against parameters

post

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/namedCredentials/actions/testMonitoringCredential

The monitoring credential is tested against the provided set name, target type and target name or target instance ID.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Schema object to hold Monitoring Credential details for test action.
Match All
Schema object to hold Monitoring Credential details for test action.
Show Source
Nested Schema : TargetAndSetCommon
Type: object
Input for creating a Monitoring Credential
Show Source
Examples

Back to Top

Response

204 Response

Monitoring credential tested successfully

401 Response

Unauthorized
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

403 Response

Forbidden
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

404 Response

Not Found
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

500 Response

Internal Server Error
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

503 Response

Service Unavailable
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported
Back to Top