Help Center/ FunctionGraph/ FAQs/ Dependency Management FAQs/ How Do I Create a Dependency on the FunctionGraph Console?
Updated on 2024-11-11 GMT+08:00

How Do I Create a Dependency on the FunctionGraph Console?

  1. Log in to the FunctionGraph console, and choose Functions > Dependencies in the navigation pane.
  2. Click Create Dependency.
  3. Set the following parameters.
    Table 1 Dependency configuration parameters

    Parameter

    Description

    Name

    Dependency name.

    Code Entry Mode

    Upload a ZIP file directly or through OBS.

    • Upload ZIP file: Click Select File to upload a ZIP file.
    • Upload from OBS: Specify an OBS link URL. For details about how to obtain the URL, see Accessing an Object Using Its URL.

    Runtime

    Select a runtime.

    Description

    Description of the dependency. This parameter is optional.

  4. Click OK. By default, a new dependency is version 1.
  5. Click the dependency name, and view all versions and related information on the displayed page. Each dependency can have multiple versions.
    • To create a dependency version, click Create Version in the upper right corner of the page.
    • To view the address of a version, click the version.
    • To delete a version, click the delete icon in the same row.
      Figure 1 Deleting a dependency version