应用管理与运维平台 SERVICESTAGE-创建微服务引擎专享版:请求示例

时间:2024-09-21 08:05:15

请求示例

创建一个名称为“test”微服务引擎专享版,其计费模式为按需计费,规格为cse.s1.small2,可用区为test,关闭安全认证,微服务引擎的部署类型为 CS E2。

POST https://{endpoint}/v2/{project_id}/enginemgr/engines
{
	"name": "test",
	"description": "test",
	"payment": "1",
	"flavor": "cse.s1.small2",
	"azList": ["test"],
	"authType": "NONE",
	"vpc": "vpc-demotest",
	"vpcId": "09902850-9454-4715-9764-018f0c37022",
	"networkId": "88550801-e892-4f8e-b21b-f7147f6229",
	"subnetCidr": "192.168.0.5/26",
	"specType": "CSE2,
	"inputs": {
		"nodeFlavor": "s6.large.2"
	}
}
support.huaweicloud.com/api-servicestage/cse_06_0030.html