Update Resource
Implementation Notes:
- When updating a Resource, if the Resource Identifiers that are unique and required
are not specified, the API would return an error with HTTP status code of 500
and an error message indicating the set of missing Resource Identifiers.
When updating a Resource, if the Resource Identifiers that are unique but not required
are not specified, the Resource is updated where the uniquely identifying Resource Identifiers
that were not specified will have their value as an empty string.
The Resource object that needs to be updated
Show optional properties
{
"creationTime": 0,
"resourceKey": {
"name": "string",
"adapterKindKey": "string",
"resourceKindKey": "string"
},
"resourceStatusStates": [
{}
],
"resourceHealth": "string",
"resourceHealthValue": "number"
}
"No Custom Example is Available"
Description of the Resource
Time the Resource was created in the system. This is a 'read-only' property and is system generated.The server ignores any changes to this field when trying to update a resource.
Represents a composite key for uniquely identifying a Resource.
Credential instance identifier assigned to this Resource, applicable only for adapter instances.
Represents a geographical location on planet earth.
The resource status and resource state for this resource as reported by one or more adapter instances. The server ignores any changes to this field when trying to update a resource.
Enumeration that identifies the health of a Resource
Resource Health Score. This is a 'read-only' property and its value is computed by the system. The server ignores any changes to this field when trying to update a resource.
DT calculation enabled or not. By default DT calculation for a resource is enabled (during its creation).
Minutes part of the monitoring Interval of the resource, applicable only for adapter instances.
Seconds part of the monitoring Interval of the resource, applicable only for adapter instances.
The various major and minor badges and their values for a Resource. If certain badges are not present in the list then either those badges are not applicable to this resource or the calculation of those badges has been disabled for this resource.
Collection of related resource identifiers
extension
Represents a HTTP 'link' element.
It is implicit that all the link tags support http 'GET' method.
Identifier of the Resource (typically a UUID).
The updated Resource object
"No Custom Example is Available"
Description of the Resource
Time the Resource was created in the system. This is a 'read-only' property and is system generated.The server ignores any changes to this field when trying to update a resource.
Represents a composite key for uniquely identifying a Resource.
Credential instance identifier assigned to this Resource, applicable only for adapter instances.
Represents a geographical location on planet earth.
The resource status and resource state for this resource as reported by one or more adapter instances. The server ignores any changes to this field when trying to update a resource.
Enumeration that identifies the health of a Resource
Resource Health Score. This is a 'read-only' property and its value is computed by the system. The server ignores any changes to this field when trying to update a resource.
DT calculation enabled or not. By default DT calculation for a resource is enabled (during its creation).
Minutes part of the monitoring Interval of the resource, applicable only for adapter instances.
Seconds part of the monitoring Interval of the resource, applicable only for adapter instances.
The various major and minor badges and their values for a Resource. If certain badges are not present in the list then either those badges are not applicable to this resource or the calculation of those badges has been disabled for this resource.
Collection of related resource identifiers
extension
Represents a HTTP 'link' element.
It is implicit that all the link tags support http 'GET' method.
Identifier of the Resource (typically a UUID).
No Resource is found in the system corresponding to the identifier in the Request Body
The ResourceKey of the Resource is missing the uniquely identifying and required Resource Identifiers
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"creationTime:"integer","resourceHealth:"string","resourceHealthValue:"number","resourceKey:"object","resourceStatusStates":["object"]}' https://{api_host}/suite-api/api/resources