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): string required
  • namespace (in path): string required
  • name (in path): string required

Response

  • 200 : Successful

/acp/v1/kubernetes/{cluster}/cronjobs/{namespace}/{name}/exec

post Execute CronJob

Parameters

  • cluster (in path): string required
  • namespace (in path): string required
  • name (in path): string required

Response

  • 200 object: Successful

/acp/v1/kubernetes/{cluster}/general-namespaces

post Create General Namespaces

Creates a namespace with LimitRange and ResourceQuota.

Parameters

  • cluster (in path): string required
  • project_name (in query): string

    The associated project name.

Request Body

GeneralNamespace

Response

/acp/v1/resources/{cluster}/resources

post Batch Create Resources

Parameters

  • cluster (in path): string required

Response

  • 204 : No Content

ObjectMeta

  • name: string
  • namespace: string
  • uid: string
  • resourceVersion: string
  • creationTimestamp: string
  • labels: map[string]string
  • annotations: map[string]string

GeneralNamespace

KubernetesResource

A generic Kubernetes resource object.

  • apiVersion: string
  • kind: string
  • metadata: ObjectMeta
  • spec: object

    The specification of the resource.

  • status: object

    The current status of the resource.