Help Center/ FunctionGraph/ CLI Reference/ CLI Command Reference
Updated on 2026-09-03 GMT+08:00

CLI Command Reference

Function Quotas

API Name

Command

Description

Operation

Querying Tenant Quotas

hcloud FunctionGraph ListQuotas

This API is used to query tenant quotas.

Go debug

Dependencies

API Name

Command

Description

Operation

Querying Dependencies

hcloud FunctionGraph ListDependencies

This API is used to query all dependencies.

Go debug

Creating a Dependency Version

hcloud FunctionGraph CreateDependencyVersion

This API is used to create a dependency version.

Go debug

Querying Dependency Versions

hcloud FunctionGraph ListDependencyVersion

This API is used to query dependency versions.

Go debug

Querying a Dependency Version

hcloud FunctionGraph ShowDependencyVersion

This API is used to query the details about a dependency version.

Go debug

Deleting a Dependency Version

hcloud FunctionGraph DeleteDependencyVersion

This API is used to delete a dependency version.

Go debug

Test Events

API Name

Command

Description

Operation

Querying Test Events of a Function

hcloud FunctionGraph ListEvents

This API is used to query the test events of a function.

Go debug

Creating a Test Event

hcloud FunctionGraph CreateEvent

This API is used to create a test event.

Go debug

Obtaining the Details of a Test Event

hcloud FunctionGraph ShowEvent

This API is used to query the details of a test event.

Go debug

Updating a Test Event

hcloud FunctionGraph UpdateEvent

This API is used to update a test event.

Go debug

Deleting a Test Event

hcloud FunctionGraph DeleteEvent

This API is used to delete a test event.

Go debug

Function Tracing

API Name

Command

Description

Operation

Querying Tracing Configuration

hcloud FunctionGraph ShowTracing

This API is used to query the tracing configuration of a function.

Go debug

Modifying Tracing Configuration

hcloud FunctionGraph UpdateTracing

This API is used to modify the tracing configuration of a function. You can enable or modify the AK/SK or disable the AK/SK.

Go debug

Application

API Name

Command

Description

Operation

Querying Application Templates

hcloud FunctionGraph ListAppTemplates

This API is used to query application templates.

Go debug

Querying Details About an Application Template

hcloud FunctionGraph ShowAppTemplate

This API is used to query details about an application template.

Go debug

Querying Applications

hcloud FunctionGraph ListFunctionApplications

This API is used to query applications.

Go debug

Creating an Application

hcloud FunctionGraph CreateFunctionApp

This API is used to create an application.

Go debug

Querying Application Details

hcloud FunctionGraph ShowFunctionApp

This API is used to query application details.

Go debug

Deleting Applications

hcloud FunctionGraph DeleteFunctionApp

This API is used to delete applications.

Go debug

Function Lifecycle Management

API Name

Command

Description

Operation

Querying Functions

hcloud FunctionGraph ListFunctions

This API is used to query all functions.

Go debug

Creating a Function

hcloud FunctionGraph CreateFunction

This API is used to create a function.

Go debug

Deleting a Function or Function Version

hcloud FunctionGraph DeleteFunction

This API is used to delete a function or a non-latest version of a function.

Go debug

Querying the Code of a Function

hcloud FunctionGraph ShowFunctionCode

This API is used to query the code of a function.

Go debug

Modifying the Code of a Function

hcloud FunctionGraph UpdateFunctionCode

This API is used to modify the code of a function.

Go debug

Querying the Metadata of a Function

hcloud FunctionGraph ShowFunctionConfig

This API is used to query the metadata of a function.

Go debug

Modifying the Metadata of a Function

hcloud FunctionGraph UpdateFunctionConfig

This API is used to modify the metadata of a function.

Go debug

Updating Max. Instances of a Function

hcloud FunctionGraph UpdateFunctionMaxInstanceConfig

This API is used to update the maximum number of instances of a function.

Go debug

Enabling or Disabling the Snapshot Function

hcloud FunctionGraph UpdateFuncSnapshot

This API is used to enable or disable the snapshot feature. It is available only for non-latest versions of Java functions.

Go debug

Querying Snapshot Status

hcloud FunctionGraph ShowFuncSnapshotState

This API is used to query snapshot status.

Go debug

Querying Resources

hcloud FunctionGraph ShowResInstanceInfo

This API is used to query resources.

Go debug

Querying Resource Tags

hcloud FunctionGraph ShowProjectTagsList

This API is used to query resource tags.

Go debug

Querying Function Tags

hcloud FunctionGraph ListFunctionTags

This API is used to query function tags.

Go debug

Creating Resource Tags

hcloud FunctionGraph CreateTags

This API is used to create resource tags.

Go debug

Deleting Resource Tags

hcloud FunctionGraph DeleteTags

This API is used to delete resource tags.

Go debug

Creating a VPC Endpoint

hcloud FunctionGraph CreateVpcEndpoint

This API is used to create a VPC endpoint.

Go debug

Deleting a VPC Endpoint

hcloud FunctionGraph DeleteVpcEndpoint

This API is used to delete a VPC endpoint.

Go debug

Querying ServiceBridge Functions Bound to a Specified Function

hcloud FunctionGraph ListBridgeFunctions

This API is used to query ServiceBridge functions bound to a specified function.

Go debug

Querying the Available ServiceBridge Version

hcloud FunctionGraph ListBridgeVersions

This API is used to query the available ServiceBridge version.

Go debug

Updating the Pinning Status of a Function

hcloud FunctionGraph UpdateFunctionCollectState

This API is used to update the pinning status of a function.

Go debug

Versions and Aliases

API Name

Command

Description

Operation

Querying All Versions and Aliases of a Function

hcloud FunctionGraph ListVersionAliases

This API is used to query the versions and aliases of a function.

Go debug

Creating an Alias for a Function Version

hcloud FunctionGraph CreateVersionAlias

This API is used to create an alias for a function version.

Go debug

Querying the Alias of a Function Version

hcloud FunctionGraph ShowVersionAlias

This API is used to query the alias of a function version.

Go debug

Modifying the Alias of a Function Version

hcloud FunctionGraph UpdateVersionAlias

This API is used to modify the alias of a function version.

Go debug

Deleting an Alias of a Function Version

hcloud FunctionGraph DeleteVersionAlias

This API is used to delete an alias of a function version.

Go debug

Querying the Versions of a Function

hcloud FunctionGraph ListFunctionVersions

This API is used to query the versions of a function.

Go debug

Publishing a Function Version

hcloud FunctionGraph CreateFunctionVersion

This API is used to publish a function version.

Go debug

Function Metrics

API Name

Command

Description

Operation

Querying Top Functions for a Specified Metric

hcloud FunctionGraph ListFunctionAsMetric

This API is used to query the top functions for a specified metric.

Go debug

Querying Tenant-Level Function Statistics

hcloud FunctionGraph ListStatistics

This API is used to query tenant-level function statistics.

Go debug

Querying Instance Usage Metrics of a Specified Function

hcloud FunctionGraph ShowFuncReservedInstanceMetrics

Query instance usage metrics of a function.

Go debug

Querying Instance Traffic Metrics of a Function

hcloud FunctionGraph ShowFunctionMetrics

This API is used to query the instance traffic metrics of a function.

Go debug

Querying Metrics in a Specified Period

hcloud FunctionGraph ListFunctionStatistics

This API is used to query metrics of a function in a specified period.

Go debug

Function Logs

API Name

Command

Description

Operation

Querying the Log Group and Stream of a Function

hcloud FunctionGraph ShowLtsLogDetails

This API is used to query the LTS log group and stream settings of a function.

Go debug

Enabling Log Reporting to LTS

hcloud FunctionGraph EnableLtsLogs

This API is used to enable log reporting to LTS.

Go debug

Enabling Asynchronous Status Notification

hcloud FunctionGraph EnableAsyncStatusLog

Enable asynchronous status notification.

Go debug

Querying Details About Asynchronous Invocation Logs

hcloud FunctionGraph ShowProjectAsyncStatusLogInfo

This API is used to query details about asynchronous invocation logs.

Go debug

Templates

API Name

Command

Description

Operation

Querying Function Templates

hcloud FunctionGraph ListFunctionTemplate

This API is used to query function templates.

Go debug

Querying a Specified Function Template

hcloud FunctionGraph ShowFunctionTemplate

This API is used to query a specified function template.

Go debug

Reserved Instances

API Name

Command

Description

Operation

Querying Reserved Instances of a Function

hcloud FunctionGraph ListReservedInstanceConfigs

This API is used to query reserved instances of a function.

Go debug

Changing the Number of Reserved Instances

hcloud FunctionGraph UpdateFunctionReservedInstancesCount

This API is used to change the number of reserved instances.

Go debug

Querying the Number of Reserved Instances

hcloud FunctionGraph ListFunctionReservedInstances

This API is used to query the number of instances reserved for a function.

Go debug

Function Import and Export

API Name

Command

Description

Operation

Exporting a Function

hcloud FunctionGraph ExportFunction

This API is used to export a function.

Go debug

Importing a Function

hcloud FunctionGraph ImportFunction

This API is used to import a function.

Go debug

Function Invocation

API Name

Command

Description

Operation

Executing a Function Synchronously

hcloud FunctionGraph InvokeFunction

This API is used to execute a function synchronously. Clients must wait for explicit responses to their requests from the function. Responses are returned only after function invocation is complete.

Go debug

Executing a Function Asynchronously

hcloud FunctionGraph AsyncInvokeFunction

This API is used to execute a function asynchronously.

Go debug

Function Triggers

API Name

Command

Description

Operation

Querying All Triggers of a Function

hcloud FunctionGraph ListFunctionTriggers

This API is used to query all triggers of a function.

Go debug

Creating a Trigger

hcloud FunctionGraph CreateFunctionTrigger

This API is used to create a trigger.

Go debug

Deleting All Triggers of a Function

hcloud FunctionGraph BatchDeleteFunctionTriggers

This API is used to delete all triggers of a function.

Go debug

Querying a Trigger

hcloud FunctionGraph ShowFunctionTrigger

This API is used to query a specified trigger.

Go debug

Updating a Trigger

hcloud FunctionGraph UpdateTrigger

This API is used to update a trigger.

Go debug

Deleting a Trigger

hcloud FunctionGraph DeleteFunctionTrigger

This API is used to delete a trigger.

Go debug

Function Flows

API Name

Command

Description

Operation

Executing a Function Flow Synchronously

hcloud FunctionGraph StartSyncWorkflowExecution

This API is used to execute a function flow synchronously. It is supported only for express flows.

Go debug

Querying Instances of a Flow

hcloud FunctionGraph ListWorkflowExecutions

This API is used to query the instances of a flow.

Go debug

Executing a Function Flow

hcloud FunctionGraph StartWorkflowExecution

This API is used to execute a function flow asynchronously.

Go debug

Querying a Flow

hcloud FunctionGraph ListWorkflow

This API is used to query a function flow.

Go debug

Creating a Flow

hcloud FunctionGraph CreateWorkflow

This API is used to create a function flow.

Go debug

Deleting Flows

hcloud FunctionGraph BatchDeleteWorkflows

This API is used to delete specified function flows.

Go debug

Querying a Flow Instance

hcloud FunctionGraph ShowWorkflowExecution

This API is used to query a specified instance of a function flow.

Go debug

Querying Metadata of a Flow Instance

hcloud FunctionGraph ShowWorkFlow

This API is used to query the metadata of specified function flow instance.

Go debug

Modifying Metadata of a Flow Instance

hcloud FunctionGraph UpdateWorkFlow

This API is used to modify the metadata of a specified function flow instance.

Go debug

Querying Flow Metrics

hcloud FunctionGraph ShowTenantMetric

This API is used to query metrics of all function flows.

Go debug

Querying Metrics of a Flow

hcloud FunctionGraph ShowWorkFlowMetric

This API is used to query the metrics of a function flow.

Go debug

Re-executing a Flow

hcloud FunctionGraph RetryWorkFlow

This API is used to re-execute a function flow.

Go debug

Stopping a Flow

hcloud FunctionGraph StopWorkFlow

This API is used to stop a function flow.

Go debug

Paging to get the list of execution instances of the specified function stream

hcloud FunctionGraph ShowWorkflowExecutionForPage

Paging to get the list of execution instances of the specified function stream

Go debug

Calling Back a Flow

hcloud FunctionGraph CreateCallbackWorkflow

This API is used to call back a flow.

Go debug

Asynchronous Execution Notification

API Name

Command

Description

Operation

Querying Asynchronous Execution Notification Settings of a Function Version

hcloud FunctionGraph ShowFunctionAsyncInvokeConfig

This API is used to query the asynchronous invocation setting of a function version.

Go debug

Configuring Asynchronous Execution Notification

hcloud FunctionGraph UpdateFunctionAsyncInvokeConfig

This API is used to configure asynchronous execution notification for a function.

Go debug

Deleting Asynchronous Execution Notification Settings

hcloud FunctionGraph DeleteFunctionAsyncInvokeConfig

This API is used to delete the asynchronous execution notification settings of a function.

Go debug

Querying Asynchronous Execution Notification Settings of a Function's All Versions

hcloud FunctionGraph ListFunctionAsyncInvokeConfig

This API is used to query the asynchronous execution notification settings of a function's all versions.

Go debug

Querying Asynchronous Invocation Requests

hcloud FunctionGraph ListAsyncInvocations

This API is used to query the asynchronous invocation requests of a function.

Go debug

Querying Active Asynchronous Invocation Requests

hcloud FunctionGraph ListActiveAsyncInvocations

This API is used to query active asynchronous invocation requests.

Go debug

Stopping an Asynchronous Invocation Request

hcloud FunctionGraph CancelAsyncInvocation

This API is used to stop asynchronous invocation of a function with N concurrent instances.

Go debug