Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Active System Manager Release 8.2 SDK Reference Guide

PDF

Class and Type Structure

Here is an example of a class or type element inside the classes or tyes arrays:
                                 {
                                 "id": "component-linux_postinstall-1",
                                 "componentValid": {
                                 "valid": true
                                 },
                                 "name": "linux_postinstall",
                                 "type": "SERVICE",
                                 "teardown": false,
                                 "resources": [
                                 {
                                 "id": "linux_postinstall",
                                 "displayName": "Application Settings",
                                 "parameters": [
                                 {
                                 "id": "install_packages",
                                 "type": "STRING",
                                 "displayName": "Install Packages",
                                 "required": true,
                                 "requiredAtDeployment": false,
                                 "hideFromTemplate": false,
                                 "readOnly": false,
                                 "generated": false,
                                 "infoIcon": false,
                                 "maxLength": 256,
                                 },
                                 		… 
                                 ]
                                 }
                                 ]
                                 }
                              

This represents a single class or type element of the classes or types array. It exposes just a single attribute through ASM ( for readability ). But additional parameters would be added the same way.

The declaration above, if used in `classes`, when filled out with user values would be equivalent to a puppet manifest file such as:

class { 'linux_postinstall':
                                 install_packages     => '',
                                 upload_share         => '',
                                 upload_file          => 'test.sh',
                                 upload_recursive     => 'false',
                                 execute_file_command => 'bash test.sh',
                                 yum_proxy            => ''
                                 }
                                 
                                 
                              

While the declaration above, if used in `types`, when filled out with user values would be equivalent to a puppet manifest file such as:

linux_postinstall { 'unique_title':
                                 install_packages     => '',
                                 upload_share         => '',
                                 upload_file          => 'test.sh',
                                 upload_recursive     => 'false',
                                 execute_file_command => 'bash test.sh',
                                 yum_proxy            => ''
                                 }
                                 
                              

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\