REST Resources
-
/ -
/config-template-definitions -
/config-template-definitions /{def-id} /config-templates /{template-id} -
/config-template-definitions /{id} -
/config-template-definitions /{id} /config-templates -
/config-template-definitions /{id} /configuration -
/config-templates -
/config-templates /config-templates-by-ids2 -
/config-templates /deleteTemplateWithVersions -
/config-templates /{from-template-id} /clone -
/config-templates /{id} -
/config-templates /{id} /exec-audit -
/config-templates /{id} /exec-deploy -
/config-templates /{id} /exec-publish -
/config-templates /{id} /exec-undeploy -
/config-templates /{id} /versions -
/config-templates /{id} /versions /{template-version} /exec-auditTemplate -
/config-templates /{id} /versions /{template-version} /exec-compareConfig -
/config-templates /{id} /versions /{template-ver} /exec-deploy -
/config-templates /{id} /versions /{template-ver} /exec-publish -
/config-templates /{id} /versions /{version-num} -
/config-templates /{id} /versions /{version} /configuration -
/config-templates /{template-id} /configuration -
/config-templates /{template-id} /device-associations -
/config-templates /{template-id} /versions /{version-num} /device-associations -
/templates /{template-id} /devicesAll -
/templates /{template-id} /template-versions
/api/space/config-template-management/config-templates/{template-id}/versions/{version-num}/device-associations
The following operation is supported on this resource:
- GET - Get device associations for template version
GET /config-templates/{template-id}/versions/{version-num}/device-associations | Version 3 |
Get device associations for template version.
Sample Usage
GET /config-templates/{template-id}/versions/{version-num}/device-associations
-
Parameters:
Name Type URI Type Description Required template-id Integer Path The ID of the configuration template. Y version-num Integer Path The version number. Y
-
Accept Headers:
application/vnd.net.juniper.space.config-template-management.device-associations+xml;version=3
application/vnd.net.juniper.space.config-template-management.device-associations+json;version=3
<device-associations-for-template-versions total="Integer" uri="/api/space/config-template-management/config-templates/{template-id}/versions/{version-num}/device-associations">
<device-template>
<platform>String</platform>
<device-ip>String</device-ip>
<device-name>String</device-name>
<id>String</id>
<template-status>String</template-status>
<software-release>String</software-release>
<status>String</status>
<template-ver>Integer</template-ver>
<config-status>DEVICE_STATE_AWAIT_1STCONNIM</config-status>
</device-template>
</device-associations-for-template-versions>
{
"device-associations-for-template-versions" : {
"@total" : "Integer" ,
"@uri" :
"/api/space/config-template-management/config-templates/{template-id}/versions/{version-num}/device-associations"
,
"device-template" : {
"platform" : "String" ,
"device-ip" : "String" ,
"device-name" : "String" ,
"id" : "String" ,
"template-status" : "String" ,
"software-release" : "String" ,
"status" : "String" ,
"template-ver" : "Integer" ,
"config-status" : "DEVICE_STATE_AWAIT_1STCONNIM"
}
}
}