Get the create samples for the target type

get

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/targetTypes/{type}/targetCreateSamples

This api returns the list of create samples for the given target type. To get the correct samples the user can specify the agent which will host the new target or the target id or name of an existing target of that type. Without specifying the agent or target the samples returned will be the ones for the latest known type metaver. The samples will contain all data needed to create a target but the values will have to be edited by the user.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful Response
Body ()
Root Schema : schema
Type: array
the create templates
Show Source
Nested Schema : TargetCreateSample
Type: object
This is a target reference.
Show Source
Nested Schema : TargetCreatePayload
Type: object
Payload needed for a target creation request.
Show Source
Nested Schema : NameTypePair
Type: object
A pair of name and type.
Show Source
Nested Schema : credentials
Type: object
Additional Properties Allowed
Show Source
the target credentials
Nested Schema : instances
Type: array
the instances that the target shall be connected to (only applicable for RAC targets)
Show Source
Nested Schema : monitoringCredentials
Type: array
the targets monitoring credentials
Show Source
Nested Schema : properties
Type: array
the target properties. This can be global target properties, type specific target properties or user defined properties
Show Source
Nested Schema : MonitoringCredential
Type: object
A monitoring credential is used to describe which credential set and attributes is used to access a target.
Show Source
Nested Schema : attributes
Type: array
Additional Properties Allowed
Show Source
the attributes of the credential
Show Source
Example:
[
    {
        "name":"UserName",
        "value":"MyUserName"
    },
    {
        "name":"Password",
        "value":"MyPassword"
    }
]
Nested Schema : NameValuePair
Type: object
A pair of name and value.
Show Source
Nested Schema : TargetPropertySummary
Type: object
A target property describes a property of a target by id, name, display name and the value
Show Source

401 Response

client is not authenticated
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

404 Response

target not found or not authorized
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

500 Response

internal error serving the request
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

503 Response

indicates that a required service is not available.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top