templates
Creates, imports, or clones templates based on the request payload.
Defines the template details for creation, import, or cloning operations. The required fields vary depending on the type of operation being performed.
- Pre-requisites
- Existing Metrics
- Existing Monitors
- For Synthetic templates
- Protocol info is must
Note
- This endpoint applies only to G2 templates.
- For New UI (V2) payloads, include the
Monitoring-Version: V2header. - For New UI (V2), import a single monitoring template using a JSON file.
- To preserve the parent template relationship during import, include the
parentUUIDfield in the exported JSON file.
Path Parameters
- tenantId
Describes the clientId or mspId of tenant
Request Body
application/json
- name
Template name
- description
Template details
- collectorType
Collector Type
- Enum:
- SyntheticsOpsRamp AgentOpsRamp Gateway
- resourceType
Template applicable for native type resources.
- Enum:
- DEVICESYNTHETIC
Default: DEVICE
- checkType
Support Synthetics protocol for which template is configured for monitoring. This attribute is must have a value when synthetic templates are created.
- Enum:
- HTTPSHTTPDNSIMAPPINGRTTPOP3SCRIPTSMTPSSLTCPUDPFTPSIP
Default: HTTPS
- status
Template activity status
- tags
Tag
- generation
Template generation
Default: 2
- templateFamily
Template family
- notes
Brief details
- createdDate
Template creation timestamp.
- updatedDate
Template last update timestamp.
- prerequisites
Pre-requisite details needed before applying the template.
- deploymentType
Template deployment type.
- applicationType
Application types associated with the template.
- templateType
Template category list.
- monitors
Template monitors
- metricGroups
Metric groups for G2 templates.