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

时间:2024-09-27 18:16:56

请求示例

  • 创建一个空的私有provider

    POST https://{endpoint}/v1/private-providers
    
    {
      "provider_name" : "my-hello-world-provider-name",
      "provider_description" : "my first private provider"
    }
  • 创建一个带有版本的的私有provider

    POST https://{endpoint}/v1/private-providers
    
    {
      "provider_name" : "my-hello-world-provider-name",
      "provider_description" : "my first hello world private provider",
      "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/CreatePrivateProvider.html