diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/iacservice | |
| download | acs-metadata-full-main.tar.gz acs-metadata-full-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/iacservice')
| -rw-r--r-- | data/en_us/iacservice/2021-07-22/api-docs.php | 425 | ||||
| -rw-r--r-- | data/en_us/iacservice/2021-08-06/api-docs.php | 9984 |
2 files changed, 10409 insertions, 0 deletions
diff --git a/data/en_us/iacservice/2021-07-22/api-docs.php b/data/en_us/iacservice/2021-07-22/api-docs.php new file mode 100644 index 0000000..3468d48 --- /dev/null +++ b/data/en_us/iacservice/2021-07-22/api-docs.php @@ -0,0 +1,425 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'IaCService', + 'version' => '2021-07-22', + ], + 'directories' => [ + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'ListResources', + 'GetResource', + 'ListDataSources', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'ListResources' => [ + 'summary' => '列举资源', + 'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/resources', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'provider', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'productCode', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'resourceTypeCode', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'regionIds', + 'in' => 'query', + 'style' => 'simple', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'filter', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + ], + ], + [ + 'name' => 'x-roag-cache', + 'in' => 'header', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'pageNum', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'dataType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'totalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'pageNum' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'pageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'nextToken' => [ + 'type' => 'string', + ], + 'maxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'resources' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'productCode' => [ + 'type' => 'string', + ], + 'resourceTypeCode' => [ + 'type' => 'string', + ], + 'regionId' => [ + 'type' => 'string', + ], + 'resourceId' => [ + 'type' => 'string', + ], + 'resourceAttributes' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => null, + ], + 'GetResource' => [ + 'summary' => '获取具体资源', + 'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/resources/{resourceId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'provider', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'productCode', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'resourceTypeCode', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'resourceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'dataType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'resource' => [ + 'type' => 'object', + 'properties' => [ + 'productCode' => [ + 'type' => 'string', + ], + 'resourceTypeCode' => [ + 'type' => 'string', + ], + 'regionId' => [ + 'type' => 'string', + ], + 'resourceId' => [ + 'type' => 'string', + ], + 'resourceAttributes' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => null, + ], + 'ListDataSources' => [ + 'summary' => '列举资源属性可选值', + 'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/dataSources/{attributeName}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorerY5UU1D', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'provider', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'productCode', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'resourceTypeCode', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'attributeName', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'filter', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'dataSources' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'id' => [ + 'type' => 'string', + ], + 'dataSourceAttributes' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => null, + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'iac.cn-zhangjiakou.aliyuncs.com', + ], + ], +]; diff --git a/data/en_us/iacservice/2021-08-06/api-docs.php b/data/en_us/iacservice/2021-08-06/api-docs.php new file mode 100644 index 0000000..d4b39b7 --- /dev/null +++ b/data/en_us/iacservice/2021-08-06/api-docs.php @@ -0,0 +1,9984 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'IaCService', + 'version' => '2021-08-06', + ], + 'directories' => [ + [ + 'id' => 171780, + 'title' => 'Module', + 'type' => 'directory', + 'children' => [ + 'CreateModule', + 'UpdateModuleAttribute', + 'ListModules', + 'GetModule', + 'DeleteModule', + ], + ], + [ + 'id' => 172110, + 'title' => 'Module Version', + 'type' => 'directory', + 'children' => [ + 'CreateModuleVersion', + 'GetModuleVersion', + 'ListModuleVersion', + ], + ], + [ + 'id' => 171831, + 'title' => 'Tasks', + 'type' => 'directory', + 'children' => [ + 'CreateTask', + 'UpdateTaskAttribute', + 'ListTasks', + 'GetTask', + 'DeleteTask', + ], + ], + [ + 'id' => 171775, + 'title' => 'Job', + 'type' => 'directory', + 'children' => [ + 'CreateJob', + 'OperateJob', + 'ListJobs', + 'GetJob', + ], + ], + [ + 'id' => 171820, + 'title' => 'Resource Export Task', + 'type' => 'directory', + 'children' => [ + 'CreateResourceExportTask', + 'UpdateResourceExportTaskAttribute', + 'ListResourceExportTasks', + 'GetResourceExportTask', + 'CancelResourceExportTask', + 'ExecuteResourceExportTask', + 'DeleteResourceExportTask', + 'ListResourceExportTaskVersions', + ], + ], + [ + 'id' => 205402, + 'title' => 'Work space', + 'type' => 'directory', + 'children' => [ + 'CreateRegistryNamespace', + 'UpdateRegistryNamespaceAttribute', + 'ListRegistryNamespaces', + 'GetRegistryNamespace', + 'DeleteRegistryNamespace', + 'AddSharedAccounts', + 'RemoveSharedAccounts', + ], + ], + [ + 'id' => 205400, + 'title' => 'Registry Module', + 'type' => 'directory', + 'children' => [ + 'CreateRegistryModule', + 'UpdateRegistryModuleAttribute', + 'ListRegistryModules', + 'GetRegistryModule', + 'DeleteRegistryModule', + 'PublishRegistryModuleVersion', + 'ListRegistryModuleVersions', + 'GetRegistryModuleVersion', + 'DeleteRegistryModuleVersion', + ], + ], + [ + 'id' => 172263, + 'title' => 'Metadata', + 'type' => 'directory', + 'children' => [ + 'ListTerraformProviderVersions', + 'ListProducts', + 'ListResourceTypes', + 'GetResourceType', + ], + ], + [ + 'id' => 205406, + 'title' => 'Explorer Module', + 'type' => 'directory', + 'children' => [ + 'UpdateExplorerModuleAttribute', + ], + ], + [ + 'id' => 244873, + 'title' => 'Terraform execution', + 'type' => 'directory', + 'children' => [ + 'ValidateModule', + 'ExecuteTerraformApply', + 'ExecuteTerraformDestroy', + 'GetExecuteState', + 'ExecuteTerraformPlan', + ], + ], + [ + 'id' => 245334, + 'title' => 'Official RegistryModule', + 'type' => 'directory', + 'children' => [ + 'ExecuteRegistryModule', + 'ListExplorerRegistryModuleVersions', + 'ListExplorerRegistryModules', + 'ListExplorerRegistryModuleExamples', + ], + ], + [ + 'id' => 171803, + 'title' => 'Project', + 'type' => 'directory', + 'children' => [ + 'CreateProject', + 'UpdateProject', + 'ListProject', + 'GetProject', + 'DeleteProject', + ], + ], + [ + 'id' => 171885, + 'title' => 'Grouping', + 'type' => 'directory', + 'children' => [ + 'CreateGroup', + 'UpdateGroup', + 'GetGroup', + 'ListGroup', + 'DeleteGroup', + 'AssociateGroup', + 'DissociateGroup', + ], + ], + [ + 'id' => 371929, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ManageTerraformState', + ], + ], + [ + 'id' => 171857, + 'title' => 'Other', + 'type' => 'directory', + 'children' => [ + 'GenerateModule', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CreateModule' => [ + 'summary' => 'Create Module', + 'path' => '/modules', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'groupInfo' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'groupId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'g-5fd38c9b92d541a7083a86432e2', + ], + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p-433aead75605713865c386cb9d', + ], + ], + 'required' => false, + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + 'source' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'OSS', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'OSS:'."\n" + .'"oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip"'."\n" + .'Registry:'."\n" + .'"alibaba/security-group/alicloud:2.1.0"', + ], + 'statePath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/terraform.tfstate', + ], + 'versionStrategy' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Manual', + ], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagValue' => [ + 'type' => 'string', + ], + 'tagKey' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'moduleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'mod-518855d9a058cfffcc446d8fe3c99', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '0D797DC3-FF04-5C21-81EB-92C7799512E3', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"moduleId\\": \\"mod-518855d9a058cfffcc446d8fe3c99\\",\\n \\"requestId\\": \\"0D797DC3-FF04-5C21-81EB-92C7799512E3\\"\\n}","type":"json"}]', + 'title' => 'Create Module', + 'translator' => 'machine', + ], + 'UpdateModuleAttribute' => [ + 'summary' => 'Update Module', + 'path' => '/modules/{moduleId}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'OSS:'."\n" + .'"oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip"'."\n" + .'Registry:'."\n" + .'"alibaba/security-group/alicloud:2.1.0"', + ], + 'statePath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/terraform.tfstate', + ], + 'versionStrategy' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Manual', + ], + 'groupInfo' => [ + 'type' => 'object', + 'properties' => [ + 'groupId' => [ + 'type' => 'string', + 'required' => false, + ], + 'projectId' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'clientToken' => [ + 'type' => 'string', + 'required' => true, + ], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagValue' => [ + 'type' => 'string', + ], + 'tagKey' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'moduleId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'mod-62ecaa43022ce189d65f8d4a794', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'CA05185E-6B90-5941-98D4-7212688AECC8', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"CA05185E-6B90-5941-98D4-7212688AECC8\\"\\n}","type":"json"}]', + 'title' => 'Modify Module', + 'translator' => 'machine', + ], + 'ListModules' => [ + 'summary' => '列举模板', + 'path' => '/modules', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '20', + ], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'projectId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'groupId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'tag', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagKey' => [ + 'type' => 'string', + ], + 'tagValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + [ + 'name' => 'moduleName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'modules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-01-30T02:14:16Z', + ], + 'deletionProtection' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'description', + ], + 'groupInfo' => [ + 'type' => 'object', + 'properties' => [ + 'groupId' => [ + 'type' => 'string', + ], + 'groupName' => [ + 'type' => 'string', + ], + 'projectId' => [ + 'type' => 'string', + ], + 'projectName' => [ + 'type' => 'string', + ], + ], + ], + 'latestVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'moduleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'mod-518855d9a058cdbd3fd6951d59', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OSS', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Created', + ], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'key' => [ + 'type' => 'string', + ], + 'value' => [ + 'type' => 'string', + ], + 'tagKey' => [ + 'type' => 'string', + ], + 'tagValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'pageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'pageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'C617E03B-3DD2-5F0C-A6CF-3028B499A2D5', + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2790', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"modules\\": [\\n {\\n \\"createTime\\": \\"2022-01-30T02:14:16Z\\",\\n \\"deletionProtection\\": false,\\n \\"description\\": \\"this is description\\\\n\\",\\n \\"groupInfo\\": {\\n \\"groupId\\": \\"g-kw1a58tb5m2j7rpsa6j25\\",\\n \\"groupName\\": \\"groupName\\",\\n \\"projectId\\": \\"p-fu1a50tjdaff2lppddqsm\\",\\n \\"projectName\\": \\"projectName\\"\\n },\\n \\"latestVersion\\": \\"v1\\",\\n \\"moduleId\\": \\"mod-518855d9a058cdbd3fd6951d59\\",\\n \\"name\\": \\"ModuleName\\",\\n \\"source\\": \\"OSS\\",\\n \\"status\\": \\"Created\\",\\n \\"tags\\": [\\n {\\n \\"key\\": \\"TestKey\\",\\n \\"value\\": \\"TestValue\\",\\n \\"tagKey\\": \\"TestKey\\",\\n \\"tagValue\\": \\"TestValue\\"\\n }\\n ]\\n }\\n ],\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"C617E03B-3DD2-5F0C-A6CF-3028B499A2D5\\",\\n \\"totalCount\\": 2790\\n}","type":"json"}]', + ], + 'GetModule' => [ + 'summary' => 'Get Module Details', + 'path' => '/modules/{moduleId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'moduleId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'mod-148e7853433574fffe9ca86154d77a', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'module' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-09-06T06:11:27Z', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test1', + ], + 'latestVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'moduleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'mod-4267dcfbf1b6d14625614ddbe15', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + 'outputPath' => [ + 'description' => '', + 'type' => 'string', + 'example' => '/', + ], + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OSS', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OSS:'."\n" + .'"oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip"'."\n" + .'Registry:'."\n" + .'"alibaba/security-group/alicloud:2.1.0"', + ], + 'statePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/terraform.tfstate', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Created', + ], + 'versionStrategy' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Manual', + ], + 'groupInfo' => [ + 'type' => 'object', + 'properties' => [ + 'groupId' => [ + 'type' => 'string', + ], + 'groupName' => [ + 'type' => 'string', + ], + 'projectId' => [ + 'type' => 'string', + ], + 'projectName' => [ + 'type' => 'string', + ], + ], + ], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagValue' => [ + 'type' => 'string', + ], + 'tagKey' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1E7BA3EB-B0EF-53F5-9999-07CAD6D9F8A3', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"module\\": {\\n \\"createTime\\": \\"2022-09-06T06:11:27Z\\",\\n \\"description\\": \\"this is description\\\\n\\",\\n \\"latestVersion\\": \\"v1\\",\\n \\"moduleId\\": \\"mod-4267dcfbf1b6d14625614ddbe15\\",\\n \\"name\\": \\"ModuleName\\",\\n \\"outputPath\\": \\"/\\",\\n \\"source\\": \\"OSS\\",\\n \\"sourcePath\\": \\"oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip\\",\\n \\"statePath\\": \\"oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/terraform.tfstate\\",\\n \\"status\\": \\"Created\\",\\n \\"versionStrategy\\": \\"Manual\\",\\n \\"groupInfo\\": {\\n \\"groupId\\": \\"g-fu1a1ol8cob1oni01ekcloi\\",\\n \\"groupName\\": \\"groupName\\\\n\\",\\n \\"projectId\\": \\"p-al1d11jlvlsbvr11lf3pqo\\",\\n \\"projectName\\": \\"projectName\\"\\n },\\n \\"tags\\": [\\n {\\n \\"tagValue\\": \\"TestValue\\",\\n \\"tagKey\\": \\"TestKey\\"\\n }\\n ]\\n },\\n \\"requestId\\": \\"1E7BA3EB-B0EF-53F5-9999-07CAD6D9F8A3\\"\\n}","type":"json"}]', + 'title' => 'Get Module Details', + 'translator' => 'machine', + ], + 'DeleteModule' => [ + 'summary' => '删除模板', + 'path' => '/modules/{moduleId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'moduleId', + 'in' => 'path', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'mod-14e80de4866bf71ef354cc82d17f', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '49DA6457-E545-5095-A930-EB8F0BCD4DAA', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"49DA6457-E545-5095-A930-EB8F0BCD4DAA\\"\\n}","type":"json"}]', + ], + 'CreateModuleVersion' => [ + 'summary' => '创建模板版本', + 'path' => '/modules/{moduleId}/versions', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'moduleId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'mod-433aead756057143bd9145a5258', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'moduleVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"moduleVersion\\": \\"v1\\",\\n \\"requestId\\": \\"B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9\\"\\n}","type":"json"}]', + ], + 'GetModuleVersion' => [ + 'summary' => '模板版本详情', + 'path' => '/modules/{moduleId}/versions/{moduleVersion}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'moduleId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'mod-14e80de4866bf71c92a04fe353b1', + ], + ], + [ + 'name' => 'moduleVersion', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '0D298375-F92F-5B65-82E4-EA68F02521F1', + ], + 'version' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-09-08T18:07:40Z', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'description', + ], + 'moduleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'mod-4267dcfbf1b6dfffbc27e218d1b66', + ], + 'moduleVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OSS', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip', + ], + 'statePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/terraform.tfstate', + ], + 'terraformContext' => [ + 'description' => '', + 'type' => 'object', + ], + 'versionStrategy' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Manual', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0D298375-F92F-5B65-82E4-EA68F02521F1\\",\\n \\"version\\": {\\n \\"createTime\\": \\"2022-09-08T18:07:40Z\\",\\n \\"description\\": \\"this is description\\\\n\\",\\n \\"moduleId\\": \\"mod-4267dcfbf1b6dfffbc27e218d1b66\\",\\n \\"moduleVersion\\": \\"v1\\",\\n \\"name\\": \\"versionName\\",\\n \\"source\\": \\"OSS\\",\\n \\"sourcePath\\": \\"oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip\\",\\n \\"statePath\\": \\"oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/terraform.tfstate\\",\\n \\"terraformContext\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"versionStrategy\\": \\"Manual\\"\\n }\\n}","type":"json"}]', + ], + 'ListModuleVersion' => [ + 'summary' => '模板版本列表', + 'path' => '/modules/{moduleId}/versions', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'moduleId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'mod-433aead756057fff39b2f7ac8b798', + ], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'pageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'pageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '792171BB-1A68-5148-8B9B-C7C728E1E98B', + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '6', + ], + 'versions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-05-13T02:21:49Z', + ], + 'moduleVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v3', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'name', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'description', + ], + 'moduleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'mod-55f1739d9050fffed3ec3a2c4a5e5', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"792171BB-1A68-5148-8B9B-C7C728E1E98B\\",\\n \\"totalCount\\": 6,\\n \\"versions\\": [\\n {\\n \\"createTime\\": \\"2022-05-13T02:21:49Z\\",\\n \\"moduleVersion\\": \\"v3\\",\\n \\"name\\": \\"versionName\\",\\n \\"description\\": \\"this is description\\\\n\\",\\n \\"moduleId\\": \\"mod-55f1739d9050fffed3ec3a2c4a5e5\\",\\n \\"sourcePath\\": \\"oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'CreateTask' => [ + 'summary' => '创建任务', + 'path' => '/tasks', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'autoApply' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'false', + ], + 'autoDestroy' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + ], + 'groupInfo' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'groupId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'g-5fd38c9b92d541a7083a86432e2', + ], + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'project-433aead7560572057e5d9167608', + ], + ], + 'required' => false, + ], + 'initModuleState' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'moduleId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'mod-148e7853433574fff6b316f4eb737e', + ], + 'moduleVersion' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'v1', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + 'protectionStrategy' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'required' => false, + ], + 'ramRole' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + 'skipPropertyValidation' => [ + 'type' => 'boolean', + ], + 'terraformVersion' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.2.6', + ], + 'triggerStrategy' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Always'."\n", + 'default' => 'Manual', + 'enum' => [ + 'Always', + 'NewVersion', + 'Manual', + ], + ], + 'taskBackend' => [ + 'type' => 'object', + 'properties' => [ + 'bucketName' => [ + 'type' => 'string', + ], + 'bucketEndpoint' => [ + 'type' => 'string', + ], + 'objectPath' => [ + 'type' => 'string', + ], + ], + ], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagValue' => [ + 'type' => 'string', + ], + 'tagKey' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'CD478792-6952-5A1C-9F57-78932BF0FAC6', + ], + 'taskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-433aead756057fffeaba4828f5195', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"CD478792-6952-5A1C-9F57-78932BF0FAC6\\",\\n \\"taskId\\": \\"task-433aead756057fffeaba4828f5195\\"\\n}","type":"json"}]', + ], + 'UpdateTaskAttribute' => [ + 'summary' => '修改任务', + 'path' => '/tasks/{taskId}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'task-4267dcfbf1b6dfff67fea425525e2', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'autoApply' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'false', + ], + 'autoDestroy' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + ], + 'groupInfo' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'groupId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'g-433aead7560571e66e31274ffd3', + ], + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p-433aead75605713865c386cb9d', + ], + ], + 'required' => false, + ], + 'initModuleState' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'moduleVersion' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'protectionStrategy' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PreventDestroy', + ], + 'required' => false, + ], + 'ramRole' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + 'skipPropertyValidation' => [ + 'type' => 'boolean', + ], + 'terraformVersion' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.2.6', + ], + 'triggerStrategy' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Manual', + 'default' => 'Manual', + 'enum' => [ + 'Always', + 'NewVersion', + 'Manual', + ], + ], + 'clientToken' => [ + 'type' => 'string', + 'required' => true, + ], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagValue' => [ + 'type' => 'string', + ], + 'tagKey' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '17793D91-A26F-520D-A948-3452A45D15B1', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"17793D91-A26F-520D-A948-3452A45D15B1\\"\\n}","type":"json"}]', + ], + 'ListTasks' => [ + 'summary' => '任务列表', + 'path' => '/tasks', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + ], + [ + 'name' => 'taskId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'task-433aead756057fffeaba4828f5195', + ], + ], + [ + 'name' => 'moduleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'mod-1525e992f1b62139d1c437d64ae', + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '20', + ], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'projectId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p-433aead7560572f8d95b25775c', + ], + ], + [ + 'name' => 'groupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'g-59d8d22e78792ffe3d3eb6154d727', + ], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'tag', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagValue' => [ + 'type' => 'string', + ], + 'tagKey' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'pageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'pageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '98610149-488B-5E48-B981-8D4CE1AF77CD', + ], + 'tasks' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'autoApply' => [ + 'type' => 'boolean', + ], + 'moduleName' => [ + 'type' => 'string', + ], + 'deletionProtection' => [ + 'type' => 'boolean', + ], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagValue' => [ + 'type' => 'string', + ], + 'tagKey' => [ + 'type' => 'string', + ], + 'value' => [ + 'type' => 'string', + ], + 'key' => [ + 'type' => 'string', + ], + ], + ], + ], + 'latestModuleVersion' => [ + 'type' => 'string', + ], + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-07-11T15:09:53Z', + ], + 'moduleVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + 'currentJobStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pending', + ], + 'groupInfo' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'groupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + 'groupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'g-4267dcfbf1b6d1e0652bfbbe995', + ], + 'projectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'p-433aead7560571cf1b2bfbbe92b', + ], + ], + ], + 'currentJobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-123asd', + ], + 'moduleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'mod-518855d9a058c331e9c60bc0ce', + ], + 'taskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-1525e992f1b621b0ca51647876e', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Running', + ], + ], + ], + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"98610149-488B-5E48-B981-8D4CE1AF77CD\\",\\n \\"tasks\\": [\\n {\\n \\"autoApply\\": false,\\n \\"moduleName\\": \\"mod-name\\",\\n \\"deletionProtection\\": false,\\n \\"tags\\": [\\n {\\n \\"tagValue\\": \\"iac-demo\\\\n\\",\\n \\"tagKey\\": \\"name\\",\\n \\"value\\": \\"iac-demo\\",\\n \\"key\\": \\"name\\"\\n }\\n ],\\n \\"latestModuleVersion\\": \\"v3\\",\\n \\"createTime\\": \\"2022-07-11T15:09:53Z\\",\\n \\"moduleVersion\\": \\"v1\\",\\n \\"name\\": \\"TaskName\\",\\n \\"currentJobStatus\\": \\"Pending\\",\\n \\"groupInfo\\": {\\n \\"groupName\\": \\"abc\\",\\n \\"groupId\\": \\"g-4267dcfbf1b6d1e0652bfbbe995\\",\\n \\"projectName\\": \\"abc\\",\\n \\"projectId\\": \\"p-433aead7560571cf1b2bfbbe92b\\"\\n },\\n \\"currentJobId\\": \\"job-123asd\\",\\n \\"moduleId\\": \\"mod-518855d9a058c331e9c60bc0ce\\",\\n \\"taskId\\": \\"task-1525e992f1b621b0ca51647876e\\",\\n \\"status\\": \\"Running\\"\\n }\\n ],\\n \\"totalCount\\": 55\\n}","type":"json"}]', + ], + 'GetTask' => [ + 'summary' => '查询任务详情', + 'path' => '/tasks/{taskId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'task-433aead7560571f8c2e176e7325', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'C24C498A-09CF-54D3-8972-8DC074CF8614', + ], + 'task' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'autoApply' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'autoDestroy' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-06-15T02:44:37Z', + ], + 'currentJobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-absdf', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'demo', + ], + 'groupInfo' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'groupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'g-59d8d22e78792ffe3d3eb6154d727', + ], + 'groupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'p-433aead756057fff47ecbfd94d76', + ], + 'projectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + ], + ], + 'initModuleState' => [ + 'type' => 'boolean', + ], + 'moduleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'mod-4267dcfbf1b6d14625614ddbe15', + ], + 'moduleVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v2', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'protectionStrategy' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PreventDestroy', + ], + ], + 'ramRole' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'skipPropertyValidation' => [ + 'type' => 'boolean', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Running', + ], + 'taskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-433aead756057154bda7f1c2e98', + ], + 'taskOutputPath' => [ + 'description' => '', + 'type' => 'string', + 'example' => '/', + ], + 'terraformVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.2.6', + ], + 'triggerStrategy' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Manual', + ], + 'moduleName' => [ + 'type' => 'string', + ], + 'taskBackend' => [ + 'type' => 'object', + 'properties' => [ + 'bucketName' => [ + 'type' => 'string', + ], + 'bucketEndpoint' => [ + 'type' => 'string', + ], + 'objectPath' => [ + 'type' => 'string', + ], + ], + ], + 'latestModuleVersion' => [ + 'type' => 'string', + ], + 'deletionProtection' => [ + 'type' => 'boolean', + ], + 'currentJobStatus' => [ + 'type' => 'string', + ], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagValue' => [ + 'type' => 'string', + ], + 'tagKey' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C24C498A-09CF-54D3-8972-8DC074CF8614\\",\\n \\"task\\": {\\n \\"autoApply\\": true,\\n \\"autoDestroy\\": false,\\n \\"createTime\\": \\"2022-06-15T02:44:37Z\\",\\n \\"currentJobId\\": \\"job-absdf\\",\\n \\"description\\": \\"this is description\\\\n\\",\\n \\"groupInfo\\": {\\n \\"groupId\\": \\"g-59d8d22e78792ffe3d3eb6154d727\\",\\n \\"groupName\\": \\"abc\\",\\n \\"projectId\\": \\"p-433aead756057fff47ecbfd94d76\\",\\n \\"projectName\\": \\"abc\\"\\n },\\n \\"initModuleState\\": false,\\n \\"moduleId\\": \\"mod-4267dcfbf1b6d14625614ddbe15\\",\\n \\"moduleVersion\\": \\"v2\\",\\n \\"name\\": \\"TaskName\\",\\n \\"protectionStrategy\\": [\\n \\"PreventDestroy\\"\\n ],\\n \\"ramRole\\": \\"role\\",\\n \\"skipPropertyValidation\\": false,\\n \\"status\\": \\"Running\\",\\n \\"taskId\\": \\"task-433aead756057154bda7f1c2e98\\",\\n \\"taskOutputPath\\": \\"/\\",\\n \\"terraformVersion\\": \\"1.5.7\\",\\n \\"triggerStrategy\\": \\"Manual\\",\\n \\"moduleName\\": \\"moduleName\\",\\n \\"taskBackend\\": {\\n \\"bucketName\\": \\"iac-runtime-test\\\\n\\",\\n \\"bucketEndpoint\\": \\"ss-cn-beijing.aliyuncs.com\\\\n\\",\\n \\"objectPath\\": \\"/log\\\\n\\"\\n },\\n \\"latestModuleVersion\\": \\"v3\\",\\n \\"deletionProtection\\": true,\\n \\"currentJobStatus\\": \\"Planned\\",\\n \\"tags\\": [\\n {\\n \\"tagValue\\": \\"TestValue\\",\\n \\"tagKey\\": \\"TestKey\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DeleteTask' => [ + 'summary' => '删除任务', + 'path' => '/tasks/{taskId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'task-123456', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '73B38F77-62BA-5878-8952-530DFE21C93B', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"73B38F77-62BA-5878-8952-530DFE21C93B\\"\\n}","type":"json"}]', + ], + 'CreateJob' => [ + 'summary' => '创建作业', + 'path' => '/tasks/{taskId}/jobs', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '2daf4227f747cbf11a5501f18cc5e004', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + 'subCommand' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'refresh' => 'refresh', + 'destroy' => 'destroy', + ], + 'example' => 'null', + 'default' => 'false', + ], + 'taskType' => [ + 'type' => 'string', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'task-433aead756057fffeaba4828f5195', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'jobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-518855d9a058c32798c319561f', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '136B3926-DD90-5DB2-96EC-8BAD6407D1C9', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"jobId\\": \\"job-518855d98c319561f\\",\\n \\"requestId\\": \\"136B3926-DD90-5DB2-96EC-8BAD6407D1C9\\"\\n}","type":"json"}]', + ], + 'OperateJob' => [ + 'summary' => '控制作业', + 'path' => '/tasks/{taskId}/jobs/{jobId}/operation/{operationType}', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'task-518855d9a058cfffe0e0a92745bbc', + ], + ], + [ + 'name' => 'jobId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'job-5fd38c9b92d54fff865d936f22a39', + ], + ], + [ + 'name' => 'operationType', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'execute', + 'enum' => [ + 'execute', + 'abolish', + 'cancel', + ], + ], + ], + [ + 'name' => 'comment', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dasd', + 'maxLength' => 128, + ], + ], + [ + 'name' => 'taskType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'E602681C-A811-5787-9DC3-48BED7537071', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E602681C-A811-5787-9DC3-48BED7537071\\"\\n}","type":"json"}]', + ], + 'ListJobs' => [ + 'summary' => '作业列表', + 'path' => '/tasks/{taskId}/jobs', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'task-55f1739d9050fffe7f5a9577c4a84', + ], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Errored', + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '20', + 'exclusiveMaximum' => false, + 'exclusiveMinimum' => false, + ], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '1', + 'example' => '1', + 'exclusiveMaximum' => false, + 'exclusiveMinimum' => false, + ], + ], + [ + 'name' => 'taskType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'jobType', + 'in' => 'query', + 'schema' => [ + 'title' => '作业类型', + 'type' => 'string', + 'example' => 'Default', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'jobs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'config' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'isDestroy' => [ + 'type' => 'boolean', + ], + 'moduleVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v4', + ], + 'resourcesChanged' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'subCommand' => [ + 'type' => 'string', + ], + 'moduleDescription' => [ + 'type' => 'string', + ], + ], + ], + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-07-05T02:13:43Z', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'elapsedTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'executeType' => [ + 'type' => 'string', + ], + 'isPassAssertCheck' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'jobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-433aead756057fff9e4dca57b147c', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Errored', + ], + 'statusDetail' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'comment' => [ + 'type' => 'string', + 'description' => '', + 'example' => '""', + ], + 'jobResult' => [ + 'type' => 'string', + 'example' => '""', + 'description' => '', + ], + 'timeStamps' => [ + 'type' => 'string', + 'example' => '2022-06-13 17:11:34', + 'description' => '', + ], + ], + 'description' => '', + ], + ], + 'taskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-518855d9a058c1176866c2c3efb', + ], + 'terraformProviderVersion' => [ + 'type' => 'string', + ], + ], + ], + ], + 'pageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'pageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '882304F9-6DB1-5593-A719-33473D082B9C', + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '11', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"jobs\\": [\\n {\\n \\"config\\": {\\n \\"isDestroy\\": true,\\n \\"moduleVersion\\": \\"v4\\",\\n \\"resourcesChanged\\": \\"+0 ~0 -0\\",\\n \\"subCommand\\": \\"destroy\\",\\n \\"moduleDescription\\": \\"moduleDescription\\"\\n },\\n \\"createTime\\": \\"2022-07-05T02:13:43Z\\",\\n \\"description\\": \\"plan\\",\\n \\"elapsedTime\\": 0,\\n \\"executeType\\": \\"Manual\\",\\n \\"isPassAssertCheck\\": true,\\n \\"jobId\\": \\"job-433aff9e4dca57b147c\\",\\n \\"status\\": \\"Errored\\",\\n \\"statusDetail\\": {\\n \\"key\\": {\\n \\"comment\\": \\"comment\\",\\n \\"jobResult\\": \\"Apply complete! Resources: 0 added, 0 changed, 0 destroyed.\\",\\n \\"timeStamps\\": \\"2022-06-13 17:11:34\\"\\n }\\n },\\n \\"taskId\\": \\"task-518876866c2c3efb\\",\\n \\"terraformProviderVersion\\": \\"1.240.0\\"\\n }\\n ],\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"882304F9-6DB1-5593-A719-33473D082B9C\\",\\n \\"totalCount\\": 11\\n}","type":"json"}]', + ], + 'GetJob' => [ + 'summary' => '作业详情', + 'path' => '/tasks/{taskId}/jobs/{jobId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'task-55f1739d9050fffee8fe2a2c4a605', + ], + ], + [ + 'name' => 'jobId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'job-433aead756057ffef0028917e6f26', + ], + ], + [ + 'name' => 'taskType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'job' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'assertCheckDetail' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'comparison' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'eq', + ], + 'expectedValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'isPass' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'result', + ], + ], + ], + ], + 'config' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'autoApply' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'isDestroy' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'fales', + ], + 'moduleVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'resourcesChanged' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'subCommand' => [ + 'type' => 'string', + ], + 'hasConfigProactive' => [ + 'type' => 'string', + ], + ], + ], + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-08-31T03:38:40Z', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test1', + ], + 'downloadUrl' => [ + 'type' => 'object', + ], + 'elapsedTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'executeType' => [ + 'type' => 'string', + ], + 'isPassAssertCheck' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'jobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-518855d9a058cfff0dc933e6b5767', + ], + 'output' => [ + 'description' => '', + 'type' => 'string', + 'example' => '/', + ], + 'parameters' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => '', + 'example' => '{}', + ], + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Errored', + ], + 'statusDetail' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'comment' => [ + 'type' => 'string', + 'example' => '', + 'description' => '', + ], + 'jobResult' => [ + 'type' => 'string', + 'example' => '{}', + 'description' => '', + ], + 'timeStamps' => [ + 'type' => 'string', + 'example' => '2022-06-13 17:11:34', + 'description' => '', + ], + 'errorMessage' => [ + 'type' => 'string', + ], + ], + 'description' => '', + ], + ], + 'taskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-3b6cb9fa4751a1b9b5f22cbcf4e', + ], + 'taskType' => [ + 'type' => 'string', + ], + 'terraformProviderVersion' => [ + 'type' => 'string', + ], + 'outputJsonPlan' => [ + 'type' => 'any', + ], + 'logFile' => [ + 'type' => 'object', + ], + 'jobType' => [ + 'title' => '作业类型', + 'type' => 'string', + 'example' => 'Default', + ], + ], + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '1435C78A-AED9-53D6-B7A6-E2661D29B1FA', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"job\\": {\\n \\"assertCheckDetail\\": [\\n {\\n \\"comparison\\": \\"eq\\",\\n \\"expectedValue\\": \\"期望值\\",\\n \\"isPass\\": true,\\n \\"type\\": \\"result\\"\\n }\\n ],\\n \\"config\\": {\\n \\"autoApply\\": true,\\n \\"isDestroy\\": true,\\n \\"moduleVersion\\": \\"v1\\",\\n \\"resourcesChanged\\": \\"+0 ~0 -0\\",\\n \\"subCommand\\": \\"destroy\\",\\n \\"hasConfigProactive\\": \\"\\"\\n },\\n \\"createTime\\": \\"2022-08-31T03:38:40Z\\",\\n \\"description\\": \\"description\\",\\n \\"downloadUrl\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"elapsedTime\\": 0,\\n \\"executeType\\": \\"Manual\\",\\n \\"isPassAssertCheck\\": true,\\n \\"jobId\\": \\"job-518855d9a058cfff0dc933e6b5767\\",\\n \\"output\\": \\"/\\",\\n \\"parameters\\": {\\n \\"key\\": \\"{\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"bandwidth\\\\\\":\\\\\\"5\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"description\\\\\\":\\\\\\"description\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"address_name\\\\\\":\\\\\\"iac-test-eip\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"region\\\\\\":\\\\\\"cn-shanghai\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"tags\\\\\\":\\\\\\"{\\\\\\\\\\\\\\"create\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"iac\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name \\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\"}\\\\\\"\\\\n\\\\t\\\\t\\\\t}\\"\\n },\\n \\"status\\": \\"Errored\\",\\n \\"statusDetail\\": {\\n \\"key\\": {\\n \\"comment\\": \\"备注\\",\\n \\"jobResult\\": \\"Apply complete! Resources: 0 added, 0 changed, 0 destroyed.\\",\\n \\"timeStamps\\": \\"2022-06-13 17:11:34\\",\\n \\"errorMessage\\": \\"\\"\\n }\\n },\\n \\"taskId\\": \\"task-3b6cb9fa4751a1b9b5f22cbcf4e\\",\\n \\"taskType\\": \\"SceneTestingTask\\",\\n \\"terraformProviderVersion\\": \\"1.230.0\\",\\n \\"outputJsonPlan\\": \\"\\",\\n \\"logFile\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"jobType\\": \\"Default\\"\\n },\\n \\"requestId\\": \\"1435C78A-AED9-53D6-B7A6-E2661D29B1FA\\"\\n}","type":"json"}]', + ], + 'CreateResourceExportTask' => [ + 'summary' => '创建导出任务', + 'path' => '/exportTasks', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'OK', + ], + 'exportToModule' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'source' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Registry', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba/security-group/alicloud', + ], + 'statePath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '/', + ], + ], + 'required' => false, + ], + 'includeRules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'values' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + 'required' => false, + ], + 'key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ZoneId', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'abc', + ], + 'ramRole' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + 'terraformProviderVersion' => [ + 'type' => 'string', + 'required' => false, + ], + 'terraformVersion' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.2.6', + ], + 'triggerStrategy' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Auto' => 'Auto', + 'Manual' => 'Manual', + ], + 'example' => 'Auto', + 'default' => 'Manual', + 'enum' => [ + 'Always', + 'NewVersion', + 'Manual', + ], + ], + 'variables' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'properties' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'required' => false, + ], + 'resourceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AliCloud::VPC::VPC', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'exportTaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ex-4a1ec8b7003d24528326821be', + ], + 'exportVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'CFD8C2A8-5BE7-56D2-916D-64039B8E06E3', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"exportTaskId\\": \\"ex-4a1ec8b7003d24528326821be\\",\\n \\"exportVersion\\": \\"v1\\",\\n \\"requestId\\": \\"CFD8C2A8-5BE7-56D2-916D-64039B8E06E3\\"\\n}","type":"json"}]', + ], + 'UpdateResourceExportTaskAttribute' => [ + 'summary' => '更新导出任务', + 'path' => '/exportTasks/{exportTaskId}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'exportToModule' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'source' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Registry', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba/security-group/alicloud', + ], + 'statePath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '/', + ], + ], + 'required' => false, + ], + 'includeRules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'values' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tt', + ], + 'required' => false, + ], + 'key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ZoneId', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'ramRole' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ramName', + ], + 'terraformProviderVersion' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.183.0', + ], + 'terraformVersion' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.2.6', + ], + 'triggerStrategy' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Manual', + 'default' => 'Manual', + 'enum' => [ + 'Always', + 'NewVersion', + 'Manual', + ], + ], + 'variables' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'properties' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'required' => false, + ], + 'resourceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AliCloud::VPC::VPC', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'exportTaskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ex-al1811jl980g5ffd115nhgt', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'exportTaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ex-kw161ol8te1n701e1igt8q8', + ], + 'exportVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'B43F08A7-F2A3-54D3-BDA4-69C9F32A7B9F', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"exportTaskId\\": \\"ex-kw161ol8te1n701e1igt8q8\\",\\n \\"exportVersion\\": \\"v1\\",\\n \\"requestId\\": \\"B43F08A7-F2A3-54D3-BDA4-69C9F32A7B9F\\"\\n}","type":"json"}]', + ], + 'ListResourceExportTasks' => [ + 'summary' => '查询导出任务列表', + 'path' => '/exportTasks', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + ], + [ + 'name' => 'exportTaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ex-al1c11jl9g2tbte727otp85', + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '20', + ], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '1', + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'exportTasks' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'exportTaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ex-kw1a1ol8c0pngjav17q8eri', + ], + 'exportToModule' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OSS', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => ' alibaba/security-group/alicloud', + ], + 'statePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => '/', + ], + ], + ], + 'variables' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'properties' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + ], + 'resourceType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AliCloud::VPC::VPC'."\n", + ], + ], + ], + ], + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-02-20T02:10:06Z', + ], + 'exportStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'exportVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v2', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vpc_all', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'demo', + ], + 'includeRules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'values' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + ], + 'key' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ZoneId', + ], + ], + ], + ], + 'modules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OSS', + ], + 'version' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v3', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip', + ], + ], + ], + ], + 'elapsedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4243', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + ], + ], + ], + 'pageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'pageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '65287CB9-AC46-5FE7-B785-0106C159DA42', + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '330', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"exportTasks\\": [\\n {\\n \\"exportTaskId\\": \\"ex-kw1a1ol8c0pngjav17q8eri\\",\\n \\"exportToModule\\": {\\n \\"source\\": \\"OSS\\",\\n \\"sourcePath\\": \\"oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\",\\n \\"statePath\\": \\"/\\"\\n },\\n \\"variables\\": [\\n {\\n \\"properties\\": [\\n \\"vswitch_name\\"\\n ],\\n \\"resourceType\\": \\"ALIYUN::VPC::VSwitch\\\\n\\"\\n }\\n ],\\n \\"createTime\\": \\"2025-02-20T02:10:06Z\\",\\n \\"exportStatus\\": \\"Success\\",\\n \\"exportVersion\\": \\"v2\\",\\n \\"name\\": \\"TaskName\\",\\n \\"description\\": \\"this is description\\\\n\\",\\n \\"includeRules\\": [\\n {\\n \\"values\\": [\\n \\"cn-chengdu\\"\\n ],\\n \\"key\\": \\"RegionId\\"\\n }\\n ],\\n \\"modules\\": [\\n {\\n \\"source\\": \\"OSS\\",\\n \\"version\\": \\"v3\\",\\n \\"sourcePath\\": \\"oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\"\\n }\\n ],\\n \\"elapsedTime\\": 4243,\\n \\"status\\": \\"Available\\"\\n }\\n ],\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"65287CB9-AC46-5FE7-B785-0106C159DA42\\",\\n \\"totalCount\\": 330\\n}","type":"json"}]', + ], + 'GetResourceExportTask' => [ + 'summary' => '查询导出任务详情', + 'path' => '/exportTasks/{exportTaskId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'exportTaskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ex-al171j05rlog5tbri1pmkk', + ], + ], + [ + 'name' => 'exportVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'v3', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'FC49AA8C-0A19-5556-8929-E7447F18D529', + ], + 'task' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-06-15T02:44:37Z', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'demo', + ], + 'elapsedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4533', + ], + 'exportTaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ex-al1111jlfh53i6mo4o94jj', + ], + 'exportToModule' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OSS', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => ' alibaba/security-group/alicloud'."\n", + ], + 'statePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => '/', + ], + ], + ], + 'exportVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v2', + ], + 'failedReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Reason', + ], + 'includeRules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'values' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'name', + ], + ], + 'key' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ZoneId', + ], + ], + ], + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vpc_all', + ], + 'ramRole' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'role', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Running', + ], + 'taskOutputPath' => [ + 'description' => '', + 'type' => 'string', + 'example' => '/', + ], + 'terraformContext' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{}', + ], + 'terraformProviderVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.246.0', + ], + 'terraformVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.2.6', + ], + 'triggerStrategy' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Manual', + ], + 'variables' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'properties' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'name', + ], + ], + 'resourceType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ALIYUN::Bastionhost::Instance', + ], + ], + ], + ], + 'modules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OSS', + ], + 'version' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v3', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FC49AA8C-0A19-5556-8929-E7447F18D529\\",\\n \\"task\\": {\\n \\"createTime\\": \\"2022-06-15T02:44:37Z\\",\\n \\"description\\": \\"this is description\\\\n\\",\\n \\"elapsedTime\\": 4533,\\n \\"exportTaskId\\": \\"ex-al1111jlfh53i6mo4o94jj\\",\\n \\"exportToModule\\": {\\n \\"source\\": \\"OSS\\",\\n \\"sourcePath\\": \\"oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\",\\n \\"statePath\\": \\"/\\"\\n },\\n \\"exportVersion\\": \\"v2\\",\\n \\"failedReason\\": \\"Reason\\",\\n \\"includeRules\\": [\\n {\\n \\"values\\": [\\n \\"cn-chengdu\\"\\n ],\\n \\"key\\": \\"RegionId\\"\\n }\\n ],\\n \\"name\\": \\"vpc_all\\",\\n \\"ramRole\\": \\"role\\",\\n \\"status\\": \\"Running\\",\\n \\"taskOutputPath\\": \\"/\\",\\n \\"terraformContext\\": {},\\n \\"terraformProviderVersion\\": \\"1.246.0\\",\\n \\"terraformVersion\\": \\"1.5.7\\",\\n \\"triggerStrategy\\": \\"Manual\\",\\n \\"variables\\": [\\n {\\n \\"properties\\": [\\n \\"vswitch_name\\\\n\\"\\n ],\\n \\"resourceType\\": \\"ALIYUN::VPC::VSwitch\\\\n\\"\\n }\\n ],\\n \\"modules\\": [\\n {\\n \\"source\\": \\"OSS\\",\\n \\"version\\": \\"v3\\",\\n \\"sourcePath\\": \\"oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\\\n\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'CancelResourceExportTask' => [ + 'summary' => '取消资源导出任务', + 'path' => '/exportTasks/cancel/{exportTaskId}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'exportTaskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ex-445dcb7d0ac661ff08be459a75f', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'exportTaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ex-3b6cb9fa4751a6e5cdc6460282', + ], + 'exportVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '136B3926-DD90-5DB2-96EC-8BAD6407D1C9', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"exportTaskId\\": \\"ex-3b6cb9fa4751a6e5cdc6460282\\",\\n \\"exportVersion\\": \\"v1\\",\\n \\"requestId\\": \\"136B3926-DD90-5DB2-96EC-8BAD6407D1C9\\"\\n}","type":"json"}]', + ], + 'ExecuteResourceExportTask' => [ + 'summary' => '执行资源导出任务', + 'path' => '/exportTasks/execute/{exportTaskId}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'exportTaskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ex-3b6cb9fa4751a6e645ad8365e6', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'exportTaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ex-3b6cb9fa4751a6e645ad8365e6', + ], + 'exportVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '0B0A7C19-9077-5975-ACBD-DEE718787992', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"exportTaskId\\": \\"ex-3b6cb9fa4751a6e645ad8365e6\\",\\n \\"exportVersion\\": \\"v1\\",\\n \\"requestId\\": \\"0B0A7C19-9077-5975-ACBD-DEE718787992\\"\\n}","type":"json"}]', + ], + 'DeleteResourceExportTask' => [ + 'summary' => '删除资源导出任务', + 'path' => '/exportTasks/{exportTaskId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'exportTaskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ex-3b6cb9fa4751a16b006b03333a', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '136B3926-DD90-5DB2-96EC-8BAD6407D1C9', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"136B3926-DD90-5DB2-96EC-8BAD6407D1C9\\"\\n}","type":"json"}]', + ], + 'ListResourceExportTaskVersions' => [ + 'summary' => '获取任务版本列表', + 'path' => '/exportTasks/{exportTaskId}/exportVersions', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + ], + [ + 'name' => 'exportTaskId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ex-al1f11jlh9llnk8drc4g1c', + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '20', + ], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Errored', + ], + ], + [ + 'name' => 'exportVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'exportTasks' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'exportTaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ex-al1711jl6hd8u5crggeq6v', + ], + 'exportToModule' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OSS', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => ' alibaba/security-group/alicloud'."\n", + ], + 'statePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => '/', + ], + ], + ], + 'variables' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'properties' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tags', + ], + ], + 'resourceType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Vswitch', + ], + ], + ], + ], + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-05-11T02:18:50Z', + ], + 'exportVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v3', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vpc_all', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'demo', + ], + 'includeRules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'values' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'name', + ], + ], + 'key' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ZoneId', + ], + ], + ], + ], + 'modules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OSS', + ], + 'version' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip'."\n", + ], + ], + ], + ], + 'elapsedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4521', + ], + 'failedReason' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Reason', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Running', + ], + ], + ], + ], + 'pageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'pageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '860FDEEE-1CA3-55F3-97F6-63FC40B7962D', + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '72', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"exportTasks\\": [\\n {\\n \\"exportTaskId\\": \\"ex-al1711jl6hd8u5crggeq6v\\",\\n \\"exportToModule\\": {\\n \\"source\\": \\"OSS\\",\\n \\"sourcePath\\": \\"oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\",\\n \\"statePath\\": \\"/\\"\\n },\\n \\"variables\\": [\\n {\\n \\"properties\\": [\\n \\"tags\\"\\n ],\\n \\"resourceType\\": \\"Vswitch\\"\\n }\\n ],\\n \\"createTime\\": \\"2025-05-11T02:18:50Z\\",\\n \\"exportVersion\\": \\"v3\\",\\n \\"name\\": \\"TaskName\\",\\n \\"description\\": \\"this is description\\\\n\\",\\n \\"includeRules\\": [\\n {\\n \\"values\\": [\\n \\"cn-chengdu\\"\\n ],\\n \\"key\\": \\"RegionId\\"\\n }\\n ],\\n \\"modules\\": [\\n {\\n \\"source\\": \\"OSS\\",\\n \\"version\\": \\"v1\\",\\n \\"sourcePath\\": \\"oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip\\\\n\\"\\n }\\n ],\\n \\"elapsedTime\\": 4521,\\n \\"failedReason\\": \\"Reason\\",\\n \\"status\\": \\"Running\\"\\n }\\n ],\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"860FDEEE-1CA3-55F3-97F6-63FC40B7962D\\",\\n \\"totalCount\\": 72\\n}","type":"json"}]', + ], + 'CreateRegistryNamespace' => [ + 'summary' => '创建工作空间', + 'path' => '/registryNamespace', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'acl' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'private', + ], + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'maintainer' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'namespaceName' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'iac', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'namespaceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'iac', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'B4672AE3-C313-5B7A-BB24-45345570D398', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"namespaceName\\": \\"NamespaceName\\",\\n \\"requestId\\": \\"B4672AE3-C313-5B7A-BB24-45345570D398\\"\\n}","type":"json"}]', + ], + 'UpdateRegistryNamespaceAttribute' => [ + 'summary' => '修改工作空间', + 'path' => '/registryNamespace/{namespaceName}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'acl' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'private', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '123', + ], + 'clientToken' => [ + 'type' => 'string', + 'required' => true, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'namespaceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'CA5C5B39-D1DC-5309-8E97-B9A91DA21094', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"namespaceName\\": \\"NamespaceName\\",\\n \\"requestId\\": \\"CA5C5B39-D1DC-5309-8E97-B9A91DA21094\\"\\n}","type":"json"}]', + ], + 'ListRegistryNamespaces' => [ + 'summary' => '获取工作空间列表', + 'path' => '/registryNamespace', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + ], + [ + 'name' => 'type', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'self', + 'enum' => [ + 'system', + 'self', + 'shared', + 'community', + ], + ], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hg7nXVngyM6tQlfXYzM1uI/7dKNGp1JMgsKtvCagmtY=', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'count' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '53', + ], + 'maxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '24', + ], + 'namespaces' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-01-15T02:16:58Z', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dd', + ], + 'acl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'private', + ], + 'sharedAccounts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123456', + ], + ], + 'type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'shared', + ], + 'maintainer' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'admin', + ], + 'modules' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '21', + ], + 'namespaceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_namespace', + ], + ], + ], + ], + 'nextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'IPTL1Zpr1andEF4lQ3XAYFTgtpI04QQpc5dyKpESXBc=', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '5FFB0033-A016-5A9D-9283-C123AAA7F71D', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"count\\": 53,\\n \\"maxResults\\": 24,\\n \\"namespaces\\": [\\n {\\n \\"createTime\\": \\"2025-01-15T02:16:58Z\\",\\n \\"description\\": \\"description\\",\\n \\"acl\\": \\"private\\",\\n \\"sharedAccounts\\": [\\n 123456\\n ],\\n \\"type\\": \\"shared\\",\\n \\"maintainer\\": \\"admin\\",\\n \\"modules\\": 21,\\n \\"namespaceName\\": \\"NamespaceName\\"\\n }\\n ],\\n \\"nextToken\\": \\"IPTL1XAYFTgtpI04QQpc5dyKpESXBc=\\",\\n \\"requestId\\": \\"5FFB0033-A016-5A9D-9283-C123AAA7F71D\\"\\n}","type":"json"}]', + ], + 'GetRegistryNamespace' => [ + 'summary' => '获取工作空间信息', + 'path' => '/registryNamespace/{namespaceName}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'terraform-alicloud-modules', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'namespace' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'acl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'private', + ], + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-03-20T02:18:29Z', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'demo', + ], + 'maintainer' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'admin', + ], + 'modules' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '21', + ], + 'namespaceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_namespace', + ], + 'sharedAccounts' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12345', + ], + ], + 'type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'share', + ], + ], + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '26684763-5BAB-58C8-BA4F-9D622AB7AD14', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"namespace\\": {\\n \\"acl\\": \\"private\\",\\n \\"createTime\\": \\"2025-03-20T02:18:29Z\\",\\n \\"description\\": \\"description\\",\\n \\"maintainer\\": \\"admin\\",\\n \\"modules\\": 21,\\n \\"namespaceName\\": \\"NamespaceName\\",\\n \\"sharedAccounts\\": [\\n 12345\\n ],\\n \\"type\\": \\"share\\"\\n },\\n \\"requestId\\": \\"26684763-5BAB-58C8-BA4F-9D622AB7AD14\\"\\n}","type":"json"}]', + ], + 'DeleteRegistryNamespace' => [ + 'summary' => '删除工作空间', + 'path' => '/registryNamespace/{namespaceName}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '1D0CD708-E433-5F13-8A42-823C95FC756C', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1D0CD708-E433-5F13-8A42-823C95FC756C\\"\\n}","type":"json"}]', + ], + 'AddSharedAccounts' => [ + 'summary' => '新增共享账号信息', + 'path' => '/sharedAccounts', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'accountIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '', + ], + 'required' => false, + 'maxItems' => 100, + 'minItems' => 1, + ], + 'resourceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Public', + ], + 'resourceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'RegistryModule', + 'enum' => [ + 'RegistryModule', + 'Namespace', + ], + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '0D797DC3-FF04-5C21-81EB-XXXXXXXXX', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0D797DC3-FF04-5C21-81EB-XXXXXXXXX\\"\\n}","type":"json"}]', + ], + 'RemoveSharedAccounts' => [ + 'summary' => '删除共享账号信息', + 'path' => '/sharedAccounts', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'resourceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test_namespace', + ], + ], + [ + 'name' => 'resourceType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Namespace', + 'enum' => [ + 'Namespace', + 'RegistryModule', + ], + ], + ], + [ + 'name' => 'accountIds', + 'in' => 'query', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '12345678', + ], + 'required' => true, + 'maxItems' => 100, + 'minItems' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '8294F4ED-8DBA-5441-B3F2-61C3C5374990', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8294F4ED-8DBA-5441-B3F2-61C3C5374990\\"\\n}","type":"json"}]', + ], + 'CreateRegistryModule' => [ + 'summary' => '创建RegistryModule', + 'path' => '/registryModule', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'acl' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'private', + ], + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'moduleName' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vpc', + ], + 'namespaceName' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + 'provider' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alicloud', + ], + 'type' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'self', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'C896FE0A-1BEA-5D01-BFF4-B03B82B9CA3D', + ], + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_namespace/RegistryModule-test', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C896FE0A-1BEA-5D01-BFF4-B03B82B9CA3D\\",\\n \\"source\\": \\"namespaceName/ModuleName\\"\\n}","type":"json"}]', + ], + 'UpdateRegistryModuleAttribute' => [ + 'summary' => '修改RegistryModule', + 'path' => '/registryModule/{namespaceName}/{moduleName}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'acl' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'private', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'clientToken' => [ + 'type' => 'string', + 'required' => true, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test_namespace', + ], + ], + [ + 'name' => 'moduleName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'mns-queue', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '127A5B81-D1E7-5E33-8D44-B89507C4B81F', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"127A5B81-D1E7-5E33-8D44-B89507C4B81F\\"\\n}","type":"json"}]', + ], + 'ListRegistryModules' => [ + 'summary' => '获取RegistryModule列表', + 'path' => '/registryModules', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'namespaceName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test_namespace', + ], + ], + [ + 'name' => 'type', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'system', + 'enum' => [ + 'system', + 'self', + 'shared', + 'community', + ], + ], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'NFzbQCa7/yd7rAuSo5xZb54dD+2BRJj42DLT6GrZysw=', + ], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'registryModules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'acl' => [ + 'type' => 'string', + ], + 'createTime' => [ + 'type' => 'string', + ], + 'description' => [ + 'type' => 'string', + ], + 'downloads' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'moduleName' => [ + 'type' => 'string', + ], + 'namespaceName' => [ + 'type' => 'string', + ], + 'provider' => [ + 'type' => 'string', + ], + 'sharedAccounts' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + 'source' => [ + 'type' => 'string', + ], + 'sourceUrl' => [ + 'type' => 'string', + ], + 'type' => [ + 'type' => 'string', + ], + 'version' => [ + 'type' => 'string', + ], + ], + ], + ], + 'count' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '173', + ], + 'maxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'nextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'LC4NJL3Ru2bIiRdnbADPQp4dD+2BRJj42DLT6GrZysw=', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'D25216A9-C0F7-5A3A-A7E4-2B3D4F3A355D', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"registryModules\\": [\\n {\\n \\"acl\\": \\"private\\",\\n \\"createTime\\": \\"2025-06-10 16:16:04\\",\\n \\"description\\": \\"description\\",\\n \\"downloads\\": 32,\\n \\"moduleName\\": \\"ModuleName\\",\\n \\"namespaceName\\": \\"NamespaceName\\\\n\\",\\n \\"provider\\": \\"alicloud\\",\\n \\"sharedAccounts\\": [\\n 123456\\n ],\\n \\"source\\": \\"namespaceName/ModuleName\\\\n\\",\\n \\"sourceUrl\\": \\"URL\\",\\n \\"type\\": \\"system\\\\n\\",\\n \\"version\\": \\"1.0.0\\"\\n }\\n ],\\n \\"count\\": 173,\\n \\"maxResults\\": 20,\\n \\"nextToken\\": \\"iRdnbADPQp4dD+2BRJj42DLT6GrZysw=\\",\\n \\"requestId\\": \\"D25216A9-C0F7-5A3A-A7E4-2B3D4F3A355D\\"\\n}","type":"json"}]', + ], + 'GetRegistryModule' => [ + 'summary' => '获取RegistryModule信息', + 'path' => '/registryModule/{namespaceName}/{moduleName}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'terraform-alicloud-modules', + ], + ], + [ + 'name' => 'moduleName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ecs-rds-redis', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'registryModule' => [ + 'type' => 'object', + 'properties' => [ + 'acl' => [ + 'type' => 'string', + ], + 'createTime' => [ + 'type' => 'string', + ], + 'description' => [ + 'type' => 'string', + ], + 'downloads' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'moduleName' => [ + 'type' => 'string', + ], + 'namespaceName' => [ + 'type' => 'string', + ], + 'provider' => [ + 'type' => 'string', + ], + 'sharedAccounts' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + 'source' => [ + 'type' => 'string', + ], + 'sourceUrl' => [ + 'type' => 'string', + ], + 'type' => [ + 'type' => 'string', + ], + 'version' => [ + 'type' => 'string', + ], + ], + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '5B5AD471-5036-581B-AC9B-7D5EECED877A', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"registryModule\\": {\\n \\"acl\\": \\"private\\",\\n \\"createTime\\": \\"2025-05-28 13:39:05\\",\\n \\"description\\": \\"description\\",\\n \\"downloads\\": 23,\\n \\"moduleName\\": \\"ecs-cluster\\\\n\\",\\n \\"namespaceName\\": \\"NamespaceName\\\\n\\",\\n \\"provider\\": \\"alicloud\\",\\n \\"sharedAccounts\\": [\\n 123456\\n ],\\n \\"source\\": \\"namespaceName/ModuleName\\\\n\\",\\n \\"sourceUrl\\": \\"URL\\",\\n \\"type\\": \\"system\\",\\n \\"version\\": \\"1.0.0\\"\\n },\\n \\"requestId\\": \\"5B5AD471-5036-581B-AC9B-7D5EECED877A\\"\\n}","type":"json"}]', + ], + 'DeleteRegistryModule' => [ + 'summary' => '删除RegistryModule', + 'path' => '/registryModule/{namespaceName}/{moduleName}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test_namespace', + ], + ], + [ + 'name' => 'moduleName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ess-scaling-rule', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '545995A8-243D-5963-A940-B74FAF6009B5', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"545995A8-243D-5963-A940-B74FAF6009B5\\"\\n}","type":"json"}]', + ], + 'PublishRegistryModuleVersion' => [ + 'summary' => '发布RegistryModule版本', + 'path' => '/registryModuleVersion', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'moduleName' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'oss-bucket', + ], + 'namespaceName' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'terraform-alicloud-modules', + ], + 'version' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1.2.0', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '36E1679B-4D91-5AF6-B505-B5D4ACDF75BD', + ], + 'version' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.1.1', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"36E1679B-4D91-5AF6-B505-B5D4ACDF75BD\\",\\n \\"version\\": \\"1.1.1\\"\\n}","type":"json"}]', + ], + 'ListRegistryModuleVersions' => [ + 'summary' => '获取RegistryModule版本列表', + 'path' => '/registryModuleVersion', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'namespaceName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'terraform-alicloud-modules', + ], + ], + [ + 'name' => 'moduleName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ecs-rds', + ], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'TRkuCaTw/VsEHrnCZgrBA0ftQSEJU/lzo2ei7MJjplg=', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'moduleVersions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'sourceUrl' => [ + 'type' => 'string', + ], + 'createTime' => [ + 'type' => 'string', + ], + 'provider' => [ + 'type' => 'string', + ], + 'moduleName' => [ + 'type' => 'string', + ], + 'source' => [ + 'type' => 'string', + ], + 'version' => [ + 'type' => 'string', + ], + 'namespaceName' => [ + 'type' => 'string', + ], + ], + ], + ], + 'count' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '21', + ], + 'maxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'nextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'IbuvZbAXFOiB4nKg8iOH447bhHWDavGTOMijI2Jep7c=', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '8606B880-3485-54E2-89E1-43361C468C85', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"moduleVersions\\": [\\n {\\n \\"sourceUrl\\": \\"URL\\",\\n \\"createTime\\": \\"2025-05-28 11:15:57\\",\\n \\"provider\\": \\"alicloud\\",\\n \\"moduleName\\": \\"ModuleName\\\\n\\",\\n \\"source\\": \\"test_namespace/RegistryModule-test0e\\\\n\\",\\n \\"version\\": \\"1.0.0\\",\\n \\"namespaceName\\": \\"NamespaceName\\\\n\\"\\n }\\n ],\\n \\"count\\": 21,\\n \\"maxResults\\": 20,\\n \\"nextToken\\": \\"IbuvZ8iOH447bhHWDavGTOMijI2Jep7c=\\",\\n \\"requestId\\": \\"8606B880-3485-54E2-89E1-43361C468C85\\"\\n}","type":"json"}]', + ], + 'GetRegistryModuleVersion' => [ + 'summary' => '获取RegistryModule版本信息', + 'path' => '/registryModuleVersion/{namespaceName}/{moduleName}/{version}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'alibabacloud', + ], + ], + [ + 'name' => 'moduleName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ram-user', + ], + ], + [ + 'name' => 'version', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1.1.0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'moduleVersion' => [ + 'type' => 'object', + 'properties' => [ + 'createTime' => [ + 'type' => 'string', + ], + 'detailUrl' => [ + 'type' => 'string', + ], + 'downloads' => [ + 'type' => 'string', + ], + 'moduleName' => [ + 'type' => 'string', + ], + 'namespaceName' => [ + 'type' => 'string', + ], + 'provider' => [ + 'type' => 'string', + ], + 'source' => [ + 'type' => 'string', + ], + 'sourceUrl' => [ + 'type' => 'string', + ], + 'version' => [ + 'type' => 'string', + ], + ], + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '62DF26B0-53F0-5747-9D7F-FEF444FB4E24', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"moduleVersion\\": {\\n \\"createTime\\": \\"2025-02-08T02:22:16Z\\",\\n \\"detailUrl\\": \\"URL\\",\\n \\"downloads\\": \\"24\\",\\n \\"moduleName\\": \\"ecs-cluster\\\\n\\",\\n \\"namespaceName\\": \\"alibabacloud\\",\\n \\"provider\\": \\"alicloud\\",\\n \\"source\\": \\"namespaceName/ModuleName\\\\n\\",\\n \\"sourceUrl\\": \\"URL\\",\\n \\"version\\": \\"1.0.0\\"\\n },\\n \\"requestId\\": \\"62DF26B0-53F0-5747-9D7F-FEF444FB4E24\\"\\n}","type":"json"}]', + ], + 'DeleteRegistryModuleVersion' => [ + 'summary' => '删除RegistryModule版本', + 'path' => '/registryModuleVersion/{namespaceName}/{moduleName}/{version}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + ], + 'parameters' => [ + [ + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test_namespace', + ], + ], + [ + 'name' => 'moduleName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sls', + ], + ], + [ + 'name' => 'version', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1.0.0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '491A1E2E-EA1E-5F90-958A-A53EB67780FC', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"491A1E2E-EA1E-5F90-958A-A53EB67780FC\\"\\n}","type":"json"}]', + ], + 'ListTerraformProviderVersions' => [ + 'summary' => 'terraformProvider版本', + 'path' => '/version/terraform/provider', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'readOnly' => false, + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'maximum' => '200', + 'minimum' => '0', + 'readOnly' => false, + ], + ], + [ + 'name' => 'usage', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'maxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'nextToken' => [ + 'type' => 'string', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '73588ebb-9d40-4660-a59f-764636ae6034', + 'readOnly' => false, + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + 'readOnly' => false, + ], + 'versions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'version' => [ + 'type' => 'string', + ], + 'publishedTime' => [ + 'type' => 'string', + ], + 'status' => [ + 'type' => 'string', + ], + ], + ], + 'readOnly' => false, + ], + ], + 'readOnly' => false, + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxResults\\": 20,\\n \\"nextToken\\": \\"rnD7wyAII+yDi0UGlV519J4dD+2BRJj42DLT6GrZysw=\\",\\n \\"requestId\\": \\"73588ebb-9d40-4660-a59f-764636ae6034\\",\\n \\"totalCount\\": 50,\\n \\"versions\\": [\\n {\\n \\"version\\": \\"1.242.0\\",\\n \\"publishedTime\\": \\"2025-01-24T05:06:51Z\\",\\n \\"status\\": \\"Available\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListProducts' => [ + 'summary' => '所有产品列表', + 'path' => '/products', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'eyJ0b2tlbiI6IjEwMjM0NTY3ODkwIn0=', + ], + ], + [ + 'name' => 'terraformProviderVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.227.0', + ], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '200', + 'minimum' => '0', + 'example' => '100', + ], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ECS', + ], + ], + [ + 'name' => 'supportTerraformer', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Available', + ], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Normal', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'maxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'nextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '30BaZ9ekYWXJdqshYecA++coNg7qT1Zbm3RfLyFIZeY=', + ], + 'products' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'product' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MSE', + ], + 'subcategory' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Microservice_Engine(MSE)', + ], + 'supportTerraformer' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'terraformProviderVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.229.0', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Available', + ], + 'productName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'productNameEn' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Microservices Engine', + ], + 'firstCategoryName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'firstCategoryNameEn' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Enterprise application', + ], + 'secondCategoryName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'secondCategoryNameEn' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Application service', + ], + ], + ], + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '9bcaac3c-420d-4303-87ab-7638c07b0a0b', + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '134', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxResults\\": 20,\\n \\"nextToken\\": \\"30BaZ9ekYWXJdqshYecA++coNg7qT1Zbm3RfLyFIZeY=\\",\\n \\"products\\": [\\n {\\n \\"product\\": \\"MSE\\",\\n \\"subcategory\\": \\"Microservice_Engine(MSE)\\",\\n \\"supportTerraformer\\": true,\\n \\"terraformProviderVersion\\": \\"1.229.0\\",\\n \\"status\\": \\"Available\\",\\n \\"productName\\": \\"微服务引擎\\",\\n \\"productNameEn\\": \\"Microservices Engine\\",\\n \\"firstCategoryName\\": \\"企业应用\\",\\n \\"firstCategoryNameEn\\": \\"Enterprise application\\",\\n \\"secondCategoryName\\": \\"应用服务\\",\\n \\"secondCategoryNameEn\\": \\"Application service\\"\\n }\\n ],\\n \\"requestId\\": \\"9bcaac3c-420d-4303-87ab-7638c07b0a0b\\",\\n \\"totalCount\\": 134\\n}","type":"json"}]', + ], + 'ListResourceTypes' => [ + 'summary' => '资源类型列表', + 'path' => '/resourceTypes', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'product', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ECS', + ], + ], + [ + 'name' => 'terraformProviderVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.227.0', + ], + ], + [ + 'name' => 'subcategory', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'compute', + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tokenForNextPage', + ], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Available,Deprecated', + ], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '200', + 'minimum' => '0', + 'example' => '100', + ], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc', + ], + ], + [ + 'name' => 'supportTerraformer', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'terraformResourceTypes', + 'in' => 'query', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alicloud_route_table', + ], + 'required' => false, + ], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Normal', + ], + ], + [ + 'name' => 'acceptLanguage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh-CN', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'maxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'nextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'LC4NJL3Ru2bIiRdnbADPQp4dD+2BRJj42DLT6GrZysw=', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '9bcaac3c-420d-4303-87ab-7638c07b0a0b', + ], + 'resourceTypes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'product' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'VPC', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Available', + ], + 'statusStartVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.0.0', + ], + 'subcategory' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'VPC', + ], + 'supportTerraformer' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'terraformProviderVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.248.0', + ], + 'terraformResourceType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alicloud_route_table', + ], + 'productName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'resourceListPageUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables', + ], + 'resourceDetailPageUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables/${RouteTableId}', + ], + ], + ], + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '93', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxResults\\": 20,\\n \\"nextToken\\": \\"LC4NJL3Ru2bIiRdnbADPQp4dD+2BRJj42DLT6GrZysw=\\",\\n \\"requestId\\": \\"9bcaac3c-420d-4303-87ab-7638c07b0a0b\\",\\n \\"resourceTypes\\": [\\n {\\n \\"product\\": \\"VPC\\",\\n \\"status\\": \\"Available\\",\\n \\"statusStartVersion\\": \\"1.0.0\\",\\n \\"subcategory\\": \\"VPC\\",\\n \\"supportTerraformer\\": \\"true\\",\\n \\"terraformProviderVersion\\": \\"1.248.0\\",\\n \\"terraformResourceType\\": \\"alicloud_route_table\\",\\n \\"productName\\": \\"专有网络VPC\\",\\n \\"title\\": \\"路由表\\",\\n \\"description\\": \\"路由表\\",\\n \\"resourceListPageUrl\\": \\"https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables\\",\\n \\"resourceDetailPageUrl\\": \\"https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables/${RouteTableId}\\"\\n }\\n ],\\n \\"totalCount\\": 93\\n}","type":"json"}]', + ], + 'GetResourceType' => [ + 'summary' => '获取资源类型信息', + 'path' => '/resourceType/{resourceType}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'resourceType', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alicloud_vpc_vswitch', + ], + ], + [ + 'name' => 'terraformProviderVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.227.0', + ], + ], + [ + 'name' => 'filterReadOnly', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'acceptLanguage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh-CN', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '9bcaac3c-420d-4303-87ab-7638c07b0a0b', + ], + 'resourceType' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'operations' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'apiName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CreateVSwitch', + ], + 'apiVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2016-04-28', + ], + 'operationType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Write' => 'Write', + 'Read' => 'Read', + ], + 'example' => 'Write', + ], + 'serviceCode' => [ + 'description' => 'serviceCode', + 'type' => 'string', + 'example' => 'Vpc', + ], + ], + ], + ], + 'product' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ECS', + ], + 'properties' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{}', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Available', + ], + 'statusStartVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.227.0', + ], + 'subcategory' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'network', + ], + 'terraformProviderVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.227.0', + ], + 'terraformResourceType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alicloud_vpc', + ], + 'productName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + 'resourceListPageUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables'."\n", + ], + 'resourceDetailPageUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables/${RouteTableId}'."\n", + ], + 'productNameEn' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vpc', + ], + 'supportExported' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"9bcaac3c-420d-4303-87ab-7638c07b0a0b\\",\\n \\"resourceType\\": {\\n \\"operations\\": [\\n {\\n \\"apiName\\": \\"CreateVSwitch\\",\\n \\"apiVersion\\": \\"2016-04-28\\",\\n \\"operationType\\": \\"Write\\",\\n \\"serviceCode\\": \\"Vpc\\"\\n }\\n ],\\n \\"product\\": \\"ECS\\",\\n \\"properties\\": {},\\n \\"status\\": \\"Available\\",\\n \\"statusStartVersion\\": \\"1.227.0\\",\\n \\"subcategory\\": \\"network\\",\\n \\"terraformProviderVersion\\": \\"1.227.0\\",\\n \\"terraformResourceType\\": \\"alicloud_vpc\\",\\n \\"productName\\": \\"专有网络VPC\\\\n\\",\\n \\"title\\": \\"路由表\\\\n\\",\\n \\"description\\": \\"test\\",\\n \\"resourceListPageUrl\\": \\"https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables\\\\n\\",\\n \\"resourceDetailPageUrl\\": \\"https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables/${RouteTableId}\\\\n\\",\\n \\"productNameEn\\": \\"vpc\\",\\n \\"supportExported\\": true\\n }\\n}","type":"json"}]', + ], + 'UpdateExplorerModuleAttribute' => [ + 'summary' => '修改ExplorerModule', + 'path' => '/explorerModule/{explorerModuleId}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'explorerModuleId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'mod-al1611jl2tce3nlh2uvklh0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '25B274BA-E672-58C0-8602-541281B6F758', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"25B274BA-E672-58C0-8602-541281B6F758\\"\\n}","type":"json"}]', + ], + 'ValidateModule' => [ + 'summary' => '模版预检', + 'path' => '/module/validation', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2daf4227f747cbf11a5501f18cc5e004', + ], + 'code' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'code', + ], + 'source' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [], + 'example' => 'Upload', + ], + 'sourcePath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'codeMap' => [ + 'description' => '', + 'type' => 'object', + 'required' => false, + 'example' => '{"main.tf":"xxx"}', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ok', + ], + 'moduleValidationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BF72A6FB-B07', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BF72A6FB-B071-5F2E-A036-9D62545B962C', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Validating', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to do this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"message\\": \\"ok\\",\\n \\"moduleValidationId\\": \\"BF72A6FB-B07\\",\\n \\"requestId\\": \\"BF72A6FB-B071-5F2E-A036-9D62545B962C\\",\\n \\"status\\": \\"Validating\\"\\n}","type":"json"}]', + ], + 'ExecuteTerraformApply' => [ + 'summary' => '执行TerraformApply', + 'path' => '/terraform/execution/apply', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'stateId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'task-xxx', + ], + 'code' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'terraform {'."\n" + .' required_providers {'."\n" + .' alicloud = {'."\n" + .' source = "aliyun/alicloud"'."\n" + .' version = "1.254.0"'."\n" + .' }'."\n" + .' }'."\n" + .'}'."\n" + ."\n" + .'resource "alicloud_vpc" "default" {'."\n" + .' is_default = false'."\n" + .' enable_ipv6 = false'."\n" + .' classic_link_enabled = false'."\n" + .' force_delete = false'."\n" + .' system_route_table_route_propagation_enable = false'."\n" + .' dry_run = false'."\n" + .'}', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'stateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-xxxx', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'C896FE0A-1BEA-5D01-BFF4-B03B82B9CA3D', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"stateId\\": \\"task-xxxx\\",\\n \\"requestId\\": \\"C896FE0A-1BEA-5D01-BFF4-B03B82B9CA3D\\"\\n}","type":"json"}]', + ], + 'ExecuteTerraformDestroy' => [ + 'summary' => '执行TerraformDestroy', + 'path' => '/terraform/execution/destroy', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'stateId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'task-xxx', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'stateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-xxxx', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'BF72A6FB-B071-5F2E-A036-9D62545B962C', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"stateId\\": \\"task-xxxx\\",\\n \\"requestId\\": \\"BF72A6FB-B071-5F2E-A036-9D62545B962C\\"\\n}","type":"json"}]', + ], + 'GetExecuteState' => [ + 'summary' => '获取Terraform运行结果', + 'path' => '/terraform/execution/{stateId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'stateId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'task-xxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'B4672AE3-C313-5B7A-BB24-45345570D398', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pending', + ], + 'errorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Your account does not have enough balance to order postpaid product.', + ], + 'state' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"version": 4, "terraform_version": "1.5.7", "serial": 3, "lineage": "cb71b0b2-1ec2-6483-d409-8cae23186ec6", "outputs": {}, "resources": [], "check_results": null}', + ], + 'logFile' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{"tf-plan.run.log":"xxx"}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B4672AE3-C313-5B7A-BB24-45345570D398\\",\\n \\"status\\": \\"Pending\\",\\n \\"errorMessage\\": \\"Your account does not have enough balance to order postpaid product.\\",\\n \\"state\\": \\"{\\\\\\"version\\\\\\": 4, \\\\\\"terraform_version\\\\\\": \\\\\\"1.5.7\\\\\\", \\\\\\"serial\\\\\\": 3, \\\\\\"lineage\\\\\\": \\\\\\"cb71b0b2-1ec2-6483-d409-8cae23186ec6\\\\\\", \\\\\\"outputs\\\\\\": {}, \\\\\\"resources\\\\\\": [], \\\\\\"check_results\\\\\\": null}\\",\\n \\"logFile\\": {\\n \\"tf-plan.run.log\\": \\"xxx\\"\\n }\\n}","type":"json"}]', + ], + 'ExecuteTerraformPlan' => [ + 'summary' => '执行TerraformPlan', + 'path' => '/terraform/execution/plan', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'stateId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'task-xxx', + ], + 'code' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'terraform {'."\n" + .' required_providers {'."\n" + .' alicloud = {'."\n" + .' source = "aliyun/alicloud"'."\n" + .' version = "1.254.0"'."\n" + .' }'."\n" + .' }'."\n" + .'}'."\n" + ."\n" + .'resource "alicloud_vpc" "default" {'."\n" + .' is_default = false'."\n" + .' enable_ipv6 = false'."\n" + .' classic_link_enabled = false'."\n" + .' force_delete = false'."\n" + .' system_route_table_route_propagation_enable = false'."\n" + .' dry_run = false'."\n" + .'}', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'stateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-xxxx', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '0D298375-F92F-5B65-82E4-EA68F02521F1', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"stateId\\": \\"task-xxxx\\",\\n \\"requestId\\": \\"0D298375-F92F-5B65-82E4-EA68F02521F1\\"\\n}","type":"json"}]', + ], + 'ExecuteRegistryModule' => [ + 'summary' => '执行RegistryModule', + 'path' => '/registryModule/{namespaceName}/{moduleName}/execution', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'alibaba', + ], + ], + [ + 'name' => 'moduleName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vpc', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'parameters' => [ + 'description' => '', + 'type' => 'object', + 'required' => false, + 'example' => '{\'region\': \'cn-hangzhou\', \'vpcId\': \'vpc-bp145sc90s26q0qbkfb6i\', \'functionName\': \'filemgr-cn-hangzhou-063fd4aead\', \'mountPointsServerAddr\': \'063fd4aead-dex50.cn-hangzhou.nas.aliyuncs.com\'}', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'stateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-xxxx', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '79284133-D4BA-56B3-954C-D538256F7EAA', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"stateId\\": \\"task-xxxx\\",\\n \\"requestId\\": \\"79284133-D4BA-56B3-954C-D538256F7EAA\\"\\n}","type":"json"}]', + ], + 'ListExplorerRegistryModuleVersions' => [ + 'summary' => '获取Explorer的egistryModule版本列表', + 'path' => '/explorerRegistryModule/version', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'namespaceName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba', + ], + ], + [ + 'name' => 'moduleName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc', + ], + ], + [ + 'name' => 'moduleVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.11.0', + ], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'lJTuhMWkNH89zZWyYM9GjpAbgRb+bPPPwN0Q3pclzKI=', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'explorerRegistryModuleVersions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'namespaceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'namespace-test', + ], + 'moduleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'eip-slb-ecs-polardb', + ], + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_namespace/RegistryModule-test4', + ], + 'version' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.5.0', + ], + 'properties' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{}', + ], + 'moduleDetail' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{}', + ], + 'moduleFile' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{}', + ], + ], + ], + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '22', + ], + 'maxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'nextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oIM6ssGyh00noi5zoDR1hJ4dD+2BRJj42DLT6GrZysw=', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'F2D40488-3F74-568B-87EC-1C04D098DF8B', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"explorerRegistryModuleVersions\\": [\\n {\\n \\"namespaceName\\": \\"namespace-test\\",\\n \\"moduleName\\": \\"eip-slb-ecs-polardb\\",\\n \\"source\\": \\"test_namespace/RegistryModule-test4\\",\\n \\"version\\": \\"1.5.0\\",\\n \\"properties\\": {},\\n \\"moduleDetail\\": {},\\n \\"moduleFile\\": {}\\n }\\n ],\\n \\"totalCount\\": 22,\\n \\"maxResults\\": 20,\\n \\"nextToken\\": \\"oIM6ssGyh00noi5zoDR1hJ4dD+2BRJj42DLT6GrZysw=\\",\\n \\"requestId\\": \\"F2D40488-3F74-568B-87EC-1C04D098DF8B\\"\\n}","type":"json"}]', + ], + 'ListExplorerRegistryModules' => [ + 'summary' => '获取Explorer的Registry Module列表', + 'path' => '/explorerRegistryModule', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'DxEkv+3w0EDAQgcRFBp8Ep4dD+2BRJj42DLT6GrZysw=', + ], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Normal', + ], + ], + [ + 'name' => 'moduleName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'explorerRegistryModules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'moduleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'terraform-alicloud-modules/mongodb', + ], + 'latestVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v1', + ], + 'source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'terraform-alicloud-modules/mongodb/alicloud', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Default', + ], + 'downloads' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '34', + ], + 'namespaceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_namespace', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'demo', + ], + ], + ], + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '170', + ], + 'maxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'nextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DxEkv+3w0EDAQgcRFBp8Ep4dD+2BRJj42DLT6GrZysw=', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '1A662F56-CA76-55F6-869D-7F26293B8E67', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"explorerRegistryModules\\": [\\n {\\n \\"moduleName\\": \\"terraform-alicloud-modules/mongodb\\",\\n \\"latestVersion\\": \\"v1\\",\\n \\"source\\": \\"terraform-alicloud-modules/mongodb/alicloud\\",\\n \\"status\\": \\"Default\\",\\n \\"downloads\\": 34,\\n \\"namespaceName\\": \\"test_namespace\\",\\n \\"description\\": \\"demo\\"\\n }\\n ],\\n \\"totalCount\\": 170,\\n \\"maxResults\\": 20,\\n \\"nextToken\\": \\"DxEkv+3w0EDAQgcRFBp8Ep4dD+2BRJj42DLT6GrZysw=\\",\\n \\"requestId\\": \\"1A662F56-CA76-55F6-869D-7F26293B8E67\\"\\n}","type":"json"}]', + ], + 'ListExplorerRegistryModuleExamples' => [ + 'summary' => '获取Explorer的egistryModule版本示例列表', + 'path' => '/explorerRegistryModule/example', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'namespaceName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba', + ], + ], + [ + 'name' => 'moduleName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'sls', + ], + ], + [ + 'name' => 'moduleVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.11.0', + ], + ], + [ + 'name' => 'exampleName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'complete', + ], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'IbuvZbAXFOiB4nKg8iOH447bhHWDavGTOMijI2Jep7c=', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'explorerRegistryModuleExamples' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'moduleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'iactestname1', + ], + 'moduleVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.11.0', + ], + 'exampleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '201-use-case-create-actiontrail-trail', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Available', + ], + 'examplePath' => [ + 'description' => '', + 'type' => 'string', + 'example' => '/', + ], + 'exampleSchema' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{}', + ], + 'namespaceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba', + ], + ], + ], + ], + 'totalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '132', + ], + 'maxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'nextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'VSjwD+sJ8OZJ8fNjV89AZs7o2AdSD25ZQLeWZ8REjXA=', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BA8F6459-EED6-556B-8130-D150A3866E56', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"explorerRegistryModuleExamples\\": [\\n {\\n \\"moduleName\\": \\"iactestname1\\",\\n \\"moduleVersion\\": \\"1.11.0\\",\\n \\"exampleName\\": \\"201-use-case-create-actiontrail-trail\\",\\n \\"status\\": \\"Available\\",\\n \\"examplePath\\": \\"/\\",\\n \\"exampleSchema\\": {},\\n \\"namespaceName\\": \\"alibaba\\"\\n }\\n ],\\n \\"totalCount\\": 132,\\n \\"maxResults\\": 20,\\n \\"nextToken\\": \\"VSjwD+sJ8OZJ8fNjV89AZs7o2AdSD25ZQLeWZ8REjXA=\\",\\n \\"requestId\\": \\"BA8F6459-EED6-556B-8130-D150A3866E56\\"\\n}","type":"json"}]', + ], + 'CreateProject' => [ + 'summary' => '创建项目', + 'path' => '/project', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'p-433aead7560572f8d95b25775c', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '3E49127A-BB65-5CCD-AB93-0EC0A43E5446', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"projectId\\": \\"p-433aead7560572f8d95b25775c\\",\\n \\"requestId\\": \\"3E49127A-BB65-5CCD-AB93-0EC0A43E5446\\"\\n}","type":"json"}]', + ], + 'UpdateProject' => [ + 'summary' => '修改项目', + 'path' => '/project/{projectId}', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'projectId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'p-433aead7560572f8d95b25775c', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'C62888F6-254D-5589-BF05-0D9EE698C187', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C62888F6-254D-5589-BF05-0D9EE698C187\\"\\n}","type":"json"}]', + ], + 'ListProject' => [ + 'summary' => '查询项目列表', + 'path' => '/project', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'tag', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'key' => [ + 'type' => 'string', + ], + 'value' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'count' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'pageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'pageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'projects' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-05-10T10:08:34Z', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1234', + ], + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'p-148e7853433574fffe9fec72ed9b72', + ], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'key' => [ + 'type' => 'string', + ], + 'value' => [ + 'type' => 'string', + ], + ], + ], + ], + 'taskCnt' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + ], + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '136B3926-DD90-5DB2-96EC-8BAD6407D1C9', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"count\\": 3,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"projects\\": [\\n {\\n \\"createTime\\": \\"2022-05-10T10:08:34Z\\",\\n \\"description\\": \\"abc\\",\\n \\"name\\": \\"1234\\",\\n \\"projectId\\": \\"p-148e7853433574fffe9fec72ed9b72\\",\\n \\"tags\\": [\\n {\\n \\"key\\": \\"key\\",\\n \\"value\\": \\"test\\"\\n }\\n ],\\n \\"taskCnt\\": 2\\n }\\n ],\\n \\"requestId\\": \\"136B3926-DD90-5DB2-96EC-8BAD6407D1C9\\"\\n}","type":"json"}]', + ], + 'GetProject' => [ + 'summary' => '查询项目', + 'path' => '/project/{projectId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'projectId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p-433aead7560572f8d95b25775c', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'project' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-09-06T06:11:27Z', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'p-433aead7560572f8d95b25775c', + ], + 'taskCnt' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '7FA0FF4A-ABD4-54F6-BEAC-B4273EBA10A2', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"project\\": {\\n \\"createTime\\": \\"2022-09-06T06:11:27Z\\",\\n \\"description\\": \\"abc\\",\\n \\"name\\": \\"abc\\",\\n \\"projectId\\": \\"p-433aead7560572f8d95b25775c\\",\\n \\"taskCnt\\": 2\\n },\\n \\"requestId\\": \\"7FA0FF4A-ABD4-54F6-BEAC-B4273EBA10A2\\"\\n}","type":"json"}]', + ], + 'DeleteProject' => [ + 'summary' => '删除项目', + 'path' => '/project/{projectId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'projectId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p-148e7853433574fffe9fec72ed9b72', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BF72A6FB-B071-5F2E-A036-9D62545B962C', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"BF72A6FB-B071-5F2E-A036-9D62545B962C\\"\\n}","type":"json"}]', + ], + 'CreateGroup' => [ + 'summary' => '创建分组', + 'path' => '/group', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'autoDestroy' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'autoTrigger' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'forcedSetting' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test', + ], + 'notifyConfig' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'notifyPath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '/', + ], + 'notifyType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'DingDing', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'notifyOperationTypes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + 'required' => false, + ], + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'p-433aead7560571a87349d054b4', + ], + 'ramRole' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ramName', + ], + 'reportExportField' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'taskName', + ], + 'required' => false, + ], + 'reportExportPath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://test.oss-cn-hangzhou.aliyuncs.com/test/test', + ], + 'terraformProviderVersion' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.189.0', + ], + 'triggerConfig' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'triggerStrategy' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Cron', + ], + 'triggerValue' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0 0 19 * * ?', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'triggerResourceType' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Task', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'groupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'g-4267dcfbf1b6d128c87adf0e95f', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'E2D0E863-1651-5E58-823F-B451C8C24615', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"groupId\\": \\"g-4267dcfbf1b6d128c87adf0e95f\\",\\n \\"requestId\\": \\"E2D0E863-1651-5E58-823F-B451C8C24615\\"\\n}","type":"json"}]', + ], + 'UpdateGroup' => [ + 'summary' => '修改分组', + 'path' => '/group/{groupId}', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'autoDestroy' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'autoTrigger' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'forcedSetting' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'notifyConfig' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'notifyPath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '/', + ], + 'notifyType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'DingDing', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'notifyOperationTypes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + 'required' => false, + ], + 'ramRole' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + 'reportExportField' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Task', + ], + 'required' => false, + ], + 'reportExportPath' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '/', + ], + 'terraformProviderVersion' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.183.0', + ], + 'triggerConfig' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'triggerStrategy' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Cron', + ], + 'triggerValue' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0 0 * * * ?', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'triggerResourceType' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'SceneTestingTask', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'groupId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'g-59d8d22e78792ffe3d3eb6154d727', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '4EF5E823-AC0D-5CB5-8F18-1352455A488D', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4EF5E823-AC0D-5CB5-8F18-1352455A488D\\"\\n}","type":"json"}]', + ], + 'GetGroup' => [ + 'summary' => '查询分组', + 'path' => '/group/{groupId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'groupId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'g-4267dcfbf1b6d128c87adf0e95f', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'group' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'autoDestroy' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'autoTrigger' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-08-21T10:57:11Z', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'forcedSetting' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'groupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'g-14e80de4866bf7ffed0bab6154d738', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'abc', + ], + 'notifyConfig' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'notifyPath' => [ + 'description' => '', + 'type' => 'string', + 'example' => '/', + ], + 'notifyType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DingDing', + ], + ], + ], + ], + 'notifyOperationTypes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'p-4267dcfbf1b6d126edcadf0e949', + ], + 'ramRole' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ramRoleName', + ], + 'reportExportField' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Task', + ], + ], + 'reportExportPath' => [ + 'description' => '', + 'type' => 'string', + 'example' => '/', + ], + 'taskCnt' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'terraformProviderVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1.191.0', + ], + 'triggerConfig' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'triggerStrategy' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Cron', + ], + 'triggerValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0 0 8 * * ?', + ], + ], + ], + ], + 'triggerResourceType' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SceneTestingTask', + ], + ], + ], + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"group\\": {\\n \\"autoDestroy\\": true,\\n \\"autoTrigger\\": true,\\n \\"createTime\\": \\"2022-08-21T10:57:11Z\\",\\n \\"description\\": \\"OK\\",\\n \\"forcedSetting\\": true,\\n \\"groupId\\": \\"g-14e80de4866bf7ffed0bab6154d738\\",\\n \\"name\\": \\"abc\\",\\n \\"notifyConfig\\": [\\n {\\n \\"notifyPath\\": \\"/\\",\\n \\"notifyType\\": \\"DingDing\\"\\n }\\n ],\\n \\"notifyOperationTypes\\": [\\n \\"refresh\\"\\n ],\\n \\"projectId\\": \\"p-4267dcfbf1b6d126edcadf0e949\\",\\n \\"ramRole\\": \\"ramRoleName\\",\\n \\"reportExportField\\": [\\n \\"Task\\"\\n ],\\n \\"reportExportPath\\": \\"/\\",\\n \\"taskCnt\\": 3,\\n \\"terraformProviderVersion\\": \\"1.191.0\\",\\n \\"triggerConfig\\": [\\n {\\n \\"triggerStrategy\\": \\"Cron\\",\\n \\"triggerValue\\": \\"0 0 8 * * ?\\"\\n }\\n ],\\n \\"triggerResourceType\\": [\\n \\"SceneTestingTask\\"\\n ]\\n },\\n \\"requestId\\": \\"B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9\\"\\n}","type":"json"}]', + ], + 'ListGroup' => [ + 'summary' => '查询分组列表', + 'path' => '/group', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '200', + ], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'projectId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p-14e80de4866bf7ffed0c4072ed9b37', + ], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'tag', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'key' => [ + 'type' => 'string', + ], + 'value' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'count' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'groups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'createTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-09-14T07:19:13Z', + ], + 'description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + 'groupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'g-148e7853433574fffe9fec72ed9b73', + ], + 'isDefault' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'moduleCnt' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'p-4267dcfbf1b6d126edcadf0e949', + ], + 'sceneTestingTaskCnt' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'key' => [ + 'type' => 'string', + ], + 'value' => [ + 'type' => 'string', + ], + ], + ], + ], + 'taskCnt' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + ], + ], + ], + 'pageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'pageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"count\\": 3,\\n \\"groups\\": [\\n {\\n \\"createTime\\": \\"2022-09-14T07:19:13Z\\",\\n \\"description\\": \\"OK\\",\\n \\"groupId\\": \\"g-148e7853433574fffe9fec72ed9b73\\",\\n \\"isDefault\\": true,\\n \\"moduleCnt\\": 1,\\n \\"name\\": \\"1\\",\\n \\"projectId\\": \\"p-4267dcfbf1b6d126edcadf0e949\\",\\n \\"sceneTestingTaskCnt\\": 1,\\n \\"tags\\": [\\n {\\n \\"key\\": \\"key\\",\\n \\"value\\": \\"iac\\"\\n }\\n ],\\n \\"taskCnt\\": 3\\n }\\n ],\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"requestId\\": \\"B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9\\"\\n}","type":"json"}]', + ], + 'DeleteGroup' => [ + 'summary' => '删除分组', + 'path' => '/group/{groupId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'groupId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'g-4267dcfbf1b6d128c87adf0e95f', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '1E7BA3EB-B0EF-53F5-9999-07CAD6D9F8A3', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1E7BA3EB-B0EF-53F5-9999-07CAD6D9F8A3\\"\\n}","type":"json"}]', + ], + 'AssociateGroup' => [ + 'summary' => '分组关联', + 'path' => '/group/{groupId}/associate', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'groupId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'g-4267dcfbf1b6d128c87adf0e95f', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'projectId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p-433aead7560571a87349d054b4', + ], + 'resourceIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'task-433aead7560571a87', + ], + 'required' => true, + ], + 'resourceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Task', + ], + ], + 'required' => false, + 'minItems' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9\\"\\n}","type":"json"}]', + ], + 'DissociateGroup' => [ + 'summary' => '取消关联分组', + 'path' => '/group/{groupId}/dissociate', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'projectId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p-433aead7560572f8d95b25775c', + ], + ], + [ + 'name' => 'groupId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'g-59d8d22e78792ffe3d3eb6154d727', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2daf4227f747cbf11a5501f18cc5e004', + ], + 'resourceIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'task-abc', + ], + 'required' => true, + ], + 'resourceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Task', + ], + ], + 'required' => false, + 'minItems' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '17793D91-A26F-520D-A948-3452A45D15B1', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"17793D91-A26F-520D-A948-3452A45D15B1\\"\\n}","type":"json"}]', + ], + 'ManageTerraformState' => [ + 'summary' => '支持状态文件的资源导入和移除', + 'path' => '/terraformState/manage', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREopenapiexplorer7MPML0', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'clientToken' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a65451293e64979ba7a4b573950217fe', + ], + 'type' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Task' => 'Task', + 'Stack' => 'Stack', + ], + 'example' => 'Stack', + ], + 'identifier' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [], + 'example' => 'stack-as11xxxxxxxxx:developmentA', + ], + 'resourceIdentifier' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vpc:alicloud_vswitch.vswitches[0]', + ], + 'action' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Import' => 'Import', + 'StateRemove' => 'StateRemove', + ], + 'example' => 'Import', + ], + 'importResourceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-xxxxxxxx', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '0A80B4F1-4E8C-515A-B3C1-0E1A9B85B6A7', + ], + 'jobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-5fd38c9xxxxx', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0A80B4F1-4E8C-515A-B3C1-0E1A9B85B6A7\\",\\n \\"jobId\\": \\"job-5fd38c9xxxxx\\"\\n}","type":"json"}]', + ], + 'GenerateModule' => [ + 'summary' => '生成模板', + 'path' => '/explorer/generate/module', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'parameters' => [ + 'description' => '', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'any', + 'readOnly' => false, + 'example' => 'name', + 'description' => '', + ], + 'readOnly' => false, + ], + 'regionId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-beijing', + 'readOnly' => false, + ], + 'syntax' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'terraform', + 'readOnly' => false, + ], + 'terraformProviderVersion' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1.189.0', + 'readOnly' => false, + ], + 'terraformResourceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alicloud_db_instance', + 'readOnly' => false, + ], + 'generateSource' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Resource', + ], + 'template' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'generateSource == ', + ], + ], + 'required' => false, + 'readOnly' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'module' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'demo', + 'readOnly' => false, + ], + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6B40D088-E929-504B-8802-C1759A993FA2', + 'readOnly' => false, + ], + 'properties' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{}', + ], + ], + 'readOnly' => false, + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"module\\": \\"terraform {\\\\n required_providers {\\\\n alicloud = {\\\\n source = \\\\\\"aliyun/alicloud\\\\\\"\\\\n version = \\\\\\"1.260.0\\\\\\"\\\\n }\\\\n }\\\\n}\\\\n\\\\nresource \\\\\\"alicloud_vpc\\\\\\" \\\\\\"default\\\\\\" {\\\\n vpc_name = \\\\\\"vpc-test\\\\\\"\\\\n}\\",\\n \\"requestId\\": \\"6B40D088-E929-504B-8802-C1759A993FA2\\",\\n \\"properties\\": {\\n \\"vpc_name\\": \\"vpc-test\\"\\n }\\n}","type":"json"}]', + 'title' => '生成模板', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'iac.cn-zhangjiakou.aliyuncs.com', + ], + ], +]; |
