资源编排服务 RFS-创建私有provider版本:请求示例

时间:2024-12-12 20:29:56

请求示例

  • 创建一个新的私有provider版本

    POST https://{endpoint}/v1/private-providers/my-hello-world-provider-name/versions
    
    {
      "provider_version" : "0.0.2",
      "function_graph_urn" : "urn:fss:cn-north-7:a61dfe3154de42829367056598d5040f:function:default:test:latest",
      "version_description" : "my second private provider version"
    }
  • 创建一个新的私有provider版本,并带有provider ID

    POST https://{endpoint}/v1/private-providers/my-hello-world-provider-name/versions
    
    {
      "provider_id" : "1b15e005-bdbb-4bd7-8f9a-a09b6774b4b3",
      "provider_version" : "0.0.1",
      "function_graph_urn" : "urn:fss:cn-north-7:a61dfe3154de42829367056598d5040f:function:default:test:latest",
      "version_description" : "my first private provider version"
    }
support.huaweicloud.com/api-aos/CreatePrivateProviderVersion.html