The FC component is a tool that is developed based on Serverless Devs. The FC component can be used to manage resources in Function Compute. For example, you can use the FC component to manage and create resources, such as services, functions, and triggers, and also to update, delete, and query the resources. The FC component allows developers to call the Function Compute API by running command lines.
After you install Serverless Devs, you can use
cli to wake up the FC component. For example, you can run the
s cli fc api --help command in the command line interface (CLI) to obtain the list of API commands that are supported by the FC component. Alternatively, you can also run the
s cli fc api <apiName> --help command to obtain the parameters and the calling method of a specific API command.
The FC component takes effect for API operations to provide the basic atomic capabilities. In this case, you can refer to the API operation document to learn more when you use the component. For more information, see List of operations by function.
API commands supported by the FC component
Creates a service.
Deletes a service.
Updates the configurations of a service.
Queries the configurations about a service.
Creates a function.
Deletes a function.
Modifies a function.
Queries the information about a function.
Queries the code of a function.
Queries a list of functions.
Invokes a function.
Creates a trigger.
Deletes a trigger.
Updates the configurations of a trigger.
Queries the information about a trigger
Queries a list of triggers.
Publishes a service version.
Removes a service version.
Queries all versions of a service.
Creates an alias.
Deletes an alias.
Updates an alias.
Queries an alias.
Queries a list of aliases.
Creates a custom domain name.
Deletes a custom domain name.
Modifies a custom domain name.
Obtains a custom domain name.
Queries a list of custom domain names.
Configures the provisioned mode of function instances.
Queries the information about a provisioned instance.
Queries the configurations of a provisioned instance.
Adds a service tag.
Deletes a service tag.
Queries the information about a service tag.
Configures the asynchronous invocation settings of a function.
Creates or modifies asynchronous invocation configurations for a function in a service.
Queries the asynchronous invocation configurations of a specific function.
Queries the asynchronous invocation configurations of a function.
Releases a layer version.
Deletes a layer version.
Queries the information about a specific layer version.
Queries a list of layer versions.
Queries a list of layers.
Queries a list of event sources for function invocations.
Deregisters an event source for a function invocation.
Registers an event source for a function invocation.
Queries a list of existing VPC connections.
Creates a VPC connection.
Deletes an access control policy from a specified policy group for a VPC firewall.
Queries all function resources that have enabled asynchronous tasks within the current account.
Queries all asynchronous invocation records in an asynchronous task that meets specific conditions.
Queries all asynchronous invocations in an asynchronous task that meets specific conditions.
Stops an asynchronous task.