ResourceAction represents an individual action that can be performed on a resource. It includes parameters, an optional disabled flag, an icon for display, and a name for the action.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/argo-cd/refs/heads/main/json-schema/argo-cd-v1alpha1-resource-action-schema.json",
"title": "v1alpha1ResourceAction",
"description": "ResourceAction represents an individual action that can be performed on a resource.\nIt includes parameters, an optional disabled flag, an icon for display, and a name for the action.",
"type": "object",
"properties": {
"disabled": {
"description": "Disabled indicates whether the action is disabled.",
"type": "boolean"
},
"displayName": {
"description": "DisplayName provides a user-friendly name for the action.",
"type": "string"
},
"iconClass": {
"description": "IconClass specifies the CSS class for the action's icon.",
"type": "string"
},
"name": {
"description": "Name is the name or identifier for the action.",
"type": "string"
},
"params": {
"description": "Params contains the parameters required to execute the action.",
"type": "array",
"items": {
"$ref": "#/definitions/v1alpha1ResourceActionParam"
}
}
}
}