System Management/System Settings/Custom Attribute
GETCustom AttributeSince 3.4.0SynchronousAuth Required
Get Resource Custom Attribute
Get Resource Custom Attribute
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Query Parameters
Request Inputs
Path Parameters
categoryStringRequiredConfiguration category
nameStringRequiredConfiguration name
resourceUuidStringRequiredResource UUID
Query Parameters
systemTagsList系统标签。
userTagsList用户标签。
Responses
Endpoint
GET/zstack/v1/resource-configurations/{resourceUuid}/{category}/{name}
/zstack/v1/resource-configurations/{resourceUuid}/{category}/{name}
Request Example
curl -X GET 'http://{host}/zstack/v1/resource-configurations/{resourceUuid}/{category}/{name}?systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "value": "5", "effectiveConfigs": [ { "uuid": "dae9aeb6d74e4f44823f2e0c4f1cc79f", "resourceUuid": "46597de31eac41539c4e6eda52885769", "resourceType": "HostVO", "name": "cpu.overProvisioning.ratio", "category": "host", "value": "5", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" }, { "uuid": "5c3c94a73d7b4a95a1818241f2e427ae", "resourceUuid": "371519310f344695854de27bb9743121", "resourceType": "ClusterVO", "name": "cpu.overProvisioning.ratio", "category": "host", "value": "10", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } ] }Change History
This API has no change history records yet.
