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

OpenManage Enterprise Version 3.2 and OpenManage Enterprise - Modular Edition Version 1.00.10 RESTful API Guide

PDF

PUT method for DiscoveryConfigGroups(groupId)

This method edits a discovery task.

Description
Edits a discovery task.
Privilege
DISCOVERY_MANAGEMENT
HTTP response codes
200
Example
Input:
{  
 "DiscoveryConfigGroupId":11,
 "DiscoveryConfigGroupName":"Discovery-2018022611572222",
 "DiscoveryConfigGroupDescription":"null",
  "DiscoveryConfigModels": [{
         "DiscoveryConfigId": 331105536,
         "DiscoveryConfigDescription": "",
         "DiscoveryConfigStatus": "",
         "DiscoveryConfigTargets": [{
          "DiscoveryConfigTargetId": 0,
          "NetworkAddressDetail": "xx.xx.xx.xx-xx.xx.xx.xx",
          "AddressType": 30,
          "Disabled": false,
          "Exclude": false
         }],
         "ConnectionProfile":"{\"profileName\":\"\",\"profileDescription\":\"\",\"type\":\"DISCOVERY\",\"credentials\":[{\"id\":0,\"type\":\"REDFISH\",\"authType\":\"Basic\",\"modified\":false,\"credentials\":{\"username\":\"root\",\"password\":\"calvin\",\"caCheck\":false,\"cnCheck\":false,\"port\":443,\"retries\":2,\"timeout\":4,\"isHttp\":false,\"keepAlive\":false}}]}",
         "DeviceType": [
          1000
         ]
        }],
  "DiscoveryConfigTaskParam": [],
        "DiscoveryConfigTasks": [],
        "Schedule": {
         "RunNow": true,
         "RunLater": false,
         "Cron": "startnow"
       
        },
        "CreateGroup":true,
        "TrapDestination":false
}

Output:
{
    "DiscoveryConfigGroupId": 11,
    "DiscoveryConfigGroupName": "Discovery-2018022611572222-updated",
    "DiscoveryConfigGroupDescription": "Discovery-2018022611572222-updated",
    "DiscoveryStatusEmailRecipient": null,
    "DiscoveryConfigParentGroupId": 0,
    "CreateGroup": true,
    "DiscoveryConfigModels": [
        {
            "DiscoveryConfigId": 331105536,
            "DiscoveryConfigDescription": "",
            "DiscoveryConfigStatus": "",
            "DiscoveryConfigTargets": [
                {
                    "DiscoveryConfigTargetId": 0,
                    "NetworkAddressDetail": "xx.xx.xx.xx-xx.xx.xx.xx",
                    "SubnetMask": null,
                    "AddressType": 1,
                    "Disabled": false,
                    "Exclude": false
                }
            ],
            "ConnectionProfileId": 0,
            "ConnectionProfile": "{\"profileName\":\"\",\"profileDescription\":\"\",\"type\":\"DISCOVERY\",\"credentials\":[{\"id\":0,\"type\":\"REDFISH\",\"authType\":\"Basic\",\"modified\":false,\"credentials\":{\"username\":\"root\",\"password\":\"calvin\",\"caCheck\":false,\"cnCheck\":false,\"port\":443,\"retries\":2,\"timeout\":4,\"isHttp\":false,\"keepAlive\":false}}]}",
            "DeviceType": [
                1000
            ]
        }
    ],
    "DiscoveryConfigTaskParam": [
        {
            "TaskId": 25281,
            "TaskTypeId": 0,
            "ExecutionSequence": 0
        }
    ],
    "DiscoveryConfigTasks": [],
    "Schedule": {
        "RunNow": false,
        "RunLater": false,
        "Recurring": null,
        "Cron": "startnow",
        "StartTime": null,
        "EndTime": null
    },
    "TrapDestination": false,
    "ChassisIdentifier": null
}
Table 1. AttributesThis table lists the attributes that this method supports.
Attribute nameDescription
GroupId Group Id
DiscoveryName Discovery Name
Description Definition for discovery Task
Schedule Discovery job schedule information
TaskId Id of the job
ConnectionProfileId Connection profile Id
DeviceTypeList List of all device types
DiscoveryConfiglist Config details

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