函数工作流 FUNCTIONGRAPH-查询资源实例:响应示例

时间:2023-11-08 17:29:36

响应示例

状态码: 200

ok

  • 示例 1

    {
      "resources" : [ {
        "resource_id" : "34e4516e-e324-412b-914e-c4e568c7d813",
        "resource_detail" : {
          "func_urn" : "",
          "func_name" : "test_v2_1",
          "domain_id" : "f0a16ead2b344414a5ff053409c4xxxx",
          "namespace" : "e3e37049e339493d996313d658f7xxxx",
          "project_name" : "{region}",
          "package" : "default",
          "runtime" : "Node.js6.10",
          "timeout" : 3,
          "handler" : "index.handler",
          "memory_size" : 128,
          "cpu" : 300,
          "code_type" : "inline",
          "code_filename" : "index.zip",
          "code_size" : "247",
          "digest" : "608239783ff8efe2cd8b623530c5afdcfed38fca66beb99c26d7ff4dcb872e091d4976bc8b0e5986d8f185d55fdf92ff7c55980f8c91d01cd36402763c0d1d13",
          "version" : "latest",
          "image_name" : "latest-191211192124@po1lk",
          "strategy_config" : { }
        },
        "tags" : [ ],
        "sys_tags" : [ {
          "key" : "_sys_enterprise_project_id",
          "value" : "df5edab8-c458-4a4c-b87b-a4d3b0a757ce"
        } ],
        "resource_name" : "test_v2_1"
      } ]
    }
  • 示例 2

    1
support.huaweicloud.com/api-functiongraph/functiongraph_06_1021.html