diff options
Diffstat (limited to 'data/en_us/iacservice')
| -rw-r--r-- | data/en_us/iacservice/2021-07-22/api-docs.php | 275 | ||||
| -rw-r--r-- | data/en_us/iacservice/2021-08-06/api-docs.php | 17908 |
2 files changed, 10729 insertions, 7454 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 index 3468d48..3c48e50 100644 --- a/data/en_us/iacservice/2021-07-22/api-docs.php +++ b/data/en_us/iacservice/2021-07-22/api-docs.php @@ -1,20 +1,12 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'IaCService', - 'version' => '2021-07-22', - ], + 'info' => ['style' => 'ROA', 'product' => 'IaCService', 'version' => '2021-07-22'], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', - 'children' => [ - 'ListResources', - 'GetResource', - 'ListDataSources', - ], + 'children' => ['ListResources', 'GetResource', 'ListDataSources'], ], ], 'components' => [ @@ -24,56 +16,33 @@ 'ListResources' => [ 'summary' => '列举资源', 'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/resources', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'provider', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'productCode', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'resourceTypeCode', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'regionIds', @@ -81,63 +50,44 @@ 'style' => 'simple', 'schema' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], [ 'name' => 'filter', 'in' => 'query', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - ], + 'schema' => ['type' => 'object'], ], [ 'name' => 'x-roag-cache', 'in' => 'header', - 'schema' => [ - 'type' => 'boolean', - ], + 'schema' => ['type' => 'boolean'], ], [ 'name' => 'pageNum', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32'], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32'], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], [ 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32'], ], [ 'name' => 'dataType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -146,49 +96,22 @@ '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', - ], + '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', - ], + 'productCode' => ['type' => 'string'], + 'resourceTypeCode' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + 'resourceId' => ['type' => 'string'], + 'resourceAttributes' => ['type' => 'string'], ], ], ], @@ -201,78 +124,48 @@ 'GetResource' => [ 'summary' => '获取具体资源', 'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/resources/{resourceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'provider', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'productCode', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'resourceTypeCode', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'resourceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'dataType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -281,28 +174,15 @@ 'title' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'type' => 'string', - ], + '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', - ], + 'productCode' => ['type' => 'string'], + 'resourceTypeCode' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + 'resourceId' => ['type' => 'string'], + 'resourceAttributes' => ['type' => 'string'], ], ], ], @@ -314,75 +194,50 @@ 'ListDataSources' => [ 'summary' => '列举资源属性可选值', 'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/dataSources/{attributeName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorerY5UU1D', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorerY5UU1D'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'provider', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'productCode', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'resourceTypeCode', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'attributeName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'filter', 'in' => 'query', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - ], + 'schema' => ['type' => 'object'], ], ], 'responses' => [ @@ -391,21 +246,14 @@ 'title' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'type' => 'string', - ], + 'requestId' => ['title' => 'Id of the request', 'type' => 'string'], 'dataSources' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'id' => [ - 'type' => 'string', - ], - 'dataSourceAttributes' => [ - 'type' => 'string', - ], + 'id' => ['type' => 'string'], + 'dataSourceAttributes' => ['type' => 'string'], ], ], ], @@ -417,9 +265,6 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'iac.cn-zhangjiakou.aliyuncs.com', - ], + ['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 index d4b39b7..05a324c 100644 --- a/data/en_us/iacservice/2021-08-06/api-docs.php +++ b/data/en_us/iacservice/2021-08-06/api-docs.php @@ -1,220 +1,126 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'IaCService', - 'version' => '2021-08-06', - ], + 'info' => ['style' => 'ROA', 'product' => 'IaCService', 'version' => '2021-08-06'], 'directories' => [ [ - 'id' => 171780, - 'title' => 'Module', + 'children' => ['UpdateProject', 'ListProject', 'GetProject', 'DeleteProject', 'CreateProject'], 'type' => 'directory', - 'children' => [ - 'CreateModule', - 'UpdateModuleAttribute', - 'ListModules', - 'GetModule', - 'DeleteModule', - ], + 'title' => 'Project.', ], [ - 'id' => 172110, - 'title' => 'Module Version', + 'children' => ['GetStack', 'GetStackDeployments', 'UpdateStack', 'TriggerStackExecution', 'ListStacks', 'ListStackConfigs', 'GetStackExecutionResult', 'DeleteStack', 'CreateStack'], 'type' => 'directory', - 'children' => [ - 'CreateModuleVersion', - 'GetModuleVersion', - 'ListModuleVersion', - ], + 'title' => 'Stack', ], [ - 'id' => 171831, - 'title' => 'Tasks', + 'children' => ['CreateModule', 'UpdateModuleAttribute', 'ListModules', 'GetModule', 'DeleteModule'], 'type' => 'directory', - 'children' => [ - 'CreateTask', - 'UpdateTaskAttribute', - 'ListTasks', - 'GetTask', - 'DeleteTask', - ], + 'title' => 'Template', ], [ - 'id' => 171775, - 'title' => 'Job', + 'children' => ['CreateModuleVersion', 'GetModuleVersion', 'ListModuleVersion'], 'type' => 'directory', - 'children' => [ - 'CreateJob', - 'OperateJob', - 'ListJobs', - 'GetJob', - ], + 'title' => 'Template version', ], [ - 'id' => 171820, - 'title' => 'Resource Export Task', + 'children' => ['ListTasks', 'GetTask', 'DeleteTask', 'CreateTask', 'UpdateTaskAttribute'], 'type' => 'directory', - 'children' => [ - 'CreateResourceExportTask', - 'UpdateResourceExportTaskAttribute', - 'ListResourceExportTasks', - 'GetResourceExportTask', - 'CancelResourceExportTask', - 'ExecuteResourceExportTask', - 'DeleteResourceExportTask', - 'ListResourceExportTaskVersions', - ], + 'title' => 'Node', ], [ - 'id' => 205402, - 'title' => 'Work space', + 'children' => ['ListJobs', 'CreateJob', 'OperateJob', 'GetJob'], 'type' => 'directory', - 'children' => [ - 'CreateRegistryNamespace', - 'UpdateRegistryNamespaceAttribute', - 'ListRegistryNamespaces', - 'GetRegistryNamespace', - 'DeleteRegistryNamespace', - 'AddSharedAccounts', - 'RemoveSharedAccounts', - ], + 'title' => 'Job', ], [ - 'id' => 205400, - 'title' => 'Registry Module', + 'children' => ['CreateResourceExportTask', 'UpdateResourceExportTaskAttribute', 'ListResourceExportTasks', 'GetResourceExportTask', 'CancelResourceExportTask', 'ExecuteResourceExportTask', 'DeleteResourceExportTask', 'ListResourceExportTaskVersions'], 'type' => 'directory', - 'children' => [ - 'CreateRegistryModule', - 'UpdateRegistryModuleAttribute', - 'ListRegistryModules', - 'GetRegistryModule', - 'DeleteRegistryModule', - 'PublishRegistryModuleVersion', - 'ListRegistryModuleVersions', - 'GetRegistryModuleVersion', - 'DeleteRegistryModuleVersion', - ], + 'title' => 'Resource export task', + ], + [ + 'children' => ['CreateRegistryNamespace', 'UpdateRegistryNamespaceAttribute', 'ListRegistryNamespaces', 'GetRegistryNamespace', 'DeleteRegistryNamespace', 'AddSharedAccounts', 'RemoveSharedAccounts'], + 'type' => 'directory', + 'title' => 'Workspace', + ], + [ + 'children' => ['CreateRegistryModule', 'UpdateRegistryModuleAttribute', 'ListRegistryModules', 'GetRegistryModule', 'DeleteRegistryModule', 'PublishRegistryModuleVersion', 'ListRegistryModuleVersions', 'GetRegistryModuleVersion', 'DeleteRegistryModuleVersion'], + 'type' => 'directory', + 'title' => 'Registry template', ], [ - 'id' => 172263, + 'children' => ['ListProducts', 'ListTerraformProviderVersions', 'ListResourceTypes', 'GetResourceType'], + 'type' => 'directory', 'title' => 'Metadata', + ], + [ + 'children' => ['UploadModule'], 'type' => 'directory', - 'children' => [ - 'ListTerraformProviderVersions', - 'ListProducts', - 'ListResourceTypes', - 'GetResourceType', - ], + 'title' => 'Template node', ], [ - 'id' => 205406, - 'title' => 'Explorer Module', + 'children' => ['DetectTerraformState', 'GetDetectConfig', 'DeleteDetectConfig', 'DissociateDetectConfig', 'ListDetectConfigs', 'AssociateDetectConfig', 'CreateDetectConfig', 'ListDetectConfigRelations', 'UpdateDetectConfig'], 'type' => 'directory', - 'children' => [ - 'UpdateExplorerModuleAttribute', - ], + 'title' => 'Bias detection.', ], [ - 'id' => 244873, - 'title' => 'Terraform execution', + 'children' => ['UpdateExplorerModuleAttribute'], 'type' => 'directory', - 'children' => [ - 'ValidateModule', - 'ExecuteTerraformApply', - 'ExecuteTerraformDestroy', - 'GetExecuteState', - 'ExecuteTerraformPlan', - ], + 'title' => 'Explorer template', ], [ - 'id' => 245334, - 'title' => 'Official RegistryModule', + 'children' => ['ValidateModule', 'ExecuteTerraformApply', 'ExecuteTerraformDestroy', 'GetExecuteState', 'ExecuteTerraformPlan'], 'type' => 'directory', - 'children' => [ - 'ExecuteRegistryModule', - 'ListExplorerRegistryModuleVersions', - 'ListExplorerRegistryModules', - 'ListExplorerRegistryModuleExamples', - ], + 'title' => 'Terraform execution', ], [ - 'id' => 171803, - 'title' => 'Project', + 'children' => ['ExecuteRegistryModule', 'ListExplorerRegistryModuleVersions', 'ListExplorerRegistryModules', 'ListExplorerRegistryModuleExamples'], 'type' => 'directory', - 'children' => [ - 'CreateProject', - 'UpdateProject', - 'ListProject', - 'GetProject', - 'DeleteProject', - ], + 'title' => 'Official registry module', ], [ - 'id' => 171885, - 'title' => 'Grouping', + 'children' => ['CreateParameterSet', 'UpdateParameterSetAttribute', 'ListParameterSets', 'GetParameterSet', 'DeleteParameterSet', 'AssociateParameterSet', 'DissociateParameterSet', 'ListParameterSetRelation'], 'type' => 'directory', - 'children' => [ - 'CreateGroup', - 'UpdateGroup', - 'GetGroup', - 'ListGroup', - 'DeleteGroup', - 'AssociateGroup', - 'DissociateGroup', - ], + 'title' => 'Parameter set', ], [ - 'id' => 371929, - 'title' => null, + 'children' => ['DeleteGroup', 'CreateGroup', 'GetGroup', 'ListGroup', 'UpdateGroup', 'AssociateGroup', 'DissociateGroup'], 'type' => 'directory', - 'children' => [ - 'ManageTerraformState', - ], + 'title' => 'Group', ], [ - 'id' => 171857, - 'title' => 'Other', + 'children' => ['GetTerraformStateDetection', 'ManageTerraformState'], 'type' => 'directory', - 'children' => [ - 'GenerateModule', - ], + 'title' => 'State management', + ], + [ + 'children' => ['GenerateModule', 'ListResources', 'GetProviderDocument'], + 'type' => 'directory', + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateModule' => [ - 'summary' => 'Create Module', - 'path' => '/modules', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'AddSharedAccounts' => [ + 'summary' => 'Adds shared accounts.', + 'path' => '/sharedAccounts', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ @@ -222,148 +128,98 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'title' => 'A short description of struct', - 'description' => '', + 'description' => 'The request structure.', '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', + 'accountIds' => [ + 'description' => 'The list of Alibaba Cloud account IDs.', + 'type' => 'array', + 'items' => ['description' => 'The Alibaba Cloud account ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '云账号ID', 'title' => ''], 'required' => false, - 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/terraform.tfstate', - ], - 'versionStrategy' => [ - 'description' => '', + 'maxItems' => 100, + 'minItems' => 1, + 'title' => '', + 'example' => '', + ], + 'resourceId' => ['description' => 'The ID of the shared resource.'."\n" + ."\n" + .' - If the type is Namespace, set this parameter to the workspace name. '."\n" + ."\n" + .'- If the type is RegistryModule, set this parameter to \\<namespaceName>/\\<ModuleName>.', 'type' => 'string', 'required' => false, 'example' => 'terraform-alicloud-modules/mongodb', 'title' => ''], + 'resourceType' => [ + 'description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- RegistryModule: Registry template.'."\n" + .'- Namespace: workspace.', 'type' => 'string', 'required' => false, - 'example' => 'Manual', - ], - 'tags' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'tagValue' => [ - 'type' => 'string', - ], - 'tagKey' => [ - 'type' => 'string', - ], - ], - ], + 'enum' => ['RegistryModule', 'Namespace'], + 'example' => 'RegistryModule', + 'title' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0D797DC3-FF04-5C21-81EB-XXXXXXXXX'], ], + 'example' => '', ], ], ], - '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', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Add shared accounts', + 'description' => 'Per-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddSharedAccounts'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:AddSharedAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0D797DC3-FF04-5C21-81EB-XXXXXXXXX\\"\\n}","type":"json"}]', + ], + 'AssociateDetectConfig' => [ + 'summary' => 'Associate drift detection configuration', + 'path' => '/terraformState/detectConfig/operations/associate', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ @@ -371,968 +227,1311 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'title' => 'A short description of struct', - 'description' => '', + 'description' => 'Request body parameters', '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' => [ + 'detectConfigId' => ['description' => 'Drift detection configuration ID', 'type' => 'string', 'required' => true, 'example' => 'dc-xxxx', 'title' => ''], + 'targetId' => ['description' => 'Target ID to associate. StackId or TaskId', 'type' => 'string', 'required' => true, 'example' => 'stack-xxxxx', 'title' => ''], + 'targetType' => [ + 'enumValueTitles' => ['Task' => 'Task', 'Stack' => 'Stack'], + 'description' => 'Target type to associate '."\n" + .'- Task: orchestration job '."\n" + .'- Stack: resource stack', 'type' => 'string', 'required' => true, - ], - 'tags' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'tagValue' => [ - 'type' => 'string', - ], - 'tagKey' => [ - 'type' => 'string', - ], - ], - ], + 'example' => 'Stack', + 'title' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['description' => 'Id of the request', 'title' => 'Id of the request', 'type' => 'string', 'example' => 'BF75EF50-955D-5E1F-AB23-A657C2C6D3C7'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'Associate drift detection configuration', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"BF75EF50-955D-5E1F-AB23-A657C2C6D3C7\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'AssociateGroup' => [ + 'summary' => 'Associates resources with a group.', + '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' => 'moduleId', + 'name' => 'groupId', 'in' => 'path', + 'schema' => ['description' => 'The group ID.', 'type' => 'string', 'required' => true, 'example' => 'g-4267dcfbf1b6d128c87adf0e95f', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mod-62ecaa43022ce189d65f8d4a794', + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => false, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'required' => false, 'example' => 'p-433aead7560571a87349d054b4', 'title' => ''], + 'resourceIds' => [ + 'description' => 'The list of resource IDs.', + 'type' => 'array', + 'items' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'example' => 'task-433aead7560571a87', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'resourceType' => ['description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- SceneTestingTask: scenario-based testing task.'."\n" + .'- Task: regular task.'."\n" + .'- Module: template.', 'type' => 'string', 'required' => false, 'example' => 'Task', 'title' => ''], + ], + 'required' => false, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'CA05185E-6B90-5941-98D4-7212688AECC8', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"CA05185E-6B90-5941-98D4-7212688AECC8\\"\\n}","type":"json"}]', - 'title' => 'Modify Module', - 'translator' => 'machine', - ], - 'ListModules' => [ - 'summary' => '列举模板', - 'path' => '/modules', - 'methods' => [ - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9\\"\\n}","type":"json"}]', + 'title' => 'Associate resources with a group', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:AssociateGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/{#GroupId}'], + ], + ], + ], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateGroup'], + ], ], + ], + 'AssociateParameterSet' => [ + 'summary' => 'Associates parameter sets.', + 'path' => '/parameterSets/operations/associate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + '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' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'parameterSetIds' => [ + 'description' => 'The list of parameter set IDs to associate with the resource. Maximum length: 5.', + 'type' => 'array', + 'items' => ['description' => 'The parameter set ID.', 'type' => 'string', 'required' => true, 'example' => 'pts-xxxxx', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'resourceId' => ['description' => 'The resource ID. When the resource type is ModuleVersion, the value is a concatenation of <moduleId>-<moduleversion>, such as mod-34535345df123fr-v3.', 'type' => 'string', 'required' => true, 'example' => 'task-433aead756057ffdf5326bf1e12ed', 'title' => ''], + 'resourceType' => [ + 'description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- Module: template'."\n" + .'- ModuleVersion: template version'."\n" + .'- Task: node'."\n" + .'- Stack: resource stack.', + 'enumValueTitles' => ['Task' => 'Task', 'ModuleVersion' => 'ModuleVersion', 'Module' => 'Module', 'Stack' => 'Stack'], + 'type' => 'string', + 'required' => true, + 'example' => 'Task', + 'title' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], ], - 'produces' => [ - 'application/json', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BF75EF50-955D-5E1F-AB23-A657C2C6D3C7'], + ], + 'example' => '', + ], + ], ], - 'operationType' => 'read', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"BF75EF50-955D-5E1F-AB23-A657C2C6D3C7\\"\\n}","type":"json"}]', + 'title' => 'Associate parameter sets', + 'description' => 'After creating a parameter set, you need to associate it with a resource. Valid values for the resource type:'."\n" + ."\n" + .'- Module: template'."\n" + .'- ModuleVersion: template version'."\n" + .'- Task: node.', + 'changeSet' => [ + ['createdAt' => '2022-06-27T10:03:06.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:AssociateParameterSet', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CancelResourceExportTask' => [ + 'summary' => 'Cancels a resource export task.', + 'path' => '/exportTasks/cancel/{exportTaskId}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'keyword', - 'in' => 'query', - 'schema' => [ - 'title' => 'A short description of struct', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'key', - ], + 'name' => 'exportTaskId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the resource export task.', 'type' => 'string', 'required' => true, 'example' => 'ex-445dcb7d0ac661ff08be459a75f', 'title' => ''], ], [ - 'name' => 'pageSize', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + ], 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'pageNumber', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', + 'title' => '', + 'description' => 'The response body structure.', + 'type' => 'object', + 'properties' => [ + 'exportTaskId' => ['description' => 'The ID of the resource export task.', 'type' => 'string', 'example' => 'ex-3b6cb9fa4751a6e5cdc6460282', 'title' => ''], + 'exportVersion' => ['description' => 'The version of the export task.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '136B3926-DD90-5DB2-96EC-8BAD6407D1C9'], + ], + 'example' => '', ], ], - [ - 'name' => 'projectId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"exportTaskId\\": \\"ex-3b6cb9fa4751a6e5cdc6460282\\",\\n \\"exportVersion\\": \\"v1\\",\\n \\"requestId\\": \\"136B3926-DD90-5DB2-96EC-8BAD6407D1C9\\"\\n}","type":"json"}]', + 'title' => 'Cancel a resource export task', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:CancelResourceExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/{#ResourceExportTaskId}'], + ], ], ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelResourceExportTask'], + ], + ], + ], + 'CreateDetectConfig' => [ + 'path' => '/terraformState/detectConfig', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'groupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'tag', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'tagKey' => [ - 'type' => 'string', - ], - 'tagValue' => [ - 'type' => 'string', + 'description' => 'Request body parameters ', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'Idempotence token, format: `[0-9a-zA-Z-]{1,64}`. It is recommended to use a UUID. '."\n", 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'Description, up to 256 characters in length. ', 'type' => 'string', 'required' => false, 'example' => 'example', 'title' => ''], + 'enabled' => ['description' => 'Whether the Detection feature is Enabled. The default value is `true`.'."\n", 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''], + 'triggerType' => [ + 'description' => 'Trigger type '."\n" + .'- Manual: Execute manually '."\n" + .'- Cron: Trigger on a schedule '."\n", + 'type' => 'string', + 'enum' => ['Manual', 'Cron'], + 'required' => false, + 'example' => 'Manual', + 'title' => '', + ], + 'cronExpression' => ['description' => 'Cron expression (UTC+8). Required when trigger type is `Cron`. '."\n", 'type' => 'string', 'required' => false, 'example' => '0 0 0 ? * 1', 'title' => ''], + 'alarmConfigs' => [ + 'description' => 'List of alerting addresses '."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'type' => ['description' => 'Alerting method. Currently only `cms` is supported. ', 'type' => 'string', 'required' => false, 'example' => 'cms', 'title' => ''], + 'address' => ['description' => 'Alerting address. '."\n", 'type' => 'string', 'required' => false, 'example' => 'https://metrichub-cms-cn-hangzhou.aliyuncs.com/event/notify?xxxxx', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'detectConfigName' => ['description' => 'Detection configuration Name'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'moduleName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'type' => 'string', + 'description' => '- **requestId**: request ID '."\n" + .'- **detectConfigId**: ID of the detection configuration '."\n", + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'detectConfigId' => ['description' => 'Drift detection configuration ID ', 'type' => 'string', 'example' => 'dc-xxxx', 'title' => ''], + 'requestId' => ['description' => 'request ID '."\n", 'title' => 'Id of the request ', 'type' => 'string', 'example' => 'String'], + ], + 'example' => '', ], ], ], - 'responses' => [ - 200 => [ + 'title' => 'Create Drift Detection Configuration ', + 'summary' => 'Creates a drift detection configuration that supports manual or scheduled triggering. ', + 'description' => '## Request Description '."\n" + .'- When `triggerType` is set to `Cron`, a valid `cronExpression` must be provided. '."\n" + .'- Each element in the `alarmConfigs` list must specify the alerting method `type` and the corresponding alerting address `address`. '."\n" + .'- If the `enabled` parameter is not explicitly set, its default value is `true`, meaning newly created detection configurations are enabled by default. '."\n" + .'- It is recommended to use a UUID as the value of `clientToken` to ensure request idempotence. '."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"detectConfigId\\": \\"dc-xxxx\\",\\n \\"requestId\\": \\"String\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'CreateGroup' => [ + 'summary' => 'Creates a group.', + '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' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'description' => 'The request body parameters.', 'type' => 'object', 'properties' => [ - 'modules' => [ - 'description' => '', + 'autoDestroy' => ['description' => 'Specifies whether to delete the group after creation.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'autoTrigger' => ['description' => 'Specifies whether to enable the automatic trigger policy. Valid values:'."\n" + .'- **true**: enabled.'."\n" + .'- **false**: disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The description of the group.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'forcedSetting' => ['description' => 'Specifies whether to forcibly use the group configuration.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'name' => ['description' => 'The name of the group.', 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], + 'notifyConfig' => [ + 'description' => 'The notification configuration.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The notification configuration.', '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', - ], - ], - ], - ], + 'notifyPath' => ['description' => 'The path configuration for notifications.', 'type' => 'string', 'required' => false, 'example' => '/', 'title' => ''], + 'notifyType' => ['description' => 'The notification type:'."\n" + .'DingDing.', 'type' => 'string', 'required' => false, 'example' => 'DingDing', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'pageNumber' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'notifyOperationTypes' => [ + 'description' => 'The list of notification operation types.', + 'type' => 'array', + 'items' => ['description' => 'The notification operation type. Valid values:'."\n" + .'- apply: exec.'."\n" + .'- refresh: refresh.'."\n" + .'- destroy: destroy.', 'type' => 'string', 'required' => false, 'example' => 'refresh', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'pageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'required' => true, 'example' => 'p-433aead7560571a87349d054b4', 'title' => ''], + 'ramRole' => ['description' => 'The RAM role (1-128 characters).'."\n" + .'The system assumes this role to execute the template when a new job is triggered.'."\n" + .'This parameter is required when the job trigger method is not manual.', 'type' => 'string', 'required' => false, 'example' => 'ramName', 'title' => ''], + 'reportExportField' => [ + 'description' => 'The list of export fields for the report.', + 'type' => 'array', + 'items' => ['description' => 'The list of export fields for the report.', 'type' => 'string', 'required' => false, 'example' => 'taskName', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C617E03B-3DD2-5F0C-A6CF-3028B499A2D5', + 'reportExportPath' => ['description' => 'The export address for the execution report. OSS addresses are supported.'."\n" + .'https://<OSS bucket address>/<path>.', 'type' => 'string', 'required' => false, 'example' => 'https://test.oss-cn-hangzhou.aliyuncs.com/test/test', 'title' => ''], + 'terraformProviderVersion' => ['description' => 'The Terraform Provider version.'."\n" + .'Select a Terraform Provider version. The version configured on the task takes higher priority.', 'type' => 'string', 'required' => false, 'example' => '1.189.0', 'title' => ''], + 'triggerConfig' => [ + 'description' => 'The trigger policy.'."\n" + .'This parameter cannot be empty when autoTrigger is set to true.', + 'type' => 'array', + 'items' => [ + 'description' => 'The trigger policy.'."\n" + .'This parameter cannot be empty when autoTrigger is set to true.', + 'type' => 'object', + 'properties' => [ + 'triggerStrategy' => ['description' => 'The trigger policy. Valid values:'."\n" + ."\n" + .'- ProviderNewVersion: triggered when a new Provider version is released.'."\n" + .'- Cron: triggered on a schedule.', 'type' => 'string', 'required' => false, 'example' => 'Cron', 'title' => ''], + 'triggerValue' => ['description' => 'The policy value to maintain for scheduled triggering. This is a cron expression.', 'type' => 'string', 'required' => false, 'example' => '0 0 19 * * ?', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'totalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2790', + 'triggerResourceType' => [ + 'description' => 'The resource type for triggered execution. Valid values:'."\n" + ."\n" + .'- Task: regular task.'."\n" + .'- SceneTestingTask: scenario-based testing task.', + 'type' => 'array', + 'items' => ['description' => 'The resource type for triggered execution. Valid values:'."\n" + ."\n" + .'- Task: regular task.'."\n" + .'- SceneTestingTask: scenario-based testing task.', 'type' => 'string', 'required' => false, 'example' => 'Task', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], - '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', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'groupId' => ['description' => 'The group ID.', 'type' => 'string', 'example' => 'g-4267dcfbf1b6d128c87adf0e95f', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'E2D0E863-1651-5E58-823F-B451C8C24615'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"groupId\\": \\"g-4267dcfbf1b6d128c87adf0e95f\\",\\n \\"requestId\\": \\"E2D0E863-1651-5E58-823F-B451C8C24615\\"\\n}","type":"json"}]', + 'title' => 'Create a group', + 'changeSet' => [ + ['createdAt' => '2023-01-10T09:03:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroup'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/*'], + ], + ], + ], + ], + ], + 'CreateJob' => [ + 'summary' => 'Creates a job and runs a task.', + 'path' => '/tasks/{taskId}/jobs', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'moduleId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mod-148e7853433574fffe9ca86154d77a', + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. We recommend that you use a UUID.', 'type' => 'string', 'required' => true, 'example' => '2daf4227f747cbf11a5501f18cc5e004', 'title' => ''], + 'description' => ['description' => 'The job description. Length: 1 to 64 characters.', 'type' => 'string', 'required' => true, 'example' => 'description', 'title' => ''], + 'subCommand' => [ + 'description' => 'The operation command. Valid values:'."\n" + ."\n" + .'- plan: performs a preview. This is the default value.'."\n" + .'- refresh: refreshes the resource status.'."\n" + .'- destroy: destroys resources.', + 'enumValueTitles' => ['refresh' => 'refresh', 'destroy' => 'destroy', 'plan' => 'plan'], + 'type' => 'string', + 'required' => false, + 'default' => 'false', + 'example' => 'refresh', + 'title' => '', + ], + 'taskType' => [ + 'description' => 'The task type. Valid values:'."\n" + ."\n" + .'- Task: regular task. This is the default value.'."\n" + .'- SceneTestingTask: scenario-based testing task.', + 'enumValueTitles' => ['SceneTestingTask' => 'SceneTestingTask', 'Task' => 'Task'], + 'type' => 'string', + 'required' => false, + 'example' => 'Task', + 'title' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => 'task-433aead756057fffeaba4828f5195', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', - ], + 'jobId' => ['description' => 'The job ID.', 'type' => 'string', 'example' => 'job-518855d98c319561f', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '136B3926-DD90-5DB2-96EC-8BAD6407D1C9'], ], + 'example' => '', ], ], ], - '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', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"jobId\\": \\"job-518855d98c319561f\\",\\n \\"requestId\\": \\"136B3926-DD90-5DB2-96EC-8BAD6407D1C9\\"\\n}","type":"json"}]', + 'title' => 'Create a job and run a task', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2025-04-18T09:09:02.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-11T03:32:12.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-23T09:04:16.000Z', 'description' => 'Error codes changed, Request parameters changed'], + ['createdAt' => '2023-04-13T07:25:09.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-27T10:03:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-13T12:28:49.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateJob'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Job', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}/job/*'], + ], + ], + 'additionalActions' => [], + ], ], + ], + 'CreateModule' => [ + 'summary' => 'Creates a Terraform template. Multiple source methods are supported, such as OSS import, Registry import, file upload, and online editing.', + 'path' => '/modules', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'moduleId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => 'A short description of struct', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mod-14e80de4866bf71ef354cc82d17f', + 'title' => '', + 'description' => 'Request parameters.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotency parameter. We recommend that you use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The description of the template. The description can be up to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'ECS instance module', 'title' => ''], + 'groupInfo' => [ + 'description' => 'The project group information to which the template belongs.', + 'type' => 'object', + 'properties' => [ + 'groupId' => ['description' => 'The group ID.', 'type' => 'string', 'required' => false, 'example' => 'g-5fd38c9b92d541a7083a86432e2', 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'required' => false, 'example' => 'p-433aead75605713865c386cb9d', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'name' => ['description' => 'The name of the template. The name must meet the following requirements:'."\n" + .'- The name must be 2 to 128 characters in length.'."\n" + .'- The name can contain letters, digits, Chinese characters, hyphens (-), underscores (_), and periods (.). The name cannot start or end with a hyphen, underscore, or period.'."\n" + .'- The name must be unique among all templates under the current account.', 'type' => 'string', 'required' => true, 'example' => 'my-ecs-module', 'title' => ''], + 'source' => [ + 'description' => 'The source from which the template is created. Valid values:'."\n" + .'- OSS: imports from a ZIP file stored in OSS.'."\n" + .'- Registry: creates from a module in the template registry.'."\n" + .'- ExportTask: references a template exported by a resource export task.'."\n" + .'- Editor: creates a blank template that supports online editing.'."\n" + .'- Upload: uploads a local template file to generate the template.', + 'enumValueTitles' => ['ExportTask' => 'creates from a template generated by a resource export task.', 'Upload' => 'uploads a local template file to generate the template.', 'Registry' => 'creates from a module in the Registry.', 'Editor' => 'creates a blank template that supports online editing.', 'OSS' => 'imports from a template file stored in OSS.'], + 'type' => 'string', + 'required' => true, + 'example' => 'OSS', + 'title' => '', + ], + 'sourcePath' => ['description' => 'The path of the template source. This parameter takes effect when source is set to Registry, OSS, or ExportTask.'."\n" + .'- If source is set to Registry, the value is in the format of \\<workspace name>/\\<module name>:\\<module version>. Example: terraform-alicloud-modules/rds:1.0.0.'."\n" + .'- If source is set to OSS, the value is in the format of oss::<file URL>. The file must be a ZIP file. Example: oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip.'."\n" + .'- If source is set to ExportTask, the value is in the format of \\<export task ID>:\\<exported version>. Example: ex-3b6cb9fa4751afff298da723c24ac:v1.'."\n" + .'- If source is set to Editor or Upload, leave this parameter empty.', 'type' => 'string', 'required' => false, 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip', 'title' => ''], + 'statePath' => ['description' => 'The path of the State file that corresponds to the template. This parameter is valid only when source is set to OSS.'."\n" + .'The value is in the format of oss::\\<OSS file path>/terraform.tfstate.', 'type' => 'string', 'required' => false, 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/terraform.tfstate', 'title' => ''], + 'versionStrategy' => [ + 'description' => 'The version generation strategy. Valid values:'."\n" + ."\n" + .'- Manual: manually generates a version. This is the default value.'."\n" + .'- SourcePathUpdated: generates a new version when sourcePath is modified.', + 'enumValueTitles' => ['Manual' => 'Manual', 'SourcePathUpdated' => 'SourcePathUpdated'], + 'type' => 'string', + 'required' => false, + 'example' => 'Manual', + 'title' => '', + ], + 'tags' => [ + 'description' => 'The list of tags for the template.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of tags for the template.', + 'type' => 'object', + 'properties' => [ + 'tagValue' => ['description' => 'The tag value of the template.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], + 'tagKey' => ['description' => 'The tag key of the template.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '49DA6457-E545-5095-A930-EB8F0BCD4DAA', - ], + 'moduleId' => ['description' => 'The template ID.', 'type' => 'string', 'example' => 'mod-518855d9a058cfffcc446d8fe3c99', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0D797DC3-FF04-5C21-81EB-92C7799512E3'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"moduleId\\": \\"mod-518855d9a058cfffcc446d8fe3c99\\",\\n \\"requestId\\": \\"0D797DC3-FF04-5C21-81EB-92C7799512E3\\"\\n}","type":"json"}]', + 'title' => 'Create a template', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2022-11-30T05:38:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-27T10:03:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-13T12:28:48.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateModule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"49DA6457-E545-5095-A930-EB8F0BCD4DAA\\"\\n}","type":"json"}]', ], 'CreateModuleVersion' => [ - 'summary' => '创建模板版本', + 'summary' => 'Publishes a new version for a specified template.', 'path' => '/modules/{moduleId}/versions', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ 'name' => 'moduleId', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mod-433aead756057143bd9145a5258', - ], + 'schema' => ['description' => 'The template ID.', 'type' => 'string', 'required' => true, 'example' => 'mod-433aead756057143bd9145a5258', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body parameters.', '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', - ], + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The version description. The description can be up to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'this is description'."\n", 'title' => ''], + 'name' => ['description' => 'The template version name. The name must meet the following requirements:'."\n" + ."\n" + .'- The name must be 2 to 128 characters in length.'."\n" + .'- The name can contain letters, digits, Chinese characters, hyphens (-), underscores (_), and periods (.). The name cannot start or end with a hyphen, underscore, or period.', 'type' => 'string', 'required' => true, 'example' => 'versionName', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', 'type' => 'object', 'properties' => [ - 'moduleVersion' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'v1', - ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9', - ], + 'moduleVersion' => ['description' => 'The template version number.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9'], ], + 'example' => '', ], ], ], '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', + 'title' => 'Create template version', + 'description' => '## Operation description'."\n" + .'- Use the `clientToken` parameter to ensure idempotence of the request and prevent duplicate submissions caused by network retries.'."\n" + .'- Use semantic versioning (such as `v1.0.0`).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateModuleVersion'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ModuleVersion', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}/moduleversion/*'], + ], + ], + ], ], + ], + 'CreateParameterSet' => [ + 'summary' => 'Adds a new parameter set. You can set the name, description, and parameter list.', + 'path' => '/parameterSets', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'moduleId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['title' => '', 'description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe'], + 'description' => ['title' => '', 'description' => 'The description of the parameter set. Maximum length: 1024 characters.', 'type' => 'string', 'example' => 'This is parameterSet', 'required' => false], + 'name' => ['title' => '', 'description' => 'The name of the parameter set. Maximum length: 128 characters.', 'type' => 'string', 'required' => true, 'example' => 'demo'], + 'parameters' => [ + 'description' => 'The list of parameters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter set content.', + 'type' => 'object', + 'properties' => [ + 'name' => ['title' => '', 'description' => 'The parameter name.', 'type' => 'string', 'example' => 'region', 'required' => false], + 'type' => [ + 'title' => '', + 'description' => 'The parameter type. Valid values: string, number, bool, map(string), and list(string).', + 'enumValueTitles' => ['number' => 'numeric.', 'string' => 'string.', 'bool' => 'boolean.', 'map(string)' => 'map', 'list(string)' => 'array.'], + 'type' => 'string', + 'example' => 'string', + 'required' => false, + ], + 'value' => ['title' => '', 'description' => 'The parameter value. Use JSON for complex types.', 'type' => 'string', 'example' => 'cn-hangzhou', 'required' => false], + 'status' => [ + 'title' => '', + 'description' => 'The parameter set status. Valid values:'."\n" + ."\n" + .'- HAS_VALUE (default): Defines a specific value.'."\n" + .'- EXPLICIT_NULL: Explicitly sets the value to null.', + 'enumValueTitles' => ['EXPLICIT_NULL' => 'explicitly sets the value to null.', 'HAS_VALUE' => 'defines a specific value.'], + 'type' => 'string', + 'example' => 'HAS_VALUE', + 'required' => false, + ], + 'secret' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => 'mod-14e80de4866bf71c92a04fe353b1', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'parameterSetId' => ['description' => 'The ID of the parameter set.', 'type' => 'string', 'example' => 'pts-3b6cb9fa4751afff89a4b73779e0d', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7FA0FF4A-ABD4-54F6-BEAC-B4273EBA10A2'], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create a parameter set', + 'description' => '## Operation description'."\n" + .'- This operation creates a new parameter set.'."\n" + .'- The name field is required and can be up to 128 characters in length.'."\n" + .'- Each element in the parameters array must contain the name field. Other fields are optional.'."\n" + .'- Use the clientToken field to ensure the idempotence of the request.'."\n" + .'- The request header must contain authentication information to ensure secure access.', + 'changeSet' => [ + ['createdAt' => '2022-06-27T10:03:07.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'moduleVersion', - 'in' => 'path', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateParameterSet', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'ParameterSet', 'arn' => 'acs:iacservice:*:{#accountId}:ParameterSet/*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"parameterSetId\\": \\"pts-3b6cb9fa4751afff89a4b73779e0d\\",\\n \\"requestId\\": \\"7FA0FF4A-ABD4-54F6-BEAC-B4273EBA10A2\\"\\n}","type":"json"}]', + ], + 'CreateProject' => [ + 'summary' => 'Creates a project.', + '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' => 'string', + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The project description. Length: 0 to 1024 characters.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'name' => ['description' => 'The project name. Length: 1 to 128 characters.', 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], + ], 'required' => false, - 'example' => 'v1', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body struct.', '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', - ], - ], - ], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'p-433aead7560572f8d95b25775c', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '3E49127A-BB65-5CCD-AB93-0EC0A43E5446'], ], + 'example' => '', ], ], ], - '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', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"projectId\\": \\"p-433aead7560572f8d95b25775c\\",\\n \\"requestId\\": \\"3E49127A-BB65-5CCD-AB93-0EC0A43E5446\\"\\n}","type":"json"}]', + 'title' => 'Create a project', + 'changeSet' => [ + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProject'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateProject', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/*'], + ], + ], + ], + ], + ], + 'CreateRegistryModule' => [ + 'summary' => 'Creates a Registry template.', + 'path' => '/registryModule', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'moduleId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mod-433aead756057fff39b2f7ac8b798', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'acl' => ['description' => 'The access permission. Valid values:'."\n" + ."\n" + .'- private: private.', 'type' => 'string', 'required' => false, 'example' => 'private', 'title' => ''], + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The description of the Registry template.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], + 'moduleName' => ['description' => 'The name of the Registry template. The name must meet the following requirements:'."\n" + ."\n" + .'- The name must be 3 to 63 characters in length.'."\n" + .'- The name can contain uppercase and lowercase letters, digits, hyphens (-), and underscores (_), and cannot start or end with a hyphen.'."\n" + .'- The name must be unique within the workspace.', 'type' => 'string', 'required' => true, 'example' => 'ModuleName', 'title' => ''], + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'NamespaceName', 'title' => ''], + 'provider' => ['description' => 'The provider type. Valid values:'."\n" + ."\n" + .'- alicloud: Alibaba Cloud.', 'type' => 'string', 'required' => false, 'example' => 'alicloud', 'title' => ''], + 'type' => ['description' => 'The template type. Valid values:'."\n" + ."\n" + .'- self: custom template.', 'type' => 'string', 'required' => false, 'example' => 'self', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'keyword', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'key', + 'title' => '', + 'description' => 'The response body structure.', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C896FE0A-1BEA-5D01-BFF4-B03B82B9CA3D'], + 'source' => ['description' => 'The template source, which is a concatenation of \\<namespaceName>/\\<ModuleName>.', 'type' => 'string', 'example' => 'namespaceName/ModuleName', 'title' => ''], + ], + 'example' => '', ], ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C896FE0A-1BEA-5D01-BFF4-B03B82B9CA3D\\",\\n \\"source\\": \\"namespaceName/ModuleName\\"\\n}","type":"json"}]', + 'title' => 'Create a registry template', + 'description' => 'Per-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRegistryModule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateRegistryModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/*'], + ], ], ], + ], + ], + 'CreateRegistryNamespace' => [ + 'summary' => 'Creates a workspace.', + 'path' => '/registryNamespace', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'pageNumber', - 'in' => 'query', + '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' => 'integer', - 'format' => 'int32', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'acl' => [ + 'description' => 'The access permission. Valid values:'."\n" + ."\n" + .'- private: private access.', + 'enumValueTitles' => ['private' => 'private'], + 'type' => 'string', + 'required' => false, + 'example' => 'private', + 'title' => '', + ], + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The workspace description.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], + 'maintainer' => ['description' => 'The administrator name.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'namespaceName' => ['description' => 'The workspace name. The name must meet the following requirements:'."\n" + ."\n" + .'- The name must be 3 to 63 characters in length.'."\n" + .'- The name can contain uppercase and lowercase letters, digits, hyphens (-), and underscores (_), and cannot start or end with a hyphen.'."\n" + .'- The name must be unique within the global workspace resources.', 'type' => 'string', 'required' => true, 'example' => 'NamespaceName', 'title' => ''], + ], 'required' => false, - 'example' => '1', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', - ], - ], - ], - ], + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'NamespaceName', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B4672AE3-C313-5B7A-BB24-45345570D398'], ], + 'example' => '', ], ], ], - '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', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"namespaceName\\": \\"NamespaceName\\",\\n \\"requestId\\": \\"B4672AE3-C313-5B7A-BB24-45345570D398\\"\\n}","type":"json"}]', + 'title' => 'Create a workspace', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRegistryNamespace'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateRegistryNamespace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/*'], + ], + ], + ], ], + ], + 'CreateResourceExportTask' => [ + 'summary' => 'Creates a resource export task.', + 'path' => '/exportTasks', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -1342,6954 +1541,8122 @@ 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body parameters.', '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' => '', + 'clientToken' => ['description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. We recommend that you use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The description of the resource export task.', 'type' => 'string', 'required' => false, 'example' => 'this is description'."\n", 'title' => ''], + 'exportToModule' => [ + 'description' => 'Saves the exported template as a module. If this parameter is not specified, the template is automatically saved in the Registry.', 'type' => 'object', 'properties' => [ - 'groupId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'g-5fd38c9b92d541a7083a86432e2', - ], - 'projectId' => [ - 'description' => '', + 'source' => [ + 'description' => 'The module type in which the exported template is saved. Valid values:'."\n" + ."\n" + .'- OSS: OSS.'."\n" + .'- Registry: Terraform Registry.', + 'enumValueTitles' => ['Registry' => 'Registry', 'OSS' => 'OSS'], 'type' => 'string', 'required' => false, - 'example' => 'project-433aead7560572057e5d9167608', + 'example' => 'Registry', + 'title' => '', ], + 'sourcePath' => ['description' => 'The path for saving the template content. Set this parameter when source is set to OSS.', 'type' => 'string', 'required' => false, 'example' => 'oss::https://iac-daily.oss-ap-southeast-1.aliyuncs.com/iacservice/vpc.zip', 'title' => ''], + 'statePath' => ['description' => 'The path for saving the template state file. Set this parameter when source is set to OSS.', 'type' => 'string', 'required' => false, 'example' => 'oss::https://iac-daily.oss-ap-southeast-1.aliyuncs.com/default/terraform.tfstate', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], - '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' => '', + 'includeRules' => [ + 'description' => 'The list of inclusion rules used when exporting resources.', 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The inclusion rule used when exporting resources.', + 'type' => 'object', + 'properties' => [ + 'values' => [ + 'description' => 'The list of values for the inclusion rule used when exporting resources.', + 'type' => 'array', + 'items' => ['description' => 'The value of the inclusion rule used when exporting resources.', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'key' => ['description' => 'The name of the inclusion rule used when exporting resources. Valid values:'."\n" + ."\n" + .'- ResourceType: required. The resource type. Call **ListResourceTypes** to view the list of supported resources. Example: ALIYUN::VPC::VPC.'."\n" + .'- RegionId: required. The region to which the resource belongs. Only one region is supported. Example: cn-chengdu.'."\n" + .'- \\<ResourceType>:Id: the resource ID. Example: ALIYUN::VPC::VPC:Id.'."\n" + .'- ResourceGroupId: the resource group ID. Example: rg-1234.'."\n" + .'- ZoneId: the zone to which the resource belongs. Only one zone is supported. Example: cn-hangzhou-h.'."\n" + ."\n" + .'By default, multiple filter conditions are evaluated using the AND operator. A resource is considered a match only when all filter conditions are met.', 'type' => 'string', 'required' => false, 'example' => 'RegionId', 'title' => ''], + ], 'required' => false, - 'example' => 'test', + 'title' => '', + 'example' => '', ], 'required' => false, - ], - 'ramRole' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], - 'skipPropertyValidation' => [ - 'type' => 'boolean', - ], - 'terraformVersion' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.2.6', - ], + 'title' => '', + 'example' => '', + ], + 'name' => ['description' => 'The name of the resource export task. The name must meet the following requirements:'."\n" + ."\n" + .'- The name must be 3 to 63 characters in length.'."\n" + .'- The name can contain letters, digits, Chinese characters, hyphens (-), underscores (_), and periods (.). The name cannot start or end with a hyphen, underscore, or period.'."\n" + .'- The name must be unique among resource export tasks within the current account.', 'type' => 'string', 'required' => true, 'example' => 'abc', 'title' => ''], + 'ramRole' => ['description' => 'The RAM role (1 to 128 characters). The system assumes this role to execute the template when a new job is triggered. This parameter is required when the job trigger method is not manual.', 'type' => 'string', 'required' => false, 'example' => 'role-name', 'title' => ''], + 'terraformProviderVersion' => ['description' => 'The Terraform provider version. Call **ListTerraformProviderVersions** to view the list of supported versions. Default value: the latest version.', 'type' => 'string', 'required' => false, 'example' => '1.247.0', 'title' => ''], + 'terraformVersion' => ['description' => 'The Terraform version. Call **ListAvailableTerraformVersions** to view the list of supported versions. Default value: 1.5.7.', 'type' => 'string', 'required' => false, 'example' => '1.5.7', 'title' => ''], 'triggerStrategy' => [ - 'description' => '', + 'description' => 'The trigger strategy. Valid values:'."\n" + .'- Auto: triggered when rules are modified or the trigger strategy is changed to Auto.'."\n" + .'- Manual: manually triggered.'."\n" + ."\n" + .'Default value: Manual.', + 'enumValueTitles' => ['Auto' => 'Auto', 'Manual' => 'Manual'], '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', - ], - ], + 'enum' => ['Manual', 'Auto'], + 'example' => 'Auto', + 'title' => '', ], - 'tags' => [ + 'variables' => [ + 'description' => 'The list of variables. Exported resource parameters are set as variables.', 'type' => 'array', 'items' => [ + 'description' => 'The list of variables. Exported resource parameters are set as variables.', 'type' => 'object', 'properties' => [ - 'tagValue' => [ - 'type' => 'string', - ], - 'tagKey' => [ - 'type' => 'string', + 'properties' => [ + 'description' => 'The list of properties of the Terraform resource that corresponds to the resource type.', + 'type' => 'array', + 'items' => ['description' => 'The property of the Terraform resource that corresponds to the resource type.', 'type' => 'string', 'required' => false, 'example' => 'vswitch_name', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'resourceType' => ['description' => 'The resource type. Call **ListResourceTypes** to view the list of supported resources.', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN::VPC::VSwitch', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', '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', - ], + 'exportTaskId' => ['description' => 'The resource export task ID.', 'type' => 'string', 'example' => 'ex-4a1ec8b7003d24528326821be', 'title' => ''], + 'exportVersion' => ['description' => 'The resource export version.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CFD8C2A8-5BE7-56D2-916D-64039B8E06E3'], ], + 'example' => '', ], ], ], - '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', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"exportTaskId\\": \\"ex-4a1ec8b7003d24528326821be\\",\\n \\"exportVersion\\": \\"v1\\",\\n \\"requestId\\": \\"CFD8C2A8-5BE7-56D2-916D-64039B8E06E3\\"\\n}","type":"json"}]', + 'title' => 'Create a resource export task', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2023-04-13T08:36:09.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-12-14T14:28:18.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResourceExportTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateResourceExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/*'], + ], + ], + ], ], + ], + 'CreateStack' => [ + 'summary' => 'Creates a stack and triggers deployment.', + 'path' => '/stacks', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'taskId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'task-4267dcfbf1b6dfff67fea425525e2', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. We recommend that you use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'source' => [ + 'description' => 'The creation source. Valid values:'."\n" + .'- OSS: a template stored in Object Storage Service (OSS).'."\n" + .'- IAC_SERVICE_MODULE: a template created in the automation service console.', + 'enumValueTitles' => ['IAC_SERVICE_MODULE' => 'IAC_SERVICE_MODULE', 'OSS' => 'OSS'], + 'type' => 'string', + 'required' => true, + 'example' => 'OSS', + 'title' => '', + ], + 'sourcePath' => ['description' => 'The path of the configuration source. The value can be up to 1000 characters in length.'."\n" + .'- If the source is OSS, set this parameter to oss::<file link>. The file must be a ZIP file. Example: oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip.'."\n" + .'- If the source is IAC_SERVICE_MODULE, set this parameter to the template ID. Example: mod-xxxxx.', 'type' => 'string', 'required' => false, 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip', 'title' => ''], + 'name' => ['description' => 'The stack name. The name must be 2 to 128 characters in length and can contain letters, digits, Chinese characters, hyphens (-), underscores (_), and periods (.). The name cannot start or end with a hyphen, underscore, or period.', 'type' => 'string', 'required' => false, 'example' => 'stack-test', 'title' => ''], + 'description' => ['description' => 'The description of the stack. The description can be up to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'Stack to create ecs and related resource for multiple enviroments.', 'title' => ''], + 'ramRole' => ['description' => 'The RAM role to be assigned to the task. This role is used to automatically continue the execution of scheduled tasks during automatic triggers or offline scenarios.', 'type' => 'string', 'required' => false, 'example' => 'TestIacRole', 'title' => ''], + 'workingDirectory' => ['description' => 'The working directory where the configuration file is located. Enter / if the file is in the root directory. Example: config/ or /.', 'type' => 'string', 'required' => false, 'example' => '/stack', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '79284133-D4BA-56B3-954C-D538256F7EAA'], + 'stackId' => ['description' => 'The stack ID. This is the unique identifier of the stack after it is created.', 'type' => 'string', 'example' => 'stack-as1d4vld898ppnqbxxxxx', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create a stack', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateStack', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/*'], + ], + ], + 'additionalActions' => [ + ['action' => 'iacservice:CreateStack', 'validationType' => 'always'], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"79284133-D4BA-56B3-954C-D538256F7EAA\\",\\n \\"stackId\\": \\"stack-as1d4vld898ppnqbxxxxx\\"\\n}","type":"json"}]', + ], + 'CreateTask' => [ + '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' => '', + 'description' => 'The request body parameters.', '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', - ], + 'autoApply' => ['description' => 'Specifies whether to automatically execute the task. Default value: false.'."\n" + .'- true: After the preview (terraform plan) is complete, the task is automatically executed (terraform apply) without manual confirmation.'."\n" + .'- false: After the preview (terraform plan) is complete, manual confirmation is required before execution (terraform apply).', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''], + 'autoDestroy' => ['description' => 'Specifies whether to automatically destroy resources after creation. Default value: false.'."\n" + .'- true: After the execution (terraform apply) is complete, the destroy operation (terraform destroy) is automatically performed without manual confirmation.'."\n" + .'- false: After the execution (terraform apply) is complete, no further action is taken.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'clientToken' => ['description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The description of the task.', 'type' => 'string', 'required' => false, 'example' => 'this is description'."\n", 'title' => ''], 'groupInfo' => [ - 'description' => '', + 'description' => 'The project group information.', 'type' => 'object', 'properties' => [ - 'groupId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'g-433aead7560571e66e31274ffd3', - ], - 'projectId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'p-433aead75605713865c386cb9d', - ], + 'groupId' => ['description' => 'The group ID.', 'type' => 'string', 'required' => false, 'example' => 'g-5fd38c9b83a86432e2', 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'required' => false, 'example' => 'p-433aeade5d9167608', 'title' => ''], ], 'required' => false, - ], - 'initModuleState' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'moduleVersion' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], - 'name' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'title' => '', + 'example' => '', + ], + 'initModuleState' => ['description' => 'Specifies whether to use a state file. Default value: false. This parameter applies to templates that originate from resource export. Only one task can use this parameter at a time.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'moduleId' => ['description' => 'The template ID.', 'type' => 'string', 'required' => true, 'example' => 'mod-144fff6b316f4eb737e', 'title' => ''], + 'moduleVersion' => ['description' => 'The template version.', 'type' => 'string', 'required' => true, 'example' => 'v1', 'title' => ''], + 'name' => ['description' => 'The task name. The name must meet the following requirements:'."\n" + ."\n" + .'- The name must be 2 to 128 characters in length.'."\n" + .'- The name can contain letters, digits, Chinese characters, hyphens (-), underscores (_), and periods (.). The name cannot start or end with a hyphen, underscore, or period.'."\n" + .'- The name must be unique among all tasks under the current account.', 'type' => 'string', 'required' => true, 'example' => 'TaskName', 'title' => ''], 'protectionStrategy' => [ - 'description' => '', + 'description' => 'The list of resource protection strategies.', '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', + 'items' => ['description' => 'The resource protection strategy. Valid values:'."\n" + ."\n" + .'- PreventDestroy: deletion protection. Resources cannot be deleted.'."\n" + .'- PreventUpdate: in-place update protection. No changes are allowed.'."\n" + .'- PreventReplace: ForceNew protection. Resources cannot be deleted and recreated.', 'type' => 'string', 'required' => false, 'example' => 'PreventDestroy', 'title' => ''], 'required' => false, - 'example' => '1.2.6', + 'title' => '', + 'example' => '', ], + 'ramRole' => ['description' => 'The RAM role. The system assumes this role to execute the template when a new job is triggered. This parameter is required when the job trigger method is not Manual.', 'type' => 'string', 'required' => false, 'example' => 'RoleName', 'title' => ''], + 'skipPropertyValidation' => ['description' => 'Specifies whether to skip enumeration value validation. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'terraformVersion' => ['description' => 'The Terraform version. Call the ListAvailableTerraformVersions operation to obtain the list of supported versions. Default value: 1.5.7.', 'type' => 'string', 'required' => false, 'example' => '1.5.7', 'title' => ''], 'triggerStrategy' => [ - 'description' => '', + 'description' => 'The job trigger method. Valid values:'."\n" + ."\n" + .'- Manual: manually triggered (default).'."\n" + .'- NewVersion: triggered when a new version of the template is published.'."\n" + .'- ParameterSetUpdated: triggered when the parameter content of a parameter set changes or the attach relationship of a parameter set changes.'."\n" + .'- Auto: automatically triggered when the task properties change, such as task creation, execution version change, or job trigger policy change (when changed from another value to Auto).'."\n" + ."\n" + .'The ramRole parameter is required when the trigger method is not Manual.', + 'enumValueTitles' => ['Auto' => 'Auto', 'NewVersion' => 'NewVersion', 'ParameterSetUpdated' => 'ParameterSetUpdated', 'Manual' => 'Manual'], 'type' => 'string', 'required' => false, - 'example' => 'Manual', 'default' => 'Manual', - 'enum' => [ - 'Always', - 'NewVersion', - 'Manual', - ], + 'enum' => ['Always', 'NewVersion', 'Manual'], + 'example' => 'Manual', + 'title' => '', ], - 'clientToken' => [ - 'type' => 'string', - 'required' => true, + 'taskBackend' => [ + 'description' => 'The task backend configuration. If you configure this parameter, runtime log information is saved to the specified OSS bucket.', + 'type' => 'object', + 'properties' => [ + 'bucketName' => ['description' => 'The bucket name.', 'type' => 'string', 'required' => false, 'example' => 'iac-runtime-test', 'title' => ''], + 'bucketEndpoint' => ['description' => 'The endpoint information.', 'type' => 'string', 'required' => false, 'example' => 'ss-cn-beijing.aliyuncs.com', 'title' => ''], + 'objectPath' => ['description' => 'The object path.', 'type' => 'string', 'required' => false, 'example' => '/log', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], 'tags' => [ + 'description' => 'The list of tags for the task.', 'type' => 'array', 'items' => [ + 'description' => 'The list of tags for the task.', 'type' => 'object', 'properties' => [ - 'tagValue' => [ - 'type' => 'string', - ], - 'tagKey' => [ - 'type' => 'string', - ], + 'tagKey' => ['description' => 'The tag key of the task.', 'type' => 'string', 'required' => false, 'example' => 'TestKey'."\n", 'title' => ''], + 'tagValue' => ['description' => 'The tag value of the task.', 'type' => 'string', 'required' => false, 'example' => 'TestValue'."\n", 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'parameterSetIds' => [ + 'description' => 'The collection of associated parameter set IDs.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the associated parameter set.', 'type' => 'string', 'required' => false, 'example' => 'pts-adfadfadf', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'terraformProviderVersion' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '17793D91-A26F-520D-A948-3452A45D15B1', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CD478792-6952-5A1C-9F57-78932BF0FAC6'], + 'taskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'task-433aead756057fffeaba4828f5195', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"17793D91-A26F-520D-A948-3452A45D15B1\\"\\n}","type":"json"}]', - ], - 'ListTasks' => [ - 'summary' => '任务列表', - 'path' => '/tasks', - 'methods' => [ - 'get', + 'title' => 'Create a task', + 'summary' => 'Creates a task.', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2025-04-17T06:45:23.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-07-11T07:34:16.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-11-29T13:37:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-01T06:23:45.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-27T10:03:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-27T03:21:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-27T03:21:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-13T12:28:50.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTask'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"CD478792-6952-5A1C-9F57-78932BF0FAC6\\",\\n \\"taskId\\": \\"task-433aead756057fffeaba4828f5195\\"\\n}","type":"json"}]', + ], + 'DeleteDetectConfig' => [ + 'path' => '/terraformState/detectConfig/{detectConfigId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'keyword', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'key', - ], + 'name' => 'detectConfigId', + 'in' => 'path', + 'schema' => ['description' => 'Drift detection configuration ID ', 'type' => 'string', 'required' => false, 'example' => 'dc-xxxx', 'title' => ''], ], - [ - 'name' => 'taskId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'task-433aead756057fffeaba4828f5195', + 'description' => 'Schema of Response ', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['description' => 'Id of the request ', 'type' => 'string', 'example' => 'BF75EF50-955D-5E1F-AB23-A657C2C6D3C7', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'title' => 'Delete drift detection configuration ', + 'summary' => 'Delete drift detection configuration ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"BF75EF50-955D-5E1F-AB23-A657C2C6D3C7\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'DeleteGroup' => [ + 'summary' => 'Deletes a group.', + 'path' => '/group/{groupId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'moduleId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'mod-1525e992f1b62139d1c437d64ae', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - ], + 'name' => 'groupId', + 'in' => 'path', + 'schema' => ['description' => 'The group ID.', 'type' => 'string', 'required' => false, 'example' => 'g-4267dcfbf1b6d128c87adf0e95f', 'title' => ''], ], - [ - 'name' => 'pageNumber', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '1E7BA3EB-B0EF-53F5-9999-07CAD6D9F8A3'], + ], + 'example' => '', ], ], - [ - 'name' => 'projectId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'p-433aead7560572f8d95b25775c', - ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1E7BA3EB-B0EF-53F5-9999-07CAD6D9F8A3\\"\\n}","type":"json"}]', + 'title' => 'Delete a group', + 'changeSet' => [ + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroup'], ], + ], + 'ramActions' => [ [ - 'name' => 'groupId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'g-59d8d22e78792ffe3d3eb6154d727', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/{#GroupId}'], + ], ], ], + ], + ], + 'DeleteModule' => [ + 'summary' => 'Deletes a specified template and all its versions.', + 'path' => '/modules/{moduleId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + ], + 'parameters' => [ [ - 'name' => 'tag', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'tagValue' => [ - 'type' => 'string', - ], - 'tagKey' => [ - 'type' => 'string', - ], - ], - ], - ], + 'name' => 'moduleId', + 'in' => 'path', + 'schema' => ['title' => '', 'description' => 'The template ID.', 'type' => 'string', 'required' => true, 'example' => 'mod-14e80de4866bf71ef354cc82d17f'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '49DA6457-E545-5095-A930-EB8F0BCD4DAA'], ], + 'example' => '', ], ], ], - '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', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"49DA6457-E545-5095-A930-EB8F0BCD4DAA\\"\\n}","type":"json"}]', + 'title' => 'Delete a template', + 'description' => '## Operation description'."\n" + .'- This operation deletes a specified template.'."\n" + .'- Deletion is irreversible. Proceed with caution.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteModule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}'], + ], + ], + ], ], + ], + 'DeleteParameterSet' => [ + 'summary' => 'Deletes a specified parameter set by parameter set ID.', + 'path' => '/parameterSets/{parameterSetId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'taskId', + 'name' => 'parameterSetId', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'task-433aead7560571f8c2e176e7325', - ], + 'schema' => ['description' => 'The ID of the parameter set.', 'type' => 'string', 'required' => true, 'example' => 'pts-4c44f5be946dc446a326821b8', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The response body struct.', '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', - ], - ], - ], - ], - ], - ], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '708D670B-67C4-5653-9F88-8F7800429EE1', 'title' => ''], ], + 'example' => '', ], ], ], - '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', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"708D670B-67C4-5653-9F88-8F7800429EE1\\"\\n}","type":"json"}]', + 'title' => 'Delete a parameter set', + 'description' => 'Deletes a specified parameter set.', + 'changeSet' => [ + ['createdAt' => '2022-06-27T10:03:07.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteParameterSet', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteProject' => [ + 'summary' => 'Deletes a project.', + 'path' => '/project/{projectId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'taskId', + 'name' => 'projectId', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'task-123456', - ], + 'schema' => ['description' => 'The project ID.', 'type' => 'string', 'required' => false, 'example' => 'p-148e7853433574fffe9fec72ed9b72', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '73B38F77-62BA-5878-8952-530DFE21C93B', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BF72A6FB-B071-5F2E-A036-9D62545B962C'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"73B38F77-62BA-5878-8952-530DFE21C93B\\"\\n}","type":"json"}]', - ], - 'CreateJob' => [ - 'summary' => '创建作业', - 'path' => '/tasks/{taskId}/jobs', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"BF72A6FB-B071-5F2E-A036-9D62545B962C\\"\\n}","type":"json"}]', + 'title' => 'Delete a project', + 'changeSet' => [ + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProject'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteProject', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/{#ProjectId}'], + ], + ], + ], ], + ], + 'DeleteRegistryModule' => [ + 'summary' => 'Deletes a Registry template.', + 'path' => '/registryModule/{namespaceName}/{moduleName}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + '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' => 'namespaceName', + 'in' => 'path', + 'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'NamespaceName', 'title' => ''], ], [ - 'name' => 'taskId', + 'name' => 'moduleName', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'task-433aead756057fffeaba4828f5195', - ], + 'schema' => ['description' => 'The template name.', 'type' => 'string', 'required' => true, 'example' => 'ModuleName ', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '545995A8-243D-5963-A940-B74FAF6009B5'], ], + 'example' => '', ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"545995A8-243D-5963-A940-B74FAF6009B5\\"\\n}","type":"json"}]', + 'title' => 'Delete a registry template', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRegistryModule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteRegistryModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], ], - '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', - ], + 'DeleteRegistryModuleVersion' => [ + 'summary' => 'Deletes a Registry template version.', + 'path' => '/registryModuleVersion/{namespaceName}/{moduleName}/{version}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'taskId', + 'name' => 'namespaceName', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'task-518855d9a058cfffe0e0a92745bbc', - ], + 'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'NamespaceName ', 'title' => ''], ], [ - 'name' => 'jobId', + 'name' => 'moduleName', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'job-5fd38c9b92d54fff865d936f22a39', - ], + 'schema' => ['description' => 'The template name.', 'type' => 'string', 'required' => true, 'example' => 'ModuleName', 'title' => ''], ], [ - 'name' => 'operationType', + 'name' => 'version', 'in' => 'path', + 'schema' => ['description' => 'The version number.', 'type' => 'string', 'required' => true, 'example' => '1.0.0', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'execute', - 'enum' => [ - 'execute', - 'abolish', - 'cancel', + 'title' => '', + 'description' => 'The response body structure.', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '491A1E2E-EA1E-5F90-958A-A53EB67780FC'], ], + 'example' => '', ], ], - [ - 'name' => 'comment', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'dasd', - 'maxLength' => 128, + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"491A1E2E-EA1E-5F90-958A-A53EB67780FC\\"\\n}","type":"json"}]', + 'title' => 'Delete a registry template version', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRegistryModuleVersion'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteRegistryModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], ], ], + ], + ], + 'DeleteRegistryNamespace' => [ + 'summary' => 'Deletes a workspace.', + 'path' => '/registryNamespace/{namespaceName}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'taskType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + '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' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'E602681C-A811-5787-9DC3-48BED7537071', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '1D0CD708-E433-5F13-8A42-823C95FC756C'], ], + 'example' => '', ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1D0CD708-E433-5F13-8A42-823C95FC756C\\"\\n}","type":"json"}]', + 'title' => 'Delete a workspace', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRegistryNamespace'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteRegistryNamespace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E602681C-A811-5787-9DC3-48BED7537071\\"\\n}","type":"json"}]', ], - 'ListJobs' => [ - 'summary' => '作业列表', - 'path' => '/tasks/{taskId}/jobs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteResourceExportTask' => [ + 'summary' => 'Deletes a resource export task.', + 'path' => '/exportTasks/{exportTaskId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'taskId', + 'name' => 'exportTaskId', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'task-55f1739d9050fffe7f5a9577c4a84', - ], + 'schema' => ['description' => 'The ID of the resource export task.', 'type' => 'string', 'required' => false, 'example' => 'ex-3b6cb9fa4751a16b006b03333a', 'title' => ''], ], - [ - 'name' => 'status', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Errored', + 'title' => '', + 'description' => 'The response body structure.', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '136B3926-DD90-5DB2-96EC-8BAD6407D1C9'], + ], + 'example' => '', ], ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'exclusiveMaximum' => false, - 'exclusiveMinimum' => false, + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"136B3926-DD90-5DB2-96EC-8BAD6407D1C9\\"\\n}","type":"json"}]', + 'title' => 'Delete a resource export task', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceExportTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteResourceExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/{#ResourceExportTaskId}'], + ], ], ], + ], + ], + 'DeleteStack' => [ + 'path' => '/stacks/{stackId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'exclusiveMaximum' => false, - 'exclusiveMinimum' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + ], + 'parameters' => [ [ - 'name' => 'taskType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'name' => 'stackId', + 'in' => 'path', + 'schema' => ['description' => 'The stack ID. This is the unique identifier generated after the stack is created.', 'type' => 'string', 'required' => true, 'example' => 'stack-as1d4vld898ppnqbxxxxx', 'title' => ''], ], [ - 'name' => 'jobType', + 'name' => 'cleanResources', 'in' => 'query', - 'schema' => [ - 'title' => '作业类型', - 'type' => 'string', - 'example' => 'Default', - ], + 'schema' => ['title' => '', 'description' => 'Specifies whether to synchronously clean up resources managed by the stack. By default, resources are not cleaned up.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response parameters.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C7070EC3-DF66-58BA-A1DD-A8574FF53143'], ], + 'example' => '', ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Delete a stack', + 'summary' => 'Deletes a stack.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteStack', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/{#stackId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C7070EC3-DF66-58BA-A1DD-A8574FF53143\\"\\n}","type":"json"}]', + ], + 'DeleteTask' => [ + 'summary' => 'Deletes a node.', + 'path' => '/tasks/{taskId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + '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', - ], + 'schema' => ['description' => 'The node ID.', 'type' => 'string', 'required' => false, 'example' => 'task-123456', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '73B38F77-62BA-5878-8952-530DFE21C93B'], ], + 'example' => '', ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"73B38F77-62BA-5878-8952-530DFE21C93B\\"\\n}","type":"json"}]', + 'title' => 'Delete a node', + 'description' => 'Single-user call frequency: 100 calls per second.'."\n" + ."\n\n" + .'Deletes a node. If the node has resources that have not been destroyed, the node cannot be deleted.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}'], + ], + ], + ], ], - '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', - ], + 'DetectTerraformState' => [ + 'summary' => 'Initiates a state file consistency check.', + 'path' => '/terraformState/detect', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body parameters.', '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' => '', + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'type' => [ + 'description' => 'The task type. Valid values:'."\n" + .'- Stack'."\n" + .'- Task.', + 'enumValueTitles' => ['Task' => 'Task', 'Stack' => 'Stack'], '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, + 'example' => 'Stack', + 'title' => '', ], + 'identifier' => ['description' => 'The task identifier. For a Stack task, the format is <$stackId>:<$deploymentName>. For a Task task, the format is <$TaskId>.', 'type' => 'string', 'required' => true, 'example' => 'stack-as11xxxxxxxxx:developmentA', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'Schema of Response', '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', - ], + 'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BF75EF50-955D-5E1F-AB23-A657C2C6D3C7'], + 'detectionId' => ['description' => 'The ID of the detection task.', 'type' => 'string', 'example' => 'job-dcsdxxxxxx', 'title' => ''], ], + 'example' => '', ], ], ], - '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', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Initiate drift detection', + 'description' => 'This API is used to perform drift detection on the state files of resource orchestration tasks and stack tasks in the automated service desk.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:DetectTerraformState', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"BF75EF50-955D-5E1F-AB23-A657C2C6D3C7\\",\\n \\"detectionId\\": \\"job-dcsdxxxxxx\\"\\n}","type":"json"}]', + ], + 'DissociateDetectConfig' => [ + 'summary' => 'Disassociate drift detection configuration', + 'path' => '/terraformState/detectConfig/operations/dissociate', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'Request body parameters', 'type' => 'object', 'properties' => [ - 'clientToken' => [ - 'description' => '', + 'detectConfigId' => ['description' => 'Drift detection configuration ID', 'type' => 'string', 'required' => false, 'example' => 'dc-xxxx'."\n", 'title' => ''], + 'targetId' => ['description' => 'ID of the association target. StackId or TaskId', 'type' => 'string', 'required' => true, 'example' => 'stack-xxxx', 'title' => ''], + 'targetType' => [ + 'enumValueTitles' => ['Task' => 'Task', 'Stack' => 'Stack'], + 'description' => 'Type of the association target'."\n" + ."\n" + .'- Task: Orchestration job '."\n" + .'- Stack: Resource stack', '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, + 'example' => 'Stack', + 'title' => '', ], ], 'required' => false, - ], - ], - [ - 'name' => 'exportTaskId', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ex-al1811jl980g5ffd115nhgt', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Schema of Response', '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', - ], + 'requestId' => ['description' => 'ID of the request', 'title' => 'ID of the request', 'type' => 'string', 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9'], ], + 'example' => '', ], ], ], - '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', + 'title' => 'Disassociate drift detection configuration', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'DissociateGroup' => [ + 'summary' => 'Dissociates a resource group.', + 'path' => '/group/{groupId}/dissociate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], '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' => 'projectId', + 'in' => 'path', + 'schema' => ['description' => 'The project ID.', 'type' => 'string', 'required' => false, 'example' => 'p-433aead7560572f8d95b25775c', 'title' => ''], ], [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - ], + 'name' => 'groupId', + 'in' => 'path', + 'schema' => ['description' => 'The group ID.', 'type' => 'string', 'required' => true, 'example' => 'g-59d8d22e78792ffe3d3eb6154d727', 'title' => ''], ], [ - 'name' => 'pageNumber', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => false, 'example' => '2daf4227f747cbf11a5501f18cc5e004', 'title' => ''], + 'resourceIds' => [ + 'description' => 'The list of resource IDs.', + 'type' => 'array', + 'items' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'example' => 'task-abc', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'resourceType' => ['description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- Module: template.'."\n" + .'- SceneTestingTask: scenario-based testing task.'."\n" + .'- Task: regular task.', 'type' => 'string', 'required' => false, 'example' => 'Task', 'title' => ''], + ], 'required' => false, - 'minimum' => '1', - 'example' => '1', + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '17793D91-A26F-520D-A948-3452A45D15B1'], ], + 'example' => '', ], ], ], - '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', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"17793D91-A26F-520D-A948-3452A45D15B1\\"\\n}","type":"json"}]', + 'title' => 'Dissociate a resource from a group', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DissociateGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:DissociateGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/{#GroupId}'], + ], + ], + ], ], + ], + 'DissociateParameterSet' => [ + 'summary' => 'Dissociates a parameter set from other resources.', + 'path' => '/parameterSets/operations/dissociate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'exportTaskId', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ex-al171j05rlog5tbri1pmkk', - ], - ], - [ - 'name' => 'exportVersion', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'parameterSetIds' => [ + 'description' => 'The list of parameter set IDs to be associated with the resource. Maximum length: 5.', + 'type' => 'array', + 'items' => ['description' => 'The parameter set ID.', 'type' => 'string', 'required' => true, 'example' => 'pts-adfadfadf', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'resourceId' => ['description' => 'The resource ID. If the resource type is ModuleVersion, the value is a combination of <moduleId>-<moduleversion>, such as mod-34535345df123fr-v3.', 'type' => 'string', 'required' => true, 'example' => 'mod-39cd1e5e58c50e79dd8cd901cd', 'title' => ''], + 'resourceType' => [ + 'description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- Module: template'."\n" + .'- ModuleVersion: template version'."\n" + .'- Task: node'."\n" + .'- Stack: resource stack.', + 'enumValueTitles' => ['Task' => 'Task', 'ModuleVersion' => 'ModuleVersion', 'Module' => 'Module', 'Stack' => 'Stack'], + 'type' => 'string', + 'required' => true, + 'example' => 'Module', + 'title' => '', + ], + ], 'required' => false, - 'example' => 'v3', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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", - ], - ], - ], - ], - ], - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '136B3926-DD90-5DB2-96EC-8BAD6407D1C9'], ], + 'example' => '', ], ], ], - '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', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"136B3926-DD90-5DB2-96EC-8BAD6407D1C9\\"\\n}","type":"json"}]', + 'title' => 'Dissociate a parameter set from other resources', + 'changeSet' => [ + ['createdAt' => '2022-06-27T10:03:06.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:DissociateParameterSet', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ExecuteRegistryModule' => [ + 'summary' => 'Executes a Module officially provided by Alibaba Cloud Terraform.', + 'path' => '/registryModule/{namespaceName}/{moduleName}/execution', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'exportTaskId', + 'name' => 'namespaceName', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ex-445dcb7d0ac661ff08be459a75f', - ], + 'schema' => ['description' => 'The workspace to which the Module belongs. The workspaces for official registry modules are alibaba, alibabacloud-automation, aliyun, and terraform-alicloud-modules.', 'type' => 'string', 'required' => true, 'example' => 'alibaba', 'title' => ''], + ], + [ + 'name' => 'moduleName', + 'in' => 'path', + 'schema' => ['description' => 'The template name. You can call ListExplorerRegistryModules to query available modules.', 'type' => 'string', 'required' => true, 'example' => 'vpc', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body parameters.', 'type' => 'object', 'properties' => [ - 'clientToken' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'a65451293e64979ba7a4b573950217fe', - ], + 'clientToken' => ['description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. We recommend that you use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'parameters' => ['description' => 'The set of parameters used by the template.', 'type' => 'object', 'required' => false, 'example' => '{\'region\': \'cn-hangzhou\', \'vpcId\': \'vpc-bp145sc90s26q0qbkfb6i\', \'functionName\': \'filemgr-cn-hangzhou-063fd4aead\', \'mountPointsServerAddr\': \'063fd4aead-dex50.cn-hangzhou.nas.aliyuncs.com\'}', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'Schema of Response', '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', - ], + 'stateId' => ['description' => 'The state file ID.', 'type' => 'string', 'example' => 'task-xxxx', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '79284133-D4BA-56B3-954C-D538256F7EAA'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"stateId\\": \\"task-xxxx\\",\\n \\"requestId\\": \\"79284133-D4BA-56B3-954C-D538256F7EAA\\"\\n}","type":"json"}]', + 'title' => 'Execute a registry module', + 'description' => 'This API operation is used to execute Terraform Module code to create or update cloud resources. Before using this API operation, make sure that all required authentication information is correctly configured and that the Terraform code corresponding to the Module meets the expected functional requirements.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteRegistryModule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:ExecuteRegistryModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"exportTaskId\\": \\"ex-3b6cb9fa4751a6e5cdc6460282\\",\\n \\"exportVersion\\": \\"v1\\",\\n \\"requestId\\": \\"136B3926-DD90-5DB2-96EC-8BAD6407D1C9\\"\\n}","type":"json"}]', ], 'ExecuteResourceExportTask' => [ - 'summary' => '执行资源导出任务', + 'summary' => 'Runs a resource export task.', 'path' => '/exportTasks/execute/{exportTaskId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ 'name' => 'exportTaskId', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ex-3b6cb9fa4751a6e645ad8365e6', - ], + 'schema' => ['description' => 'The resource export ID.', 'type' => 'string', 'required' => true, 'example' => 'ex-3b6cb9fa4751a6e645ad8365e6', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body parameters.', 'type' => 'object', 'properties' => [ - 'clientToken' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'a65451293e64979ba7a4b573950217fe', - ], + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', - ], + 'exportTaskId' => ['description' => 'The resource export ID.', 'type' => 'string', 'example' => 'ex-3b6cb9fa4751a6e645ad8365e6', 'title' => ''], + 'exportVersion' => ['description' => 'The resource export version.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0B0A7C19-9077-5975-ACBD-DEE718787992'], ], + 'example' => '', ], ], ], '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', + 'title' => 'Run a resource export task', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteResourceExportTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:ExecuteResourceExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/{#ResourceExportTaskId}'], + ], + ], + ], ], + ], + 'ExecuteTerraformApply' => [ + 'summary' => 'Executes TerraformApply.', + 'path' => '/terraform/execution/apply', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'exportTaskId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'stateId' => ['description' => 'The state file ID. If this parameter is specified, the Apply command continues execution based on the existing state file.', 'type' => 'string', 'required' => false, 'example' => 'task-xxx', 'title' => ''], + 'code' => ['description' => 'The Terraform code to execute. If the execution content has not changed, you can specify only stateId.', '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" + .'}', 'title' => ''], + ], 'required' => false, - 'example' => 'ex-3b6cb9fa4751a16b006b03333a', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '136B3926-DD90-5DB2-96EC-8BAD6407D1C9', - ], + 'stateId' => ['description' => 'The state file ID.', 'type' => 'string', 'example' => 'task-xxxx', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'C896FE0A-1BEA-5D01-BFF4-B03B82B9CA3D'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"136B3926-DD90-5DB2-96EC-8BAD6407D1C9\\"\\n}","type":"json"}]', - ], - 'ListResourceExportTaskVersions' => [ - 'summary' => '获取任务版本列表', - 'path' => '/exportTasks/{exportTaskId}/exportVersions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"stateId\\": \\"task-xxxx\\",\\n \\"requestId\\": \\"C896FE0A-1BEA-5D01-BFF4-B03B82B9CA3D\\"\\n}","type":"json"}]', + 'title' => 'Execute terraformApply', + 'description' => 'Executes the Terraform Apply command to create or update cloud resources based on the provided Terraform code. This API can handle complex scenarios such as operations that depend on a previous state.'."\n" + ."\n" + .'Before calling this API, ensure that all required authentication information is properly configured and that the Terraform code meets the expected functional requirements.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteTerraformApply'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:ExecuteTerraformApply', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ExecuteTerraformDestroy' => [ + 'summary' => 'Executes Terraform Destroy.', + 'path' => '/terraform/execution/destroy', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'keyword', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'stateId' => ['description' => 'The state file ID.', 'type' => 'string', 'required' => true, 'example' => 'task-xxx', 'title' => ''], + ], 'required' => false, - 'example' => 'key', - ], - ], - [ - 'name' => 'exportTaskId', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ex-al1f11jlh9llnk8drc4g1c', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'pageSize', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'stateId' => ['description' => 'The state file ID.', 'type' => 'string', 'example' => 'task-xxxx', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BF72A6FB-B071-5F2E-A036-9D62545B962C'], + ], + 'example' => '', ], ], - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"stateId\\": \\"task-xxxx\\",\\n \\"requestId\\": \\"BF72A6FB-B071-5F2E-A036-9D62545B962C\\"\\n}","type":"json"}]', + 'title' => 'Execute terraform destroy', + 'description' => 'Executes the Terraform Destroy command to destroy resources created by Terraform.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteTerraformDestroy'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:ExecuteTerraformDestroy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'ExecuteTerraformPlan' => [ + 'summary' => 'Executes a Terraform plan.', + 'path' => '/terraform/execution/plan', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'status', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Errored', - ], + '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' => 'exportVersion', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. We recommend that you use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'stateId' => ['description' => 'The ID of the state file. If this parameter is specified, the Plan command continues to run based on the existing state file.', 'type' => 'string', 'required' => false, 'example' => 'task-xxx', 'title' => ''], + 'code' => ['description' => 'The Terraform code to execute. If the execution content has not changed, you can specify only stateId.', '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" + .'}', 'title' => ''], + ], 'required' => false, - 'example' => 'v1', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'Schema of Response', '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', - ], + 'stateId' => ['description' => 'The ID of the state file.', 'type' => 'string', 'example' => 'task-xxxx', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0D298375-F92F-5B65-82E4-EA68F02521F1'], ], + 'example' => '', ], ], ], - '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', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"stateId\\": \\"task-xxxx\\",\\n \\"requestId\\": \\"0D298375-F92F-5B65-82E4-EA68F02521F1\\"\\n}","type":"json"}]', + 'title' => 'Execute terraform plan', + 'description' => 'Executes a Terraform Plan command by using the provided Terraform code to create or update cloud resources. This API operation can handle complex scenarios such as operations that depend on a previous state.'."\n" + ."\n" + .'Before calling this API operation, ensure that all required authentication information is properly configured and that the Terraform code meets the expected functional requirements.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteTerraformPlan'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:ExecuteTerraformPlan', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GenerateModule' => [ + 'summary' => 'Generates Terraform HCL template code.', + 'path' => '/explorer/generate/module', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ - 'AK' => [], + 'Anonymous' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'acl' => [ - 'description' => '', - 'type' => 'string', + 'parameters' => [ + 'description' => 'The collection of parameters, passed in key:value format, such as {"vpc_name":"vpc-test"}.', + 'type' => 'object', 'required' => false, - 'example' => 'private', - ], - 'clientToken' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'a65451293e64979ba7a4b573950217fe', + 'additionalProperties' => ['description' => '参数值', 'type' => 'any', 'readOnly' => false, 'example' => 'vpc-test', 'title' => ''], + 'readOnly' => false, + 'title' => '', + 'example' => '', ], - 'description' => [ - 'description' => '', + 'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'readOnly' => false, 'required' => false, 'example' => 'cn-beijing', 'title' => ''], + 'syntax' => [ + 'description' => 'The syntax. Valid values:'."\n" + .'- hcl (default).', + 'enumValueTitles' => ['hcl' => 'hcl'], 'type' => 'string', + 'readOnly' => false, 'required' => false, - 'example' => 'test', + 'example' => 'hcl', + 'title' => '', ], - 'maintainer' => [ - 'description' => '', + 'terraformProviderVersion' => ['description' => 'The Terraform provider version.', 'type' => 'string', 'readOnly' => false, 'required' => false, 'example' => '1.260.0', 'title' => ''], + 'terraformResourceType' => ['description' => 'The Terraform resource type.', 'type' => 'string', 'readOnly' => false, 'required' => false, 'example' => 'alicloud_vpc', 'title' => ''], + 'generateSource' => [ + 'description' => 'The generation source. Valid values:'."\n" + .'- Resource: Generates a Terraform HCL template based on resource properties.'."\n" + .'- VariableToCode: Generates a final Terraform HCL template by combining variables with an existing Terraform HCL template.'."\n" + .'- CodeToVariable: Extracts variable information from a Terraform HCL template.'."\n" + .'- Module: Generates Terraform Module code based on variables.', + 'enumValueTitles' => ['Resource' => 'Resource', 'VariableToCode' => 'VariableToCode', 'CodeToVariable' => 'CodeToVariable', 'Module' => 'Module'], 'type' => 'string', 'required' => false, - 'example' => 'admin', - ], - 'namespaceName' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iac', + 'example' => 'Resource', + 'title' => '', ], + 'template' => ['description' => 'The existing Terraform HCL template content.', 'type' => 'string', 'required' => false, 'example' => 'terraform {'."\n" + .'}', 'title' => ''], ], 'required' => false, + 'readOnly' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'namespaceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iac', - ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'B4672AE3-C313-5B7A-BB24-45345570D398', - ], + 'module' => ['description' => 'The generated Terraform HCL template code content.', 'type' => 'string', 'readOnly' => false, 'example' => 'terraform {'."\n" + .' required_providers {'."\n" + .' alicloud = {'."\n" + .' source = "aliyun/alicloud"'."\n" + .' version = "1.260.0"'."\n" + .' }'."\n" + .' }'."\n" + .'}'."\n" + ."\n" + .'resource "alicloud_vpc" "default" {'."\n" + .' vpc_name = "vpc-test"'."\n" + .'}', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'readOnly' => false, 'example' => '6B40D088-E929-504B-8802-C1759A993FA2'], + 'properties' => ['description' => 'The variables and resource properties in the generated template code.', 'type' => 'object', 'example' => '{"vpc_name":"vpc-test"}', 'title' => ''], ], + 'readOnly' => false, + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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' => 'Generate terraform HCL template code', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '400', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateModule'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"namespaceName\\": \\"NamespaceName\\",\\n \\"requestId\\": \\"B4672AE3-C313-5B7A-BB24-45345570D398\\"\\n}","type":"json"}]', + 'ramActions' => [], ], - 'UpdateRegistryNamespaceAttribute' => [ - 'summary' => '修改工作空间', - 'path' => '/registryNamespace/{namespaceName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'GetDetectConfig' => [ + 'summary' => 'Retrieve drift detection configuration ', + 'path' => '/terraformState/detectConfig/{detectConfigId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'detectConfigId', + 'in' => 'path', + 'schema' => ['description' => 'Drift detection configuration ID', 'type' => 'string', 'required' => true, 'example' => 'dc-xxxx', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Schema of Response ', + 'title' => 'Schema of Response ', 'type' => 'object', 'properties' => [ - 'acl' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'private', - ], - 'description' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], - 'clientToken' => [ - 'type' => 'string', - 'required' => true, + 'detectConfig' => [ + 'description' => 'Drift detection configuration information ', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'Creation Time. ', 'type' => 'string', 'example' => '2026-04-10T02:30:04Z', 'title' => ''], + 'description' => ['description' => 'Description. ', 'type' => 'string', 'example' => 'this is a description', 'title' => ''], + 'detectConfigId' => ['description' => 'Drift detection configuration ID ', 'type' => 'string', 'example' => 'dc-xxxx', 'title' => ''], + 'enabled' => ['description' => 'Is scheduled detection enabled', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'triggerType' => ['description' => 'Trigger type '."\n" + ."\n" + .'- Manual: Execute manually '."\n" + .'- Cron: Trigger on schedule ', 'type' => 'string', 'example' => 'Cron', 'title' => ''], + 'cronExpression' => ['description' => 'Cron expression (UTC+8). Required when the trigger type is Cron. ', 'type' => 'string', 'example' => '0 0 0 ? * 1'."\n", 'title' => ''], + 'alarmConfigs' => [ + 'description' => 'List of alerting addresses ', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'type' => ['description' => 'Alerting method. Currently, only `cms` is supported. ', 'type' => 'string', 'example' => 'cms', 'title' => ''], + 'address' => ['description' => 'Alerting address. ', 'type' => 'string', 'example' => 'https://metrichub-cms-cn-hangzhou.aliyuncs.com/event/notify?xxxxx', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'detectConfigName' => ['description' => 'Drift detection configuration name', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'requestId' => ['description' => 'ID of the request', 'title' => 'ID of the request', 'type' => 'string', 'example' => 'BF72A6FB-B071-5F2E-A036-9D62545B962C'], ], - 'required' => false, + 'example' => '', ], ], + ], + 'title' => 'Retrieve drift detection configuration', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"detectConfig\\": {\\n \\"createTime\\": \\"2026-04-10T02:30:04Z\\",\\n \\"description\\": \\"this is a description\\",\\n \\"detectConfigId\\": \\"dc-xxxx\\",\\n \\"enabled\\": true,\\n \\"triggerType\\": \\"Cron\\",\\n \\"cronExpression\\": \\"0 0 0 ? * 1\\\\n\\",\\n \\"alarmConfigs\\": [\\n {\\n \\"type\\": \\"cms\\",\\n \\"address\\": \\"https://metrichub-cms-cn-hangzhou.aliyuncs.com/event/notify?xxxxx\\"\\n }\\n ],\\n \\"detectConfigName\\": \\"test\\"\\n },\\n \\"requestId\\": \\"BF72A6FB-B071-5F2E-A036-9D62545B962C\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'GetExecuteState' => [ + 'summary' => 'Retrieves the result of a Terraform run.', + 'path' => '/terraform/execution/{stateId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'namespaceName', + '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' => 'The state file ID.', 'type' => 'string', 'required' => true, 'example' => 'task-xxxx', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'B4672AE3-C313-5B7A-BB24-45345570D398'], + 'status' => ['description' => 'The status. Valid values:'."\n" + ."\n" + .'- Pending: ready to start.'."\n" + .'- PlanQueued: the plan task has been created but is waiting in the queue because no workflow is available.'."\n" + .'- ApplyQueued: the apply task has been created but is waiting in the queue because no workflow is available.'."\n" + .'- Planning: the plan phase is being executed.'."\n" + .'- Planned: the plan execution is complete.'."\n" + .'- Confirmed: the plan has been confirmed after execution.'."\n" + .'- PlannedAndFinished: the plan execution is complete and no diff was found. The job is in a terminal state.'."\n" + .'- Applying: the apply phase is being executed.'."\n" + .'- Applied: the apply execution is complete.'."\n" + .'- Discarded: the task has been discarded. This is a terminal state.'."\n" + .'- Errored: the execution encountered an error. This is a terminal state.'."\n" + .'- Canceled: the execution has been canceled. This is a terminal state.', 'type' => 'string', 'example' => 'Pending', 'title' => ''], + 'errorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Your account does not have enough balance to order postpaid product.', 'title' => ''], + 'state' => ['description' => 'The state file content.', 'type' => 'string', 'example' => '{"version": 4, "terraform_version": "1.5.7", "serial": 3, "lineage": "cb71b0b2-1ec2-6483-d409-8cae23186ec6", "outputs": {}, "resources": [], "check_results": null}', 'title' => ''], + 'logFile' => ['description' => 'The run log.', 'type' => 'object', 'example' => '{"tf-plan.run.log":"xxx"}', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + '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"}]', + 'title' => 'Retrieve terraform run result', + 'description' => 'Retrieves the result of a Terraform run.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetExecuteState'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetExecuteState', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], + ], + 'GetGroup' => [ + 'summary' => 'Queries a group.', + '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' => 'The group ID.', 'type' => 'string', 'required' => false, 'example' => 'g-4267dcfbf1b6d128c87adf0e95f', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', 'type' => 'object', 'properties' => [ - 'namespaceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'CA5C5B39-D1DC-5309-8E97-B9A91DA21094', + 'group' => [ + 'description' => 'The group.', + 'type' => 'object', + 'properties' => [ + 'autoDestroy' => ['description' => 'Indicates whether automatic deletion is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'autoTrigger' => ['description' => 'Indicates whether automatic triggering is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2022-08-21T10:57:11Z', 'title' => ''], + 'description' => ['description' => 'The group description.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'forcedSetting' => ['description' => 'Indicates whether the group configuration is forcibly used.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'groupId' => ['description' => 'The group ID.', 'type' => 'string', 'example' => 'g-14e80de4866bf7ffed0bab6154d738', 'title' => ''], + 'name' => ['description' => 'The group name.', 'type' => 'string', 'example' => 'abc', 'title' => ''], + 'notifyConfig' => [ + 'description' => 'The notification configuration.', + 'type' => 'array', + 'items' => [ + 'description' => 'The notification configuration.', + 'type' => 'object', + 'properties' => [ + 'notifyPath' => ['description' => 'The path configuration for notifications.', 'type' => 'string', 'example' => '/', 'title' => ''], + 'notifyType' => ['description' => 'The notification type. Valid values:'."\n" + .'DingDing.', 'type' => 'string', 'example' => 'DingDing', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'notifyOperationTypes' => [ + 'description' => 'The list of notification operation types.', + 'type' => 'array', + 'items' => ['description' => 'The notification operation type. Valid values:'."\n" + ."\n" + .'- apply: exec'."\n" + .'- refresh: refresh'."\n" + .'- destroy: destroy.', 'type' => 'string', 'example' => 'refresh', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'p-4267dcfbf1b6d126edcadf0e949', 'title' => ''], + 'ramRole' => ['description' => 'The RAM role (1 to 128 characters). The system assumes this role to execute the template when a new job is triggered. This parameter is required when the job trigger mode is not manual.', 'type' => 'string', 'example' => 'ramRoleName', 'title' => ''], + 'reportExportField' => [ + 'description' => 'The list of report export field options.', + 'type' => 'array', + 'items' => ['description' => 'The list of report export field options.', 'type' => 'string', 'example' => 'Task', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'reportExportPath' => ['description' => 'The export address for the execution report. OSS addresses are supported. Format: https://<OSS bucket address>/<path>.', 'type' => 'string', 'example' => '/', 'title' => ''], + 'taskCnt' => ['description' => 'The number of tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'terraformProviderVersion' => ['description' => 'The Terraform provider version. Select a Terraform provider version. Tasks in the group are executed based on the specified Terraform provider version. The version configured on a task takes higher priority. This version may conflict with the Terraform provider version specified in the module.', 'type' => 'string', 'example' => '1.191.0', 'title' => ''], + 'triggerConfig' => [ + 'description' => 'The trigger policy. This parameter cannot be empty when autoTrigger is set to true.', + 'type' => 'array', + 'items' => [ + 'description' => 'The trigger policy. This parameter cannot be empty when autoTrigger is set to true.', + 'type' => 'object', + 'properties' => [ + 'triggerStrategy' => ['description' => 'The trigger strategy. Valid values:'."\n" + ."\n" + .'- ProviderNewVersion: triggered when a new provider version is released'."\n" + .'- Cron: triggered on a schedule.', 'type' => 'string', 'example' => 'Cron', 'title' => ''], + 'triggerValue' => ['description' => 'The policy value that must be maintained for scheduled triggering. This value is a cron expression.', 'type' => 'string', 'example' => '0 0 8 * * ?', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'triggerResourceType' => [ + 'description' => 'The resource type that triggers execution. Valid values:'."\n" + ."\n" + .'- Task: regular task'."\n" + .'- SceneTestingTask: scenario-based testing task.', + 'type' => 'array', + 'items' => ['description' => 'The resource type that triggers execution. Valid values:'."\n" + ."\n" + .'- Task: regular task'."\n" + .'- SceneTestingTask: scenario-based testing task.', 'type' => 'string', 'example' => 'SceneTestingTask', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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"}]', + 'title' => 'Get group information', + 'changeSet' => [ + ['createdAt' => '2023-01-10T09:03:10.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'OpenAPI offline'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"namespaceName\\": \\"NamespaceName\\",\\n \\"requestId\\": \\"CA5C5B39-D1DC-5309-8E97-B9A91DA21094\\"\\n}","type":"json"}]', - ], - 'ListRegistryNamespaces' => [ - 'summary' => '获取工作空间列表', - 'path' => '/registryNamespace', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGroup'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/{#GroupId}'], + ], + ], + ], ], + ], + 'GetJob' => [ + 'path' => '/tasks/{taskId}/jobs/{jobId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], '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' => 'taskId', + 'in' => 'path', + 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => 'task-55f1739d9050fffee8fe2a2c4a605', 'title' => ''], ], [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'name' => 'jobId', + 'in' => 'path', + 'schema' => ['description' => 'The job ID.', 'type' => 'string', 'required' => true, 'example' => 'job-433aead756057ffef0028917e6f26', 'title' => ''], ], [ - 'name' => 'nextToken', + 'name' => 'taskType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The task type. Valid values:'."\n" + ."\n" + .'- Task: regular task (default)'."\n" + .'- SceneTestingTask: scenario-based testing task'."\n" + .'- Stack: resource stack.', + 'enumValueTitles' => ['SceneTestingTask' => 'SceneTestingTask', 'Task' => 'Task', 'Stack' => 'Stack'], 'type' => 'string', 'required' => false, - 'example' => 'hg7nXVngyM6tQlfXYzM1uI/7dKNGp1JMgsKtvCagmtY=', + 'example' => 'SceneTestingTask', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', + 'job' => [ + 'description' => 'The job details.', + 'type' => 'object', + 'properties' => [ + 'assertCheckDetail' => [ + 'description' => 'The list of assertion checks. This parameter applies to scenario-based testing tasks.', + 'type' => 'array', + 'items' => [ + 'description' => 'The assertion check details.', + 'type' => 'object', + 'properties' => [ + 'comparison' => ['description' => 'The comparison operator. Valid values:'."\n" + ."\n" + .'- eq: equal to'."\n" + .'- n_eq: not equal to'."\n" + .'- ctn: contains'."\n" + .'- n_ctn: does not contain'."\n" + .'- regex: regular expression match.', 'type' => 'string', 'example' => 'eq', 'title' => ''], + 'expectedValue' => ['description' => 'The expected value.', 'type' => 'string', 'example' => '期望值', 'title' => ''], + 'isPass' => ['description' => 'Indicates whether the assertion check is passed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'type' => ['description' => 'The assertion type. Valid values:'."\n" + ."\n" + .'- state: task status'."\n" + .'- result: execution result'."\n" + .'- resourceChange: resource change.', 'type' => 'string', 'example' => 'result', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'shared', - ], - 'maintainer' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'admin', - ], - 'modules' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '21', + 'title' => '', + 'example' => '', + ], + 'config' => [ + 'description' => 'The job configuration.', + 'type' => 'object', + 'properties' => [ + 'autoApply' => ['description' => 'Specifies whether to automatically execute the task.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'isDestroy' => ['description' => 'Specifies whether to destroy resources.', 'type' => 'boolean', 'example' => 'fales', 'title' => ''], + 'moduleVersion' => ['description' => 'The template version.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'resourcesChanged' => ['description' => 'The resource change content.', 'type' => 'string', 'example' => '+0 ~0 -0', 'title' => ''], + 'subCommand' => ['description' => 'The operation command.', 'type' => 'string', 'example' => 'destroy', 'title' => ''], + 'hasConfigProactive' => ['description' => 'Specifies whether compliance pre-check is performed for this job.', 'type' => 'string', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'createTime' => ['description' => 'The time when the job was created.', 'type' => 'string', 'example' => '2022-08-31T03:38:40Z', 'title' => ''], + 'description' => ['description' => 'The job description.', 'type' => 'string', 'example' => 'description', 'title' => ''], + 'downloadUrl' => ['description' => 'The download URL.', 'type' => 'object', 'example' => 'url', 'title' => ''], + 'elapsedTime' => ['description' => 'The execution duration.', 'type' => 'integer', 'format' => 'int64', 'example' => '3s', 'title' => ''], + 'executeType' => ['description' => 'The execution type. Valid values:'."\n" + ."\n" + .'- Manual: manual execution (default)'."\n" + .'- Auto: automatic execution.', 'type' => 'string', 'example' => 'Manual', 'title' => ''], + 'isPassAssertCheck' => ['description' => 'Indicates whether the assertion check is passed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'jobId' => ['description' => 'The job ID.', 'type' => 'string', 'example' => 'job-518855d9a058cfff0dc933e6b5767', 'title' => ''], + 'output' => ['description' => 'The job output.', 'type' => 'string', 'example' => '/', 'title' => ''], + 'parameters' => [ + 'description' => 'The collection of parameters.', + 'type' => 'object', + 'additionalProperties' => ['description' => '参数集合', 'type' => 'string', 'example' => '{'."\n" + .' "bandwidth":"5",'."\n" + .' "description":"description",'."\n" + .' "address_name":"iac-test-eip",'."\n" + .' "region":"cn-shanghai",'."\n" + .' "tags":"{\\"create\\":\\"iac\\",\\"name \\":\\"test\\"}"'."\n" + .' }', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'status' => ['description' => 'The job status. Valid values:'."\n" + ."\n" + .'- Pending: the initial status after the job is created.'."\n" + .'- PlanQueued: the job is queued because no available worker is ready after the job is created.'."\n" + .'- Planning: the resource job is in the Plan phase.'."\n" + .'- ConfigProactiveInProgress: compliance pre-check is in progress. The compliance pre-check feature must be enabled for the account.'."\n" + .'- ConfigProactiveSuccess: compliance pre-check succeeded. The compliance pre-check feature must be enabled for the account.'."\n" + .'- Planned: the resource job has completed the Plan phase.'."\n" + .'- PlannedAndFinished: no diff is found after the Plan phase is completed. This is a final status.'."\n" + .'- Confirmed: the resource job is waiting for confirmation after the Plan phase is completed.'."\n" + .'- ApplyQueued: the job is queued because no available worker is ready during execution.'."\n" + .'- Applying: the resource job is in the Apply phase.'."\n" + .'- Applied: the resource job has completed the Apply phase. This is a final status.'."\n" + .'- Errored: the job execution encountered an error. This is a final status.'."\n" + .'- Canceled: the job execution was canceled. This is a final status.'."\n" + .'- Discarded: the plan of the resource job was discarded. This is a final status.'."\n" + .'- ConfigProactiveFailure: compliance pre-check failed. The compliance pre-check feature must be enabled for the account.', 'type' => 'string', 'example' => 'Errored', 'title' => ''], + 'statusDetail' => [ + 'description' => 'The job status details.', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'comment' => ['description' => '备注', 'type' => 'string', 'example' => '备注', 'title' => ''], + 'jobResult' => ['description' => '执行结果', 'type' => 'string', 'example' => 'Apply complete! Resources: 0 added, 0 changed, 0 destroyed.', 'title' => ''], + 'timeStamps' => ['description' => '到达状态时间', 'type' => 'string', 'example' => '2022-06-13 17:11:34', 'title' => ''], + 'errorMessage' => ['description' => '错误详情', 'type' => 'string', 'example' => 'Error:Cannot import non-existent remote object', 'title' => ''], + ], + 'description' => '作业状态详情。', + 'title' => '', + 'example' => '', ], - 'namespaceName' => [ + 'title' => '', + 'example' => '', + ], + 'taskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'task-3b6cb9fa4751a1b9b5f22cbcf4e', 'title' => ''], + 'taskType' => ['description' => 'The task type. Valid values:'."\n" + ."\n" + .'- Task: regular task (default)'."\n" + .'- SceneTestingTask: scenario-based testing task.', 'type' => 'string', 'example' => 'SceneTestingTask', 'title' => ''], + 'terraformProviderVersion' => ['description' => 'The Terraform provider version.', 'type' => 'string', 'example' => '1.230.0', 'title' => ''], + 'outputJsonPlan' => ['description' => 'The change details of the Plan phase.', 'type' => 'any', 'example' => '{'."\n" + .' "formatVersion": "1.2",'."\n" + .' "terraformVersion": "1.5.7",'."\n" + .' "providerVersion": "1.262.1",'."\n" + .' "plannedValues": {'."\n" + .' "root_module": {'."\n" + .' }'."\n" + .' },'."\n" + .' "resourceChanges": ['."\n" + .' {'."\n" + .' "address": "alicloud_instance.uuid_ae98dda8_xxxxxxx",'."\n" + .' "mode": "managed",'."\n" + .' "type": "alicloud_instance",'."\n" + .' "name": "uuid_ae98dda8_xxxxxx",'."\n" + .' "providerName": "registry.terraform.io/aliyun/alicloud",'."\n" + .' "change": {'."\n" + .' "actions": ['."\n" + .' "delete"'."\n" + .' ],'."\n" + .' "before": Object{...},'."\n" + .' "after_unknown": {'."\n" + .' },'."\n" + .' "before_sensitive": Object{...},'."\n" + .' "after_sensitive": false'."\n" + .' },'."\n" + .' "cloudSpecResourceCode": "ACS::ECS::Instance"'."\n" + .' }'."\n" + .' ],'."\n" + .' "configuration": Object{...}'."\n" + .'}', 'title' => ''], + 'logFile' => ['description' => 'The run logs. The following log content (key values) is currently supported:'."\n" + ."\n" + .'- tf-init.run.error.log'."\n" + .' '."\n" + .'- tf-init.plan.log'."\n" + ."\n" + .'- tf-plan.run.log'."\n" + ."\n" + .'- tf-apply.run.log'."\n" + .' '."\n" + .'- tf-init.apply.log.', 'type' => 'object', 'title' => '', 'example' => ''], + 'jobType' => ['title' => '', 'description' => 'The job type.', 'type' => 'string', 'example' => 'Default'], + 'allParameters' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'name' => ['type' => 'string', 'example' => 'regionId', 'description' => '', 'title' => ''], + 'value' => ['type' => 'string', 'example' => 'cn-zhangjiakou', 'description' => '', 'title' => ''], + 'secret' => ['type' => 'boolean', 'example' => 'false', 'description' => '', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'example' => 'test_namespace', + 'title' => '', + 'example' => '', ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'nextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'IPTL1Zpr1andEF4lQ3XAYFTgtpI04QQpc5dyKpESXBc=', - ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '5FFB0033-A016-5A9D-9283-C123AAA7F71D', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '1435C78A-AED9-53D6-B7A6-E2661D29B1FA'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve job information', + 'summary' => 'Retrieves job information.', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2025-12-04T02:30:13.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-12-03T08:20:42.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-11-24T15:27:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-10-29T12:45:57.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-07-23T09:04:16.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-07-05T09:05:18.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-07-04T09:30:11.000Z', 'description' => 'Error codes changed, Response parameters changed'], + ['createdAt' => '2023-05-11T09:53:18.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-11-29T14:16:55.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-06-27T11:26:24.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-09-13T12:28:49.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-09-13T12:28:49.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetJob'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Job', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}/job/{#JobId}'], + ], + ], + 'additionalActions' => [], + ], ], - '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"}]', + '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\\": \\"true\\"\\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\\": \\"Error:Cannot import non-existent remote object\\"\\n }\\n },\\n \\"taskId\\": \\"task-3b6cb9fa4751a1b9b5f22cbcf4e\\",\\n \\"taskType\\": \\"SceneTestingTask\\",\\n \\"terraformProviderVersion\\": \\"1.230.0\\",\\n \\"outputJsonPlan\\": \\"{\\\\n \\\\\\"formatVersion\\\\\\": \\\\\\"1.2\\\\\\",\\\\n \\\\\\"terraformVersion\\\\\\": \\\\\\"1.5.7\\\\\\",\\\\n \\\\\\"providerVersion\\\\\\": \\\\\\"1.262.1\\\\\\",\\\\n \\\\\\"plannedValues\\\\\\": {\\\\n \\\\\\"root_module\\\\\\": {\\\\n }\\\\n },\\\\n \\\\\\"resourceChanges\\\\\\": [\\\\n {\\\\n \\\\\\"address\\\\\\": \\\\\\"alicloud_instance.uuid_ae98dda8_xxxxxxx\\\\\\",\\\\n \\\\\\"mode\\\\\\": \\\\\\"managed\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"alicloud_instance\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"uuid_ae98dda8_xxxxxx\\\\\\",\\\\n \\\\\\"providerName\\\\\\": \\\\\\"registry.terraform.io/aliyun/alicloud\\\\\\",\\\\n \\\\\\"change\\\\\\": {\\\\n \\\\\\"actions\\\\\\": [\\\\n \\\\\\"delete\\\\\\"\\\\n ],\\\\n \\\\\\"before\\\\\\": Object{...},\\\\n \\\\\\"after_unknown\\\\\\": {\\\\n },\\\\n \\\\\\"before_sensitive\\\\\\": Object{...},\\\\n \\\\\\"after_sensitive\\\\\\": false\\\\n },\\\\n \\\\\\"cloudSpecResourceCode\\\\\\": \\\\\\"ACS::ECS::Instance\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"configuration\\\\\\": Object{...}\\\\n}\\",\\n \\"logFile\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"jobType\\": \\"Default\\",\\n \\"allParameters\\": [\\n {\\n \\"name\\": \\"regionId\\",\\n \\"value\\": \\"cn-zhangjiakou\\",\\n \\"secret\\": false\\n }\\n ]\\n },\\n \\"requestId\\": \\"1435C78A-AED9-53D6-B7A6-E2661D29B1FA\\"\\n}","type":"json"}]', ], - 'GetRegistryNamespace' => [ - 'summary' => '获取工作空间信息', - 'path' => '/registryNamespace/{namespaceName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetModule' => [ + 'summary' => 'Queries the details of a specified template.', + 'path' => '/modules/{moduleId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'namespaceName', + 'name' => 'moduleId', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'terraform-alicloud-modules', - ], + 'schema' => ['description' => 'The template ID.', 'type' => 'string', 'required' => true, 'example' => 'mod-148e7853433574fffe9ca86154d77a', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'namespace' => [ - 'description' => '', + 'module' => [ + 'description' => 'The template information.', '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', + 'createTime' => ['description' => 'The time when the template was created.', 'type' => 'string', 'example' => '2022-09-06T06:11:27Z', 'title' => ''], + 'description' => ['description' => 'The template description.', 'type' => 'string', 'example' => 'this is description'."\n", 'title' => ''], + 'latestVersion' => ['description' => 'The latest version number.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'moduleId' => ['description' => 'The template ID.', 'type' => 'string', 'example' => 'mod-4267dcfbf1b6d14625614ddbe15', 'title' => ''], + 'name' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'ModuleName', 'title' => ''], + 'outputPath' => ['description' => 'The storage path of the template.', 'type' => 'string', 'example' => '/', 'title' => ''], + 'source' => ['description' => 'The template source. Valid values:'."\n" + ."\n" + .'- OSS: Imported from OSS.'."\n" + .'- Registry: Created from a template in the template center.'."\n" + .'- ExportTask: Exported from a resource export task.'."\n" + .'- Upload: Uploaded as a file.'."\n" + .'- Shared: Cloned from a shared template.'."\n" + .'- Editor: Created by using the online editor.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'sourcePath' => ['description' => 'The source path of the template.'."\n" + ."\n" + .'- If the source is Registry, the value is in the format of <workspace name>/<module name>:<module version>, such as terraform-alicloud-modules/rds:1.0.0.'."\n" + .'- If the source is OSS, the value is in the format of oss::<file link>, such as oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip.'."\n" + .'- If the source is ExportTask, the value is in the format of <export task ID>:<exported version>, such as ex-3b6cb9fa4751afff298da723c24ac:v1.', 'type' => 'string', 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip', 'title' => ''], + 'statePath' => ['description' => 'The path of the state file that corresponds to the template. Currently, only OSS paths are supported. The value is in the format of oss::<file OSS path>/terraform.tfstate.', 'type' => 'string', 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/terraform.tfstate', 'title' => ''], + 'status' => ['description' => 'The template status. Valid values:'."\n" + ."\n" + .'- Creating: The template is being created.'."\n" + .'- Created: The template is created.'."\n" + ."\n" + .'After the template is created, you can publish a version.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'versionStrategy' => ['description' => 'The version generation strategy. Valid values:'."\n" + ."\n" + .'- Manual: Versions are generated manually. This is the default value.'."\n" + .'- SourcePathUpdated: A new version is generated when the sourcePath is modified.', 'type' => 'string', 'example' => 'Manual', 'title' => ''], + 'groupInfo' => [ + 'description' => 'The group information.', + 'type' => 'object', + 'properties' => [ + 'groupId' => ['description' => 'The group ID.', 'type' => 'string', 'example' => 'g-fu1a1ol8cob1oni01ekcloi', 'title' => ''], + 'groupName' => ['description' => 'The group name.', 'type' => 'string', 'example' => 'groupName'."\n", 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'p-al1d11jlvlsbvr11lf3pqo', 'title' => ''], + 'projectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'projectName', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'sharedAccounts' => [ - 'description' => '', + 'tags' => [ + 'description' => 'The tags of the template.', 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', + 'description' => 'The tags of the template.', + 'type' => 'object', + 'properties' => [ + 'tagValue' => ['description' => 'The tag value of the template.', 'type' => 'string', 'example' => 'TestValue', 'title' => ''], + 'tagKey' => ['description' => 'The tag key of the template.', 'type' => 'string', 'example' => 'TestKey', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - ], - 'type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'share', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '26684763-5BAB-58C8-BA4F-9D622AB7AD14', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '1E7BA3EB-B0EF-53F5-9999-07CAD6D9F8A3'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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 template details', + 'description' => '## Operation description'."\n" + .'You can call this operation to query the details of a specified template, including but not limited to the template name, description, source, status, and latest version. You must specify the template ID and include authentication information in the request.', + 'changeSet' => [ + ['createdAt' => '2022-08-09T01:54:55.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-06-27T10:03:05.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}'], + ], + ], + ], ], - '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', - ], + 'GetModuleVersion' => [ + 'summary' => 'Queries the details of a specific version of a specified template.', + 'path' => '/modules/{moduleId}/versions/{moduleVersion}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'namespaceName', + 'name' => 'moduleId', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The template ID.', 'type' => 'string', 'required' => false, 'example' => 'mod-14e80de4866bf71c92a04fe353b1', 'title' => ''], + ], + [ + 'name' => 'moduleVersion', + 'in' => 'path', + 'schema' => ['description' => 'The template version.', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '1D0CD708-E433-5F13-8A42-823C95FC756C', + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0D298375-F92F-5B65-82E4-EA68F02521F1'], + 'version' => [ + 'description' => 'The version details.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'The time when the version was created.', 'type' => 'string', 'example' => '2022-09-08T18:07:40Z', 'title' => ''], + 'description' => ['description' => 'The version description.', 'type' => 'string', 'example' => 'this is description'."\n", 'title' => ''], + 'moduleId' => ['description' => 'The template ID.', 'type' => 'string', 'example' => 'mod-4267dcfbf1b6dfffbc27e218d1b66', 'title' => ''], + 'moduleVersion' => ['description' => 'The template version number.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'name' => ['description' => 'The version name.', 'type' => 'string', 'example' => 'versionName', 'title' => ''], + 'source' => ['description' => 'The version source. Valid values:'."\n" + ."\n" + .'- OSS: imported from OSS.'."\n" + .'- Registry: created by using a template from the template center.'."\n" + .'- ExportTask: exported from a resource export task.'."\n" + .'- Upload: uploaded as a file.'."\n" + .'- Shared: cloned from a shared source.'."\n" + .'- Editor: edited online.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'sourcePath' => ['description' => 'The path of the version source.'."\n" + ."\n" + .'- If the source is Registry, the value is in the format of <workspace name>/<module name>:<module version>. Example: terraform-alicloud-modules/rds:1.0.0.'."\n" + .'- If the source is OSS, the value is in the format of oss::<file link>. Example: oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip.'."\n" + .'- If the source is ExportTask, the value is in the format of <export task ID>:<exported version>. Example: ex-3b6cb9fa4751afff298da723c24ac:v1.', 'type' => 'string', 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip', 'title' => ''], + 'statePath' => ['description' => 'The path of the State file that corresponds to the template. Currently, only OSS paths are supported. The value is in the format of oss::<OSS file path>/terraform.tfstate.', 'type' => 'string', 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/terraform.tfstate', 'title' => ''], + 'terraformContext' => ['description' => 'The Terraform content.', 'type' => 'object', 'title' => '', 'example' => ''], + 'versionStrategy' => ['description' => 'The version generation strategy. Valid values:'."\n" + ."\n" + .'- Manual: manually generate a version. This is the default value.'."\n" + .'- SourcePathUpdated: a new version is generated when the sourcePath is modified.', 'type' => 'string', 'example' => 'Manual', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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"}]', + 'title' => 'Get template version details', + 'description' => '## Operation description'."\n" + .'You can call this operation to query the details of a specific version of a specified template, including the version number, description, and release time. Make sure that the template ID and version number are correct.', + 'changeSet' => [ + ['createdAt' => '2022-08-09T01:54:55.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-06-27T10:03:05.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-09-13T12:28:47.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-09-13T12:28:47.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModuleVersion'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ModuleVersion', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}/moduleversion/{#ModuleVersionId}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1D0CD708-E433-5F13-8A42-823C95FC756C\\"\\n}","type":"json"}]', ], - 'AddSharedAccounts' => [ - 'summary' => '新增共享账号信息', - 'path' => '/sharedAccounts', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetParameterSet' => [ + 'summary' => 'Retrieves the details of a parameter set by parameter set ID.', + 'path' => '/parameterSets/{parameterSetId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'parameterSetId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the parameter set.', 'type' => 'string', 'required' => true, 'example' => 'pts-433aead7560571fc2556dc33a4a', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', + 'parameterSet' => [ + 'description' => 'The parameter set details.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['title' => '', 'description' => 'The time when the parameter set was created.', 'type' => 'string', 'example' => '2022-01-30T02:14:16Z'], + 'description' => ['title' => '', 'description' => 'The description of the parameter set.', 'type' => 'string', 'example' => 'This is parameterSet'], + 'name' => ['title' => '', 'description' => 'The name of the parameter set.', 'type' => 'string', 'example' => 'demo'], + 'parameterSetId' => ['title' => '', 'description' => 'The ID of the parameter set.', 'type' => 'string', 'example' => 'pts-3b6cb9fa4751afff9c5e4e01624b9'], + 'parameters' => [ + 'description' => 'The parameters in the parameter set.', + 'type' => 'array', + 'items' => [ + 'description' => 'The parameters in the parameter set.', + 'type' => 'object', + 'properties' => [ + 'name' => ['title' => '', 'description' => 'The name of the parameter.', 'type' => 'string', 'example' => 'region'], + 'type' => ['title' => '', 'description' => 'The type of the parameter. Valid values: string, number, bool, map(string), and list(string).', 'type' => 'string', 'example' => 'string'], + 'value' => ['title' => '', 'description' => 'The value of the parameter.', 'type' => 'any', 'example' => 'cn-hangzhou'], + 'status' => [ + 'title' => '', + 'description' => 'The status of the parameter. Valid values:'."\n" + ."\n" + .'- HAS_VALUE (default): A specific value is defined.'."\n" + .'- EXPLICIT_NULL: The value is explicitly set to null.', + 'enumValueTitles' => ['EXPLICIT_NULL' => 'The value is explicitly set to null.', 'HAS_VALUE' => 'A specific value is defined.'], + 'type' => 'string', + 'example' => 'HAS_VALUE', + ], + 'secret' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'relationList' => [ + 'description' => 'The association relationships.', + 'type' => 'array', + 'items' => [ + 'description' => 'The association relationships.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['title' => '', 'description' => 'The time when the parameter set was created.', 'type' => 'string', 'example' => '2022-04-24T22:58:50Z'], + 'resourceId' => ['title' => '', 'description' => 'The resource ID. When the resource type is ModuleVersion, the ID is a concatenation of <moduleId>-<moduleversion>, such as mod-34535345df123fr-v3.', 'type' => 'string', 'example' => 'mod-433aead756057101546eb5d50c1'], + 'resourceType' => [ + 'title' => '', + 'description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- Module: template'."\n" + .'- ModuleVersion: template version'."\n" + .'- Task: task.', + 'enumValueTitles' => ['Task' => 'Task.', 'ModuleVersion' => 'Template version.', 'Module' => 'Template.'], + 'type' => 'string', + 'example' => 'Module', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], ], + 'title' => '', + 'example' => '', ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '99905C7C-1320-5E7F-A798-3071482EB08E'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'Get parameter set details', + 'description' => '## Description'."\n" + .'- This operation retrieves detailed parameter set information by specifying a parameterSetId.'."\n" + .'- Authentication is required to call this operation.'."\n" + .'- If the request succeeds, the response includes detailed data such as the parameter set name, description, and parameter list.', + 'changeSet' => [ + ['createdAt' => '2022-06-27T10:03:07.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetParameterSet', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => false, ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"parameterSet\\": {\\n \\"createTime\\": \\"2022-01-30T02:14:16Z\\",\\n \\"description\\": \\"This is parameterSet\\",\\n \\"name\\": \\"demo\\",\\n \\"parameterSetId\\": \\"pts-3b6cb9fa4751afff9c5e4e01624b9\\",\\n \\"parameters\\": [\\n {\\n \\"name\\": \\"region\\",\\n \\"type\\": \\"string\\",\\n \\"value\\": \\"cn-hangzhou\\",\\n \\"status\\": \\"HAS_VALUE\\",\\n \\"secret\\": false\\n }\\n ],\\n \\"relationList\\": [\\n {\\n \\"createTime\\": \\"2022-04-24T22:58:50Z\\",\\n \\"resourceId\\": \\"mod-433aead756057101546eb5d50c1\\",\\n \\"resourceType\\": \\"Module\\"\\n }\\n ]\\n },\\n \\"requestId\\": \\"99905C7C-1320-5E7F-A798-3071482EB08E\\"\\n}","type":"json"}]', + ], + 'GetProject' => [ + 'summary' => 'Queries a project.', + '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' => 'The project ID.', 'type' => 'string', 'required' => false, 'example' => 'p-433aead7560572f8d95b25775c', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '0D797DC3-FF04-5C21-81EB-XXXXXXXXX', + 'project' => [ + 'description' => 'The project details.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2022-09-06T06:11:27Z', 'title' => ''], + 'description' => ['description' => 'The project description. Length: 0 to 1024 characters.', 'type' => 'string', 'example' => 'abc', 'title' => ''], + 'name' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'abc', 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'p-433aead7560572f8d95b25775c', 'title' => ''], + 'taskCnt' => ['description' => 'The number of tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7FA0FF4A-ABD4-54F6-BEAC-B4273EBA10A2'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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"}]', + 'title' => 'Get project details', + 'changeSet' => [ + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0D797DC3-FF04-5C21-81EB-XXXXXXXXX\\"\\n}","type":"json"}]', - ], - 'RemoveSharedAccounts' => [ - 'summary' => '删除共享账号信息', - 'path' => '/sharedAccounts', - 'methods' => [ - 'delete', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProject'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetProject', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/{#ProjectId}'], + ], + ], + ], ], + ], + 'GetProviderDocument' => [ + 'summary' => 'Retrieves the resource documentation of a Terraform provider.', + 'path' => '/version/terraform/provider/document', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'resourceId', + 'name' => 'providerVersion', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test_namespace', - ], + 'schema' => ['type' => 'string', 'readOnly' => false, 'description' => '', 'title' => '', 'example' => ''], ], [ - 'name' => 'resourceType', + 'name' => 'terraformResourceType', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'readOnly' => false, 'description' => '', 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Namespace', - 'enum' => [ - 'Namespace', - 'RegistryModule', + 'title' => '', + 'type' => 'object', + 'properties' => [ + 'providerVersion' => ['type' => 'string', 'readOnly' => false, 'description' => '', 'title' => '', 'example' => ''], + 'terraformResourceType' => ['type' => 'string', 'readOnly' => false, 'description' => '', 'title' => '', 'example' => ''], + 'document' => ['type' => 'string', 'readOnly' => false, 'description' => '', 'title' => '', 'example' => ''], + 'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'readOnly' => false, 'example' => ''], ], + 'readOnly' => false, + 'description' => 'Schema of Response', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"providerVersion\\": \\"\\",\\n \\"terraformResourceType\\": \\"\\",\\n \\"document\\": \\"\\",\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]', + 'title' => '', + ], + 'GetRegistryModule' => [ + 'summary' => 'Queries a Registry module.', + 'path' => '/registryModule/{namespaceName}/{moduleName}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - '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, - ], + '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' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'NamespaceName', 'title' => ''], + ], + [ + 'name' => 'moduleName', + 'in' => 'path', + 'schema' => ['description' => 'The module name.', 'type' => 'string', 'required' => true, 'example' => 'ModuleName', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '8294F4ED-8DBA-5441-B3F2-61C3C5374990', + 'registryModule' => [ + 'description' => 'The Registry module.', + 'type' => 'object', + 'properties' => [ + 'acl' => ['description' => 'The permission. Valid values:'."\n" + ."\n" + .'- private: private.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-05-28 13:39:05', 'title' => ''], + 'description' => ['description' => 'The module description.', 'type' => 'string', 'example' => 'description', 'title' => ''], + 'downloads' => ['description' => 'The number of downloads.', 'type' => 'integer', 'format' => 'int32', 'example' => '23', 'title' => ''], + 'moduleName' => ['description' => 'The module name.', 'type' => 'string', 'example' => 'ecs-cluster'."\n", 'title' => ''], + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'NamespaceName'."\n", 'title' => ''], + 'provider' => ['description' => 'The provider type. Valid values:'."\n" + ."\n" + .'- alicloud: Alibaba Cloud.', 'type' => 'string', 'example' => 'alicloud', 'title' => ''], + 'sharedAccounts' => [ + 'description' => 'The list of accounts with which the Registry module is shared.', + 'type' => 'array', + 'items' => ['description' => 'The UID of the shared account.', 'type' => 'integer', 'format' => 'int64', 'example' => '123456', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'source' => ['description' => 'The module source, which is a concatenation of <NamespaceName>/<ModuleName>.', 'type' => 'string', 'example' => 'namespaceName/ModuleName'."\n", 'title' => ''], + 'sourceUrl' => ['description' => 'The module source URL.', 'type' => 'string', 'example' => 'URL', 'title' => ''], + 'type' => ['description' => 'The workspace type. Valid values:'."\n" + ."\n" + .'- system: public module'."\n" + .'- self: custom module'."\n" + .'- shared: shared module'."\n" + .'- community: community module.', 'type' => 'string', 'example' => 'system', 'title' => ''], + 'version' => ['description' => 'The latest version.', 'type' => 'string', 'example' => '1.0.0', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '5B5AD471-5036-581B-AC9B-7D5EECED877A'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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"}]', + 'title' => 'Query a registry module', + 'description' => 'Single-user call frequency: 200 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRegistryModule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetRegistryModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8294F4ED-8DBA-5441-B3F2-61C3C5374990\\"\\n}","type":"json"}]', ], - 'CreateRegistryModule' => [ - 'summary' => '创建RegistryModule', - 'path' => '/registryModule', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetRegistryModuleVersion' => [ + 'summary' => 'Queries a Registry template version.', + 'path' => '/registryModuleVersion/{namespaceName}/{moduleName}/{version}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'NamespaceName', 'title' => ''], + ], + [ + 'name' => 'moduleName', + 'in' => 'path', + 'schema' => ['description' => 'The template name.', 'type' => 'string', 'required' => true, 'example' => 'ModuleName', 'title' => ''], + ], + [ + 'name' => 'version', + 'in' => 'path', + 'schema' => ['description' => 'The version number.', 'type' => 'string', 'required' => true, 'example' => '1.1.0', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', + 'moduleVersion' => [ + 'description' => 'The version information.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-02-08T02:22:16Z', 'title' => ''], + 'detailUrl' => ['description' => 'The product page URL.', 'type' => 'string', 'example' => 'URL', 'title' => ''], + 'downloads' => ['description' => 'The number of downloads.', 'type' => 'string', 'example' => '24', 'title' => ''], + 'moduleName' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'ecs-cluster'."\n", 'title' => ''], + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'alibabacloud', 'title' => ''], + 'provider' => ['description' => 'The provider type. Valid values:'."\n" + ."\n" + .'- alicloud: Alibaba Cloud.', 'type' => 'string', 'example' => 'alicloud', 'title' => ''], + 'source' => ['description' => 'The template source.', 'type' => 'string', 'example' => 'namespaceName/ModuleName'."\n", 'title' => ''], + 'sourceUrl' => ['description' => 'The template source URL.', 'type' => 'string', 'example' => 'URL', 'title' => ''], + 'version' => ['description' => 'The version number.', 'type' => 'string', 'example' => '1.0.0', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '62DF26B0-53F0-5747-9D7F-FEF444FB4E24'], + ], + 'example' => '', + ], + ], + ], + '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"}]', + 'title' => 'Query a registry template version', + 'description' => 'Single-user call frequency: 200 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRegistryModuleVersion'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetRegistryModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], ], - 'required' => false, ], ], ], + ], + 'GetRegistryNamespace' => [ + 'summary' => 'Queries a workspace.', + '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' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'example' => 'terraform-alicloud-modules', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', + 'namespace' => [ + 'description' => 'The workspace information.', + 'type' => 'object', + 'properties' => [ + 'acl' => ['description' => 'The permissions.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-03-20T02:18:29Z', 'title' => ''], + 'description' => ['description' => 'The description of the workspace.', 'type' => 'string', 'example' => 'description', 'title' => ''], + 'maintainer' => ['description' => 'The name of the administrator.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'modules' => ['description' => 'The number of Registry templates in the workspace.', 'type' => 'integer', 'format' => 'int32', 'example' => '21', 'title' => ''], + 'namespaceName' => ['description' => 'The name of the workspace.', 'type' => 'string', 'example' => 'NamespaceName', 'title' => ''], + 'sharedAccounts' => [ + 'description' => 'The list of shared accounts.', + 'type' => 'array', + 'items' => ['description' => 'The UID of the shared account.', 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'type' => ['description' => 'The type of the workspace.', 'type' => 'string', 'example' => 'share', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '26684763-5BAB-58C8-BA4F-9D622AB7AD14'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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"}]', + 'title' => 'Query a workspace', + 'description' => 'Single-user call frequency: 200 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRegistryNamespace'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetRegistryNamespace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}'], + ], + ], + ], ], - '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', - ], + 'GetResourceExportTask' => [ + 'summary' => 'Queries the details of a resource export task.', + 'path' => '/exportTasks/{exportTaskId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'exportTaskId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the resource export task.', 'type' => 'string', 'required' => true, 'example' => 'ex-al171j05rlog5tbri1pmkk', 'title' => ''], + ], + [ + 'name' => 'exportVersion', + 'in' => 'query', + 'schema' => ['description' => 'The export version.', 'type' => 'string', 'required' => false, 'example' => 'v3', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'acl' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'private', - ], - 'description' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'clientToken' => [ - 'type' => 'string', - 'required' => true, + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'FC49AA8C-0A19-5556-8929-E7447F18D529'], + 'task' => [ + 'description' => 'The task information.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'The time when the task was created.', 'type' => 'string', 'example' => '2022-06-15T02:44:37Z', 'title' => ''], + 'description' => ['description' => 'The task description.', 'type' => 'string', 'example' => 'this is description'."\n", 'title' => ''], + 'elapsedTime' => ['description' => 'The execution duration.', 'type' => 'integer', 'format' => 'int64', 'example' => '4533', 'title' => ''], + 'exportTaskId' => ['description' => 'The ID of the resource export task.', 'type' => 'string', 'example' => 'ex-al1111jlfh53i6mo4o94jj', 'title' => ''], + 'exportToModule' => [ + 'description' => 'Saves the exported template as a module. If this parameter is not set, the template is automatically saved in the registry.', + 'type' => 'object', + 'properties' => [ + 'source' => ['description' => 'The module type in which the exported template is saved. Valid values:'."\n" + ."\n" + .'- OSS: OSS'."\n" + .'- Registry: Terraform Registry.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'sourcePath' => ['description' => 'The path where the template content is saved.'."\n" + ."\n" + .'- If Source is set to Registry, the format is: "cloudregistry::iacservice//"'."\n" + ."\n" + .'- If Source is set to OSS, the format is: "oss::https://.oss-ap-southeast-1.aliyuncs.com/xxx.zip".', 'type' => 'string', 'example' => 'oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip', 'title' => ''], + 'statePath' => ['description' => 'The path of the state file that corresponds to the module.', 'type' => 'string', 'example' => '/', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'exportVersion' => ['description' => 'The resource export version.', 'type' => 'string', 'example' => 'v2', 'title' => ''], + 'failedReason' => ['description' => 'The failure reason.', 'type' => 'string', 'example' => 'Reason', 'title' => ''], + 'includeRules' => [ + 'description' => 'The values of the include rules for resource export.', + 'type' => 'array', + 'items' => [ + 'description' => 'The values of the include rules for resource export.', + 'type' => 'object', + 'properties' => [ + 'values' => [ + 'description' => 'The values of the include rules for resource export.', + 'type' => 'array', + 'items' => ['description' => 'The values of the include rules for resource export.', 'type' => 'string', 'example' => 'cn-chengdu', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'key' => ['description' => 'The name of the include rule for resource export. Valid values:'."\n" + ."\n" + .'- ResourceType: required. The resource type. Example: ALIYUN::VPC::VPC.'."\n" + .'- RegionId: required. The region to which the resource belongs. Only one region is supported. Example: ap-southeast-1.'."\n" + .'- \\<ResourceType>:Id: the resource ID. Example: ALIYUN::VPC::VPC:Id.'."\n" + .'- ResourceGroupId: the resource group ID. Example: rg-1234.'."\n" + .'- ZoneId: the zone to which the resource belongs. Only one zone is supported. Example: ap-southeast-1a.'."\n" + ."\n" + .'By default, the relationship between multiple filter conditions is AND. A resource is considered matched only if all filter conditions are met.', 'type' => 'string', 'example' => 'RegionId', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'name' => ['description' => 'The task name.', 'type' => 'string', 'example' => 'vpc_all', 'title' => ''], + 'ramRole' => ['description' => 'The RAM role.', 'type' => 'string', 'example' => 'role', 'title' => ''], + 'status' => ['description' => 'The task status. Valid values:'."\n" + ."\n" + .'- Available: the task is available and no job is running.'."\n" + .'- Running: a job is currently running.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + 'taskOutputPath' => ['description' => 'The task output path.', 'type' => 'string', 'example' => '/', 'title' => ''], + 'terraformContext' => ['description' => 'The Terraform context.', 'type' => 'object', 'example' => '{}', 'title' => ''], + 'terraformProviderVersion' => ['description' => 'The Terraform provider version.', 'type' => 'string', 'example' => '1.246.0', 'title' => ''], + 'terraformVersion' => ['description' => 'The Terraform version.', 'type' => 'string', 'example' => '1.5.7', 'title' => ''], + 'triggerStrategy' => ['description' => 'The trigger strategy. Valid values:'."\n" + .'- Auto: triggered automatically when rules are modified or the trigger strategy is changed to Auto.'."\n" + .'- Manual: triggered manually.'."\n" + ."\n" + .'Default value: Manual.', 'type' => 'string', 'example' => 'Manual', 'title' => ''], + 'variables' => [ + 'description' => 'The list of variables. Parameters in the exported resources are set as variables.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of variables. Parameters in the exported resources are set as variables.', + 'type' => 'object', + 'properties' => [ + 'properties' => [ + 'description' => 'The list of properties of the Terraform resource that corresponds to the resource type.', + 'type' => 'array', + 'items' => ['description' => 'The property of the Terraform resource that corresponds to the resource type.', 'type' => 'string', 'example' => 'vswitch_name'."\n", 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'resourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ALIYUN::VPC::VSwitch'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'modules' => [ + 'description' => 'The module configuration for the exported resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The module configuration for the exported resources.', + 'type' => 'object', + 'properties' => [ + 'source' => ['description' => 'The module type where the exported template is stored. Two formats are supported: CloudRegistry and OSS. If the ExportToModule parameter is specified, both formats are returned. Otherwise, only CloudRegistry is returned.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'version' => ['description' => 'The version of the module where the exported template is stored.', 'type' => 'string', 'example' => 'v3', 'title' => ''], + 'sourcePath' => ['description' => 'The download URL of the module where the exported template is stored.'."\n" + ."\n" + .'- If Source is set to CloudRegistry, the format is: "cloudregistry::iacservice//"'."\n" + ."\n" + .'- If Source is set to OSS, the format is: "oss::https://.oss-ap-southeast-1.aliyuncs.com/xxx.zip".', 'type' => 'string', 'example' => 'oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], - 'required' => false, + 'example' => '', ], ], - [ - 'name' => 'namespaceName', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test_namespace', + ], + '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"}]', + 'title' => 'Get resource export task details', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2023-04-13T08:36:09.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-01-10T09:03:10.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-12-14T14:28:18.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceExportTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetResourceExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/{#ResourceExportTaskId}'], + ], ], ], + ], + ], + 'GetResourceType' => [ + 'summary' => 'Retrieves resource type information.', + 'path' => '/resourceType/{resourceType}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'moduleName', + 'Anonymous' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorerY5UU1D'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'resourceType', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mns-queue', - ], + 'schema' => ['description' => 'The resource code. Used to retrieve detailed information about a specified resource type.', 'type' => 'string', 'required' => false, 'example' => 'alicloud_vpc', 'title' => ''], + ], + [ + 'name' => 'terraformProviderVersion', + 'in' => 'query', + 'schema' => ['description' => 'The Terraform provider version. If left empty, the latest version is used by default.', 'type' => 'string', 'required' => false, 'example' => '1.227.0', 'title' => ''], + ], + [ + 'name' => 'filterReadOnly', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to filter out read-only properties.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'acceptLanguage', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + .'- zh-CN: Chinese.'."\n" + .'- en-US: English.'."\n" + ."\n" + .'Default value: zh-CN.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The data structure of a successful response.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '127A5B81-D1E7-5E33-8D44-B89507C4B81F', + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9bcaac3c-420d-4303-87ab-7638c07b0a0b'], + 'resourceType' => [ + 'description' => 'The detailed information about the resource type.', + 'type' => 'object', + 'properties' => [ + 'operations' => [ + 'description' => 'The collection of APIs associated with the resource.', + 'type' => 'array', + 'items' => [ + 'description' => 'The collection of APIs associated with the resource.', + 'type' => 'object', + 'properties' => [ + 'apiName' => ['description' => 'The API name.', 'type' => 'string', 'example' => 'CreateVSwitch', 'title' => ''], + 'apiVersion' => ['description' => 'The API version.', 'type' => 'string', 'example' => '2016-04-28', 'title' => ''], + 'operationType' => [ + 'description' => 'The operation type. Valid values: Write, Read.', + 'enumValueTitles' => ['Write' => 'Write', 'Read' => 'Read'], + 'type' => 'string', + 'example' => 'Write', + 'title' => '', + ], + 'serviceCode' => ['description' => 'serviceCode', 'type' => 'string', 'example' => 'Vpc', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'product' => ['description' => 'The product code.', 'type' => 'string', 'example' => 'ECS', 'title' => ''], + 'properties' => ['description' => 'The resource properties.', 'type' => 'object', 'example' => '{}', 'title' => ''], + 'status' => ['description' => 'The resource status.', 'type' => 'string', 'example' => 'Available', 'title' => ''], + 'statusStartVersion' => ['description' => 'The version from which the status takes effect.', 'type' => 'string', 'example' => '1.227.0', 'title' => ''], + 'subcategory' => ['description' => 'The product category in Terraform.', 'type' => 'string', 'example' => 'network', 'title' => ''], + 'terraformProviderVersion' => ['description' => 'The Terraform provider version.', 'type' => 'string', 'example' => '1.227.0', 'title' => ''], + 'terraformResourceType' => ['description' => 'The resource code in Terraform.', 'type' => 'string', 'example' => 'alicloud_vpc', 'title' => ''], + 'productName' => ['description' => 'The product name.', 'type' => 'string', 'example' => '专有网络VPC'."\n", 'title' => ''], + 'title' => ['description' => 'The title.', 'type' => 'string', 'example' => '路由表'."\n", 'title' => ''], + 'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'resourceListPageUrl' => ['description' => 'The URL of the resources page.', 'type' => 'string', 'example' => 'https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables'."\n", 'title' => ''], + 'resourceDetailPageUrl' => ['description' => 'The URL of the resource details page.', 'type' => 'string', 'example' => 'https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables/${RouteTableId}'."\n", 'title' => ''], + 'productNameEn' => ['description' => 'The English name of the product.', 'type' => 'string', 'example' => 'vpc', 'title' => ''], + 'supportExported' => ['description' => 'Indicates whether export is supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'resourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Get resource type details', + 'description' => '## Request description.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceType'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"127A5B81-D1E7-5E33-8D44-B89507C4B81F\\"\\n}","type":"json"}]', + 'ramActions' => [], + '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 \\"resourceType\\": \\"\\"\\n }\\n}","type":"json"}]', ], - 'ListRegistryModules' => [ - 'summary' => '获取RegistryModule列表', - 'path' => '/registryModules', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetStack' => [ + 'path' => '/stacks/{stackId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'namespaceName', - 'in' => 'query', + 'name' => 'stackId', + 'in' => 'path', + 'schema' => ['description' => 'The unique identifier of the stack, which is generated after the stack is created.', 'type' => 'string', 'required' => true, 'example' => 'stack-as1d4vld898ppnqxxxxxx', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test_namespace', + 'title' => '', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C7070EC3-DF66-58BA-A1DD-A8574FF53143'], + 'stack' => [ + 'description' => 'The stack information.', + 'type' => 'object', + 'properties' => [ + 'stackId' => ['description' => 'The unique identifier of the stack, which is generated after the stack is created.', 'type' => 'string', 'example' => 'stack-as1d4vld898ppnqxxxxxx', 'title' => ''], + 'name' => ['description' => 'The stack name.', 'type' => 'string', 'example' => 'stack-test', 'title' => ''], + 'description' => ['description' => 'The description of the stack.', 'type' => 'string', 'example' => 'the description of stack', 'title' => ''], + 'source' => [ + 'description' => 'The configuration source of the stack. Valid values:'."\n" + .'- OSS: a template stored in Object Storage Service (OSS).'."\n" + .'- IAC_SERVICE_MODULE: a template created in the automation service console.', + 'enumValueTitles' => ['IAC_SERVICE_MODULE' => 'IAC_SERVICE_MODULE', 'OSS' => 'OSS'], + 'type' => 'string', + 'example' => 'OSS', + 'title' => '', + ], + 'sourcePath' => ['description' => 'The path value of the configuration source. The value cannot exceed 1000 characters.'."\n" + .'- If the source is OSS, the value is in the format of oss::<file link>. The file must be a ZIP file. Example: oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip.'."\n" + .'- If the source is IAC_SERVICE_MODULE, the value is a template ID. Example: mod-xxxxx.', 'type' => 'string', 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip', 'title' => ''], + 'triggerStrategy' => [ + 'description' => 'The deployment trigger method of the stack. This field is not publicly available.'."\n" + .'- SetUpdated: triggered by file changes.', + 'enumValueTitles' => ['SetUpdated' => 'SetUpdated'], + 'type' => 'string', + 'example' => 'SetUpdated', + 'title' => '', + ], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-07-24T02:58:53Z', 'title' => ''], + 'config' => [ + 'description' => 'The stack configuration.', + 'type' => 'object', + 'properties' => [ + 'deploymentContent' => ['description' => 'The deployment configuration.', 'type' => 'string', 'example' => 'format_version: IaCService/2021-08-06\\ndescription: create ALB \\nvariable:\\n - name: region\\n type: string\\n ...', 'title' => ''], + 'componentContent' => ['description' => 'The component configuration.', 'type' => 'string', 'example' => 'format_version: IaCService/2021-08-06\\ndescription: create ALB\\nupstream_input:\\n - name: stack_network\\n ...', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ramRole' => ['description' => 'The RAM role assumed by the system to perform resource change operations during stack deployment.', 'type' => 'string', 'example' => 'TestIacRole', 'title' => ''], + 'status' => [ + 'description' => 'The stack status.'."\n" + .'| Name | Description |'."\n" + .'|------|------|'."\n" + .'| Creating | The stack is being created. |'."\n" + .'| Created | The stack is created. |'."\n" + .'| Waiting | The stack is waiting for deployment. |'."\n" + .'| Deploying | The stack is being deployed. |'."\n" + .'| Deployed | The stack is deployed. |'."\n" + .'| Errored | The deployment failed. |'."\n" + .'| Deleting | The stack is being deleted. |'."\n" + .'| Deleted | The stack is deleted. |'."\n" + .'| DeleteFailed | The deletion failed. |'."\n" + .'| DetectTriggered | Drift detection is triggered. |.', + 'enumValueTitles' => ['Creating' => 'Creating', 'Deploying' => 'Deploying', 'Errored' => 'Errored', 'DeleteFailed' => 'DeleteFailed', 'Deleted' => 'Deleted', 'Deployed' => 'Deployed', 'Deleting' => 'Deleting', 'Created' => 'Created', 'Waiting' => 'Waiting'], + 'type' => 'string', + 'example' => 'Deployed', + 'title' => '', + ], + 'workingDirectory' => ['description' => 'The directory where the deployment and component configuration files of the stack are located. Set this parameter to / for the root directory.', 'type' => 'string', 'example' => '/', 'title' => ''], + 'currentConfigVersion' => ['description' => 'The current configuration version number, such as v1. The initial value is v1. The version number increments each time the stack is updated or refreshed and the configuration changes.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query a stack', + 'summary' => 'Queries a stack.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'system', - 'enum' => [ - 'system', - 'self', - 'shared', - 'community', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetStack', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/{#stackId}'], ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C7070EC3-DF66-58BA-A1DD-A8574FF53143\\",\\n \\"stack\\": {\\n \\"stackId\\": \\"stack-as1d4vld898ppnqxxxxxx\\",\\n \\"name\\": \\"stack-test\\",\\n \\"description\\": \\"the description of stack\\",\\n \\"source\\": \\"OSS\\",\\n \\"sourcePath\\": \\"oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip\\",\\n \\"triggerStrategy\\": \\"SetUpdated\\",\\n \\"createTime\\": \\"2025-07-24T02:58:53Z\\",\\n \\"config\\": {\\n \\"deploymentContent\\": \\"format_version: IaCService/2021-08-06\\\\\\\\ndescription: create ALB \\\\\\\\nvariable:\\\\\\\\n - name: region\\\\\\\\n type: string\\\\\\\\n ...\\",\\n \\"componentContent\\": \\"format_version: IaCService/2021-08-06\\\\\\\\ndescription: create ALB\\\\\\\\nupstream_input:\\\\\\\\n - name: stack_network\\\\\\\\n ...\\"\\n },\\n \\"ramRole\\": \\"TestIacRole\\",\\n \\"status\\": \\"Deployed\\",\\n \\"workingDirectory\\": \\"/\\",\\n \\"currentConfigVersion\\": \\"v1\\"\\n }\\n}","type":"json"}]', + ], + 'GetStackDeployments' => [ + 'summary' => 'Queries the list of deployments for a stack.', + 'path' => '/stacks/{stackId}/deployments', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'keyword', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + ], + 'parameters' => [ + [ + 'name' => 'stackId', + 'in' => 'path', + 'schema' => ['description' => 'The unique identifier of the stack, which is generated after the stack is created.', 'type' => 'string', 'required' => true, 'example' => 'stack-as1d4vld8bgqxxxxxxxx', 'title' => ''], + ], + [ + 'name' => 'deploymentName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'key', - ], + 'schema' => ['description' => 'The deployment name.', 'type' => 'string', 'required' => false, 'example' => 'production', 'title' => ''], ], [ - 'name' => 'maxResults', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'nextToken', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'NFzbQCa7/yd7rAuSo5xZb54dD+2BRJj42DLT6GrZysw=', - ], + 'schema' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ + 'description' => 'The deployment status.'."\n" + .'| Name | Description |'."\n" + .'|------|------|'."\n" + .'| Pending | The initial status after a deployment is created. |'."\n" + .'| PriorityQueued | The deployment is queued by priority. |'."\n" + .'| PlanQueued | The deployment is queued because no workflow is available after the deployment is created. |'."\n" + .'| ApplyQueued | The deployment is queued because no workflow is available during execution. |'."\n" + .'| Planning | The resource deployment is in the Plan phase. |'."\n" + .'| Planned | The resource deployment has completed the Plan phase. |'."\n" + .'| ConfigProactiveInProgress | A compliance pre-check is in progress. |'."\n" + .'| ConfigProactiveSuccess | The compliance pre-check succeeded. |'."\n" + .'| DetectInProgress | Drift detection is in progress. |'."\n" + .'| ImportQueued | The deployment is queued because no workflow is available during the Import phase. |'."\n" + .'| Importing | The resource deployment is in the Import phase. |'."\n" + .'| Imported | The resource deployment has completed the Import phase. |'."\n" + .'| StateQueued | The deployment is queued because no workflow is available during the state command execution. |'."\n" + .'| Stating | The resource deployment is executing the state command. |'."\n" + .'| Stated | The resource deployment has completed the state command execution. |'."\n" + .'| Confirmed | The resource deployment has been confirmed after the Plan phase. |'."\n" + .'| PlannedAndFinished | No differences were found after the Plan phase. The deployment is in a final status. |'."\n" + .'| Applying | The resource deployment is in the Apply phase. |'."\n" + .'| Applied | The resource deployment has completed the Apply phase. |'."\n" + .'| Discarded | The resource deployment has been discarded and is in a final status. |'."\n" + .'| Errored | The deployment encountered an error and is in a final status. |'."\n" + .'| ConfigProactiveFailure | The compliance pre-check failed. |'."\n" + .'| Canceled | The deployment has been canceled and is in a final status. |.', + 'enumValueTitles' => [ + 'Stated' => 'State detection completed.', 'ConfigProactiveInProgress' => 'Compliance pre-check in progress.', 'ConfigProactiveFailure' => 'Compliance pre-check failed.', 'DetectInProgress' => 'Drift detection in progress.', 'Imported' => 'State import completed.', 'Stating' => 'State detection in progress.', 'ApplyQueued' => 'Queued for execution.', 'Planned' => 'Plan succeeded.', 'Discarded' => 'Discarded.', 'Applied' => 'Execution succeeded.', + 'PriorityQueued' => 'Queued by priority.', 'StateQueued' => 'Queued for state detection.', 'PlanQueued' => 'Queued for plan.', 'Errored' => 'Execution failed.', 'ConfigProactiveSuccess' => 'Compliance pre-check succeeded.', 'Planning' => 'Plan in progress.', 'Confirmed' => 'Confirmed.', 'PlannedAndFinished' => 'Plan succeeded (no changes).', 'Applying' => 'Execution in progress.', 'Canceled' => 'Canceled.', + 'Pending' => 'The initial status after a deployment is created.', 'ImportQueued' => 'Queued for state import.', + ], 'type' => 'string', + 'required' => false, + 'example' => 'Applied', + 'title' => '', ], ], + [ + 'name' => 'configVersion', + 'in' => 'query', + 'schema' => ['description' => 'The configuration version, such as v1. The initial value is v1. The version number increments each time the stack is updated or refreshed and the configuration changes.', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''], + ], + [ + 'name' => 'deploymentNo', + 'in' => 'query', + 'schema' => ['description' => 'The deployment number. The deployment number of each stack starts from 1 and increments each time a deployment is triggered.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'registryModules' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BF72A6FB-B071-5F2E-A036-9D62545B962C'], + 'deployments' => [ + 'description' => 'The deployment results of the stack.', 'type' => 'array', 'items' => [ + 'description' => 'The result of a deployment task.', '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', + 'deploymentName' => ['description' => 'The deployment name.', 'type' => 'string', 'example' => 'production', 'title' => ''], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2026-04-01T12:10:18Z', 'title' => ''], + 'elapsedTime' => ['description' => 'The execution duration, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '38000', 'title' => ''], + 'executeType' => ['description' => 'The execution type.'."\n" + ."\n" + .'Manual: manual execution (default).'."\n" + ."\n" + .'Auto: automatic execution.', 'type' => 'string', 'example' => 'Manual', 'title' => ''], + 'config' => [ + 'description' => 'The configuration item.', + 'type' => 'object', + 'properties' => [ + 'autoApply' => ['description' => 'Specifies whether to automatically execute the task. Default value: false. Valid values:'."\n" + .'- **false**: No.'."\n" + .'- **true**: Yes.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'isDestroy' => ['description' => 'Specifies whether this is a destroy job.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'sharedAccounts' => [ + 'status' => ['description' => 'The deployment status.'."\n" + .'| Name | Description |'."\n" + .'|------|------|'."\n" + .'| Pending | The initial status after a deployment is created. |'."\n" + .'| PriorityQueued | The deployment is queued by priority. |'."\n" + .'| PlanQueued | The deployment is queued because no workflow is available after the deployment is created. |'."\n" + .'| ApplyQueued | The deployment is queued because no workflow is available during execution. |'."\n" + .'| Planning | The resource deployment is in the Plan phase. |'."\n" + .'| Planned | The resource deployment has completed the Plan phase. |'."\n" + .'| ConfigProactiveInProgress | A compliance pre-check is in progress. |'."\n" + .'| ConfigProactiveSuccess | The compliance pre-check succeeded. |'."\n" + .'| DetectInProgress | Drift detection is in progress. |'."\n" + .'| ImportQueued | The deployment is queued because no workflow is available during the Import phase. |'."\n" + .'| Importing | The resource deployment is in the Import phase. |'."\n" + .'| Imported | The resource deployment has completed the Import phase. |'."\n" + .'| StateQueued | The deployment is queued because no workflow is available during the state command execution. |'."\n" + .'| Stating | The resource deployment is executing the state command. |'."\n" + .'| Stated | The resource deployment has completed the state command execution. |'."\n" + .'| Confirmed | The resource deployment has been confirmed after the Plan phase. |'."\n" + .'| PlannedAndFinished | No differences were found after the Plan phase. The deployment is in a final status. |'."\n" + .'| Applying | The resource deployment is in the Apply phase. |'."\n" + .'| Applied | The resource deployment has completed the Apply phase. |'."\n" + .'| Discarded | The resource deployment has been discarded and is in a final status. |'."\n" + .'| Errored | The deployment encountered an error and is in a final status. |'."\n" + .'| ConfigProactiveFailure | The compliance pre-check failed. |'."\n" + .'| Canceled | The deployment has been canceled and is in a final status. |.', 'type' => 'string', 'example' => 'Pending', 'title' => ''], + 'taskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'task-as1d4vld8ogb2l32xxxxxx', 'title' => ''], + 'jobId' => ['description' => 'The job ID.', 'type' => 'string', 'example' => 'job-as154vldqt46mv0ixxxxx', 'title' => ''], + 'parameters' => [ + 'description' => 'The parameter set content.', 'type' => 'array', 'items' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'The parameter name.', 'type' => 'string', 'example' => 'region', 'title' => ''], + 'type' => ['description' => 'The parameter type.', 'type' => 'string', 'example' => 'string', 'title' => ''], + 'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'region of the resource', 'title' => ''], + 'value' => ['description' => 'The parameter value.', 'type' => 'string', 'example' => 'ap-southeast-6', 'title' => ''], + 'defaultValue' => ['description' => 'The default value of the parameter.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'sensitive' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'source' => [ - 'type' => 'string', - ], - 'sourceUrl' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', + 'outputs' => [ + 'description' => 'The outputs.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'The name.', 'type' => 'string', 'example' => 'project_name', 'title' => ''], + 'type' => ['description' => 'The parameter type.', 'type' => 'string', 'example' => 'string', 'title' => ''], + 'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'The name of the SLS log project', 'title' => ''], + 'value' => ['description' => 'The actual value after the deployment is completed.', 'type' => 'string', 'example' => 'log-project-xxxx', 'title' => ''], + 'expression' => ['description' => 'The expression, which can reference component outputs. Format: component.{component name}.{component output name}.', 'type' => 'string', 'example' => 'component.sls.project_name', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], - 'version' => [ - 'type' => 'string', + 'deploymentVersion' => ['description' => 'Deprecated field.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'failedReason' => ['description' => 'The failure reason.', 'type' => 'string', 'example' => '\\n Error: Invalid value for input variable\\n \\n on main.tf line 17, in module \\"alb\\":\\n 17: log_project = var.log_project.project_name\\n \\n The given value is not suitable for module.alb.var.log_project declared at\\n modules/alb/main.tf:34,1-23: string required.\\n╵\\n', 'title' => ''], + 'deploymentNo' => ['description' => 'The deployment number. The deployment number of each stack starts from 1 and increments each time a deployment is triggered.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'configVersion' => ['description' => 'The configuration version, such as v1. The initial value is v1. The version number increments each time the stack is updated or refreshed and the configuration changes.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'planOutputs' => [ + 'description' => 'The state file output results.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'stackModuleName' => ['description' => 'The component name of the stack.', 'type' => 'string', 'example' => 'sls', 'title' => ''], + 'resourceChanges' => [ + 'description' => 'The resource change information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'resourceIdentifier' => ['description' => 'The unique identifier of the resource.', 'type' => 'string', 'example' => 'alicloud_log_store.default', 'title' => ''], + 'resourceActions' => [ + 'description' => 'The types of resource change actions included in this resource change.', + 'type' => 'array', + 'items' => ['description' => 'The resource change type. Valid values:'."\n" + .'- create: resource creation.'."\n" + .'- update: resource update.'."\n" + .'- delete: resource deletion.'."\n" + .'- no-op: no change.'."\n" + .'- read: resource query.', 'type' => 'string', 'example' => 'update', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'change' => ['description' => 'The difference information of the resource change.', 'type' => 'string', 'example' => ' ~ resource \\"alicloud_log_store\\" \\"default\\" {\\n id = \\"alb-log-project-v1-ph-xxxxx:alb-log-store-ph\\"\\n ~ max_split_shard_count = 64 -> 32\\n name = \\"alb-log-store-ph\\"\\n\\n # (13 unchanged attributes hidden)\\n }', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'moduleAction' => ['description' => 'The change type of the component. Valid values:'."\n" + .'- create: all resource changes in the component are additions.'."\n" + .'- delete: all resource changes in the component are deletions.'."\n" + .'- read: all resource changes in the component are read operations.'."\n" + .'- update: resource changes in the component include two or more types among additions, deletions, and read operations.', 'type' => 'string', 'example' => 'update', 'title' => ''], + 'moduleActionDetail' => [ + 'description' => 'The number of resources to be added, updated, and destroyed in this deployment.', + 'type' => 'object', + 'properties' => [ + 'add' => ['description' => 'The number of resources to be created.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'change' => ['description' => 'The number of resources to be changed.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'destroy' => ['description' => 'The number of resources to be destroyed.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - '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', - ], + 'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], ], + 'example' => '', ], ], ], - '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', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query stack deployments', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetStackDeployments', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/{#stackId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"BF72A6FB-B071-5F2E-A036-9D62545B962C\\",\\n \\"deployments\\": [\\n {\\n \\"deploymentName\\": \\"production\\",\\n \\"createTime\\": \\"2026-04-01T12:10:18Z\\",\\n \\"elapsedTime\\": 38000,\\n \\"executeType\\": \\"Manual\\",\\n \\"config\\": {\\n \\"autoApply\\": false,\\n \\"isDestroy\\": false\\n },\\n \\"status\\": \\"Pending\\",\\n \\"taskId\\": \\"task-as1d4vld8ogb2l32xxxxxx\\",\\n \\"jobId\\": \\"job-as154vldqt46mv0ixxxxx\\",\\n \\"parameters\\": [\\n {\\n \\"name\\": \\"region\\",\\n \\"type\\": \\"string\\",\\n \\"description\\": \\"region of the resource\\",\\n \\"value\\": \\"ap-southeast-6\\",\\n \\"defaultValue\\": \\"cn-hangzhou\\",\\n \\"sensitive\\": false\\n }\\n ],\\n \\"outputs\\": [\\n {\\n \\"name\\": \\"project_name\\",\\n \\"type\\": \\"string\\",\\n \\"description\\": \\"The name of the SLS log project\\",\\n \\"value\\": \\"log-project-xxxx\\",\\n \\"expression\\": \\"component.sls.project_name\\"\\n }\\n ],\\n \\"deploymentVersion\\": \\"v1\\",\\n \\"failedReason\\": \\"\\\\\\\\n Error: Invalid value for input variable\\\\\\\\n \\\\\\\\n on main.tf line 17, in module \\\\\\\\\\\\\\"alb\\\\\\\\\\\\\\":\\\\\\\\n 17: log_project = var.log_project.project_name\\\\\\\\n \\\\\\\\n The given value is not suitable for module.alb.var.log_project declared at\\\\\\\\n modules/alb/main.tf:34,1-23: string required.\\\\\\\\n╵\\\\\\\\n\\",\\n \\"deploymentNo\\": \\"1\\",\\n \\"configVersion\\": \\"v1\\",\\n \\"planOutputs\\": [\\n {\\n \\"stackModuleName\\": \\"sls\\",\\n \\"resourceChanges\\": [\\n {\\n \\"resourceIdentifier\\": \\"alicloud_log_store.default\\",\\n \\"resourceActions\\": [\\n \\"update\\"\\n ],\\n \\"change\\": \\" ~ resource \\\\\\\\\\\\\\"alicloud_log_store\\\\\\\\\\\\\\" \\\\\\\\\\\\\\"default\\\\\\\\\\\\\\" {\\\\\\\\n id = \\\\\\\\\\\\\\"alb-log-project-v1-ph-xxxxx:alb-log-store-ph\\\\\\\\\\\\\\"\\\\\\\\n ~ max_split_shard_count = 64 -> 32\\\\\\\\n name = \\\\\\\\\\\\\\"alb-log-store-ph\\\\\\\\\\\\\\"\\\\\\\\n\\\\\\\\n # (13 unchanged attributes hidden)\\\\\\\\n }\\"\\n }\\n ],\\n \\"moduleAction\\": \\"update\\",\\n \\"moduleActionDetail\\": {\\n \\"add\\": 0,\\n \\"change\\": 1,\\n \\"destroy\\": 0\\n }\\n }\\n ]\\n }\\n ],\\n \\"totalCount\\": 10\\n}","type":"json"}]', + ], + 'GetStackExecutionResult' => [ + 'path' => '/stacks/trigger/{triggerId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'namespaceName', + 'name' => 'triggerId', 'in' => 'path', + 'schema' => ['description' => 'The unique ID of the trigger. Obtained from the TriggerStackExecution operation.', 'type' => 'string', 'required' => false, 'example' => 'event-xxxx', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'terraform-alicloud-modules', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'F2D40488-3F74-568B-87EC-1C04D098DF8B'], + 'triggerId' => ['description' => 'The unique ID of the trigger.', 'type' => 'string', 'example' => 'event-xxx', 'title' => ''], + 'stackResults' => [ + 'description' => 'The execution results of the triggered stacks.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'stackName' => ['description' => 'The stack name.', 'type' => 'string', 'example' => 'stack-demo', 'title' => ''], + 'stackId' => ['description' => 'The unique identifier of the stack.', 'type' => 'string', 'example' => 'stack-al181av2bloah5s53hacbp4', 'title' => ''], + 'stackStatus' => [ + 'description' => 'The execution status of the stack. Valid values:'."\n" + .'- Deploying: deploying'."\n" + .'- Errored: deployment failed'."\n" + .'- Deployed: deployment completed'."\n" + .'- Waiting: waiting for deployment.', + 'enumValueTitles' => ['Deploying' => 'Deploying.', 'Errored' => 'Deployment failed.', 'Deployed' => 'Deployment completed.', 'Waiting' => 'Waiting for deployment.'], + 'type' => 'string', + 'example' => 'Deployed', + 'title' => '', + ], + 'message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'No corresponding Stack found.', 'title' => ''], + 'deployments' => [ + 'description' => 'The deployment results of the stack.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'deploymentName' => ['description' => 'The deployment name.', 'type' => 'string', 'example' => 'prod', 'title' => ''], + 'status' => ['description' => 'The deployment status.', 'type' => 'string', 'example' => 'Applied', 'title' => ''], + 'jobResult' => ['description' => 'The result of the deployment task.', 'type' => 'string', 'example' => 'Service returned null result', 'title' => ''], + 'url' => ['description' => 'The URL to view the deployment details.', 'type' => 'string', 'example' => 'https://iacnext.console.aliyun.com/stack/stack-al181av2bloah5s53hacbp4/details?deploymentName=production&deploymentNo=6&configVersion=v1', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'triggeredStatus' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Get stack trigger result', + 'summary' => 'Retrieves the trigger result of a stack.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'moduleName', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ecs-rds-redis', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetStackExecutionResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"F2D40488-3F74-568B-87EC-1C04D098DF8B\\",\\n \\"triggerId\\": \\"event-xxx\\",\\n \\"stackResults\\": [\\n {\\n \\"stackName\\": \\"stack-demo\\",\\n \\"stackId\\": \\"stack-al181av2bloah5s53hacbp4\\",\\n \\"stackStatus\\": \\"Deployed\\",\\n \\"message\\": \\"No corresponding Stack found.\\",\\n \\"deployments\\": [\\n {\\n \\"deploymentName\\": \\"prod\\",\\n \\"status\\": \\"Applied\\",\\n \\"jobResult\\": \\"Service returned null result\\",\\n \\"url\\": \\"https://iacnext.console.aliyun.com/stack/stack-al181av2bloah5s53hacbp4/details?deploymentName=production&deploymentNo=6&configVersion=v1\\"\\n }\\n ]\\n }\\n ],\\n \\"triggeredStatus\\": \\"\\"\\n}","type":"json"}]', + ], + 'GetTask' => [ + 'summary' => 'Retrieves the details of a task.', + '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' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => 'task-433aead7560571f8c2e176e7325', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'registryModule' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C24C498A-09CF-54D3-8972-8DC074CF8614'], + 'task' => [ + 'description' => 'The task information.', 'type' => 'object', 'properties' => [ - 'acl' => [ - 'type' => 'string', - ], - 'createTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'downloads' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'moduleName' => [ - 'type' => 'string', + 'autoApply' => ['description' => 'Indicates whether the task is automatically executed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'autoDestroy' => ['description' => 'Indicates whether automatic deletion is enabled. If enabled, resources are automatically destroyed after the task is completed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'createTime' => ['description' => 'The time when the task was created.', 'type' => 'string', 'example' => '2022-06-15T02:44:37Z', 'title' => ''], + 'currentJobId' => ['description' => 'The job ID of the current task.', 'type' => 'string', 'example' => 'job-absdf', 'title' => ''], + 'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'this is description'."\n", 'title' => ''], + 'groupInfo' => [ + 'description' => 'The group information.', + 'type' => 'object', + 'properties' => [ + 'groupId' => ['description' => 'The group ID.', 'type' => 'string', 'example' => 'g-59d8d22e78792ffe3d3eb6154d727', 'title' => ''], + 'groupName' => ['description' => 'The group name.', 'type' => 'string', 'example' => 'abc', 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'p-433aead756057fff47ecbfd94d76', 'title' => ''], + 'projectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'abc', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'namespaceName' => [ - 'type' => 'string', + 'initModuleState' => ['description' => 'Specifies whether to use a state file. Default value: false. This parameter applies to templates that originate from resource export. Only one task can use this parameter at a time.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'moduleId' => ['description' => 'The template ID.', 'type' => 'string', 'example' => 'mod-4267dcfbf1b6d14625614ddbe15', 'title' => ''], + 'moduleVersion' => ['description' => 'The template version.', 'type' => 'string', 'example' => 'v2', 'title' => ''], + 'name' => ['description' => 'The task name.', 'type' => 'string', 'example' => 'TaskName', 'title' => ''], + 'protectionStrategy' => [ + 'description' => 'The list of resource protection strategies.', + 'type' => 'array', + 'items' => ['description' => 'The resource protection strategy. Valid values:'."\n" + ."\n" + .'- PreventDestroy: deletion protection. Resources cannot be deleted.'."\n" + .'- PreventUpdate: in-place update protection. No changes are allowed.'."\n" + .'- PreventReplace: ForceNew protection. Resources cannot be deleted and recreated.', 'type' => 'string', 'example' => 'PreventDestroy', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'provider' => [ - 'type' => 'string', + 'ramRole' => ['description' => 'The RAM role.', 'type' => 'string', 'example' => 'role', 'title' => ''], + 'skipPropertyValidation' => ['description' => 'Specifies whether to skip enumeration value validation. Default value: false.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'status' => ['description' => 'The task status. Valid values:'."\n" + ."\n" + .'- Available: the task is available and no job is running.'."\n" + .'- Running: a job is currently running.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + 'taskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'task-433aead756057154bda7f1c2e98', 'title' => ''], + 'taskOutputPath' => ['description' => 'The task output path.', 'type' => 'string', 'example' => '/', 'title' => ''], + 'terraformVersion' => ['description' => 'The Terraform version.', 'type' => 'string', 'example' => '1.5.7', 'title' => ''], + 'triggerStrategy' => ['description' => 'The job trigger method. Valid values:'."\n" + ."\n" + .'- Manual: manually triggered. This is the default value.'."\n" + .'- NewVersion: triggered when a new version of the template is published.'."\n" + .'- ParameterSetUpdated: triggered when the parameter set content changes or the parameter set attach relationship changes.'."\n" + .'- Auto: automatically triggered when the task properties change, such as when you create a task, update the execution version, or change the job trigger policy (when changed from another value to Auto).', 'type' => 'string', 'example' => 'Manual', 'title' => ''], + 'moduleName' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'moduleName', 'title' => ''], + 'taskBackend' => [ + 'description' => 'The task backend configuration. After this parameter is configured, runtime log information is saved to the specified OSS bucket.', + 'type' => 'object', + 'properties' => [ + 'bucketName' => ['description' => 'The bucket name.', 'type' => 'string', 'example' => 'iac-runtime-test'."\n", 'title' => ''], + 'bucketEndpoint' => ['description' => 'The endpoint information.', 'type' => 'string', 'example' => 'ss-cn-beijing.aliyuncs.com'."\n", 'title' => ''], + 'objectPath' => ['description' => 'The object path.', 'type' => 'string', 'example' => '/log'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'sharedAccounts' => [ + 'latestModuleVersion' => ['description' => 'The latest version number of the template.', 'type' => 'string', 'example' => 'v3', 'title' => ''], + 'deletionProtection' => ['description' => 'Indicates whether deletion protection is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'currentJobStatus' => ['description' => 'The current job status.', 'type' => 'string', 'example' => 'Planned', 'title' => ''], + 'tags' => [ + 'description' => 'The list of task tags.', 'type' => 'array', 'items' => [ - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The list of task tags.', + 'type' => 'object', + 'properties' => [ + 'tagValue' => ['description' => 'The tag value of the task.', 'type' => 'string', 'example' => 'TestValue', 'title' => ''], + 'tagKey' => ['description' => 'The tag key of the task.', 'type' => 'string', 'example' => 'TestKey', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - ], - 'source' => [ - 'type' => 'string', - ], - 'sourceUrl' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - 'version' => [ - 'type' => 'string', + 'title' => '', + 'example' => '', ], ], - ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '5B5AD471-5036-581B-AC9B-7D5EECED877A', + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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"}]', + 'title' => 'Retrieve task details', + 'description' => 'Per-user call frequency: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2023-07-11T07:34:16.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-11-29T13:37:13.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-01T06:23:45.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-06-27T10:03:05.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-27T03:21:26.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-27T03:21:26.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-27T03:21:26.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '450', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}'], + ], + ], + ], ], - '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', - ], + 'GetTerraformStateDetection' => [ + 'summary' => 'Retrieves the detection result of a state file.', + 'path' => '/terraformState/detect/{detectionId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'namespaceName', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test_namespace', - ], - ], - [ - 'name' => 'moduleName', + 'name' => 'detectionId', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ess-scaling-rule', - ], + 'schema' => ['description' => 'The ID of the detection task.', 'type' => 'string', 'required' => false, 'example' => 'job-ascxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '545995A8-243D-5963-A940-B74FAF6009B5', + 'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9'], + 'job' => [ + 'description' => 'The job details.', + 'type' => 'object', + 'properties' => [ + 'type' => [ + 'description' => 'The task type.', + 'enumValueTitles' => ['Task' => 'Task', 'Stack' => 'Stack'], + 'type' => 'string', + 'example' => 'Stack', + 'title' => '', + ], + 'identifier' => ['description' => 'The task identifier. For a Stack task, the value is in the format of <$stackId>:<$deploymentName>. For a Task task, the value is <$TaskId>.', 'type' => 'string', 'example' => 'stack-as181axxxxxx:development_xxxx', 'title' => ''], + 'status' => ['description' => 'The job status. Valid values:'."\n" + ."\n" + .'- Pending: the initial status after the job is created.'."\n" + .'- PlanQueued: the job is queued because no containers are available after the job is created.'."\n" + .'- Planning: the resource job is in the Plan execution phase.'."\n" + .'- Planned: the resource job has completed the Plan execution.'."\n" + .'- PlannedAndFinished: no differences are found after the Plan execution is complete. The job is in a final status.'."\n" + .'- Errored: the job execution encountered an error and entered a final status.', 'type' => 'string', 'example' => 'Errored', 'title' => ''], + 'errorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'planned failed', 'title' => ''], + 'changedResources' => [ + 'description' => 'The collection of resources with state changes.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'resourceIdentifier' => ['description' => 'The identifier of the resource in the Terraform template. For a Stack task, the value is in the format of <$componetName>:<$resourceName>. For a Task task, the value is <$resourceName>.', 'type' => 'string', 'example' => 'vpc:alicloud_vpc.default', 'title' => ''], + 'resourceId' => ['description' => 'The Terraform resource ID.', 'type' => 'string', 'example' => 'vpc-axxxxx', 'title' => ''], + 'changedType' => ['description' => 'The change type.', 'type' => 'string', 'example' => 'create', 'title' => ''], + 'attributeChanges' => [ + 'description' => 'The collection of attribute changes.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'attributePath' => ['description' => 'The attribute name.', 'type' => 'string', 'example' => 'vpc_name', 'title' => ''], + 'remoteValue' => ['description' => 'The server-side state value.', 'type' => 'string', 'example' => 'test_remote', 'title' => ''], + 'templateValue' => ['description' => 'The template-declared value.', 'type' => 'string', 'example' => 'test_hcl', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'hasDrift' => ['description' => 'Indicates whether resource drift exists.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'driftedResources' => [ + 'description' => 'The collection of resources with state drift.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'resourceIdentifier' => ['description' => 'The identifier of the resource in the Terraform template. For a Stack task, the value is in the format of <$componetName>:<$resourceName>. For a Task task, the value is <$resourceName>.', 'type' => 'string', 'example' => 'vpc:alicloud_vpc.default2'."\n", 'title' => ''], + 'resourceId' => ['description' => 'The Terraform resource ID.', 'type' => 'string', 'example' => 'vpc-bxxxxx', 'title' => ''], + 'driftedType' => ['description' => 'The drift type.', 'type' => 'string', 'example' => 'update', 'title' => ''], + 'attributeDrifts' => [ + 'description' => 'The collection of attribute drifts.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'attributePath' => ['description' => 'The attribute name.', 'type' => 'string', 'example' => 'vpc_name', 'title' => ''], + 'stateValue' => ['description' => 'The value stored in the state file.', 'type' => 'string', 'example' => 'test_state', 'title' => ''], + 'remoteValue' => ['description' => 'The server-side state value.', 'type' => 'string', 'example' => 'test_remote', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"545995A8-243D-5963-A940-B74FAF6009B5\\"\\n}","type":"json"}]', - ], - 'PublishRegistryModuleVersion' => [ - 'summary' => '发布RegistryModule版本', - 'path' => '/registryModuleVersion', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve state file detection result', + 'description' => 'This API is used to retrieve the detection results of state files for resource orchestration tasks and stack tasks on the automation service desk.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetTerraformStateDetection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9\\",\\n \\"job\\": {\\n \\"type\\": \\"Stack\\",\\n \\"identifier\\": \\"stack-as181axxxxxx:development_xxxx\\",\\n \\"status\\": \\"Errored\\",\\n \\"errorMessage\\": \\"planned failed\\",\\n \\"changedResources\\": [\\n {\\n \\"resourceIdentifier\\": \\"vpc:alicloud_vpc.default\\",\\n \\"resourceId\\": \\"vpc-axxxxx\\",\\n \\"changedType\\": \\"create\\",\\n \\"attributeChanges\\": [\\n {\\n \\"attributePath\\": \\"vpc_name\\",\\n \\"remoteValue\\": \\"test_remote\\",\\n \\"templateValue\\": \\"test_hcl\\"\\n }\\n ],\\n \\"hasDrift\\": false\\n }\\n ],\\n \\"driftedResources\\": [\\n {\\n \\"resourceIdentifier\\": \\"vpc:alicloud_vpc.default2\\\\n\\",\\n \\"resourceId\\": \\"vpc-bxxxxx\\",\\n \\"driftedType\\": \\"update\\",\\n \\"attributeDrifts\\": [\\n {\\n \\"attributePath\\": \\"vpc_name\\",\\n \\"stateValue\\": \\"test_state\\",\\n \\"remoteValue\\": \\"test_remote\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListDetectConfigRelations' => [ + 'summary' => 'List drift detection associations ', + 'path' => '/terraformState/detectConfig/operations/relation', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'targetType', + 'in' => 'query', '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', - ], - ], + 'enumValueTitles' => ['Task' => 'Task', 'Stack' => 'Stack'], + 'description' => 'Type of the association target'."\n" + ."\n" + .'- Task: orchestration Job '."\n" + .'- Stack: resource stack', + 'type' => 'string', 'required' => false, + 'example' => 'Stack', + 'title' => '', ], ], + [ + 'name' => 'targetId', + 'in' => 'query', + 'schema' => ['description' => 'Target ID to associate. StackId or TaskId', 'type' => 'string', 'required' => false, 'example' => 'stack-xxxxx', 'title' => ''], + ], + [ + 'name' => 'detectConfigId', + 'in' => 'query', + 'schema' => ['description' => 'Drift detection configuration ID', 'type' => 'string', 'required' => false, 'example' => 'dc-xxxx', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'description' => 'Response struct ', + 'title' => 'Schema of Response ', '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', + 'detectConfigRelations' => [ + 'description' => 'List of associations ', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'detectConfigId' => ['description' => 'Drift detection configuration ID ', 'type' => 'string', 'example' => 'dc-xxxx', 'title' => ''], + 'targetType' => [ + 'enumValueTitles' => ['Task' => 'Task ', 'Stack' => 'Stack '], + 'description' => 'Target type '."\n" + ."\n" + .'- Task: orchestration job '."\n" + .'- Stack: resource stack ', + 'type' => 'string', + 'example' => 'Stack', + 'title' => '', + ], + 'targetId' => ['description' => 'Target ID. StackId or TaskId ', 'type' => 'string', 'example' => 'stack-xxxx', 'title' => ''], + 'attachDate' => ['description' => 'Association time ', 'type' => 'string', 'example' => '2026-04-08T08:53:07.000+00:00', 'title' => ''], + 'targetName' => ['description' => 'Target name ', 'type' => 'string', 'example' => 'stack-name-xxx', 'title' => ''], + 'enabled' => ['description' => 'Whether enabled ', 'type' => 'string', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'requestId' => ['description' => 'ID of the request ', 'title' => 'ID of the request ', 'type' => 'string', 'example' => '0D797DC3-FF04-5C21-81EB-XXXXXXXXX'], + 'totalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'List drift detection associations', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"36E1679B-4D91-5AF6-B505-B5D4ACDF75BD\\",\\n \\"version\\": \\"1.1.1\\"\\n}","type":"json"}]', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"detectConfigRelations\\": [\\n {\\n \\"detectConfigId\\": \\"dc-xxxx\\",\\n \\"targetType\\": \\"Stack\\",\\n \\"targetId\\": \\"stack-xxxx\\",\\n \\"attachDate\\": \\"2026-04-08T08:53:07.000+00:00\\",\\n \\"targetName\\": \\"stack-name-xxx\\",\\n \\"enabled\\": \\"true\\"\\n }\\n ],\\n \\"requestId\\": \\"0D797DC3-FF04-5C21-81EB-XXXXXXXXX\\",\\n \\"totalCount\\": 5\\n}","type":"json"}]', + 'translator' => 'machine', ], - 'ListRegistryModuleVersions' => [ - 'summary' => '获取RegistryModule版本列表', - 'path' => '/registryModuleVersion', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListDetectConfigs' => [ + 'summary' => 'List drift detection configurations ', + 'path' => '/terraformState/detectConfig', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'namespaceName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'terraform-alicloud-modules', - ], - ], - [ - 'name' => 'moduleName', + 'name' => 'detectConfigName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ecs-rds', - ], + 'schema' => ['description' => 'Name of the drift detection configuration (fuzzy match). ', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'Maximum number of records to retrieve in a single request. Valid range: 1–200. Default value: 100. ', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'TRkuCaTw/VsEHrnCZgrBA0ftQSEJU/lzo2ei7MJjplg=', - ], + 'schema' => ['description' => 'Query credential (Token). Set this parameter to the NextToken value returned by the previous API call. ', 'type' => 'string', 'required' => false, 'example' => '30BaZ9ekYWXJdqshYecA++coNg7qT1Zbm3RfLyFIZeY=', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'description' => 'Schema of Response ', + 'title' => 'Schema of Response ', 'type' => 'object', 'properties' => [ - 'moduleVersions' => [ + 'detectConfigs' => [ + 'description' => 'List of drift detection configurations ', 'type' => 'array', 'items' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'sourceUrl' => [ - 'type' => 'string', - ], - 'createTime' => [ - 'type' => 'string', - ], - 'provider' => [ - 'type' => 'string', - ], - 'moduleName' => [ - 'type' => 'string', - ], - 'source' => [ - 'type' => 'string', - ], - 'version' => [ - 'type' => 'string', - ], - 'namespaceName' => [ - 'type' => 'string', + 'createTime' => ['description' => 'Creation Time. ', 'type' => 'string', 'example' => '2026-04-10T02:30:04Z'."\n", 'title' => ''], + 'description' => ['description' => 'Description. ', 'type' => 'string', 'example' => 'this is a description'."\n", 'title' => ''], + 'detectConfigName' => ['description' => 'Name of the drift detection configuration. ', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'detectConfigId' => ['description' => 'Drift detection configuration ID', 'type' => 'string', 'example' => 'dc-xxxx', 'title' => ''], + 'enabled' => ['description' => 'Whether drift detection is enabled. ', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'triggerType' => ['description' => 'Trigger type '."\n" + ."\n" + .'- Manual: Execute manually '."\n" + .'- Cron: Trigger on schedule ', 'type' => 'string', 'example' => 'Cron', 'title' => ''], + 'cronExpression' => ['description' => 'Cron expression (UTC+8). Required when the trigger type is Cron. ', 'type' => 'string', 'example' => '0 0 0 ? * 1'."\n", 'title' => ''], + 'alarmConfigs' => [ + 'description' => 'List of alerting addresses ', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'type' => ['description' => 'Alerting method. Currently only `cms` is supported. ', 'type' => 'string', 'example' => 'cms', 'title' => ''], + 'address' => ['description' => 'Alerting address. ', 'type' => 'string', 'example' => 'https://metrichub-cms-cn-hangzhou.aliyuncs.com/event/notify?xxxxx', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - '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', - ], + 'requestId' => ['description' => 'ID of the request. ', 'title' => 'ID of the request. ', 'type' => 'string', 'example' => '79284133-D4BA-56B3-954C-D538256F7EAA'], + 'totalCount' => ['description' => 'Total number of records. ', 'type' => 'integer', 'format' => 'int32', 'example' => '82', 'title' => ''], + 'nextToken' => ['description' => 'Paging nextToken. ', 'type' => 'string', 'example' => '30BaZ9ekYWXJdqshYecA++coNg7qT1Zbm3RfLyFIZeY=', 'title' => ''], + 'maxResults' => ['description' => 'Maximum number of records to retrieve in a single request. ', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'List drift detection configurations. ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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"}]', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"detectConfigs\\": [\\n {\\n \\"createTime\\": \\"2026-04-10T02:30:04Z\\\\n\\",\\n \\"description\\": \\"this is a description\\\\n\\",\\n \\"detectConfigName\\": \\"test\\",\\n \\"detectConfigId\\": \\"dc-xxxx\\",\\n \\"enabled\\": true,\\n \\"triggerType\\": \\"Cron\\",\\n \\"cronExpression\\": \\"0 0 0 ? * 1\\\\n\\",\\n \\"alarmConfigs\\": [\\n {\\n \\"type\\": \\"cms\\",\\n \\"address\\": \\"https://metrichub-cms-cn-hangzhou.aliyuncs.com/event/notify?xxxxx\\"\\n }\\n ]\\n }\\n ],\\n \\"requestId\\": \\"79284133-D4BA-56B3-954C-D538256F7EAA\\",\\n \\"totalCount\\": 82,\\n \\"nextToken\\": \\"30BaZ9ekYWXJdqshYecA++coNg7qT1Zbm3RfLyFIZeY=\\",\\n \\"maxResults\\": 20\\n}","type":"json"}]', + 'translator' => 'machine', ], - 'GetRegistryModuleVersion' => [ - 'summary' => '获取RegistryModule版本信息', - 'path' => '/registryModuleVersion/{namespaceName}/{moduleName}/{version}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListExplorerRegistryModuleExamples' => [ + 'summary' => 'Retrieves the list of official Terraform Module examples.', + 'path' => '/explorerRegistryModule/example', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ - 'AK' => [], + 'Anonymous' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'namespaceName', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'alibabacloud', - ], + 'in' => 'query', + 'schema' => ['description' => 'The name of the workspace to which the module belongs.', 'type' => 'string', 'required' => false, 'example' => 'alibaba', 'title' => ''], ], [ 'name' => 'moduleName', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ram-user', - ], + 'in' => 'query', + 'schema' => ['description' => 'The name of the module.', 'type' => 'string', 'required' => false, 'example' => 'sls', 'title' => ''], ], [ - 'name' => 'version', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1.1.0', - ], + 'name' => 'moduleVersion', + 'in' => 'query', + 'schema' => ['description' => 'The version of the module.', 'type' => 'string', 'required' => false, 'example' => '1.11.0', 'title' => ''], + ], + [ + 'name' => 'exampleName', + 'in' => 'query', + 'schema' => ['description' => 'The example name of the module.', 'type' => 'string', 'required' => false, 'example' => 'complete', 'title' => ''], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The search keyword. Supports fuzzy match based on the module name or module example name.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries per page.'."\n" + ."\n" + .'Valid values: 0 to 200.'."\n" + ."\n" + .'Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token for the next page of results.'."\n" + ."\n" + .'If the total number of entries exceeds the maxResults limit, the data is truncated. You can use nextToken to query the next page of data.', 'type' => 'string', 'required' => false, 'example' => 'IbuvZbAXFOiB4nKg8iOH447bhHWDavGTOMijI2Jep7c=', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', - ], + 'explorerRegistryModuleExamples' => [ + 'description' => 'The list of Explorer community module examples.', + 'type' => 'array', + 'items' => [ + 'description' => 'The Explorer community module example.', + 'type' => 'object', + 'properties' => [ + 'moduleName' => ['description' => 'The module name.', 'type' => 'string', 'example' => 'iactestname1', 'title' => ''], + 'moduleVersion' => ['description' => 'The module version.', 'type' => 'string', 'example' => '1.11.0', 'title' => ''], + 'exampleName' => ['description' => 'The example name.', 'type' => 'string', 'example' => '201-use-case-create-actiontrail-trail', 'title' => ''], + 'status' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Available', 'title' => ''], + 'examplePath' => ['description' => 'The example path.', 'type' => 'string', 'example' => '/', 'title' => ''], + 'exampleSchema' => ['description' => 'The example schema.', 'type' => 'object', 'example' => '{}', 'title' => ''], + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'alibaba', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '62DF26B0-53F0-5747-9D7F-FEF444FB4E24', - ], + 'title' => '', + 'example' => '', + ], + 'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '132', 'title' => ''], + 'maxResults' => ['description' => 'The maximum number of entries per page.'."\n" + ."\n" + .'Valid values: 0 to 200.'."\n" + ."\n" + .'Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'nextToken' => ['description' => 'The pagination token for the next page of results.'."\n" + ."\n" + .'If the total number of entries exceeds the maxResults limit, the data is truncated. You can use nextToken to query the next page of data.', 'type' => 'string', 'example' => 'VSjwD+sJ8OZJ8fNjV89AZs7o2AdSD25ZQLeWZ8REjXA=', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BA8F6459-EED6-556B-8130-D150A3866E56'], ], + 'example' => '', ], ], ], - '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"}]', + '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"}]', + 'title' => 'List official registry module examples', + 'description' => 'This operation queries the example information of Terraform Modules officially provided by Alibaba Cloud.'."\n" + ."\n" + .'You can use the `maxResults` parameter to adjust the maximum number of entries to return.'."\n" + .'- If `nextToken` is not included in the response, no more data is available. Otherwise, more data is available. To query the next page, set the `nextToken` parameter of the ListExplorerRegistryModuleExamples operation to the `nextToken` value returned in the previous response. If the `NextToken` parameter is not specified, the first page of data is returned by default.'."\n" + .'- You can use keyword, namespaceName, moduleName, moduleVersion, and exampleName as conditional filter settings to narrow down the search scope. Multiple filter conditions have a logical `AND` relationship, and only resources that meet all filter conditions are returned.'."\n" + .' - keyword: optional. Searches by keyword and supports fuzzy match on exampleName. For example, if keyword is set to ecs, module examples whose names contain ecs are returned.'."\n" + .' - namespaceName: optional. Filters module examples by a specific workspace. For example, if namespaceName is set to alibaba, module examples in the alibaba workspace are returned.'."\n" + .' - moduleName: optional. Filters module examples by a specific module name. For example, if moduleName is set to ecs, module examples whose module name is ecs are returned.'."\n" + .' - moduleVersion: optional. Filters module examples by a specific module version. For example, if moduleVersion is set to 1.0.0, module examples whose module version is 1.0.0 are returned.'."\n" + .' - exampleName: optional. Filters module examples by a specific example name. For example, if exampleName is set to ecs, module examples whose example name is ecs are returned.'."\n" + ."\n" + .'The response contains the request ID, total number of entries, data of the current page, and pagination information, which facilitates processing of query results.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExplorerRegistryModuleExamples'], + ], + ], + 'ramActions' => [], ], - 'DeleteRegistryModuleVersion' => [ - 'summary' => '删除RegistryModule版本', - 'path' => '/registryModuleVersion/{namespaceName}/{moduleName}/{version}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'ListExplorerRegistryModuleVersions' => [ + 'summary' => 'Lists the version information of official Terraform modules provided by Alibaba Cloud.', + 'path' => '/explorerRegistryModule/version', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ - 'AK' => [], + 'Anonymous' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'namespaceName', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test_namespace', - ], + 'in' => 'query', + 'schema' => ['description' => 'The name of the workspace to which the module belongs.', 'type' => 'string', 'required' => false, 'example' => 'alibaba', 'title' => ''], ], [ 'name' => 'moduleName', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'sls', - ], + 'in' => 'query', + 'schema' => ['description' => 'The name of the module.', 'type' => 'string', 'required' => false, 'example' => 'vpc', 'title' => ''], ], [ - 'name' => 'version', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1.0.0', - ], + 'name' => 'moduleVersion', + 'in' => 'query', + 'schema' => ['description' => 'The version of the module.', 'type' => 'string', 'required' => false, 'example' => '1.11.0', 'title' => ''], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The search keyword. Fuzzy match is supported based on the module name.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries per page.'."\n" + ."\n" + .'Valid values: 0 to 200.'."\n" + ."\n" + .'Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token for the next page of results.'."\n" + ."\n" + .'If the total number of entries exceeds the maxResults limit, the data is truncated. You can use nextToken to query the next page of data.', 'type' => 'string', 'required' => false, 'example' => 'lJTuhMWkNH89zZWyYM9GjpAbgRb+bPPPwN0Q3pclzKI=', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '491A1E2E-EA1E-5F90-958A-A53EB67780FC', - ], + 'explorerRegistryModuleVersions' => [ + 'description' => 'The list of Explorer community module versions.', + 'type' => 'array', + 'items' => [ + 'description' => 'The Explorer community module version.', + 'type' => 'object', + 'properties' => [ + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'namespace-test', 'title' => ''], + 'moduleName' => ['description' => 'The module name.', 'type' => 'string', 'example' => 'eip-slb-ecs-polardb', 'title' => ''], + 'source' => ['description' => 'The source.', 'type' => 'string', 'example' => 'test_namespace/RegistryModule-test4', 'title' => ''], + 'version' => ['description' => 'The version number.', 'type' => 'string', 'example' => '1.5.0', 'title' => ''], + 'properties' => ['description' => 'The resource properties.', 'type' => 'object', 'example' => '{}', 'title' => ''], + 'moduleDetail' => ['description' => 'The module details.', 'type' => 'object', 'example' => '{}', 'title' => ''], + 'moduleFile' => ['description' => 'The module file.', 'type' => 'object', 'example' => '{}', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '22', 'title' => ''], + 'maxResults' => ['description' => 'The maximum number of entries per page.'."\n" + ."\n" + .'Valid values: 0 to 200.'."\n" + ."\n" + .'Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'nextToken' => ['description' => 'The pagination token for the next page of results.'."\n" + ."\n" + .'If the total number of entries exceeds the maxResults limit, the data is truncated. You can use nextToken to query the next page of data.', 'type' => 'string', 'example' => 'oIM6ssGyh00noi5zoDR1hJ4dD+2BRJj42DLT6GrZysw=', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'F2D40488-3F74-568B-87EC-1C04D098DF8B'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"491A1E2E-EA1E-5F90-958A-A53EB67780FC\\"\\n}","type":"json"}]', + '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"}]', + 'title' => 'List official registry module versions', + 'description' => 'This operation queries the version information of official Terraform modules provided by Alibaba Cloud.'."\n" + ."\n" + .'You can use the `maxResults` parameter to adjust the maximum number of entries to return.'."\n" + .'- If `nextToken` is not included in the response, no more data is available. Otherwise, more data is available. To query the next page, set the `nextToken` parameter of the ListExplorerRegistryModules operation to the `nextToken` value returned in the previous response. If the `NextToken` parameter is not specified, the first page of data is returned by default.'."\n" + .'- You can use keyword, namespaceName, moduleName, and moduleVersion as conditional filter Settings to narrow the search scope. Multiple filter conditions have a logical `AND` relationship. Only resources that meet all filter conditions are returned.'."\n" + .' - keyword: optional. Performs a fuzzy match on the module name. For example, if keyword is set to ecs, modules whose names contain ecs are returned.'."\n" + .' - namespaceName: optional. Filters modules by a specific workspace. For example, if namespaceName is set to alibaba, modules whose workspace is alibaba are returned. When moduleName is specified, namespaceName must also be specified. You can call the ListExplorerRegistryModule operation to obtain the namespaceName information.'."\n" + .' - moduleName: optional. Filters modules by a specific name. For example, if moduleName is set to ecs, modules whose name is ecs are returned.'."\n" + .' - moduleVersion: optional. Filters modules by a specific version. For example, if moduleVersion is set to 1.0.0, modules whose version is 1.0.0 are returned.'."\n" + ."\n" + .'The response contains the request ID, total number of entries, data on the current page, and pagination information, which facilitates the processing of query results.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExplorerRegistryModuleVersions'], + ], + ], + 'ramActions' => [], ], - 'ListTerraformProviderVersions' => [ - 'summary' => 'terraformProvider版本', - 'path' => '/version/terraform/provider', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListExplorerRegistryModules' => [ + 'summary' => 'Lists information about official Terraform modules provided by Alibaba Cloud.', + 'path' => '/explorerRegistryModule', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'Anonymous' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'readOnly' => false, - ], + 'schema' => ['description' => 'The search keyword for the module name. Fuzzy matching is performed based on `moduleName`.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries per page.'."\n" + ."\n" + .'Valid values: 0 to 200.'."\n" + ."\n" + .'Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The pagination token for the next page of results.'."\n" + ."\n" + .'If the total number of entries exceeds the maxResults limit, the data is truncated. You can use nextToken to query the next page of data.', 'type' => 'string', 'required' => false, 'example' => 'DxEkv+3w0EDAQgcRFBp8Ep4dD+2BRJj42DLT6GrZysw=', 'title' => ''], ], [ - 'name' => 'maxResults', + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['description' => 'The sort order of the returned results. Valid values:'."\n" + .'- Normal (default): returns results in normal order.'."\n" + .'- Top: returns results sorted by popularity.', 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], + ], + [ + 'name' => 'moduleName', 'in' => 'query', + 'schema' => ['description' => 'The name of the module.'."\n" + ."\n" + .'Note: The module name is not necessarily the same as the product name or resource name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'maximum' => '200', - 'minimum' => '0', - 'readOnly' => false, + 'title' => '', + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'explorerRegistryModules' => [ + 'description' => 'The list of Explorer community modules.', + 'type' => 'array', + 'items' => [ + 'description' => 'The Explorer community module.', + 'type' => 'object', + 'properties' => [ + 'moduleName' => ['description' => 'The module name.', 'type' => 'string', 'example' => 'terraform-alicloud-modules/mongodb', 'title' => ''], + 'latestVersion' => ['description' => 'The latest version number.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'source' => ['description' => 'The source.', 'type' => 'string', 'example' => 'terraform-alicloud-modules/mongodb/alicloud', 'title' => ''], + 'status' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Default', 'title' => ''], + 'downloads' => ['description' => 'The number of downloads.', 'type' => 'integer', 'format' => 'int64', 'example' => '34', 'title' => ''], + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'test_namespace', 'title' => ''], + 'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '170', 'title' => ''], + 'maxResults' => ['description' => 'The maximum number of entries per page.'."\n" + ."\n" + .'Valid values: 0 to 200.'."\n" + ."\n" + .'Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'nextToken' => ['description' => 'The pagination token for the next page of results.'."\n" + ."\n" + .'If the total number of entries exceeds the maxResults limit, the data is truncated. You can use nextToken to query the next page of data.', 'type' => 'string', 'example' => 'DxEkv+3w0EDAQgcRFBp8Ep4dD+2BRJj42DLT6GrZysw=', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '1A662F56-CA76-55F6-869D-7F26293B8E67'], + ], + 'example' => '', ], ], + ], + '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"}]', + 'title' => 'List official registry modules', + 'description' => 'This operation queries information about official Terraform modules provided by Alibaba Cloud.'."\n" + ."\n" + .'You can use the `maxResults` parameter to adjust the maximum number of entries to return.'."\n" + .'- If the `nextToken` parameter is not included in the response, no more data is available. Otherwise, more data is available. To query the next page, set the `nextToken` parameter of the ListExplorerRegistryModules operation to the `nextToken` value returned in the previous response. If you do not specify the `NextToken` parameter, the first page of data is returned by default.'."\n" + .'- You can use keyword and moduleName as filter conditions to narrow the search scope. Multiple filter conditions are evaluated by using a logical `AND`. Only resources that meet all filter conditions are returned.'."\n" + .' - keyword: optional. Searches by keyword through fuzzy matching against ModuleName. For example, if keyword is set to ecs, modules whose names contain ecs are returned.'."\n" + .' - moduleName: optional. Filters modules by a specific name. For example, if moduleName is set to ecs, only the module whose name is exactly ecs is returned.'."\n" + ."\n" + .'The response contains the request ID, total number of entries, data of the current page, and pagination information, which facilitates the processing of query results.', + 'changeSet' => [ + ['createdAt' => '2025-08-01T07:19:06.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExplorerRegistryModules'], + ], + ], + 'ramActions' => [], + ], + 'ListGroup' => [ + 'summary' => 'Queries the list of groups.', + 'path' => '/group', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'usage', + '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' => 'The number of results to return per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'string', 'required' => false, 'example' => '200', 'title' => ''], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'projectId', + 'in' => 'query', + 'schema' => ['description' => 'The project ID.', 'type' => 'string', 'required' => false, 'example' => 'p-14e80de4866bf7ffed0c4072ed9b37', 'title' => ''], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The search keyword. Name-based search is supported.', 'type' => 'string', 'required' => false, 'example' => 'test-case2', 'title' => ''], + ], + [ + 'name' => 'tag', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'description' => 'The list of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of tags.', + 'type' => 'object', + 'properties' => [ + 'key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + 'value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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' => [ + 'count' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'groups' => [ + 'description' => 'The list of service group IDs.', 'type' => 'array', 'items' => [ + 'description' => 'The list of service group IDs.', 'type' => 'object', 'properties' => [ - 'version' => [ - 'type' => 'string', - ], - 'publishedTime' => [ - 'type' => 'string', - ], - 'status' => [ - 'type' => 'string', + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2022-09-14T07:19:13Z', 'title' => ''], + 'description' => ['description' => 'The group description.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'groupId' => ['description' => 'The group ID.', 'type' => 'string', 'example' => 'g-148e7853433574fffe9fec72ed9b73', 'title' => ''], + 'isDefault' => ['description' => 'Indicates whether the group is the default group.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'moduleCnt' => ['description' => 'The number of templates.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'name' => ['description' => 'The group name.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'p-4267dcfbf1b6d126edcadf0e949', 'title' => ''], + 'sceneTestingTaskCnt' => ['description' => 'The number of scenario-based testing tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'tags' => [ + 'description' => 'The tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tags.', + 'type' => 'object', + 'properties' => [ + 'key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key', 'title' => ''], + 'value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'iac', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'taskCnt' => ['description' => 'The number of tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'readOnly' => false, + 'title' => '', + 'example' => '', ], + 'pageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'pageSize' => ['description' => 'The page size, which indicates the maximum number of results returned per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9'], ], - 'readOnly' => false, + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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"}]', + 'title' => 'Retrieve group list', + 'changeSet' => [ + ['createdAt' => '2023-05-24T06:38:21.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-05-05T07:48:41.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-11-30T05:11:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-11-29T17:40:22.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - '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', - ], + 'ListJobs' => [ + 'summary' => 'Queries a list of jobs.', + 'path' => '/tasks/{taskId}/jobs', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ - 'Anonymous' => [], + 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eyJ0b2tlbiI6IjEwMjM0NTY3ODkwIn0=', - ], + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => 'task-55f1739d9050fff', 'title' => ''], ], [ - 'name' => 'terraformProviderVersion', + 'name' => 'status', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The job status. Valid values:'."\n" + ."\n" + .'- Pending: The initial status after the job is created.'."\n" + .'- PlanQueued: After the job is created, if no workflow is available, the job is queued.'."\n" + .'- Planning: The resource job is in the Plan execution phase.'."\n" + .'- ConfigProactiveInProgress: Compliance pre-check is in progress. The compliance pre-check feature must be enabled for the account.'."\n" + .'- ConfigProactiveSuccess: Compliance pre-check succeeded. The compliance pre-check feature must be enabled for the account.'."\n" + .'- Planned: The resource job has completed the Plan execution.'."\n" + .'- PlannedAndFinished: After the Plan execution is complete, no diff is found. This is a final status.'."\n" + .'- Confirmed: The resource job is waiting for confirmation after the Plan execution is complete.'."\n" + .'- ApplyQueued: During job execution, if no workflow is available, the job is queued.'."\n" + .'- Applying: The resource job is in the Apply execution phase.'."\n" + .'- Applied: The resource job has completed the Apply execution. This is a final status.'."\n" + .'- Errored: The job execution encountered an error. This is a final status.'."\n" + .'- Canceled: The job execution was canceled. This is a final status.'."\n" + .'- Discarded: The plan of the resource job was discarded. This is a final status.'."\n" + .'- ConfigProactiveFailure: Compliance pre-check failed. The compliance pre-check feature must be enabled for the account.', + 'enumValueTitles' => [ + 'ConfigProactiveInProgress' => 'Compliance pre-check is in progress. The compliance pre-check feature must be enabled for the account.', 'ConfigProactiveFailure' => 'Compliance pre-check failed. The compliance pre-check feature must be enabled for the account.', 'Planned' => 'The resource job has completed the Plan execution.', 'ApplyQueued' => 'During job execution, if no workflow is available, the job is queued.', 'Discarded' => 'The plan of the resource job was discarded. This is a final status.', 'Applied' => 'The resource job has completed the Apply execution. This is a final status.', 'PlanQueued' => 'After the job is created, if no workflow is available, the job is queued.', 'Errored' => 'The job execution encountered an error. This is a final status.', 'ConfigProactiveSuccess' => 'Compliance pre-check succeeded. The compliance pre-check feature must be enabled for the account.', 'Planning' => 'The resource job is in the Plan execution phase.', + 'PlannedAndFinished' => 'After the Plan execution is complete, no diff is found. This is a final status.', 'Applying' => 'The resource job is in the Apply execution phase.', 'Canceled' => 'The job execution was canceled. This is a final status.', 'Confirmed' => 'The resource job is waiting for confirmation after the Plan execution is complete.', 'Pending' => 'The initial status after the job is created.', + ], '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', + 'example' => 'Errored', + 'title' => '', ], ], [ - 'name' => 'keyword', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ECS', - ], + 'schema' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'supportTerraformer', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'status', + 'name' => 'taskType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The task type. Valid values:'."\n" + ."\n" + .'- Task: regular task. This is the default value.'."\n" + .'- SceneTestingTask: scenario-based testing task.', + 'enumValueTitles' => ['SceneTestingTask' => 'SceneTestingTask', 'Task' => 'Task'], 'type' => 'string', 'required' => false, - 'example' => 'Available', + 'example' => 'SceneTestingTask', + 'title' => '', ], ], [ - 'name' => 'sort', + 'name' => 'jobType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', - ], + 'schema' => ['title' => '', 'description' => 'The job type.', 'type' => 'string', 'example' => 'Default', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'maxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'nextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => '30BaZ9ekYWXJdqshYecA++coNg7qT1Zbm3RfLyFIZeY=', - ], - 'products' => [ - 'description' => '', + 'jobs' => [ + 'description' => 'The list of jobs.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The job details.', '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', + 'config' => [ + 'description' => 'The job configuration.', + 'type' => 'object', + 'properties' => [ + 'isDestroy' => ['description' => 'Indicates whether the job is a destroy job.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'moduleVersion' => ['description' => 'The template version.', 'type' => 'string', 'example' => 'v4', 'title' => ''], + 'resourcesChanged' => ['description' => 'The resource change details.', 'type' => 'string', 'example' => '+0 ~0 -0', 'title' => ''], + 'subCommand' => ['description' => 'The operation command.', 'type' => 'string', 'example' => 'destroy', 'title' => ''], + 'moduleDescription' => ['description' => 'The template description.', 'type' => 'string', 'example' => 'moduleDescription', 'title' => ''], + ], + 'title' => '', 'example' => '', ], - 'firstCategoryNameEn' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Enterprise application', - ], - 'secondCategoryName' => [ - 'description' => '', - 'type' => 'string', + 'createTime' => ['description' => 'The time when the job was created.', 'type' => 'string', 'example' => '2022-07-05T02:13:43Z', 'title' => ''], + 'description' => ['description' => 'The job description.', 'type' => 'string', 'example' => 'plan', 'title' => ''], + 'elapsedTime' => ['description' => 'The execution duration.', 'type' => 'integer', 'format' => 'int64', 'example' => '5m', 'title' => ''], + 'executeType' => ['description' => 'The execution type. Valid values:'."\n" + ."\n" + .'- Manual: manual execution. This is the default value.'."\n" + .'- Auto: automatic execution.', 'type' => 'string', 'example' => 'Manual', 'title' => ''], + 'isPassAssertCheck' => ['description' => 'Indicates whether the assertion check passed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'jobId' => ['description' => 'The job ID.', 'type' => 'string', 'example' => 'job-433aff9e4dca57b147c', 'title' => ''], + 'status' => ['description' => 'The job status. Valid values:'."\n" + ."\n" + .'- Pending: The initial status after the job is created.'."\n" + .'- PlanQueued: After the job is created, if no workflow is available, the job is queued.'."\n" + .'- Planning: The resource job is in the Plan execution phase.'."\n" + .'- ConfigProactiveInProgress: Compliance pre-check is in progress. The compliance pre-check feature must be enabled for the account.'."\n" + .'- ConfigProactiveSuccess: Compliance pre-check succeeded. The compliance pre-check feature must be enabled for the account.'."\n" + .'- Planned: The resource job has completed the Plan execution.'."\n" + .'- PlannedAndFinished: After the Plan execution is complete, no diff is found. This is a final status.'."\n" + .'- Confirmed: The resource job is waiting for confirmation after the Plan execution is complete.'."\n" + .'- ApplyQueued: During job execution, if no workflow is available, the job is queued.'."\n" + .'- Applying: The resource job is in the Apply execution phase.'."\n" + .'- Applied: The resource job has completed the Apply execution. This is a final status.'."\n" + .'- Errored: The job execution encountered an error. This is a final status.'."\n" + .'- Canceled: The job execution was canceled. This is a final status.'."\n" + .'- Discarded: The plan of the resource job was discarded. This is a final status.'."\n" + .'- ConfigProactiveFailure: Compliance pre-check failed. The compliance pre-check feature must be enabled for the account.', 'type' => 'string', 'example' => 'Errored', 'title' => ''], + 'statusDetail' => [ + 'description' => 'The status details.', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'comment' => ['description' => '备注', 'type' => 'string', 'example' => 'comment', 'title' => ''], + 'jobResult' => ['description' => '作业执行结果', 'type' => 'string', 'example' => 'Apply complete! Resources: 0 added, 0 changed, 0 destroyed.', 'title' => ''], + 'timeStamps' => ['description' => '到达状态时间', 'type' => 'string', 'example' => '2022-06-13 17:11:34', 'title' => ''], + ], + 'description' => '状态详情。', + 'title' => '', + 'example' => '', + ], + 'title' => '', 'example' => '', ], - 'secondCategoryNameEn' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Application service', - ], + 'taskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'task-518876866c2c3efb', 'title' => ''], + 'terraformProviderVersion' => ['description' => 'The Terraform provider version.', 'type' => 'string', 'example' => '1.240.0', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '9bcaac3c-420d-4303-87ab-7638c07b0a0b', - ], - 'totalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '134', - ], + 'pageNumber' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'pageSize' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '882304F9-6DB1-5593-A719-33473D082B9C'], + 'totalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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"}]', + 'title' => 'Query job list', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2025-12-04T02:30:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-23T09:04:16.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-07-05T09:05:18.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-12-07T08:49:56.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-11-29T14:16:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-09-13T12:28:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-13T12:28:49.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '360', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListJobs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListJobs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Job', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}/job/*'], + ], + ], + 'additionalActions' => [], + ], ], - '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', - ], + 'ListModuleVersion' => [ + 'summary' => 'Retrieves a list of template versions.', + 'path' => '/modules/{moduleId}/versions', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ - 'Anonymous' => [], + 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'product', + 'name' => 'moduleId', + 'in' => 'path', + 'schema' => ['description' => 'The template ID.', 'type' => 'string', 'required' => true, 'example' => 'mod-433aead756057fff39b2f7ac8b798', 'title' => ''], + ], + [ + 'name' => 'keyword', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ECS', - ], + 'schema' => ['description' => 'The search keyword. Fuzzy match on version names is supported.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], ], [ - 'name' => 'terraformProviderVersion', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.227.0', - ], + 'schema' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'subcategory', + 'name' => 'pageNumber', 'in' => 'query', + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'compute', + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'pageNumber' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'pageSize' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '792171BB-1A68-5148-8B9B-C7C728E1E98B'], + 'totalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'versions' => [ + 'description' => 'The list of version information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of version information.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'The time when the version was created.', 'type' => 'string', 'example' => '2022-05-13T02:21:49Z', 'title' => ''], + 'moduleVersion' => ['description' => 'The template version number.', 'type' => 'string', 'example' => 'v3', 'title' => ''], + 'name' => ['description' => 'The version name.', 'type' => 'string', 'example' => 'versionName', 'title' => ''], + 'description' => ['description' => 'The version description.', 'type' => 'string', 'example' => 'this is description'."\n", 'title' => ''], + 'moduleId' => ['description' => 'The template ID.', 'type' => 'string', 'example' => 'mod-55f1739d9050fffed3ec3a2c4a5e5', 'title' => ''], + 'sourcePath' => ['description' => 'The source path of the version.', 'type' => 'string', 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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"}]', + 'title' => 'List template versions', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModuleVersion'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ModuleVersion', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}/moduleversion/*'], + ], ], ], + ], + ], + 'ListModules' => [ + 'summary' => 'Retrieves a list of templates for the current user, with support for pagination and conditional filtering.', + 'path' => '/modules', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'nextToken', + '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' => 'tokenForNextPage', - ], + 'schema' => ['title' => '', 'description' => 'The search keyword. Fuzzy match is supported for template names.', 'type' => 'string', 'required' => false, 'example' => 'key'], ], [ - 'name' => 'status', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Available,Deprecated', - ], + 'schema' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'maxResults', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '200', - 'minimum' => '0', - 'example' => '100', - ], + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'keyword', + 'name' => 'projectId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc', - ], + 'schema' => ['description' => 'The project ID.', 'type' => 'string', 'required' => false, 'example' => 'p-al1c58tb2lu9oej36kclvf', 'title' => ''], ], [ - 'name' => 'supportTerraformer', + 'name' => 'groupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The group ID.', 'type' => 'string', 'required' => false, 'example' => 'g-kw1a50tj8rk7cki2q8bbat', 'title' => ''], ], [ - 'name' => 'terraformResourceTypes', + 'name' => 'tag', 'in' => 'query', - 'style' => 'simple', + 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The list of template tags.', 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of template tags.', + 'type' => 'object', + 'properties' => [ + 'tagKey' => ['description' => 'The tag key of the template.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], + 'tagValue' => ['description' => 'The tag value of the template.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], + ], 'required' => false, - 'example' => 'alicloud_route_table', + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'sort', + 'name' => 'moduleName', 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', + 'title' => '', + 'description' => 'The response body structure.', + 'type' => 'object', + 'properties' => [ + 'modules' => [ + 'description' => 'The list of templates.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of templates.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'The time when the template was created.', 'type' => 'string', 'example' => '2022-01-30T02:14:16Z', 'title' => ''], + 'deletionProtection' => ['description' => 'Indicates whether deletion protection is enabled. Deletion protection is automatically enabled when the template is associated with a node, which prevents the template from being deleted.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'description' => ['description' => 'The description of the template.', 'type' => 'string', 'example' => 'this is description'."\n", 'title' => ''], + 'groupInfo' => [ + 'description' => 'The group information.', + 'type' => 'object', + 'properties' => [ + 'groupId' => ['description' => 'The group ID.', 'type' => 'string', 'example' => 'g-kw1a58tb5m2j7rpsa6j25', 'title' => ''], + 'groupName' => ['description' => 'The group name.', 'type' => 'string', 'example' => 'groupName', 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'p-fu1a50tjdaff2lppddqsm', 'title' => ''], + 'projectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'projectName', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'latestVersion' => ['description' => 'The latest version number.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'moduleId' => ['description' => 'The template ID.', 'type' => 'string', 'example' => 'mod-518855d9a058cdbd3fd6951d59', 'title' => ''], + 'name' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'ModuleName', 'title' => ''], + 'source' => ['description' => 'The template source. Valid values:'."\n" + ."\n" + .'- OSS: imported from OSS.'."\n" + .'- Registry: created from a template in the template center.'."\n" + .'- ExportTask: exported from a resource export task.'."\n" + .'- Upload: uploaded as a file.'."\n" + .'- Shared: cloned from a shared template.'."\n" + .'- Editor: created by using the online editor.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'status' => ['description' => 'The template status. Valid values:'."\n" + ."\n" + .'- Creating: the template is being created.'."\n" + .'- Created: the template has been created. You can publish a version after the template is created.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'tags' => [ + 'description' => 'The list of template tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of template tags.', + 'type' => 'object', + 'properties' => [ + 'key' => ['description' => 'The tag key of the template.', 'type' => 'string', 'example' => 'TestKey', 'title' => ''], + 'value' => ['description' => 'The tag value of the template.', 'type' => 'string', 'example' => 'TestValue', 'title' => ''], + 'tagKey' => ['description' => 'The tag key of the template.', 'type' => 'string', 'example' => 'TestKey', 'title' => ''], + 'tagValue' => ['description' => 'The tag value of the template.', 'type' => 'string', 'example' => 'TestValue', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'pageNumber' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'pageSize' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C617E03B-3DD2-5F0C-A6CF-3028B499A2D5'], + 'totalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '2790', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + '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"}]', + 'title' => 'List templates', + 'description' => '## Operation description'."\n" + ."\n" + .'This operation lists all Terraform templates for the current user. You can specify query parameters to implement pagination, fuzzy match template names, and filter templates by source or status. You can also filter templates by tag for more granular results.'."\n" + ."\n" + .'### Notes'."\n" + .'- Use the pageNumber and pageSize parameters to control the number of returned results.'."\n" + .'- Use the name parameter to perform a fuzzy match on template names.'."\n" + .'- Use the source parameter to filter templates by source, such as OSS import or file upload.'."\n" + .'- Use the status parameter to filter templates by status, such as Created or Published.'."\n" + .'- Tag-based filtering requires a JSON-formatted string, for example, `[{"key":"env","value":"prod"}]`.', + 'changeSet' => [ + ['createdAt' => '2025-10-16T07:10:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-14T16:07:42.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-05-24T06:38:21.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-11-29T14:16:55.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-09-13T12:28:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-13T12:28:48.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModules'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListModules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/*'], + ], ], ], + ], + ], + 'ListParameterSetRelation' => [ + 'summary' => 'Lists the parameter sets associated with a resource.', + 'path' => '/parameterSets/operations/relation', + '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' => 'acceptLanguage', + 'name' => 'resourceType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The type of the resource. Valid values:'."\n" + .'- Module'."\n" + .'- ModuleVersion'."\n" + .'- Task'."\n" + .'- SceneTestingTask'."\n" + .'- Stack.', + 'enumValueTitles' => ['SceneTestingTask' => 'SceneTestingTask', 'Task' => 'Task', 'ModuleVersion' => 'ModuleVersion', 'Module' => 'Module', 'Stack' => 'Stack'], 'type' => 'string', - 'required' => false, - 'example' => 'zh-CN', + 'required' => true, + 'example' => 'Module', + 'title' => '', ], ], + [ + 'name' => 'resourceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource. For ModuleVersion, concatenate <moduleId>-<versionId>.', 'type' => 'string', 'required' => true, 'example' => 'mod-edf123fr-v3', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body.', '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' => '', + 'parameterSets' => [ + 'description' => 'The list of parameter sets.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of parameter sets.', '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', + 'createTime' => ['description' => 'The time when the parameter set was created.', 'type' => 'string', 'example' => '2022-05-14T10:05:19Z', 'title' => ''], + 'description' => ['description' => 'The description.', 'type' => 'string', 'example' => '123111', 'title' => ''], + 'name' => ['description' => 'The name of the parameter set.', 'type' => 'string', 'example' => 'alb_enable_ipv6_4.2', 'title' => ''], + 'parameterSetId' => ['description' => 'The ID of the parameter set.', 'type' => 'string', 'example' => 'pts-kw1b11jlssrabb638ptums', 'title' => ''], + 'parameters' => [ + 'description' => 'The content of the parameter set.', + 'type' => 'object', + 'additionalProperties' => ['description' => '参数名称', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'title' => '', '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}', - ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'totalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '93', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '2F24E990-E8D3-5C18-ABEA-C7A3F1831C57'], + 'totalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], ], + 'example' => '', ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'List parameter sets associated with a resource', + 'changeSet' => [ + ['createdAt' => '2022-06-27T10:03:06.000Z', 'description' => 'OpenAPI offline'], ], - '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', + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListParameterSetRelation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"parameterSets\\": [\\n {\\n \\"createTime\\": \\"2022-05-14T10:05:19Z\\",\\n \\"description\\": \\"123111\\",\\n \\"name\\": \\"alb_enable_ipv6_4.2\\",\\n \\"parameterSetId\\": \\"pts-kw1b11jlssrabb638ptums\\",\\n \\"parameters\\": {\\n \\"key\\": \\"name\\"\\n }\\n }\\n ],\\n \\"requestId\\": \\"2F24E990-E8D3-5C18-ABEA-C7A3F1831C57\\",\\n \\"totalCount\\": 5\\n}","type":"json"}]', + ], + 'ListParameterSets' => [ + 'path' => '/parameterSets', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ - 'Anonymous' => [], + 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'resourceType', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'alicloud_vpc_vswitch', - ], + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The keyword for exact match search. The search is case-insensitive.', 'type' => 'string', 'required' => false, 'example' => 'vpc', 'title' => ''], ], [ - 'name' => 'terraformProviderVersion', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.227.0', - ], + 'schema' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 200.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'filterReadOnly', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'acceptLanguage', + 'name' => 'kmsKeyId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh-CN', - ], + 'schema' => ['type' => 'string', 'example' => '21a90f5d-a469-4ac4-a8ea-f6e1e7470e6f', 'description' => '', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', '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', + 'pageNumber' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'pageSize' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 200.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'parameterSets' => [ + 'description' => 'The parameter sets.', + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter sets.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2022-05-14T10:05:19Z', 'title' => ''], + 'deletionProtection' => ['description' => 'Indicates whether deletion protection is enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'description' => ['description' => 'The description of the parameter set.', 'type' => 'string', 'example' => 'This is parameterSet', 'title' => ''], + 'name' => ['description' => 'The name of the parameter set.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'parameterSetId' => ['description' => 'The ID of the parameter set.', 'type' => 'string', 'example' => 'pts-433aead756057ea135b21e89c', 'title' => ''], + 'parameters' => [ + 'description' => 'The parameters in the parameter set.', + 'type' => 'array', + 'items' => [ + 'description' => 'The parameters in the parameter set.', + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'The parameter name.', 'type' => 'string', 'example' => 'region', 'title' => ''], + 'type' => ['description' => 'The parameter type (string/number/bool/map(string)/list(string)).', 'type' => 'string', 'example' => 'string', 'title' => ''], + 'value' => ['description' => 'The parameter value.', 'type' => 'any', 'example' => 'cn-beijing', 'title' => ''], + 'status' => [ + 'description' => 'The parameter set status. Valid values:'."\n" + ."\n" + .'HAS_VALUE (default): A specific value is defined.'."\n" + ."\n" + .'EXPLICIT_NULL: The value is explicitly set to null.', + 'enumValueTitles' => ['EXPLICIT_NULL' => 'The value is explicitly set to null.', 'HAS_VALUE' => 'A specific value is defined.'], + 'type' => 'string', + 'example' => 'HAS_VALUE', + 'title' => '', ], - 'example' => 'Write', + 'secret' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], ], - 'serviceCode' => [ - 'description' => 'serviceCode', - 'type' => 'string', - 'example' => 'Vpc', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'relationList' => [ + 'description' => 'The relationships associated with the parameter set.', + 'type' => 'array', + 'items' => [ + 'description' => 'The relationships associated with the parameter set.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2022-06-09T03:46:18Z', 'title' => ''], + 'resourceId' => ['description' => 'The resource ID. When the resource type is ModuleVersion, the value is a concatenation of <moduleId>-<moduleversion>, such as mod-34535345df123fr-v3.', 'type' => 'string', 'example' => 'task-433aead756057ffdf5326bf1e12ed', 'title' => ''], + 'resourceType' => [ + 'description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- Module: template'."\n" + .'- ModuleVersion: template version'."\n" + .'- Task: task.', + 'enumValueTitles' => ['Task' => 'Task.', 'ModuleVersion' => 'Template version.', 'Module' => 'Template.'], + 'type' => 'string', + 'example' => 'Module', + 'title' => '', + ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], - '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', - ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4E188A8C-D77A-53F2-9578-E9AD8ABF2FA9'], + 'totalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'Get parameter set list', + 'summary' => 'Queries and retrieves a paginated list of parameter sets with keyword search support.', + 'description' => '## Operation description'."\n" + .'This operation queries all parameter sets in the system. You can filter results by keyword and paginate the results. Authentication information is required.'."\n" + ."\n" + .'### Notes'."\n" + .'- The keyword parameter can be used to perform a fuzzy match on parameter sets by name or description.'."\n" + .'- Pagination is controlled by pageNumber and pageSize. Results start from the first page by default. Set pageSize to a reasonable value to avoid performance issues.', + 'changeSet' => [ + ['createdAt' => '2022-06-27T10:03:06.000Z', 'description' => 'OpenAPI offline'], ], - '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', + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListParameterSets', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'ParameterSet', 'arn' => 'acs:iacservice:*:{#accountId}:ParameterSet/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"parameterSets\\": [\\n {\\n \\"createTime\\": \\"2022-05-14T10:05:19Z\\",\\n \\"deletionProtection\\": false,\\n \\"description\\": \\"This is parameterSet\\",\\n \\"name\\": \\"demo\\",\\n \\"parameterSetId\\": \\"pts-433aead756057ea135b21e89c\\",\\n \\"parameters\\": [\\n {\\n \\"name\\": \\"region\\",\\n \\"type\\": \\"string\\",\\n \\"value\\": \\"cn-beijing\\",\\n \\"status\\": \\"HAS_VALUE\\",\\n \\"secret\\": false\\n }\\n ],\\n \\"relationList\\": [\\n {\\n \\"createTime\\": \\"2022-06-09T03:46:18Z\\",\\n \\"resourceId\\": \\"task-433aead756057ffdf5326bf1e12ed\\",\\n \\"resourceType\\": \\"Module\\"\\n }\\n ]\\n }\\n ],\\n \\"requestId\\": \\"4E188A8C-D77A-53F2-9578-E9AD8ABF2FA9\\",\\n \\"totalCount\\": 50\\n}","type":"json"}]', + ], + 'ListProducts' => [ + 'summary' => 'Queries the list of all products.', + 'path' => '/products', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ - 'AK' => [], + 'Anonymous' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token.', 'type' => 'string', 'required' => false, 'example' => 'eyJ0b2tlbiI6IjEwMjM0NTY3ODkwIn0=', 'title' => ''], + ], + [ + 'name' => 'terraformProviderVersion', + 'in' => 'query', + 'schema' => ['description' => 'The Terraform Provider version. If this parameter is left empty, the latest version is used by default.', 'type' => 'string', 'required' => false, 'example' => '1.227.0', 'title' => ''], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of results per page. Valid values: 0 to 200. Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '200', 'minimum' => '0', 'required' => false, 'example' => '100', 'title' => ''], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The keyword for searching products. Fuzzy match is supported.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''], + ], + [ + 'name' => 'supportTerraformer', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether Terraformer is supported.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => ['description' => 'The status. Valid values:'."\n" + .'- Available'."\n" + .'- Deprecated.', 'type' => 'string', 'required' => false, 'example' => 'Available', 'title' => ''], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['description' => 'The sort order. Valid values:'."\n" + .'- Normal: default sorting (default value)'."\n" + .'- Top: sorted by popularity.', 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The data structure of a successful response.', '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', + 'maxResults' => ['description' => 'The pagination token.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'nextToken' => ['description' => 'The maximum number of results per page. Valid values: 0 to 200. Default value: 100.', 'type' => 'string', 'example' => '30BaZ9ekYWXJdqshYecA++coNg7qT1Zbm3RfLyFIZeY=', 'title' => ''], + 'products' => [ + 'description' => 'The product list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The product list.', + 'type' => 'object', + 'properties' => [ + 'product' => ['description' => 'The product name.', 'type' => 'string', 'example' => 'MSE', 'title' => ''], + 'subcategory' => ['description' => 'The product category in Terraform.', 'type' => 'string', 'example' => 'Microservice_Engine(MSE)', 'title' => ''], + 'supportTerraformer' => ['description' => 'Specifies whether Terraformer is supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'terraformProviderVersion' => ['description' => 'The Terraform Provider version.', 'type' => 'string', 'example' => '1.229.0', 'title' => ''], + 'status' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Available', 'title' => ''], + 'productName' => ['description' => 'The product name.', 'type' => 'string', 'example' => '微服务引擎', 'title' => ''], + 'productNameEn' => ['description' => 'The product name in English.', 'type' => 'string', 'example' => 'Microservices Engine', 'title' => ''], + 'firstCategoryName' => ['description' => 'The first-level category name.', 'type' => 'string', 'example' => '企业应用', 'title' => ''], + 'firstCategoryNameEn' => ['description' => 'The first-level category name in English.', 'type' => 'string', 'example' => 'Enterprise application', 'title' => ''], + 'secondCategoryName' => ['description' => 'The second-level category name.', 'type' => 'string', 'example' => '应用服务', 'title' => ''], + 'secondCategoryNameEn' => ['description' => 'The second-level category name in English.', 'type' => 'string', 'example' => 'Application service', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9bcaac3c-420d-4303-87ab-7638c07b0a0b'], + 'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '134', 'title' => ''], ], - 'required' => false, + 'example' => '', ], ], + ], + '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"}]', + 'title' => 'List products', + 'description' => '## Operation description'."\n" + ."\n" + .'- **Keyword search**: Use the `keyword` parameter for fuzzy matching.'."\n" + .'- **Paged query**: Use `nextToken` for pagination and `maxResults` to specify the maximum number of results per page (default: 100, maximum: 200).'."\n" + .'- **Terraform Provider version**: The optional `terraformProviderVersion` parameter filters products associated with a specific Provider version.'."\n" + .'- **Response structure**: The response contains the request ID, total number of entries, data of the current page, and pagination information for easy processing of query results.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '800', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProducts'], + ], + ], + 'ramActions' => [], + ], + 'ListProject' => [ + 'summary' => 'Queries the list of projects.', + 'path' => '/project', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'explorerModuleId', - 'in' => 'path', + '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' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'tag', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mod-al1611jl2tce3nlh2uvklh0', + 'description' => 'The list of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of tags.', + 'type' => 'object', + 'properties' => [ + 'key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + 'value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The search keyword. Name-based search is supported.', 'type' => 'string', 'required' => false, 'example' => 'test-case2', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '25B274BA-E672-58C0-8602-541281B6F758', + 'count' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'pageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'pageSize' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'projects' => [ + 'description' => 'The list of projects.', + 'type' => 'array', + 'items' => [ + 'description' => 'The project information.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2022-05-10T10:08:34Z', 'title' => ''], + 'description' => ['description' => 'The project description.', 'type' => 'string', 'example' => 'abc', 'title' => ''], + 'name' => ['description' => 'The project name.', 'type' => 'string', 'example' => '1234', 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'p-148e7853433574fffe9fec72ed9b72', 'title' => ''], + 'tags' => [ + 'description' => 'The tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tags.', + 'type' => 'object', + 'properties' => [ + 'key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key', 'title' => ''], + 'value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'taskCnt' => ['description' => 'The number of tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '136B3926-DD90-5DB2-96EC-8BAD6407D1C9'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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"}]', + 'title' => 'List projects', + 'changeSet' => [ + ['createdAt' => '2023-05-24T06:38:21.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-11-30T05:11:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-11-29T17:40:22.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProject'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListProject', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"25B274BA-E672-58C0-8602-541281B6F758\\"\\n}","type":"json"}]', ], - 'ValidateModule' => [ - 'summary' => '模版预检', - 'path' => '/module/validation', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'sse', - ], + 'ListRegistryModuleVersions' => [ + 'summary' => 'Queries the list of Registry template versions.', + 'path' => '/registryModuleVersion', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'autoTest' => true, + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], '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, - ], + 'name' => 'namespaceName', + 'in' => 'query', + 'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'MamespaceName', 'title' => ''], + ], + [ + 'name' => 'moduleName', + 'in' => 'query', + 'schema' => ['description' => 'The Registry template name.', 'type' => 'string', 'required' => true, 'example' => 'ModuleName', 'title' => ''], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page in a paged query. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token. Set this parameter to the NextToken value returned in the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'TRkuCaTw/VsEHrnCZgrBA0ftQSEJU/lzo2ei7MJjplg=', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', + 'moduleVersions' => [ + 'description' => 'The list of template versions.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of template versions.', + 'type' => 'object', + 'properties' => [ + 'sourceUrl' => ['description' => 'The source URL of the template.', 'type' => 'string', 'example' => 'URL', 'title' => ''], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-05-28 11:15:57', 'title' => ''], + 'provider' => ['description' => 'The provider type. Valid values:'."\n" + .'- alicloud: Alibaba Cloud.', 'type' => 'string', 'example' => 'alicloud', 'title' => ''], + 'moduleName' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'ModuleName'."\n", 'title' => ''], + 'source' => ['description' => 'The template source, in the format of namespaceName/ModuleName.', 'type' => 'string', 'example' => 'test_namespace/RegistryModule-test0e'."\n", 'title' => ''], + 'version' => ['description' => 'The version number.', 'type' => 'string', 'example' => '1.0.0', 'title' => ''], + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'NamespaceName'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'count' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '21', 'title' => ''], + 'maxResults' => ['description' => 'The number of entries per page in a paged query. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'nextToken' => ['description' => 'The pagination token. Set this parameter to the NextToken value returned in the previous API call.', 'type' => 'string', 'example' => 'IbuvZ8iOH447bhHWDavGTOMijI2Jep7c=', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8606B880-3485-54E2-89E1-43361C468C85'], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to do this action.', + '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"}]', + 'title' => 'Query registry template versions', + 'description' => 'Single-user call frequency: 200 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegistryModuleVersions'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListRegistryModuleVersions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], ], ], ], - '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', - ], + 'ListRegistryModules' => [ + 'summary' => 'Queries a list of registry modules.', + 'path' => '/registryModules', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'namespaceName', + 'in' => 'query', + 'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => false, 'example' => 'NamespaceName', 'title' => ''], + ], + [ + 'name' => 'type', + 'in' => 'query', '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" - .'}', - ], - ], + 'description' => 'The workspace type. Valid values:'."\n" + ."\n" + .'- system: public module'."\n" + ."\n" + .'- self: custom module'."\n" + ."\n" + .'- shared: shared module'."\n" + ."\n" + .'- community: community module'."\n" + ."\n" + .'By default, all types are returned.', + 'type' => 'string', 'required' => false, + 'enum' => ['system', 'self', 'shared', 'community'], + 'example' => 'system', + 'title' => '', ], ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The search keyword. Fuzzy search by module name is supported.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page in a paged query. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token. Set this parameter to the NextToken value returned in the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'NFzbQCa7/yd7rAuSo5xZb54dD+2BRJj42DLT6GrZysw=', 'title' => ''], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The response body structure.', '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', + 'registryModules' => [ + 'description' => 'The list of registry modules.', + 'type' => 'array', + 'items' => [ + 'description' => 'The registry module.', + 'type' => 'object', + 'properties' => [ + 'acl' => ['description' => 'The permission. A value of private indicates that the module is private.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-06-10 16:16:04', 'title' => ''], + 'description' => ['description' => 'The description of the registry module.', 'type' => 'string', 'example' => 'description', 'title' => ''], + 'downloads' => ['description' => 'The number of downloads.', 'type' => 'integer', 'format' => 'int32', 'example' => '32', 'title' => ''], + 'moduleName' => ['description' => 'The name of the registry module.', 'type' => 'string', 'example' => 'ModuleName', 'title' => ''], + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'NamespaceName'."\n", 'title' => ''], + 'provider' => ['description' => 'The provider type. A value of alicloud indicates Alibaba Cloud.', 'type' => 'string', 'example' => 'alicloud', 'title' => ''], + 'sharedAccounts' => [ + 'description' => 'The list of accounts with which the registry module is shared.', + 'type' => 'array', + 'items' => ['description' => 'The account with which the registry module is shared.', 'type' => 'integer', 'format' => 'int64', 'example' => '123456', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'source' => ['description' => 'The module source.', 'type' => 'string', 'example' => 'namespaceName/ModuleName'."\n", 'title' => ''], + 'sourceUrl' => ['description' => 'The module source URL.', 'type' => 'string', 'example' => 'URL', 'title' => ''], + 'type' => ['description' => 'The templatetype.', 'type' => 'string', 'example' => 'system'."\n", 'title' => ''], + 'version' => ['description' => 'The latest version number.', 'type' => 'string', 'example' => '1.0.0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'count' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '173', 'title' => ''], + 'maxResults' => ['description' => 'The maximum number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'nextToken' => ['description' => 'The token for the next page. A value of null indicates that no more pages are available.', 'type' => 'string', 'example' => 'iRdnbADPQp4dD+2BRJj42DLT6GrZysw=', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D25216A9-C0F7-5A3A-A7E4-2B3D4F3A355D'], ], + 'example' => '', ], ], ], - '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', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query registry module list', + 'description' => 'Single-user call frequency: 200 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegistryModules'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListRegistryModules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/*'], + ], + ], + ], ], + '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"}]', + ], + 'ListRegistryNamespaces' => [ + 'summary' => 'Queries the list of workspaces.', + 'path' => '/registryNamespace', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The search keyword. Fuzzy search by workspace name is supported.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + ], + [ + 'name' => 'type', + 'in' => 'query', 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'clientToken' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'a65451293e64979ba7a4b573950217fe', - ], - 'stateId' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'task-xxx', - ], - ], + 'description' => 'The workspace type. Valid values:'."\n" + ."\n" + .'- system: public workspace'."\n" + ."\n" + .'- self: custom workspace'."\n" + ."\n" + .'- shared: shared workspace'."\n" + ."\n" + .'- community: community workspace'."\n" + ."\n" + .'By default, all workspaces are returned.', + 'type' => 'string', + 'enum' => ['system', 'self', 'shared', 'community'], 'required' => false, + 'example' => 'self', + 'title' => '', ], ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page in a paged query. Maximum value: 100.'."\n" + .'Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['description' => 'The query token. Set this parameter to the NextToken value returned in the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'hg7nXVngyM6tQtvCagmtY=', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The response body structure.', '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', + 'count' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '53', 'title' => ''], + 'maxResults' => ['description' => 'The maximum number of records returned at a time.', 'type' => 'integer', 'format' => 'int32', 'example' => '24', 'title' => ''], + 'namespaces' => [ + 'description' => 'The list of workspaces.', + 'type' => 'array', + 'items' => [ + 'description' => 'The workspace information.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-01-15T02:16:58Z', 'title' => ''], + 'description' => ['description' => 'The workspace description.', 'type' => 'string', 'example' => 'description', 'title' => ''], + 'acl' => ['description' => 'The permissions.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'sharedAccounts' => [ + 'description' => 'The list of shared accounts.', + 'type' => 'array', + 'items' => ['description' => 'The UID of the shared account.', 'type' => 'integer', 'format' => 'int64', 'example' => '123456', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'type' => ['description' => 'The workspace type.', 'type' => 'string', 'example' => 'shared', 'title' => ''], + 'maintainer' => ['description' => 'The administrator name.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'modules' => ['description' => 'The number of Registry templates in the workspace.', 'type' => 'integer', 'format' => 'int32', 'example' => '21', 'title' => ''], + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'NamespaceName', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'nextToken' => ['description' => 'The token for the next page. A value of null indicates that no more pages are available.', 'type' => 'string', 'example' => 'IPTL1XAYFTgtpI04QQpc5dyKpESXBc=', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '5FFB0033-A016-5A9D-9283-C123AAA7F71D'], ], + 'example' => '', ], ], ], - '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', + '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"}]', + 'title' => 'Query workspace list', + 'description' => 'Single-user call frequency: 200 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegistryNamespaces'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListRegistryNamespaces', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/*'], + ], + ], + ], ], + ], + 'ListResourceExportTaskVersions' => [ + 'summary' => 'Retrieves the list of versions for a resource export task.', + 'path' => '/exportTasks/{exportTaskId}/exportVersions', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'stateId', + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The search keyword. Fuzzy match is supported for export version names.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + ], + [ + 'name' => 'exportTaskId', 'in' => 'path', + 'schema' => ['description' => 'The ID of the resource export task.', 'type' => 'string', 'required' => true, 'example' => 'ex-al1f11jlh9llnk8drc4g1c', 'title' => ''], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'status', + 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The export status. Valid values:'."\n" + ."\n" + .'- Queue: queued'."\n" + .'- Pending: preparing to run'."\n" + .'- Success: succeeded'."\n" + .'- Errored: failed'."\n" + .'- Canceled: canceled.', + 'enumValueTitles' => ['Errored' => 'Errored', 'Canceled' => 'Canceled', 'Queue' => 'Queue', 'Pending' => 'Pending', 'Success' => 'Success'], 'type' => 'string', - 'required' => true, - 'example' => 'task-xxxx', + 'required' => false, + 'example' => 'Errored', + 'title' => '', ], ], + [ + 'name' => 'exportVersion', + 'in' => 'query', + 'schema' => ['description' => 'The export version number.', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The response struct.', '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"}', + 'exportTasks' => [ + 'description' => 'The list of export task versions.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of export task versions.', + 'type' => 'object', + 'properties' => [ + 'exportTaskId' => ['description' => 'The ID of the resource export task.', 'type' => 'string', 'example' => 'ex-al1711jl6hd8u5crggeq6v', 'title' => ''], + 'exportToModule' => [ + 'description' => 'Saves the exported template as a module. If this parameter is not set, the template is automatically saved in the registry.', + 'type' => 'object', + 'properties' => [ + 'source' => ['description' => 'The module type in which the exported template is saved. Valid values:'."\n" + ."\n" + .'- OSS: OSS'."\n" + .'- Registry: Terraform Registry.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'sourcePath' => ['description' => 'The path where the template content is saved.'."\n" + ."\n" + .'- If Source is set to Registry, the format is: "cloudregistry::iacservice//"'."\n" + ."\n" + .'- If Source is set to OSS, the format is: "oss::https://.oss-ap-southeast-1.aliyuncs.com/xxx.zip".', 'type' => 'string', 'example' => 'oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip', 'title' => ''], + 'statePath' => ['description' => 'The path of the state file corresponding to the module.', 'type' => 'string', 'example' => '/', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'variables' => [ + 'description' => 'The list of variables. Parameters of the exported resources are set as variables.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of variables. Parameters of the exported resources are set as variables.', + 'type' => 'object', + 'properties' => [ + 'properties' => [ + 'description' => 'The list of Terraform resource properties corresponding to the resource type.', + 'type' => 'array', + 'items' => ['description' => 'The Terraform resource property corresponding to the resource type.', 'type' => 'string', 'example' => 'tags', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'resourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'Vswitch', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-05-11T02:18:50Z', 'title' => ''], + 'exportVersion' => ['description' => 'The resource export version.', 'type' => 'string', 'example' => 'v3', 'title' => ''], + 'name' => ['description' => 'The name of the export task.', 'type' => 'string', 'example' => 'TaskName', 'title' => ''], + 'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'this is description'."\n", 'title' => ''], + 'includeRules' => [ + 'description' => 'The list of inclusion rules used when exporting resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of inclusion rules used when exporting resources.', + 'type' => 'object', + 'properties' => [ + 'values' => [ + 'description' => 'The values of the inclusion rules for resource export.', + 'type' => 'array', + 'items' => ['description' => 'The values of the inclusion rules for resource export.', 'type' => 'string', 'example' => 'cn-chengdu', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'key' => ['description' => 'The name of the inclusion rule for resource export. Valid values:'."\n" + ."\n" + .'- ResourceType: required. The resource type. Example: ALIYUN::VPC::VPC.'."\n" + .'- RegionId: required. The region to which the resource belongs. Only one region is supported. Example: ap-southeast-1.'."\n" + .'- \\<ResourceType>:Id: the resource ID. Example: ALIYUN::VPC::VPC:Id.'."\n" + .'- ResourceGroupId: the resource group ID. Example: rg-1234.'."\n" + .'- ZoneId: the zone to which the resource belongs. Only one zone is supported. Example: ap-southeast-1h.'."\n" + ."\n" + .'Multiple filter conditions are combined by using the AND operator. A resource is matched only if all filter conditions are met.', 'type' => 'string', 'example' => 'RegionId', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'modules' => [ + 'description' => 'The module configuration of the exported resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The module configuration of the exported resources.', + 'type' => 'object', + 'properties' => [ + 'source' => ['description' => 'The module type where the exported template is stored. Two formats are supported: CloudRegistry and OSS. If the ExportToModule parameter is specified, both formats are returned. Otherwise, only CloudRegistry is returned.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'version' => ['description' => 'The version of the module where the exported template is stored.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'sourcePath' => ['description' => 'The download URL of the module where the exported template is stored.'."\n" + ."\n" + .'- If Source is set to CloudRegistry, the format is: "cloudregistry::iacservice//"'."\n" + ."\n" + .'- If Source is set to OSS, the format is: "oss::https://.oss-ap-southeast-1.aliyuncs.com/xxx.zip".', 'type' => 'string', 'example' => 'oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'elapsedTime' => ['description' => 'The execution duration.', 'type' => 'integer', 'format' => 'int64', 'example' => '4521', 'title' => ''], + 'failedReason' => ['description' => 'The reason for the export failure.', 'type' => 'string', 'example' => 'Reason', 'title' => ''], + 'status' => ['description' => 'The version export status. Valid values:'."\n" + .'- Queue: queued'."\n" + .'- Pending: preparing to run'."\n" + .'- Success: succeeded'."\n" + .'- Errored: failed'."\n" + .'- Canceled: canceled.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'pageNumber' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'pageSize' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '860FDEEE-1CA3-55F3-97F6-63FC40B7962D'], + 'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '72', 'title' => ''], ], + 'example' => '', ], ], ], - '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', + '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"}]', + 'title' => 'List resource export task versions', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceExportTaskVersions'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListResourceExportTaskVersions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListResourceExportTasks' => [ + 'summary' => 'Queries the list of resource export tasks.', + 'path' => '/exportTasks', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'autoTest' => true, + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], '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, - ], + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The search keyword. Fuzzy search by task name is supported.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + ], + [ + 'name' => 'exportTaskId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource export task.', 'type' => 'string', 'required' => false, 'example' => 'ex-al1c11jl9g2tbte727otp85', 'title' => ''], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The response struct.', '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', + 'exportTasks' => [ + 'description' => 'The list of export tasks.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of export tasks.', + 'type' => 'object', + 'properties' => [ + 'exportTaskId' => ['description' => 'The ID of the resource export task.', 'type' => 'string', 'example' => 'ex-kw1a1ol8c0pngjav17q8eri', 'title' => ''], + 'exportToModule' => [ + 'description' => 'The module to which the exported template is saved. If this parameter is not set, the template is automatically saved in the Registry.', + 'type' => 'object', + 'properties' => [ + 'source' => ['description' => 'The module type to which the exported template is saved. Valid values:'."\n" + ."\n" + .'- OSS: OSS'."\n" + .'- Registry: Terraform Registry.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'sourcePath' => ['description' => 'The path where the template content is saved.'."\n" + ."\n" + .'- If Source is set to Registry, the format is: "cloudregistry::iacservice//"'."\n" + ."\n" + .'- If Source is set to OSS, the format is: "oss::https://.oss-ap-southeast-1.aliyuncs.com/xxx.zip".', 'type' => 'string', 'example' => 'oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip', 'title' => ''], + 'statePath' => ['description' => 'The path where the template state file is saved.', 'type' => 'string', 'example' => '/', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'variables' => [ + 'description' => 'The list of variables. The parameters of the exported resources are set as variables.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of variables. The parameters of the exported resources are set as variables.', + 'type' => 'object', + 'properties' => [ + 'properties' => [ + 'description' => 'The list of Terraform resource properties corresponding to the resource type.', + 'type' => 'array', + 'items' => ['description' => 'The Terraform resource property corresponding to the resource type.', 'type' => 'string', 'example' => 'vswitch_name', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'resourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ALIYUN::VPC::VSwitch'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-02-20T02:10:06Z', 'title' => ''], + 'exportStatus' => ['description' => 'The export status. Valid values:'."\n" + ."\n" + .'- Queue: queued'."\n" + .'- Pending: preparing to run'."\n" + .'- Success: succeeded'."\n" + .'- Errored: failed'."\n" + .'- Canceled: canceled.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'exportVersion' => ['description' => 'The export version.', 'type' => 'string', 'example' => 'v2', 'title' => ''], + 'name' => ['description' => 'The name of the export task.', 'type' => 'string', 'example' => 'TaskName', 'title' => ''], + 'description' => ['description' => 'The description of the export task.', 'type' => 'string', 'example' => 'this is description'."\n", 'title' => ''], + 'includeRules' => [ + 'description' => 'The values of the include rules for resource export.', + 'type' => 'array', + 'items' => [ + 'description' => 'The values of the include rules for resource export.', + 'type' => 'object', + 'properties' => [ + 'values' => [ + 'description' => 'The values of the include rules for resource export.', + 'type' => 'array', + 'items' => ['description' => 'The values of the include rules for resource export.', 'type' => 'string', 'example' => 'cn-chengdu', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'key' => ['description' => 'The name of the include rule for resource export. Valid values:'."\n" + ."\n" + .'- ResourceType: required. The resource type, such as ALIYUN::VPC::VPC.'."\n" + .'- RegionId: required. The region to which the resource belongs. Only one region is supported, such as ap-southeast-1.'."\n" + .'- \\<ResourceType>:Id: the resource ID, such as ALIYUN::VPC::VPC:Id.'."\n" + .'- ResourceGroupId: the resource group ID, such as rg-1234.'."\n" + .'- ZoneId: the zone to which the resource belongs. Only one zone is supported, such as ap-southeast-1h.'."\n" + ."\n" + .'By default, the relationship between multiple filter conditions is AND. A resource is considered matched only when all filter conditions are met.', 'type' => 'string', 'example' => 'RegionId', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'modules' => [ + 'description' => 'The module configuration of the exported resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The module configuration of the exported resources.', + 'type' => 'object', + 'properties' => [ + 'source' => ['description' => 'The module type where the exported template is stored. Two formats are supported: CloudRegistry and OSS. If the ExportToModule parameter is specified, both formats are returned. Otherwise, only CloudRegistry is returned.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'version' => ['description' => 'The version of the module where the exported template is stored.', 'type' => 'string', 'example' => 'v3', 'title' => ''], + 'sourcePath' => ['description' => 'The download URL of the module where the exported template is stored.'."\n" + ."\n" + .'- If Source is set to CloudRegistry, the format is: "cloudregistry::iacservice/<exportTaskId>/<Provider Name>"'."\n" + ."\n" + .'- If Source is set to OSS, the format is: "oss::https://<BucketName>.oss-ap-southeast-1.aliyuncs.com/xxx.zip".', 'type' => 'string', 'example' => 'oss::https://.oss-cn-hangzhou.aliyuncs.com/xxx.zip', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'elapsedTime' => ['description' => 'The execution duration.', 'type' => 'integer', 'format' => 'int64', 'example' => '4243', 'title' => ''], + 'status' => ['description' => 'The task status. Valid values:'."\n" + ."\n" + .'- Available: available'."\n" + .'- Running: running.', 'type' => 'string', 'example' => 'Available', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'pageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'pageSize' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '65287CB9-AC46-5FE7-B785-0106C159DA42'], + 'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '330', 'title' => ''], ], + 'example' => '', ], ], ], - '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', + '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"}]', + 'title' => 'List resource export tasks', + 'description' => 'Rate limit per user: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2022-12-26T03:00:24.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceExportTasks'], + ], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListResourceExportTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/*'], + ], + ], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', + ], + 'ListResourceTypes' => [ + 'summary' => 'Queries a list of resource types by filter conditions with pagination support.', + 'path' => '/resourceTypes', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'Anonymous' => [], + ], ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'autoTest' => true, + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'namespaceName', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'alibaba', - ], + 'name' => 'product', + 'in' => 'query', + 'schema' => ['description' => 'The product code. Fuzzy match is supported.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''], ], [ - 'name' => 'moduleName', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc', - ], + 'name' => 'terraformProviderVersion', + 'in' => 'query', + 'schema' => ['description' => 'The Terraform provider version. If this parameter is left empty, the latest version is used by default.', 'type' => 'string', 'required' => false, 'example' => '1.227.0', 'title' => ''], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'subcategory', + 'in' => 'query', + 'schema' => ['description' => 'The product subcategory in Terraform.', 'type' => 'string', 'required' => false, 'example' => 'compute', 'title' => ''], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token.', 'type' => 'string', 'required' => false, 'example' => 'tokenForNextPage', 'title' => ''], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => ['description' => 'The status filter list. Valid values:'."\n" + .'- Available'."\n" + .'- Deprecated.', 'type' => 'string', 'required' => false, 'example' => 'Available,Deprecated', 'title' => ''], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries per page. Valid values: 0 to 200. Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '200', 'minimum' => '0', 'required' => false, 'example' => '100', 'title' => ''], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The keyword for searching resource codes or names. Fuzzy match is supported.', 'type' => 'string', 'required' => false, 'example' => 'vpc', 'title' => ''], + ], + [ + 'name' => 'supportTerraformer', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether Terraformer is supported.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'terraformResourceTypes', + 'in' => 'query', + 'style' => 'simple', '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\'}', - ], - ], + 'description' => 'The Terraform resources.', + 'type' => 'array', + 'items' => ['description' => 'The Terraform resources.', 'type' => 'string', 'required' => false, 'example' => 'alicloud_route_table', 'title' => ''], 'required' => false, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['description' => 'The order in which resource types are returned. Valid values:'."\n" + .'- Normal (default): returned in normal order.'."\n" + .'- Top: returned in order of popularity.', 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], + ], + [ + 'name' => 'acceptLanguage', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + .'- zh-CN: Chinese.'."\n" + .'- en-US: English.'."\n" + ."\n" + .'Default value: zh-CN.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The response struct.', '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', + 'maxResults' => ['description' => 'The maximum number of entries per page. Valid values: 0 to 200. Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'nextToken' => ['description' => 'The pagination token.', 'type' => 'string', 'example' => 'LC4NJL3Ru2bIiRdnbADPQp4dD+2BRJj42DLT6GrZysw=', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9bcaac3c-420d-4303-87ab-7638c07b0a0b'], + 'resourceTypes' => [ + 'description' => 'The resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The detailed information about the resource.', + 'type' => 'object', + 'properties' => [ + 'product' => ['description' => 'The product name.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], + 'status' => ['description' => 'The resource status.', 'type' => 'string', 'example' => 'Available', 'title' => ''], + 'statusStartVersion' => ['description' => 'The version from which the resource status takes effect.', 'type' => 'string', 'example' => '1.0.0', 'title' => ''], + 'subcategory' => ['description' => 'The product subcategory in Terraform.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], + 'supportTerraformer' => ['description' => 'Specifies whether Terraformer is supported.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'terraformProviderVersion' => ['description' => 'The Terraform provider version.', 'type' => 'string', 'example' => '1.248.0', 'title' => ''], + 'terraformResourceType' => ['description' => 'The resource type in Terraform.', 'type' => 'string', 'example' => 'alicloud_route_table', 'title' => ''], + 'productName' => ['description' => 'The product name.', 'type' => 'string', 'example' => '专有网络VPC', 'title' => ''], + 'title' => ['description' => 'The title.', 'type' => 'string', 'example' => '路由表', 'title' => ''], + 'description' => ['description' => 'The description.', 'type' => 'string', 'example' => '路由表', 'title' => ''], + 'resourceListPageUrl' => ['description' => 'The URL of the resources page.', 'type' => 'string', 'example' => 'https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables', 'title' => ''], + 'resourceDetailPageUrl' => ['description' => 'The URL of the resource details page.', 'type' => 'string', 'example' => 'https://vpc.console.aliyun.com/vpc/${RegionId}/route-tables/${RouteTableId}', 'title' => ''], + 'resourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '93', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"stateId\\": \\"task-xxxx\\",\\n \\"requestId\\": \\"79284133-D4BA-56B3-954C-D538256F7EAA\\"\\n}","type":"json"}]', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'List resource types', + 'description' => '## Operation description'."\n" + ."\n" + .'This API operation allows you to perform a conditional query for a list of resource types based on conditions such as product code, Terraform provider version, child class, status, and keyword. The results include detailed information about each resource, such as the product code, status, status effective version, child class, Terraform provider version, and resource type code. Paging is supported to facilitate handling large amounts of data.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + '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 \\"resourceType\\": \\"\\"\\n }\\n ],\\n \\"totalCount\\": 93\\n}","type":"json"}]', ], - 'ListExplorerRegistryModuleVersions' => [ - 'summary' => '获取Explorer的egistryModule版本列表', - 'path' => '/explorerRegistryModule/version', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListResources' => [ + 'path' => '/resources/stateparser', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ - 'Anonymous' => [], + 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'namespaceName', + 'name' => 'sourceType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The type of the resource source. Valid values:'."\n" + ."\n" + .'- ExportTaskId: resource export ID'."\n" + ."\n" + .'- TaskId: Module execution task ID'."\n" + ."\n" + .'- StatePath: the OSS path where the resource state is stored.', + 'enumValueTitles' => ['TaskId' => 'The orchestration task ID.', 'StatePath' => 'The OSS path where the resource state is stored.', 'ExportTaskId' => 'The resource export ID.'], 'type' => 'string', - 'required' => false, - 'example' => 'alibaba', + 'required' => true, + 'example' => 'TaskId', + 'title' => '', ], ], [ - 'name' => 'moduleName', + 'name' => 'sourceValue', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc', - ], + 'schema' => ['description' => 'The specific value of the resource source.'."\n" + ."\n" + .'- If sourceType is set to ExportTaskId, the format is ExportTaskId:Version.'."\n" + ."\n" + .'- If sourceType is set to TaskId, the format is TaskId.'."\n" + ."\n" + .'- If sourceType is set to StatePath, the format is the download URL of the State file.', 'type' => 'string', 'required' => true, 'example' => 'task-235436dsfdgd', 'title' => ''], ], [ - 'name' => 'moduleVersion', + 'name' => 'specType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.11.0', - ], + 'schema' => ['description' => 'The specification that resource properties follow in the response. Valid values: CloudSpec, Terraform.'."\n" + .'Default value: CloudSpec.', 'type' => 'string', 'required' => true, 'example' => 'CloudSpec', 'title' => ''], ], [ - 'name' => 'keyword', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'key', - ], + 'schema' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 200.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'maxResults', + 'name' => 'pageNumber', 'in' => 'query', + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'required' => false, 'example' => '1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + 'title' => '', + 'description' => 'The response body structure.', + 'type' => 'object', + 'properties' => [ + 'Resources' => [ + 'description' => 'The resource information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The resource details.', + 'type' => 'object', + 'properties' => [ + 'accountId' => ['description' => 'The Alibaba Cloud account ID.', 'type' => 'string', 'example' => '365845', 'title' => ''], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2024-05-03T02:22:59Z', 'title' => ''], + 'dependsOnResourceIds' => [ + 'description' => 'The dependent resources.', + 'type' => 'array', + 'items' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'vpc-ejfg5fgv', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'productCode' => ['description' => 'The product code.', 'type' => 'string', 'example' => 'ECS', 'title' => ''], + 'properties' => ['description' => 'The resource properties.', 'type' => 'object', 'example' => '{}', 'title' => ''], + 'propertyVariables' => ['description' => 'The property variables.', 'type' => 'object', 'example' => '{}', 'title' => ''], + 'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'resourceArn' => ['description' => 'The resource ARN.', 'type' => 'string', 'example' => 'acs:vpc:cn-hangzhou:12345:test', 'title' => ''], + 'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aekzyqyghofqbxy', 'title' => ''], + 'resourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'i-efegsewrttfd', 'title' => ''], + 'resourceName' => ['description' => 'The resource name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'resourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'Task', 'title' => ''], + 'status' => ['description' => 'The status.', 'type' => 'string', 'example' => 'enable', 'title' => ''], + 'tags' => [ + 'description' => 'The tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tags.', + 'type' => 'object', + 'properties' => [ + 'tagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'tagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'terraformArn' => ['description' => 'terraform arn', 'type' => 'string', 'example' => 'alicloud_vpc', 'title' => ''], + 'terraformCode' => ['description' => 'terraform code', 'type' => 'string', 'example' => 'alicloud_vpc', 'title' => ''], + 'zoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-a', 'title' => ''], + 'resourcePageUrl' => ['description' => 'The URL of the resources page.', 'type' => 'string', 'example' => 'https:://ecs.aliyncs.com', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'pageNumber' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'pageSize' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 200.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '67585D9B-EFA5-5E51-BAB1-8FF07DA1B36F'], + 'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'title' => 'Retrieve the resources of a node', + 'summary' => 'Retrieves the resources of a node.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Resources\\": [\\n {\\n \\"accountId\\": \\"365845\\",\\n \\"createTime\\": \\"2024-05-03T02:22:59Z\\",\\n \\"dependsOnResourceIds\\": [\\n \\"vpc-ejfg5fgv\\"\\n ],\\n \\"productCode\\": \\"ECS\\",\\n \\"properties\\": {},\\n \\"propertyVariables\\": {},\\n \\"regionId\\": \\"cn-hangzhou\\",\\n \\"resourceArn\\": \\"acs:vpc:cn-hangzhou:12345:test\\",\\n \\"resourceGroupId\\": \\"rg-aekzyqyghofqbxy\\",\\n \\"resourceId\\": \\"i-efegsewrttfd\\",\\n \\"resourceName\\": \\"test\\",\\n \\"resourceType\\": \\"Task\\",\\n \\"status\\": \\"enable\\",\\n \\"tags\\": [\\n {\\n \\"tagKey\\": \\"test\\",\\n \\"tagValue\\": \\"test\\"\\n }\\n ],\\n \\"terraformArn\\": \\"alicloud_vpc\\",\\n \\"terraformCode\\": \\"alicloud_vpc\\",\\n \\"zoneId\\": \\"cn-hangzhou-a\\",\\n \\"resourcePageUrl\\": \\"https:://ecs.aliyncs.com\\"\\n }\\n ],\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"67585D9B-EFA5-5E51-BAB1-8FF07DA1B36F\\",\\n \\"totalCount\\": 9\\n}","type":"json"}]', + ], + 'ListStackConfigs' => [ + 'summary' => 'Queries the list of stack configurations.', + 'path' => '/stacks/{stackId}/configs', + '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' => 'nextToken', 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['title' => '', 'description' => 'The pagination token that marks the position from which to start reading. Leave empty to start from the beginning.', 'type' => 'string', 'required' => false, 'example' => 's8UVlnE23gZvjCvCwkoZ7Z4dD+2BRJj42DLT6GrZysw='], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['title' => '', 'description' => 'The maximum number of records to read in this request. Default value: 20. Maximum value: 200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'status', + 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The status of the stack configuration.'."\n" + .'| Name | Description |'."\n" + .'|------|------|'."\n" + .'| Creating | Being created. |'."\n" + .'| Created | Created. |'."\n" + .'| Waiting | Waiting for deployment. |'."\n" + .'| Deploying | Being deployed. |'."\n" + .'| Deployed | Deployed. |'."\n" + .'| Errored | Deployment failed. |'."\n" + .'| Deleting | Being deleted. |'."\n" + .'| Deleted | Deleted. |'."\n" + .'| DeleteFailed | Deletion failed. |'."\n" + .'| DetectTriggered | Drift detection triggered. |.', + 'enumValueTitles' => ['Creating' => 'Creating', 'Deploying' => 'Deploying', 'Errored' => 'Errored', 'DeleteFailed' => 'DeleteFailed', 'Deleted' => 'Deleted', 'Deployed' => 'Deployed', 'Deleting' => 'Deleting', 'Created' => 'Created', 'Waiting' => 'Waiting'], 'type' => 'string', 'required' => false, - 'example' => 'lJTuhMWkNH89zZWyYM9GjpAbgRb+bPPPwN0Q3pclzKI=', + 'example' => 'Deployed', + 'title' => '', ], ], + [ + 'name' => 'stackId', + 'in' => 'path', + 'schema' => ['description' => 'The stack ID. The unique identifier generated after the stack is created.', 'type' => 'string', 'required' => false, 'example' => 'stack-as1d4vld898ppnqbxxxxx', 'title' => ''], + ], + [ + 'name' => 'version', + 'in' => 'query', + 'schema' => ['description' => 'The version number of the stack configuration, such as v1. The initial value is v1. The version number increments each time the stack is updated or refreshed and the configuration changes.', 'type' => 'string', 'required' => false, 'example' => 'v4', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'explorerRegistryModuleVersions' => [ - 'description' => '', + 'totalCount' => ['title' => '', 'description' => 'The total number of records that match the request conditions. This parameter is optional and may not be returned by default.', 'type' => 'integer', 'format' => 'int32', 'example' => '43'], + 'nextToken' => ['title' => '', 'description' => 'The position from which the current call starts reading. An empty value indicates that all data has been read.', 'type' => 'string', 'required' => true, 'example' => 'jIFUaFVhy2VD6whh5GaY854dD+2BRJj42DLT6GrZysw='], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9BEDBCF8-03BE-5A59-AC93-9263942B37E8'], + 'maxResults' => ['title' => '', 'description' => 'The maximum number of records returned in this request.', 'type' => 'integer', 'format' => 'int32', 'example' => '24'], + 'configs' => [ + 'description' => 'The list of stack configurations.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The configuration information.', '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' => '', + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-08-15T16:14:06Z', 'title' => ''], + 'status' => [ + 'description' => 'The status of the stack configuration.'."\n" + .'| Name | Description |'."\n" + .'|------|------|'."\n" + .'| Creating | Being created. |'."\n" + .'| Created | Created. |'."\n" + .'| Waiting | Waiting for deployment. |'."\n" + .'| Deploying | Being deployed. |'."\n" + .'| Deployed | Deployed. |'."\n" + .'| Errored | Deployment failed. |'."\n" + .'| Deleting | Being deleted. |'."\n" + .'| Deleted | Deleted. |'."\n" + .'| DeleteFailed | Deletion failed. |'."\n" + .'| DetectTriggered | Drift detection triggered. |.', + 'enumValueTitles' => ['Creating' => 'Creating', 'Deploying' => 'Deploying', 'Errored' => 'Errored', 'DeleteFailed' => 'DeleteFailed', 'Deleted' => 'Deleted', 'Deployed' => 'Deployed', 'Deleting' => 'Deleting', 'Created' => 'Created', 'Waiting' => 'Waiting'], + 'type' => 'string', + 'example' => 'Deployed', + 'title' => '', + ], + 'componentContent' => ['description' => 'The content of the component configuration.', 'type' => 'string', 'example' => 'format_version: IaCService/2021-08-06\\ndescription: create ALB \\nvariable:\\n - name: region\\n type: string\\n ...', 'title' => ''], + 'deploymentContent' => ['description' => 'The content of the deployment configuration.', 'type' => 'string', 'example' => 'format_version: IaCService/2021-08-06\\ndescription: create ALB\\nupstream_input:\\n - name: stack_network\\n ...', 'title' => ''], + 'version' => ['description' => 'The configuration version number, such as v1. The initial value is v1. The version number increments each time the stack is updated or refreshed and the configuration changes.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'componentConfig' => [ + 'description' => 'The component configuration.', 'type' => 'object', - 'example' => '{}', + 'properties' => [ + 'component' => [ + 'description' => 'The list of components.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'The component name.', 'type' => 'string', 'example' => 'log', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'variable' => [ + 'description' => 'The list of component variables.', + 'type' => 'array', + 'items' => [ + 'description' => 'The component variable.', + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'The variable name.', 'type' => 'string', 'example' => 'region', 'title' => ''], + 'type' => ['description' => 'The variable type, such as:'."\n" + .'- string'."\n" + .'- list(string)'."\n" + .'- map(string).', 'type' => 'string', 'example' => 'string', 'title' => ''], + 'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'region of sls project', 'title' => ''], + 'default' => ['description' => 'The default value.', 'type' => 'string', 'example' => 'ap-southeast-3', 'title' => ''], + 'sensitive' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'output' => [ + 'description' => 'The list of component outputs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The component output.', + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'The output name.', 'type' => 'string', 'example' => 'project_name', 'title' => ''], + 'type' => ['description' => 'The output type.', 'type' => 'string', 'example' => 'string', 'title' => ''], + 'description' => ['description' => 'The output description.', 'type' => 'string', 'example' => 'the name of sls project', 'title' => ''], + 'value' => ['description' => 'The output value.', 'type' => 'string', 'example' => 'log-test', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'moduleFile' => [ - 'description' => '', + 'deploymentConfig' => [ + 'description' => 'The deployment configuration.', 'type' => 'object', - 'example' => '{}', + 'properties' => [ + 'deployment' => [ + 'description' => 'The list of deployments.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'The deployment name.', 'type' => 'string', 'example' => 'production', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'upstreamInput' => [ + 'description' => 'The list of upstream inputs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The upstream input.', + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'The input name.', 'type' => 'string', 'example' => 'network', 'title' => ''], + 'source' => ['description' => 'The input source. Currently, only an upstream stack can be specified. The format is {iacEndpoint}/{accountId}/{upstreamStackName}.', 'type' => 'string', 'example' => 'IacEndpoint/156718871222312/stack_network', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'publishOutput' => [ + 'description' => 'The list of outputs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The output.', + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'The output name.', 'type' => 'string', 'example' => 'project_name', 'title' => ''], + 'description' => ['description' => 'The output description.', 'type' => 'string', 'example' => 'the name of sls project', 'title' => ''], + 'value' => ['description' => 'The original definition of the output value. Currently, string or list(string) is supported. You can reference a deployment output in the format: deployment.{deploymentName}.{deploymentOutputName}.', 'type' => 'string', 'example' => 'deployment.production.project_name', 'title' => ''], + 'result' => ['description' => 'The actual output value after the stack deployment is complete.', 'type' => 'string', 'example' => 'log-test', 'title' => ''], + 'type' => ['description' => 'The output type, such as string or list(string).', 'type' => 'string', 'example' => 'string', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'failedReason' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], ], + 'title' => '', + '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', + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query stack configurations', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListStackConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/{#stackId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalCount\\": 43,\\n \\"nextToken\\": \\"jIFUaFVhy2VD6whh5GaY854dD+2BRJj42DLT6GrZysw=\\",\\n \\"requestId\\": \\"9BEDBCF8-03BE-5A59-AC93-9263942B37E8\\",\\n \\"maxResults\\": 24,\\n \\"configs\\": [\\n {\\n \\"createTime\\": \\"2025-08-15T16:14:06Z\\",\\n \\"status\\": \\"Deployed\\",\\n \\"componentContent\\": \\"format_version: IaCService/2021-08-06\\\\\\\\ndescription: create ALB \\\\\\\\nvariable:\\\\\\\\n - name: region\\\\\\\\n type: string\\\\\\\\n ...\\",\\n \\"deploymentContent\\": \\"format_version: IaCService/2021-08-06\\\\\\\\ndescription: create ALB\\\\\\\\nupstream_input:\\\\\\\\n - name: stack_network\\\\\\\\n ...\\",\\n \\"version\\": \\"v1\\",\\n \\"componentConfig\\": {\\n \\"component\\": [\\n {\\n \\"name\\": \\"log\\"\\n }\\n ],\\n \\"variable\\": [\\n {\\n \\"name\\": \\"region\\",\\n \\"type\\": \\"string\\",\\n \\"description\\": \\"region of sls project\\",\\n \\"default\\": \\"ap-southeast-3\\",\\n \\"sensitive\\": false\\n }\\n ],\\n \\"output\\": [\\n {\\n \\"name\\": \\"project_name\\",\\n \\"type\\": \\"string\\",\\n \\"description\\": \\"the name of sls project\\",\\n \\"value\\": \\"log-test\\"\\n }\\n ]\\n },\\n \\"deploymentConfig\\": {\\n \\"deployment\\": [\\n {\\n \\"name\\": \\"production\\"\\n }\\n ],\\n \\"upstreamInput\\": [\\n {\\n \\"name\\": \\"network\\",\\n \\"source\\": \\"IacEndpoint/156718871222312/stack_network\\"\\n }\\n ],\\n \\"publishOutput\\": [\\n {\\n \\"name\\": \\"project_name\\",\\n \\"description\\": \\"the name of sls project\\",\\n \\"value\\": \\"deployment.production.project_name\\",\\n \\"result\\": \\"log-test\\",\\n \\"type\\": \\"string\\"\\n }\\n ]\\n },\\n \\"failedReason\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListStacks' => [ + 'summary' => 'Queries the list of stacks.', + 'path' => '/stacks', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ - 'Anonymous' => [], + 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ 'name' => 'keyword', 'in' => 'query', + 'schema' => ['description' => 'The keyword used to perform a fuzzy search by stack name.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + ], + [ + 'name' => 'status', + 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The stack status.'."\n" + .'| Name | Description |'."\n" + .'|------|------|'."\n" + .'| Creating | Being created |'."\n" + .'| Created | Creation complete |'."\n" + .'| Waiting | Waiting for deployment |'."\n" + .'| Deploying | Being deployed |'."\n" + .'| Deployed | Deployment complete |'."\n" + .'| Errored | Deployment failed |'."\n" + .'| Deleting | Being deleted |'."\n" + .'| Deleted | Deleted |'."\n" + .'| DeleteFailed | Deletion failed |'."\n" + .'| DetectTriggered | Drift detection triggered |.', + 'enumValueTitles' => ['Creating' => 'Creating', 'Deploying' => 'Deploying', 'Errored' => 'Errored', 'DeleteFailed' => 'DeleteFailed', 'Deleted' => 'Deleted', 'Deployed' => 'Deployed', 'Deleting' => 'Deleting', 'Created' => 'Created', 'Waiting' => 'Waiting'], 'type' => 'string', 'required' => false, - 'example' => 'key', + 'example' => 'Deployed', + 'title' => '', ], ], [ - 'name' => 'maxResults', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of results per page. Default value: 20. Minimum value: 1. Maximum value: 200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'DxEkv+3w0EDAQgcRFBp8Ep4dD+2BRJj42DLT6GrZysw=', - ], + 'schema' => ['description' => 'The pagination token. This parameter is empty if no more pages are available.', 'type' => 'string', 'required' => false, 'example' => 'LC4NJL3Ru2bIiRdnbADPQp4dD+2BRJj42DLT6GrZysw=', 'title' => ''], ], [ - 'name' => 'sort', + 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', - ], + 'schema' => ['description' => 'The maximum number of results to return. Default value: 100. Maximum value: 200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'moduleName', + 'name' => 'kmsKeyId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['title' => '', 'type' => 'string', 'example' => '21a90f5d-a469-4ac4-a8ea-f6e1e7470e6f', 'description' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'explorerRegistryModules' => [ - 'description' => '', + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '3E49127A-BB65-5CCD-AB93-0EC0A43E5446'], + 'stacks' => [ + 'description' => 'The list of stacks.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'moduleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'terraform-alicloud-modules/mongodb', - ], - 'latestVersion' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'v1', - ], + 'stackId' => ['description' => 'The stack ID, which is the unique identifier generated after the stack is created.', 'type' => 'string', 'example' => "\n" + .'stack-as1d4vld898ppnqxxxxxx', 'title' => ''], + 'stackName' => ['description' => 'The stack name (deprecated). Use name instead.', 'type' => 'string', 'example' => 'stack-test', 'title' => ''], + 'stackDescription' => ['description' => 'The description of the stack.', 'type' => 'string', 'example' => 'description of stack', 'title' => ''], + 'sourcePath' => ['description' => 'The path of the configuration source. The value cannot exceed 1000 characters.'."\n" + .'- If the source is OSS, the value is in the format oss::<file link> and must be a zip file, such as oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip.'."\n" + .'- If the source is IAC_SERVICE_MODULE, the value is a template ID, such as mod-xxxxx.', 'type' => 'string', 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip', 'title' => ''], 'source' => [ - 'description' => '', + 'description' => 'The creation source. Valid values:'."\n" + .'- OSS: a template stored in Object Storage Service (OSS).'."\n" + .'- IAC_SERVICE_MODULE: a template created in the automation service console.', + 'enumValueTitles' => ['IAC_SERVICE_MODULE' => 'IAC_SERVICE_MODULE', 'OSS' => 'OSS'], 'type' => 'string', - 'example' => 'terraform-alicloud-modules/mongodb/alicloud', + 'example' => 'OSS', + 'title' => '', ], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-05-07T02:21:28Z', 'title' => ''], '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', - ], + 'description' => 'The stack status.'."\n" + .'| Name | Description |'."\n" + .'|------|------|'."\n" + .'| Creating | Being created |'."\n" + .'| Created | Creation complete |'."\n" + .'| Waiting | Waiting for deployment |'."\n" + .'| Deploying | Being deployed |'."\n" + .'| Deployed | Deployment complete |'."\n" + .'| Errored | Deployment failed |'."\n" + .'| Deleting | Being deleted |'."\n" + .'| Deleted | Deleted |'."\n" + .'| DeleteFailed | Deletion failed |.', + 'enumValueTitles' => ['Creating' => 'Creating', 'Deploying' => 'Deploying', 'Errored' => 'Errored', 'DeleteFailed' => 'DeleteFailed', 'Deleted' => 'Deleted', 'Deployed' => 'Deployed', 'Deleting' => 'Deleting', 'Created' => 'Created', 'Waiting' => 'Waiting'], + 'type' => 'string', + 'example' => 'Deployed', + 'title' => '', + ], + 'name' => ['description' => 'The stack name.', 'type' => 'string', 'example' => 'stack-test', 'title' => ''], + 'description' => ['description' => 'The description of the stack.', 'type' => 'string', 'example' => 'description of stack', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - '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', - ], + 'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'nextToken' => ['description' => 'The pagination token. This parameter is empty if no more pages are available.', 'type' => 'string', 'example' => 'LC4NJL3Ru2bIiRdnbADPQp4dD+2BRJj42DLT6GrZysw=', 'title' => ''], + 'maxResults' => ['description' => 'The maximum number of results returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query stack list', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListStacks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3E49127A-BB65-5CCD-AB93-0EC0A43E5446\\",\\n \\"stacks\\": [\\n {\\n \\"stackId\\": \\"\\\\nstack-as1d4vld898ppnqxxxxxx\\",\\n \\"stackName\\": \\"stack-test\\",\\n \\"stackDescription\\": \\"description of stack\\",\\n \\"sourcePath\\": \\"oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip\\",\\n \\"source\\": \\"OSS\\",\\n \\"createTime\\": \\"2025-05-07T02:21:28Z\\",\\n \\"status\\": \\"Deployed\\",\\n \\"name\\": \\"stack-test\\",\\n \\"description\\": \\"description of stack\\"\\n }\\n ],\\n \\"totalCount\\": 10,\\n \\"nextToken\\": \\"LC4NJL3Ru2bIiRdnbADPQp4dD+2BRJj42DLT6GrZysw=\\",\\n \\"maxResults\\": 20\\n}","type":"json"}]', + ], + 'ListTasks' => [ + 'path' => '/tasks', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ - 'Anonymous' => [], + 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'autoTest' => true, + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'namespaceName', + 'name' => 'keyword', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'alibaba', - ], + 'schema' => ['description' => 'The keyword for fuzzy search by task ID or task name.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], ], [ - 'name' => 'moduleName', + 'name' => 'taskId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'sls', - ], + 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => false, 'example' => 'task-433aead756057fffeaba4828f5195', 'title' => ''], ], [ - 'name' => 'moduleVersion', + 'name' => 'moduleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.11.0', - ], + 'schema' => ['description' => 'The module ID.', 'type' => 'string', 'required' => false, 'example' => 'mod-1525e992f1b62139d1c437d64ae', 'title' => ''], ], [ - 'name' => 'exampleName', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'complete', - ], + 'schema' => ['description' => 'The number of entries per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'title' => ''], ], [ - 'name' => 'keyword', + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'projectId', + 'in' => 'query', + 'schema' => ['description' => 'The project ID.', 'type' => 'string', 'required' => false, 'example' => 'p-433aead7560572f8d95b25775c', 'title' => ''], + ], + [ + 'name' => 'groupId', + 'in' => 'query', + 'schema' => ['description' => 'The group ID.', 'type' => 'string', 'required' => false, 'example' => 'g-59d8d22e78792ffe3d3eb6154d727', 'title' => ''], + ], + [ + 'name' => 'status', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The job status. Valid values:'."\n" + ."\n" + .'- Planning: The job is in the Plan execution phase.'."\n" + .'- Planned: The job has completed the Plan execution.'."\n" + .'- PlannedAndFinished: After the Plan execution is completed, no diff is found, and the job enters the final state.'."\n" + .'- Applying: The job is in the Apply execution phase.'."\n" + .'- Applied: The job has completed the Apply execution.'."\n" + .'- Errored: The job execution encountered errors and entered the final state.', + 'enumValueTitles' => ['Errored' => 'Errored', 'PlannedAndFinished' => 'PlannedAndFinished', 'Planning' => 'Planning', 'Applying' => 'Applying', 'Planned' => 'Planned', 'Applied' => 'Applied'], 'type' => 'string', 'required' => false, - 'example' => 'key', + 'example' => 'Errored', + 'title' => '', ], ], [ - 'name' => 'maxResults', + 'name' => 'tag', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The list of task tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of task tags.', + 'type' => 'object', + 'properties' => [ + 'tagKey' => ['description' => 'The tag key of the task.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], + 'tagValue' => ['description' => 'The tag value of the task.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => '20', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'nextToken', + 'name' => 'kmsKeyId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'IbuvZbAXFOiB4nKg8iOH447bhHWDavGTOMijI2Jep7c=', - ], + 'schema' => ['type' => 'string', 'example' => '21a90f5d-a469-4ac4-a8ea-f6e1e7470e6f', 'description' => '', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The structure of the response body.', 'type' => 'object', 'properties' => [ - 'explorerRegistryModuleExamples' => [ - 'description' => '', + 'pageNumber' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'pageSize' => ['description' => 'The number of entries per page. Default value: 20. Minimum value: 1. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '98610149-488B-5E48-B981-8D4CE1AF77CD'], + 'tasks' => [ + 'description' => 'The list of tasks.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The task details.', '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' => '', + 'autoApply' => ['description' => 'Indicates whether the task is automatically executed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'createTime' => ['description' => 'The time when the task was created.', 'type' => 'string', 'example' => '2022-07-11T15:09:53Z', 'title' => ''], + 'currentJobId' => ['description' => 'The job ID of the current task.', 'type' => 'string', 'example' => 'job-123asd', 'title' => ''], + 'currentJobStatus' => ['description' => 'The current job status.', 'type' => 'string', 'example' => 'Pending', 'title' => ''], + 'deletionProtection' => ['description' => 'Indicates whether deletion protection is enabled. Deletion protection is automatically enabled when managed resources are included.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'groupInfo' => [ + 'description' => 'The task group information.', 'type' => 'object', - 'example' => '{}', + 'properties' => [ + 'groupId' => ['description' => 'The group ID.', 'type' => 'string', 'example' => 'g-4267dcfbf1b6d1e0652bfbbe995', 'title' => ''], + 'groupName' => ['description' => 'The group name.', 'type' => 'string', 'example' => 'abc', 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'p-433aead7560571cf1b2bfbbe92b', 'title' => ''], + 'projectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'abc', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'namespaceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'alibaba', + 'moduleId' => ['description' => 'The module ID.', 'type' => 'string', 'example' => 'mod-518855d9a058c331e9c60bc0ce', 'title' => ''], + 'moduleName' => ['description' => 'The module name.', 'type' => 'string', 'example' => 'mod-name', 'title' => ''], + 'moduleVersion' => ['description' => 'The module version.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'name' => ['description' => 'The task name.', 'type' => 'string', 'example' => 'TaskName', 'title' => ''], + 'status' => ['description' => 'The task status. Valid values:'."\n" + ."\n" + .'- Available: The task is available, and no job is running.'."\n" + .'- Running: The task is running, and the current job is in progress.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + 'tags' => [ + 'description' => 'The list of task tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of task tags.', + 'type' => 'object', + 'properties' => [ + 'key' => ['description' => 'The tag key of the task.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'value' => ['description' => 'The tag value of the task.', 'type' => 'string', 'example' => 'iac-demo', 'title' => ''], + 'tagKey' => ['description' => 'The tag key of the module.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'tagValue' => ['description' => 'The tag value of the task.', 'type' => 'string', 'example' => 'iac-demo'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'taskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'task-1525e992f1b621b0ca51647876e', 'title' => ''], + 'latestModuleVersion' => ['description' => 'The latest version of the module.', 'type' => 'string', 'example' => 'v3', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - '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', - ], + 'totalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '55', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'ListTasks', + 'summary' => 'Queries a list of tasks.', + 'description' => 'The maximum number of times that a single user can call this operation per second: 100.', + 'changeSet' => [ + ['createdAt' => '2023-08-14T16:07:42.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-05-24T06:38:21.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-04-13T07:25:09.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-11-29T14:27:37.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-27T03:21:26.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-12-27T03:21:26.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-09-13T12:28:49.000Z', 'description' => 'Request parameters changed'], ], - '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', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasks'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"98610149-488B-5E48-B981-8D4CE1AF77CD\\",\\n \\"tasks\\": [\\n {\\n \\"autoApply\\": false,\\n \\"createTime\\": \\"2022-07-11T15:09:53Z\\",\\n \\"currentJobId\\": \\"job-123asd\\",\\n \\"currentJobStatus\\": \\"Pending\\",\\n \\"deletionProtection\\": false,\\n \\"groupInfo\\": {\\n \\"groupId\\": \\"g-4267dcfbf1b6d1e0652bfbbe995\\",\\n \\"groupName\\": \\"abc\\",\\n \\"projectId\\": \\"p-433aead7560571cf1b2bfbbe92b\\",\\n \\"projectName\\": \\"abc\\"\\n },\\n \\"moduleId\\": \\"mod-518855d9a058c331e9c60bc0ce\\",\\n \\"moduleName\\": \\"mod-name\\",\\n \\"moduleVersion\\": \\"v1\\",\\n \\"name\\": \\"TaskName\\",\\n \\"status\\": \\"Running\\",\\n \\"tags\\": [\\n {\\n \\"key\\": \\"name\\",\\n \\"value\\": \\"iac-demo\\",\\n \\"tagKey\\": \\"name\\",\\n \\"tagValue\\": \\"iac-demo\\\\n\\"\\n }\\n ],\\n \\"taskId\\": \\"task-1525e992f1b621b0ca51647876e\\",\\n \\"latestModuleVersion\\": \\"v3\\"\\n }\\n ],\\n \\"totalCount\\": 55\\n}","type":"json"}]', + ], + 'ListTerraformProviderVersions' => [ + 'summary' => 'Retrieves the list of Terraform provider versions.', + 'path' => '/version/terraform/provider', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ - 'AK' => [], + 'Anonymous' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], '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, - ], + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['description' => 'The keyword for searching versions. Fuzzy match is supported.', 'type' => 'string', 'readOnly' => false, 'required' => false, 'example' => 'key', 'title' => ''], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token for the next page. A value of null indicates that no more pages are available.', 'type' => 'string', 'required' => false, 'example' => 'ar9lHbaidqWequN5orMba54dD+2BRJj42DLT6GrZysw=', 'title' => ''], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of records to retrieve in a single request.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '200', 'minimum' => '0', 'readOnly' => false, 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'usage', + 'in' => 'query', + 'schema' => ['description' => 'The usage. Set to Explorer to retrieve meta information.', 'type' => 'string', 'required' => false, 'example' => 'Explorer', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', + 'maxResults' => ['description' => 'The maximum number of records retrieved in a single request.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'nextToken' => ['description' => 'The pagination token for the next page. An empty value indicates that no more pages are available.', 'type' => 'string', 'example' => 'rnD7wyAII+yDi0UGlV519J4dD+2BRJj42DLT6GrZysw=', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'readOnly' => false, 'example' => '73588ebb-9d40-4660-a59f-764636ae6034'], + 'totalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'readOnly' => false, 'example' => '50', 'title' => ''], + 'versions' => [ + 'description' => 'The list of versions.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of versions.', + 'type' => 'object', + 'properties' => [ + 'version' => ['description' => 'The version.', 'type' => 'string', 'example' => '1.242.0', 'title' => ''], + 'publishedTime' => ['description' => 'The publish time.', 'type' => 'string', 'example' => '2025-01-24T05:06:51Z', 'title' => ''], + 'status' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Available', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'readOnly' => false, + 'title' => '', + 'example' => '', ], ], + 'readOnly' => false, + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"projectId\\": \\"p-433aead7560572f8d95b25775c\\",\\n \\"requestId\\": \\"3E49127A-BB65-5CCD-AB93-0EC0A43E5446\\"\\n}","type":"json"}]', - ], - 'UpdateProject' => [ - 'summary' => '修改项目', - 'path' => '/project/{projectId}', - 'methods' => [ - 'post', + '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"}]', + 'title' => 'Retrieve terraform provider version list', + 'changeSet' => [ + ['createdAt' => '2025-04-11T02:14:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-03-19T03:07:56.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-08-20T03:38:22.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-03-18T02:32:30.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTerraformProviderVersions'], + ], ], + 'ramActions' => [], + ], + 'ManageTerraformState' => [ + 'summary' => 'Supports resource import and removal for state files.', + 'path' => '/terraformState/manage', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ @@ -8297,402 +9664,480 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body parameters.', 'type' => 'object', 'properties' => [ - 'clientToken' => [ - 'description' => '', + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'type' => [ + 'description' => 'The task type. Valid values:'."\n" + .'- Stack'."\n" + .'- Task.', + 'enumValueTitles' => ['Task' => 'Task', 'Stack' => 'Stack'], 'type' => 'string', 'required' => true, - 'example' => 'a65451293e64979ba7a4b573950217fe', + 'example' => 'Stack', + 'title' => '', ], - 'description' => [ - 'description' => '', + 'identifier' => [ + 'description' => 'The task identifier. For Stack tasks, the format is <$stackId>:<$deploymentName>. For Task tasks, the format is <$TaskId>.', + 'enumValueTitles' => [], 'type' => 'string', - 'required' => false, - 'example' => 'test', + 'required' => true, + 'example' => 'stack-as11xxxxxxxxx:developmentA', + 'title' => '', ], - 'name' => [ - 'description' => '', + 'resourceIdentifier' => ['description' => 'The resource identifier in the Terraform template. For Stack tasks, the format is <$componetName>:<$resourceName>. For Task tasks, the format is <$resourceName>.', 'type' => 'string', 'required' => true, 'example' => 'vpc:alicloud_vswitch.vswitches[0]', 'title' => ''], + 'action' => [ + 'description' => 'The action to perform on the state file. Supports import and removal. Valid values:'."\n" + .'- Import'."\n" + .'- StateRemove.', + 'enumValueTitles' => ['Import' => 'Import', 'StateRemove' => 'StateRemove'], 'type' => 'string', - 'required' => false, - 'example' => 'test', + 'required' => true, + 'example' => 'Import', + 'title' => '', ], + 'importResourceId' => ['description' => 'The actual resource ID of the Terraform resource.', 'type' => 'string', 'required' => false, 'example' => 'vsw-xxxxxxxx', 'title' => ''], ], 'required' => false, - ], - ], - [ - 'name' => 'projectId', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'p-433aead7560572f8d95b25775c', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C62888F6-254D-5589-BF05-0D9EE698C187', - ], + 'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0A80B4F1-4E8C-515A-B3C1-0E1A9B85B6A7'], + 'jobId' => ['description' => 'The job ID.', 'type' => 'string', 'example' => 'job-5fd38c9xxxxx', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C62888F6-254D-5589-BF05-0D9EE698C187\\"\\n}","type":"json"}]', - ], - 'ListProject' => [ - 'summary' => '查询项目列表', - 'path' => '/project', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Manage task state files', + 'description' => 'This API is used to manage state files for resource orchestration tasks and stack tasks on the automated service desk.'."\n" + ."\n" + .'Before using this API, make sure that all required authentication information is correctly configured and that the Terraform code meets the expected functional requirements.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:ManageTerraformState', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0A80B4F1-4E8C-515A-B3C1-0E1A9B85B6A7\\",\\n \\"jobId\\": \\"job-5fd38c9xxxxx\\"\\n}","type":"json"}]', + ], + 'OperateJob' => [ + 'summary' => 'After a job is created, you can perform the **Cancel** operation to stop the job while it is running.'."\n" + .'After a job reaches the pending confirmation state, you can perform the **Abolish** operation to stop the job, or perform the **Execute** operation to continue the job execution.', + 'path' => '/tasks/{taskId}/jobs/{jobId}/operation/{operationType}', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'pageSize', - 'in' => 'query', + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => 'task-518855d9a058cfffe0e0a92745bbc', 'title' => ''], + ], + [ + 'name' => 'jobId', + 'in' => 'path', + 'schema' => ['description' => 'The job ID.', 'type' => 'string', 'required' => true, 'example' => 'job-5fd38c9b92d54fff865d936f22a39', 'title' => ''], + ], + [ + 'name' => 'operationType', + 'in' => 'path', 'schema' => [ - 'description' => '', + 'description' => 'The operation type. Valid values:'."\n" + .'- execute: continues the Apply operation after the Plan is complete.'."\n" + .'- abolish: abandons a job that has completed the Plan preview.'."\n" + .'- cancel: cancels a job that is running or queued.', 'type' => 'string', 'required' => false, - 'example' => '10', + 'enum' => ['execute', 'abolish', 'cancel'], + 'example' => 'execute', + 'title' => '', ], ], [ - 'name' => 'pageNumber', + 'name' => 'comment', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The description. The length is 0 to 128 characters.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'example' => 'dasd', 'title' => ''], ], [ - 'name' => 'tag', + 'name' => 'taskType', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The task type. Valid values:'."\n" + ."\n" + .'- Task: regular task (default).'."\n" + .'- SceneTestingTask: scenario-based testing task.', 'type' => 'string', 'required' => false, 'example' => 'Task', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'key' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], - ], + 'title' => '', + 'description' => 'The response body parameters.', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'E602681C-A811-5787-9DC3-48BED7537071'], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E602681C-A811-5787-9DC3-48BED7537071\\"\\n}","type":"json"}]', + 'title' => 'Operate a job', + 'description' => 'Per-user call frequency: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2024-07-23T09:04:16.000Z', 'description' => 'Error codes changed, Request parameters changed'], + ['createdAt' => '2021-09-13T12:28:48.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OperateJob'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:OperateJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Job', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}/job/{#JobId}'], ], ], + 'additionalActions' => [], ], + ], + ], + 'PublishRegistryModuleVersion' => [ + 'summary' => 'Publishes a Registry template version.', + 'path' => '/registryModuleVersion', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'keyword', - 'in' => 'query', + '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' => [ - 'type' => 'string', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'moduleName' => ['description' => 'The template name.', 'type' => 'string', 'required' => true, 'example' => 'ModuleName', 'title' => ''], + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'NamespaceName', 'title' => ''], + 'version' => ['description' => 'The version number. The value must conform to the [semantic version](http://semver.org/) specification, such as 1.0.1. The initial version is 1.0.0.', 'type' => 'string', 'required' => true, 'example' => '1.2.0', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '36E1679B-4D91-5AF6-B505-B5D4ACDF75BD'], + 'version' => ['description' => 'The version number.', 'type' => 'string', 'example' => '1.1.1', 'title' => ''], ], + 'example' => '', ], ], ], - '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', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"36E1679B-4D91-5AF6-B505-B5D4ACDF75BD\\",\\n \\"version\\": \\"1.1.1\\"\\n}","type":"json"}]', + 'title' => 'Publish a registry template version', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishRegistryModuleVersion'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:PublishRegistryModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], ], + ], + 'RemoveSharedAccounts' => [ + 'path' => '/sharedAccounts', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'projectId', - 'in' => 'path', + 'name' => 'resourceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource to unshare.'."\n" + ."\n" + .' - If the type is Namespace, set this parameter to the workspace name. '."\n" + ."\n" + .'- If the type is RegistryModule, set this parameter to \\<namespaceName>/\\<ModuleName>.', 'type' => 'string', 'required' => true, 'example' => 'terraform-alicloud-modules/mongodb'."\n", 'title' => ''], + ], + [ + 'name' => 'resourceType', + 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- RegistryModule: Registry template.'."\n" + .'- Namespace: workspace.', 'type' => 'string', - 'required' => false, - 'example' => 'p-433aead7560572f8d95b25775c', + 'required' => true, + 'enum' => ['Namespace', 'RegistryModule'], + 'example' => 'RegistryModule', + 'title' => '', + ], + ], + [ + 'name' => 'accountIds', + 'in' => 'query', + 'style' => 'simple', + 'schema' => [ + 'description' => 'The list of Alibaba Cloud account IDs.', + 'type' => 'array', + 'items' => ['description' => 'The UID of the Alibaba Cloud account.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12345678', 'title' => ''], + 'required' => true, + 'maxItems' => 100, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8294F4ED-8DBA-5441-B3F2-61C3C5374990'], ], + 'example' => '', ], ], ], - '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', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Remove a shared account', + 'summary' => 'Removes a shared account.', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveSharedAccounts'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:RemoveSharedAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8294F4ED-8DBA-5441-B3F2-61C3C5374990\\"\\n}","type":"json"}]', + ], + 'TriggerStackExecution' => [ + 'summary' => 'Trigger Stack execution ', + 'path' => '/stacks/trigger', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'projectId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Request body parameters. ', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'Idempotent token. Format: [0-9a-zA-Z-]{1,64}. We recommend using a UUID. ', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'action' => [ + 'enumValueTitles' => ['terraform plan' => 'Terraform Preview ', 'terraform apply' => 'Terraform Execution ', 'state detect' => 'State Detection '], + 'description' => 'Operation to execute '."\n" + .'- terraform plan '."\n" + .'- terraform apply '."\n" + .'- state detect ', + 'type' => 'string', + 'required' => true, + 'example' => 'terraform plan', + 'title' => '', + ], + 'changedFolders' => [ + 'description' => 'Collection of changed files. You can specify only the folders containing changed files. ', + 'type' => 'array', + 'items' => ['description' => 'Changed file. You can specify only the folder containing the changed file. ', 'type' => 'string', 'required' => true, 'example' => 'iac-stack/', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'codeVersionId' => ['description' => 'Code version of the Stack to trigger ', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''], + 'codePackagePath' => ['description' => 'Stack code path. Currently, only Stacks created through IaC templates are supported. '."\n" + .'Parameter format: iacservice::{moduleId} ', 'type' => 'string', 'required' => true, 'example' => 'iacservice::mod-xxx', 'title' => ''], + ], 'required' => false, - 'example' => 'p-148e7853433574fffe9fec72ed9b72', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'description' => 'Schema of Response ', + 'title' => 'Schema of Response ', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'BF72A6FB-B071-5F2E-A036-9D62545B962C', - ], + 'requestId' => ['description' => 'ID of the request ', 'title' => 'ID of the request ', 'type' => 'string', 'example' => 'F2D40488-3F74-568B-87EC-1C04D098DF8B'], + 'triggerId' => ['description' => 'Unique ID of the trigger. ', 'type' => 'string', 'example' => 'event-xxxx', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"BF72A6FB-B071-5F2E-A036-9D62545B962C\\"\\n}","type":"json"}]', - ], - 'CreateGroup' => [ - 'summary' => '创建分组', - 'path' => '/group', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Trigger Stack execution ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:TriggerStackExecution', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"F2D40488-3F74-568B-87EC-1C04D098DF8B\\",\\n \\"triggerId\\": \\"event-xxxx\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'UpdateDetectConfig' => [ + 'path' => '/terraformState/detectConfig/{detectConfigId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ @@ -8700,203 +10145,335 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'Request body parameters ', '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' => '', + 'description' => ['description' => '**Description** ', 'type' => 'string', 'required' => false, 'example' => 'this is description'."\n", 'title' => ''], + 'enabled' => ['description' => '**Whether the detection feature is enabled. The default value is true.** ', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'triggerType' => [ + 'description' => '**Trigger type** '."\n" + ."\n" + .'* Manual: Execute manually '."\n" + .'* Cron: Trigger periodically ', 'type' => 'string', + 'enum' => ['Manual', 'Cron'], 'required' => false, - 'example' => 'test', - ], - 'forcedSetting' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - 'name' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test', + 'example' => 'Manual', + 'title' => '', ], - 'notifyConfig' => [ - 'description' => '', + 'cronExpression' => ['description' => '**Cron expression (UTC+8)**. Required when the trigger type is Cron. ', 'type' => 'string', 'required' => false, 'example' => '0 0 0 ? * 1', 'title' => ''], + 'alarmConfigs' => [ + 'description' => '**Alert address list** ', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'notifyPath' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '/', - ], - 'notifyType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'DingDing', - ], + 'type' => ['description' => 'Alerting method. '."\n" + .'Currently, only `cms` is supported. '."\n", 'type' => 'string', 'required' => false, 'example' => 'cms', 'title' => ''], + 'address' => ['description' => 'Alert address. '."\n", 'type' => 'string', 'required' => false, 'example' => 'example@example.com', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'notifyOperationTypes' => [ + 'detectConfigName' => ['description' => 'Drift detection name ', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'clientToken' => ['description' => 'Idempotent token, format: [0-9a-zA-Z-]{1,64}. We recommend using a UUID. ', 'type' => 'string', 'required' => false, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'detectConfigId', + 'in' => 'path', + 'schema' => ['description' => 'Drift detection configuration ID ', 'type' => 'string', 'required' => true, 'example' => 'dc-xxxxx', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response ', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['description' => 'Request ID '."\n", 'title' => 'Id of the request ', 'type' => 'string', 'example' => 'valueA'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'Update Drift Detection Configuration ', + 'summary' => 'Updates the drift detection configuration information for the specified ID. ', + 'description' => '## Request Description '."\n" + .'- `detectConfigId` is a required parameter used to identify the specific detection configuration to update. '."\n" + .'- When `triggerType` is set to `Cron`, a valid `cronExpression` must be provided. '."\n" + .'- Each element in the `alarmConfigs` list must include an alert type (`type`) and an address (`address`). '."\n" + .'- If you do not want to change certain properties (such as `name`, `description`, etc.), you can omit these fields from the request body. '."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"valueA\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'UpdateExplorerModuleAttribute' => [ + 'summary' => 'Updates an Explorer template.', + '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' => 'The request struct.', + 'type' => 'object', + 'properties' => [ + 'description' => ['description' => 'The template description. Length: 0 to 255 characters.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'name' => ['description' => 'The template name. Length: 1 to 128 characters. The name must be unique.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => false, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'explorerModuleId', + 'in' => 'path', + 'schema' => ['description' => 'The Explorer template ID.', 'type' => 'string', 'required' => true, 'example' => 'mod-al1611jl2tce3nlh2uvklh0', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response struct.', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '25B274BA-E672-58C0-8602-541281B6F758'], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"25B274BA-E672-58C0-8602-541281B6F758\\"\\n}","type":"json"}]', + 'title' => 'Update an explorer template', + 'description' => 'Updates an Explorer template.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateExplorerModuleAttribute'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateExplorerModuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateGroup' => [ + 'summary' => 'Modifies a group.', + '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' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'autoDestroy' => ['description' => 'Specifies whether to automatically delete the group.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'autoTrigger' => ['description' => 'Specifies whether to enable the automatic trigger policy. Valid values: - **true**: enabled. - **false**: disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'clientToken' => ['description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. We recommend that you use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The group description.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'forcedSetting' => ['description' => 'Specifies whether to forcibly use the group configuration.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'name' => ['description' => 'The group name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'notifyConfig' => [ + 'description' => 'The notification configuration.', 'type' => 'array', 'items' => [ - 'type' => 'string', + 'description' => 'The notification configuration.', + 'type' => 'object', + 'properties' => [ + 'notifyPath' => ['description' => 'The path configuration for notifications.', 'type' => 'string', 'required' => false, 'example' => '/', 'title' => ''], + 'notifyType' => ['description' => 'The notification type. Valid values: DingDing.', 'type' => 'string', 'required' => false, 'example' => 'DingDing', 'title' => ''], + ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'projectId' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'p-433aead7560571a87349d054b4', - ], - 'ramRole' => [ - 'description' => '', - 'type' => 'string', + 'notifyOperationTypes' => [ + 'description' => 'The list of notification operation types.', + 'type' => 'array', + 'items' => ['description' => 'The notification operation type. Valid values:'."\n" + ."\n" + .'- apply: exec.'."\n" + .'- refresh: refresh.'."\n" + .'- destroy: destroy.', 'type' => 'string', 'required' => false, 'example' => 'refresh', 'title' => ''], 'required' => false, - 'example' => 'ramName', + 'title' => '', + 'example' => '', ], + 'ramRole' => ['description' => 'The RAM role (1-128 characters). The system assumes this role to execute the template when a new job is triggered. This parameter is required when the job trigger method is not manual.', 'type' => 'string', 'required' => false, 'example' => '{}', 'title' => ''], 'reportExportField' => [ - 'description' => '', + 'description' => 'The list of export fields for the report.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'taskName', - ], + 'items' => ['description' => 'The list of export fields for the report.', 'type' => 'string', 'required' => false, 'example' => 'Task', 'title' => ''], 'required' => false, + 'title' => '', + 'example' => '', ], - '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', - ], + 'reportExportPath' => ['description' => 'The export path for the execution report. OSS paths are supported.', 'type' => 'string', 'required' => false, 'example' => '/', 'title' => ''], + 'terraformProviderVersion' => ['description' => 'The Terraform Provider version. Select a Terraform Provider version. Nodes in the group execute plans based on the specified Terraform Provider version. The version configured on a node takes higher priority.', 'type' => 'string', 'required' => false, 'example' => '1.183.0', 'title' => ''], 'triggerConfig' => [ - 'description' => '', + 'description' => 'The trigger policy. This parameter cannot be empty when autoTrigger is set to true.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The trigger policy. This parameter cannot be empty when autoTrigger is set to true.', 'type' => 'object', 'properties' => [ - 'triggerStrategy' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Cron', - ], - 'triggerValue' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '0 0 19 * * ?', - ], + 'triggerStrategy' => ['description' => 'The trigger strategy. Valid values:'."\n" + ."\n" + .'- ProviderNewVersion: triggered when a new Provider version is released.'."\n" + .'- Cron: triggered on a schedule.', 'type' => 'string', 'required' => false, 'example' => 'Cron', 'title' => ''], + 'triggerValue' => ['description' => 'The policy value that must be maintained for scheduled triggers. This value is a cron expression.', 'type' => 'string', 'required' => false, 'example' => '0 0 * * * ?', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], 'triggerResourceType' => [ - 'description' => '', + 'description' => 'The resource type that triggers execution. Valid values:'."\n" + ."\n" + .'- Task: regular node.'."\n" + .'- SceneTestingTask: scenario-based testing node.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Task', - ], + 'items' => ['description' => 'The resource type that triggers execution. Valid values:'."\n" + ."\n" + .'- Task: regular node.'."\n" + .'- SceneTestingTask: scenario-based testing node.', 'type' => 'string', 'required' => false, 'example' => 'SceneTestingTask', 'title' => ''], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'groupId', + 'in' => 'path', + 'schema' => ['description' => 'The group ID.', 'type' => 'string', 'required' => true, 'example' => 'g-59d8d22e78792ffe3d3eb6154d727', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4EF5E823-AC0D-5CB5-8F18-1352455A488D'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"groupId\\": \\"g-4267dcfbf1b6d128c87adf0e95f\\",\\n \\"requestId\\": \\"E2D0E863-1651-5E58-823F-B451C8C24615\\"\\n}","type":"json"}]', - ], - 'UpdateGroup' => [ - 'summary' => '修改分组', - 'path' => '/group/{groupId}', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4EF5E823-AC0D-5CB5-8F18-1352455A488D\\"\\n}","type":"json"}]', + 'title' => 'Modify specified group information', + 'changeSet' => [ + ['createdAt' => '2023-01-10T09:03:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/{#GroupId}'], + ], + ], + ], ], + ], + 'UpdateModuleAttribute' => [ + 'summary' => 'Updates the name, description, tags, and other information of a specified template.', + 'path' => '/modules/{moduleId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ @@ -8904,1081 +10481,2934 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The request body parameters.', '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' => '', + 'description' => ['description' => 'The template description. The description can be up to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'this is description'."\n", 'title' => ''], + 'name' => ['description' => 'The template name. The name must meet the following requirements:'."\n" + ."\n" + .'- The name must be 2 to 128 characters in length.'."\n" + .'- The name can contain letters, digits, Chinese characters, hyphens (-), underscores (_), and periods (.). It cannot start or end with a hyphen, underscore, or period.'."\n" + .'- The name must be unique among all templates within the current account.', 'type' => 'string', 'required' => false, 'example' => 'ModuleName', 'title' => ''], + 'sourcePath' => ['description' => 'The path of the template source.'."\n" + ."\n" + .'- If the source is Registry, set this parameter to <workspace name>/<module name>:<module version>. Example: terraform-alicloud-modules/rds:1.0.0.'."\n" + .'- If the source is OSS, set this parameter to oss::<file URL>. The file must be a ZIP file. Example: oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip.'."\n" + .'- If the source is ExportTask, set this parameter to <export task ID>:<exported version>. Example: ex-3b6cb9fa4751afff298da723c24ac:v1.', 'type' => 'string', 'required' => false, 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip', 'title' => ''], + 'statePath' => ['description' => 'The path of the state file that corresponds to the template. Currently, only OSS paths are supported. Set this parameter to oss::<OSS file path>/terraform.tfstate.', 'type' => 'string', 'required' => false, 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/terraform.tfstate', 'title' => ''], + 'versionStrategy' => [ + 'description' => 'The version generation strategy. Valid values:'."\n" + ."\n" + .'- Manual: manually generate versions. This is the default value.'."\n" + .'- SourcePathUpdated: a new version is generated when sourcePath is modified.', + 'enumValueTitles' => ['Manual' => 'Manual', 'SourcePathUpdated' => 'SourcePathUpdated'], 'type' => 'string', 'required' => false, - 'example' => 'test', - ], - 'forcedSetting' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + 'example' => 'Manual', + 'title' => '', ], - 'name' => [ - 'description' => '', - 'type' => 'string', + 'groupInfo' => [ + 'description' => 'The project group information.', + 'type' => 'object', + 'properties' => [ + 'groupId' => ['description' => 'The group ID.', 'type' => 'string', 'required' => false, 'example' => 'g-433aead7560571e66e31274ffd3', 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'required' => false, 'example' => 'p-433aead75605713865c386cb9d', 'title' => ''], + ], 'required' => false, - 'example' => 'test', + 'title' => '', + 'example' => '', ], - 'notifyConfig' => [ - 'description' => '', + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. We recommend that you use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'tags' => [ + 'description' => 'The tags of the template.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The tags of the template.', 'type' => 'object', 'properties' => [ - 'notifyPath' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '/', - ], - 'notifyType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'DingDing', - ], + 'tagValue' => ['description' => 'The tag value of the template.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], + 'tagKey' => ['description' => 'The tag key of the template.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], - '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' => '', + ], + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'moduleId', + 'in' => 'path', + 'schema' => ['description' => 'The template ID.', 'type' => 'string', 'required' => true, 'example' => 'mod-62ecaa43022ce189d65f8d4a794', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response body structure.', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CA05185E-6B90-5941-98D4-7212688AECC8'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"CA05185E-6B90-5941-98D4-7212688AECC8\\"\\n}","type":"json"}]', + 'title' => 'Update template attributes', + 'description' => '## Operation description'."\n" + .'- This operation allows you to modify the basic attributes of an existing template, including but not limited to the template name, description, and tags.'."\n" + .'- The update operation does not affect the content or version information of the template.'."\n" + .'- To enable or disable deletion protection, use the deletionProtection parameter.'."\n" + .'- Use clientToken to ensure the idempotence of the request and avoid duplicate submissions caused by network issues.', + 'changeSet' => [ + ['createdAt' => '2022-11-29T14:16:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-08-09T01:54:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-27T10:03:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-13T12:28:48.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateModuleAttribute'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateModuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}'], + ], + ], + ], + ], + ], + 'UpdateParameterSetAttribute' => [ + 'summary' => 'Updates the attributes of a specified parameter set, such as the name and description.', + 'path' => '/parameterSets/{parameterSetId}', + 'methods' => ['put'], + 'schemes' => ['http', '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' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'description' => ['title' => '', 'description' => 'The description of the parameter set. Maximum length: 1024 characters.', 'type' => 'string', 'example' => 'This is parameterSet', 'required' => false], + 'name' => ['title' => '', 'description' => 'The name of the parameter set. Maximum length: 128 characters.', 'type' => 'string', 'required' => true, 'example' => 'demo'], + 'parameters' => [ + 'description' => 'The parameter list.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The parameter set content.', 'type' => 'object', 'properties' => [ - 'triggerStrategy' => [ - 'description' => '', + 'name' => ['title' => '', 'description' => 'The parameter name.', 'type' => 'string', 'example' => 'region', 'required' => false], + 'type' => [ + 'title' => '', + 'description' => 'The parameter type. Valid values: string, number, bool, map(string), and list(string).', + 'enumValueTitles' => ['number' => 'numeric.', 'string' => 'string.', 'bool' => 'boolean.', 'map(string)' => 'map', 'list(string)' => 'array.'], 'type' => 'string', + 'example' => 'string', 'required' => false, - 'example' => 'Cron', ], - 'triggerValue' => [ - 'description' => '', - 'type' => 'string', + 'value' => ['title' => '', 'description' => 'The parameter value. Use JSON for complex types.', 'type' => 'string', 'example' => 'cn-zhangjiakou', 'required' => false], + 'status' => [ + 'title' => '', + 'description' => 'The parameter set status. Valid values:'."\n" + ."\n" + .'- HAS_VALUE (default): Defines a specific value.'."\n" + .'- EXPLICIT_NULL: Explicitly set to null.', + 'enumValueTitles' => ['EXPLICIT_NULL' => 'explicitly set to null.', 'HAS_VALUE' => 'defines a specific value.'], + 'type' => 'string', + 'example' => 'HAS_VALUE', 'required' => false, - 'example' => '0 0 * * * ?', ], + 'secret' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, - ], - 'triggerResourceType' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'SceneTestingTask', - ], - 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'groupId', + 'name' => 'parameterSetId', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'g-59d8d22e78792ffe3d3eb6154d727', - ], + 'schema' => ['title' => '', 'description' => 'The parameter set ID.', 'type' => 'string', 'required' => true, 'example' => 'pts-433aead7560571fc2556dc33a4a'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '4EF5E823-AC0D-5CB5-8F18-1352455A488D', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '81CF7E18-D318-5670-9A4D-C08476BC4899'], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Update parameter set attributes', + 'description' => '## Operation description'."\n" + .'- This operation allows you to modify the basic information of an existing parameter set, including the name and description.'."\n" + .'- If the request includes the parameters field, the parameter list in the parameter set is updated.'."\n" + .'- The clientToken field can be used to ensure the idempotence of the request.'."\n" + .'- The update operation requires a valid parameterSetId as a path parameter.'."\n" + .'- The request must include authentication information to pass identity verification.', + 'changeSet' => [ + ['createdAt' => '2022-08-09T01:54:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-27T10:03:07.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateParameterSetAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4EF5E823-AC0D-5CB5-8F18-1352455A488D\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"81CF7E18-D318-5670-9A4D-C08476BC4899\\"\\n}","type":"json"}]', ], - 'GetGroup' => [ - 'summary' => '查询分组', - 'path' => '/group/{groupId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateProject' => [ + 'summary' => 'Updates project information.', + 'path' => '/project/{projectId}', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'groupId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Request body parameters.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The project description. Length: 0 to 1024 characters.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'name' => ['description' => 'The project name. Length: 1 to 128 characters.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], 'required' => false, - 'example' => 'g-4267dcfbf1b6d128c87adf0e95f', + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'projectId', + 'in' => 'path', + 'schema' => ['description' => 'The project ID.', 'type' => 'string', 'required' => true, 'example' => 'p-433aead7560572f8d95b25775c', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C62888F6-254D-5589-BF05-0D9EE698C187'], ], + 'example' => '', ], ], ], - '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', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C62888F6-254D-5589-BF05-0D9EE698C187\\"\\n}","type":"json"}]', + 'title' => 'Update project information', + 'changeSet' => [ + ['createdAt' => '2022-11-30T07:20:14.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-27T03:21:27.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProject'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateProject', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/{#ProjectId}'], + ], + ], + ], + ], + ], + 'UpdateRegistryModuleAttribute' => [ + 'summary' => 'Updates a Registry template.', + 'path' => '/registryModule/{namespaceName}/{moduleName}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], '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', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'acl' => [ + 'description' => 'The access permission. Valid values:'."\n" + ."\n" + .'- private: private.', + 'enumValueTitles' => ['private' => 'private'], + 'type' => 'string', + 'required' => false, + 'example' => 'private', + 'title' => '', + ], + 'description' => ['description' => 'The description of the Registry template.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + ], 'required' => false, - 'example' => 'p-14e80de4866bf7ffed0c4072ed9b37', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'keyword', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'NamespaceName', 'title' => ''], ], [ - 'name' => 'tag', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'key' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], - ], - ], - ], + 'name' => 'moduleName', + 'in' => 'path', + 'schema' => ['description' => 'The Registry template name.', 'type' => 'string', 'required' => true, 'example' => 'ModuleName', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '127A5B81-D1E7-5E33-8D44-B89507C4B81F'], ], + 'example' => '', ], ], ], - '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', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"127A5B81-D1E7-5E33-8D44-B89507C4B81F\\"\\n}","type":"json"}]', + 'title' => 'Update a registry template', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRegistryModuleAttribute'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateRegistryModuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], ], + ], + 'UpdateRegistryNamespaceAttribute' => [ + 'summary' => 'Modifies a workspace.', + 'path' => '/registryNamespace/{namespaceName}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'groupId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'acl' => [ + 'description' => 'The access permission. Valid values:'."\n" + ."\n" + .'- private: private access.', + 'enumValueTitles' => ['private' => 'private'], + 'type' => 'string', + 'required' => false, + 'example' => 'private', + 'title' => '', + ], + 'description' => ['description' => 'The description of the workspace.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], + 'clientToken' => ['description' => 'The idempotence token. Format: [0-9a-zA-Z-]{1,64}. Use a UUID.', 'type' => 'string', 'required' => true, 'example' => '2da11a5501f18cc5e004', 'title' => ''], + ], 'required' => false, - 'example' => 'g-4267dcfbf1b6d128c87adf0e95f', + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'namespaceName', + 'in' => 'path', + 'schema' => ['description' => 'The name of the workspace. The name must meet the following requirements:'."\n" + ."\n" + .'- The name must be 3 to 63 characters in length.'."\n" + .'- The name can contain uppercase and lowercase letters, digits, hyphens (-), and underscores (_). It cannot start or end with a hyphen.'."\n" + .'- The name must be unique within the global workspace resources.', 'type' => 'string', 'required' => true, 'example' => 'NamespaceName', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '1E7BA3EB-B0EF-53F5-9999-07CAD6D9F8A3', - ], + 'namespaceName' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'NamespaceName', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CA5C5B39-D1DC-5309-8E97-B9A91DA21094'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1E7BA3EB-B0EF-53F5-9999-07CAD6D9F8A3\\"\\n}","type":"json"}]', - ], - 'AssociateGroup' => [ - 'summary' => '分组关联', - 'path' => '/group/{groupId}/associate', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"namespaceName\\": \\"NamespaceName\\",\\n \\"requestId\\": \\"CA5C5B39-D1DC-5309-8E97-B9A91DA21094\\"\\n}","type":"json"}]', + 'title' => 'Modify a workspace', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRegistryNamespaceAttribute'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateRegistryNamespaceAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}'], + ], + ], + ], ], + ], + 'UpdateResourceExportTaskAttribute' => [ + 'summary' => 'Modifies a resource export task.', + 'path' => '/exportTasks/{exportTaskId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'groupId', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'g-4267dcfbf1b6d128c87adf0e95f', - ], - ], - [ 'name' => 'body', 'in' => 'body', + 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body parameters.', 'type' => 'object', 'properties' => [ - 'clientToken' => [ - 'description' => '', - 'type' => 'string', + 'clientToken' => ['description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. We recommend that you use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The description of the task.', 'type' => 'string', 'required' => false, 'example' => 'this is description'."\n", 'title' => ''], + 'exportToModule' => [ + 'description' => 'Saves the exported template as a module. If this parameter is not set, the template is automatically saved in the registry.', + 'type' => 'object', + 'properties' => [ + 'source' => [ + 'description' => 'The module type in which the exported template is saved. Valid values:'."\n" + ."\n" + .'- OSS: OSS'."\n" + .'- Registry: Terraform Registry.', + 'enumValueTitles' => ['Registry' => 'Registry', 'OSS' => 'OSS'], + 'type' => 'string', + 'required' => false, + 'example' => 'Registry', + 'title' => '', + ], + 'sourcePath' => ['description' => 'The path for saving the template content. Set this parameter when source is set to OSS. Format: oss::https://<bucket>.oss-<region>.aliyuncs.com/<path>.zip.', 'type' => 'string', 'required' => false, 'example' => 'oss::https://iac-daily.oss-ap-southeast-1.aliyuncs.com/iacservice/vpc.zip', 'title' => ''], + 'statePath' => ['description' => 'The path for saving the template state file. Set this parameter when source is set to OSS. Format: oss::https://<bucket>.oss-<region>.aliyuncs.com/<path>/terraform.tfstate.', 'type' => 'string', 'required' => false, 'example' => 'oss::https://iac-daily.oss-ap-southeast-1.aliyuncs.com/default/terraform.tfstate', 'title' => ''], + ], 'required' => false, - 'example' => 'a65451293e64979ba7a4b573950217fe', + 'title' => '', + 'example' => '', ], - 'projectId' => [ - 'description' => '', + 'includeRules' => [ + 'description' => 'The list of include rules used when exporting resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The include rule used when exporting resources.', + 'type' => 'object', + 'properties' => [ + 'values' => [ + 'description' => 'The values of an include rule for resource export.', + 'type' => 'array', + 'items' => ['description' => 'The values of an include rule for resource export.', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'key' => ['description' => 'The name of the include rule for resource export. Valid values:'."\n" + ."\n" + .'- ResourceType: required. The resource type. Call **ListResourceTypes** to view the supported resources. Example: ALIYUN::VPC::VPC.'."\n" + .'- RegionId: required. The region to which the resource belongs. Only one region is supported. Example: cn-chengdu.'."\n" + .'- <ResourceType>:Id: the resource ID. Example: ALIYUN::VPC::VPC:Id.'."\n" + .'- ResourceGroupId: the resource group ID. Example: rg-1234.'."\n" + .'- ZoneId: the zone to which the resource belongs. Only one zone is supported. Example: ap-southeast-1-h.'."\n" + ."\n" + .'Multiple filter conditions have an AND relationship by default. A resource must meet all filter conditions to be considered a match.', 'type' => 'string', 'required' => false, 'example' => 'RegionId', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'name' => ['description' => 'The name of the resource export task. The name must meet the following requirements:'."\n" + ."\n" + .'- The name must be 2 to 128 characters in length.'."\n" + .'- The name can contain letters, digits, Chinese characters, hyphens (-), underscores (_), and periods (.). The name cannot start or end with a hyphen, underscore, or period.'."\n" + .'- The name must be unique among resource export tasks within the current account.', 'type' => 'string', 'required' => false, 'example' => 'TaskName', 'title' => ''], + 'ramRole' => ['description' => 'The RAM role.', 'type' => 'string', 'required' => false, 'example' => 'ramName', 'title' => ''], + 'terraformProviderVersion' => ['description' => 'The Terraform provider version. Call **ListTerraformProviderVersions** to view the supported versions. Default value: the latest version.', 'type' => 'string', 'required' => false, 'example' => '1.183.0', 'title' => ''], + 'terraformVersion' => ['description' => 'The Terraform version. Call **ListAvailableTerraformVersions** to view the supported versions. Default value: 1.5.7.', 'type' => 'string', 'required' => false, 'example' => '1.5.7', 'title' => ''], + 'triggerStrategy' => [ + 'description' => 'The trigger strategy. Valid values:'."\n" + .'- Auto: triggered automatically when rules are modified or the trigger strategy is changed to Auto.'."\n" + .'- Manual: triggered manually.'."\n" + ."\n" + .'Default value: Manual.', 'type' => 'string', 'required' => false, - 'example' => 'p-433aead7560571a87349d054b4', + 'default' => 'Manual', + 'enum' => ['Always', 'NewVersion', 'Manual'], + 'example' => 'Manual', + 'title' => '', ], - 'resourceIds' => [ - 'description' => '', + 'variables' => [ + 'description' => 'The list of variables. Sets exported resource parameters as variables.', 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of variables. Sets exported resource parameters as variables.', + 'type' => 'object', + 'properties' => [ + 'properties' => [ + 'description' => 'The list of Terraform resource properties corresponding to the resource type.', + 'type' => 'array', + 'items' => ['description' => 'The Terraform resource property corresponding to the resource type.', 'type' => 'string', 'required' => false, 'example' => 'vswitch_name'."\n", 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'resourceType' => ['description' => 'The resource type. Call **ListResourceTypes** to view the supported resources.', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN::VPC::VSwitch'."\n", 'title' => ''], + ], 'required' => false, - 'example' => 'task-433aead7560571a87', + 'title' => '', + 'example' => '', ], - 'required' => true, - ], - 'resourceType' => [ - 'description' => '', - 'type' => 'string', 'required' => false, - 'example' => 'Task', + 'title' => '', + 'example' => '', ], ], 'required' => false, - 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'exportTaskId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the resource export task.', 'type' => 'string', 'required' => true, 'example' => 'ex-al1811jl980g5ffd115nhgt', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9', - ], + 'exportTaskId' => ['description' => 'The ID of the resource export task.', 'type' => 'string', 'example' => 'ex-kw161ol8te1n701e1igt8q8', 'title' => ''], + 'exportVersion' => ['description' => 'The version of the export task.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B43F08A7-F2A3-54D3-BDA4-69C9F32A7B9F'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B6ED9F71-7FA8-598E-B64D-4606FB3FCCC9\\"\\n}","type":"json"}]', - ], - 'DissociateGroup' => [ - 'summary' => '取消关联分组', - 'path' => '/group/{groupId}/dissociate', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"exportTaskId\\": \\"ex-kw161ol8te1n701e1igt8q8\\",\\n \\"exportVersion\\": \\"v1\\",\\n \\"requestId\\": \\"B43F08A7-F2A3-54D3-BDA4-69C9F32A7B9F\\"\\n}","type":"json"}]', + 'title' => 'Modify a resource export task', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2023-04-13T08:36:09.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-12-26T03:00:24.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResourceExportTaskAttribute'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateResourceExportTaskAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/{#ResourceExportTaskId}'], + ], + ], + ], ], + ], + 'UpdateStack' => [ + 'path' => '/stacks/{stackId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ - 'name' => 'projectId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The request body parameters.', + 'type' => 'object', + 'properties' => [ + 'clientToken' => ['description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. We recommend that you use a UUID.', 'type' => 'string', 'required' => false, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'description' => ['description' => 'The description of the stack.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], + 'sourcePath' => ['description' => 'The path of the configuration source. The value can be up to 1,000 characters in length.'."\n" + .'- If the source is OSS, set this parameter to oss::<file URL>. The file must be a ZIP file. Example: oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip.'."\n" + .'- If the source is IAC_SERVICE_MODULE, set this parameter to a template ID. Example: mod-xxxxx.', 'type' => 'string', 'required' => false, 'example' => 'oss::https://terraform-pipeline.oss-eu-central-1.aliyuncs.com/code.zip', 'title' => ''], + 'ramRole' => ['description' => 'The RAM role granted to the task. This role is used to automatically continue the execution of scheduled tasks during automatic triggering or offline scenarios.', 'type' => 'string', 'required' => false, 'example' => 'TestIacRole', 'title' => ''], + 'workingDirectory' => ['description' => 'The working directory where the configuration files are located. Enter / if the files are in the root directory. Example: config/ or /.', 'type' => 'string', 'required' => false, 'example' => '/', 'title' => ''], + 'name' => ['description' => 'The name of the stack. The name must be 2 to 128 characters in length and can contain letters, digits, Chinese characters, hyphens (-), underscores (_), and periods (.). The name cannot start or end with a hyphen, underscore, or period.', 'type' => 'string', 'required' => false, 'example' => 'stack-test', 'title' => ''], + ], 'required' => false, - 'example' => 'p-433aead7560572f8d95b25775c', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'groupId', + 'name' => 'stackId', 'in' => 'path', + 'schema' => ['description' => 'The stack ID. This is the unique identifier generated after the stack is created.', 'type' => 'string', 'required' => true, 'example' => 'stack-as1d4vld898ppnqbxxxxx', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'g-59d8d22e78792ffe3d3eb6154d727', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0D298375-F92F-5B65-82E4-EA68F02521F1'], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Modify a stack', + 'summary' => 'Modifies a stack. When the configuration changes, a stack deployment is triggered.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateStack', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/{#stackId}'], + ], + ], + 'additionalActions' => [ + ['action' => 'iacservice:CreateStack', 'validationType' => 'always'], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0D298375-F92F-5B65-82E4-EA68F02521F1\\"\\n}","type":"json"}]', + ], + 'UpdateTaskAttribute' => [ + 'summary' => 'Updates the properties of a task.', + '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' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => 'task-4267dcfbf1b6dfff67fea425525e2', 'title' => ''], + ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body parameters.', 'type' => 'object', 'properties' => [ - 'clientToken' => [ - 'description' => '', + 'autoApply' => ['description' => 'Specifies whether to automatically execute the task. Default value: false.'."\n" + .'- true: After the preview is complete (terraform plan), the execution (terraform apply) is automatically performed without manual confirmation.'."\n" + .'- false: After the preview is complete (terraform plan), manual confirmation is required before the execution (terraform apply) starts.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'true', 'title' => ''], + 'autoDestroy' => ['description' => 'Specifies whether to automatically destroy resources after creation. Default value: false.'."\n" + .'- true: After the execution is complete (terraform apply), the destroy operation (terraform destroy) is automatically performed without manual confirmation.'."\n" + .'- false: After the execution is complete (terraform apply), no further action is taken.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + 'description' => ['description' => 'The description of the task.', 'type' => 'string', 'required' => false, 'example' => 'this is description'."\n", 'title' => ''], + 'groupInfo' => [ + 'description' => 'The project group information.', + 'type' => 'object', + 'properties' => [ + 'groupId' => ['description' => 'The group ID.', 'type' => 'string', 'required' => false, 'example' => 'g-433aead7560571e66e31274ffd3', 'title' => ''], + 'projectId' => ['description' => 'The project ID.', 'type' => 'string', 'required' => false, 'example' => 'p-433aead75605713865c386cb9d', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'initModuleState' => ['description' => 'Specifies whether to use a state file. Default value: false. This parameter is applicable when the template originates from resource export. Only one task can use this parameter at a time.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'moduleVersion' => ['description' => 'The template version.', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''], + 'name' => ['description' => 'The task name. The name must meet the following requirements:'."\n" + ."\n" + .'- The name must be 2 to 128 characters in length.'."\n" + .'- The name can contain letters, digits, Chinese characters, hyphens (-), underscores (_), and periods (.). It cannot start or end with a hyphen, underscore, or period.'."\n" + .'- The name must be unique among all tasks under the current account.', 'type' => 'string', 'required' => false, 'example' => 'TaskName', 'title' => ''], + 'protectionStrategy' => [ + 'description' => 'The list of resource protection strategies.', + 'type' => 'array', + 'items' => ['description' => 'The resource protection strategy. Valid values:'."\n" + ."\n" + .'- PreventDestroy: deletion protection. Resources cannot be deleted.'."\n" + .'- PreventUpdate: in-place update protection. No changes are allowed.'."\n" + .'- PreventReplace: ForceNew protection. Resources cannot be deleted and recreated.', 'type' => 'string', 'required' => false, 'example' => 'PreventDestroy', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ramRole' => ['description' => 'The RAM role. The system assumes this role to execute the template when a new job is triggered. This parameter is required when the job trigger method is not set to manual.', 'type' => 'string', 'required' => false, 'example' => 'role', 'title' => ''], + 'skipPropertyValidation' => ['description' => 'Specifies whether to skip enumeration value validation. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'terraformVersion' => ['description' => 'The Terraform version. Call the **ListAvailableTerraformVersions** operation to obtain the list of supported versions. Default value: 1.5.7.', 'type' => 'string', 'required' => false, 'example' => '1.5.7', 'title' => ''], + 'triggerStrategy' => [ + 'description' => 'The job trigger method. Valid values:'."\n" + ."\n" + .'- Manual: manually triggered (default).'."\n" + .'- NewVersion: triggered when a new template version is published.'."\n" + .'- ParameterSetUpdated: triggered when the parameter set content changes or the parameter set attachment relationship changes.'."\n" + .'- Auto: automatically triggered when the task\'s own properties change, such as task creation, execution version update, or job trigger strategy change (when switched from another method to Auto).'."\n" + ."\n" + .'The **ramRole** parameter is required when the trigger method is not set to Manual.', + 'enumValueTitles' => ['Auto' => 'Auto', 'NewVersion' => 'NewVersion', 'ParameterSetUpdated' => 'ParameterSetUpdated', 'Manual' => 'Manual'], 'type' => 'string', 'required' => false, - 'example' => '2daf4227f747cbf11a5501f18cc5e004', + 'default' => 'Manual', + 'enum' => ['Always', 'NewVersion', 'Manual', 'ParameterSetUpdated'], + 'example' => 'Manual', + 'title' => '', ], - 'resourceIds' => [ - 'description' => '', + 'clientToken' => ['description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. We recommend that you use a UUID.', 'type' => 'string', 'required' => true, 'example' => 'a65451293e64979ba7a4b573950217fe', 'title' => ''], + 'tags' => [ + 'description' => 'The list of tags for the task.', 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of tags for the task.', + 'type' => 'object', + 'properties' => [ + 'tagKey' => ['description' => 'The tag key of the task.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], + 'tagValue' => ['description' => 'The tag value of the task.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], + ], 'required' => false, - 'example' => 'task-abc', + 'title' => '', + 'example' => '', ], - 'required' => true, - ], - 'resourceType' => [ - 'description' => '', - 'type' => 'string', 'required' => false, - 'example' => 'Task', + 'title' => '', + 'example' => '', ], + 'terraformProviderVersion' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'required' => false, - 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body structure.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '17793D91-A26F-520D-A948-3452A45D15B1', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '17793D91-A26F-520D-A948-3452A45D15B1'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"17793D91-A26F-520D-A948-3452A45D15B1\\"\\n}","type":"json"}]', - ], - 'ManageTerraformState' => [ - 'summary' => '支持状态文件的资源导入和移除', - 'path' => '/terraformState/manage', - 'methods' => [ - 'post', + 'title' => 'Update a task', + 'description' => 'Single-user call frequency: 100 calls per second.', + 'changeSet' => [ + ['createdAt' => '2023-07-11T07:34:16.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-11-29T13:37:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-01T06:23:45.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-27T10:03:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-27T03:21:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-27T03:21:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-13T12:28:49.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskAttribute'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateTaskAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"17793D91-A26F-520D-A948-3452A45D15B1\\"\\n}","type":"json"}]', + ], + 'UploadModule' => [ + 'summary' => 'Uploads a template.', + 'path' => '/modules/upload/{resourceType}', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREopenapiexplorer7MPML0', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREopenapiexplorer7MPML0'], ], 'parameters' => [ [ + 'name' => 'resourceType', + 'in' => 'path', + 'schema' => [ + 'description' => 'The type of the resource. Valid values:'."\n" + .'- Module'."\n" + .'- RegistryModule.', + 'type' => 'string', + 'required' => true, + 'enum' => ['Module', 'RegistryModule', 'ModuleVersion'], + 'example' => 'RegistryModule', + 'title' => '', + ], + ], + [ + 'name' => 'url', + 'in' => 'query', + 'schema' => ['description' => 'The local zip file to upload. The file size cannot exceed 10 MB.', 'type' => 'string', 'required' => false, 'isFileTransferUrl' => true, 'example' => 'url', 'title' => ''], + ], + [ + 'name' => 'namespaceName', + 'in' => 'query', + 'schema' => ['description' => 'The workspace name. This parameter is valid and required when resourceType is set to RegistryModule.', 'type' => 'string', 'required' => false, 'example' => 'test_namespace', 'title' => ''], + ], + [ + 'name' => 'moduleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the module. This parameter is valid and required when resourceType is set to RegistryModule.', 'type' => 'string', 'required' => false, 'example' => 'RegistryModule-test0ef88', 'title' => ''], + ], + [ + 'name' => 'moduleId', + 'in' => 'query', + 'schema' => ['description' => 'The module ID. This parameter is valid and required when resourceType is set to Module.', 'type' => 'string', 'required' => false, 'example' => 'mod-kw1018ogp2m3qp22b3k31d', 'title' => ''], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The template content.', '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', + 'code' => [ + 'description' => 'The template content.', + 'type' => 'object', 'required' => false, - 'example' => 'vsw-xxxxxxxx', + 'additionalProperties' => ['description' => 'The template content.', 'type' => 'string', 'example' => 'code', 'title' => ''], + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The response body.', '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', - ], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0DDD8773-5756-5508-BE36-D03DE43E2450'], + 'version' => ['description' => 'If ResourceType is set to ModuleVersion, this parameter takes effect and returns the version ID after publishing.', 'type' => 'string', 'example' => 'v1', 'title' => ''], ], + 'example' => '', ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Upload template', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - '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', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:UploadModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice:*:{#accountId}:module/{#ModuleId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0DDD8773-5756-5508-BE36-D03DE43E2450\\",\\n \\"version\\": \\"v1\\"\\n}","type":"json"}]', + ], + 'ValidateModule' => [ + 'summary' => 'Performs a dry run on a template.', + 'path' => '/module/validation', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], 'security' => [ [ - 'Anonymous' => [], + 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', + 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body parameters.', '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' => '', + 'clientToken' => ['description' => 'The idempotency token. Format: [0-9a-zA-Z-]{1,64}. We recommend that you use a UUID.', 'type' => 'string', 'required' => false, 'example' => '2daf4227f747cbf11a5501f18cc5e004', 'title' => ''], + 'code' => ['description' => 'The template text that is directly passed in when source is set to Upload.', 'type' => 'string', 'required' => false, 'example' => 'code', 'title' => ''], + 'source' => [ + 'description' => 'The template source. Valid values:'."\n" + .'Upload: text upload.', + 'enumValueTitles' => [], 'type' => 'string', 'required' => false, - 'example' => 'generateSource == ', + 'example' => 'Upload', + 'title' => '', ], + 'sourcePath' => ['description' => 'The source path.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'codeMap' => ['description' => 'Specifies multiple configuration files to pass in.', 'type' => 'object', 'required' => false, 'example' => '{"main.tf":"xxx"}', 'title' => ''], ], 'required' => false, - 'readOnly' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body.', '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' => '{}', - ], + 'message' => ['description' => 'The validation message.', 'type' => 'string', 'example' => 'ok', 'title' => ''], + 'moduleValidationId' => ['description' => 'The validation ID.', 'type' => 'string', 'example' => 'BF72A6FB-B07', 'title' => ''], + 'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BF72A6FB-B071-5F2E-A036-9D62545B962C'], + 'status' => ['description' => 'The validation result. Valid values:'."\n" + .'- Initializing: initialization in progress.'."\n" + .'- Validating: validation in progress.'."\n" + .'- Validated: validation succeeded.'."\n" + .'- Errored: validation failed.', 'type' => 'string', 'example' => 'Validating', 'title' => ''], ], - 'readOnly' => false, + 'example' => '', ], ], ], - 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to do this action.', 'description' => 'No permissions.'], + ], + ], + '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"}]', + 'title' => 'Template dry run', + 'description' => 'Performs a dry run on the content of a Terraform configuration file.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ValidateModule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:ValidateModule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - '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', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'iac.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'iac.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'iac.vpc-proxy.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'ACQUIRE.LOCK.FAIL', 'message' => 'The request is too frequent. Please try again later.', 'http_code' => 400, 'description' => 'The request is too frequent. Please try again later.'], + ['code' => 'InvalidBranch.NotExist', 'message' => 'The specified branch does not exist.', 'http_code' => 404, 'description' => 'The specified branch does not exist.'], + ['code' => 'InvalidClient.NotFound', 'message' => 'The specified VCS client does not exist.', 'http_code' => 404, 'description' => 'The specified VCS client does not exist.'], + ['code' => 'InvalidConfiguration.MissingDefaultVersion', 'message' => 'The specified configuration has not set the default version.', 'http_code' => 400, 'description' => 'The specified configuration has not set the default version.'], + ['code' => 'InvalidConfiguration.Name.Repeated', 'message' => 'The specified configuration name already exists.', 'http_code' => 400, 'description' => 'The specified configuration name already exists.'], + ['code' => 'InvalidConfiguration.NoDelete', 'message' => 'The specified configuration is being operated by the workspace and cannot be deleted.', 'http_code' => 400, 'description' => 'The specified configuration is being operated by the workspace and cannot be deleted.'], + ['code' => 'InvalidConfiguration.NotFound', 'message' => 'The specified configuration does not exist.', 'http_code' => 404, 'description' => 'The specified configuration does not exist.'], + ['code' => 'InvalidConfigurationShare.NoDeleted', 'message' => 'The specified configuration has been shared and cannot be deleted', 'http_code' => 400, 'description' => 'The specified configuration has been shared and cannot be deleted'], + ['code' => 'InvalidOperation.CallGithub.Failed', 'message' => 'Invoking GitHub API failed.', 'http_code' => 400, 'description' => 'Invoking GitHub API failed.'], + ['code' => 'InvalidOperation.DeletionProtection', 'message' => 'The specified workspace has enabled deletion protection.', 'http_code' => 400, 'description' => 'The specified workspace has enabled deletion protection.'], + ['code' => 'InvalidOperation.InvalidIdentification', 'message' => 'The operation is not allowed for the current user identity.', 'http_code' => 403, 'description' => 'The operation is not allowed for the current user identity.'], + ['code' => 'InvalidOperation.RoleName.NoPermission', 'message' => 'You do not have permission for the selected role name.', 'http_code' => 403, 'description' => 'You do not have permission for the selected role name.'], + ['code' => 'InvalidOperation.Run.NotAllowDestroyResources', 'message' => 'The workspace does not allow you to create a plan to destroy the resources.', 'http_code' => 400, 'description' => 'The workspace does not allow you to create a plan to destroy the resources.'], + ['code' => 'InvalidOperation.RunStatus.CannotAbolish', 'message' => 'The current status of the specified plan does not allow the abolish operation.', 'http_code' => 400, 'description' => 'The current status of the specified plan does not allow the abolish operation.'], + ['code' => 'InvalidOperation.RunStatus.CannotCancel', 'message' => 'The current status of the specified plan does not allow the cancel operation.', 'http_code' => 400, 'description' => 'The current status of the specified plan does not allow the cancel operation.'], + ['code' => 'InvalidOperation.RunStatus.CannotExecute', 'message' => 'The current status of the specified plan does not allow the execute operation.', 'http_code' => 400, 'description' => 'The current status of the specified plan does not allow the execute operation.'], + ['code' => 'InvalidOperation.TaskStatus', 'message' => 'The task %s is in state %s and cannot perform operation %s.', 'http_code' => 400, 'description' => 'Current task %s status is %s , %s operation not supported'], + ['code' => 'InvalidOperation.WorkspaceStatus', 'message' => 'The workspace is not in a valid state for the operation.', 'http_code' => 400, 'description' => 'The workspace is not in a valid state for the operation.'], + ['code' => 'InvalidOssObject.InvalidFormat', 'message' => 'The selected OSS object format is invalid. It should be a ZIP file with terraform configuraiton files.', 'http_code' => 400, 'description' => 'The selected OSS object format is invalid. It should be a ZIP file with terraform configuraiton files.'], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter %s is invalid.', 'http_code' => 400, 'description' => 'The specified parameter \\”%s\\” is not valid.'], + ['code' => 'InvalidRamRole.NoPermission', 'message' => 'The RAM role is not authorized to perform the operation.', 'http_code' => 403, 'description' => 'Ram role is not authorized to perform the operation.'], + ['code' => 'InvalidRamUser.NoPermission', 'message' => 'The RAM user is not authorized to perform the operation.', 'http_code' => 403, 'description' => 'Ram user is not authorized to perform the operation.'], + ['code' => 'InvalidResourceControlPlane.NotFound', 'message' => 'The specified resourceControlPlane does not exist.', 'http_code' => 404, 'description' => ''], + ['code' => 'InvalidResourceDashboard.NotFound', 'message' => 'The specified resource dashboard does not exist.', 'http_code' => 404, 'description' => ''], + ['code' => 'InvalidRun.ApplyFailed', 'message' => 'Failed to run in the apply stage.', 'http_code' => 400, 'description' => 'Failed to run in the apply stage.'], + ['code' => 'InvalidRun.NotFound', 'message' => 'The specified run does not exist.', 'http_code' => 404, 'description' => 'The specified run does not exist.'], + ['code' => 'InvalidRun.PlanFailed', 'message' => 'Failed to run in the plan stage.', 'http_code' => 400, 'description' => 'Failed to run in the plan stage.'], + ['code' => 'InvalidVariable.Name.Repeated', 'message' => 'The specified variable name already exists in the workspace.', 'http_code' => 400, 'description' => 'The specified variable name already exists in the workspace.'], + ['code' => 'InvalidVariable.NotFound', 'message' => 'The specified variable does not exist.', 'http_code' => 404, 'description' => 'The specified variable does not exist.'], + ['code' => 'InvalidVersion.Name.Repeated', 'message' => 'The specified configuration version name already exists in the configuration.', 'http_code' => 400, 'description' => 'The specified configuration version name already exists in the configuration.'], + ['code' => 'InvalidVersion.NoDelete', 'message' => 'The specified version is the default version of the current configuration and cannot be deleted.', 'http_code' => 400, 'description' => 'The specified version is the default version of the current configuration and cannot be deleted.'], + ['code' => 'InvalidVersion.NotFound', 'message' => 'The specified configuration version does not exist.', 'http_code' => 404, 'description' => 'The specified configuration version does not exist.'], + ['code' => 'InvalidVersion.Status.Failed', 'message' => 'Failed to create the configuration version.', 'http_code' => 400, 'description' => 'Failed to create the configuration version.'], + ['code' => 'InvalidVersion.Status.Unavailable', 'message' => 'The specified configuration version is unavailable.', 'http_code' => 400, 'description' => 'The specified configuration version is unavailable.'], + ['code' => 'InvalidVersionShare.NoDeleted', 'message' => 'The specified configuration version has been shared and cannot be deleted.', 'http_code' => 400, 'description' => 'The specified configuration version has been shared and cannot be deleted. '."\n"], + ['code' => 'InvalidWorkspace.MissingBranch', 'message' => 'The specified workspace has not set VCS repo branch or configuration version.', 'http_code' => 400, 'description' => 'The specified workspace has not set VCS repo branch or configuration version.'], + ['code' => 'InvalidWorkspace.NotFound', 'message' => 'The specified workspace does not exist.', 'http_code' => 404, 'description' => 'The specified workspace does not exist.'], + ['code' => 'InvalidWorkspace.VcsRepoServiceHttpUrl.MissingParameter', 'message' => 'The input parameter VcsRepoServiceHttpUrl is mandatory when service provider is GitHub or GitLab.', 'http_code' => 400, 'description' => 'The input parameter VcsRepoServiceHttpUrl is mandatory when service provider is GitHub or GitLab.'], + ['code' => 'NoPermission', 'message' => 'You are not authorized to do this action.', 'http_code' => 403, 'description' => 'No permissions.'], + ['code' => 'PermissionDenied', 'message' => 'You are not authorized to perform the operation.', 'http_code' => 403, 'description' => 'You are not authorized to perform the operation.'], + ['code' => 'ServiceProvider.AlreadyOccupied', 'message' => 'The specified repository or configuration has already been occupied by another workspace.', 'http_code' => 400, 'description' => 'The specified repository or configuration has already been occupied by another workspace.'], + ], + 'changeSet' => [ [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'iac.cn-zhangjiakou.aliyuncs.com', + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetJob'], + ['description' => 'Request parameters changed', 'api' => 'ListJobs'], + ], + 'createdAt' => '2025-12-04T02:30:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetJob'], + ], + 'createdAt' => '2025-12-03T08:21:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetJob'], + ], + 'createdAt' => '2025-11-24T15:27:50.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetJob'], + ], + 'createdAt' => '2025-10-29T12:46:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListAvailableTerraformVersions'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListTerraformProviderVersions'], + ], + 'createdAt' => '2024-03-18T02:32:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed, Request parameters changed, Response parameters changed', 'api' => 'CheckResourceName'], + ['description' => 'Error codes changed, Request parameters changed, Response parameters changed', 'api' => 'TagResources'], + ], + 'createdAt' => '2024-03-14T12:25:10.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CloneGroup'], + ], + 'createdAt' => '2023-11-23T12:36:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListModules'], + ['description' => 'Request parameters changed', 'api' => 'ListTasks'], + ], + 'createdAt' => '2023-08-14T16:08:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ['description' => 'Response parameters changed', 'api' => 'GetTask'], + ['description' => 'Request parameters changed', 'api' => 'UpdateTaskAttribute'], + ], + 'createdAt' => '2023-07-11T07:35:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListGroup'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListModules'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListProject'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListTasks'], + ['description' => 'OpenAPI offline', 'api' => 'TagResources'], + ], + 'createdAt' => '2023-05-24T06:38:44.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetJob'], + ], + 'createdAt' => '2023-05-11T09:53:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListGroup'], + ], + 'createdAt' => '2023-05-05T07:48:54.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateResourceExportTask'], + ['description' => 'Response parameters changed', 'api' => 'GetResourceExportTask'], + ['description' => 'Request parameters changed', 'api' => 'UpdateResourceExportTaskAttribute'], + ], + 'createdAt' => '2023-04-13T08:36:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateJob'], + ['description' => 'Request parameters changed', 'api' => 'GetProjectBuildContext'], + ['description' => 'Request parameters changed', 'api' => 'ListTasks'], + ], + 'createdAt' => '2023-04-13T07:25:38.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateGroup'], + ['description' => 'Response parameters changed', 'api' => 'GetGroup'], + ['description' => 'Response parameters changed', 'api' => 'GetRamPolicyExportTaskVersion'], + ['description' => 'Response parameters changed', 'api' => 'GetResourceExportTask'], + ['description' => 'Request parameters changed', 'api' => 'UpdateGroup'], + ], + 'createdAt' => '2023-01-10T09:03:52.000Z', + 'description' => '细化断言粒度', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CheckResourceName'], + ['description' => 'Response parameters changed', 'api' => 'ListResourceExportTasks'], + ['description' => 'Request parameters changed', 'api' => 'UpdateResourceExportTaskAttribute'], + ], + 'createdAt' => '2022-12-26T03:01:16.000Z', + 'description' => '新增API ListExportResourceTypes 提供支持自动化导出资源类型列表UpdateResourceExportTaskAttribute 增加字段terraformProviderVersion 支持 terraformProvider版本', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateResourceExportTask'], + ['description' => 'Response parameters changed', 'api' => 'GetResourceExportTask'], + ], + 'createdAt' => '2022-12-14T14:28:55.000Z', + 'description' => '增加TerraformProviderVersion', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateRamPolicyExportTask'], + ['description' => 'Response parameters changed', 'api' => 'GetRamPolicyExportTask'], + ['description' => 'Response parameters changed', 'api' => 'GetRamPolicyExportTaskVersion'], + ], + 'createdAt' => '2022-12-14T13:55:33.000Z', + 'description' => '增加TerraformProviderVersion', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetTaskPolicy'], + ], + 'createdAt' => '2022-12-14T10:36:41.000Z', + 'description' => '优先级详情API增加taskName', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetRamPolicyExportTaskVersion'], + ], + 'createdAt' => '2022-12-13T11:18:34.000Z', + 'description' => '增加警告参数', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetProjectBuildContext'], + ['description' => 'Response parameters changed', 'api' => 'ListJobs'], + ], + 'createdAt' => '2022-12-07T08:50:32.000Z', + 'description' => '参数集变更', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateProject'], + ], + 'createdAt' => '2022-11-30T07:20:53.000Z', + 'description' => '规范化API', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateModule'], + ], + 'createdAt' => '2022-11-30T05:39:04.000Z', + 'description' => 'AssociateTaskGroup弃用', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListGroup'], + ['description' => 'Response parameters changed', 'api' => 'ListProject'], + ], + 'createdAt' => '2022-11-30T05:11:56.000Z', + 'description' => '移除一些无用字段', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListGroup'], + ['description' => 'Response parameters changed', 'api' => 'ListProject'], + ], + 'createdAt' => '2022-11-29T17:42:02.000Z', + 'description' => '扩展分组内容', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CheckResourceName'], + ['description' => 'Request parameters changed', 'api' => 'CreateProjectBuild'], + ['description' => 'Response parameters changed', 'api' => 'GetProjectBuildContext'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListProjectBuilds'], + ['description' => 'Response parameters changed', 'api' => 'ListTasks'], + ], + 'createdAt' => '2022-11-29T14:35:18.000Z', + 'description' => '更新', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetJob'], + ['description' => 'Response parameters changed', 'api' => 'ListJobs'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListModules'], + ['description' => 'Request parameters changed', 'api' => 'UpdateModuleAttribute'], + ], + 'createdAt' => '2022-11-29T14:18:19.000Z', + 'description' => '模版增加分组字段', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ['description' => 'Response parameters changed', 'api' => 'GetTask'], + ['description' => 'Request parameters changed', 'api' => 'UpdateTaskAttribute'], + ], + 'createdAt' => '2022-11-29T13:39:15.000Z', + 'description' => '任务相关API增加描述信息', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ExecuteRamPolicyExportTask'], + ['description' => 'Response parameters changed', 'api' => 'GetRamPolicyExportTaskVersion'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListRamPolicyExportTasks'], + ['description' => 'Response parameters changed', 'api' => 'ListRamPolicyExportTaskVersions'], + ], + 'createdAt' => '2022-11-15T01:53:10.000Z', + 'description' => '变更任务的描述属性', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'AssociateParameterSet'], + ['description' => 'OpenAPI offline', 'api' => 'AttachRabbitmqPublisher'], + ['description' => 'Request parameters changed', 'api' => 'CreateJob'], + ['description' => 'Request parameters changed', 'api' => 'CreateModule'], + ['description' => 'OpenAPI offline', 'api' => 'CreateParameterSet'], + ['description' => 'OpenAPI offline', 'api' => 'CreateRabbitmqPublisher'], + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteParameterSet'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteRabbitmqPublisher'], + ], + 'createdAt' => '2022-10-17T02:12:10.000Z', + 'description' => '集团上云相关API', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetJob'], + ], + 'createdAt' => '2022-10-17T02:12:10.000Z', + 'description' => '返回值增加Runtime类型', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CancelRamPolicyExportTask'], + ['description' => 'OpenAPI offline', 'api' => 'CreateRamPolicyExportTask'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteRamPolicyExportTask'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteRamPolicyExportTaskVersion'], + ['description' => 'OpenAPI offline', 'api' => 'GetRamPolicyExportTask'], + ['description' => 'OpenAPI offline', 'api' => 'GetRamPolicyExportTaskVersion'], + ['description' => 'OpenAPI offline', 'api' => 'ListRamPolicyExportTasks'], + ['description' => 'OpenAPI offline', 'api' => 'ListRamPolicyExportTaskVersions'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateRamPolicyExportTaskAttribute'], + ], + 'createdAt' => '2022-09-29T06:09:59.000Z', + 'description' => 'RamPolicyExportAPI发布', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ['description' => 'Response parameters changed', 'api' => 'GetTask'], + ['description' => 'Request parameters changed', 'api' => 'UpdateTaskAttribute'], + ], + 'createdAt' => '2022-09-01T06:24:11.000Z', + 'description' => '增加保护策略', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetModule'], + ['description' => 'Response parameters changed', 'api' => 'GetModuleVersion'], + ['description' => 'Request parameters changed', 'api' => 'UpdateModuleAttribute'], + ['description' => 'Request parameters changed', 'api' => 'UpdateParameterSetAttribute'], + ], + 'createdAt' => '2022-08-09T01:56:55.000Z', + 'description' => '删除弃用字段,修复参数类型', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'GetProjectBuildConfig'], + ], + 'createdAt' => '2022-06-09T06:37:42.000Z', + 'description' => '支持IAC平台项目级别任务运行逻辑', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DeleteResourceLink'], + ['description' => 'OpenAPI offline', 'api' => 'GetResourceLink'], + ], + 'createdAt' => '2022-04-27T09:06:35.000Z', + 'description' => '增加“跳转资源链接”API', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CheckResourceName'], + ['description' => 'Response parameters changed', 'api' => 'ListModules'], + ['description' => 'Response parameters changed', 'api' => 'ListRelationTasks'], + ], + 'createdAt' => '2022-04-01T02:50:16.000Z', + 'description' => '新增名称校验API', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetProject'], + ['description' => 'Response parameters changed', 'api' => 'GetTask'], + ['description' => 'Response parameters changed', 'api' => 'ListGroup'], + ], + 'createdAt' => '2022-02-21T02:56:16.000Z', + 'description' => 'API优化', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListProject'], + ], + 'createdAt' => '2022-02-21T02:55:27.000Z', + 'description' => '测试', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'AssociateTaskGroup'], + ], + 'createdAt' => '2022-01-20T05:54:39.000Z', + 'description' => 'fix API', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateProjectBuild'], + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ['description' => 'Request parameters changed', 'api' => 'DissociateTaskGroup'], + ['description' => 'Response parameters changed', 'api' => 'GetJob'], + ['description' => 'OpenAPI offline', 'api' => 'GetProjectBuildContext'], + ['description' => 'Response parameters changed', 'api' => 'GetTask'], + ['description' => 'OpenAPI offline', 'api' => 'GetTaskContext'], + ['description' => 'Response parameters changed', 'api' => 'ListJobs'], + ['description' => 'OpenAPI offline', 'api' => 'ListProjectBuilds'], + ['description' => 'OpenAPI offline', 'api' => 'ListRelationTasks'], + ], + 'createdAt' => '2022-01-20T05:19:33.000Z', + 'description' => '重构项目管理功能相关API', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'AssociateTaskGroup'], + ['description' => 'OpenAPI offline', 'api' => 'CreateGroup'], + ['description' => 'OpenAPI offline', 'api' => 'CreateProject'], + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteGroup'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteProject'], + ['description' => 'OpenAPI offline', 'api' => 'DissociateTaskGroup'], + ['description' => 'OpenAPI offline', 'api' => 'GetGroup'], + ['description' => 'OpenAPI offline', 'api' => 'GetProject'], + ['description' => 'OpenAPI offline', 'api' => 'GetProjectJobSummary'], + ], + 'createdAt' => '2021-12-28T04:34:56.000Z', + 'description' => '- 新增项目管理、任务管理- 增加查看任务中管理的资源', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListAuthorizations'], + ], + 'createdAt' => '2021-12-17T10:29:09.000Z', + 'description' => '1', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListModuleMarkets'], + ], + 'createdAt' => '2021-12-16T03:28:27.000Z', + 'description' => 'fix', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListAuthorizations'], + ['description' => 'Request parameters changed', 'api' => 'ListJobs'], + ['description' => 'Request parameters changed', 'api' => 'ListModuleMarkets'], + ['description' => 'Request parameters changed', 'api' => 'ListModules'], + ['description' => 'Request parameters changed', 'api' => 'OperateJob'], + ], + 'createdAt' => '2021-12-15T08:01:56.000Z', + 'description' => '查询接口参数校验', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetJob'], + ['description' => 'Response parameters changed', 'api' => 'GetModuleVersion'], + ], + 'createdAt' => '2021-12-01T09:28:54.000Z', + 'description' => 'API增加返回内容', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'CloneModule'], + ], + 'createdAt' => '2021-11-01T06:12:51.000Z', + 'description' => '增加返回属性', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateModule'], + ['description' => 'Request parameters changed', 'api' => 'CreateModuleMarket'], + ['description' => 'Response parameters changed', 'api' => 'GetModuleVersion'], + ['description' => 'Response parameters changed', 'api' => 'ListModuleMarkets'], + ['description' => 'Request parameters changed', 'api' => 'UpdateModuleAttribute'], + ], + 'createdAt' => '2021-10-26T08:04:07.000Z', + 'description' => '增加API返回内容', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateJob'], + ], + 'createdAt' => '2021-09-28T07:01:38.000Z', + 'description' => '无', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ['description' => 'Request parameters changed', 'api' => 'ListTasks'], + ['description' => 'Request parameters changed', 'api' => 'UpdateTaskAttribute'], + ], + 'createdAt' => '2021-09-22T10:10:16.000Z', + 'description' => '修改task相关API的属性必填项和触发策略属性的名称', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddSharedAccounts'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRegistryModuleVersion'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModuleVersion'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRegistryModule'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceExportTaskVersions'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceExportTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceExportTask'], + ['threshold' => '400', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateModule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModule'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegistryModules'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTerraformProviderVersions'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DissociateGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelResourceExportTask'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceType'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModuleVersion'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasks'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceExportTasks'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRegistryNamespaceAttribute'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProject'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExplorerRegistryModuleExamples'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTask'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExplorerRegistryModuleVersions'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProject'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OperateJob'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResourceExportTaskAttribute'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveSharedAccounts'], + ['threshold' => '360', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListJobs'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRegistryModule'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModules'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskAttribute'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteTerraformDestroy'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetJob'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProject'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRegistryNamespace'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateModuleAttribute'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ValidateModule'], + ['threshold' => '800', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProducts'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteTerraformPlan'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRegistryNamespace'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteTerraformApply'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResourceExportTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRegistryModule'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRegistryNamespace'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegistryNamespaces'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRegistryModuleVersion'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateModule'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteModule'], + ['threshold' => '450', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteResourceExportTask'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProject'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRegistryModuleAttribute'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegistryModuleVersions'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateExplorerModuleAttribute'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateModuleVersion'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteRegistryModule'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetExecuteState'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProject'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishRegistryModuleVersion'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExplorerRegistryModules'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroup'], + ], + ], + 'ram' => [ + 'productCode' => 'IaCService', + 'productName' => 'OpenAPI Explorer', + 'ramCodes' => ['iacservice'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'DetectTerraformState', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:DetectTerraformState', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteParameterSet', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteParameterSet', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ExecuteTerraformPlan', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:ExecuteTerraformPlan', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetStackExecutionResult', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetStackExecutionResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ManageTerraformState', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:ManageTerraformState', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateDetectConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateDetectConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'DetectConfig', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:detectconfig/*'], + ], + ], + ], + [ + 'apiName' => 'GetModuleVersion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ModuleVersion', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}/moduleversion/{#ModuleVersionId}'], + ], + ], + ], + [ + 'apiName' => 'CreateModuleVersion', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ModuleVersion', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}/moduleversion/*'], + ], + ], + ], + [ + 'apiName' => 'RemoveSharedAccounts', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:RemoveSharedAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateRegistryNamespace', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateRegistryNamespace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/*'], + ], + ], + ], + [ + 'apiName' => 'GetRegistryModuleVersion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetRegistryModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], + [ + 'apiName' => 'ExecuteTerraformDestroy', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:ExecuteTerraformDestroy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddSharedAccounts', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:AddSharedAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateParameterSetAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateParameterSetAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetJob', + 'description' => '', + 'operationType' => 'get', + 'additionalActions' => [], + 'ramAction' => [ + 'action' => 'iacservice:GetJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Job', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}/job/{#JobId}'], + ], + ], + ], + [ + 'apiName' => 'DissociateGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:DissociateGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/{#GroupId}'], + ], + ], + ], + [ + 'apiName' => 'GetStackDeployments', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetStackDeployments', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/{#stackId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteRegistryModule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteRegistryModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], + [ + 'apiName' => 'ListTasks', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/*'], + ], + ], + ], + [ + 'apiName' => 'DeleteProject', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteProject', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/{#ProjectId}'], + ], + ], + ], + [ + 'apiName' => 'ValidateModule', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:ValidateModule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListRegistryNamespaces', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListRegistryNamespaces', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/*'], + ], + ], + ], + [ + 'apiName' => 'CreateRegistryModule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateRegistryModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/*'], + ], + ], + ], + [ + 'apiName' => 'ListDetectConfigs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListDetectConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'DetectConfig', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:detectconfig/*'], + ], + ], + ], + [ + 'apiName' => 'UpdateDetectConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateDetectConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListRegistryModules', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListRegistryModules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/*'], + ], + ], + ], + [ + 'apiName' => 'ListParameterSetRelation', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListParameterSetRelation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/*'], + ], + ], + ], + [ + 'apiName' => 'UpdateProject', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateProject', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/{#ProjectId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateTaskAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateTaskAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}'], + ], + ], + ], + [ + 'apiName' => 'GetTerraformStateDetection', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetTerraformStateDetection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetStack', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetStack', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/{#stackId}'], + ], + ], + ], + [ + 'apiName' => 'GetGroup', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/{#GroupId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateResourceExportTaskAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateResourceExportTaskAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/{#ResourceExportTaskId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteStack', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteStack', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/{#stackId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/{#GroupId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateRegistryModuleAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateRegistryModuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], + [ + 'apiName' => 'ListDetectConfigRelations', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListDetectConfigRelations', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateResourceExportTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateResourceExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/*'], + ], + ], + ], + [ + 'apiName' => 'ListJobs', + 'description' => '', + 'operationType' => 'list', + 'additionalActions' => [], + 'ramAction' => [ + 'action' => 'iacservice:ListJobs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Job', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}/job/*'], + ], + ], + ], + [ + 'apiName' => 'GetExecuteState', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetExecuteState', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteRegistryNamespace', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteRegistryNamespace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}'], + ], + ], + ], + [ + 'apiName' => 'ListParameterSets', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListParameterSets', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'ParameterSet', 'arn' => 'acs:iacservice:*:{#accountId}:ParameterSet/*'], + ], + ], + ], + [ + 'apiName' => 'ListResourceExportTaskVersions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListResourceExportTaskVersions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DissociateParameterSet', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:DissociateParameterSet', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListModules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListModules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/*'], + ], + ], + ], + [ + 'apiName' => 'CreateGroup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/*'], + ], + ], + ], + [ + 'apiName' => 'ListStacks', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListStacks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/*'], + ], + ], + ], + [ + 'apiName' => 'AssociateGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:AssociateGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/{#GroupId}'], + ], + ], + ], + [ + 'apiName' => 'OperateJob', + 'description' => '', + 'operationType' => 'update', + 'additionalActions' => [], + 'ramAction' => [ + 'action' => 'iacservice:OperateJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Job', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}/job/{#JobId}'], + ], + ], + ], + [ + 'apiName' => 'GetParameterSet', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetParameterSet', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetRegistryModule', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetRegistryModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], + [ + 'apiName' => 'GetResourceExportTask', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetResourceExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/{#ResourceExportTaskId}'], + ], + ], + ], + [ + 'apiName' => 'GetDetectConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetDetectConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteDetectConfig', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteDetectConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateProject', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateProject', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/*'], + ], + ], + ], + [ + 'apiName' => 'CreateParameterSet', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateParameterSet', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'ParameterSet', 'arn' => 'acs:iacservice:*:{#accountId}:ParameterSet/*'], + ], + ], + ], + [ + 'apiName' => 'UpdateRegistryNamespaceAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateRegistryNamespaceAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}'], + ], + ], + ], + [ + 'apiName' => 'GetProject', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetProject', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/{#ProjectId}'], + ], + ], + ], + [ + 'apiName' => 'CreateJob', + 'description' => '', + 'operationType' => 'create', + 'additionalActions' => [], + 'ramAction' => [ + 'action' => 'iacservice:CreateJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Job', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}/job/*'], + ], + ], + ], + [ + 'apiName' => 'ListResourceExportTasks', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListResourceExportTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/*'], + ], + ], + ], + [ + 'apiName' => 'GetRegistryNamespace', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetRegistryNamespace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}'], + ], + ], + ], + [ + 'apiName' => 'AssociateDetectConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:AssociateDetectConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DissociateDetectConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:DissociateDetectConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ExecuteResourceExportTask', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:ExecuteResourceExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/{#ResourceExportTaskId}'], + ], + ], + ], + [ + 'apiName' => 'ListGroup', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CancelResourceExportTask', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:CancelResourceExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/{#ResourceExportTaskId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteResourceExportTask', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteResourceExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/{#ResourceExportTaskId}'], + ], + ], + ], + [ + 'apiName' => 'ListModuleVersion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ModuleVersion', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}/moduleversion/*'], + ], + ], + ], + [ + 'apiName' => 'ListRegistryModuleVersions', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListRegistryModuleVersions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], + [ + 'apiName' => 'PublishRegistryModuleVersion', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:PublishRegistryModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], + [ + 'apiName' => 'TriggerStackExecution', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:TriggerStackExecution', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetModule', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}'], + ], + ], + ], + [ + 'apiName' => 'ListProject', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListProject', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/*'], + ], + ], + ], + [ + 'apiName' => 'DeleteModule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateExplorerModuleAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateExplorerModuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AssociateParameterSet', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:AssociateParameterSet', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UploadModule', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:UploadModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice:*:{#accountId}:module/{#ModuleId}'], + ], + ], + ], + [ + 'apiName' => 'ExecuteTerraformApply', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iacservice:ExecuteTerraformApply', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateStack', + 'description' => '', + 'operationType' => 'update', + 'additionalActions' => [ + ['action' => 'iacservice:CreateStack', 'validationType' => 'always'], + ], + 'ramAction' => [ + 'action' => 'iacservice:UpdateStack', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/{#stackId}'], + ], + ], + ], + [ + 'apiName' => 'ExecuteRegistryModule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:ExecuteRegistryModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], + [ + 'apiName' => 'GetTask', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:GetTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}'], + ], + ], + ], + [ + 'apiName' => 'ListResources', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iacservice:ListResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateModuleAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iacservice:UpdateModuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteGroup', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'IaCService', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/{#GroupId}'], + ], + ], + ], + [ + 'apiName' => 'ListStackConfigs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iacservice:ListStackConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/{#stackId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteRegistryModuleVersion', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteRegistryModuleVersion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ], + ], + ], + [ + 'apiName' => 'DeleteTask', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iacservice:DeleteTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}'], + ], + ], + ], + [ + 'apiName' => 'CreateModule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iacservice:CreateModule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/*'], + ], + ], + ], + [ + 'apiName' => 'CreateStack', + 'description' => '', + 'operationType' => 'create', + 'additionalActions' => [ + ['action' => 'iacservice:CreateStack', 'validationType' => 'always'], + ], + 'ramAction' => [ + 'action' => 'iacservice:CreateStack', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IaCService', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/*'], + ], + ], + ], + ], + 'resourceTypes' => [ + ['validationType' => 'conditional', 'resourceType' => 'ParameterSet', 'arn' => 'acs:iacservice:*:{#accountId}:ParameterSet/ParameterSetId'], + ['validationType' => 'always', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/*'], + ['validationType' => 'always', 'resourceType' => 'DetectConfig', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:detectconfig/*'], + ['validationType' => 'always', 'resourceType' => 'ModuleVersion', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}/moduleversion/{#ModuleVersionId}'], + ['validationType' => 'always', 'resourceType' => 'ModuleVersion', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}/moduleversion/*'], + ['validationType' => 'conditional', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice::{#accountId}:stack/*'], + ['validationType' => 'conditional', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/*'], + ['validationType' => 'always', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ['validationType' => 'always', 'resourceType' => 'Job', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}/job/{#JobId}'], + ['validationType' => 'conditional', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/{#GroupId}'], + ['validationType' => 'always', 'resourceType' => 'Stack', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:stack/{#stackId}'], + ['validationType' => 'always', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/*'], + ['validationType' => 'conditional', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/{#ProjectId}'], + ['validationType' => 'conditional', 'resourceType' => 'RegistryModule', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/*'], + ['validationType' => 'conditional', 'resourceType' => 'ParameterSet', 'arn' => 'acs:iacservice:*:{#accountId}:parameterset/{#ParameterSetId}'], + ['validationType' => 'always', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}'], + ['validationType' => 'always', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/{#ResourceExportTaskId}'], + ['validationType' => 'always', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice::{#accountId}:resourceexporttask/*'], + ['validationType' => 'always', 'resourceType' => 'Job', 'arn' => 'acs:iacservice::{#accountId}:task/{#TaskId}/job/*'], + ['validationType' => 'always', 'resourceType' => 'RegistryNamespace', 'arn' => 'acs:iacservice::{#accountId}:registrynamespace/{#NamespaceName}'], + ['validationType' => 'conditional', 'resourceType' => 'ParameterSet', 'arn' => 'acs:iacservice:*:{#accountId}:ParameterSet/*'], + ['validationType' => 'always', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/*'], + ['validationType' => 'conditional', 'resourceType' => 'Group', 'arn' => 'acs:iacservice:*:{#accountId}:group/*'], + ['validationType' => 'conditional', 'resourceType' => 'Project', 'arn' => 'acs:iacservice:*:{#accountId}:project/*'], + ['validationType' => 'always', 'resourceType' => 'Module', 'arn' => 'acs:iacservice::{#accountId}:module/{#ModuleId}'], + ['validationType' => 'conditional', 'resourceType' => 'ExplorerModule', 'arn' => 'acs:iacservice::{#accountId}:explorerModule/*'], + ['validationType' => 'always', 'resourceType' => 'Module', 'arn' => 'acs:iacservice:*:{#accountId}:module/{#ModuleId}'], + ['validationType' => 'always', 'resourceType' => 'ResourceExportTask', 'arn' => 'acs:iacservice:{#regionId}:{#accountId}:registrynamespace/{#NamespaceName}/registrymodule/{#ModuleName}'], + ['validationType' => 'always', 'resourceType' => 'Task', 'arn' => 'acs:iacservice::{#accountId}:*'], ], ], ]; |
