硬件开发工具链平台云服务-生命周期数据模型API:请求示例

时间:2025-02-12 14:56:19

请求示例

假设SimulationRequest实体具有权限管理功能,下面是启用自动鉴权的请求实例。

curl --location 'http://test.com/unidata/api/SimulationRequest/create' \--header 'instance-auth: true' \--header 'policyId: 12345' \--data '{    "params":{        "name": "test",        "tenant": {            "id": "-1",            "clazz": "Tenant",            "name": "basicTenant"        }    }}'
support.huaweicloud.com/api-craftartsipdcenter/ipdcenter_06_0114.html