get_resource_actions
Retrieve actions for a resource managed by an application in ArgoCD. Specifies the application name, namespace, and resource details to list applicable actions.
Instructions
get_resource_actions returns actions for a resource that is managed by an application
Input Schema
Name | Required | Description | Default |
---|---|---|---|
applicationName | Yes | ||
applicationNamespace | Yes | The namespace of the application. Note that this may differ from the namespace of individual resources. Make sure to verify the application namespace in the Application resource — it is often argocd, but not always. | |
resourceRef | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"applicationName": {
"type": "string"
},
"applicationNamespace": {
"description": "The namespace of the application.\n Note that this may differ from the namespace of individual resources.\n Make sure to verify the application namespace in the Application resource — it is often argocd, but not always.",
"type": "string"
},
"resourceRef": {
"additionalProperties": false,
"properties": {
"group": {
"type": "string"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"uid": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"uid",
"kind",
"namespace",
"name",
"version",
"group"
],
"type": "object"
}
},
"required": [
"applicationName",
"applicationNamespace",
"resourceRef"
],
"type": "object"
}