huawei-cloud-api-definitions-MAS 0.1.20251023

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"[\"application/json\"]","definitions":{"BaseMultiActiveZoneSpec":{"type":"object"},"DataSyncStatistics":{"properties":{"abnormal_count":{"format":"int32","type":"integer"},"running_count":{"format":"int32","type":"integer"},"type_two_way_count":{"format":"int32","type":"integer"},"type_unidirectional_count":{"format":"int32","type":"integer"}},"type":"object"},"DatasourceStatistics":{"properties":{"count":{"format":"int32","type":"integer"},"mysql_count":{"format":"int32","type":"integer"}},"type":"object"},"MultiActiveZoneDto":{"properties":{"available_zone":{"items":{"type":"string"},"type":"array"},"description":{"type":"string"},"id":{"type":"string"},"is_master":{"type":"boolean"},"name":{"type":"string"},"namespace_id":{"type":"string"},"region":{"type":"string"},"region_name":{"type":"string"},"spec":{"$ref":"#/definitions/BaseMultiActiveZoneSpec"},"type":{"format":"int32","type":"integer"}},"type":"object"},"MultiActiveZoneVo":{"properties":{"available_zone":{"items":{"type":"string"},"type":"array"},"created_date":{"format":"date-time","type":"string"},"description":{"type":"string"},"id":{"type":"string"},"is_master":{"type":"boolean"},"name":{"type":"string"},"namespace_id":{"type":"string"},"region":{"type":"string"},"region_name":{"type":"string"},"spec":{"$ref":"#/definitions/BaseMultiActiveZoneSpec"},"type":{"format":"int32","type":"integer"},"updated_date":{"format":"date-time","type":"string"}},"type":"object"},"NamespaceDto":{"properties":{"description":{"type":"string"},"enterprise_project_id":{"type":"string"},"id":{"type":"string"},"multi_active_zone":{"items":{"$ref":"#/definitions/MultiActiveZoneDto"},"type":"array"},"name":{"type":"string"},"project_id":{"type":"string"},"tenant_id":{"type":"string"},"type":{"format":"int32","type":"integer"},"user_id":{"type":"string"}},"type":"object"},"NamespaceVo":{"properties":{"created_date":{"format":"date-time","type":"string"},"data_sync_statistics":{"$ref":"#/definitions/DataSyncStatistics"},"datasource_statistics":{"$ref":"#/definitions/DatasourceStatistics"},"description":{"type":"string"},"enterprise_project_id":{"type":"string"},"id":{"type":"string"},"is_used":{"type":"boolean"},"multi_active_zone":{"items":{"$ref":"#/definitions/MultiActiveZoneVo"},"type":"array"},"name":{"type":"string"},"project_id":{"type":"string"},"tenant_id":{"type":"string"},"type":{"format":"int32","type":"integer"},"updated_date":{"format":"date-time","type":"string"},"user_id":{"type":"string"}},"type":"object"}},"description":null,"group_id":"a467e2fe7fb14b34be8e54d280d83c6d","host":"mas.cn-north-4.myhuaweicloud.com","id":"09be1875858745269ecf715f132f741d","info_version":"v1","method":"post","name":"CreateNamespace","parameters":{},"paths":{"/v1/{project_id}/namespaces":{"post":{"consumes":["application/json"],"operationId":"CreateNamespace","parameters":[{"in":"path","name":"project_id","required":true,"type":"string"},{"in":"header","name":"X-Auth-Token","required":true,"type":"string"},{"description":"namespaceDto","in":"body","name":"namespaceDto","required":true,"schema":{"$ref":"#/definitions/NamespaceDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/NamespaceVo"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"创建命名空间","tags":["命名空间管理"],"x-support-sdk":"N"}}},"product_short":"MAS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"创建命名空间","tags":"命名空间管理","uri":null,"version":"2.0"}