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

Appendix A Example code

{
                                 "requirements": [
                                 {
                                 "name": "pe",
                                 "versionRequirement": ">= 3.0.0 & < 2015.4.0"
                                 },
                                 {
                                 "name": "puppet",
                                 "versionRequirement": ">= 3.0.0 & < 5.0.0"
                                 }
                                 ],
                                 "operatingSystemSupport": [
                                 {
                                 "operatingSystem": "RedHat",
                                 "releaseVersions": [
                                 "6",
                                 "7"
                                 ]
                                 },
                                 {
                                 "operatingSystem": "Debian",
                                 "releaseVersions": [
                                 "7.8",
                                 "8"
                                 ]
                                 },
                                 {
                                 "operatingSystem": "Ubuntu",
                                 "releaseVersions": [
                                 "12.04",
                                 "14.04"
                                 ]
                                 }
                                 ],
                                 "classes": [
                                 {
                                 "id": "asm_test",
                                 "componentValid": {
                                 "valid": true
                                 },
                                 "name": "asm_test",
                                 "type": "SERVICE",
                                 "teardown": false,
                                 "resources": [
                                 {
                                 "id": "asm_test",
                                 "displayName": "asm_test",
                                 "parameters": []
                                 }
                                 ]
                                 }
                                 ],"types": [
                                 {
                                 "id": "component-say_something",
                                 "componentValid": {
                                 "valid": true
                                 },
                                 "name": "say_something",
                                 "type": "SERVICE",
                                 "teardown": false,
                                 "resources": [
                                 {
                                 "id": "say_something",
                                 "displayName": "say_something",
                                 "parameters": [
                                 {
                                 "id": "title",
                                 "type": "STRING",
                                 "displayName": "Content",
                                 "required": true
                                 },
                                 {
                                 "id": "ensure",
                                 "type": "STRING",
                                 "value": "present",
                                 "displayName": "Ensure",
                                 "required": true
                                 }
                                 ]
                                 }
                                 ]
                                 },
                                 ]
                                 }
                                 
                              

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: <>()\