My Templates
My templates lists custom resource template. You can view, create, replicate, update, and delete templates and create applications using the templates on the My templates tab.
Viewing Templates
The template details page contains the template name, type, status, source type, region, creation time, description, and content. You can perform the following steps to view the template details.
- Choose Enterprise > Project Management in the upper right corner of the page.
If the screen resolution is low, choose More > Enterprise > Project Management.
Figure 1 Project Management
- In the navigation pane, choose Application Management > Template Management.
The Example templates tab and the example template list are displayed by default.
- Click the My templates tab.
- Select the region where the applications to be viewed are deployed.
The template list in the selected region is displayed in the lower part of the page.
- Search for a template.
Enter the template name in the upper right corner of the list to search for the template to be viewed.
- Click the template name. The template details page is displayed.
You can view the template details and template content on the details page. You can also click Create Application in the upper right corner to create an application using the template. For details about how to create an application, see Creating an Application.
Creating a Template
You can create a template directly or create one from an application backup. You can select the desirable method as required.
- Choose Enterprise > Project Management in the upper right corner of the page.
If the screen resolution is low, choose More > Enterprise > Project Management.
Figure 2 Project Management
- In the navigation pane, choose Application Management > Template Management.
The Example templates tab and the example template list are displayed by default.
- Click the My templates tab.
- Click Create Template in the upper right corner of the page.
The Create Template page is displayed. Set the parameters based on the descriptions in Table 1.
Table 1 Template parameter configuration Parameter
Description
Region
Select a region to create the template. Up to 100 templates can be created in each region.
Template Name
Set a template name as required. The template name cannot be empty, can contain only letters, digits, hyphens (-), and underscores (_), and must start with a letter.
Template Description
Optional. The description can contain up to 256 characters.
Source Type
Create directly
Template Type
Select SAP or Common.
Next, you can select Enter Template Code, Example templates, or My templates.
Select Template
When Template Type is set to Example templates or My templates, you need to select a template.
Template Content
The template content is displayed in the text box and can be modified.
Create from backup
Template Data
- Filter application backups using the following parameters:
- Enterprise Project
- Application
- Application Backup
- Configure the ECS.
For details about parameter settings, see Elastic Cloud Server Getting Started.
Set customized parameters, which are optional.
You can add a parameter group, specify the name and type of each parameter in the group, and add parameter content. For the Type parameter, select either Text or Numeral as required.
Up to 10 parameter groups and 100 parameters can be created. The parameter group names and parameter names must be unique.
- Filter application backups using the following parameters:
- Click Create Now.
After the template is created, you can view it in the template list on the My templates tab.
Creating an Application
You can create applications using templates under My templates and are in the Creation succeeded or Update succeeded state.
- Choose Enterprise > Project Management in the upper right corner of the page.
If the screen resolution is low, choose More > Enterprise > Project Management.
Figure 3 Project Management
- In the navigation pane, choose Application Management > Template Management.
The Example templates tab and the example template list are displayed by default.
- Click the My templates tab.
- Click Create Application in the Operation column of the row containing the target template.
Create an application based on your requirements. For details, see Creating an Application.
Replicating a Template
You can create templates by replicating the templates in the Creation succeeded or Update succeeded state. You can customize contents of the templates replicated.
- Choose Enterprise > Project Management in the upper right corner of the page.
If the screen resolution is low, choose More > Enterprise > Project Management.
Figure 4 Project Management
- In the navigation pane, choose Application Management > Template Management.
The Example templates tab and the example template list are displayed by default.
- Click the My templates tab.
- Click Replicate in the Operation column of the row containing the template to be replicated.
The Replicate Template dialog box is displayed.
- Enter the name and description.
The name must be unique and cannot be empty. It can contain only letters, digits, hyphens (-), and underscores (_), and must start with a letter.
The description is optional. The description can contain up to 256 characters.
- Click OK.
The template replicated is displayed in the template list on the My templates tab.
Updating a Template
You can modify templates by updating the templates in the Creation succeeded or Update succeeded state.
- Choose Enterprise > Project Management in the upper right corner of the page.
If the screen resolution is low, choose More > Enterprise > Project Management.
Figure 5 Project Management
- In the navigation pane, choose Application Management > Template Management.
The Example templates tab and the example template list are displayed by default.
- Click the My templates tab.
- Click Update in the Operation column of the row containing the template to be updated.
Update Template Description or Template Content based on your requirements.
- Click OK.
The template is updated, and you can view the updated template information on the template details page.
Deleting a Template
When some templates are no longer used, you can delete them.
- Choose Enterprise > Project Management in the upper right corner of the page.
If the screen resolution is low, choose More > Enterprise > Project Management.
Figure 6 Project Management
- In the navigation pane, choose Application Management > Template Management.
The Example templates tab and the example template list are displayed by default.
- Click the My templates tab.
- Click Delete in the Operation column of the row containing the template to be deleted.
A dialog box is displayed.
- Click Yes.
The deleted template is no longer displayed in the template list.
Last Article: Example Templates
Next Article: O&M Management
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.