You can create, view, edit, and delete custom modules in the Resource Orchestration Service (ROS) console.
Prerequisites
Familiarize yourself with module quota limits. For more information, see Limits.
Create a custom module
-
Log in to the Resource Orchestration Service (ROS) console.
-
In the left-side navigation pane, choose .
-
On the My Modules page, click Create Module.
-
On the Create Module page, enter the ROS module content.
For more information about module content, see Develop a module.
You can use the ROS online editor to edit the template content. For more information, see Use the ROS online editor to write a template.
-
In the upper-right corner of the Create Module page, choose .
-
In the Save as New Module dialog box, select Whether Shared, and enter the Module Name and Module Description.
-
Click OK.
View a custom module
-
In the left-side navigation pane, choose .
-
On the My Modules page, click the name of the target module in the Module Name column.
On the module details page, you can:
-
View the Module Details and Version Information.
-
In the Version Information section, click the drop-down list next to Module Version, select a version, and view the Version content.
-
Click the Module content tab to view the module content.
-
Click the Property tab to view the module parameters.
-
Click the Return values tab to view the outputs of the module.
-
Click the Sample Templates tab to view usage examples.
For more information about properties, return values, and sample templates, see View resource types.
-
View registration records
-
In the left-side navigation pane, choose .
-
On the Registration Records page, view module registration information.
NoteYou can filter records by resource type and state.
Edit a custom module
Create a new module version
-
In the left-side navigation pane, choose .
-
On the My Modules page, find the target module and click Edit in the Actions column.
-
Edit the module content.
-
In the upper-right corner of the page, choose .
-
In the Save as New Version dialog box, enter a Module Description.
-
Click OK.
The new version appears in the Latest Version column on the My Modules page.
NoteIf you create a new version, templates that use this module and specify
Versionaslatestmay be affected.
Delete a module version
-
In the left-side navigation pane, choose .
-
On the My Modules page, click the name of the target module in the Module Name column.
-
In the Module Details section, click Set default version next to Default version.
-
In the Set default version dialog box, find the version that you want to delete and click Delete in the Actions column.
-
In the Are you sure you want to delete this version? dialog box, click Delete.
Note-
You cannot delete the default version.
-
If you delete a version, it can no longer be used in ROS.
-
If you delete the latest version, templates that use this module and specify
Versionaslatestmay be affected.
-
Change the default module version
-
In the left-side navigation pane, choose .
-
On the My Modules page, click the name of the target module in the Module Name column.
-
In the Module Details section, click Set default version next to Default version.
-
In the Set default version dialog box, find the version that you want to set as the default and click Set as Default in the Actions column.
-
Click OK.
The new default version appears in the Default version field on the My Modules page.
NoteIf you change the default version, templates that use this module and specify
Versionasdefaultmay be affected.
Edit module description
-
In the left-side navigation pane, choose .
-
On the My Modules page, click the name of the target module in the Module Name column.
-
In the Module Details section, click Edit next to Module Description.
-
In the Edit module description dialog box, update the Module Description.
-
Click OK.
The updated description appears in the Description column on the My Modules page.
Edit version description
-
In the left-side navigation pane, choose .
-
On the My Modules page, click the name of the target module in the Module Name column.
-
In the Module Details section, click Edit next to Version Description.
-
In the Edit version description dialog box, update the Version Description.
-
Click OK.
Delete a custom module
Before you delete a module, make sure it has only one version. If the module has multiple versions, delete the other versions first.
-
In the left-side navigation pane, choose .
-
On the My Modules page, find the target module and click Delete in the Actions column.
-
In the Are you sure you want to delete this module? dialog box, click Delete.
NoteA deleted module can no longer be used in ROS.