Search Templates
Searching for template based on query parameters
scope
query parameter lets user to filter templates based on Template Scope
scope = Global
, Filters the templates which are globally available across the platform for all customers.scope = Service Provider
,Filters the templates which are provided by Service Provider.scope = Client
, Filters the templates which are created by the tenant.scope = Partner
, Filters the templates which are created by the provider who manage the tenant.
Using scope
filter in queryString with authentication
- With client authentication keys (example urls valid only with clientdid)
https://<server.com>/api/v2/tenants/<clientid>/monitoring/templates/search?queryString=scope:Global
https://<server.com>/api/v2/tenants/<clientid>/monitoring/templates/search?queryString=scope:Service Provider
https://<server.com>/api/v2/tenants/<clientid>/monitoring/templates/search?queryString=scope:Partner
https://<server.com>/api/v2/tenants/<clientid>/monitoring/templates/search?queryString=scope:Client
- With partner authentication keys (example urls valid with both clientid or partnerId)
https://<server.com>/api/v2/tenants/<clientid>/monitoring/templates/search?queryString=scope:Global
https://<server.com>/api/v2/tenants/<clientid>/monitoring/templates/search?queryString=scope:Service Provider
https://<server.com>/api/v2/tenants/<partnerid>/monitoring/templates/search?queryString=scope:Global
https://<server.com>/api/v2/tenants/<partnerid>/monitoring/templates/search?queryString=scope:Service Provider
https://<server.com>/api/v2/tenants/<clientid>/monitoring/templates/search?queryString=scope:Partner
https://<server.com>/api/v2/tenants/<clientid>/monitoring/templates/search?queryString=scope:Client
https://<server.com>/api/v2/tenants/<partnerid>/monitoring/templates/search?queryString=scope:Partner
https://<server.com>/api/v2/tenants/<partnerid>/monitoring/templates/search?queryString=scope:Client
Path Parameters
- tenantId
Describes the clientId or mspId of tenant
Query Parameters
- pageNo
Resultset page no
Default: 1
- pageSize
Records in each page
Default: 100
- isDescendingOrder
Resultset order
- sortName
Sort the resultset based on the given field name (groupBy)
Default: id
- queryString
Query String to filter resultset based on different parameter values
- id
Template ID
- name
Template name
- scope
Scope of the template. Please refer notes below for details
- Enum:
- GlobalService ProviderClientPartner
- collectorType
Monitoring metric data Collector type. Supported values as given.
- Enum:
- AgentGatewayOpsRamp CloudAWSGOOGLEAZURESaas Application
- status
Template status
- Enum:
- ACTIVEEOL
- generation
Template Generation
- Enum:
- 12
- startCreationDate
Search for templates created within a certain duration. startCreationDate denotes the from date.
- endCreationDate
Search for templates created within a certain duration. endCreationDate denotes the to date.
- startUpdationDate
Search for templates updated within a certain duration. startUpdationDate denotes the from update date.
- endUpdationDate
Search for templates updated within a certain duration. endUpdationDate denotes the to update date.
- sourceType
Filter to get the available templates at the given resource level type .For eg filter for available templates at resouce i..e sourceType=DEVICE. User can filter out templates required for given resource type.
- Enum:
- DEVICEDATA_CENTERVI_CLUSTERVI_DATASTOREJMX_APP_CLUSTERJMX_APP_INSTANCEDISTRIBUTED_VIRTUAL_SWITCHCONTRAIL_ANALYTICS_NODECONTRAIL_CONFIG_NODECONTRAIL_CONTROL_NODEVIRTUVAL_ROUTERSTORAGE_ARRAY_VOLUME
Responses
- results
- totalResults
- orderBy
- pageNo
- pageSize
- totalPages
- nextPage
- nextPageNo
- previousPageNo
- descendingOrder