URL
POST https://{api-url}/api/v2/tenants/{tenantId}/resources/{resourceId}
Sample URLs
https://{api-url}/api/v2/tenants/client_12/resources/612acfb0-6890-4d52-950b-1c4ec17a7248
Parameters
All fields are optional except name and macAddress (oobInterfaceCards):
Field | Data Type | Description |
---|---|---|
aliasName | String | Another name of a resource. |
alternateIP | String | Gateway uses alternate IP to discover a resource when populated. |
extResourceId | String | Attach third-party integration ID. |
resourceNetworkInterface
| String | Details of network interface. |
managementProfile | String | Name of management profile of a resource that is managed. |
resourceType | String | Type of resource. Example: server |
systemUID | String | Unique ID of system. |
serialNumber | String | Serial number of resource. |
providerType | String | Type of provider. |
providerUID | String | Unique ID of provider. |
|
Utilization and free disk space threshold values should be between 0 and 100. | |
oobInterfaceCards
| String | OOB interface card details. |
Sample request
{
"aliasName": "aliasServerName",
"alternateIP": "4.2.2.2",
"extResourceId":"67035"
"managementProfile": "Gateway Profile",
"resourceNetworkInterface": [{
"ipAddressType": "STATIC",
"macAddress": "5G:7H:HN:12:8H:D7",
"default": 1,
"ipAddress": "121.156.43.12"
},
{
"ipAddressType": "STATIC",
"macAddress": "00:0C:23:C5:D6:H7",
"default": 0,
"ipAddress": "161.32.556.56"
},
{
"ipAddressType": "DHCP",
"macAddress": "00:0C:32:B7:D8:54",
"default": 0,
"ipAddress": "161.11.132.21"
}
],
"logicalDiskDrives": [{
"name": "/",
"utilizationWarningThreshold": 85,
"utilizationCriticalThreshold": 90,
"freeDiskWarningThreshold": 0,
"freeDiskCriticalThreshold": 0
},
{
"name": "/boot/efi",
"utilizationWarningThreshold": 85,
"utilizationCriticalThreshold": 90,
"freeDiskWarningThreshold": 0,
"freeDiskCriticalThreshold": 0
}
],
"oobInterfaceCards": [{
"name": "Controller 1",
"macAddress": "hj:12:hb:32:vg:sa",
"description": "Server controller details",
"url": "https://www.myorganization.com/",
"oobVersion": "7.5",
"accessInfo": "source-ip location",
"accessInfoIpV4": "121.32.21.112",
"remoteAccessType": "SSH",
"port": 443,
"make": "Cisco Routers",
"model": "Cisco 890 Series"
}]
}
Sample response
Null