diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/servicecatalog/2021-09-01 | |
| download | acs-metadata-full-1.0.0+20260212.tar.gz acs-metadata-full-1.0.0+20260212.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/servicecatalog/2021-09-01')
| -rw-r--r-- | data/en_us/servicecatalog/2021-09-01/api-docs.php | 8386 |
1 files changed, 8386 insertions, 0 deletions
diff --git a/data/en_us/servicecatalog/2021-09-01/api-docs.php b/data/en_us/servicecatalog/2021-09-01/api-docs.php new file mode 100644 index 0000000..7657363 --- /dev/null +++ b/data/en_us/servicecatalog/2021-09-01/api-docs.php @@ -0,0 +1,8386 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'servicecatalog', + 'version' => '2021-09-01', + ], + 'directories' => [ + [ + 'id' => 156830, + 'title' => 'Service Discovery', + 'type' => 'directory', + 'children' => [ + 'GetProductAsEndUser', + 'ListProductsAsEndUser', + ], + ], + [ + 'id' => 156834, + 'title' => 'Service Request', + 'type' => 'directory', + 'children' => [ + 'ListLaunchOptions', + 'LaunchProduct', + 'TerminateProvisionedProduct', + 'UpdateProvisionedProduct', + ], + ], + [ + 'id' => 168857, + 'title' => 'Plan', + 'type' => 'directory', + 'children' => [ + 'CreateProvisionedProductPlan', + 'GetProvisionedProductPlan', + 'ListProvisionedProductPlans', + 'CancelProvisionedProductPlan', + 'UpdateProvisionedProductPlan', + 'ApproveProvisionedProductPlan', + 'ListProvisionedProductPlanApprovers', + 'ExecuteProvisionedProductPlan', + 'DeleteProvisionedProductPlan', + ], + ], + [ + 'id' => 167563, + 'title' => 'Instance', + 'type' => 'directory', + 'children' => [ + 'GetProvisionedProduct', + 'ListProvisionedProducts', + 'GetTask', + 'ListTasks', + ], + ], + [ + 'id' => 156842, + 'title' => 'Product', + 'type' => 'directory', + 'children' => [ + 'CopyProduct', + 'CreateProduct', + 'DeleteProduct', + 'UpdateProduct', + 'GetProductAsAdmin', + 'ListProductsAsAdmin', + ], + ], + [ + 'id' => 156848, + 'title' => 'Product Version', + 'type' => 'directory', + 'children' => [ + 'CreateProductVersion', + 'DeleteProductVersion', + 'UpdateProductVersion', + 'GetProductVersion', + 'ListProductVersions', + ], + ], + [ + 'id' => 156854, + 'title' => 'Template', + 'type' => 'directory', + 'children' => [ + 'CreateTemplate', + 'GetTemplate', + ], + ], + [ + 'id' => 156857, + 'title' => 'Product Mix', + 'type' => 'directory', + 'children' => [ + 'CreatePortfolio', + 'AssociateProductWithPortfolio', + 'DeletePortfolio', + 'DisassociateProductFromPortfolio', + 'UpdatePortfolio', + 'GetPortfolio', + 'ListPortfolios', + ], + ], + [ + 'id' => 156865, + 'title' => 'Constraint', + 'type' => 'directory', + 'children' => [ + 'CreateConstraint', + 'DeleteConstraint', + 'UpdateConstraint', + 'GetConstraint', + ], + ], + [ + 'id' => 156871, + 'title' => 'Authorize', + 'type' => 'directory', + 'children' => [ + 'AssociatePrincipalWithPortfolio', + 'DisassociatePrincipalFromPortfolio', + 'ListPrincipals', + ], + ], + [ + 'id' => 156875, + 'title' => 'Region', + 'type' => 'directory', + 'children' => [ + 'ListRegions', + ], + ], + [ + 'id' => 181704, + 'title' => 'Tag Option', + 'type' => 'directory', + 'children' => [ + 'GetTagOption', + 'DisAssociateTagOptionFromResource', + 'ListResourcesForTagOption', + 'UpdateTagOption', + 'ListTagOptions', + 'DeleteTagOption', + 'CreateTagOption', + 'AssociateTagOptionWithResource', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GetProductAsEndUser' => [ + 'summary' => 'Queries the information about a product as a user.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProductId', + 'in' => 'query', + 'schema' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProductSummary' => [ + 'title' => '产品详情', + 'description' => 'The information about the product.'."\n", + 'type' => 'object', + 'properties' => [ + 'Description' => [ + 'title' => '产品描述', + 'description' => 'The description of the product.'."\n", + 'type' => 'string', + 'example' => 'The description of the product.'."\n", + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The time when the product was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-04-12T06:10:37Z', + ], + 'ProductId' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ProductArn' => [ + 'title' => '产品ARN', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the product.'."\n", + 'type' => 'string', + 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****', + ], + 'ProductName' => [ + 'title' => '产品名称', + 'description' => 'The name of the product.'."\n", + 'type' => 'string', + 'example' => 'DEMO-Create an ECS instance.'."\n", + ], + 'ProviderName' => [ + 'title' => '提供者名称', + 'description' => 'The provider of the product.'."\n", + 'type' => 'string', + 'example' => 'IT team'."\n", + ], + 'ProductType' => [ + 'title' => '产品类型', + 'description' => 'The type of the product.'."\n" + ."\n" + .'The value is fixed as Ros, which indicates Resource Orchestration Service (ROS).'."\n", + 'type' => 'string', + 'example' => 'Ros', + ], + 'HasDefaultLaunchOption' => [ + 'description' => 'Indicates whether the default launch option exists. Valid values:'."\n" + ."\n" + .'* true: The default launch option exists. In this case, the PortfolioId parameter is not required when the product is launched or when the information about the product instance is updated.'."\n" + .'* false: The default launch option does not exist. In this case, the PortfolioId parameter is required when the product is launched or when the information about the product instance is updated. For more information about how to obtain the value of the PortfolioId parameter, see [ListLaunchOptions](~~ListLaunchOptions~~).'."\n" + ."\n" + .'> If the product is added to only one product portfolio, the default launch option exists. If the product is added to multiple product portfolios, multiple launch options exist at the same time. However, no default launch options exist.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'TemplateType' => [ + 'description' => 'The type of the product template. Valid values:'."\n" + ."\n" + .'* RosTerraformTemplate: The Terraform template that is supported by Resource Orchestration Service (ROS).'."\n" + .'* RosStandardTemplate: The standard ROS template.'."\n", + 'type' => 'string', + 'example' => 'RosTerraformTemplate', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductSummary\\": {\\n \\"Description\\": \\"这是一个产品描述\\",\\n \\"CreateTime\\": \\"2022-04-12T06:10:37Z\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-创建ECS\\",\\n \\"ProviderName\\": \\"IT团队\\",\\n \\"ProductType\\": \\"Ros\\",\\n \\"HasDefaultLaunchOption\\": true,\\n \\"TemplateType\\": \\"RosTerraformTemplate\\"\\n }\\n}","type":"json"}]', + 'title' => 'GetProductAsEndUser', + 'description' => 'Make sure that you are granted the permissions to manage relevant products as a user by an administrator. For more information, see [Manage access permissions](~~405233~~).'."\n", + ], + 'ListProductsAsEndUser' => [ + 'summary' => 'Queries products as a user.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Filters', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '过滤条件', + 'description' => 'The filter conditions.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '过滤条件的名称', + 'description' => 'The name of the filter condition. Valid values:'."\n" + ."\n" + .'* ProductName: performs exact matches by product name. Product names are not case-sensitive.'."\n" + .'* FullTextSearch: performs full-text searches by product name, product provider, or product description. Fuzzy match is supported.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ProductName', + ], + 'Value' => [ + 'title' => '过滤条件的值', + 'description' => 'The value of the filter condition.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DEMO-Create an ECS instance'."\n", + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'title' => '排序字段', + 'description' => 'The field that is used to sort data.'."\n" + ."\n" + .'The default value is CreateTime, which specifies the time when the product was created.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CreateTime', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'title' => '排序方式', + 'description' => 'The method that is used to sort the returned entries. Valid values:'."\n" + ."\n" + .'* Asc: sorts the entries in ascending order.'."\n" + .'* Desc (default): sorts the entries in descending order.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Desc', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of the page to return.'."\n" + ."\n" + .'Pages start from page 1. Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Valid values: 1 to 100. Default value: 10.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProductSummaries' => [ + 'title' => '产品列表', + 'description' => 'The products.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the product.'."\n", + 'type' => 'object', + 'properties' => [ + 'Description' => [ + 'title' => '产品描述', + 'description' => 'The description of the product.'."\n", + 'type' => 'string', + 'example' => 'The description of the product.'."\n", + ], + 'CreateTime' => [ + 'title' => '产品创建时间', + 'description' => 'The time when the product was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-04-12T06:10:37Z', + ], + 'ProductId' => [ + 'title' => '产品ID', + 'description' => 'The product ID.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ProductArn' => [ + 'title' => '产品ARN', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the product.'."\n", + 'type' => 'string', + 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****', + ], + 'ProductName' => [ + 'title' => '产品名字', + 'description' => 'The name of the product.'."\n", + 'type' => 'string', + 'example' => 'DEMO-Create an ECS instance'."\n", + ], + 'ProviderName' => [ + 'title' => '产品提供方', + 'description' => 'The provider of the product.'."\n", + 'type' => 'string', + 'example' => 'IT team'."\n", + ], + 'ProductType' => [ + 'title' => '产品类型', + 'description' => 'The type of the product.'."\n" + ."\n" + .'The value is set to Ros, which indicates Resource Orchestration Service (ROS).'."\n", + 'type' => 'string', + 'example' => 'Ros', + ], + 'HasDefaultLaunchOption' => [ + 'title' => '是否存在默认的启动选项', + 'description' => 'Indicates whether the default launch option exists. Valid values:'."\n" + ."\n" + .'* true: The default launch option exists. In this case, the PortfolioId parameter is not required when the product is launched or when the information about the product instance is updated.'."\n" + .'* false: The default launch option does not exist. In this case, the PortfolioId parameter is required when the product is launched or when the information about the product instance is updated. For more information about the PortfolioId parameter, see [ListLaunchOptions](~~ListLaunchOptions~~).'."\n" + ."\n" + .'> If the product is added to only one product portfolio, the default launch option exists. If the product is added to multiple product portfolios, multiple launch options exist at the same time. However, no default launch options exist.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'TemplateType' => [ + 'description' => 'The type of the product template. Valid values:'."\n" + ."\n" + .'* RosTerraformTemplate: the Terraform template that is supported by ROS.'."\n" + .'* RosStandardTemplate: the standard ROS template.'."\n", + 'type' => 'string', + 'example' => 'RosTerraformTemplate', + ], + ], + ], + ], + 'TotalCount' => [ + 'title' => '总记录数', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'PageNumber' => [ + 'description' => 'The page number of the returned page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => 'The number of entries returned per page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductSummaries\\": [\\n {\\n \\"Description\\": \\"这是一个产品描述\\",\\n \\"CreateTime\\": \\"2022-04-12T06:10:37Z\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-创建ECS\\",\\n \\"ProviderName\\": \\"IT团队\\",\\n \\"ProductType\\": \\"Ros\\",\\n \\"HasDefaultLaunchOption\\": true,\\n \\"TemplateType\\": \\"RosTerraformTemplate\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]', + 'title' => 'ListProductsAsEndUser', + 'description' => 'Make sure that you are granted the permissions to manage relevant products as a user by an administrator. For more information, see [Manage access permissions](~~405233~~).'."\n", + ], + 'ListLaunchOptions' => [ + 'summary' => 'Queries launch options.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProductId', + 'in' => 'query', + 'schema' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'LaunchOptionSummaries' => [ + 'title' => '启动选项概要', + 'description' => 'The launch options.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PortfolioId' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'port-bp1yt7582g****', + ], + 'PortfolioName' => [ + 'title' => '产品组合名称', + 'description' => 'The name of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'DEMO-IT services'."\n", + ], + 'ConstraintSummaries' => [ + 'title' => '约束概要', + 'description' => 'The constraints.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ConstraintType' => [ + 'title' => '约束类型', + 'description' => 'The type of the constraint. Valid values:'."\n" + ."\n" + .'1. Launch'."\n" + .'2. Template'."\n" + .'3. Approval'."\n" + .'4. StackRegion'."\n", + 'type' => 'string', + 'example' => 'Launch', + ], + 'Description' => [ + 'title' => '约束描述', + 'description' => 'The description of the constraint.'."\n", + 'type' => 'string', + 'example' => 'Launch as local role TestRole', + ], + 'OperationTypes' => [ + 'title' => '操作类型,当约束类型为审批约束时不为空', + 'description' => 'The types of operations that require approval. If the type of the constraint is Approval, this parameter is not empty.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The type of the operation. If the type of the constraint is Approval, this parameter is not empty.'."\n", + 'type' => 'string', + 'example' => 'All,TerminateProvisionedProduct,UpdateProvisionedProduct,LaunchProduct', + ], + ], + 'StackRegions' => [ + 'description' => 'The regions in which users can launch the service. If the type of the constraint is StackRegion, this parameter is not empty.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The region in which users can launch the service.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"LaunchOptionSummaries\\": [\\n {\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\",\\n \\"PortfolioName\\": \\"DEMO-IT服务\\",\\n \\"ConstraintSummaries\\": [\\n {\\n \\"ConstraintType\\": \\"Launch\\",\\n \\"Description\\": \\"Launch as local role TestRole\\",\\n \\"OperationTypes\\": [\\n \\"All,TerminateProvisionedProduct,UpdateProvisionedProduct,LaunchProduct\\"\\n ],\\n \\"StackRegions\\": [\\n \\"cn-hangzhou\\"\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListLaunchOptions', + ], + 'LaunchProduct' => [ + 'summary' => 'Launches a product.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ProvisionedProductName', + 'in' => 'formData', + 'schema' => [ + 'title' => '实例名称', + 'description' => 'The name of the product instance.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'DEMO-ECS instance'."\n", + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + [ + 'name' => 'PortfolioId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n" + ."\n" + .'> If the PortfolioId parameter is not required, you do not need to specify the PortfolioId parameter. If the PortfolioId parameter is required, you must specify the PortfolioId parameter. For more information about how to obtain the value of the PortfolioId parameter, see [ListLaunchOptions](~~ListLaunchOptions~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'port-bp1yt7582g****', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + [ + 'name' => 'ProductVersionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pv-bp15e79d26****', + ], + ], + [ + 'name' => 'Parameters', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The input parameters of the template.'."\n" + ."\n" + .'You can specify up to 200 parameters.'."\n" + ."\n" + .'> This parameter is optional. If you specify the Parameters parameter, you must specify the ParameterKey and ParameterValue parameters.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParameterKey' => [ + 'description' => 'The name of the input parameter for the template.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'instance_type', + ], + 'ParameterValue' => [ + 'description' => 'The value of the input parameter for the template.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs.s6-c1m1.small', + ], + ], + 'required' => false, + 'description' => 'The input parameters of the template.', + ], + 'required' => false, + 'maxItems' => 200, + ], + ], + [ + 'name' => 'StackRegionId', + 'in' => 'formData', + 'schema' => [ + 'title' => 'ROS资源栈所属的地域ID', + 'description' => 'The ID of the region to which the Resource Orchestration Service (ROS) stack belongs.'."\n" + ."\n" + .'For more information about how to obtain the regions that are supported by ROS, see [DescribeRegions](~~131035~~).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The custom tags that are specified by the end user.'."\n" + ."\n" + .'Maximum value of N: 20.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* The Tags parameter is optional. If you specify the Tags parameter, you must specify the Tags.N.Key and Tags.N.Value parameters.'."\n" + ."\n" + .'* The tag is propagated to each stack resource that supports the tag feature.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key of the custom tag.'."\n" + ."\n" + .'The tag key must be 1 to 128 characters in length and cannot contain `http://` or `https://`. It cannot start with `acs:` or `aliyun`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + ], + 'Value' => [ + 'description' => 'The tag value of the custom tag.'."\n" + ."\n" + .'The tag value can be up to 128 characters in length and cannot start with `acs:`. It cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + 'required' => false, + 'description' => 'The custom tags that are specified by the end user.', + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProvisionedProductId' => [ + 'title' => '实例ID', + 'description' => 'The ID of the instance'."\n", + 'type' => 'string', + 'example' => 'pp-bp1ddg1n2a****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\"\\n}","type":"json"}]', + 'title' => 'LaunchProduct', + ], + 'TerminateProvisionedProduct' => [ + 'summary' => 'Terminates a product instance.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'ProvisionedProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '实例ID', + 'description' => 'The ID of the product instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pp-bp1ddg1n2a****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'TerminateProvisionedProduct', + 'description' => 'After a product instance is terminated, the product instance is deleted from the product instance list. End users cannot manage the product instance throughout its lifecycle. Proceed with caution.'."\n", + ], + 'UpdateProvisionedProduct' => [ + 'summary' => 'Updates the information about a product instance.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'PortfolioId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n" + ."\n" + .'> The PortfolioId parameter is not required if the default launch option exists. The PortfolioId parameter is required if the default launch option does not exist. For more information about how to obtain the value of the PortfolioId parameter, see [ListLaunchOptions](~~ListLaunchOptions~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'port-bp1yt7582g****', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + [ + 'name' => 'ProductVersionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.'."\n" + ."\n" + .'> If the values of the ProductVersionId and Parameters parameters are not changed, the information about the product instance cannot be updated.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pv-bp15e79d26****', + ], + ], + [ + 'name' => 'Parameters', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The input parameters of the template.'."\n" + ."\n" + .'You can specify up to 200 parameters.'."\n" + ."\n" + .'> - This parameter is optional. If you specify the Parameters parameter, you must specify the ParameterKey and ParameterValue parameters.'."\n" + .'> - If the values of the ProductVersionId and Parameters parameters are not changed, you are not allowed to update the information about the product instance.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParameterKey' => [ + 'description' => 'The name of the input parameter for the template.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'instance_type', + ], + 'ParameterValue' => [ + 'description' => 'The value of the input parameter for the template.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs.s6-c1m1.small', + ], + ], + 'required' => false, + 'description' => 'The input parameters of the template.', + ], + 'required' => false, + 'maxItems' => 200, + ], + ], + [ + 'name' => 'ProvisionedProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '实例ID', + 'description' => 'The ID of the product instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pp-bp1ddg1n2a****', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The input custom tags.'."\n" + ."\n" + .'Maximum value of N: 20.'."\n" + ."\n" + .'> - The Tags parameter is optional. If you need to specify the Tags parameter, you must specify the Tags.N.Key and Tags.N.Value parameters.'."\n" + .'> - The tag is propagated to each stack resource that supports the tag feature.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key of the custom tag.'."\n" + ."\n" + .'The tag key must be 1 to 128 characters in length and cannot contain `http://` or `https://`. It cannot start with `acs:` or `aliyun`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + ], + 'Value' => [ + 'description' => 'The tag value of the custom tag.'."\n" + ."\n" + .'The tag value can be up to 128 characters in length and cannot start with `acs:`. It cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProvisionedProductId' => [ + 'title' => '实例ID', + 'description' => 'The ID of the product instance.'."\n", + 'type' => 'string', + 'example' => 'pp-bp1ddg1n2a****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\"\\n}","type":"json"}]', + 'title' => 'UpdateProvisionedProduct', + ], + 'CreateProvisionedProductPlan' => [ + 'summary' => 'Creates a plan.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'PlanName', + 'in' => 'formData', + 'schema' => [ + 'title' => '计划名称。'."\n" + ."\n" + .'长度为1~128个字符。', + 'description' => 'The plan name.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'DEMO-ECS instance'."\n", + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + [ + 'name' => 'PlanType', + 'in' => 'formData', + 'schema' => [ + 'title' => '计划类型。'."\n" + ."\n" + .'取值为Ros,表示阿里云资源编排服务(ROS)。', + 'description' => 'The plan type.'."\n" + ."\n" + .'Set the value to Ros, which specifies Resource Orchestration Service (ROS).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'Ros', + ], + ], + [ + 'name' => 'ProvisionedProductName', + 'in' => 'formData', + 'schema' => [ + 'title' => '实例名称。'."\n" + ."\n" + .'长度为1~128个字符。', + 'description' => 'The product instance name.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'DEMO-ECS instance'."\n", + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + [ + 'name' => 'PortfolioId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合ID。', + 'description' => 'The product portfolio ID.'."\n" + ."\n" + .'> If PortfolioId is not required, you do not need to specify PortfolioId. If PortfolioId is required, you must specify PortfolioId. For more information about how to obtain the value of PortfolioId, see [ListLaunchOptions](~~ListLaunchOptions~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'port-bp1yt7582g****', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => 'ProductId', + 'description' => 'The product ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + [ + 'name' => 'ProductVersionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品版本ID。'."\n" + ."\n", + 'description' => 'The product version ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pv-bp15e79d26****', + ], + ], + [ + 'name' => 'Parameters', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '用户输入的模板参数。'."\n" + ."\n" + .'N最大值为200。', + 'description' => 'An array that consists of the parameters in the template.'."\n" + ."\n" + .'You can specify up to 200 parameters.'."\n" + ."\n" + .'> If you specify Parameters, you must specify ParameterKey and ParameterValue.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParameterKey' => [ + 'title' => '模板中定义的参数名称。'."\n" + ."\n", + 'description' => 'The name of the parameter in the template.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'instance_type', + ], + 'ParameterValue' => [ + 'title' => '用户输入的模板参数值。', + 'description' => 'The value of the parameter in the template.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs.s6-c1m1.small', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 200, + ], + ], + [ + 'name' => 'StackRegionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。', + 'description' => 'The ID of the region to which the ROS stack belongs.'."\n" + ."\n" + .'For more information about how to obtain the regions that are supported by ROS, see [DescribeRegions](~~131035~~).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '用户输入的自定义标签。'."\n" + ."\n" + .'N最大值为20。', + 'description' => 'An array that consists of custom tags.'."\n" + ."\n" + .'Maximum value of N: 20.'."\n" + ."\n" + .'> '."\n" + .'* If you specify Tags, you must specify Tags.N.Key and Tags.N.Value.'."\n" + .'* The tag of a stack is propagated to each resource that supports the tag feature in the stack.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '用户输入的自定义标签键。'."\n" + ."\n" + .'最多支持128个字符,不能以aliyun和acs:开头,不能包含http://或者https://。', + 'description' => 'The key of the custom tag.'."\n" + ."\n" + .'The key can be up to 128 characters in length, and cannot start with `acs:` or `aliyun`. The tag key cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [], + 'example' => 'k1', + ], + 'Value' => [ + 'title' => '用户输入的自定义标签值。'."\n" + ."\n" + .'最多支持128个字符,不能以acs:开头,不能包含http://或者https://。', + 'description' => 'The value of the custom tag.'."\n" + ."\n" + .'The value can be up to 128 characters in length, and cannot start with `acs:`. The tag value cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'OperationType', + 'in' => 'formData', + 'schema' => [ + 'title' => '计划操作类型,取值为All,TerminateProvisionedProduct,UpdateProvisionedProduct,LaunchProduct。', + 'description' => 'The type of the operation that you want the plan to perform. Valid values:'."\n" + ."\n" + .'* LaunchProduct: launches the product. This is the default value.'."\n" + .'* UpdateProvisionedProduct: updates the information about the product instance.'."\n" + .'* TerminateProvisionedProduct: terminates the product instance.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LaunchProduct', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '计划描述', + 'description' => 'The description of the plan.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Create an ECS instance.'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'PlanId' => [ + 'title' => '计划ID。', + 'description' => 'The plan ID.'."\n", + 'type' => 'string', + 'example' => 'plan-bp1jvmdk2k****', + ], + 'ProvisionedProductId' => [ + 'title' => '实例ID。', + 'description' => 'The product instance ID.'."\n", + 'type' => 'string', + 'example' => 'pp-bp1ddg1n2a****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"PlanId\\": \\"plan-bp1jvmdk2k****\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\"\\n}","type":"json"}]', + 'title' => 'CreateProvisionedProductPlan', + ], + 'GetProvisionedProductPlan' => [ + 'summary' => 'Queries the details of a plan.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'PlanId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the plan.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'plan-bp1jvmdk2k****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'PlanDetail' => [ + 'title' => '计划详情。'."\n" + ."\n", + 'description' => 'The details of the plan.'."\n", + 'type' => 'object', + 'properties' => [ + 'PlanId' => [ + 'title' => '计划ID。', + 'description' => 'The ID of the plan.'."\n", + 'type' => 'string', + 'example' => 'plan-bp1jvmdk2k****', + ], + 'PlanName' => [ + 'title' => '计划名称。'."\n" + ."\n", + 'description' => 'The name of the plan.'."\n", + 'type' => 'string', + 'example' => 'DEMO-ECS instance'."\n", + ], + 'PlanType' => [ + 'title' => '计划类型。'."\n" + ."\n" + .'取值为Ros,表示阿里云资源编排服务(ROS)。', + 'description' => 'The type of the plan.'."\n" + ."\n" + .'The value is fixed as Ros, which indicates Resource Orchestration Service (ROS).'."\n", + 'type' => 'string', + 'example' => 'Ros', + ], + 'PortfolioId' => [ + 'title' => '产品组合ID。'."\n" + ."\n", + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'port-bp1yt7582g****', + ], + 'ProductId' => [ + 'title' => '产品ID。'."\n" + ."\n", + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ProductVersionId' => [ + 'title' => '产品版本ID。'."\n" + ."\n", + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'example' => 'pv-bp15e79d26****', + ], + 'ProvisionedProductId' => [ + 'title' => '实例ID。'."\n" + ."\n", + 'description' => 'The ID of the product instance.'."\n", + 'type' => 'string', + 'example' => 'pp-bp1ddg1n2a****', + ], + 'ProvisionedProductName' => [ + 'title' => '实例名称。', + 'description' => 'The name of the product instance.'."\n", + 'type' => 'string', + 'example' => 'DEMO-ECS instance'."\n", + ], + 'Parameters' => [ + 'title' => '用户输入的模板参数。'."\n" + ."\n", + 'description' => 'An array that consists of the parameters in the template.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParameterKey' => [ + 'title' => '模板中定义的参数名称。'."\n" + ."\n", + 'description' => 'The name of the input parameter for the template.'."\n", + 'type' => 'string', + 'example' => 'instance_type', + ], + 'ParameterValue' => [ + 'title' => '用户输入的模板参数值。'."\n" + ."\n", + 'description' => 'The value of the input parameter for the template.'."\n", + 'type' => 'string', + 'example' => 'ecs.s6-c1m1.small', + ], + ], + ], + ], + 'StackId' => [ + 'title' => '阿里云资源编排服务(ROS)资源栈ID。'."\n" + ."\n", + 'description' => 'The ID of the ROS stack.'."\n", + 'type' => 'string', + 'example' => '137e31df-3754-40b4-be2f-c793ad84****', + ], + 'StackRegionId' => [ + 'title' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。'."\n" + ."\n", + 'description' => 'The ID of the region to which the ROS stack belongs.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'Status' => [ + 'title' => '计划状态。', + 'description' => 'The state of the plan. Valid values:'."\n" + ."\n" + .'* PreviewInProgress: The plan is being prechecked.'."\n" + .'* PreviewSuccess: The precheck is successful.'."\n" + .'* PreviewFailed: The precheck fails.'."\n" + .'* ApplicationInProgress: The plan is being approved.'."\n" + .'* ApplicationApproved: The plan is approved.'."\n" + .'* ApplicationRejected: The approval is rejected.'."\n" + .'* ExecuteInProgress: The plan is being run.'."\n" + .'* ExecuteSuccess: The plan is run.'."\n" + .'* ExecuteFailed: The plan fails to be run.'."\n" + .'* Canceled: The plan is canceled.'."\n", + 'type' => 'string', + 'example' => 'PreviewSuccess', + ], + 'StatusMessage' => [ + 'title' => '计划状态信息。', + 'description' => 'The message returned for the state.'."\n" + ."\n" + .'> This parameter is returned only when PreviewFailed or ExecuteFailed is returned for Status.'."\n", + 'type' => 'string', + 'example' => 'Create stack failed: Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...', + ], + 'CreateTime' => [ + 'title' => '计划创建时间。'."\n" + ."\n" + .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', + 'description' => 'The time when the plan was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-05-23T09:46:27Z', + ], + 'UpdateTime' => [ + 'title' => '计划最后更新时间。'."\n" + ."\n" + .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', + 'description' => 'The last time when the task was modified.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-05-23T09:47:29Z', + ], + 'Tags' => [ + 'title' => '用户自定义标签列表。'."\n" + ."\n", + 'description' => 'An array that consists of custom tags.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '用户自定义标签键。'."\n" + ."\n", + 'description' => 'The key of the custom tag.'."\n", + 'type' => 'string', + 'example' => 'k1', + ], + 'Value' => [ + 'title' => '用户自定义标签值。'."\n" + ."\n", + 'description' => 'The value of the custom tag.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + ], + ], + ], + 'OperationType' => [ + 'title' => '计划操作类型,取值为All,TerminateProvisionedProduct,UpdateProvisionedProduct,LaunchProduct。', + 'description' => 'The purpose of the plan. Valid values:'."\n" + ."\n" + .'* LaunchProduct: launches the product.'."\n" + .'* UpdateProvisionedProduct: updates the information about the product instance.'."\n" + .'* TerminateProvisionedProduct: terminates the product instance.'."\n", + 'type' => 'string', + 'example' => 'LaunchProduct', + ], + 'Description' => [ + 'title' => '计划描述。', + 'description' => 'The description of the plan.'."\n", + 'type' => 'string', + 'example' => 'Create an ECS instance.'."\n", + ], + 'AssignedApprovers' => [ + 'title' => '计划审批人列表。', + 'description' => 'An array that consists of reviewers.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PrincipalType' => [ + 'title' => '计划审批人的RAM实体类型。取值:'."\n" + ."\n" + .'RamUser:RAM用户。'."\n" + .'RamRole:RAM角色。'."\n", + 'description' => 'The type of the Resource Access Management (RAM) entity of the plan approver. Valid values:'."\n" + ."\n" + .'* RamUser: a RAM user.'."\n" + .'* RamRole: a RAM role.'."\n", + 'type' => 'string', + 'example' => 'RamUser', + ], + 'PrincipalName' => [ + 'title' => '计划归属人的RAM实体名称。'."\n", + 'description' => 'The name of the RAM entity of the plan approver.'."\n", + 'type' => 'string', + 'example' => 'approver', + ], + ], + ], + ], + 'OwnerPrincipalType' => [ + 'title' => '计划归属人的RAM实体类型。取值:'."\n" + ."\n" + .'RamUser:RAM用户。'."\n" + .'RamRole:RAM角色。'."\n", + 'description' => 'The type of the RAM entity to which the plan belongs. Valid values:'."\n" + ."\n" + .'* RamUser: a RAM user'."\n" + .'* RamRole: a RAM role'."\n", + 'type' => 'string', + 'example' => 'RamUser', + ], + 'OwnerPrincipalId' => [ + 'title' => '计划归属人的RAM实体ID。'."\n" + ."\n", + 'description' => 'The ID of the RAM entity to which the plan belongs.'."\n", + 'type' => 'string', + 'example' => '27740196382623****', + ], + 'ApprovalDetail' => [ + 'title' => '计划审批详情。', + 'description' => 'The approval details of the plan.'."\n", + 'type' => 'object', + 'properties' => [ + 'OperationRecords' => [ + 'title' => '用户操作记录。', + 'description' => 'The operation records.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Operator' => [ + 'title' => '操作人。', + 'description' => 'The RAM entities that have performed operations on the plan.'."\n", + 'type' => 'object', + 'properties' => [ + 'PrincipalType' => [ + 'title' => '操作人的RAM实体类型。取值:'."\n" + ."\n" + .'RamUser:RAM用户。'."\n" + .'RamRole:RAM角色。', + 'description' => 'The type of the RAM entity. Valid values:'."\n" + ."\n" + .'* RamUser: a RAM user.'."\n" + .'* RamRole: a RAM role.'."\n", + 'type' => 'string', + 'example' => 'RamUser', + ], + 'PrincipalId' => [ + 'title' => '操作人的RAM实体ID。', + 'description' => 'The ID of the RAM entity.'."\n", + 'type' => 'string', + 'example' => '277401963826235***'."\n", + ], + 'PrincipalName' => [ + 'title' => '操作人的RAM实体名称。', + 'description' => 'The name RAM entity that servers as the operator.'."\n", + 'type' => 'string', + 'example' => 'approver', + ], + ], + ], + 'Comment' => [ + 'title' => '操作人的审批附加意见。', + 'description' => 'The approval comment of the operator.'."\n", + 'type' => 'string', + 'example' => 'Agreed.'."\n", + ], + 'CreateTime' => [ + 'title' => '操作时间。', + 'description' => 'The time when the operation was performed.'."\n", + 'type' => 'string', + 'example' => '2022-03-22T05:56:14Z', + ], + 'ApprovalAction' => [ + 'title' => '操作人对计划进行的操作类型。取值:'."\n" + ."\n" + .'Submit:提交计划。'."\n" + .'Cancel:取消计划。'."\n" + .'Approve:审批通过。'."\n" + .'Reject:审批拒绝。', + 'description' => 'The operation that is performed by the operator on the plan. Valid values:'."\n" + ."\n" + .'* Submit: submits the plan.'."\n" + .'* Cancel: cancels the plan.'."\n" + .'* Approve: approves the plan.'."\n" + .'* reject: rejectes the plan.'."\n", + 'type' => 'string', + 'example' => 'Approve', + ], + ], + ], + ], + 'TodoTaskActivities' => [ + 'title' => '计划正在执行的操作。', + 'description' => 'The operations that are being performed by the plan.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActivityName' => [ + 'title' => '计划正在执行的活动名。', + 'description' => 'The name of the operation that is being performed by the plan.'."\n", + 'type' => 'string', + 'example' => 'ApproverNode-1', + ], + 'Tasks' => [ + 'title' => '委派任务列表。', + 'description' => 'The tasks that are pending for review.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Operator' => [ + 'title' => '操作人。', + 'description' => 'The RAM entities that can perform operations on the plan.'."\n", + 'type' => 'object', + 'properties' => [ + 'PrincipalType' => [ + 'title' => '操作人的RAM实体类型。取值:'."\n" + ."\n" + .'RamUser:RAM用户。'."\n" + .'RamRole:RAM角色。', + 'description' => 'The type of the RAM entity. Valid values:'."\n" + ."\n" + .'* RamUser: a RAM user.'."\n" + .'* RamRole: a RAM role.'."\n", + 'type' => 'string', + 'example' => 'RamUser', + ], + 'PrincipalName' => [ + 'title' => '操作人的RAM实体名称。', + 'description' => 'The name of the RAM entity.'."\n", + 'type' => 'string', + 'example' => 'approver', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'OwnerPrincipalName' => [ + 'title' => '计划归属人的RAM实体名称。', + 'description' => 'The name of the RAM entity to which the plan belongs.'."\n", + 'type' => 'string', + 'example' => 'endUser', + ], + 'Uid' => [ + 'title' => '计划归属人的云账号ID。', + 'description' => 'The ID of the Alibaba Cloud account to which the plan belongs.'."\n", + 'type' => 'string', + 'example' => '146611588617****', + ], + ], + ], + 'ProductDetail' => [ + 'title' => '计划产品详情。', + 'description' => 'The details of the product.'."\n", + 'type' => 'object', + 'properties' => [ + 'ProductArn' => [ + 'title' => '产品ARN。'."\n" + ."\n", + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the product.'."\n", + 'type' => 'string', + 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****', + ], + 'Description' => [ + 'title' => '产品描述。'."\n" + ."\n", + 'description' => 'The description of the product.'."\n", + 'type' => 'string', + 'example' => 'This is a product description.'."\n", + ], + 'CreateTime' => [ + 'title' => '创建时间。'."\n" + ."\n" + .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', + 'description' => 'The creation time.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-04-12T06:10:37Z', + ], + 'ProductId' => [ + 'title' => '产品ID。'."\n" + ."\n", + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ProductName' => [ + 'title' => '产品名称。'."\n" + ."\n", + 'description' => 'The name of the product.'."\n", + 'type' => 'string', + 'example' => 'DEMO-Create an ECS instance'."\n", + ], + 'ProviderName' => [ + 'title' => '产品提供者。'."\n" + ."\n", + 'description' => 'The provider of the product.'."\n", + 'type' => 'string', + 'example' => 'IT team'."\n", + ], + 'ProductType' => [ + 'title' => '产品类型。'."\n" + ."\n" + .'取值为Ros,表示阿里云资源编排服务(ROS)。', + 'description' => 'The type of the product.'."\n" + ."\n" + .'The value is fixed as Ros, which indicates ROS.'."\n", + 'type' => 'string', + 'example' => 'Ros', + ], + ], + ], + 'ResourceChanges' => [ + 'title' => '计划资源变更列表。', + 'description' => 'An array that consists of the resources to be changed in the plan.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LogicalResourceId' => [ + 'title' => '资源逻辑ID。', + 'description' => 'The logical ID of the resource.'."\n", + 'type' => 'string', + 'example' => 'instance', + ], + 'PhysicalResourceId' => [ + 'title' => '资源物理ID。'."\n" + ."\n" + .'当Action为Modify或Remove时,返回本参数。', + 'description' => 'The physical ID of the resource.'."\n" + ."\n" + .'> This parameter is returned if the value of Action is Modify or Remove.'."\n", + 'type' => 'string', + 'example' => 'i-bp13lmam3qd9q6il****', + ], + 'Replacement' => [ + 'title' => '模板是否为替换更新。取值:'."\n" + ."\n" + .'True:替换更新。'."\n" + .'False:修改更新。'."\n" + .'Conditional:可能是替换更新,模板运行时才能确定。', + 'description' => 'Indicates whether a replacement update is performed on the template. Valid values:'."\n" + ."\n" + .'* True: A replacement update is performed on the template.'."\n" + .'* False: A change is made on the template.'."\n" + .'* Conditional: A replacement update may be performed on the template. You can check whether a replacement update is performed when the template is in use.'."\n" + ."\n" + .'> This parameter is returned if the value of Action is Modify.'."\n", + 'type' => 'string', + 'example' => 'True', + ], + 'ResourceType' => [ + 'title' => '资源类型。', + 'description' => 'The resource type.'."\n", + 'type' => 'string', + 'example' => 'alicloud_instance'."\n", + ], + 'Action' => [ + 'title' => '资源行为。取值:'."\n" + ."\n" + .'Add:增加资源。'."\n" + .'Modify:修改资源。'."\n" + .'Remove:删除资源。'."\n" + .'None:无变化。', + 'description' => 'The action that is performed on the resource. Valid values:'."\n" + ."\n" + .'* Add'."\n" + .'* Modify'."\n" + .'* Remove'."\n" + .'* None'."\n", + 'type' => 'string', + 'example' => 'Add', + ], + ], + ], + ], + 'ProductVersionDetail' => [ + 'title' => '产品版本详情', + 'description' => 'The details of the product version.'."\n", + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'title' => '是否启用', + 'description' => 'Indicates whether the product version is visible to end users. Valid values:'."\n" + ."\n" + .'* true (default)'."\n" + .'* false', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Description' => [ + 'title' => '产品版本描述', + 'description' => 'The description of the product version.'."\n", + 'type' => 'string', + 'example' => 'The description of the product version.'."\n", + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The time when the product version was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-04-12T06:10:37Z', + ], + 'Guidance' => [ + 'title' => '推荐信息', + 'description' => 'The recommendation information. Valid values:'."\n" + ."\n" + .'* Default: No recommendation information is provided. This is the default value.'."\n" + .'* Recommended: the recommendation version.'."\n" + .'* Latest: the latest version.'."\n" + .'* Deprecated: the version that is about to be deprecated.'."\n", + 'type' => 'string', + 'example' => 'Default', + ], + 'ProductVersionId' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'example' => 'pv-bp15e79d26****', + ], + 'ProductVersionName' => [ + 'title' => '产品版本名称', + 'description' => 'The name for the version of the product.'."\n", + 'type' => 'string', + 'example' => '1.0.0', + ], + 'ProductId' => [ + 'title' => '产品版本所属的产品ID', + 'description' => 'The ID of the product to which the product version belongs.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'TemplateUrl' => [ + 'title' => '模板的OSS地址', + 'description' => 'The URL of the template.'."\n", + 'type' => 'string', + 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json', + ], + 'TemplateType' => [ + 'title' => '模板类型', + 'description' => 'The type of the template.'."\n" + ."\n" + .'The value is fixed as RosTerraformTemplate, which indicates that the Terraform template is supported by ROS.'."\n", + 'type' => 'string', + 'example' => 'RosTerraformTemplate', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"PlanDetail\\": {\\n \\"PlanId\\": \\"plan-bp1jvmdk2k****\\",\\n \\"PlanName\\": \\"DEMO-ECS实例\\",\\n \\"PlanType\\": \\"Ros\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\",\\n \\"ProvisionedProductName\\": \\"DEMO-ECS实例\\",\\n \\"Parameters\\": [\\n {\\n \\"ParameterKey\\": \\"instance_type\\",\\n \\"ParameterValue\\": \\"ecs.s6-c1m1.small\\"\\n }\\n ],\\n \\"StackId\\": \\"137e31df-3754-40b4-be2f-c793ad84****\\",\\n \\"StackRegionId\\": \\"cn-hangzhou\\",\\n \\"Status\\": \\"PreviewSuccess\\",\\n \\"StatusMessage\\": \\"Create stack failed: Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...\\",\\n \\"CreateTime\\": \\"2022-05-23T09:46:27Z\\",\\n \\"UpdateTime\\": \\"2022-05-23T09:47:29Z\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\"\\n }\\n ],\\n \\"OperationType\\": \\"LaunchProduct\\",\\n \\"Description\\": \\"创建ECS。\\",\\n \\"AssignedApprovers\\": [\\n {\\n \\"PrincipalType\\": \\"RamUser\\",\\n \\"PrincipalName\\": \\"approver\\"\\n }\\n ],\\n \\"OwnerPrincipalType\\": \\"RamUser\\",\\n \\"OwnerPrincipalId\\": \\"27740196382623****\\",\\n \\"ApprovalDetail\\": {\\n \\"OperationRecords\\": [\\n {\\n \\"Operator\\": {\\n \\"PrincipalType\\": \\"RamUser\\",\\n \\"PrincipalId\\": \\"277401963826235***\\\\n\\",\\n \\"PrincipalName\\": \\"approver\\"\\n },\\n \\"Comment\\": \\"同意。\\",\\n \\"CreateTime\\": \\"2022-03-22T05:56:14Z\\",\\n \\"ApprovalAction\\": \\"Approve\\"\\n }\\n ],\\n \\"TodoTaskActivities\\": [\\n {\\n \\"ActivityName\\": \\"ApproverNode-1\\",\\n \\"Tasks\\": [\\n {\\n \\"Operator\\": {\\n \\"PrincipalType\\": \\"RamUser\\",\\n \\"PrincipalName\\": \\"approver\\"\\n }\\n }\\n ]\\n }\\n ]\\n },\\n \\"OwnerPrincipalName\\": \\"endUser\\",\\n \\"Uid\\": \\"146611588617****\\"\\n },\\n \\"ProductDetail\\": {\\n \\"ProductArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****\\",\\n \\"Description\\": \\"这是一个产品描述\\",\\n \\"CreateTime\\": \\"2022-04-12T06:10:37Z\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-创建ECS\\",\\n \\"ProviderName\\": \\"IT团队\\",\\n \\"ProductType\\": \\"Ros\\"\\n },\\n \\"ResourceChanges\\": [\\n {\\n \\"LogicalResourceId\\": \\"instance\\",\\n \\"PhysicalResourceId\\": \\"i-bp13lmam3qd9q6il****\\",\\n \\"Replacement\\": \\"True\\",\\n \\"ResourceType\\": \\"alicloud_instance\\\\n\\",\\n \\"Action\\": \\"Add\\"\\n }\\n ],\\n \\"ProductVersionDetail\\": {\\n \\"Active\\": true,\\n \\"Description\\": \\"这是一个产品版本描述\\",\\n \\"CreateTime\\": \\"2022-04-12T06:10:37Z\\",\\n \\"Guidance\\": \\"Default\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\",\\n \\"ProductVersionName\\": \\"1.0.0\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"TemplateUrl\\": \\"oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json\\",\\n \\"TemplateType\\": \\"RosTerraformTemplate\\"\\n }\\n}","type":"json"}]', + 'title' => 'GetProvisionedProductPlan', + ], + 'ListProvisionedProductPlans' => [ + 'summary' => 'Queries a list of plans. You can query plans from the end user dimension or from the review dimension.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Filters', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '过滤条件。', + 'description' => 'An array that consists of filter conditions.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '过滤条件的名称。取值:'."\n" + ."\n" + .'ProvisionedProductPlanName:按计划名称查找,完整匹配(忽略大小写)。'."\n" + .'ProvisionedProductPlanApprover:按审批人精确查找,格式为RamUser/RamRole:审批人名称,可多选。'."\n" + .'ProvisionedProductPlanApproverName:按审批人名称查找,直接输入审批人的RAM实体名称,可多选。'."\n" + .'ProvisionedProductPlanStatus:按计划状态查找,直接输入审批人的RAM实体名称,可多选。'."\n" + .'ProvisionedProductPlanOwnerUid:按计划归属云账号ID精确查找。'."\n" + .'FullTextSearch:全文检索,按计划名称查找,模糊匹配。', + 'description' => 'The name of the filter condition. Valid values:'."\n" + ."\n" + .'* ProvisionedProductPlanName: performs exact matches by plan name. Plan names are not case-sensitive.'."\n" + .'* ProvisionedProductPlanApprover: performs exact matches by reviewer. You must specify a reviewer in the `RamUser/RamRole:<Name of the reviewer>` format. You can specify multiple reviewers.'."\n" + .'* ProvisionedProductPlanApproverName: performs matches by reviewer name. You must specify the Resource Access Management (RAM) entity name of the reviewer. You can specify multiple reviewer names.'."\n" + .'* ProvisionedProductPlanStatus: performs matches by plan status. You must specify the state of the plan. You can specify multiple states.'."\n" + .'* ProvisionedProductPlanOwnerUid: performs exact matches by ID of Alibaba Cloud account to which a plan belongs.'."\n" + .'* FullTextSearch: performs fuzzy full-text searches by plan name.'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [], + 'example' => 'FullTextSearch', + ], + 'Value' => [ + 'title' => '过滤条件的值。'."\n" + ."\n", + 'description' => 'The value of the filter condition.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ECS', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'title' => '排序字段。'."\n" + ."\n" + .'取值为CreateTime,表示实例创建时间。', + 'description' => 'The information based on which you want to sort the query results.'."\n" + ."\n" + .'Set the value to CreateTime, which specifies the creation time of plans.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CreateTime', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'title' => '排序方式。取值:'."\n" + ."\n" + .'Asc:正序。'."\n" + .'Desc:倒序。', + 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* Asc: the ascending order'."\n" + .'* Desc (default): the descending order.'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Asc' => 'Asc', + 'Desc' => 'Desc', + ], + 'example' => 'Desc', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'title' => '页码。'."\n" + ."\n" + .'起始值:1。默认值:1。', + 'description' => 'The number of the page to return.'."\n" + ."\n" + .'Pages start from page 1. Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'title' => '分页时每页显示的数据行数。'."\n" + ."\n" + .'取值范围:1~100。起始值:1。默认值:10。', + 'description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Valid values: 1 to 100. Minimum value: 1. Default value: 10.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'AccessLevelFilter', + 'in' => 'query', + 'schema' => [ + 'title' => '访问过滤器。取值:'."\n" + ."\n" + .'User(默认值):用户。'."\n" + .'Account:账号。'."\n" + .'ResourceDirectory:资源目录。', + 'description' => 'The access filter. Valid values:'."\n" + ."\n" + .'* User (default): queries the plans that are created by the current requester.'."\n" + .'* Account: queries the plans that belong to the current Alibaba Cloud account.'."\n" + .'* ResourceDirectory: queries the plans that belong to the current resource directory.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'User', + ], + ], + [ + 'name' => 'ApprovalFilter', + 'in' => 'query', + 'schema' => [ + 'title' => '审批维度访问过滤器。取值:'."\n" + ."\n" + .'ReceivedRequests:待审批的。'."\n" + .'ApprovalHistory:审批历史。'."\n" + .'AccountRequests:账号级别全部审批。'."\n" + .'ResourceDirectoryRequests:资源目录级别全部审批。', + 'description' => 'The access filter of the review dimension. Valid values:'."\n" + ."\n" + .'* ReceivedRequests: queries plans that are pending for review.'."\n" + .'* ApprovalHistory: queries review history.'."\n" + .'* AccountRequests: queries all plans that belong to the current Alibaba Cloud account.'."\n" + .'* AccountRequests: queries all plans that belong to the current Alibaba Cloud account.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ReceivedRequests', + ], + ], + [ + 'name' => 'ProvisionedProductId', + 'in' => 'query', + 'schema' => [ + 'title' => '实例ID。', + 'description' => 'The ID of the product instance.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'pp-bp1ddg1n2a****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****', + ], + 'PlanDetails' => [ + 'title' => '计划列表。'."\n", + 'description' => 'An array that consists of plans.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PlanId' => [ + 'title' => '计划ID。', + 'description' => 'The ID of the plan.'."\n", + 'type' => 'string', + 'example' => 'plan-bp18mmdh2u****', + ], + 'PlanName' => [ + 'title' => '计划名称。'."\n", + 'description' => 'The name of the plan.'."\n", + 'type' => 'string', + 'example' => 'DEMO-Create an ECS instance-637\\*\\*\\*\\*'."\n", + ], + 'PlanType' => [ + 'title' => '计划类型。'."\n" + ."\n" + .'取值为Ros,表示阿里云资源编排服务(ROS)。', + 'description' => 'The type of the plan.'."\n" + ."\n" + .'The value is fixed as Ros, which indicates Resource Orchestration Service (ROS).'."\n", + 'type' => 'string', + 'example' => 'Ros', + ], + 'PortfolioId' => [ + 'title' => '产品组合ID。'."\n", + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'port-bp1438kf2j****', + ], + 'ProductId' => [ + 'title' => '产品ID。'."\n", + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'example' => 'prod-bp1rtrnh2c****', + ], + 'ProductVersionId' => [ + 'title' => '产品版本ID。'."\n", + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'example' => 'pv-bp19udk22v****', + ], + 'ProvisionedProductId' => [ + 'title' => '实例ID。'."\n", + 'description' => 'The ID of the product instance.'."\n", + 'type' => 'string', + 'example' => 'pp-bp1c35162d****', + ], + 'Parameters' => [ + 'title' => '用户输入的模板参数。'."\n", + 'description' => 'An array that consists of the parameters in the template.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParameterKey' => [ + 'title' => '模板中定义的参数名称。'."\n", + 'description' => 'The name of the parameter in the template.'."\n", + 'type' => 'string', + 'example' => 'role_name', + ], + 'ParameterValue' => [ + 'title' => '用户输入的模板参数值。'."\n", + 'description' => 'The value of the parameter in the template.'."\n", + 'type' => 'string', + 'example' => 'Test-8', + ], + ], + ], + ], + 'ProvisionedProductName' => [ + 'title' => '实例名称。', + 'description' => 'The name of the product instance.'."\n", + 'type' => 'string', + 'example' => 'rds-MYSQL-875****', + ], + 'StackId' => [ + 'title' => '阿里云资源编排服务(ROS)资源栈ID。'."\n", + 'description' => 'The ID of the ROS stack.'."\n", + 'type' => 'string', + 'example' => '2599090a-309e-4306-b989-17ba66a9****', + ], + 'StackRegionId' => [ + 'title' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。'."\n", + 'description' => 'The ID of the region to which the ROS stack belongs.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'Status' => [ + 'title' => '计划状态。', + 'description' => 'The state of the plan. Valid values:'."\n" + ."\n" + .'* PreviewInProgress: The plan is being prechecked.'."\n" + .'* PreviewSuccess: The precheck is successful.'."\n" + .'* PreviewFailed: The precheck fails.'."\n" + .'* ApplicationInProgress: The plan is being reviewed.'."\n" + .'* ApplicationApproved: The plan is approved.'."\n" + .'* ApplicationRejected: The approval is rejected.'."\n" + .'* ExecuteInProgress: The plan is being run.'."\n" + .'* ExecuteSuccess: The plan is run.'."\n" + .'* ExecuteFailed: The plan fails to be run.'."\n" + .'* Canceled: The plan is canceled.'."\n", + 'type' => 'string', + 'example' => 'PreviewSuccess', + ], + 'StatusMessage' => [ + 'title' => '计划状态信息。', + 'description' => 'The message returned for the state.'."\n" + ."\n" + .'> This parameter is returned only when PreviewFailed or ExecuteFailed is returned for the Status parameter.'."\n", + 'type' => 'string', + 'example' => 'Create stack failed: Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...', + ], + 'CreateTime' => [ + 'title' => '计划创建时间。'."\n" + ."\n" + .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', + 'description' => 'The time when the plan was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-09-13T02:01:22Z', + ], + 'UpdateTime' => [ + 'title' => '计划最后更新时间。'."\n" + ."\n" + .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', + 'description' => 'The last time when the task was modified.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-07-18T06:02:35.075Z', + ], + 'Tags' => [ + 'title' => '用户自定义标签列表。'."\n", + 'description' => 'An array that consists of custom tags.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '用户自定义标签键。'."\n", + 'description' => 'The key of the custom tag.'."\n", + 'type' => 'string', + 'example' => 'k1', + ], + 'Value' => [ + 'title' => '用户自定义标签值。'."\n", + 'description' => 'The value of the custom tag.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + ], + ], + ], + 'OperationType' => [ + 'title' => '计划操作类型,取值为All,TerminateProvisionedProduct,UpdateProvisionedProduct,LaunchProduct。', + 'description' => 'The purpose of the plan. Valid values:'."\n" + ."\n" + .'* LaunchProduct: launches the product. This is the default value.'."\n" + .'* UpdateProvisionedProduct: updates the information about the product instance.'."\n" + .'* TerminateProvisionedProduct: terminates the product instance.'."\n", + 'type' => 'string', + 'example' => 'LaunchProduct', + ], + 'AssignedApprovers' => [ + 'title' => '计划审批人列表。', + 'description' => 'An array that consists of reviewers.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PrincipalType' => [ + 'title' => '计划审批人的RAM实体类型。取值:'."\n" + ."\n" + .'RamUser:RAM用户。'."\n" + .'RamRole:RAM角色。', + 'description' => 'The type of the RAM entity of the reviewer. Valid values:'."\n" + ."\n" + .'* RamUser: a RAM user'."\n" + .'* RamRole: a RAM role'."\n", + 'type' => 'string', + 'example' => 'RamUser', + ], + 'PrincipalName' => [ + 'title' => '计划归属人的RAM实体名称。'."\n", + 'description' => 'The RAM entity name of the reviewer.'."\n", + 'type' => 'string', + 'example' => 'endUser', + ], + ], + ], + ], + 'ProductName' => [ + 'title' => '产品名称。'."\n", + 'description' => 'The name of the product.'."\n", + 'type' => 'string', + 'example' => 'Create an ECS instance'."\n", + ], + 'Description' => [ + 'title' => '计划描述。', + 'description' => 'The description of the plan.'."\n", + 'type' => 'string', + 'example' => 'For development team.'."\n", + ], + 'OwnerPrincipalType' => [ + 'title' => '计划归属人的RAM实体类型。取值:'."\n" + ."\n" + .'RamUser:RAM用户。'."\n" + .'RamRole:RAM角色。', + 'description' => 'The type of the RAM entity to which the plan belongs. Valid values:'."\n" + ."\n" + .'* RamUser: a RAM user'."\n" + .'* RamRole: a RAM role'."\n", + 'type' => 'string', + 'example' => 'RamUser', + ], + 'OwnerPrincipalId' => [ + 'title' => '计划归属人的RAM实体ID。'."\n", + 'description' => 'The ID of the RAM entity to which the plan belongs.'."\n", + 'type' => 'string', + 'example' => '24477111603637****'."\n", + ], + 'OwnerPrincipalName' => [ + 'title' => '计划归属人的RAM实体名称。', + 'description' => 'The name of the RAM entity to which the plan belongs.'."\n", + 'type' => 'string', + 'example' => 'enduser', + ], + 'Uid' => [ + 'title' => '计划归属人的云账号ID。', + 'description' => 'The ID of the Alibaba Cloud account to which the plan belongs.'."\n", + 'type' => 'string', + 'example' => '146611588617****', + ], + ], + ], + ], + 'TotalCount' => [ + 'title' => '总记录数。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '16', + ], + 'PageNumber' => [ + 'title' => '页码。'."\n" + ."\n" + .'起始值:1。默认值:1。', + 'description' => 'The page number of the returned page.'."\n" + ."\n" + .'Pages start from page 1. Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '分页时每页显示的数据行数。'."\n" + ."\n" + .'取值范围:1~100。起始值:1。默认值:10。', + 'description' => 'The number of entries returned per page.'."\n" + ."\n" + .'Valid values: 1 to 100. Minimum value: 1. Default value: 10.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F****\\",\\n \\"PlanDetails\\": [\\n {\\n \\"PlanId\\": \\"plan-bp18mmdh2u****\\",\\n \\"PlanName\\": \\"DEMO-创建ECS-637****\\",\\n \\"PlanType\\": \\"Ros\\",\\n \\"PortfolioId\\": \\"port-bp1438kf2j****\\",\\n \\"ProductId\\": \\"prod-bp1rtrnh2c****\\",\\n \\"ProductVersionId\\": \\"pv-bp19udk22v****\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1c35162d****\\",\\n \\"Parameters\\": [\\n {\\n \\"ParameterKey\\": \\"role_name\\",\\n \\"ParameterValue\\": \\"Test-8\\"\\n }\\n ],\\n \\"ProvisionedProductName\\": \\"rds-MYSQL-875****\\",\\n \\"StackId\\": \\"2599090a-309e-4306-b989-17ba66a9****\\",\\n \\"StackRegionId\\": \\"cn-hangzhou\\",\\n \\"Status\\": \\"PreviewSuccess\\",\\n \\"StatusMessage\\": \\"Create stack failed: Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...\\",\\n \\"CreateTime\\": \\"2022-09-13T02:01:22Z\\",\\n \\"UpdateTime\\": \\"2022-07-18T06:02:35.075Z\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\"\\n }\\n ],\\n \\"OperationType\\": \\"LaunchProduct\\",\\n \\"AssignedApprovers\\": [\\n {\\n \\"PrincipalType\\": \\"RamUser\\",\\n \\"PrincipalName\\": \\"endUser\\"\\n }\\n ],\\n \\"ProductName\\": \\"创建ECS\\",\\n \\"Description\\": \\"开发团队使用\\",\\n \\"OwnerPrincipalType\\": \\"RamUser\\",\\n \\"OwnerPrincipalId\\": \\"24477111603637****\\\\n\\",\\n \\"OwnerPrincipalName\\": \\"enduser\\",\\n \\"Uid\\": \\"146611588617****\\"\\n }\\n ],\\n \\"TotalCount\\": 16,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]', + 'title' => 'ListProvisionedProductPlans', + ], + 'CancelProvisionedProductPlan' => [ + 'summary' => 'Cancels a plan.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'PlanId', + 'in' => 'formData', + 'schema' => [ + 'title' => '计划ID', + 'description' => 'The ID of the plan.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'plan-bp1jvmdk2k****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'CancelProvisionedProductPlan', + ], + 'UpdateProvisionedProductPlan' => [ + 'summary' => 'Updates a plan.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + ], + 'parameters' => [ + [ + 'name' => 'PlanId', + 'in' => 'formData', + 'schema' => [ + 'title' => '计划ID。', + 'description' => 'The ID of the plan.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'plan-bp1jvmdk2k****'."\n", + ], + ], + [ + 'name' => 'PortfolioId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合ID。', + 'description' => 'The ID of the product portfolio.'."\n" + ."\n" + .'> If the default launch option exists, you do not need to specify PortfolioId. If the default launch option does not exist, you must specify PortfolioId. For more information about how to obtain the value of PortfolioId, see [ListLaunchOptions](~~ListLaunchOptions~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'port-bp1yt7582g****'."\n", + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品ID。', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****'."\n", + ], + ], + [ + 'name' => 'ProductVersionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品版本ID。', + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pv-bp15e79d26****'."\n", + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '计划描述。', + 'description' => 'The description of the plan.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Create an ECS instance.'."\n", + ], + ], + [ + 'name' => 'Parameters', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '用户输入的模板参数。'."\n", + 'description' => 'An array that consists of the parameters in the template.'."\n" + ."\n" + .'Maximum value of N: 200.'."\n" + ."\n" + .'> If you specify Parameters, you must specify ParameterKey and ParameterValue.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParameterKey' => [ + 'title' => '模板中定义的参数名称。'."\n", + 'description' => 'The name of the parameter in the template.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'instance_type', + ], + 'ParameterValue' => [ + 'title' => '用户输入的模板参数值。'."\n", + 'description' => 'The value of the parameter in the template.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ecs.s6-c1m1.small'."\n", + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 200, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '用户自定义标签列表。'."\n", + 'description' => 'An array that consists of custom tags.'."\n" + ."\n" + .'Maximum value of N: 20.'."\n" + ."\n" + .'> '."\n" + .'* If you specify Tags, you must specify Tags.N.Key and Tags.N.Value.'."\n" + .'* The tag of a stack is propagated to each resource that supports the tag feature in the stack.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '用户自定义标签键。'."\n", + 'description' => 'The key of the custom tag.'."\n" + ."\n" + .'The key can be up to 128 characters in length, and cannot start with `acs:` or `aliyun`. The tag key cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + ], + 'Value' => [ + 'title' => '用户自定义标签值。'."\n", + 'description' => 'The value of the custom tag.'."\n" + ."\n" + .'The value can be up to 128 characters in length, and cannot start with `acs:`. The tag value cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****'."\n", + ], + 'PlanId' => [ + 'title' => '计划ID', + 'description' => 'The ID of the plan.'."\n", + 'type' => 'string', + 'example' => 'plan-bp1jvmdk2k****'."\n", + ], + 'ProvisionedProductId' => [ + 'title' => '实例ID', + 'description' => 'The ID of the product instance.'."\n", + 'type' => 'string', + 'example' => 'pp-bp1ddg1n2a****'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F****\\\\n\\",\\n \\"PlanId\\": \\"plan-bp1jvmdk2k****\\\\n\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\\\n\\"\\n}","type":"json"}]', + 'title' => 'UpdateProvisionedProductPlan', + ], + 'ApproveProvisionedProductPlan' => [ + 'summary' => 'Reviews a plan.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'PlanId', + 'in' => 'formData', + 'schema' => [ + 'title' => '计划ID', + 'description' => 'The ID of the plan.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'plan-bp1jvmdk2k****', + ], + ], + [ + 'name' => 'ApprovalAction', + 'in' => 'formData', + 'schema' => [ + 'title' => '审批动作,取值Approve表示同意,Reject表示拒绝', + 'description' => 'The review action. Valid values:'."\n" + ."\n" + .'* Approve'."\n" + .'* Reject'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'Approve', + ], + ], + [ + 'name' => 'Comment', + 'in' => 'formData', + 'schema' => [ + 'title' => '审批意见', + 'description' => 'The review description.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Approved. You can create a resource.'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'ApproveProvisionedProductPlan', + ], + 'ListProvisionedProductPlanApprovers' => [ + 'summary' => 'Queries a list of plan reviewers.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'AccessLevelFilter', + 'in' => 'query', + 'schema' => [ + 'title' => '访问过滤器', + 'description' => 'The access filter. Valid values:'."\n" + ."\n" + .'* User (default): queries the plans that are created by the current requester.'."\n" + .'* Account: queries the plans that belong to the current Alibaba Cloud account.'."\n" + .'* ResourceDirectory: queries the plans that belong to the current resource directory.'."\n" + ."\n" + .'> You must specify one of the `ApprovalFilter` and `AccessLevelFilter` parameters, but not both.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'User', + ], + ], + [ + 'name' => 'Filters', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '过滤条件,支持Key值为ProvisionedProductPlanApproverName', + 'description' => 'An array that consists of filter conditions.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '过滤条件的名称', + 'description' => 'The name of the filter condition. Valid values:'."\n" + ."\n" + .'* ProvisionedProductPlanApproverName: performs fuzzy match by reviewer name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ProvisionedProductPlanApproverName', + ], + 'Value' => [ + 'title' => '过滤条件的值', + 'description' => 'The value of the filter condition.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'approver', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'ApprovalFilter', + 'in' => 'query', + 'schema' => [ + 'title' => '审批维度访问过滤器', + 'description' => 'The access filter of the review dimension. Valid values:'."\n" + ."\n" + .'* AccountRequests: queries all reviewed plans that belong to the current Alibaba Cloud account.'."\n" + .'* ResourceDirectoryRequests: queries all plans that belong to the current resource directory.'."\n" + ."\n" + .'> You must specify one of the `ApprovalFilter` and `AccessLevelFilter` parameters, but not both.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'AccountRequests', + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****', + ], + 'Approvers' => [ + 'title' => '审批人列表', + 'description' => 'An array that consists of reviewers.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PrincipalName' => [ + 'title' => '审批人名称', + 'description' => 'The name of the reviewer.'."\n", + 'type' => 'string', + 'example' => 'approver-1', + ], + 'PrincipalType' => [ + 'title' => 'RAM实体类型', + 'description' => 'The type of the Resource Access Management (RAM) entity of the reviewer. Valid values:'."\n" + ."\n" + .'* RamUser: a RAM user'."\n" + .'* RamRole: a RAM role'."\n", + 'type' => 'string', + 'example' => 'RamUser', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F****\\",\\n \\"Approvers\\": [\\n {\\n \\"PrincipalName\\": \\"approver-1\\",\\n \\"PrincipalType\\": \\"RamUser\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListProvisionedProductPlanApprovers', + ], + 'ExecuteProvisionedProductPlan' => [ + 'summary' => 'Runs a plan.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'PlanId', + 'in' => 'formData', + 'schema' => [ + 'title' => '计划ID', + 'description' => 'The ID of the plan.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'plan-bp1jvmdk2k****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'PlanId' => [ + 'title' => '计划ID', + 'description' => 'The ID of the plan.'."\n", + 'type' => 'string', + 'example' => 'plan-bp1jvmdk2k****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"PlanId\\": \\"plan-bp1jvmdk2k****\\"\\n}","type":"json"}]', + 'title' => 'ExecuteProvisionedProductPlan', + ], + 'DeleteProvisionedProductPlan' => [ + 'summary' => 'Deletes a plan.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'PlanId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the plan.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'plan-bp1jvmdk2k****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'DeleteProvisionedProductPlan', + ], + 'GetProvisionedProduct' => [ + 'summary' => 'Queries the information about a product instance.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'ProvisionedProductId', + 'in' => 'query', + 'schema' => [ + 'title' => '实例ID', + 'description' => 'The ID of the product instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pp-bp1ddg1n2a****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProvisionedProductDetail' => [ + 'title' => '实例信息', + 'description' => 'The details of the product instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'ProvisionedProductId' => [ + 'title' => '实例ID', + 'description' => 'The ID of the product instance.'."\n", + 'type' => 'string', + 'example' => 'pp-bp1ddg1n2a****', + ], + 'ProvisionedProductArn' => [ + 'title' => '实例ARN', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the product instance.'."\n", + 'type' => 'string', + 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:provisionedproduct/pp-bp1ddg1n2a****', + ], + 'ProvisionedProductName' => [ + 'title' => '实例名称', + 'description' => 'The name of the product instance.'."\n", + 'type' => 'string', + 'example' => 'DEMO-ECS instance'."\n", + ], + 'ProductId' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ProductName' => [ + 'title' => '产品名称', + 'description' => 'The name of the product.'."\n", + 'type' => 'string', + 'example' => 'DEMO-Create an ECS instance'."\n", + ], + 'ProductVersionId' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'example' => 'pv-bp15e79d26****', + ], + 'ProductVersionName' => [ + 'title' => '产品版本名称', + 'description' => 'The name of the product version.'."\n", + 'type' => 'string', + 'example' => '1.0', + ], + 'LastTaskId' => [ + 'title' => '上一次执行的任务ID', + 'description' => 'The ID of the task that was last run.'."\n", + 'type' => 'string', + 'example' => 'task-bp1dmg242c****', + ], + 'LastProvisioningTaskId' => [ + 'title' => '上一次执行的实例操作任务ID', + 'description' => 'The ID of the task that was last run on the product instance.'."\n" + ."\n" + .'The task can be one of the following types:'."\n" + ."\n" + .'* LaunchProduct: a task that launches the product.'."\n" + .'* UpdateProvisionedProduct: a task that updates the information about the product instance.'."\n" + .'* TerminateProvisionedProduct: a task that terminates the product instance.'."\n", + 'type' => 'string', + 'example' => 'task-bp1dmg242c****', + ], + 'LastSuccessfulProvisioningTaskId' => [ + 'title' => '上一次成功执行的实例操作任务ID', + 'description' => 'The ID of the last task that was successfully run on the product instance.'."\n" + ."\n" + .'The task can be one of the following types:'."\n" + ."\n" + .'* LaunchProduct: a task that launches the product.'."\n" + .'* UpdateProvisionedProduct: a task that updates the information about the product instance.'."\n" + .'* TerminateProvisionedProduct: a task that terminates the product instance.'."\n", + 'type' => 'string', + 'example' => 'task-bp1dmg242c****', + ], + 'OwnerPrincipalType' => [ + 'title' => '归属人的RAM实体类型', + 'description' => 'The type of the Resource Access Management (RAM) entity to which the product instance belongs. Valid values:'."\n" + ."\n" + .'* RamUser: a RAM user'."\n" + .'* RamRole: a RAM role'."\n", + 'type' => 'string', + 'example' => 'RamUser', + ], + 'OwnerPrincipalId' => [ + 'title' => '归属人的RAM实体ID', + 'description' => 'The ID of the RAM entity to which the product instance belongs.'."\n", + 'type' => 'string', + 'example' => '24477111603637****', + ], + 'Status' => [ + 'title' => '实例状态', + 'description' => 'The state of the product instance. Valid values:'."\n" + ."\n" + .'* Available: The product instance was available.'."\n" + .'* UnderChange: The information about the product instance was being changed.'."\n" + .'* Error: An exception occurred on the product instance.'."\n", + 'type' => 'string', + 'example' => 'Available', + ], + 'StatusMessage' => [ + 'title' => '实例状态说明', + 'description' => 'The message that is returned for the status of the product instance.'."\n" + ."\n" + .'> This parameter is returned only when Error is returned for the Status parameter.'."\n", + 'type' => 'string', + 'example' => 'Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The time when the product instance was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-05-23T09:46:27Z', + ], + 'PortfolioId' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'port-bp1yt7582g****', + ], + 'StackId' => [ + 'title' => 'ROS资源栈的ID', + 'description' => 'The ID of the Resource Orchestration Service (ROS) stack.'."\n", + 'type' => 'string', + 'example' => '137e31df-3754-40b4-be2f-c793ad84****', + ], + 'StackRegionId' => [ + 'title' => 'ROS资源栈所属的地域ID', + 'description' => 'The ID of the region to which the ROS stack belongs.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'ProvisionedProductType' => [ + 'description' => 'The type of the product instance.'."\n" + ."\n" + .'The value is fixed as RosStack, which indicates an ROS stack.'."\n", + 'type' => 'string', + 'example' => 'RosStack', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProvisionedProductDetail\\": {\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\",\\n \\"ProvisionedProductArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:provisionedproduct/pp-bp1ddg1n2a****\\",\\n \\"ProvisionedProductName\\": \\"DEMO-ECS实例\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-创建ECS\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\",\\n \\"ProductVersionName\\": \\"1.0\\",\\n \\"LastTaskId\\": \\"task-bp1dmg242c****\\",\\n \\"LastProvisioningTaskId\\": \\"task-bp1dmg242c****\\",\\n \\"LastSuccessfulProvisioningTaskId\\": \\"task-bp1dmg242c****\\",\\n \\"OwnerPrincipalType\\": \\"RamUser\\",\\n \\"OwnerPrincipalId\\": \\"24477111603637****\\",\\n \\"Status\\": \\"Available\\",\\n \\"StatusMessage\\": \\"Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...\\",\\n \\"CreateTime\\": \\"2022-05-23T09:46:27Z\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\",\\n \\"StackId\\": \\"137e31df-3754-40b4-be2f-c793ad84****\\",\\n \\"StackRegionId\\": \\"cn-hangzhou\\",\\n \\"ProvisionedProductType\\": \\"RosStack\\"\\n }\\n}","type":"json"}]', + 'title' => 'GetProvisionedProduct', + ], + 'ListProvisionedProducts' => [ + 'summary' => 'Queries product instances.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Filters', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '过滤条件', + 'description' => 'The filter conditions.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '过滤条件的名称', + 'description' => 'The name of the filter condition. Valid values:'."\n" + ."\n" + .'* ProvisionedProductName: performs exact matches by product instance name. Product instance names are not case-sensitive.'."\n" + .'* FullTextSearch: performs full-text searches by product instance name. Fuzzy match is supported.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ProvisionedProductName', + ], + 'Value' => [ + 'title' => '过滤条件的值', + 'description' => 'The value of the filter condition.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DEMO-ECS instance'."\n", + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'title' => '排序字段', + 'description' => 'The field that is used to sort the queried data.'."\n" + ."\n" + .'Set the value to CreateTime, which specifies the time when the product instance was created.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CreateTime', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'title' => '排序方式', + 'description' => 'The sorting method. Valid values:'."\n" + ."\n" + .'* Asc: the ascending order.'."\n" + .'* Desc (default): the descending order.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Desc', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of the page to return.'."\n" + ."\n" + .'Pages start from page 1. Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Valid values: 1 to 100. Default value: 10.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'AccessLevelFilter', + 'in' => 'query', + 'schema' => [ + 'title' => '访问过滤器', + 'description' => 'The access filter. Valid values:'."\n" + ."\n" + .'* User: queries the product instances that are created by the current requester. This is the default value.'."\n" + .'* Account: queries the product instances that belong to the current Alibaba Cloud account.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'User', + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ProvisionedProductDetails' => [ + 'title' => '实例列表', + 'description' => 'The product instances.'."\n", + 'type' => 'array', + 'items' => [ + 'title' => 'PortfolioItemType', + 'description' => 'The details of the product instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'ProvisionedProductName' => [ + 'title' => '实例名称', + 'description' => 'The name of the product instance.'."\n", + 'type' => 'string', + 'example' => 'DEMO-ECS instance'."\n", + ], + 'ProvisionedProductId' => [ + 'title' => '实例ID', + 'description' => 'The ID of the product instance.'."\n", + 'type' => 'string', + 'example' => 'pp-bp1ddg1n2a****', + ], + 'ProvisionedProductArn' => [ + 'title' => '实例ARN', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the product instance.'."\n", + 'type' => 'string', + 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:provisionedproduct/pp-bp1ddg1n2a****', + ], + 'ProductId' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ProductName' => [ + 'title' => '产品名称', + 'description' => 'The name of the product.'."\n", + 'type' => 'string', + 'example' => 'DEMO-Create an ECS instance'."\n", + ], + 'ProductVersionId' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'example' => 'pv-bp15e79d26****', + ], + 'ProductVersionName' => [ + 'title' => '产品版本名称', + 'description' => 'The name of the product version.'."\n", + 'type' => 'string', + 'example' => '1.0', + ], + 'LastTaskId' => [ + 'title' => '上一次执行的任务ID', + 'description' => 'The ID of the task that was last run.'."\n", + 'type' => 'string', + 'example' => 'task-bp1dmg242c****', + ], + 'LastProvisioningTaskId' => [ + 'title' => '上一次执行的实例操作任务ID', + 'description' => 'The ID of the task that was last run on the product instance.'."\n" + ."\n" + .'The task can be one of the following types:'."\n" + ."\n" + .'* LaunchProduct: a task that launches the product.'."\n" + .'* UpdateProvisionedProduct: a task that updates the information about the product instance.'."\n" + .'* TerminateProvisionedProduct: a task that terminates the product instance.'."\n", + 'type' => 'string', + 'example' => 'task-bp1dmg242c****', + ], + 'LastSuccessfulProvisioningTaskId' => [ + 'title' => '上一次成功执行的实例操作任务ID', + 'description' => 'The ID of the last task that was successfully run on the product instance.'."\n" + ."\n" + .'The task can be one of the following types:'."\n" + ."\n" + .'* LaunchProduct: a task that launches the product.'."\n" + .'* UpdateProvisionedProduct: a task that updates the information about the product instance.'."\n" + .'* TerminateProvisionedProduct: a task that terminates the product instance.'."\n", + 'type' => 'string', + 'example' => 'task-bp1dmg242c****', + ], + 'OwnerPrincipalType' => [ + 'title' => '归属人的RAM实体类型', + 'description' => 'The type of the Resource Access Management (RAM) entity to which the product instance belongs. Valid values:'."\n" + ."\n" + .'* RamUser: a RAM user'."\n" + .'* RamRole: a RAM role'."\n", + 'type' => 'string', + 'example' => 'RamUser', + ], + 'OwnerPrincipalId' => [ + 'title' => '归属人的RAM实体ID', + 'description' => 'The ID of the RAM entity to which the product instance belongs.'."\n", + 'type' => 'string', + 'example' => '24477111603637****', + ], + 'Status' => [ + 'title' => '实例状态', + 'description' => 'The state of the product instance. Valid values:'."\n" + ."\n" + .'* Available: The product instance was available.'."\n" + .'* UnderChange: The information about the product instance was being changed.'."\n" + .'* Error: An exception occurred on the product instance.'."\n", + 'type' => 'string', + 'example' => 'Available', + ], + 'StatusMessage' => [ + 'title' => '实例状态说明', + 'description' => 'The message that is returned for the status of the product instance.'."\n" + ."\n" + .'> This parameter is returned only when Error is returned for the Status parameter.'."\n", + 'type' => 'string', + 'example' => 'Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The time when the product instance was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-05-23T09:46:27Z', + ], + 'PortfolioId' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'port-bp1yt7582g****', + ], + 'StackId' => [ + 'title' => 'ROS资源栈的ID', + 'description' => 'The ID of the Resource Orchestration Service (ROS) stack.'."\n", + 'type' => 'string', + 'example' => '137e31df-3754-40b4-be2f-c793ad84****', + ], + 'StackRegionId' => [ + 'title' => 'ROS资源栈所属的地域ID', + 'description' => 'The ID of the region to which the ROS stack belongs.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'ProvisionedProductType' => [ + 'description' => 'The type of the product instance.'."\n" + ."\n" + .'The value is fixed as RosStack, which indicates an ROS stack.'."\n", + 'type' => 'string', + 'example' => 'RosStack', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'TotalCount' => [ + 'title' => '总记录数', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'PageNumber' => [ + 'description' => 'The page number of the returned page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => 'The number of entries returned per page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProvisionedProductDetails\\": [\\n {\\n \\"ProvisionedProductName\\": \\"DEMO-ECS实例\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\",\\n \\"ProvisionedProductArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:provisionedproduct/pp-bp1ddg1n2a****\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-创建ECS\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\",\\n \\"ProductVersionName\\": \\"1.0\\",\\n \\"LastTaskId\\": \\"task-bp1dmg242c****\\",\\n \\"LastProvisioningTaskId\\": \\"task-bp1dmg242c****\\",\\n \\"LastSuccessfulProvisioningTaskId\\": \\"task-bp1dmg242c****\\",\\n \\"OwnerPrincipalType\\": \\"RamUser\\",\\n \\"OwnerPrincipalId\\": \\"24477111603637****\\",\\n \\"Status\\": \\"Available\\",\\n \\"StatusMessage\\": \\"Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...\\",\\n \\"CreateTime\\": \\"2022-05-23T09:46:27Z\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\",\\n \\"StackId\\": \\"137e31df-3754-40b4-be2f-c793ad84****\\",\\n \\"StackRegionId\\": \\"cn-hangzhou\\",\\n \\"ProvisionedProductType\\": \\"RosStack\\"\\n }\\n ],\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"TotalCount\\": 2,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]', + 'title' => 'ListProvisionedProducts', + ], + 'GetTask' => [ + 'summary' => 'Queries the information about a task.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => 'The ID of the task.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'task-bp1dmg242c****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'TaskDetail' => [ + 'title' => '任务信息', + 'description' => 'The details of the task.'."\n", + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => 'The ID of the task.'."\n", + 'type' => 'string', + 'example' => 'task-bp1dmg242c****', + ], + 'TaskType' => [ + 'title' => '任务类型', + 'description' => 'The type of the task. Valid values:'."\n" + ."\n" + .'* LaunchProduct: a task that launches the product.'."\n" + .'* UpdateProvisionedProduct: a task that updates the information about the product instance.'."\n" + .'* TerminateProvisionedProduct: a task that terminates the product instance.'."\n", + 'type' => 'string', + 'example' => 'LaunchProduct', + ], + 'PortfolioId' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'port-bp1yt7582g****', + ], + 'ProductId' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ProductName' => [ + 'title' => '产品名称', + 'description' => 'The name of the product.'."\n", + 'type' => 'string', + 'example' => 'DEMO-Create an ECS instance'."\n", + ], + 'ProductVersionId' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'example' => 'pv-bp15e79d26****', + ], + 'ProductVersionName' => [ + 'title' => '产品版本名称', + 'description' => 'The name of the product version.'."\n", + 'type' => 'string', + 'example' => '1.0', + ], + 'ProvisionedProductId' => [ + 'title' => '实例ID', + 'description' => 'The ID of the product instance.'."\n", + 'type' => 'string', + 'example' => 'pp-bp1ddg1n2a****', + ], + 'ProvisionedProductName' => [ + 'title' => '实例名称', + 'description' => 'The name of the product instance.'."\n", + 'type' => 'string', + 'example' => 'DEMO-ECS instance'."\n", + ], + 'Parameters' => [ + 'description' => 'The parameters that are specified in the template.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ParameterKey' => [ + 'description' => 'The name of the input parameter for the template.'."\n", + 'type' => 'string', + 'example' => 'instance_type', + ], + 'ParameterValue' => [ + 'description' => 'The value of the input parameter for the template.'."\n", + 'type' => 'string', + 'example' => 'ecs.s6-c1m1.small', + ], + ], + ], + ], + 'Outputs' => [ + 'description' => 'The output parameters of the template.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OutputKey' => [ + 'description' => 'The name of the output parameter for the template.'."\n", + 'type' => 'string', + 'example' => 'instance_id', + ], + 'OutputValue' => [ + 'description' => 'The value of the output parameter for the template.'."\n", + 'type' => 'string', + 'example' => 'i-xxxxxx', + ], + 'Description' => [ + 'description' => 'The description of the output parameter for the template.'."\n", + 'type' => 'string', + 'example' => 'The ECS instance ID.', + ], + ], + ], + ], + 'Log' => [ + 'description' => 'The logs of the instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'TerraformLogs' => [ + 'description' => 'The Terraform logs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Command' => [ + 'description' => 'The name of the Terraform command that is run. Valid values:'."\n" + ."\n" + .'* apply'."\n" + .'* plan'."\n" + .'* destroy'."\n" + .'* version'."\n" + ."\n" + .'For more information about Terraform commands, see [Basic CLI Features](https://www.terraform.io/cli/commands).'."\n", + 'type' => 'string', + 'example' => 'apply', + ], + 'Stream' => [ + 'description' => 'The output stream. Valid values:'."\n" + ."\n" + .'* stdout: a standard output stream'."\n" + .'* stderr: a standard error stream'."\n", + 'type' => 'string', + 'example' => 'stdout', + ], + 'Content' => [ + 'description' => 'The content of the output stream that is returned after the command is run.'."\n", + 'type' => 'string', + 'example' => 'Apply complete! Resources: 42 added, 0 changed, 0 destroyed.', + ], + ], + ], + ], + ], + ], + 'Status' => [ + 'title' => '任务状态', + 'description' => 'The state of the task. Valid values:'."\n" + ."\n" + .'* Succeeded: The task was successful.'."\n" + .'* InProgress: The task was in progress.'."\n" + .'* Failed: The task failed.'."\n", + 'type' => 'string', + 'example' => 'Succeeded', + ], + 'StatusMessage' => [ + 'title' => '任务状态说明', + 'description' => 'The message that is returned for the status of the task.'."\n" + ."\n" + .'> This parameter is returned only when Failed is returned for the Status parameter.'."\n", + 'type' => 'string', + 'example' => 'Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The time when the task was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-05-23T09:46:27Z', + ], + 'UpdateTime' => [ + 'description' => 'The time when the task was last modified.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-05-23T09:47:29Z', + ], + 'TaskTags' => [ + 'description' => 'The custom tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The custom tag key.'."\n" + ."\n" + .'The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.'."\n", + 'type' => 'string', + 'example' => 'k1', + ], + 'Value' => [ + 'description' => 'The custom tag value.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length. It cannot start with `acs:` and cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"TaskDetail\\": {\\n \\"TaskId\\": \\"task-bp1dmg242c****\\",\\n \\"TaskType\\": \\"LaunchProduct\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-创建ECS\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\",\\n \\"ProductVersionName\\": \\"1.0\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\",\\n \\"ProvisionedProductName\\": \\"DEMO-ECS实例\\",\\n \\"Parameters\\": [\\n {\\n \\"ParameterKey\\": \\"instance_type\\",\\n \\"ParameterValue\\": \\"ecs.s6-c1m1.small\\"\\n }\\n ],\\n \\"Outputs\\": [\\n {\\n \\"OutputKey\\": \\"instance_id\\",\\n \\"OutputValue\\": \\"i-xxxxxx\\",\\n \\"Description\\": \\"The ECS instance ID.\\"\\n }\\n ],\\n \\"Log\\": {\\n \\"TerraformLogs\\": [\\n {\\n \\"Command\\": \\"apply\\",\\n \\"Stream\\": \\"stdout\\",\\n \\"Content\\": \\"Apply complete! Resources: 42 added, 0 changed, 0 destroyed.\\"\\n }\\n ]\\n },\\n \\"Status\\": \\"Succeeded\\",\\n \\"StatusMessage\\": \\"Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...\\",\\n \\"CreateTime\\": \\"2022-05-23T09:46:27Z\\",\\n \\"UpdateTime\\": \\"2022-05-23T09:47:29Z\\",\\n \\"TaskTags\\": [\\n {\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'GetTask', + ], + 'ListTasks' => [ + 'summary' => 'Queries tasks.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'title' => '排序字段', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'CreateTime', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'title' => '排序方式', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Desc', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'ProvisionedProductId', + 'in' => 'query', + 'schema' => [ + 'title' => '实例ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'pp-bp1ddg1n2a****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskDetails' => [ + 'title' => '实例列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => 'PortfolioItemType', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '实例名称', + 'description' => '代表资源名称的资源属性字段', + 'type' => 'string', + 'example' => 'task-bp1dmg242c****', + ], + 'TaskType' => [ + 'title' => '实例ARN', + 'description' => '', + 'type' => 'string', + 'example' => 'LaunchProduct', + ], + 'PortfolioId' => [ + 'title' => '产品组合ID', + 'description' => '', + 'type' => 'string', + 'example' => 'port-bp1yt7582g****', + ], + 'ProductId' => [ + 'title' => '产品ID', + 'description' => '', + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ProductName' => [ + 'title' => '产品名称', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ProductVersionId' => [ + 'title' => '产品版本ID', + 'description' => '', + 'type' => 'string', + 'example' => 'pv-bp15e79d26****', + ], + 'ProductVersionName' => [ + 'title' => '产品版本名称', + 'description' => '', + 'type' => 'string', + 'example' => '1.0', + ], + 'ProvisionedProductId' => [ + 'title' => '实例ID', + 'description' => '', + 'type' => 'string', + 'example' => 'pp-bp1ddg1n2a****', + ], + 'ProvisionedProductName' => [ + 'title' => '实例名称', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Parameters' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParameterKey' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'instance_type', + ], + 'ParameterValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ecs.s6-c1m1.small', + ], + ], + ], + ], + 'Outputs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OutputKey' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'instance_id', + ], + 'OutputValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'i-xxxxxx', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'The ECS instance ID.', + ], + ], + ], + ], + 'Log' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TerraformLogs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Command' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'apply', + ], + 'Stream' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'stdout', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Apply complete! Resources: 42 added, 0 changed, 0 destroyed.', + ], + ], + ], + ], + ], + ], + 'Status' => [ + 'title' => '实例状态', + 'description' => '', + 'type' => 'string', + 'example' => 'Succeeded', + ], + 'StatusMessage' => [ + 'title' => '实例状态说明', + 'description' => '', + 'type' => 'string', + 'example' => 'Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2022-05-23T09:46:27Z', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-05-26T03:28:45Z', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'TotalCount' => [ + 'title' => '总记录数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskDetails\\": [\\n {\\n \\"TaskId\\": \\"task-bp1dmg242c****\\",\\n \\"TaskType\\": \\"LaunchProduct\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-ECS\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\",\\n \\"ProductVersionName\\": \\"1.0\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\",\\n \\"ProvisionedProductName\\": \\"Test-ECS\\",\\n \\"Parameters\\": [\\n {\\n \\"ParameterKey\\": \\"instance_type\\",\\n \\"ParameterValue\\": \\"ecs.s6-c1m1.small\\"\\n }\\n ],\\n \\"Outputs\\": [\\n {\\n \\"OutputKey\\": \\"instance_id\\",\\n \\"OutputValue\\": \\"i-xxxxxx\\",\\n \\"Description\\": \\"The ECS instance ID.\\"\\n }\\n ],\\n \\"Log\\": {\\n \\"TerraformLogs\\": [\\n {\\n \\"Command\\": \\"apply\\",\\n \\"Stream\\": \\"stdout\\",\\n \\"Content\\": \\"Apply complete! Resources: 42 added, 0 changed, 0 destroyed.\\"\\n }\\n ]\\n },\\n \\"Status\\": \\"Succeeded\\",\\n \\"StatusMessage\\": \\"Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...\\",\\n \\"CreateTime\\": \\"2022-05-23T09:46:27Z\\",\\n \\"UpdateTime\\": \\"2022-05-26T03:28:45Z\\"\\n }\\n ],\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"TotalCount\\": 2,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]', + 'title' => 'ListTasks', + ], + 'CopyProduct' => [ + 'summary' => 'Replicates a product.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'SourceProductArn', + 'in' => 'formData', + 'schema' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the source product.'."\n" + ."\n" + .'> The source product can belong to the current account or belong to a product portfolio that is shared by another account.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****'."\n", + ], + ], + [ + 'name' => 'TargetProductName', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The name of the destination product.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DEMO-ECS', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F****\\"\\n}","type":"json"}]', + 'title' => 'CopyProduct', + ], + 'CreateProduct' => [ + 'summary' => 'Creates a product.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ProductName', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品名称', + 'description' => 'The name of the product.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'DEMO-Create an ECS instance'."\n", + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + [ + 'name' => 'ProductType', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品类型', + 'description' => 'The type of the product.'."\n" + ."\n" + .'Set the value to Ros, which specifies Resource Orchestration Service (ROS).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'Ros', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品描述', + 'description' => 'The description of the product.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'The description of the product.'."\n", + ], + ], + [ + 'name' => 'ProviderName', + 'in' => 'formData', + 'schema' => [ + 'title' => '提供者名称', + 'description' => 'The provider of the product.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'IT team'."\n", + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + [ + 'name' => 'ProductVersionParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '产品版本相关的参数', + 'description' => 'The information about the product version.'."\n", + 'type' => 'object', + 'properties' => [ + 'ProductVersionName' => [ + 'title' => '产品版本名称', + 'description' => 'The name of the product version.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1.0', + 'maxLength' => 100, + 'minLength' => 1, + ], + 'TemplateType' => [ + 'title' => '模板类型', + 'description' => 'The type of the template.'."\n" + ."\n" + .'Set the value to RosTerraformTemplate, which indicates the Terraform template that is supported by Resource Orchestration Service (ROS).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'RosTerraformTemplate', + ], + 'TemplateUrl' => [ + 'title' => '模板的URL地址', + 'description' => 'The URL of the template.'."\n" + ."\n" + .'To obtain the URL of a template, you can call the [CreateTemplate](~~CreateTemplate~~) operation.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json', + ], + 'Description' => [ + 'title' => '产品版本描述', + 'description' => 'The description of the product version.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'The description of the product version.'."\n", + ], + 'Guidance' => [ + 'title' => '推荐信息', + 'description' => 'The recommended product version. Valid values:'."\n" + ."\n" + .'* Default (default): No product version is recommended.'."\n" + .'* Recommended: the stable version.'."\n" + .'* Latest: the latest version.'."\n" + .'* Deprecated: the version that is about to be deprecated.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Default', + ], + 'Active' => [ + 'title' => '是否启用', + 'description' => 'Specifies whether to enable the product version. Valid values:'."\n" + ."\n" + .'* true (default)'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'TemplateType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The type of the product template. Valid values:'."\n" + ."\n" + .'* RosTerraformTemplate: the Terraform template that is supported by ROS.'."\n" + .'* RosStandardTemplate: the standard ROS template.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'RosTerraformTemplate', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProductId' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ProductVersionId' => [ + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'example' => 'pv-bp15e79d26****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\"\\n}","type":"json"}]', + 'title' => 'CreateProduct', + 'description' => 'Before you call the CreateProduct operation, you must call the [CreateTemplate](~~CreateTemplate~~) operation to create a template.'."\n", + ], + 'DeleteProduct' => [ + 'summary' => 'Deletes a product.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'DeleteProduct', + ], + 'UpdateProduct' => [ + 'summary' => 'Updates the information about a product.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'ProductName', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品名称', + 'description' => '代表资源名称的资源属性字段', + 'type' => 'string', + 'required' => true, + 'example' => '', + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品ID', + 'description' => '代表资源一级ID的资源属性字段', + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品描述', + 'description' => '产品描述', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ProviderName', + 'in' => 'formData', + 'schema' => [ + 'title' => '提供者名称', + 'description' => '产品提供方', + 'type' => 'string', + 'required' => true, + 'example' => '', + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProductId' => [ + 'title' => '产品ID', + 'description' => '', + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\"\\n}","type":"json"}]', + 'title' => 'UpdateProduct', + ], + 'GetProductAsAdmin' => [ + 'summary' => 'Queries the information about a product as the administrator.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'ProductId', + 'in' => 'query', + 'schema' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProductDetail' => [ + 'title' => '产品详情', + 'description' => 'The information about the product.'."\n", + 'type' => 'object', + 'properties' => [ + 'ProductArn' => [ + 'title' => '产品ARN', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the product.'."\n", + 'type' => 'string', + 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****', + ], + 'Description' => [ + 'title' => '产品描述', + 'description' => 'The description of the product.'."\n", + 'type' => 'string', + 'example' => 'This is a product description.'."\n", + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The creation time.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-04-12T06:10:37Z', + ], + 'ProductId' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ProductName' => [ + 'title' => '产品名称', + 'description' => 'The name of the product.'."\n", + 'type' => 'string', + 'example' => 'DEMO-Create an ECS instance'."\n", + ], + 'ProviderName' => [ + 'title' => '提供者名称', + 'description' => 'The provider of the product.'."\n", + 'type' => 'string', + 'example' => 'IT team'."\n", + ], + 'ProductType' => [ + 'title' => '产品类型', + 'description' => 'The type of the product.'."\n" + ."\n" + .'The value is fixed as Ros, which indicates Resource Orchestration Service (ROS).'."\n", + 'type' => 'string', + 'example' => 'Ros', + ], + 'TemplateType' => [ + 'title' => '产品模板类型', + 'description' => 'The type of the product template. Valid values:'."\n" + ."\n" + .'* RosTerraformTemplate: the Terraform template that is supported by Resource Orchestration Service (ROS).'."\n" + .'* RosStandardTemplate: the standard ROS template.'."\n", + 'type' => 'string', + 'example' => 'RosTerraformTemplate', + ], + ], + ], + 'TagOptions' => [ + 'description' => 'The tag options associated with the product.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'description' => 'Indicates whether the tag option is enabled. Valid values:'."\n" + ."\n" + .'* true (default)'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'TagOptionId' => [ + 'description' => 'The ID of the tag option.'."\n", + 'type' => 'string', + 'example' => 'tag-bp1q65xd3j****', + ], + 'Key' => [ + 'description' => 'The key of the tag option.'."\n", + 'type' => 'string', + 'example' => 'k1', + ], + 'Value' => [ + 'description' => 'The value of the tag option.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + 'Owner' => [ + 'description' => 'The ID of the owner of the tag option.'."\n", + 'type' => 'string', + 'example' => '133413081827****'."\n", + ], + ], + 'description' => 'The tag options associated with the product.', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductDetail\\": {\\n \\"ProductArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****\\",\\n \\"Description\\": \\"这是一个产品描述\\",\\n \\"CreateTime\\": \\"2022-04-12T06:10:37Z\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-创建ECS\\",\\n \\"ProviderName\\": \\"IT团队\\",\\n \\"ProductType\\": \\"Ros\\",\\n \\"TemplateType\\": \\"RosTerraformTemplate\\"\\n },\\n \\"TagOptions\\": [\\n {\\n \\"Active\\": true,\\n \\"TagOptionId\\": \\"tag-bp1q65xd3j****\\",\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\",\\n \\"Owner\\": \\"133413081827****\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetProductAsAdmin', + ], + 'ListProductsAsAdmin' => [ + 'summary' => 'Queries products as an administrator.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PortfolioId', + 'in' => 'query', + 'schema' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'port-bp1yt7582g****', + ], + ], + [ + 'name' => 'Filters', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '过滤条件', + 'description' => 'The filter conditions.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '过滤条件的名称', + 'description' => 'The name of the filter condition. Valid values:'."\n" + ."\n" + .'* ProductName: performs exact matches by product name. Product names are not case-sensitive.'."\n" + .'* FullTextSearch: performs full-text searches by product name, product provider, or product description. Fuzzy match is supported.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ProductName', + ], + 'Value' => [ + 'title' => '过滤条件的值', + 'description' => 'The value of the filter condition.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DEMO-Create an ECS instance'."\n", + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'title' => '排序字段', + 'description' => 'The field that is used to sort the queried data.'."\n" + ."\n" + .'Set the value to CreateTime, which specifies the time when the product was created.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CreateTime', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'title' => '排序方式', + 'description' => 'The order in which you want to sort the queried data. Valid values:'."\n" + ."\n" + .'* Asc: the ascending order'."\n" + .'* Desc: the descending order'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Desc', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of the page to return.'."\n" + ."\n" + .'Pages start from page 1. Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Valid values: 1 to 100. Default value: 10.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'Scope', + 'in' => 'query', + 'schema' => [ + 'description' => 'The query scope. Valid values:'."\n" + ."\n" + .'* Local: the products that are created by using the current account. This is the default value.'."\n" + .'* Import: the products that are imported from other accounts.'."\n" + .'* All: all available products.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Local', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProductDetails' => [ + 'title' => '产品列表', + 'description' => 'The products.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the product.'."\n", + 'type' => 'object', + 'properties' => [ + 'ProductArn' => [ + 'title' => '产品ARN', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the product.'."\n", + 'type' => 'string', + 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****', + ], + 'Description' => [ + 'title' => '产品描述', + 'description' => 'The description of the product.'."\n", + 'type' => 'string', + 'example' => 'The description of the product.'."\n", + ], + 'CreateTime' => [ + 'title' => '产品创建时间', + 'description' => 'The time when the product was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-04-12T06:10:37Z', + ], + 'ProductId' => [ + 'title' => '产品ID', + 'description' => 'The product ID.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ProductName' => [ + 'title' => '产品名字', + 'description' => 'The name of the product.'."\n", + 'type' => 'string', + 'example' => 'DEMO-Create an ECS instance'."\n", + ], + 'ProviderName' => [ + 'title' => '产品提供方', + 'description' => 'The provider of the product.'."\n", + 'type' => 'string', + 'example' => 'IT team'."\n", + ], + 'ProductType' => [ + 'title' => '产品类型', + 'description' => 'The type of the product.'."\n" + ."\n" + .'The value is set to Ros, which indicates Resource Orchestration Service (ROS).'."\n", + 'type' => 'string', + 'example' => 'Ros', + ], + 'TemplateType' => [ + 'description' => 'The type of the product template. Valid values:'."\n" + ."\n" + .'* RosTerraformTemplate: the Terraform template that is supported by ROS.'."\n" + .'* RosStandardTemplate: the standard ROS template.'."\n", + 'type' => 'string', + 'example' => 'RosTerraformTemplate', + ], + ], + ], + ], + 'TotalCount' => [ + 'title' => '总记录数', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'PageNumber' => [ + 'description' => 'The page number of the returned page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => 'The number of entries returned per page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductDetails\\": [\\n {\\n \\"ProductArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****\\",\\n \\"Description\\": \\"这是一个产品描述\\",\\n \\"CreateTime\\": \\"2022-04-12T06:10:37Z\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-创建ECS\\",\\n \\"ProviderName\\": \\"IT团队\\",\\n \\"ProductType\\": \\"Ros\\",\\n \\"TemplateType\\": \\"RosTerraformTemplate\\"\\n }\\n ],\\n \\"TotalCount\\": 2,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]', + 'title' => 'ListProductsAsAdmin', + ], + 'CreateProductVersion' => [ + 'summary' => 'Creates a product version.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'ProductVersionName', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品版本名称', + 'description' => 'The name of the product version.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '1.0', + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + [ + 'name' => 'TemplateType', + 'in' => 'formData', + 'schema' => [ + 'title' => '模板类型', + 'description' => 'The type of the product template. Valid values:'."\n" + ."\n" + .'* RosTerraformTemplate: the Terraform template that is supported by Resource Orchestration Service (ROS).'."\n" + .'* RosStandardTemplate: the standard ROS template.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'RosTerraformTemplate', + ], + ], + [ + 'name' => 'TemplateUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '模板的OSS地址', + 'description' => 'The URL of the template.'."\n" + ."\n" + .'For more information about how to obtain the URL of a template, see [CreateTemplate](~~CreateTemplate~~).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品版本描述', + 'description' => 'The description of the product version.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'The description of the product version.'."\n", + ], + ], + [ + 'name' => 'Guidance', + 'in' => 'formData', + 'schema' => [ + 'title' => '推荐信息', + 'description' => 'The recommendation information. Valid values:'."\n" + ."\n" + .'* Default: No recommendation information is provided. This is the default value.'."\n" + .'* Recommended: the recommendation version.'."\n" + .'* Latest: the latest version.'."\n" + .'* Deprecated: the version that is about to be discontinued.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Default', + ], + ], + [ + 'name' => 'Active', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否启用', + 'description' => 'Specifies whether the product version is active. Valid values:'."\n" + ."\n" + .'* true: The product version is active. This is the default value.'."\n" + .'* false: The product version is inactive.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品版本所属的产品ID', + 'description' => 'The ID of the product to which the product version belongs.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProductVersionId' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'example' => 'pv-bp15e79d26****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\"\\n}","type":"json"}]', + 'title' => 'CreateProductVersion', + 'description' => 'Before you call the CreateProductVersion operation, you must call the [CreateTemplate](~~CreateTemplate~~) operation to create a template.'."\n", + ], + 'DeleteProductVersion' => [ + 'summary' => 'Deletes a product version.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'ProductVersionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pv-bp15e79d26****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'DeleteProductVersion', + ], + 'UpdateProductVersion' => [ + 'summary' => 'Updates the information about a product version.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'ProductVersionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pv-bp15e79d26****', + ], + ], + [ + 'name' => 'ProductVersionName', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品版本名称', + 'description' => 'The name of the product version.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '1.0', + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品版本描述', + 'description' => 'The description of the product version.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'The description of the product version.'."\n", + ], + ], + [ + 'name' => 'Guidance', + 'in' => 'formData', + 'schema' => [ + 'title' => '推荐信息', + 'description' => 'The recommendation information. Valid values:'."\n" + ."\n" + .'* Default: No recommendation information is provided. This is the default value.'."\n" + .'* Recommended: the recommended version.'."\n" + .'* Latest: the latest version.'."\n" + .'* Deprecated: the version that is about to be discontinued.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Default', + ], + ], + [ + 'name' => 'Active', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否启用', + 'description' => 'Specifies whether to enable the product version. Valid values:'."\n" + ."\n" + .'* true: enables the product version. This is the default value.'."\n" + .'* false: disables the product version.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProductVersionId' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'example' => 'pv-bp15e79d26****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\"\\n}","type":"json"}]', + 'title' => 'UpdateProductVersion', + ], + 'GetProductVersion' => [ + 'summary' => 'Queries the details of a product version.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'ProductVersionId', + 'in' => 'query', + 'schema' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.', + 'type' => 'string', + 'required' => true, + 'example' => 'pv-bp15e79d26****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ProductVersionDetail' => [ + 'title' => '产品版本详情', + 'description' => 'The details of the product version.'."\n", + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'title' => '是否启用', + 'description' => 'Indicates whether the product version is visible to end users. Valid values:'."\n" + .'- true: The product version is visible to end users. This is the default value.'."\n" + .'- false: The product version is invisible to end users.', + 'type' => 'boolean', + 'enumValueTitles' => [], + 'example' => 'true', + ], + 'Description' => [ + 'title' => '产品版本描述', + 'description' => 'The description of the product version.', + 'type' => 'string', + 'example' => 'The description of the product version.', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The time when the product version was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.', + 'type' => 'string', + 'example' => '2022-04-12T06:10:37Z', + ], + 'Guidance' => [ + 'title' => '推荐信息', + 'description' => 'The recommendation information. Valid values:'."\n" + ."\n" + .'- Default: No recommendation information is provided. This is the default value.'."\n" + .'- Recommended: the recommendation version.'."\n" + .'- Latest: the latest version.'."\n" + .'- Deprecated: the version that is about to be deprecated.', + 'type' => 'string', + 'example' => 'Default', + ], + 'ProductVersionId' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.', + 'type' => 'string', + 'example' => 'pv-bp15e79d26****', + ], + 'ProductVersionName' => [ + 'title' => '产品版本名称', + 'description' => 'The name of the product version.', + 'type' => 'string', + 'example' => '1.0', + ], + 'ProductId' => [ + 'title' => '产品版本所属的产品ID', + 'description' => 'The ID of the product to which the product version belongs.', + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'TemplateUrl' => [ + 'title' => '模板的OSS地址', + 'description' => 'The URL of the template.', + 'type' => 'string', + 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json', + ], + 'TemplateType' => [ + 'title' => '模板类型', + 'description' => 'The type of the product template. Valid values:'."\n" + ."\n" + .'* RosTerraformTemplate: The Terraform template that is supported by Resource Orchestration Service (ROS).'."\n" + .'* RosStandardTemplate: The standard ROS template.'."\n", + 'type' => 'string', + 'example' => 'RosTerraformTemplate', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.', + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProductVersionDetail\\": {\\n \\"Active\\": true,\\n \\"Description\\": \\"这是一个产品版本描述\\",\\n \\"CreateTime\\": \\"2022-04-12T06:10:37Z\\",\\n \\"Guidance\\": \\"Default\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\",\\n \\"ProductVersionName\\": \\"1.0\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"TemplateUrl\\": \\"oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json\\",\\n \\"TemplateType\\": \\"RosTerraformTemplate\\"\\n },\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'GetProductVersion', + ], + 'ListProductVersions' => [ + 'summary' => 'Queries the versions of a product.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'ProductId', + 'in' => 'query', + 'schema' => [ + 'title' => '产品版本所属的产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ProductVersionDetails' => [ + 'title' => '产品版本列表', + 'description' => 'The versions of the product.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the product version.'."\n", + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'title' => '是否启用', + 'description' => 'Indicates whether the product version is enabled. Valid values:'."\n" + ."\n" + .'* true (default)'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Description' => [ + 'title' => '产品版本描述', + 'description' => 'The description of the product version.'."\n", + 'type' => 'string', + 'example' => 'The description of the product version.'."\n", + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The time when the product version was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-04-12T06:10:37Z', + ], + 'Guidance' => [ + 'title' => '推荐信息', + 'description' => 'The recommended product version. Valid values:'."\n" + ."\n" + .'* Default (default): No product version is recommended.'."\n" + .'* Recommended: the stable version.'."\n" + .'* Latest: the latest version.'."\n" + .'* Deprecated: the version that is about to be deprecated.'."\n", + 'type' => 'string', + 'example' => 'Default', + ], + 'ProductVersionId' => [ + 'title' => '产品版本ID', + 'description' => 'The product version ID.'."\n", + 'type' => 'string', + 'example' => 'pv-bp15e79d26****', + ], + 'ProductVersionName' => [ + 'title' => '产品版本名称', + 'description' => 'The name of the product version.'."\n", + 'type' => 'string', + 'example' => '1.0', + ], + 'TemplateUrl' => [ + 'title' => '模板的OSS地址', + 'description' => 'The URL of the template.'."\n", + 'type' => 'string', + 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json', + ], + 'TemplateType' => [ + 'title' => '模板类型', + 'description' => 'The type of the product template. Valid values:'."\n" + ."\n" + .'* RosTerraformTemplate: the Terraform template that is supported by Resource Orchestration Service (ROS).'."\n" + .'* RosStandardTemplate: the standard ROS template.'."\n", + 'type' => 'string', + 'example' => 'RosTerraformTemplate', + ], + 'ProductId' => [ + 'description' => 'The ID of the product to which the product version belongs.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductVersionDetails\\": [\\n {\\n \\"Active\\": true,\\n \\"Description\\": \\"这是一个产品版本描述。\\",\\n \\"CreateTime\\": \\"2022-04-12T06:10:37Z\\",\\n \\"Guidance\\": \\"Default\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\",\\n \\"ProductVersionName\\": \\"1.0\\",\\n \\"TemplateUrl\\": \\"oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json\\",\\n \\"TemplateType\\": \\"RosTerraformTemplate\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListProductVersions', + ], + 'CreateTemplate' => [ + 'summary' => 'Creates a template. Service Catalog saves the template based on the parameters that you specify and returns the URL of the template.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TemplateBody', + 'in' => 'formData', + 'schema' => [ + 'title' => '模板内容', + 'description' => 'The content of the template.'."\n" + ."\n" + .'For more information about the template syntax, see [Structure of Terraform templates](~~184397~~).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '{'."\n" + .' "ROSTemplateFormatVersion": "2015-09-01",'."\n" + .' "Transform": "Aliyun::Terraform-v1.1",'."\n" + .' "Workspace": {'."\n" + .' "main.tf": "variable \\"name\\" { default = \\"auto_provisioning_group\\"}"'."\n" + .' },'."\n" + .' "Outputs": {}'."\n" + .'}', + ], + ], + [ + 'name' => 'TemplateType', + 'in' => 'formData', + 'schema' => [ + 'title' => '模板类型', + 'description' => 'The type of the product template. Valid values:'."\n" + ."\n" + .'* RosTerraformTemplate: the Terraform template that is supported by Resource Orchestration Service (ROS).'."\n" + .'* RosStandardTemplate: the standard ROS template.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'RosTerraformTemplate', + ], + ], + [ + 'name' => 'TerraformVariables', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The variable settings of the Terraform template. You can configure the variables in a structured manner. Service Catalog applies the variable settings to the template.'."\n" + ."\n" + .'> The variables must be defined in the Terraform template.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VariableName' => [ + 'description' => 'The name of the variable.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'instance_type', + ], + 'Description' => [ + 'description' => 'The description of the variable.'."\n" + ."\n" + .'For more information about the format of variable descriptions, see [Methods and suggestions for Terraform code development](~~322216~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '{ "Label": { "en": "Instance Type" }, "AllowedValues": \\[ "ecs.s6-c1m1.small", "ecs.s6-c1m2.large", "ecs.s6-c1m2.xlarge" ] }'."\n", + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'TemplateUrl' => [ + 'title' => '模板的OSS地址', + 'description' => 'The URL of the template.'."\n", + 'type' => 'string', + 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"TemplateUrl\\": \\"oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json\\"\\n}","type":"json"}]', + 'title' => 'CreateTemplate', + ], + 'GetTemplate' => [ + 'summary' => 'Queries the details of a template.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'ProductId', + 'in' => 'query', + 'schema' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + [ + 'name' => 'ProductVersionId', + 'in' => 'query', + 'schema' => [ + 'title' => '产品版本ID', + 'description' => 'The ID of the product version.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pv-bp15e79d26****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'TemplateBody' => [ + 'title' => '模板内容', + 'description' => 'The content of the template.'."\n" + ."\n" + .'For more information about the template syntax, see [Structure of Terraform templates](~~184397~~).'."\n", + 'type' => 'string', + 'example' => '{'."\n" + .' "ROSTemplateFormatVersion": "2015-09-01",'."\n" + .' "Transform": "Aliyun::Terraform-v1.1",'."\n" + .' "Workspace": {'."\n" + .' "main.tf": "variable \\"name\\" { default = \\"auto_provisioning_group\\"}"'."\n" + .' },'."\n" + .' "Outputs": {}'."\n" + .'}', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"TemplateBody\\": \\"{\\\\n \\\\\\"ROSTemplateFormatVersion\\\\\\": \\\\\\"2015-09-01\\\\\\",\\\\n \\\\\\"Transform\\\\\\": \\\\\\"Aliyun::Terraform-v1.1\\\\\\",\\\\n \\\\\\"Workspace\\\\\\": {\\\\n \\\\\\"main.tf\\\\\\": \\\\\\"variable \\\\\\\\\\\\\\"name\\\\\\\\\\\\\\" { default = \\\\\\\\\\\\\\"auto_provisioning_group\\\\\\\\\\\\\\"}\\\\\\"\\\\n },\\\\n \\\\\\"Outputs\\\\\\": {}\\\\n}\\"\\n}","type":"json"}]', + 'title' => 'GetTemplate', + ], + 'CreatePortfolio' => [ + 'summary' => 'Creates a product portfolio.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PortfolioName', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合名称', + 'description' => 'The name of the product portfolio.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'example' => 'DEMO-IT services'."\n", + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合描述', + 'description' => 'The description of the product portfolio.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'The description of the product portfolio.'."\n", + ], + ], + [ + 'name' => 'ProviderName', + 'in' => 'formData', + 'schema' => [ + 'title' => '提供者名称', + 'description' => 'The provider of the product portfolio.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'IT team'."\n", + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'PortfolioId' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'port-bp1yt7582g****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\"\\n}","type":"json"}]', + 'title' => 'CreatePortfolio', + ], + 'AssociateProductWithPortfolio' => [ + 'summary' => 'Adds a product to a product portfolio.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + [ + 'name' => 'PortfolioId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'port-bp1yt7582g****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'AssociateProductWithPortfolio', + ], + 'DeletePortfolio' => [ + 'summary' => 'Deletes a product portfolio.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'PortfolioId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'port-bp1yt7582g****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'DeletePortfolio', + ], + 'DisassociateProductFromPortfolio' => [ + 'summary' => 'Removes a product from the product portfolio.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品ID', + 'description' => 'The ID of the product.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + [ + 'name' => 'PortfolioId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'port-bp1yt7582g****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'DisassociateProductFromPortfolio', + ], + 'UpdatePortfolio' => [ + 'summary' => 'Updates the information about a product portfolio.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'PortfolioId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合ID', + 'description' => '代表资源一级ID的资源属性字段', + 'type' => 'string', + 'required' => true, + 'example' => 'port-bp1yt7582g****', + ], + ], + [ + 'name' => 'PortfolioName', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合名称', + 'description' => '代表资源名称的资源属性字段', + 'type' => 'string', + 'required' => true, + 'example' => '', + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合描述', + 'description' => '产品组合描述', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ProviderName', + 'in' => 'formData', + 'schema' => [ + 'title' => '提供者名称', + 'description' => '产品组合提供方', + 'type' => 'string', + 'required' => true, + 'example' => '', + 'maxLength' => 100, + 'minLength' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'PortfolioId' => [ + 'title' => '产品组合ID', + 'description' => '', + 'type' => 'string', + 'example' => 'port-bp1yt7582g****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\"\\n}","type":"json"}]', + 'title' => 'UpdatePortfolio', + ], + 'GetPortfolio' => [ + 'summary' => 'Queries the information about a product portfolio.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'PortfolioId', + 'in' => 'query', + 'schema' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'port-bp1yt7582g****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'PortfolioDetail' => [ + 'title' => '产品组合详情', + 'description' => 'The details of the product portfolio.'."\n", + 'type' => 'object', + 'properties' => [ + 'PortfolioArn' => [ + 'title' => '产品组合ARN', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:portfolio/port-bp1yt7582g****', + ], + 'PortfolioId' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'port-bp1yt7582g****', + ], + 'Description' => [ + 'title' => '产品组合描述', + 'description' => 'The description of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'The description of the product portfolio.'."\n", + ], + 'CreateTime' => [ + 'title' => '产品组合创建时间', + 'description' => 'The time when the product portfolio was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-04-12T06:11:12Z', + ], + 'PortfolioName' => [ + 'title' => '产品组合名称', + 'description' => 'The name of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'DEMO-IT services'."\n", + ], + 'ProviderName' => [ + 'title' => '提供者名称', + 'description' => 'The provider of the product portfolio.'."\n", + 'type' => 'string', + 'example' => 'IT team'."\n", + ], + ], + ], + 'TagOptions' => [ + 'description' => 'The tag options associated with the service portfolio.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'description' => 'Indicates whether the tag option is enabled. Valid values:'."\n" + ."\n" + .'- true (default)'."\n" + .'- false', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TagOptionId' => [ + 'description' => 'The ID of the tag option.', + 'type' => 'string', + 'example' => 'tag-bp1q65xd3j****', + ], + 'Key' => [ + 'description' => 'The key of the tag option.', + 'type' => 'string', + 'example' => 'k1', + ], + 'Value' => [ + 'description' => 'The value of the tag option.', + 'type' => 'string', + 'example' => 'v1', + ], + 'Owner' => [ + 'description' => 'The ID of the owner of the tag option.', + 'type' => 'string', + 'example' => '133413081827****'."\n", + ], + ], + 'description' => 'The tag options associated with the service portfolio.', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"PortfolioDetail\\": {\\n \\"PortfolioArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:portfolio/port-bp1yt7582g****\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\",\\n \\"Description\\": \\"这是一个产品组合描述\\",\\n \\"CreateTime\\": \\"2022-04-12T06:11:12Z\\",\\n \\"PortfolioName\\": \\"DEMO-IT服务\\",\\n \\"ProviderName\\": \\"IT团队\\"\\n },\\n \\"TagOptions\\": [\\n {\\n \\"Active\\": true,\\n \\"TagOptionId\\": \\"tag-bp1q65xd3j****\\",\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\",\\n \\"Owner\\": \\"133413081827****\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetPortfolio', + ], + 'ListPortfolios' => [ + 'summary' => 'Queries product portfolios.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ProductId', + 'in' => 'query', + 'schema' => [ + 'title' => '产品ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'prod-bp18r7q127****', + ], + ], + [ + 'name' => 'Filters', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '过滤条件', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '过滤条件的名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PortfolioName', + ], + 'Value' => [ + 'title' => '过滤条件的值', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'title' => '排序字段', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'CreateTime', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'title' => '排序方式', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Desc', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'Scope', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Local', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PortfolioDetails' => [ + 'title' => '产品组合列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => 'PortfolioItemType', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Description' => [ + 'title' => '产品组合描述', + 'description' => '产品组合描述', + 'type' => 'string', + 'example' => '', + ], + 'PortfolioName' => [ + 'title' => '产品组合名称', + 'description' => '代表资源名称的资源属性字段', + 'type' => 'string', + 'example' => '', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '代表创建时间的资源属性字段', + 'type' => 'string', + 'example' => '2022-04-12T06:11:12Z', + ], + 'ProviderName' => [ + 'title' => '提供者名称', + 'description' => '产品组合提供方', + 'type' => 'string', + 'example' => '', + ], + 'PortfolioId' => [ + 'title' => '产品组合ID', + 'description' => '代表资源一级ID的资源属性字段', + 'type' => 'string', + 'example' => 'port-bp1yt7582g****', + ], + 'PortfolioArn' => [ + 'title' => '产品组合ARN', + 'description' => '', + 'type' => 'string', + 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:portfolio/port-bp1yt7582g****', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'TotalCount' => [ + 'title' => '总记录数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PortfolioDetails\\": [\\n {\\n \\"Description\\": \\"This is a product portfolio description.\\",\\n \\"PortfolioName\\": \\"DEMO-IT\\",\\n \\"CreateTime\\": \\"2022-04-12T06:11:12Z\\",\\n \\"ProviderName\\": \\"IT team\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\",\\n \\"PortfolioArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:portfolio/port-bp1yt7582g****\\"\\n }\\n ],\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"TotalCount\\": 2,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]', + 'title' => 'ListPortfolios', + ], + 'CreateConstraint' => [ + 'summary' => 'Creates a constraint.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'ConstraintType', + 'in' => 'formData', + 'schema' => [ + 'title' => '约束类型', + 'description' => 'The type of the constraint.'."\n" + ."\n" + .'The value is fixed as Launch, which specifies the launch constraint.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'Launch', + ], + ], + [ + 'name' => 'Config', + 'in' => 'formData', + 'schema' => [ + 'title' => '约束配置', + 'description' => 'The configuration of the constraint.'."\n" + ."\n" + .'Format: { "LocalRoleName": "\\<role_name>" }.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '{ "LocalRoleName": "TestRole" }', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '约束描述', + 'description' => 'The description of the constraint.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Launch as local role TestRole', + ], + ], + [ + 'name' => 'PortfolioId', + 'in' => 'formData', + 'schema' => [ + 'title' => '约束所属的产品组合ID', + 'description' => 'The ID of the product portfolio to which the constraint belongs.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'port-bp1yt7582g****', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '约束对应的产品ID', + 'description' => 'The ID of the product for which the constraint is created.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp18r7q127****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ConstraintId' => [ + 'title' => '约束ID', + 'description' => 'The ID of the constraint.'."\n", + 'type' => 'string', + 'example' => 'cons-bp1yx7x42v****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ConstraintId\\": \\"cons-bp1yx7x42v****\\"\\n}","type":"json"}]', + 'title' => 'CreateConstraint', + ], + 'DeleteConstraint' => [ + 'summary' => 'Deletes a constraint.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'ConstraintId', + 'in' => 'formData', + 'schema' => [ + 'title' => '约束ID', + 'description' => 'The ID of the constraint.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cons-bp1yx7x42v****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'DeleteConstraint', + ], + 'UpdateConstraint' => [ + 'summary' => 'Updates the information about a constraint.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'ConstraintId', + 'in' => 'formData', + 'schema' => [ + 'title' => '约束ID', + 'description' => 'The ID of the constraint.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cons-bp1yx7x42v****', + ], + ], + [ + 'name' => 'Config', + 'in' => 'formData', + 'schema' => [ + 'title' => '约束配置', + 'description' => 'The configurations of the constraint.'."\n" + ."\n" + .'Format: { "LocalRoleName": "\\<role_name>" }.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '{ "LocalRoleName": "TestRole" }', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '约束描述', + 'description' => 'The description of the constraint.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Launch as local role TestRole', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ConstraintId' => [ + 'title' => '约束ID', + 'description' => 'The ID of the constraint.'."\n", + 'type' => 'string', + 'example' => 'cons-bp1yx7x42v****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ConstraintId\\": \\"cons-bp1yx7x42v****\\"\\n}","type":"json"}]', + 'title' => 'UpdateConstraint', + ], + 'GetConstraint' => [ + 'summary' => 'Queries the information about a constraint.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'ConstraintId', + 'in' => 'query', + 'schema' => [ + 'title' => '约束ID', + 'description' => 'The ID of the constraint.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cons-bp1yx7x42v****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'ConstraintDetail' => [ + 'title' => '约束详情', + 'description' => 'The details of the constraint.'."\n", + 'type' => 'object', + 'properties' => [ + 'Config' => [ + 'title' => '约束配置', + 'description' => 'The configuration of the constraint.'."\n" + ."\n" + .'Format: { "LocalRoleName": "\\<role_name>" }.'."\n", + 'type' => 'string', + 'example' => '{ "LocalRoleName": "TestRole" }', + ], + 'Description' => [ + 'title' => '描述', + 'description' => 'The description of the constraint.'."\n", + 'type' => 'string', + 'example' => 'Launch as local role TestRole', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The time when the constraint was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-04-12T06:11:26Z', + ], + 'ConstraintId' => [ + 'title' => '约束ID', + 'description' => 'The ID of the constraint.'."\n", + 'type' => 'string', + 'example' => 'cons-bp1yx7x42v****', + ], + 'PortfolioId' => [ + 'title' => '约束所属的产品组合ID', + 'description' => 'The ID of the product portfolio to which the constraint belongs.'."\n", + 'type' => 'string', + 'example' => 'port-bp1yt7582g****', + ], + 'ProductId' => [ + 'title' => '约束的产品ID', + 'description' => 'The ID of the product for which the constraint is created.'."\n", + 'type' => 'string', + 'example' => 'prod-bp18r7q127****', + ], + 'ConstraintType' => [ + 'title' => '约束类型', + 'description' => 'The type of the constraint.'."\n" + ."\n" + .'The value is fixed as Launch, which indicates the launch constraint.'."\n", + 'type' => 'string', + 'example' => 'Launch', + ], + 'ProductName' => [ + 'description' => 'The name of the product.'."\n", + 'type' => 'string', + 'example' => 'DEMO-Create an ECS instance.'."\n", + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ConstraintDetail\\": {\\n \\"Config\\": \\"{ \\\\\\"LocalRoleName\\\\\\": \\\\\\"TestRole\\\\\\" }\\",\\n \\"Description\\": \\"Launch as local role TestRole\\",\\n \\"CreateTime\\": \\"2022-04-12T06:11:26Z\\",\\n \\"ConstraintId\\": \\"cons-bp1yx7x42v****\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ConstraintType\\": \\"Launch\\",\\n \\"ProductName\\": \\"DEMO-创建ECS\\"\\n }\\n}","type":"json"}]', + 'title' => 'GetConstraint', + ], + 'AssociatePrincipalWithPortfolio' => [ + 'summary' => 'Grants a Resource Access Management (RAM) user or RAM role that belongs to the current Alibaba Cloud account the permissions to access a product portfolio.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + ], + 'parameters' => [ + [ + 'name' => 'PortfolioId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'port-bp1yt7582g****', + ], + ], + [ + 'name' => 'PrincipalType', + 'in' => 'formData', + 'schema' => [ + 'title' => 'RAM实体类型,枚举值为RamUser、RamRole、RamPattern。填写RamUser和RamRole时,PrincipalId必填;填写RamPattern时,PrincipPattern必填。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'RamUser', + ], + ], + [ + 'name' => 'PrincipalId', + 'in' => 'formData', + 'schema' => [ + 'title' => 'RAM实体ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '24477111603637****', + ], + ], + [ + 'name' => 'PrincipalPattern', + 'in' => 'formData', + 'schema' => [ + 'title' => 'RAM实体名称规则,当PrincipalType填写RamPattern时生效。如需配置Ram用户名称规则,格式为user/${userName};如需配置Ram角色名称规则,格式为role/${roleName}。', + 'type' => 'string', + 'example' => 'user/userName', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'AssociatePrincipalWithPortfolio', + ], + 'DisassociatePrincipalFromPortfolio' => [ + 'summary' => 'Revokes the permissions to access a product portfolio.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + ], + 'parameters' => [ + [ + 'name' => 'PortfolioId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'port-bp1yt7582g****', + ], + ], + [ + 'name' => 'PrincipalType', + 'in' => 'formData', + 'schema' => [ + 'title' => 'RAM实体类型,枚举值为RamUser、RamRole、RamPattern。填写RamUser和RamRole时,PrincipalId必填;填写RamPattern时,PrincipPattern必填。', + 'description' => 'The type of the Resource Access Management (RAM) entity. Valid values:'."\n" + ."\n" + .'* RamUser: a RAM user'."\n" + .'* RamRole: a RAM role'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'RamUser', + ], + ], + [ + 'name' => 'PrincipalId', + 'in' => 'formData', + 'schema' => [ + 'title' => 'RAM实体ID', + 'description' => 'The ID of the RAM entity.'."\n" + ."\n" + .'For more information about how to obtain the ID of a RAM user, see [GetUser](~~28681~~).'."\n" + ."\n" + .'For more information about how to obtain the ID of a RAM role, see [GetRole](~~28711~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '24477111603637****', + ], + ], + [ + 'name' => 'PrincipalPattern', + 'in' => 'formData', + 'schema' => [ + 'title' => 'RAM实体名称规则,当PrincipalType填写RamPattern时生效。如需配置Ram用户名称规则,格式为user/${userName};如需配置Ram角色名称规则,格式为role/${roleName}。', + 'type' => 'string', + 'example' => 'user/userName', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', + 'title' => 'DisassociatePrincipalFromPortfolio', + ], + 'ListPrincipals' => [ + 'summary' => 'Queries the Resource Access Management (RAM) users and RAM roles that are granted the permissions to access a product portfolio.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + ], + 'parameters' => [ + [ + 'name' => 'PortfolioId', + 'in' => 'query', + 'schema' => [ + 'title' => '产品组合ID', + 'description' => 'The ID of the product portfolio.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'port-bp1yt7582g****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'Principals' => [ + 'title' => 'RAM实体列表', + 'description' => 'The RAM entities.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the RAM entity.'."\n", + 'type' => 'object', + 'properties' => [ + 'PrincipalType' => [ + 'title' => 'RAM实体类型', + 'description' => 'The type of the RAM entity. Valid values:'."\n" + ."\n" + .'* RamUser: a RAM user'."\n" + .'* RamRole: a RAM role'."\n", + 'type' => 'string', + 'example' => 'RamUser', + ], + 'PrincipalId' => [ + 'title' => 'RAM实体ID', + 'description' => 'The ID of the RAM entity.'."\n", + 'type' => 'string', + 'example' => '24477111603637****', + ], + 'PrincipalPattern' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"Principals\\": [\\n {\\n \\"PrincipalType\\": \\"RamUser\\",\\n \\"PrincipalId\\": \\"24477111603637****\\",\\n \\"PrincipalPattern\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListPrincipals', + ], + 'ListRegions' => [ + 'summary' => 'Queries regions.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF', + ], + 'Regions' => [ + 'title' => '地域列表', + 'description' => 'The details of regions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the region.'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'title' => '地域ID', + 'description' => 'The ID of the region.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'RegionEndpoint' => [ + 'title' => '地域接入地址', + 'description' => 'The endpoint of the region.'."\n", + 'type' => 'string', + 'example' => 'servicecatalog.cn-hangzhou.aliyuncs.com', + ], + 'LocalName' => [ + 'title' => '地域名称', + 'description' => 'The name of the region.'."\n", + 'type' => 'string', + 'example' => 'China (Hangzhou)'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"Regions\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RegionEndpoint\\": \\"servicecatalog.cn-hangzhou.aliyuncs.com\\",\\n \\"LocalName\\": \\"华东1(杭州)\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListRegions', + ], + 'GetTagOption' => [ + 'summary' => 'Queries the details of a tag option.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'TagOptionId', + 'in' => 'query', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => 'The ID of the tag option.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'tag-bp1r3mxq3t****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'TagOptionDetail' => [ + 'description' => 'The details of the tag option.'."\n", + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'description' => 'Indicates whether the tag option is enabled. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'TagOptionId' => [ + 'description' => 'The ID of the tag option.'."\n", + 'type' => 'string', + 'example' => 'tag-bp15qmwz3r****', + ], + 'Key' => [ + 'description' => 'The key of the tag option.'."\n", + 'type' => 'string', + 'example' => 'k1', + ], + 'Value' => [ + 'description' => 'The value of the tag option.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + 'Owner' => [ + 'description' => 'The ID of the Alibaba Cloud account to which the tag option belongs.'."\n", + 'type' => 'string', + 'example' => '133413081827****', + ], + ], + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'C1509725-055D-5C7B-9420-8B737DBD****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TagOptionDetail\\": {\\n \\"Active\\": true,\\n \\"TagOptionId\\": \\"tag-bp15qmwz3r****\\",\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\",\\n \\"Owner\\": \\"133413081827****\\"\\n },\\n \\"RequestId\\": \\"C1509725-055D-5C7B-9420-8B737DBD****\\"\\n}","type":"json"}]', + 'title' => 'GetTagOption', + ], + 'DisAssociateTagOptionFromResource' => [ + 'summary' => 'Disassociates a tag option from a resource.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'ResourceId', + 'in' => 'formData', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => 'The ID of the resource with which the tag option is associated.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'prod-bp14katy3d****', + ], + ], + [ + 'name' => 'TagOptionId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the tag option.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'tag-bp1u6mdf3d****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '7E23D1F3-4333-587B-909C-39EA4626****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E23D1F3-4333-587B-909C-39EA4626****\\"\\n}","type":"json"}]', + 'title' => 'DisAssociateTagOptionFromResource', + ], + 'ListResourcesForTagOption' => [ + 'summary' => 'Queries the resources that are associated with a tag option.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'TagOptionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the tag option.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'tag-bp1u6mdf3d****', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of resource that is associated with the tag option. Valid values:'."\n" + ."\n" + .'* product: product'."\n" + .'* Portfolio: product portfolio'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'Product', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of the page to return.'."\n" + ."\n" + .'Pages start from page 1. Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Valid values: 1 to 100 Minimum value: 1. Default value: 10.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'E465F21C-8712-5794-A754-5E4D9152****', + ], + 'TotalCount' => [ + 'title' => '总记录数', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'PageNumber' => [ + 'description' => 'The page number of the returned page.'."\n" + ."\n" + .'Pages start from page 1. Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => 'The number of entries returned per page.'."\n" + ."\n" + .'Valid values: 1 to 100 Minimum value: 1. Default value: 10.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'ResourceDetails' => [ + 'description' => 'An array that consists of the associated resources.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ResourceArn' => [ + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.'."\n", + 'type' => 'string', + 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****'."\n", + ], + 'CreateTime' => [ + 'description' => 'The time when the resource was created.'."\n" + ."\n" + .'The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", + 'type' => 'string', + 'example' => '2022-11-04T08:07:04.281986714Z', + ], + 'Description' => [ + 'description' => 'The description of the resource.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length.'."\n", + 'type' => 'string', + 'example' => 'The description of the resource.', + ], + 'ResourceId' => [ + 'description' => 'The ID of the resource with which the tag option is associated.'."\n", + 'type' => 'string', + 'example' => 'port-bp15p96922****', + ], + 'ResourceName' => [ + 'description' => 'The name of the resource.'."\n", + 'type' => 'string', + 'example' => 'DEMO-ECS', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E465F21C-8712-5794-A754-5E4D9152****\\",\\n \\"TotalCount\\": 10,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"ResourceDetails\\": [\\n {\\n \\"ResourceArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****\\\\n\\",\\n \\"CreateTime\\": \\"2022-11-04T08:07:04.281986714Z\\",\\n \\"Description\\": \\"这是一个产品描述。\\\\n\\",\\n \\"ResourceId\\": \\"port-bp15p96922****\\",\\n \\"ResourceName\\": \\"DEMO-创建ECS\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListResourcesForTagOption', + ], + 'UpdateTagOption' => [ + 'summary' => 'Updates the tag option.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'TagOptionId', + 'in' => 'formData', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => 'The ID of the tag option.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'tag-bp1u6mdf3d****', + ], + ], + [ + 'name' => 'Value', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The value of the tag option.'."\n" + ."\n" + .'The value can be up to 128 characters in length. It cannot start with `acs:` and cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + 'maxLength' => 128, + 'minLength' => 1, + ], + ], + [ + 'name' => 'Active', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Specifies whether to enable the tag option. Valid values:'."\n" + ."\n" + .'* true (default)'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'TagOptionDetail' => [ + 'description' => 'The details of the tag option.'."\n", + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'description' => 'Indicates whether the tag option is enabled. Valid values:'."\n" + ."\n" + .'* true (default)'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'TagOptionId' => [ + 'description' => 'The ID of the tag option.'."\n", + 'type' => 'string', + 'example' => 'tag-bp1u6mdf3d****', + ], + 'Key' => [ + 'description' => 'The key of the tag option.'."\n" + ."\n" + .'The key must be 1 to 128 characters in length. It cannot contain `http://` or `https://` and cannot start with `acs:` or `aliyun`.'."\n", + 'type' => 'string', + 'example' => 'k1', + ], + 'Value' => [ + 'description' => 'The value of the tag option.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length. It cannot contain `http://` or `https://` and cannot start with `acs:` or `aliyun`.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + 'Owner' => [ + 'description' => 'The ID of the Alibaba Cloud account to which the tag option belongs.'."\n", + 'type' => 'string', + 'example' => '133413081827****', + ], + ], + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TagOptionDetail\\": {\\n \\"Active\\": true,\\n \\"TagOptionId\\": \\"tag-bp1u6mdf3d****\\",\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\",\\n \\"Owner\\": \\"133413081827****\\"\\n },\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F****\\"\\n}","type":"json"}]', + 'title' => 'UpdateTagOption', + ], + 'ListTagOptions' => [ + 'summary' => 'Queries a list of tag options.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of the page to return.'."\n" + ."\n" + .'Pages start from page 1. Default value: 1.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Valid values: 1 to 100. Minimum value: 1. Default value: 10.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'Filters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The filter condition.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the tag option.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + ], + 'Value' => [ + 'description' => 'The value of the tag option.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + 'Active' => [ + 'description' => 'Specifies whether to enable the tag option. Valid values:'."\n" + ."\n" + .'* true (default)'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'FullTextSearch' => [ + 'description' => 'The full-text search method.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'description' => 'The information based on which you want to sort the query results.'."\n" + ."\n" + .'Set the value to CreateTime, which specifies the creation time of tag options.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CreateTime', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* Asc: the ascending order'."\n" + .'* Desc (default): the descending order'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Desc', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '37C9C1DF-EFFC-5D8A-80D0-8657B1F3****', + ], + 'TotalCount' => [ + 'title' => '总记录数', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'PageNumber' => [ + 'description' => 'The page number of the returned page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => 'The number of entries returned per page.'."\n" + ."\n" + .'Valid values: 1 to 100. Minimum value: 1. Default value: 10.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TagOptionDetails' => [ + 'description' => 'An array that consists of the details of the tag option.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'description' => 'Indicates whether the tag option is enabled. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'TagOptionId' => [ + 'description' => 'The ID of the tag option.'."\n", + 'type' => 'string', + 'example' => 'tag-bp1r3mxq3t****', + ], + 'Key' => [ + 'description' => 'The key of the tag option.'."\n", + 'type' => 'string', + 'example' => 'k1', + ], + 'Value' => [ + 'description' => 'The value of the tag option.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + 'Owner' => [ + 'description' => 'The ID of the Alibaba Cloud account to which the tag option belongs.'."\n", + 'type' => 'string', + 'example' => '133413081827****'."\n", + ], + ], + ], + ], + 'NextToken' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37C9C1DF-EFFC-5D8A-80D0-8657B1F3****\\",\\n \\"TotalCount\\": 10,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TagOptionDetails\\": [\\n {\\n \\"Active\\": true,\\n \\"TagOptionId\\": \\"tag-bp1r3mxq3t****\\",\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\",\\n \\"Owner\\": \\"133413081827****\\\\n\\"\\n }\\n ],\\n \\"NextToken\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'ListTagOptions', + ], + 'DeleteTagOption' => [ + 'summary' => 'Deletes a tag option.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'TagOptionId', + 'in' => 'formData', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => 'The ID of the tag option.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'tag-bp1u6mdf3d****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F****\\"\\n}","type":"json"}]', + 'title' => 'DeleteTagOption', + ], + 'CreateTagOption' => [ + 'summary' => 'Creates a tag option.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREgovernanceLSR8I4', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Key', + 'in' => 'formData', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => 'The key of the tag option.'."\n" + ."\n" + .'The key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'k1', + 'maxLength' => 128, + 'minLength' => 1, + ], + ], + [ + 'name' => 'Value', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The value of the tag option.'."\n" + ."\n" + .'The value can be up to 128 characters in length. It cannot start with `acs:`and cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'v1', + 'maxLength' => 128, + 'minLength' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'TagOptionDetail' => [ + 'description' => 'An array that consists of the details of the tag option.'."\n", + 'type' => 'object', + 'properties' => [ + 'Active' => [ + 'description' => 'Indicates whether the tag option is enabled. Valid values:'."\n" + ."\n" + .'* true (default)'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'TagOptionId' => [ + 'description' => 'The ID of the tag option.'."\n", + 'type' => 'string', + 'example' => 'tag-bp1r3mxq3t****', + ], + 'Key' => [ + 'description' => 'The key of the tag option.'."\n" + ."\n" + .'The key must be 1 to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'example' => 'k1', + ], + 'Value' => [ + 'description' => 'The value of the tag option.'."\n" + ."\n" + .'The value must be 1 to 128 characters in length. It cannot start with `acs:` and cannot contain `http://` or `https://`.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + 'Owner' => [ + 'description' => 'The ID of the Alibaba Cloud account to which the tag option belongs.'."\n", + 'type' => 'string', + 'example' => '133413081827****'."\n", + ], + ], + ], + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'A48A5F12-6098-54A1-A389-6834AF27****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TagOptionDetail\\": {\\n \\"Active\\": true,\\n \\"TagOptionId\\": \\"tag-bp1r3mxq3t****\\",\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\",\\n \\"Owner\\": \\"133413081827****\\\\n\\"\\n },\\n \\"RequestId\\": \\"A48A5F12-6098-54A1-A389-6834AF27****\\"\\n}","type":"json"}]', + 'title' => 'CreateTagOption', + ], + 'AssociateTagOptionWithResource' => [ + 'summary' => 'Associates the tag option with a resource.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'ResourceId', + 'in' => 'formData', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => 'The ID of the resource with which the tag option is associated.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'port-bp15p96922****', + ], + ], + [ + 'name' => 'TagOptionId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the tag option.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'tag-bp1u6mdf3d****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DC833558-AFF4-5935-9AB6-8A12EE7D****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'A system error occurred.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC833558-AFF4-5935-9AB6-8A12EE7D****\\"\\n}","type":"json"}]', + 'title' => 'AssociateTagOptionWithResource', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'servicecatalog.cn-hangzhou.aliyuncs.com', + ], + ], +]; |
