huawei-cloud-api-definitions-COC 0.1.20251024

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"BatchCreateApplicationViewRequestBody":{"properties":{"application_list":{"description":"**参数解释:**\n应用信息组成的列表。\n**约束限制:**\n不涉及。\n**取值范围:**\n不涉及。\n**默认取值:**\n不涉及。","items":{"properties":{"description":{"description":"**参数解释:**\n应用描述。\n**约束限制:**\n不涉及。\n**取值范围:**\n字符串,长度在0到256个字符之间。\n**默认取值:**\n不涉及。","example":"text","maxLength":256,"minLength":0,"type":"string"},"level":{"description":"**参数解释:**\n层级,默认应用层级为1,子应用层级为2。\n**约束限制:**\n不涉及。\n**取值范围:**\n- 1:应用层级。\n- 2:子应用层级。\n**默认取值:**\n默认应用层级为1。","example":1,"maxLength":1,"minLength":1,"type":"string"},"name":{"description":"**参数解释:**\n应用名称。\n**约束限制:**\n不涉及。\n**取值范围:**\n由中文、英文字母、数字、中划线、下划线组成,长度在3~50个字符之间。\n**默认取值:**\n不涉及。","example":"name","maxLength":50,"minLength":3,"type":"string"},"parent_name":{"description":"**参数解释:**\n父节点名称。\n**约束限制:**\n不涉及。\n**取值范围:**\n字符串,长度3到50个字符。\n**默认取值:**\n不涉及。","example":"name","maxLength":50,"minLength":3,"type":"string"}}},"maxItems":50,"minItems":1,"type":"array"},"component_list":{"description":"**参数解释:**\n组件信息组成的列表。\n**约束限制:**\n不涉及。\n**取值范围:**\n不涉及。\n**默认取值:**\n不涉及。","items":{"properties":{"name":{"description":"**参数解释:**\n组件名称。\n**约束限制:**\n不涉及。\n**取值范围:**\n由中文、英文字母、数字、中划线、下划线组成,长度在3~50个字符之间。\n**默认取值:**\n不涉及。","maxLength":50,"minLength":3,"type":"string"},"parent_name":{"description":"**参数解释:**\n父节点名称。\n**约束限制:**\n不涉及。\n**取值范围:**\n字符串,长度3到50个字符。\n**默认取值:**\n不涉及。","maxLength":50,"minLength":3,"type":"string"}}},"maxItems":50,"minItems":0,"type":"array"},"group_list":{"description":"**参数解释:**\n分组信息组成的列表。\n**约束限制:**\n不涉及。\n**取值范围:**\n不涉及。\n**默认取值:**\n不涉及。","items":{"properties":{"application_name":{"description":"**参数解释:**\n分组关联的应用名称。\n**约束限制:**\n不涉及。\n**取值范围:**\n 由中文、英文字母、数字、中划线、下划线组成,长度在3~50个字符之间。\n**默认取值:**\n不涉及。","maxLength":50,"minLength":3,"type":"string"},"cmdb_resource_id_list":{"description":"**参数解释:**\n关联的资源id列表。\n**约束限制:**\n不涉及。\n**取值范围:**\n不涉及。\n**默认取值:**\n不涉及。","items":{"maxLength":24,"minLength":24,"type":"string"},"maxItems":100,"minItems":0,"type":"array"},"component_name":{"description":"**参数解释:**\n分组关联的组件名称。\n**约束限制:**\n不涉及。\n**取值范围:**\n 由中文、英文字母、数字、中划线、下划线组成,长度在3~50个字符之间。\n**默认取值:**\n不涉及。","maxLength":50,"minLength":3,"type":"string"},"name":{"description":"**参数解释:**\n分组名称。\n**约束限制:**\n不涉及。\n**取值范围:**\n由中文、英文字母、数字、中划线、下划线组成,长度在3~50个字符之间。\n**默认取值:**\n不涉及。","maxLength":50,"minLength":3,"type":"string"},"parent_name":{"description":"**参数解释:**\n父节点名称。\n**约束限制:**\n不涉及。\n**取值范围:**\n字符串,长度3到50个字符。\n**默认取值:**\n不涉及。","maxLength":50,"minLength":3,"type":"string"},"region_id":{"description":"**参数解释:**\n区域id。\n**约束限制:**\n不涉及。\n**取值范围:**\n不涉及。\n**默认取值:**\n不涉及。","maxLength":64,"minLength":0,"type":"string"},"related_domain_id":{"description":"**参数解释:**\n关联的租户id。\n**约束限制:**\n不涉及。\n**取值范围:**\n字符串,长度32个字符。\n**默认取值:**\n不涉及。","maxLength":32,"minLength":32,"type":"string"},"relation_configurations":{"description":"**参数解释:**\n分组配置信息。\n**约束限制:**\n不涉及。\n**取值范围:**\n分组的关联配置信息,比如对应的APM的配置信息。\n**默认取值:**\n不涉及。","items":{"$ref":"#/definitions/GroupRelationConfiguration"},"maxItems":1,"minItems":0,"type":"array"},"sync_mode":{"description":"**参数解释:**\n同步模式。\n**约束限制:**\n不涉及。\n**取值范围:**\n- MANUAL:表示手动关联:用户在对应分组下,手动将对应资源数据关联至分组内进行管理。\n- AUTO:表示智能关联:用户通过企业项目和标签的形式,将企业项目下的相同标签资源创建至同一资源分组。\n**默认取值:**\n不涉及。","enum":["MANUAL","AUTO"],"type":"string"},"sync_rules":{"description":"**参数解释:**\n智能关联规则。\n**约束限制:**\n不涉及。\n**取值范围:**\n智能关联已选择的企业项目和对应标签的现存及未来创建的资源。\n**默认取值:**\n不涉及。","items":{"properties":{"ep_id":{"description":"**参数解释:**\n企业项目id。\n**约束限制:**\n不涉及。\n**取值范围:**\n请选择[企业管理](https://support.huaweicloud.com/usermanual-em/em_eps_qs_0400.html)中存在的项目ID。\n**默认取值:**\n不涉及。","maxLength":36,"minLength":0,"type":"string"},"rule_tags":{"description":"**参数解释:**\n关联标签。\n**约束限制:**\n不涉及。\n**取值范围:**\n可自定义。\n**默认取值:**\n不涉及。","maxLength":4200,"minLength":0,"type":"string"}}},"maxItems":10,"minItems":0,"type":"array"},"vendor":{"description":"**参数解释:**\n云广商信息。\n**约束限制:**\n不涉及。\n**取值范围:**\n- RMS: 华为云。\n- AWS:亚马逊。\n- AZURE:微软。\n- ALI:阿里云。\n- VMWARE:VMware。\n- OPENSTACK:openstack云平台。\n- HCS:Huawei Cloud Stack。\n- OTHER:其他云广商。\n**默认取值:**\n不涉及。","maxLength":32,"type":"string"}}},"maxItems":50,"minItems":0,"type":"array"}},"required":["application_list"],"type":"object"},"BatchCreateApplicationViewResponseBody":{"description":"**参数解释:**\n批量创建应用,组件,分组响应体。\n**取值范围:**\n不涉及。","properties":{"application_ids":{"description":"**参数解释:**\n应用id列表。\n**取值范围:**\n不涉及。","items":{"maxLength":24,"minLength":24,"type":"string"},"maxItems":50,"minItems":1,"type":"array"},"component_ids":{"description":"**参数解释:**\n组件id列表。\n**取值范围:**\n不涉及。","items":{"maxLength":24,"minLength":24,"type":"string"},"maxItems":50,"minItems":0,"type":"array"},"group_ids":{"description":"**参数解释:**\n分组id列表。\n**取值范围:**\n不涉及。","items":{"maxLength":24,"minLength":24,"type":"string"},"maxItems":50,"minItems":0,"type":"array"}},"type":"object"},"GroupRelationConfiguration":{"description":"分组的关联配置信息,比如对应的APM的配置信息。","properties":{"parameters":{"additionalProperties":{"type":"string"},"description":"配置参数。","type":"object"},"type":{"description":"配置类型。","type":"string"}},"type":"object"}},"description":null,"group_id":"82af75d8fb894fc2b06ca4175859ba53","host":"coc.myhuaweicloud.com","id":"936b77743c494ff68dd3ba6575304315","info_version":"v1","method":"post","name":"BatchCreateApplicationView","parameters":{},"paths":{"/v1/application-view/batch-create":{"post":{"description":"批量创建应用,分组,组件。","operationId":"BatchCreateApplicationView","parameters":[{"description":"批量创建应用,分组,组件请求体。","in":"body","name":"BatchCreateApplicationViewRequestBody","required":false,"schema":{"$ref":"#/definitions/BatchCreateApplicationViewRequestBody"}}],"responses":{"200":{"description":"批量创建应用,分组,组件成功。","examples":{"application/json":{"data":{"application_ids":["68906f0d2e9e061ab9424d0d","68906f0d2e9e061ab9424d0c"],"component_ids":["68906f0d2e9e061ab9424d0e"],"group_ids":["68906f0d2e9e061ab9424d10"]}}},"schema":{"$ref":"#/definitions/BatchCreateApplicationViewResponseBody"}}},"summary":"批量创建应用,分组,组件","tags":["applicationview"],"x-codegen-request-body-name":"BatchCreateApplicationViewRequestBody","x-is-registered":"Y","x-order":1,"x-request-examples-1":{"application_list":[{"description":"test11","level":"1","name":"testcreatet111"}],"component_list":[{"name":"testcomponent22","parent_name":"testcreatet111"}],"group_list":[{"application_name":"testcreatet111","cmdb_resource_id_list":null,"component_name":"testcomponent22","name":"testgroup888","region_id":"testregion","related_domain_id":null,"relation_configurations":null,"sync_mode":"AUTO","sync_rules":[{"ep_id":"0","rule_tags":"[{\"key\":\"test1222\",\"value\":\"teee\"}]"}],"vendor":"RMS"}]},"x-request-examples-description-1":"批量创建应用,分组,组件。","x-request-examples-url-1":"POST https://{Endpoint}/v1/application-view/batch-create","x-support-sdk":"Y"}}},"product_short":"COC","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"批量创建应用,分组,组件","tags":"applicationview","uri":null,"version":"2.0"}