Application Management Operations
This section describes management APIs for application snapshots, exports, and task executions.
/acp/v1/kubernetes/{cluster_name}/namespaces/{namespace}/applications/{name}/snapshot
post Application Snapshot
Parameters
cluster_name(in path):stringrequirednamespace(in path):stringrequiredname(in path):stringrequired
Response
200: Successful
/acp/v1/kubernetes/{cluster}/cronjobs/{namespace}/{name}/exec
post Execute CronJob
Parameters
cluster(in path):stringrequirednamespace(in path):stringrequiredname(in path):stringrequired
Response
200object: Successful
/acp/v1/kubernetes/{cluster}/general-namespaces
post Create General Namespaces
Creates a namespace with LimitRange and ResourceQuota.
Parameters
cluster(in path):stringrequiredproject_name(in query):stringThe associated project name.
Request Body
Response
200GeneralNamespace: Successful
/acp/v1/resources/{cluster}/resources
post Batch Create Resources
Parameters
cluster(in path):stringrequired
Response
204: No Content
ObjectMeta
name:stringnamespace:stringuid:stringresourceVersion:stringcreationTimestamp:stringlabels:map[string]stringannotations:map[string]string
GeneralNamespace
namespace: KubernetesResourceA generic Kubernetes resource object.
resourcequota: KubernetesResourceA generic Kubernetes resource object.
limitrange: KubernetesResourceA generic Kubernetes resource object.
KubernetesResource
A generic Kubernetes resource object.
apiVersion:stringkind:stringmetadata: ObjectMetaspec:objectThe specification of the resource.
status:objectThe current status of the resource.