Search for monitoring credentials
post
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/namedCredentials/actions/searchMonitoringCredential
Searches for matching monitoring credentials based on the filters provided in the request payload.
Request
Query Parameters
-
includeTotal: boolean
whether total number of results shall be returned.Example:
true
-
limit: integer
Minimum Value:
1
Maximum Value:2000
Number of Monitoring credentials to be fetchedDefault Value:20
Example:20
-
page: string
system generated page token used in the self, next and previous links.
-
sort: string
the order of the result set with direction. Allowed sort fields are targetTypeName, setName. Allowed directions are ASC and DESC. To sort more than one field, provide comma separated values like field1:direction1,field2:direction2Example:
type:ASC,name:DESC
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Schema object to hold Monitoring Credential search payload
Show Source
-
setName: array
setName
credential set name
-
setNameContains: array
setNameContains
Preferred credential set name pattern to be filtered. Case sensitive.
-
targetName: array
targetName
target name of monitoring credential
-
targetNameContains: array
targetNameContains
Monitoring credetnail target name to be filtered
-
targetTypeName: array
targetTypeName
targetType of monitoring credential
-
targetTypeNameContains: array
targetTypeNameContains
target type name to be filtered
Nested Schema : setName
Type:
array
credential set name
Show Source
-
Array of:
string
Example:
CREDSET1, CREDSET2
Nested Schema : setNameContains
Type:
array
Preferred credential set name pattern to be filtered. Case sensitive.
Show Source
-
Array of:
string
Example:
set1, set2
Nested Schema : targetName
Type:
array
target name of monitoring credential
Show Source
-
Array of:
string
Example:
www.myhost.com1, www.myhost.com2
Nested Schema : targetNameContains
Type:
array
Monitoring credetnail target name to be filtered
Show Source
-
Array of:
string
Example:
myHostName1, myHostName2
Nested Schema : targetTypeName
Type:
array
targetType of monitoring credential
Show Source
-
Array of:
string
Example:
host1, host2
Nested Schema : targetTypeNameContains
Type:
array
target type name to be filtered
Show Source
-
Array of:
string
Example:
type1, type2
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
List of monitoring credentials returned successfully
Root Schema : MonitoringCredentialCollection
Type:
object
This is the representation of list of monitoring credentials.
Show Source
-
count(required): integer
the number of Monitoring credentials in this pageExample:
20
-
items(required): array
items
the Preferred credentials list
-
links(required): object
links
Read Only:
true
the result set navigation links -
total: integer
Total number of items that are available (for all the pages)Example:
101
Nested Schema : items
Type:
array
the Preferred credentials list
Show Source
-
Array of:
object MonitoringCredential
A monitoring credential is used to describe which credential set and attributes is used to access a target.
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
-
attributes: array
attributes
Additional Properties Allowed: additionalPropertiesthe attributes of the credential
-
authenticatingTargetType: string
the authenticating target type of the set
-
credentialType: string
the credential type
-
monitoringCredentialSetName: string
the name of the credential set
Nested Schema : attributes
Type:
array
Additional Properties Allowed
Show Source
the attributes of the credential
Show Source
-
Array of:
object NameValuePair
A pair of name and value.
Example:
[
{
"name":"UserName",
"value":"MyUserName"
},
{
"name":"Password",
"value":"MyPassword"
}
]
Nested Schema : NameValuePair
Type:
object
A pair of name and value.
Show Source
-
name: string
the name
-
value: string
the value
Nested Schema : Link
Type:
object
Represents a link(could be self, previous or next)
Show Source
-
href: string
URL for LinkExample:
/em/api/<resources>?page=b2Zmc2V0OjA&limit=0
Examples