'1.0', 'info' => ['style' => 'RPC', 'product' => 'servicecatalog', 'version' => '2021-09-01'], 'directories' => [ [ 'children' => ['GetProductAsEndUser', 'ListProductsAsEndUser'], 'type' => 'directory', 'title' => '服务发现', 'id' => 48185, ], [ 'children' => ['ListLaunchOptions', 'LaunchProduct', 'TerminateProvisionedProduct', 'UpdateProvisionedProduct'], 'type' => 'directory', 'title' => '服务请求', 'id' => 48188, ], [ 'children' => ['CreateProvisionedProductPlan', 'GetProvisionedProductPlan', 'ListProvisionedProductPlans', 'CancelProvisionedProductPlan', 'UpdateProvisionedProductPlan', 'ApproveProvisionedProductPlan', 'ListProvisionedProductPlanApprovers', 'ExecuteProvisionedProductPlan', 'DeleteProvisionedProductPlan'], 'type' => 'directory', 'title' => '计划', 'id' => 48233, ], [ 'children' => ['GetProvisionedProduct', 'ListProvisionedProducts', 'GetTask', 'ListTasks'], 'type' => 'directory', 'title' => '实例', 'id' => 48228, ], [ 'children' => ['CopyProduct', 'CreateProduct', 'DeleteProduct', 'UpdateProduct', 'GetProductAsAdmin', 'ListProductsAsAdmin'], 'type' => 'directory', 'title' => '产品', 'id' => 48193, ], [ 'children' => ['CreateProductVersion', 'DeleteProductVersion', 'UpdateProductVersion', 'GetProductVersion', 'ListProductVersions'], 'type' => 'directory', 'title' => '产品版本', 'id' => 48200, ], [ 'children' => ['CreateTemplate', 'GetTemplate'], 'type' => 'directory', 'title' => '模板', 'id' => 48206, ], [ 'children' => ['CreatePortfolio', 'AssociateProductWithPortfolio', 'DeletePortfolio', 'DisassociateProductFromPortfolio', 'UpdatePortfolio', 'GetPortfolio', 'ListPortfolios'], 'type' => 'directory', 'title' => '产品组合', 'id' => 48209, ], [ 'children' => ['CreateConstraint', 'DeleteConstraint', 'UpdateConstraint', 'GetConstraint'], 'type' => 'directory', 'title' => '约束', 'id' => 48217, ], [ 'children' => ['AssociatePrincipalWithPortfolio', 'DisassociatePrincipalFromPortfolio', 'ListPrincipals'], 'type' => 'directory', 'title' => '授权', 'id' => 48222, ], [ 'children' => ['ListRegions'], 'type' => 'directory', 'title' => '地域', 'id' => 48226, ], [ 'children' => ['GetTagOption', 'DisAssociateTagOptionFromResource', 'ListResourcesForTagOption', 'UpdateTagOption', 'ListTagOptions', 'DeleteTagOption', 'CreateTagOption', 'AssociateTagOptionWithResource'], 'type' => 'directory', 'title' => '标签选项', 'id' => 48243, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'ApproveProvisionedProductPlan' => [ 'summary' => '审批人审批计划。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'formData', 'schema' => ['title' => '计划ID', 'description' => '计划ID。', 'type' => 'string', 'required' => true, 'example' => 'plan-bp1jvmdk2k****'], ], [ 'name' => 'ApprovalAction', 'in' => 'formData', 'schema' => ['title' => '审批动作,取值Approve表示同意,Reject表示拒绝', 'description' => '审批动作。取值:'."\n" ."\n\n" .'- Approve:同意。'."\n" .'- Reject:拒绝。', 'type' => 'string', 'required' => true, 'example' => 'Approve'], ], [ 'name' => 'Comment', 'in' => 'formData', 'schema' => ['title' => '审批意见', 'description' => '审批意见。', 'type' => 'string', 'required' => false, 'example' => 'Approved. Resource creation is allowed.'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', 'title' => '审批计划', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApproveProvisionedProductPlan'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:ApproveProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], ], ], 'AssociatePrincipalWithPortfolio' => [ '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' => '产品组合ID。', 'type' => 'string', 'required' => true, 'example' => 'port-bp1yt7582g****'], ], [ 'name' => 'PrincipalType', 'in' => 'formData', 'schema' => ['title' => 'RAM实体类型', 'description' => 'RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'required' => true, 'example' => 'RamUser'], ], [ 'name' => 'PrincipalId', 'in' => 'formData', 'schema' => ['title' => 'RAM实体ID', 'description' => 'RAM实体ID。'."\n" ."\n" .'获取RAM用户ID的方法,请参见[GetUser](~~28681~~)。'."\n" ."\n" .'获取RAM角色ID的方法,请参见[GetRole](~~28711~~)。', 'type' => 'string', 'required' => false, 'example' => '24477111603637****'], ], [ 'name' => 'PrincipalPattern', 'in' => 'formData', 'schema' => ['type' => 'string', 'example' => 'user/userName'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '创建产品组合授权', 'summary' => '将产品组合授权给账号内的RAM用户或者RAM角色。', 'changeSet' => [ ['createdAt' => '2022-05-30T02:23:56.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociatePrincipalWithPortfolio'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:AssociatePrincipalWithPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', ], 'AssociateProductWithPortfolio' => [ 'summary' => '将产品加入产品组合。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ProductId', 'in' => 'formData', 'schema' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], [ 'name' => 'PortfolioId', 'in' => 'formData', 'schema' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'required' => true, 'example' => 'port-bp1yt7582g****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '将产品加入产品组合', 'changeSet' => [ ['createdAt' => '2022-05-30T02:23:57.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateProductWithPortfolio'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:AssociateProductWithPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', ], 'AssociateTagOptionWithResource' => [ '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' => '标签选项绑定的资源ID。', 'type' => 'string', 'required' => true, 'example' => 'port-bp15p96922****'], ], [ 'name' => 'TagOptionId', 'in' => 'formData', 'schema' => ['description' => '标签选项ID。', 'type' => 'string', 'required' => true, 'example' => 'tag-bp1u6mdf3d****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DC833558-AFF4-5935-9AB6-8A12EE7D****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '将标签选项关联到资源', 'summary' => '将标签选项关联到资源。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateTagOptionWithResource'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:AssociateTagOptionWithResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC833558-AFF4-5935-9AB6-8A12EE7D****\\"\\n}","type":"json"}]', ], 'CancelProvisionedProductPlan' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'formData', 'schema' => ['title' => '计划ID', 'description' => '计划ID。', 'type' => 'string', 'required' => true, 'example' => 'plan-bp1jvmdk2k****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '取消计划', 'summary' => '取消计划。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelProvisionedProductPlan'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:CancelProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', ], 'CopyProduct' => [ 'summary' => '复制产品。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'SourceProductArn', 'in' => 'formData', 'schema' => ['title' => '', 'description' => '源产品ARN。'."\n" .'>被复制产品ARN可来自本账号下的产品,也可来自其他账号通过产品组合共享的产品。>', 'type' => 'string', 'required' => true, 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****'."\n"], ], [ 'name' => 'TargetProductName', 'in' => 'formData', 'schema' => ['description' => '目标产品名称。', 'type' => 'string', 'required' => false, 'example' => 'DEMO-ECS'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '复制产品', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CopyProduct'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CopyProduct', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#productId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F****\\"\\n}","type":"json"}]', ], 'CreateConstraint' => [ 'summary' => '创建约束。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ConstraintType', 'in' => 'formData', 'schema' => ['title' => '约束类型', 'description' => '约束类型。'."\n" ."\n" .'取值为Launch,表示启动约束。', 'type' => 'string', 'required' => true, 'example' => 'Launch'], ], [ 'name' => 'Config', 'in' => 'formData', 'schema' => ['title' => '约束配置', 'description' => '约束配置。'."\n" ."\n" .'格式:{ "LocalRoleName": "" }', 'type' => 'string', 'required' => true, 'example' => '{ "LocalRoleName": "TestRole" }'], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['title' => '约束描述', 'description' => '约束描述。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => 'Launch as local role TestRole'], ], [ 'name' => 'PortfolioId', 'in' => 'formData', 'schema' => ['title' => '约束所属的产品组合ID', 'description' => '约束所属的产品组合ID。', 'type' => 'string', 'required' => true, 'example' => 'port-bp1yt7582g****'], ], [ 'name' => 'ProductId', 'in' => 'formData', 'schema' => ['title' => '约束对应的产品ID', 'description' => '约束对应的产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ConstraintId' => ['title' => '约束ID', 'description' => '约束ID。', 'type' => 'string', 'example' => 'cons-bp1yx7x42v****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '创建约束', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConstraint'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CreateConstraint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], 'additionalActions' => [ ['action' => 'ram:PassRole', 'validationType' => 'always'], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ConstraintId\\": \\"cons-bp1yx7x42v****\\"\\n}","type":"json"}]', ], 'CreatePortfolio' => [ 'summary' => '创建产品组合。', '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' => '产品组合名称。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'DEMO-IT Service', 'maxLength' => 100, 'minLength' => 1], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['title' => '产品组合描述', 'description' => '产品组合描述。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is a portfolio description.'], ], [ 'name' => 'ProviderName', 'in' => 'formData', 'schema' => ['title' => '提供者名称', 'description' => '产品组合提供者。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => 'IT team', 'maxLength' => 100, 'minLength' => 1], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'PortfolioId' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'example' => 'port-bp1yt7582g****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\"\\n}","type":"json"}]', 'title' => '创建产品组合', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePortfolio'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CreatePortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/*'], ], ], ], ], ], 'CreateProduct' => [ 'summary' => '创建产品。', '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' => '产品名称。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => 'DEMO-Create ECS', 'maxLength' => 100, 'minLength' => 1], ], [ 'name' => 'ProductType', 'in' => 'formData', 'schema' => ['title' => '产品类型', 'description' => '产品类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'type' => 'string', 'required' => true, 'example' => 'Ros'], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['title' => '产品描述', 'description' => '产品描述。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is a product description.'], ], [ 'name' => 'ProviderName', 'in' => 'formData', 'schema' => ['title' => '提供者名称', 'description' => '产品提供者。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => 'IT team', 'maxLength' => 100, 'minLength' => 1], ], [ 'name' => 'ProductVersionParameters', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '产品版本相关的参数', 'description' => '产品版本信息。', 'type' => 'object', 'properties' => [ 'ProductVersionName' => ['title' => '产品版本名称', 'description' => '产品版本名称。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => '1.0', 'maxLength' => 100, 'minLength' => 1], 'TemplateType' => ['title' => '模板类型', 'description' => '模板类型。'."\n" ."\n" .'取值为RosTerraformTemplate,表示阿里云资源编排服务(ROS)支持的Terraform模板。', 'type' => 'string', 'required' => false, 'example' => 'RosTerraformTemplate'], 'TemplateUrl' => ['title' => '模板的URL地址', 'description' => '模板的URL地址。'."\n" ."\n" .'获取模板URL地址的方法,请参见[CreateTemplate](~~CreateTemplate~~)。', 'type' => 'string', 'required' => false, 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json'], 'Description' => ['title' => '产品版本描述', 'description' => '产品版本描述。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is a product version description.'], 'Guidance' => ['title' => '推荐信息', 'description' => '推荐信息。取值:'."\n" ."\n" .'- Default(默认值):无。'."\n" .'- Recommended:稳定版。'."\n" .'- Latest:最新版。'."\n" .'- Deprecated:将废弃。', 'type' => 'string', 'required' => false, 'example' => 'Default'], 'Active' => ['title' => '是否启用', 'description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], 'required' => false, ], ], [ 'name' => 'TemplateType', 'in' => 'formData', 'schema' => ['description' => '产品模板类型。取值:'."\n" ."\n" .'- RosTerraformTemplate:表示阿里云资源编排服务(ROS)支持的Terraform模板。'."\n" .'- RosStandardTemplate:表示阿里云资源编排服务(ROS)标准模板。', 'type' => 'string', 'required' => false, 'example' => 'RosTerraformTemplate'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProductId' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ProductVersionId' => ['description' => '产品版本ID。', 'type' => 'string', 'example' => 'pv-bp15e79d26****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\"\\n}","type":"json"}]', 'title' => '创建产品', 'description' => '调用该接口前,请先调用[CreateTemplate](~~CreateTemplate~~)创建模板。', 'changeSet' => [ ['createdAt' => '2024-02-27T10:57:48.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2023-12-26T03:37:34.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2022-12-02T01:51:02.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CreateProduct', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/*'], ], ], ], ], ], 'CreateProductVersion' => [ 'summary' => '创建产品版本。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ProductVersionName', 'in' => 'formData', 'schema' => ['title' => '产品版本名称', 'description' => '产品版本名称。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => '1.0', 'maxLength' => 100, 'minLength' => 1], ], [ 'name' => 'TemplateType', 'in' => 'formData', 'schema' => ['title' => '模板类型', 'description' => '产品模板类型。取值:'."\n" ."\n" .'- RosTerraformTemplate:表示阿里云资源编排服务(ROS)支持的Terraform模板。'."\n" .'- RosStandardTemplate:表示阿里云资源编排服务(ROS)标准模板。', 'type' => 'string', 'required' => true, 'example' => 'RosTerraformTemplate'], ], [ 'name' => 'TemplateUrl', 'in' => 'formData', 'schema' => ['title' => '模板的OSS地址', 'description' => '模板的URL地址。'."\n" ."\n" .'获取模板URL地址的方法,请参见[CreateTemplate](~~CreateTemplate~~)。', 'type' => 'string', 'required' => true, 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json'], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['title' => '产品版本描述', 'description' => '产品版本描述。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is a product version description.'], ], [ 'name' => 'Guidance', 'in' => 'formData', 'schema' => ['title' => '推荐信息', 'description' => '推荐信息。取值:'."\n" ."\n" .'- Default(默认值):无。'."\n" .'- Recommended:稳定版。'."\n" .'- Latest:最新版。'."\n" .'- Deprecated:将废弃。', 'type' => 'string', 'required' => false, 'example' => 'Default'], ], [ 'name' => 'Active', 'in' => 'formData', 'schema' => ['title' => '是否启用', 'description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ProductId', 'in' => 'formData', 'schema' => ['title' => '产品版本所属的产品ID', 'description' => '产品版本所属的产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProductVersionId' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'example' => 'pv-bp15e79d26****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\"\\n}","type":"json"}]', 'title' => '创建产品版本', 'description' => '调用该接口前,请先调用[CreateTemplate](~~CreateTemplate~~)创建模板。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CreateProductVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], ], 'CreateProvisionedProductPlan' => [ 'summary' => '创建计划。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'PlanName', 'in' => 'formData', 'schema' => ['title' => '计划名称。'."\n" ."\n" .'长度为1~128个字符。', 'description' => '计划名称。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => 'DEMO-ECS-Instance', 'maxLength' => 100, 'minLength' => 1], ], [ 'name' => 'PlanType', 'in' => 'formData', 'schema' => ['title' => '计划类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'description' => '计划类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'type' => 'string', 'required' => true, 'example' => 'Ros'], ], [ 'name' => 'ProvisionedProductName', 'in' => 'formData', 'schema' => ['title' => '实例名称。'."\n" ."\n" .'长度为1~128个字符。', 'description' => '实例名称。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => 'DEMO-ECS-Instance', 'maxLength' => 100, 'minLength' => 1], ], [ 'name' => 'PortfolioId', 'in' => 'formData', 'schema' => ['title' => '产品组合ID。', 'description' => '产品组合ID。'."\n" ."\n" .'> 存在默认启动选项时,无需填写PortfolioId。没有默认启动选项时,必须填写PortfolioId。获取PortfolioId的方法,请参见[ListLaunchOptions](~~ListLaunchOptions~~)。', 'type' => 'string', 'required' => false, 'example' => 'port-bp1yt7582g****'], ], [ 'name' => 'ProductId', 'in' => 'formData', 'schema' => ['title' => 'ProductId', 'description' => '产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], [ 'name' => 'ProductVersionId', 'in' => 'formData', 'schema' => ['title' => '产品版本ID。'."\n" ."\n", 'description' => '产品版本ID。', 'type' => 'string', 'required' => true, 'example' => 'pv-bp15e79d26****'], ], [ 'name' => 'Parameters', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'title' => '用户输入的模板参数。'."\n" ."\n" .'N最大值为200。', 'description' => '用户输入的模板参数。'."\n" ."\n" .'N最大值为200。'."\n" ."\n" .'> Parameters为可选参数。如果需要指定Parameters,则Parameters.N.ParameterKey和Parameters.N.ParameterValue必须同时指定。'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ParameterKey' => ['title' => '模板中定义的参数名称。'."\n" ."\n", 'description' => '模板中定义的参数名称。', 'type' => 'string', 'required' => false, 'example' => 'instance_type'], 'ParameterValue' => ['title' => '用户输入的模板参数值。', 'description' => '用户输入的模板参数值。', 'type' => 'string', 'required' => false, 'example' => 'ecs.s6-c1m1.small'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 200, ], ], [ 'name' => 'StackRegionId', 'in' => 'formData', 'schema' => ['title' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。', 'description' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。'."\n" ."\n" .'获取ROS支持的地域列表的方法,请参见[DescribeRegions](~~131035~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'Tags', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'title' => '用户输入的自定义标签。'."\n" ."\n" .'N最大值为20。', 'description' => '用户输入的自定义标签。'."\n" ."\n" .'N最大值为20。'."\n" ."\n" .'> - Tags为可选参数。如果需要指定Tags,则Tags.N.Key和Tags.N.Value必须同时指定。'."\n" .'> - 此标签会传递到资源栈中每个支持标签的资源中。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => [ 'title' => '用户输入的自定义标签键。'."\n" ."\n" .'最多支持128个字符,不能以aliyun和acs:开头,不能包含http://或者https://。', 'description' => '用户输入的自定义标签键。'."\n" ."\n" .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'k1', ], 'Value' => ['title' => '用户输入的自定义标签值。'."\n" ."\n" .'最多支持128个字符,不能以acs:开头,不能包含http://或者https://。', 'description' => '用户输入的自定义标签值。'."\n" ."\n" .'最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'v1'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 20, ], ], [ 'name' => 'OperationType', 'in' => 'formData', 'schema' => ['title' => '计划操作类型,取值为All,TerminateProvisionedProduct,UpdateProvisionedProduct,LaunchProduct。', 'description' => '计划操作类型,取值:'."\n" .'- LaunchProduct(默认):启动产品。'."\n" .'- UpdateProvisionedProduct:更新实例。'."\n" .'- TerminateProvisionedProduct:终止实例。', 'type' => 'string', 'required' => false, 'example' => 'LaunchProduct'], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['title' => '计划描述', 'description' => '计划描述。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => 'Create ECS'], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'PlanId' => ['title' => '计划ID。', 'description' => '计划ID。', 'type' => 'string', 'example' => 'plan-bp1jvmdk2k****'], 'ProvisionedProductId' => ['title' => '实例ID。', 'description' => '实例ID。', 'type' => 'string', 'example' => 'pp-bp1ddg1n2a****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"PlanId\\": \\"plan-bp1jvmdk2k****\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\"\\n}","type":"json"}]', 'title' => '创建计划', 'changeSet' => [ ['createdAt' => '2022-11-16T08:01:20.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2022-06-30T06:39:12.000Z', 'description' => '响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProvisionedProductPlan'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CreateProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'CreateTagOption' => [ 'summary' => '创建标签选项。', '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' => '用户输入的标签选项键。'."\n" ."\n" .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => true, 'example' => 'k1', 'maxLength' => 128, 'minLength' => 1], ], [ 'name' => 'Value', 'in' => 'formData', 'schema' => ['description' => '用户输入的标签选项值。'."\n" ."\n" .'最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => true, 'example' => 'v1', 'maxLength' => 128, 'minLength' => 1], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'TagOptionDetail' => [ 'description' => '标签选项详情。', 'type' => 'object', 'properties' => [ 'Active' => ['description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'], 'TagOptionId' => ['description' => '标签选项ID。', 'type' => 'string', 'example' => 'tag-bp1r3mxq3t****'], 'Key' => ['description' => '用户输入的标签选项键。'."\n" ."\n" .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'example' => 'k1'], 'Value' => ['description' => '用户输入的标签选项值。'."\n" ."\n" .'最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'example' => 'v1'], 'Owner' => ['description' => '标签选项归属人云账号ID。', 'type' => 'string', 'example' => '133413081827****'."\n"], ], ], 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A48A5F12-6098-54A1-A389-6834AF27****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '创建标签选项', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTagOption'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:CreateTagOption', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'CreateTemplate' => [ 'summary' => '创建模板。服务目录会保存用户上传的模板,并返回模板的URL地址。', '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' => '模板内容。'."\n" ."\n" .'关于模板语法的详情,请参见[Terraform类型模板结构](~~184397~~)。', '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' => '产品模板类型。取值:'."\n" ."\n" .'- RosTerraformTemplate:表示阿里云资源编排服务(ROS)支持的Terraform模板。'."\n" .'- RosStandardTemplate:表示阿里云资源编排服务(ROS)标准模板。', 'type' => 'string', 'required' => true, 'example' => 'RosTerraformTemplate'], ], [ 'name' => 'TerraformVariables', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'description' => 'Terraform模板变量设置,以结构化的方式表示,服务目录会将变量设置应用到模板中。'."\n" ."\n" .'> 变量必须在Terraform模板中存在。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'VariableName' => ['description' => '变量名称。', 'type' => 'string', 'required' => false, 'example' => 'instance_type'], 'Description' => ['description' => '变量描述。'."\n" ."\n" .'关于变量描述的格式,请参见[Terraform代码开发方式和建议](~~322216~~)。', 'type' => 'string', 'required' => false, 'example' => '{'."\n" .' "Label": { "zh-cn": "实例规格", "en": "Instance Type" },'."\n" .' "AllowedValues": ['."\n" .' "ecs.s6-c1m1.small",'."\n" .' "ecs.s6-c1m2.large",'."\n" .' "ecs.s6-c1m2.xlarge"'."\n" .' ]'."\n" .'}'."\n"], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'TemplateUrl' => ['title' => '模板的OSS地址', 'description' => '模板的URL地址。', 'type' => 'string', 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '创建模板', 'changeSet' => [ ['createdAt' => '2022-12-22T02:59:38.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTemplate'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CreateTemplate', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'DeleteConstraint' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ConstraintId', 'in' => 'formData', 'schema' => ['title' => '约束ID', 'description' => '约束ID。', 'type' => 'string', 'required' => true, 'example' => 'cons-bp1yx7x42v****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '删除约束', 'summary' => '删除约束。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DeleteConstraint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', ], 'DeletePortfolio' => [ 'summary' => '删除产品组合。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'PortfolioId', 'in' => 'formData', 'schema' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'required' => true, 'example' => 'port-bp1yt7582g****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '删除产品组合', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePortfolio'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DeletePortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', ], 'DeleteProduct' => [ 'summary' => '删除产品。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProductId', 'in' => 'formData', 'schema' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '删除产品', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DeleteProduct', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', ], 'DeleteProductVersion' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProductVersionId', 'in' => 'formData', 'schema' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'required' => true, 'example' => 'pv-bp15e79d26****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '删除产品版本', 'summary' => '删除产品版本。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DeleteProductVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', ], 'DeleteProvisionedProductPlan' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'formData', 'schema' => ['description' => '计划ID。', 'type' => 'string', 'required' => true, 'example' => 'plan-bp1jvmdk2k****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '删除计划', 'summary' => '删除计划。', 'changeSet' => [ ['createdAt' => '2022-11-14T02:23:42.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2022-07-12T11:57:27.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProvisionedProductPlan'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DeleteProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', ], 'DeleteTagOption' => [ 'summary' => '删除标签选项。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TagOptionId', 'in' => 'formData', 'schema' => ['title' => 'A short description of struct', 'description' => '标签选项ID。', 'type' => 'string', 'required' => true, 'example' => 'tag-bp1u6mdf3d****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '删除标签选项', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTagOption'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:DeleteTagOption', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F****\\"\\n}","type":"json"}]', ], 'DisAssociateTagOptionFromResource' => [ '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' => '标签选项绑定的资源ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp14katy3d****'], ], [ 'name' => 'TagOptionId', 'in' => 'formData', 'schema' => ['description' => '标签选项ID。', 'type' => 'string', 'required' => true, 'example' => 'tag-bp1u6mdf3d****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '7E23D1F3-4333-587B-909C-39EA4626****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '取消标签选项与资源的关联', 'summary' => '取消标签选项与资源的关联。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisAssociateTagOptionFromResource'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:DisAssociateTagOptionFromResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#portfolioId}'], ['validationType' => 'conditional', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#productId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E23D1F3-4333-587B-909C-39EA4626****\\"\\n}","type":"json"}]', ], 'DisassociatePrincipalFromPortfolio' => [ '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' => '产品组合ID。', 'type' => 'string', 'required' => true, 'example' => 'port-bp1yt7582g****'], ], [ 'name' => 'PrincipalType', 'in' => 'formData', 'schema' => ['title' => 'RAM实体类型', 'description' => 'RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'required' => true, 'example' => 'RamUser'], ], [ 'name' => 'PrincipalId', 'in' => 'formData', 'schema' => ['title' => 'RAM实体ID', 'description' => 'RAM实体ID。'."\n" ."\n" .'获取RAM用户ID的方法,请参见[GetUser](~~28681~~)。'."\n" ."\n" .'获取RAM角色ID的方法,请参见[GetRole](~~28711~~)。', 'type' => 'string', 'required' => false, 'example' => '24477111603637****'], ], [ 'name' => 'PrincipalPattern', 'in' => 'formData', 'schema' => ['type' => 'string', 'example' => 'user/userName'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '删除产品组合授权', 'summary' => '删除产品组合授权。', 'changeSet' => [ ['createdAt' => '2022-05-30T02:23:56.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DisassociatePrincipalFromPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', ], 'DisassociateProductFromPortfolio' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProductId', 'in' => 'formData', 'schema' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], [ 'name' => 'PortfolioId', 'in' => 'formData', 'schema' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'required' => true, 'example' => 'port-bp1yt7582g****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '从产品组合中移除产品', 'summary' => '从产品组合中移除产品。', 'changeSet' => [ ['createdAt' => '2022-05-30T02:23:57.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DisassociateProductFromPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', ], 'ExecuteProvisionedProductPlan' => [ 'summary' => '执行计划。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'formData', 'schema' => ['title' => '计划ID', 'description' => '计划ID。', 'type' => 'string', 'required' => true, 'example' => 'plan-bp1jvmdk2k****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'PlanId' => ['title' => '计划ID', 'description' => '计划ID。', 'type' => 'string', 'example' => 'plan-bp1jvmdk2k****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '执行计划', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteProvisionedProductPlan'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:ExecuteProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"PlanId\\": \\"plan-bp1jvmdk2k****\\"\\n}","type":"json"}]', ], 'GetConstraint' => [ 'summary' => '查询约束信息。', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ConstraintId', 'in' => 'query', 'schema' => ['title' => '约束ID', 'description' => '约束ID。', 'type' => 'string', 'required' => true, 'example' => 'cons-bp1yx7x42v****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ConstraintDetail' => [ 'title' => '约束详情', 'description' => '约束详情。', 'type' => 'object', 'properties' => [ 'Config' => ['title' => '约束配置', 'description' => '约束配置。'."\n" ."\n" .'格式:{ "LocalRoleName": "" }', 'type' => 'string', 'example' => '{ "LocalRoleName": "TestRole" }'], 'Description' => ['title' => '描述', 'description' => '约束描述。', 'type' => 'string', 'example' => 'Launch as local role TestRole'], 'CreateTime' => ['title' => '创建时间', 'description' => '约束创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-04-12T06:11:26Z'], 'ConstraintId' => ['title' => '约束ID', 'description' => '约束ID。', 'type' => 'string', 'example' => 'cons-bp1yx7x42v****'], 'PortfolioId' => ['title' => '约束所属的产品组合ID', 'description' => '约束所属的产品组合ID。', 'type' => 'string', 'example' => 'port-bp1yt7582g****'], 'ProductId' => ['title' => '约束的产品ID', 'description' => '约束对应的产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ConstraintType' => ['title' => '约束类型', 'description' => '约束类型。'."\n" ."\n" .'取值为Launch,表示启动约束。', 'type' => 'string', 'example' => 'Launch'], 'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => 'DEMO-Create ECS'], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], '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-Create ECS\\"\\n }\\n}","type":"json"}]', 'title' => '查询约束信息', 'changeSet' => [ ['createdAt' => '2022-05-27T07:47:14.000Z', 'description' => '响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetConstraint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], ], ], 'GetPortfolio' => [ 'summary' => '查询产品组合信息。', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'PortfolioId', 'in' => 'query', 'schema' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'required' => true, 'example' => 'port-bp1yt7582g****'], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'PortfolioDetail' => [ 'title' => '产品组合详情', 'description' => '产品组合详情。', 'type' => 'object', 'properties' => [ 'PortfolioArn' => ['title' => '产品组合ARN', 'description' => '产品组合ARN。', 'type' => 'string', 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:portfolio/port-bp1yt7582g****'], 'PortfolioId' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'example' => 'port-bp1yt7582g****'], 'Description' => ['title' => '产品组合描述', 'description' => '产品组合描述。', 'type' => 'string', 'example' => 'This is a portfolio description.'], 'CreateTime' => ['title' => '产品组合创建时间', 'description' => '产品组合创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-04-12T06:11:12Z'], 'PortfolioName' => ['title' => '产品组合名称', 'description' => '产品组合名称。', 'type' => 'string', 'example' => 'DEMO-IT Service'], 'ProviderName' => ['title' => '提供者名称', 'description' => '产品组合提供者。', 'type' => 'string', 'example' => 'IT team'], ], ], 'TagOptions' => [ 'description' => '产品组合关联的标签选项列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Active' => ['description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'], 'TagOptionId' => ['description' => '标签选项ID。', 'type' => 'string', 'example' => 'tag-bp1q65xd3j****'], 'Key' => ['description' => '标签选项键。', 'type' => 'string', 'example' => 'k1'], 'Value' => ['description' => '标签选项值。', 'type' => 'string', 'example' => 'v1'], 'Owner' => ['description' => '标签选项归属人ID。', 'type' => 'string', 'example' => '133413081827****'."\n"], ], 'description' => '', ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], '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\\": \\"This is a portfolio description.\\",\\n \\"CreateTime\\": \\"2022-04-12T06:11:12Z\\",\\n \\"PortfolioName\\": \\"DEMO-IT Service\\",\\n \\"ProviderName\\": \\"IT team\\"\\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' => '查询产品组合信息', 'changeSet' => [ ['createdAt' => '2023-03-24T03:04:13.000Z', 'description' => '响应参数发生变更、响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], ], ], 'GetProductAsAdmin' => [ 'summary' => '管理员调用GetProductAsAdmin接口查询产品信息。', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProductId', 'in' => 'query', 'schema' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProductDetail' => [ 'title' => '产品详情', 'description' => '产品详情。', 'type' => 'object', 'properties' => [ 'ProductArn' => ['title' => '产品ARN', 'description' => '产品ARN。', 'type' => 'string', 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****'], 'Description' => ['title' => '产品描述', 'description' => '产品描述。', 'type' => 'string', 'example' => 'This is a product description.'], 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-04-12T06:10:37Z'], 'ProductId' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ProductName' => ['title' => '产品名称', 'description' => '产品名称。', 'type' => 'string', 'example' => 'DEMO-Create ECS'], 'ProviderName' => ['title' => '提供者名称', 'description' => '产品提供者。', 'type' => 'string', 'example' => 'IT team'], 'ProductType' => ['title' => '产品类型', 'description' => '产品类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'type' => 'string', 'example' => 'Ros'], 'TemplateType' => ['title' => '产品模板类型', 'description' => '产品模板类型。取值:'."\n" ."\n" .'- RosTerraformTemplate:表示阿里云资源编排服务(ROS)支持的Terraform模板。'."\n" .'- RosStandardTemplate:表示阿里云资源编排服务(ROS)标准模板。', 'type' => 'string', 'example' => 'RosTerraformTemplate'], ], ], 'TagOptions' => [ 'description' => '产品关联的标签选项列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Active' => ['description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'], 'TagOptionId' => ['description' => '标签选项ID。', 'type' => 'string', 'example' => 'tag-bp1q65xd3j****'], 'Key' => ['description' => '标签选项键。', 'type' => 'string', 'example' => 'k1'], 'Value' => ['description' => '标签选项值。', 'type' => 'string', 'example' => 'v1'], 'Owner' => ['description' => '标签选项归属人ID。', 'type' => 'string', 'example' => '133413081827****'."\n"], ], 'description' => '', ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductDetail\\": {\\n \\"ProductArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****\\",\\n \\"Description\\": \\"This is a product description.\\",\\n \\"CreateTime\\": \\"2022-04-12T06:10:37Z\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-Create ECS\\",\\n \\"ProviderName\\": \\"IT team\\",\\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' => '管理员查询产品信息', 'changeSet' => [ ['createdAt' => '2024-02-27T10:57:48.000Z', 'description' => '响应参数发生变更、响应参数发生变更'], ['createdAt' => '2023-03-24T03:04:13.000Z', 'description' => '响应参数发生变更、响应参数发生变更'], ['createdAt' => '2022-05-30T02:23:56.000Z', 'description' => '错误码发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProductAsAdmin', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], ], 'GetProductAsEndUser' => [ 'summary' => '终端用户调用GetProductAsEndUser接口查询产品信息。', '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' => '产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProductSummary' => [ 'title' => '产品详情', 'description' => '产品概要信息。', 'type' => 'object', 'properties' => [ 'Description' => ['title' => '产品描述', 'description' => '产品描述。', 'type' => 'string', 'example' => 'This is a product description.'], 'CreateTime' => ['title' => '创建时间', 'description' => '产品创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-04-12T06:10:37Z'], 'ProductId' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ProductArn' => ['title' => '产品ARN', 'description' => '产品ARN。', 'type' => 'string', 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****'], 'ProductName' => ['title' => '产品名称', 'description' => '产品名称。', 'type' => 'string', 'example' => 'DEMO-Create ECS'], 'ProviderName' => ['title' => '提供者名称', 'description' => '产品提供者。', 'type' => 'string', 'example' => 'IT team'], 'ProductType' => ['title' => '产品类型', 'description' => '产品类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'type' => 'string', 'example' => 'Ros'], 'HasDefaultLaunchOption' => ['description' => '是否存在默认启动选项。取值:'."\n" ."\n" .'- true:存在默认启动选项,启动产品或更新实例时无需填写PortfolioId。'."\n" .'- false:没有默认启动选项,启动产品或更新实例时必须填写PortfolioId。获取PortfolioId的方法,请参见[ListLaunchOptions](~~ListLaunchOptions~~)。'."\n" ."\n" .'> 如果产品仅被加入到一个产品组合,则会存在默认启动选项。如果产品被加入到多个产品组合,则会同时存在多个启动选项,但此时没有默认启动选项。', 'type' => 'boolean', 'example' => 'true'], 'TemplateType' => ['description' => '产品模板类型。取值:'."\n" ."\n" .'- RosTerraformTemplate:表示阿里云资源编排服务(ROS)支持的Terraform模板。'."\n" .'- RosStandardTemplate:表示阿里云资源编排服务(ROS)标准模板。', 'type' => 'string', 'example' => 'RosTerraformTemplate'], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductSummary\\": {\\n \\"Description\\": \\"This is a product 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-Create ECS\\",\\n \\"ProviderName\\": \\"IT team\\",\\n \\"ProductType\\": \\"Ros\\",\\n \\"HasDefaultLaunchOption\\": true,\\n \\"TemplateType\\": \\"RosTerraformTemplate\\"\\n }\\n}","type":"json"}]', 'title' => '终端用户查询产品信息', 'description' => '请确保终端用户已被管理员授予相关产品的使用权限。具体操作,请参见[为终端用户授予访问权限](~~405233~~)。', 'changeSet' => [ ['createdAt' => '2024-02-27T10:57:47.000Z', 'description' => '响应参数发生变更'], ['createdAt' => '2022-05-30T02:23:56.000Z', 'description' => '错误码发生变更'], ['createdAt' => '2022-02-21T06:49:09.000Z', 'description' => '响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProductAsEndUser', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], ], 'GetProductVersion' => [ 'summary' => '查询产品版本信息。', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProductVersionId', 'in' => 'query', 'schema' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'required' => true, 'example' => 'pv-bp15e79d26****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'ProductVersionDetail' => [ 'title' => '产品版本详情', 'description' => '产品版本详情。', 'type' => 'object', 'properties' => [ 'Active' => [ 'title' => '是否启用', 'description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'enumValueTitles' => [], 'example' => 'true', ], 'Description' => ['title' => '产品版本描述', 'description' => '产品版本描述。', 'type' => 'string', 'example' => 'This is a product version description.'], 'CreateTime' => ['title' => '创建时间', 'description' => '产品版本创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-04-12T06:10:37Z'], 'Guidance' => ['title' => '推荐信息', 'description' => '推荐信息。取值:'."\n" ."\n" .'- Default(默认值):无。'."\n" .'- Recommended:稳定版。'."\n" .'- Latest:最新版。'."\n" .'- Deprecated:将废弃。', 'type' => 'string', 'example' => 'Default'], 'ProductVersionId' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'example' => 'pv-bp15e79d26****'], 'ProductVersionName' => ['title' => '产品版本名称', 'description' => '产品版本名称。', 'type' => 'string', 'example' => '1.0'], 'ProductId' => ['title' => '产品版本所属的产品ID', 'description' => '产品版本所属的产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'TemplateUrl' => ['title' => '模板的OSS地址', 'description' => '模板的URL地址。', 'type' => 'string', 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json'], 'TemplateType' => ['title' => '模板类型', 'description' => '产品模板类型。取值:'."\n" ."\n" .'- RosTerraformTemplate:表示阿里云资源编排服务(ROS)支持的Terraform模板。'."\n" .'- RosStandardTemplate:表示阿里云资源编排服务(ROS)标准模板。', 'type' => 'string', 'example' => 'RosTerraformTemplate'], ], ], 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProductVersionDetail\\": {\\n \\"Active\\": true,\\n \\"Description\\": \\"This is a product version 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' => '查询产品版本信息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProductVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], ], 'GetProvisionedProduct' => [ 'summary' => '查询实例信息。', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProvisionedProductId', 'in' => 'query', 'schema' => ['title' => '实例ID', 'description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pp-bp1ddg1n2a****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProvisionedProductDetail' => [ 'title' => '实例信息', 'description' => '实例详情。', 'type' => 'object', 'properties' => [ 'ProvisionedProductId' => ['title' => '实例ID', 'description' => '实例ID。', 'type' => 'string', 'example' => 'pp-bp1ddg1n2a****'], 'ProvisionedProductArn' => ['title' => '实例ARN', 'description' => '实例ARN。', 'type' => 'string', 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:provisionedproduct/pp-bp1ddg1n2a****'], 'ProvisionedProductName' => ['title' => '实例名称', 'description' => '实例名称。', 'type' => 'string', 'example' => 'DEMO-ECS-Instance'], 'ProductId' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ProductName' => ['title' => '产品名称', 'description' => '产品名称。', 'type' => 'string', 'example' => 'DEMO-Create ECS'], 'ProductVersionId' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'example' => 'pv-bp15e79d26****'], 'ProductVersionName' => ['title' => '产品版本名称', 'description' => '产品版本名称。', 'type' => 'string', 'example' => '1.0'], 'LastTaskId' => ['title' => '上一次执行的任务ID', 'description' => '上一次执行的任务ID。', 'type' => 'string', 'example' => 'task-bp1dmg242c****'], 'LastProvisioningTaskId' => ['title' => '上一次执行的实例操作任务ID', 'description' => '上一次执行的实例操作任务ID。'."\n" ."\n" .'实例操作包括:'."\n" ."\n" .'- LaunchProduct:启动产品。'."\n" .'- UpdateProvisionedProduct:更新实例。'."\n" .'- TerminateProvisionedProduct:终止实例。'."\n", 'type' => 'string', 'example' => 'task-bp1dmg242c****'], 'LastSuccessfulProvisioningTaskId' => ['title' => '上一次成功执行的实例操作任务ID', 'description' => '上一次成功执行的实例操作任务ID。'."\n" ."\n" .'实例操作包括:'."\n" ."\n" .'- LaunchProduct:启动产品。'."\n" .'- UpdateProvisionedProduct:更新实例。'."\n" .'- TerminateProvisionedProduct:终止实例。', 'type' => 'string', 'example' => 'task-bp1dmg242c****'], 'OwnerPrincipalType' => ['title' => '归属人的RAM实体类型', 'description' => '实例归属人的RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'example' => 'RamUser'], 'OwnerPrincipalId' => ['title' => '归属人的RAM实体ID', 'description' => '实例归属人的RAM实体ID。', 'type' => 'string', 'example' => '24477111603637****'], 'Status' => ['title' => '实例状态', 'description' => '实例状态。取值:'."\n" ."\n" .'- Available:可用。'."\n" .'- UnderChange:变更中。'."\n" .'- Error:异常。', 'type' => 'string', 'example' => 'Available'], 'StatusMessage' => ['title' => '实例状态说明', 'description' => '实例状态信息。'."\n" ."\n" .'> 仅在实例状态为Error时,返回该参数。', 'type' => 'string', 'example' => 'Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...'], 'CreateTime' => ['title' => '创建时间', 'description' => '实例创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-05-23T09:46:27Z'], 'PortfolioId' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'example' => 'port-bp1yt7582g****'], 'StackId' => ['title' => 'ROS资源栈的ID', 'description' => '阿里云资源编排服务(ROS)资源栈ID。', 'type' => 'string', 'example' => '137e31df-3754-40b4-be2f-c793ad84****'], 'StackRegionId' => ['title' => 'ROS资源栈所属的地域ID', 'description' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'ProvisionedProductType' => ['description' => '实例类型。'."\n" ."\n" .'取值为RosStack,表示阿里云资源编排服务(ROS)的资源栈。', 'type' => 'string', 'example' => 'RosStack'], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], '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-Instance\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-Create 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' => '查询实例信息', 'changeSet' => [ ['createdAt' => '2022-05-27T07:47:14.000Z', 'description' => '响应参数发生变更'], ['createdAt' => '2021-12-28T03:48:53.000Z', 'description' => '响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProvisionedProduct'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProvisionedProduct', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], ], ], 'GetProvisionedProductPlan' => [ 'summary' => '查询计划信息。', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'formData', 'schema' => ['description' => '计划ID。', 'type' => 'string', 'required' => true, 'example' => 'plan-bp1jvmdk2k****'], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'PlanDetail' => [ 'title' => '计划详情。'."\n" ."\n", 'description' => '计划详情。', 'type' => 'object', 'properties' => [ 'PlanId' => ['title' => '计划ID。', 'description' => '计划ID。', 'type' => 'string', 'example' => 'plan-bp1jvmdk2k****'], 'PlanName' => ['title' => '计划名称。'."\n" ."\n", 'description' => '计划名称。', 'type' => 'string', 'example' => 'DEMO-ECS-Instance'], 'PlanType' => ['title' => '计划类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'description' => '计划类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'type' => 'string', 'example' => 'Ros'], 'PortfolioId' => ['title' => '产品组合ID。'."\n" ."\n", 'description' => '产品组合ID。', 'type' => 'string', 'example' => 'port-bp1yt7582g****'], 'ProductId' => ['title' => '产品ID。'."\n" ."\n", 'description' => '产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ProductVersionId' => ['title' => '产品版本ID。'."\n" ."\n", 'description' => '产品版本ID。', 'type' => 'string', 'example' => 'pv-bp15e79d26****'], 'ProvisionedProductId' => ['title' => '实例ID。'."\n" ."\n", 'description' => '实例ID。', 'type' => 'string', 'example' => 'pp-bp1ddg1n2a****'], 'ProvisionedProductName' => ['title' => '实例名称。', 'description' => '实例名称。', 'type' => 'string', 'example' => 'DEMO-ECS-Instance'], 'Parameters' => [ 'title' => '用户输入的模板参数。'."\n" ."\n", 'description' => '用户输入的模板参数。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ParameterKey' => ['title' => '模板中定义的参数名称。'."\n" ."\n", 'description' => '模板中定义的参数名称。', 'type' => 'string', 'example' => 'instance_type'], 'ParameterValue' => ['title' => '用户输入的模板参数值。'."\n" ."\n", 'description' => '用户输入的模板参数值。', 'type' => 'string', 'example' => 'ecs.s6-c1m1.small'], ], 'description' => '', ], ], 'StackId' => ['title' => '阿里云资源编排服务(ROS)资源栈ID。'."\n" ."\n", 'description' => '阿里云资源编排服务(ROS)资源栈ID。', 'type' => 'string', 'example' => '137e31df-3754-40b4-be2f-c793ad84****'], 'StackRegionId' => ['title' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。'."\n" ."\n", 'description' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'Status' => ['title' => '计划状态。', 'description' => '计划状态。取值:'."\n" .'- PreviewInProgress:预检中。'."\n" .'- PreviewSuccess:预检成功。'."\n" .'- PreviewFailed:预检失败。'."\n" .'- ApplicationInProgress:审批中。'."\n" .'- ApplicationApproved:审批通过。'."\n" .'- ApplicationRejected:审批被拒绝。'."\n" .'- ExecuteInProgress:执行中。'."\n" .'- ExecuteSuccess:执行成功。'."\n" .'- ExecuteFailed:执行失败。'."\n" .'- Canceled:已取消。', 'type' => 'string', 'example' => 'PreviewSuccess'], 'StatusMessage' => ['title' => '计划状态信息。', 'description' => '计划状态信息。'."\n" ."\n" .'> 仅在计划状态为PreviewFailed或ExecuteFailed时,返回该参数。', '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' => '计划创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-05-23T09:46:27Z'], 'UpdateTime' => ['title' => '计划最后更新时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'description' => '计划最后更新时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-05-23T09:47:29Z'], 'Tags' => [ 'title' => '用户自定义标签列表。'."\n" ."\n", 'description' => '用户自定义标签列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['title' => '用户自定义标签键。'."\n" ."\n", 'description' => '用户自定义标签键。', 'type' => 'string', 'example' => 'k1'], 'Value' => ['title' => '用户自定义标签值。'."\n" ."\n", 'description' => '用户自定义标签值。', 'type' => 'string', 'example' => 'v1'], ], 'description' => '', ], ], 'OperationType' => ['title' => '计划操作类型,取值为All,TerminateProvisionedProduct,UpdateProvisionedProduct,LaunchProduct。', 'description' => '计划操作类型。取值:'."\n" ."\n" .'- LaunchProduct:启动产品。'."\n" .'- UpdateProvisionedProduct:更新实例。'."\n" .'- TerminateProvisionedProduct:终止实例。', 'type' => 'string', 'example' => 'LaunchProduct'], 'Description' => ['title' => '计划描述。', 'description' => '计划描述。', 'type' => 'string', 'example' => 'Create ECS'], 'AssignedApprovers' => [ 'title' => '计划审批人列表。', 'description' => '计划审批人列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'PrincipalType' => ['title' => '计划审批人的RAM实体类型。取值:'."\n" ."\n" .'RamUser:RAM用户。'."\n" .'RamRole:RAM角色。'."\n", 'description' => '计划审批人的RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'example' => 'RamUser'], 'PrincipalName' => ['title' => '计划归属人的RAM实体名称。'."\n", 'description' => '计划审批人的RAM实体名称。', 'type' => 'string', 'example' => 'approver'], ], 'description' => '', ], ], 'OwnerPrincipalType' => ['title' => '计划归属人的RAM实体类型。取值:'."\n" ."\n" .'RamUser:RAM用户。'."\n" .'RamRole:RAM角色。'."\n", 'description' => '计划归属人的RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'example' => 'RamUser'], 'OwnerPrincipalId' => ['title' => '计划归属人的RAM实体ID。'."\n" ."\n", 'description' => '计划归属人的RAM实体ID。'."\n" ."\n", 'type' => 'string', 'example' => '27740196382623****'], 'ApprovalDetail' => [ 'title' => '计划审批详情。', 'description' => '计划审批详情。', 'type' => 'object', 'properties' => [ 'OperationRecords' => [ 'title' => '用户操作记录。', 'description' => '操作记录。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Operator' => [ 'title' => '操作人。', 'description' => '已对计划进行操作的RAM实体。', 'type' => 'object', 'properties' => [ 'PrincipalType' => ['title' => '操作人的RAM实体类型。取值:'."\n" ."\n" .'RamUser:RAM用户。'."\n" .'RamRole:RAM角色。', 'description' => 'RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'example' => 'RamUser'], 'PrincipalId' => ['title' => '操作人的RAM实体ID。', 'description' => 'RAM实体ID。', 'type' => 'string', 'example' => '277401963826235***'."\n"], 'PrincipalName' => ['title' => '操作人的RAM实体名称。', 'description' => '操作人的RAM实体名称。', 'type' => 'string', 'example' => 'approver'], ], ], 'Comment' => ['title' => '操作人的审批附加意见。', 'description' => '操作人的审批附加意见。', 'type' => 'string', 'example' => 'Agree'], 'CreateTime' => ['title' => '操作时间。', 'description' => '操作时间。', 'type' => 'string', 'example' => '2022-03-22T05:56:14Z'], 'ApprovalAction' => ['title' => '操作人对计划进行的操作类型。取值:'."\n" ."\n" .'Submit:提交计划。'."\n" .'Cancel:取消计划。'."\n" .'Approve:审批通过。'."\n" .'Reject:审批拒绝。', 'description' => '操作人对计划进行的操作类型。取值:'."\n" ."\n" .'- Submit:提交计划。'."\n" .'- Cancel:取消计划。'."\n" .'- Approve:审批通过。'."\n" .'- Reject:审批拒绝。', 'type' => 'string', 'example' => 'Approve'], ], 'description' => '', ], ], 'TodoTaskActivities' => [ 'title' => '计划正在执行的操作。', 'description' => '计划正在执行的操作。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ActivityName' => ['title' => '计划正在执行的活动名。', 'description' => '计划正在执行的操作名。', 'type' => 'string', 'example' => 'ApproverNode-1'], 'Tasks' => [ 'title' => '委派任务列表。', 'description' => '委派任务列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Operator' => [ 'title' => '操作人。', 'description' => '可对计划进行操作的RAM实体。', 'type' => 'object', 'properties' => [ 'PrincipalType' => ['title' => '操作人的RAM实体类型。取值:'."\n" ."\n" .'RamUser:RAM用户。'."\n" .'RamRole:RAM角色。', 'description' => 'RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'example' => 'RamUser'], 'PrincipalName' => ['title' => '操作人的RAM实体名称。', 'description' => 'RAM实体名称。', 'type' => 'string', 'example' => 'approver'], ], ], ], 'description' => '', ], ], ], 'description' => '', ], ], ], ], 'OwnerPrincipalName' => ['title' => '计划归属人的RAM实体名称。', 'description' => '计划归属人的RAM实体名称。', 'type' => 'string', 'example' => 'endUser'], 'Uid' => ['title' => '计划归属人的云账号ID。', 'description' => '计划归属人的云账号ID。', 'type' => 'string', 'example' => '146611588617****'], ], ], 'ProductDetail' => [ 'title' => '计划产品详情。', 'description' => '计划产品详情。', 'type' => 'object', 'properties' => [ 'ProductArn' => ['title' => '产品ARN。'."\n" ."\n", 'description' => '产品ARN。'."\n" ."\n", 'type' => 'string', 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****'], 'Description' => ['title' => '产品描述。'."\n" ."\n", 'description' => '产品描述。'."\n" ."\n", 'type' => 'string', 'example' => 'This is a product description.'], 'CreateTime' => ['title' => '创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'description' => '创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-04-12T06:10:37Z'], 'ProductId' => ['title' => '产品ID。'."\n" ."\n", 'description' => '产品ID。'."\n" ."\n", 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ProductName' => ['title' => '产品名称。'."\n" ."\n", 'description' => '产品名称。'."\n" ."\n", 'type' => 'string', 'example' => 'DEMO-Create ECS'], 'ProviderName' => ['title' => '产品提供者。'."\n" ."\n", 'description' => '产品提供者。'."\n" ."\n", 'type' => 'string', 'example' => 'IT team'], 'ProductType' => ['title' => '产品类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'description' => '产品类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'type' => 'string', 'example' => 'Ros'], ], ], 'ResourceChanges' => [ 'title' => '计划资源变更列表。', 'description' => '计划资源变更列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LogicalResourceId' => ['title' => '资源逻辑ID。', 'description' => '资源逻辑ID。', 'type' => 'string', 'example' => 'instance'], 'PhysicalResourceId' => ['title' => '资源物理ID。'."\n" ."\n" .'当Action为Modify或Remove时,返回本参数。', 'description' => '资源物理ID。'."\n" ."\n" .'> 当Action为Modify或Remove时,返回本参数。', 'type' => 'string', 'example' => 'i-bp13lmam3qd9q6il****'], 'Replacement' => ['title' => '模板是否为替换更新。取值:'."\n" ."\n" .'True:替换更新。'."\n" .'False:修改更新。'."\n" .'Conditional:可能是替换更新,模板运行时才能确定。', 'description' => '模板是否为替换更新。取值:'."\n" ."\n" .'- True:替换更新。'."\n" .'- False:修改更新。'."\n" .'- Conditional:可能是替换更新,模板运行时才能确定。'."\n" .'> 当Action为Modify时,返回本参数。', 'type' => 'string', 'example' => 'True'], 'ResourceType' => ['title' => '资源类型。', 'description' => '资源类型。', 'type' => 'string', 'example' => 'alicloud_instance'."\n"], 'Action' => ['title' => '资源行为。取值:'."\n" ."\n" .'Add:增加资源。'."\n" .'Modify:修改资源。'."\n" .'Remove:删除资源。'."\n" .'None:无变化。', 'description' => '资源行为。取值:'."\n" ."\n" .'- Add:增加资源。'."\n" .'- Modify:修改资源。'."\n" .'- Remove:删除资源。'."\n" .'- None:无变化。', 'type' => 'string', 'example' => 'Add'], ], 'description' => '', ], ], 'ProductVersionDetail' => [ 'title' => '产品版本详情', 'description' => '产品版本详情。', 'type' => 'object', 'properties' => [ 'Active' => ['title' => '是否启用', 'description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'], 'Description' => ['title' => '产品版本描述', 'description' => '产品版本描述。', 'type' => 'string', 'example' => 'This is a product version description.'], 'CreateTime' => ['title' => '创建时间', 'description' => '产品版本创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-04-12T06:10:37Z'], 'Guidance' => ['title' => '推荐信息', 'description' => '推荐信息。取值:'."\n" ."\n" .'- Default(默认值):无。'."\n" .'- Recommended:稳定版。'."\n" .'- Latest:最新版。'."\n" .'- Deprecated:将废弃。', 'type' => 'string', 'example' => 'Default'], 'ProductVersionId' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'example' => 'pv-bp15e79d26****'], 'ProductVersionName' => ['title' => '产品版本名称', 'description' => '产品版本名称。', 'type' => 'string', 'example' => '1.0.0'], 'ProductId' => ['title' => '产品版本所属的产品ID', 'description' => '产品版本所属的产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'TemplateUrl' => ['title' => '模板的OSS地址', 'description' => '模板的URL地址。', 'type' => 'string', 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json'], 'TemplateType' => ['title' => '模板类型', 'description' => '模板类型。'."\n" ."\n" .'取值为RosTerraformTemplate,表示阿里云资源编排服务(ROS)支持的Terraform模板。', 'type' => 'string', 'example' => 'RosTerraformTemplate'], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"PlanDetail\\": {\\n \\"PlanId\\": \\"plan-bp1jvmdk2k****\\",\\n \\"PlanName\\": \\"DEMO-ECS-Instance\\",\\n \\"PlanType\\": \\"Ros\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\",\\n \\"ProvisionedProductName\\": \\"DEMO-ECS-Instance\\",\\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\\": \\"Create 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\\": \\"Agree\\",\\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\\": \\"This is a product description.\\",\\n \\"CreateTime\\": \\"2022-04-12T06:10:37Z\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-Create ECS\\",\\n \\"ProviderName\\": \\"IT team\\",\\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\\": \\"This is a product version 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' => '查询计划信息', 'changeSet' => [ ['createdAt' => '2022-11-16T08:01:19.000Z', 'description' => '响应参数发生变更'], ['createdAt' => '2022-11-14T02:23:42.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProvisionedProductPlan'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], ], ], 'GetTagOption' => [ 'summary' => '查询标签选项详情。', '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' => '标签选项ID。', 'type' => 'string', 'required' => true, 'example' => 'tag-bp1r3mxq3t****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'TagOptionDetail' => [ 'description' => '标签选项详情。', 'type' => 'object', 'properties' => [ 'Active' => ['description' => '是否启用。取值:'."\n" ."\n" .'- true:启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'], 'TagOptionId' => ['description' => '标签选项ID。', 'type' => 'string', 'example' => 'tag-bp15qmwz3r****'], 'Key' => ['description' => '标签选项键。', 'type' => 'string', 'example' => 'k1'], 'Value' => ['description' => '标签选项值。', 'type' => 'string', 'example' => 'v1'], 'Owner' => ['description' => '标签选项归属人云账号ID。', 'type' => 'string', 'example' => '133413081827****'], ], ], 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C1509725-055D-5C7B-9420-8B737DBD****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '查询标签选项信息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTagOption'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetTagOption', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetTask' => [ 'summary' => '查询任务信息。', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['title' => '任务ID', 'description' => '任务ID。', 'type' => 'string', 'required' => true, 'example' => 'task-bp1dmg242c****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'TaskDetail' => [ 'title' => '任务信息', 'description' => '任务详情。', 'type' => 'object', 'properties' => [ 'TaskId' => ['title' => '任务ID', 'description' => '任务ID。', 'type' => 'string', 'example' => 'task-bp1dmg242c****'], 'TaskType' => ['title' => '任务类型', 'description' => '任务类型。取值:'."\n" ."\n" .'- LaunchProduct:启动产品。'."\n" .'- UpdateProvisionedProduct:更新实例。'."\n" .'- TerminateProvisionedProduct:终止实例。', 'type' => 'string', 'example' => 'LaunchProduct'], 'PortfolioId' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'example' => 'port-bp1yt7582g****'], 'ProductId' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ProductName' => ['title' => '产品名称', 'description' => '产品名称。', 'type' => 'string', 'example' => 'DEMO-Create ECS'], 'ProductVersionId' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'example' => 'pv-bp15e79d26****'], 'ProductVersionName' => ['title' => '产品版本名称', 'description' => '产品版本名称。', 'type' => 'string', 'example' => '1.0'], 'ProvisionedProductId' => ['title' => '实例ID', 'description' => '实例ID。', 'type' => 'string', 'example' => 'pp-bp1ddg1n2a****'], 'ProvisionedProductName' => ['title' => '实例名称', 'description' => '实例名称。', 'type' => 'string', 'example' => 'DEMO-ECS-Instance'], 'Parameters' => [ 'description' => '用户输入的模板参数。', 'type' => 'array', 'items' => [ 'description' => '用户输入的模板参数。', 'type' => 'object', 'properties' => [ 'ParameterKey' => ['description' => '模板中定义的参数名称。', 'type' => 'string', 'example' => 'instance_type'], 'ParameterValue' => ['description' => '用户输入的模板参数值。', 'type' => 'string', 'example' => 'ecs.s6-c1m1.small'], ], ], ], 'Outputs' => [ 'description' => '模板的输出值。', 'type' => 'array', 'items' => [ 'description' => '模板的输出值。', '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' => 'Terraform输出日志。', 'type' => 'array', 'items' => [ 'description' => 'Terraform输出日志。', 'type' => 'object', 'properties' => [ 'Command' => ['description' => '执行的Terraform命令名称。取值:'."\n" ."\n" .'- apply'."\n" .'- plan'."\n" .'- destroy'."\n" .'- version'."\n" ."\n" .'关于命令含义的更多信息,请参见[Command](https://www.terraform.io/cli/commands)。', 'type' => 'string', 'example' => 'apply'], 'Stream' => ['description' => '输出流。取值:'."\n" ."\n" .'- stdout:标准输出。'."\n" .'- stderr:标准错误输出。', 'type' => 'string', 'example' => 'stdout'], 'Content' => ['description' => '当前命令在当前输出流中输出的内容。', 'type' => 'string', 'example' => 'Apply complete! Resources: 42 added, 0 changed, 0 destroyed.'], ], ], ], ], ], 'Status' => ['title' => '任务状态', 'description' => '任务状态。取值:'."\n" ."\n" .'- Succeeded:成功。'."\n" .'- InProgress:运行中。'."\n" .'- Failed:失败。', 'type' => 'string', 'example' => 'Succeeded'], 'StatusMessage' => ['title' => '任务状态说明', 'description' => '任务状态信息。'."\n" ."\n" .'> 仅在任务状态为Failed时,返回该参数。', 'type' => 'string', 'example' => 'Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...'], 'CreateTime' => ['title' => '创建时间', 'description' => '任务创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-05-23T09:46:27Z'], 'UpdateTime' => ['description' => '任务最后更新时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-05-23T09:47:29Z'], 'TaskTags' => [ 'description' => '自定义标签。', 'type' => 'array', 'items' => [ 'description' => '自定义标签。', 'type' => 'object', 'properties' => [ 'Key' => ['description' => '自定义标签键。'."\n" ."\n" .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'example' => 'k1'], 'Value' => ['description' => '自定义标签值。'."\n" ."\n" .'最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'example' => 'v1'], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], '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-Create ECS\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\",\\n \\"ProductVersionName\\": \\"1.0\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\",\\n \\"ProvisionedProductName\\": \\"DEMO-ECS-Instance\\",\\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' => '查询任务信息', 'changeSet' => [ ['createdAt' => '2022-11-16T08:01:20.000Z', 'description' => '响应参数发生变更'], ['createdAt' => '2022-05-27T07:47:14.000Z', 'description' => '响应参数发生变更'], ['createdAt' => '2021-12-29T07:49:30.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetTask', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], ], ], 'GetTemplate' => [ 'summary' => '查询模板详情。', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProductId', 'in' => 'query', 'schema' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], [ 'name' => 'ProductVersionId', 'in' => 'query', 'schema' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'required' => true, 'example' => 'pv-bp15e79d26****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'TemplateBody' => ['title' => '模板内容', 'description' => '模板内容。'."\n" ."\n" .'关于模板语法的详情,请参见[Terraform类型模板结构](~~184397~~)。', '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.', 'description' => '内部错误。'], ], ], 'title' => '查询模板详情', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTemplate'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetTemplate', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], '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"}]', ], 'LaunchProduct' => [ 'summary' => '启动产品。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProvisionedProductName', 'in' => 'formData', 'schema' => ['title' => '实例名称', 'description' => '实例名称。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => 'DEMO-ECS-Instance', 'maxLength' => 100, 'minLength' => 1], ], [ 'name' => 'PortfolioId', 'in' => 'formData', 'schema' => ['title' => '产品组合ID', 'description' => '产品组合ID。'."\n" ."\n" .'> 存在默认启动选项时,无需填写PortfolioId。没有默认启动选项时,必须填写PortfolioId。获取PortfolioId的方法,请参见[ListLaunchOptions](~~ListLaunchOptions~~)。', 'type' => 'string', 'required' => false, 'example' => 'port-bp1yt7582g****'], ], [ 'name' => 'ProductId', 'in' => 'formData', 'schema' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], [ 'name' => 'ProductVersionId', 'in' => 'formData', 'schema' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'required' => true, 'example' => 'pv-bp15e79d26****'], ], [ 'name' => 'Parameters', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'description' => '用户输入的模板参数。'."\n" ."\n" .'N最大值为200。'."\n" ."\n" .'> Parameters为可选参数。如果需要指定Parameters,则Parameters.N.ParameterKey和Parameters.N.ParameterValue必须同时指定。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ParameterKey' => ['description' => '模板中定义的参数名称。', 'type' => 'string', 'required' => false, 'example' => 'instance_type'], 'ParameterValue' => ['description' => '用户输入的模板参数值。', 'type' => 'string', 'required' => false, 'example' => 'ecs.s6-c1m1.small'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 200, ], ], [ 'name' => 'StackRegionId', 'in' => 'formData', 'schema' => ['title' => 'ROS资源栈所属的地域ID', 'description' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。'."\n" ."\n" .'获取ROS支持的地域列表的方法,请参见[DescribeRegions](~~131035~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'Tags', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'description' => '用户输入的自定义标签。'."\n" ."\n" .'N最大值为20。'."\n" ."\n" .'> - Tags为可选参数。如果需要指定Tags,则Tags.N.Key和Tags.N.Value必须同时指定。'."\n" .'> - 此标签会传递到资源栈中每个支持标签的资源中。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['description' => '用户输入的自定义标签键。'."\n" ."\n" .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'k1'], 'Value' => ['description' => '用户输入的自定义标签值。'."\n" ."\n" .'最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'v1'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProvisionedProductId' => ['title' => '实例ID', 'description' => '实例ID。', 'type' => 'string', 'example' => 'pp-bp1ddg1n2a****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\"\\n}","type":"json"}]', 'title' => '启动产品', 'changeSet' => [ ['createdAt' => '2022-11-16T08:01:20.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2022-05-31T07:40:30.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2022-05-27T07:47:13.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2021-12-28T03:48:53.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'LaunchProduct'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:LaunchProduct', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/*'], ], ], ], ], ], 'ListLaunchOptions' => [ 'summary' => '查询启动选项列表。', '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' => '产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'LaunchOptionSummaries' => [ 'title' => '启动选项概要', 'description' => '启动选项列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'PortfolioId' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'example' => 'port-bp1yt7582g****'], 'PortfolioName' => ['title' => '产品组合名称', 'description' => '产品组合名称。', 'type' => 'string', 'example' => 'DEMO-IT Service'], 'ConstraintSummaries' => [ 'title' => '约束概要', 'description' => '约束列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ConstraintType' => ['title' => '约束类型', 'description' => '约束类型。取值:'."\n" .'1. Launch:启动约束。'."\n" .'2. Template:模板约束。'."\n" .'3. Approval:审批约束。'."\n" .'4. StackRegion:地域约束。', 'type' => 'string', 'example' => 'Launch'], 'Description' => ['title' => '约束描述', 'description' => '约束描述。', 'type' => 'string', 'example' => 'Launch as local role TestRole'], 'OperationTypes' => [ 'title' => '操作类型,当约束类型为审批约束时不为空', 'description' => '需被审批的操作类型列表,当约束类型为审批约束时不为空。', 'type' => 'array', 'items' => ['description' => '操作类型,当约束类型为审批约束时不为空。', 'type' => 'string', 'example' => 'All,TerminateProvisionedProduct,UpdateProvisionedProduct,LaunchProduct'], ], 'StackRegions' => [ 'description' => '终端用户可启动的地域列表,当约束类型为地域约束时不为空。', 'type' => 'array', 'items' => ['description' => '终端用户可启动的地域。', 'type' => 'string', 'example' => 'cn-hangzhou'], ], ], 'description' => '', ], ], ], 'description' => '', ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"LaunchOptionSummaries\\": [\\n {\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\",\\n \\"PortfolioName\\": \\"DEMO-IT Service\\",\\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' => '查询启动选项列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLaunchOptions'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'servicecatalog:ListLaunchOptions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], ], 'ListPortfolios' => [ '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' => '产品ID。', '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' => '过滤条件的名称。取值:'."\n" ."\n" .'- PortfolioName:按产品组合名称查找,完整匹配(忽略大小写)。'."\n" .'- FullTextSearch:全文检索,按产品组合名称、产品组合提供者、产品组合描述查找,模糊匹配。', 'type' => 'string', 'required' => false, 'example' => 'PortfolioName'], 'Value' => ['title' => '过滤条件的值', 'description' => '过滤条件的值。', 'type' => 'string', 'required' => false, 'example' => 'DEMO-IT'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 5, ], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['title' => '排序字段', 'description' => '排序字段。'."\n" ."\n" .'取值为CreateTime,表示产品组合创建时间。', 'type' => 'string', 'required' => false, 'example' => 'CreateTime'], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => ['title' => '排序方式', 'description' => '排序方式。取值:'."\n" ."\n" .'- Asc:正序。'."\n" .'- Desc:倒序。', 'type' => 'string', 'required' => false, 'example' => 'Desc'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'Scope', 'in' => 'query', 'schema' => ['description' => '查询范围。取值:'."\n" ."\n" .'- Local(默认值):在当前账号中创建的产品组合。'."\n" .'- Import:从其他账号导入的产品组合。'."\n" .'- All:所有可以使用的产品组合。', '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' => 'This is a product portfolio description.'], 'PortfolioName' => ['title' => '产品组合名称', 'description' => '产品组合名称。', 'type' => 'string', 'example' => 'DEMO-IT'], 'CreateTime' => ['title' => '创建时间', 'description' => '产品组合创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-04-12T06:11:12Z'], 'ProviderName' => ['title' => '提供者名称', 'description' => '产品组合提供者。', 'type' => 'string', 'example' => 'IT team'], 'PortfolioId' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'example' => 'port-bp1yt7582g****'], 'PortfolioArn' => ['title' => '产品组合ARN', 'description' => '产品组合ARN。', 'type' => 'string', 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:portfolio/port-bp1yt7582g****'], ], ], ], 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', '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.', 'description' => '内部错误。'], ], ], 'title' => '查询产品组合列表', 'summary' => '查询产品组合列表。', 'changeSet' => [ ['createdAt' => '2022-05-27T07:47:13.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2022-02-21T06:49:09.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ['createdAt' => '2022-02-21T06:49:09.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListPortfolios', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/*'], ], ], ], ], '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"}]', ], 'ListPrincipals' => [ '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' => '产品组合ID。', 'type' => 'string', 'required' => true, 'example' => 'port-bp1yt7582g****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'Principals' => [ 'title' => 'RAM实体列表', 'description' => 'RAM实体列表。', 'type' => 'array', 'items' => [ 'description' => 'RAM实体信息。', 'type' => 'object', 'properties' => [ 'PrincipalType' => ['title' => 'RAM实体类型', 'description' => 'RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'example' => 'RamUser'], 'PrincipalId' => ['title' => 'RAM实体ID', 'description' => 'RAM实体ID。', 'type' => 'string', 'example' => '24477111603637****'], 'PrincipalPattern' => ['type' => 'string'], ], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '查询产品组合已授权的用户和角色列表', 'summary' => '查询产品组合已授权的RAM用户和RAM角色列表。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListPrincipals', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], ], '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"}]', ], 'ListProductVersions' => [ 'summary' => '查询产品版本列表。', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProductId', 'in' => 'query', 'schema' => ['title' => '产品版本所属的产品ID', 'description' => '产品版本所属的产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProductVersionDetails' => [ 'title' => '产品版本列表', 'description' => '产品版本列表。', 'type' => 'array', 'items' => [ 'description' => '产品版本详情。', 'type' => 'object', 'properties' => [ 'Active' => ['title' => '是否启用', 'description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'], 'Description' => ['title' => '产品版本描述', 'description' => '产品版本描述。', 'type' => 'string', 'example' => 'This is a product version description.'], 'CreateTime' => ['title' => '创建时间', 'description' => '产品版本创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-04-12T06:10:37Z'], 'Guidance' => ['title' => '推荐信息', 'description' => '推荐信息。取值:'."\n" ."\n" .'- Default(默认值):无。'."\n" .'- Recommended:稳定版。'."\n" .'- Latest:最新版。'."\n" .'- Deprecated:将废弃。', 'type' => 'string', 'example' => 'Default'], 'ProductVersionId' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'example' => 'pv-bp15e79d26****'], 'ProductVersionName' => ['title' => '产品版本名称', 'description' => '产品版本名称。', 'type' => 'string', 'example' => '1.0'], 'TemplateUrl' => ['title' => '模板的OSS地址', 'description' => '模板的URL地址。', 'type' => 'string', 'example' => 'oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json'], 'TemplateType' => ['title' => '模板类型', 'description' => '产品模板类型。取值:'."\n" ."\n" .'- RosTerraformTemplate:表示阿里云资源编排服务(ROS)支持的Terraform模板。'."\n" .'- RosStandardTemplate:表示阿里云资源编排服务(ROS)标准模板。', 'type' => 'string', 'example' => 'RosTerraformTemplate'], 'ProductId' => ['description' => '产品版本所属的产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], ], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductVersionDetails\\": [\\n {\\n \\"Active\\": true,\\n \\"Description\\": \\"This is a product version 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' => '查询产品版本列表', 'changeSet' => [ ['createdAt' => '2022-05-27T07:47:14.000Z', 'description' => '响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListProductVersions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], ], 'ListProductsAsAdmin' => [ 'summary' => '管理员调用ListProductsAsAdmin接口查询产品列表。', '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' => '产品组合ID。', 'type' => 'string', 'required' => false, 'example' => 'port-bp1yt7582g****'], ], [ 'name' => 'Filters', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '过滤条件', 'description' => '过滤条件。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['title' => '过滤条件的名称', 'description' => '过滤条件的名称。取值:'."\n" ."\n" .'- ProductName:按产品名称查找,完整匹配(忽略大小写)。'."\n" .'- FullTextSearch:全文检索,按产品名称、产品提供者、产品描述查找,模糊匹配。', 'type' => 'string', 'required' => false, 'example' => 'ProductName'], 'Value' => ['title' => '过滤条件的值', 'description' => '过滤条件的值。', 'type' => 'string', 'required' => false, 'example' => 'DEMO-Create ECS'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 5, ], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['title' => '排序字段', 'description' => '排序字段。'."\n" ."\n" .'取值为CreateTime,表示产品创建时间。', 'type' => 'string', 'required' => false, 'example' => 'CreateTime'], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => ['title' => '排序方式', 'description' => '排序方式。取值:'."\n" ."\n" .'- Asc:正序。'."\n" .'- Desc:倒序。', 'type' => 'string', 'required' => false, 'example' => 'Desc'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'Scope', 'in' => 'query', 'schema' => ['description' => '查询范围。取值:'."\n" ."\n" .'- Local(默认值):在当前账号中创建的产品。'."\n" .'- Imported:从其他账号导入的产品。'."\n" .'- All:所有可以使用的产品。', 'type' => 'string', 'required' => false, 'example' => 'Local'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProductDetails' => [ 'title' => '产品列表', 'description' => '产品列表。', 'type' => 'array', 'items' => [ 'description' => '产品详情。', 'type' => 'object', 'properties' => [ 'ProductArn' => ['title' => '产品ARN', 'description' => '产品ARN。', 'type' => 'string', 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****'], 'Description' => ['title' => '产品描述', 'description' => '产品描述。', 'type' => 'string', 'example' => 'This is a product description.'], 'CreateTime' => ['title' => '产品创建时间', 'description' => '产品创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-04-12T06:10:37Z'], 'ProductId' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ProductName' => ['title' => '产品名字', 'description' => '产品名称。', 'type' => 'string', 'example' => 'DEMO-Create ECS'], 'ProviderName' => ['title' => '产品提供方', 'description' => '产品提供者。', 'type' => 'string', 'example' => 'IT team'], 'ProductType' => ['title' => '产品类型', 'description' => '产品类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'type' => 'string', 'example' => 'Ros'], 'TemplateType' => ['description' => '产品模板类型。取值:'."\n" ."\n" .'- RosTerraformTemplate:表示阿里云资源编排服务(ROS)支持的Terraform模板。'."\n" .'- RosStandardTemplate:表示阿里云资源编排服务(ROS)标准模板。', 'type' => 'string', 'example' => 'RosTerraformTemplate'], ], ], ], '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.', 'description' => '内部错误。'], ], ], '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\\": \\"This is a product description.\\",\\n \\"CreateTime\\": \\"2022-04-12T06:10:37Z\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-Create ECS\\",\\n \\"ProviderName\\": \\"IT team\\",\\n \\"ProductType\\": \\"Ros\\",\\n \\"TemplateType\\": \\"RosTerraformTemplate\\"\\n }\\n ],\\n \\"TotalCount\\": 2,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]', 'title' => '管理员查询产品列表', 'changeSet' => [ ['createdAt' => '2024-02-27T10:57:48.000Z', 'description' => '响应参数发生变更'], ['createdAt' => '2022-05-30T02:23:56.000Z', 'description' => '错误码发生变更'], ['createdAt' => '2022-05-27T07:47:14.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2022-02-21T06:49:08.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ['createdAt' => '2022-02-21T06:49:08.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListProductsAsAdmin', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/*'], ], ], ], ], ], 'ListProductsAsEndUser' => [ 'summary' => '终端用户调用ListProductsAsEndUser接口查询产品列表。', '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' => '过滤条件。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['title' => '过滤条件的名称', 'description' => '过滤条件的名称。取值:'."\n" ."\n" .'- ProductName:按产品名称查找,完整匹配(忽略大小写)。'."\n" .'- FullTextSearch:全文检索,按产品名称、产品提供者、产品描述查找,模糊匹配。', 'type' => 'string', 'required' => false, 'example' => 'ProductName'], 'Value' => ['title' => '过滤条件的值', 'description' => '过滤条件的值。', 'type' => 'string', 'required' => false, 'example' => 'DEMO-Create ECS'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 5, ], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['title' => '排序字段', 'description' => '排序字段。'."\n" ."\n" .'取值为CreateTime,表示产品创建时间。'."\n" .'默认取值CreateTime。', 'type' => 'string', 'required' => false, 'example' => 'CreateTime'], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => ['title' => '排序方式', 'description' => '排序方式。取值:'."\n" ."\n" .'- Asc:正序。'."\n" .'- Desc(默认值):倒序。', 'type' => 'string', 'required' => false, 'example' => 'Desc'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProductSummaries' => [ 'title' => '产品列表', 'description' => '产品列表。', 'type' => 'array', 'items' => [ 'description' => '产品概要信息。', 'type' => 'object', 'properties' => [ 'Description' => ['title' => '产品描述', 'description' => '产品描述。', 'type' => 'string', 'example' => 'This is a product description.'], 'CreateTime' => ['title' => '产品创建时间', 'description' => '产品创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-04-12T06:10:37Z'], 'ProductId' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ProductArn' => ['title' => '产品ARN', 'description' => '产品ARN。', 'type' => 'string', 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****'], 'ProductName' => ['title' => '产品名字', 'description' => '产品名称。', 'type' => 'string', 'example' => 'DEMO-Create ECS'], 'ProviderName' => ['title' => '产品提供方', 'description' => '产品提供者。', 'type' => 'string', 'example' => 'IT team'], 'ProductType' => ['title' => '产品类型', 'description' => '产品类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'type' => 'string', 'example' => 'Ros'], 'HasDefaultLaunchOption' => ['title' => '是否存在默认的启动选项', 'description' => '是否存在默认启动选项。取值:'."\n" ."\n" .'- true:存在默认启动选项,启动产品或更新实例时无需填写PortfolioId。'."\n" .'- false:没有默认启动选项,启动产品或更新实例时必须填写PortfolioId。获取PortfolioId的方法,请参见[ListLaunchOptions](~~ListLaunchOptions~~)。'."\n" ."\n" .'> 如果产品仅被加入到一个产品组合,则会存在默认启动选项。如果产品被加入到多个产品组合,则会同时存在多个启动选项,但此时没有默认启动选项。', 'type' => 'boolean', 'example' => 'true'], 'TemplateType' => ['description' => '产品模板类型。取值:'."\n" ."\n" .'- RosTerraformTemplate:表示阿里云资源编排服务(ROS)支持的Terraform模板。'."\n" .'- RosStandardTemplate:表示阿里云资源编排服务(ROS)标准模板。', 'type' => 'string', 'example' => 'RosTerraformTemplate'], ], ], ], 'TotalCount' => ['title' => '总记录数', 'description' => '总数据行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], '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.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductSummaries\\": [\\n {\\n \\"Description\\": \\"This is a product 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-Create ECS\\",\\n \\"ProviderName\\": \\"IT team\\",\\n \\"ProductType\\": \\"Ros\\",\\n \\"HasDefaultLaunchOption\\": true,\\n \\"TemplateType\\": \\"RosTerraformTemplate\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]', 'title' => '终端用户查询产品列表', 'description' => '请确保终端用户已被管理员授予相关产品的使用权限。具体操作,请参见[为终端用户授予访问权限](~~405233~~)。', 'changeSet' => [ ['createdAt' => '2024-02-27T10:57:48.000Z', 'description' => '响应参数发生变更'], ['createdAt' => '2022-05-30T02:23:56.000Z', 'description' => '错误码发生变更'], ['createdAt' => '2022-05-27T07:47:13.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2022-02-21T06:49:08.000Z', 'description' => '响应参数发生变更'], ['createdAt' => '2022-02-21T06:49:08.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListProductsAsEndUser', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'ListProvisionedProductPlanApprovers' => [ 'summary' => '查询计划审批人列表。', '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' => '访问过滤器。取值:'."\n" ."\n" .'- User(默认值):用户。'."\n" .'- Account:账号。'."\n" .'- ResourceDirectory:资源目录。'."\n" ."\n" .'> 必须指定`ApprovalFilter`和`AccessLevelFilter`两个参数中的一个参数,但不能同时指定。', 'type' => 'string', 'required' => false, 'example' => 'User'], ], [ 'name' => 'Filters', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '过滤条件,支持Key值为ProvisionedProductPlanApproverName', 'description' => '过滤条件。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['title' => '过滤条件的名称', 'description' => '过滤条件的名称。取值:'."\n" ."\n" .'- ProvisionedProductPlanApproverName:按审批人名称模糊匹配', 'type' => 'string', 'required' => false, 'example' => 'ProvisionedProductPlanApproverName'], 'Value' => ['title' => '过滤条件的值', 'description' => '过滤条件的值。', 'type' => 'string', 'required' => false, 'example' => 'approver'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 5, ], ], [ 'name' => 'ApprovalFilter', 'in' => 'query', 'schema' => ['title' => '审批维度访问过滤器', 'description' => '审批维度访问过滤器。取值:'."\n" .'- AccountRequests:账号级别全部审批。'."\n" .'- ResourceDirectoryRequests:资源目录级别全部审批。'."\n" .'> 必须指定`ApprovalFilter`和`AccessLevelFilter`两个参数中的一个参数,但不能同时指定。', 'type' => 'string', 'required' => false, 'example' => 'AccountRequests'], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****'], 'Approvers' => [ 'title' => '审批人列表', 'description' => '审批人列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'PrincipalName' => ['title' => '审批人名称', 'description' => '审批人名称。', 'type' => 'string', 'example' => 'approver-1'], 'PrincipalType' => ['title' => 'RAM实体类型', 'description' => '计划审批人的RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'example' => 'RamUser'], ], 'description' => '', ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '查询计划审批人列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProvisionedProductPlanApprovers'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListProvisionedProductPlanApprovers', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'ListProvisionedProductPlans' => [ 'summary' => '查询计划列表。可分用户维度和审批维度进行查询。', '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' => '过滤条件。', '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' => '过滤条件的名称。取值:'."\n" ."\n" .'- ProvisionedProductPlanName:按计划名称查找,完整匹配(忽略大小写)。'."\n" .'- ProvisionedProductPlanApprover:按审批人精确查找,格式为`RamUser/RamRole:<审批人名称>`,可多选。'."\n" .'- ProvisionedProductPlanApproverName:按审批人名称查找,直接输入审批人的RAM实体名称,可多选。'."\n" .'- ProvisionedProductPlanStatus:按计划状态查找,直接输入计划状态,可多选。'."\n" .'- ProvisionedProductPlanOwnerUid:按计划归属云账号ID精确查找。'."\n" .'- FullTextSearch:全文检索,按计划名称查找,模糊匹配。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'FullTextSearch', ], 'Value' => ['title' => '过滤条件的值。'."\n" ."\n", 'description' => '过滤条件的值。'."\n" ."\n", 'type' => 'string', 'required' => false, 'example' => 'ECS'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 5, ], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['title' => '排序字段。'."\n" ."\n" .'取值为CreateTime,表示实例创建时间。', 'description' => '排序字段。'."\n" ."\n" .'取值为CreateTime,表示计划创建时间。', 'type' => 'string', 'required' => false, 'example' => 'CreateTime'], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => [ 'title' => '排序方式。取值:'."\n" ."\n" .'Asc:正序。'."\n" .'Desc:倒序。', 'description' => '排序方式。取值:'."\n" ."\n" .'- Asc:正序。'."\n" .'- Desc(默认值):倒序。', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['Asc' => 'Asc', 'Desc' => 'Desc'], 'example' => 'Desc', ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['title' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'description' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['title' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'description' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'AccessLevelFilter', 'in' => 'query', 'schema' => ['title' => '访问过滤器。取值:'."\n" ."\n" .'User(默认值):用户。'."\n" .'Account:账号。'."\n" .'ResourceDirectory:资源目录。', 'description' => '访问过滤器。取值:'."\n" ."\n" .'- User(默认值):用户。'."\n" .'- Account:账号。'."\n" .'- ResourceDirectory:资源目录。', 'type' => 'string', 'required' => false, 'example' => 'User'], ], [ 'name' => 'ApprovalFilter', 'in' => 'query', 'schema' => ['title' => '审批维度访问过滤器。取值:'."\n" ."\n" .'ReceivedRequests:待审批的。'."\n" .'ApprovalHistory:审批历史。'."\n" .'AccountRequests:账号级别全部审批。'."\n" .'ResourceDirectoryRequests:资源目录级别全部审批。', 'description' => '审批维度访问过滤器。取值:'."\n" ."\n" .'- ReceivedRequests:待我审批。'."\n" .'- ApprovalHistory:审批历史。'."\n" .'- AccountRequests:账号级别全部审批。'."\n" .'- ResourceDirectoryRequests:资源目录级别全部审批。', 'type' => 'string', 'required' => false, 'example' => 'ReceivedRequests'], ], [ 'name' => 'ProvisionedProductId', 'in' => 'query', 'schema' => ['title' => '实例ID。', 'description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'pp-bp1ddg1n2a****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****'], 'PlanDetails' => [ 'title' => '计划列表。'."\n", 'description' => '计划列表。'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'PlanId' => ['title' => '计划ID。', 'description' => '计划ID。', 'type' => 'string', 'example' => 'plan-bp18mmdh2u****'], 'PlanName' => ['title' => '计划名称。'."\n", 'description' => '计划名称。'."\n", 'type' => 'string', 'example' => 'DEMO- create ECS-637****'], 'PlanType' => ['title' => '计划类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'description' => '计划类型。'."\n" ."\n" .'取值为Ros,表示阿里云资源编排服务(ROS)。', 'type' => 'string', 'example' => 'Ros'], 'PortfolioId' => ['title' => '产品组合ID。'."\n", 'description' => '产品组合ID。'."\n", 'type' => 'string', 'example' => 'port-bp1438kf2j****'], 'ProductId' => ['title' => '产品ID。'."\n", 'description' => '产品ID。'."\n", 'type' => 'string', 'example' => 'prod-bp1rtrnh2c****'], 'ProductVersionId' => ['title' => '产品版本ID。'."\n", 'description' => '产品版本ID。'."\n", 'type' => 'string', 'example' => 'pv-bp19udk22v****'], 'ProvisionedProductId' => ['title' => '实例ID。'."\n", 'description' => '实例ID。'."\n", 'type' => 'string', 'example' => 'pp-bp1c35162d****'], 'Parameters' => [ 'title' => '用户输入的模板参数。'."\n", 'description' => '用户输入的模板参数。'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ParameterKey' => ['title' => '模板中定义的参数名称。'."\n", 'description' => '模板中定义的参数名称。'."\n", 'type' => 'string', 'example' => 'role_name'], 'ParameterValue' => ['title' => '用户输入的模板参数值。'."\n", 'description' => '用户输入的模板参数值。'."\n", 'type' => 'string', 'example' => 'Test-8'], ], 'description' => '', ], ], 'ProvisionedProductName' => ['title' => '实例名称。', 'description' => '实例名称。', 'type' => 'string', 'example' => 'rds-MYSQL-875****'], 'StackId' => ['title' => '阿里云资源编排服务(ROS)资源栈ID。'."\n", 'description' => '阿里云资源编排服务(ROS)资源栈ID。'."\n", 'type' => 'string', 'example' => '2599090a-309e-4306-b989-17ba66a9****'], 'StackRegionId' => ['title' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。'."\n", 'description' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'], 'Status' => ['title' => '计划状态。', 'description' => '计划状态。取值:'."\n" .'- PreviewInProgress:预检中。'."\n" .'- PreviewSuccess:预检成功。'."\n" .'- PreviewFailed:预检失败。'."\n" .'- ApplicationInProgress:审批中。'."\n" .'- ApplicationApproved:审批通过。'."\n" .'- ApplicationRejected:审批被拒绝。'."\n" .'- ExecuteInProgress:执行中。'."\n" .'- ExecuteSuccess:执行成功。'."\n" .'- ExecuteFailed:执行失败。'."\n" .'- Canceled:已取消。', 'type' => 'string', 'example' => 'PreviewSuccess'], 'StatusMessage' => ['title' => '计划状态信息。', 'description' => '计划状态信息。'."\n" ."\n" .'> 仅在计划状态为PreviewFailed或ExecuteFailed时,返回该参数。', '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' => '计划创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-09-13T02:01:22Z'], 'UpdateTime' => ['title' => '计划最后更新时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'description' => '计划最后更新时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-07-18T06:02:35.075Z'], 'Tags' => [ 'title' => '用户自定义标签列表。'."\n", 'description' => '用户自定义标签列表。'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['title' => '用户自定义标签键。'."\n", 'description' => '用户自定义标签键。'."\n", 'type' => 'string', 'example' => 'k1'], 'Value' => ['title' => '用户自定义标签值。'."\n", 'description' => '用户自定义标签值。'."\n", 'type' => 'string', 'example' => 'v1'], ], 'description' => '', ], ], 'OperationType' => ['title' => '计划操作类型,取值为All,TerminateProvisionedProduct,UpdateProvisionedProduct,LaunchProduct。', 'description' => '计划操作类型。取值:'."\n" .'- LaunchProduct(默认):启动产品。'."\n" .'- UpdateProvisionedProduct:更新实例。'."\n" .'- TerminateProvisionedProduct:终止实例。', 'type' => 'string', 'example' => 'LaunchProduct'], 'AssignedApprovers' => [ 'title' => '计划审批人列表。', 'description' => '计划审批人列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'PrincipalType' => ['title' => '计划审批人的RAM实体类型。取值:'."\n" ."\n" .'RamUser:RAM用户。'."\n" .'RamRole:RAM角色。', 'description' => '计划审批人的RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'example' => 'RamUser'], 'PrincipalName' => ['title' => '计划归属人的RAM实体名称。'."\n", 'description' => '计划审批人的RAM实体名称。', 'type' => 'string', 'example' => 'endUser'], ], 'description' => '', ], ], 'ProductName' => ['title' => '产品名称。'."\n", 'description' => '产品名称。'."\n", 'type' => 'string', 'example' => 'Create ECS'], 'Description' => ['title' => '计划描述。', 'description' => '计划描述。', 'type' => 'string', 'example' => 'Dev team usage'], 'OwnerPrincipalType' => ['title' => '计划归属人的RAM实体类型。取值:'."\n" ."\n" .'RamUser:RAM用户。'."\n" .'RamRole:RAM角色。', 'description' => '计划归属人的RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'example' => 'RamUser'], 'OwnerPrincipalId' => ['title' => '计划归属人的RAM实体ID。'."\n", 'description' => '计划归属人的RAM实体ID。'."\n", 'type' => 'string', 'example' => '24477111603637****'."\n"], 'OwnerPrincipalName' => ['title' => '计划归属人的RAM实体名称。', 'description' => '计划归属人的RAM实体名称。', 'type' => 'string', 'example' => 'enduser'], 'Uid' => ['title' => '计划归属人的云账号ID。', 'description' => '计划归属人的云账号ID。', 'type' => 'string', 'example' => '146611588617****'], ], 'description' => '', ], ], 'TotalCount' => ['title' => '总记录数。', 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '16'], 'PageNumber' => ['title' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'description' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'PageSize' => ['title' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'description' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F****\\",\\n \\"PlanDetails\\": [\\n {\\n \\"PlanId\\": \\"plan-bp18mmdh2u****\\",\\n \\"PlanName\\": \\"DEMO- create 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\\": \\"Create ECS\\",\\n \\"Description\\": \\"Dev team usage\\",\\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' => '查询计划列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProvisionedProductPlans'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'servicecatalog:ListProvisionedProductPlans', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'ListProvisionedProducts' => [ 'summary' => '查询实例列表。', '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' => '过滤条件。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['title' => '过滤条件的名称', 'description' => '过滤条件的名称。取值:'."\n" ."\n" .'- ProvisionedProductName:按实例名称查找,完整匹配(忽略大小写)。'."\n" .'- FullTextSearch:全文检索,按实例名称查找,模糊匹配。', 'type' => 'string', 'required' => false, 'example' => 'ProvisionedProductName'], 'Value' => ['title' => '过滤条件的值', 'description' => '过滤条件的值。', 'type' => 'string', 'required' => false, 'example' => 'DEMO-ECS-Instance'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 5, ], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['title' => '排序字段', 'description' => '排序字段。'."\n" ."\n" .'取值为CreateTime,表示实例创建时间。', 'type' => 'string', 'required' => false, 'example' => 'CreateTime'], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => ['title' => '排序方式', 'description' => '排序方式。取值:'."\n" ."\n" .'- Asc:正序。'."\n" .'- Desc(默认值):倒序。', 'type' => 'string', 'required' => false, 'example' => 'Desc'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'AccessLevelFilter', 'in' => 'query', 'schema' => ['title' => '访问过滤器', 'description' => '访问过滤器。取值:'."\n" ."\n" .'- User(默认值):用户。'."\n" .'- Account:账号。', 'type' => 'string', 'required' => false, 'example' => 'User'], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'ProvisionedProductDetails' => [ 'title' => '实例列表', 'description' => '实例列表。', 'type' => 'array', 'items' => [ 'title' => 'PortfolioItemType', 'description' => '实例详情。', 'type' => 'object', 'properties' => [ 'ProvisionedProductName' => ['title' => '实例名称', 'description' => '实例名称。', 'type' => 'string', 'example' => 'DEMO-ECS-Instance'], 'ProvisionedProductId' => ['title' => '实例ID', 'description' => '实例ID。', 'type' => 'string', 'example' => 'pp-bp1ddg1n2a****'], 'ProvisionedProductArn' => ['title' => '实例ARN', 'description' => '实例ARN。', 'type' => 'string', 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:provisionedproduct/pp-bp1ddg1n2a****'], 'ProductId' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ProductName' => ['title' => '产品名称', 'description' => '产品名称。', 'type' => 'string', 'example' => 'DEMO-Create ECS'], 'ProductVersionId' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'example' => 'pv-bp15e79d26****'], 'ProductVersionName' => ['title' => '产品版本名称', 'description' => '产品版本名称。', 'type' => 'string', 'example' => '1.0'], 'LastTaskId' => ['title' => '上一次执行的任务ID', 'description' => '上一次执行的任务ID。', 'type' => 'string', 'example' => 'task-bp1dmg242c****'], 'LastProvisioningTaskId' => ['title' => '上一次执行的实例操作任务ID', 'description' => '上一次执行的实例操作任务ID。'."\n" ."\n" .'实例操作包括:'."\n" ."\n" .'- LaunchProduct:启动产品。'."\n" .'- UpdateProvisionedProduct:更新实例。'."\n" .'- TerminateProvisionedProduct:终止实例。', 'type' => 'string', 'example' => 'task-bp1dmg242c****'], 'LastSuccessfulProvisioningTaskId' => ['title' => '上一次成功执行的实例操作任务ID', 'description' => '上一次成功执行的实例操作任务ID。'."\n" ."\n" .'实例操作包括:'."\n" ."\n" .'- LaunchProduct:启动产品。'."\n" .'- UpdateProvisionedProduct:更新实例。'."\n" .'- TerminateProvisionedProduct:终止实例。', 'type' => 'string', 'example' => 'task-bp1dmg242c****'], 'OwnerPrincipalType' => ['title' => '归属人的RAM实体类型', 'description' => '实例归属人的RAM实体类型。取值:'."\n" ."\n" .'- RamUser:RAM用户。'."\n" .'- RamRole:RAM角色。', 'type' => 'string', 'example' => 'RamUser'], 'OwnerPrincipalId' => ['title' => '归属人的RAM实体ID', 'description' => '实例归属人的RAM实体ID。', 'type' => 'string', 'example' => '24477111603637****'], 'Status' => ['title' => '实例状态', 'description' => '实例状态。取值:'."\n" ."\n" .'- Available:可用。'."\n" .'- UnderChange:变更中。'."\n" .'- Error:异常。', 'type' => 'string', 'example' => 'Available'], 'StatusMessage' => ['title' => '实例状态说明', 'description' => '实例状态说明。'."\n" ."\n" .'> 仅在实例状态为Error时,返回该参数。', 'type' => 'string', 'example' => 'Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...'], 'CreateTime' => ['title' => '创建时间', 'description' => '实例创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-05-23T09:46:27Z'], 'PortfolioId' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'example' => 'port-bp1yt7582g****'], 'StackId' => ['title' => 'ROS资源栈的ID', 'description' => '阿里云资源编排服务(ROS)资源栈ID。', 'type' => 'string', 'example' => '137e31df-3754-40b4-be2f-c793ad84****'], 'StackRegionId' => ['title' => 'ROS资源栈所属的地域ID', 'description' => '阿里云资源编排服务(ROS)资源栈所属的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'ProvisionedProductType' => ['description' => '实例类型。'."\n" ."\n" .'取值为RosStack,表示阿里云资源编排服务(ROS)的资源栈。', 'type' => 'string', 'example' => 'RosStack'], ], ], ], 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', '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.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProvisionedProductDetails\\": [\\n {\\n \\"ProvisionedProductName\\": \\"DEMO-ECS-Instance\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\",\\n \\"ProvisionedProductArn\\": \\"acs:servicecatalog:cn-hangzhou:146611588617****:provisionedproduct/pp-bp1ddg1n2a****\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\",\\n \\"ProductName\\": \\"DEMO-Create 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' => '查询实例列表', 'changeSet' => [ ['createdAt' => '2022-05-30T02:23:56.000Z', 'description' => '错误码发生变更'], ['createdAt' => '2022-05-27T07:47:14.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ['createdAt' => '2022-02-21T06:49:08.000Z', 'description' => '响应参数发生变更、响应参数发生变更'], ['createdAt' => '2022-02-21T06:49:08.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ['createdAt' => '2021-12-28T03:48:53.000Z', 'description' => '响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListProvisionedProducts', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/*'], ], ], ], ], ], 'ListRegions' => [ 'summary' => '查询地域列表。', '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' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'Regions' => [ 'title' => '地域列表', 'description' => '地域列表。', 'type' => 'array', 'items' => [ 'description' => '地域信息。', 'type' => 'object', 'properties' => [ 'RegionId' => ['title' => '地域ID', 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'RegionEndpoint' => ['title' => '地域接入地址', 'description' => '地域接入地址。', 'type' => 'string', 'example' => 'servicecatalog.cn-hangzhou.aliyuncs.com'], 'LocalName' => ['title' => '地域名称', 'description' => '地域名称。', 'type' => 'string', 'example' => '华东1(杭州)'], ], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '查询地域列表', 'changeSet' => [ ['createdAt' => '2021-12-27T07:30:15.000Z', 'description' => 'OpenAPI 下线'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegions'], ], ], 'ramActions' => [], '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"}]', ], 'ListResourcesForTagOption' => [ 'summary' => '查询标签选项关联的资源列表。', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'TagOptionId', 'in' => 'query', 'schema' => ['description' => '标签选项ID。', 'type' => 'string', 'required' => true, 'example' => 'tag-bp1u6mdf3d****'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => '标签选项关联的资源类型。取值:'."\n" ."\n" .'- Product:产品。'."\n" .'- Portfolio:产品组合。', 'type' => 'string', 'required' => true, 'example' => 'Product'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E465F21C-8712-5794-A754-5E4D9152****'], 'TotalCount' => ['title' => '总记录数', 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'PageNumber' => ['description' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'PageSize' => ['description' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'ResourceDetails' => [ 'description' => '关联资源详情。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceArn' => ['description' => '资源ARN。', 'type' => 'string', 'example' => 'acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****'."\n"], 'CreateTime' => ['description' => '资源创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-11-04T08:07:04.281986714Z'], 'Description' => ['description' => '资源描述。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'example' => 'This is a product description.'], 'ResourceId' => ['description' => '标签选项绑定的资源ID。', 'type' => 'string', 'example' => 'port-bp15p96922****'], 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'DEMO-Create ECS'], ], 'description' => '', ], ], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], '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\\": \\"This is a product description.\\",\\n \\"ResourceId\\": \\"port-bp15p96922****\\",\\n \\"ResourceName\\": \\"DEMO-Create ECS\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => '查询标签选项关联的资源列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourcesForTagOption'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListResourcesForTagOption', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'ListTagOptions' => [ 'summary' => '查询标签选项列表。', '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' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'Filters', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '过滤条件。', 'type' => 'object', 'properties' => [ 'Key' => ['description' => '标签选项键。', 'type' => 'string', 'required' => false, 'example' => 'k1'], 'Value' => ['description' => '标签选项值。', 'type' => 'string', 'required' => false, 'example' => 'v1'], 'Active' => ['description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], 'FullTextSearch' => ['description' => '全文搜索。', 'type' => 'string', 'required' => false, 'example' => 'k1'], ], 'required' => false, ], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['description' => '排序字段。'."\n" ."\n" .'取值为CreateTime,表示标签选项创建时间。', 'type' => 'string', 'required' => false, 'example' => 'CreateTime'], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => ['description' => '排序方式。取值:'."\n" ."\n" .'- Asc:正序。'."\n" .'- Desc(默认值):倒序。', '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' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '37C9C1DF-EFFC-5D8A-80D0-8657B1F3****'], 'TotalCount' => ['title' => '总记录数', 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'PageSize' => ['description' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TagOptionDetails' => [ 'description' => '标签选项详情列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Active' => ['description' => '是否启用。取值:'."\n" ."\n" .'- true:启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'], 'TagOptionId' => ['description' => '标签选项ID。', 'type' => 'string', 'example' => 'tag-bp1r3mxq3t****'], 'Key' => ['description' => '标签选项键。', 'type' => 'string', 'example' => 'k1'], 'Value' => ['description' => '标签选项值。', 'type' => 'string', 'example' => 'v1'], 'Owner' => ['description' => '标签选项归属人云账号ID。', 'type' => 'string', 'example' => '133413081827****'."\n"], ], 'description' => '', ], ], 'NextToken' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '查询标签选项列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagOptions'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListTagOptions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'ListTasks' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['title' => '排序字段', 'description' => '排序字段。'."\n" ."\n" .'取值为CreateTime,表示任务创建时间。', 'type' => 'string', 'required' => false, 'example' => 'CreateTime'], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => ['title' => '排序方式', 'description' => '排序方式。取值:'."\n" ."\n" .'- Asc:正序。'."\n" .'- Desc:倒序。', 'type' => 'string', 'required' => false, 'example' => 'Desc'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => '分页时每页显示的数据行数。'."\n" ."\n" .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'ProvisionedProductId', 'in' => 'query', 'schema' => ['title' => '实例ID', 'description' => '实例ID。', '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' => '任务ID。', 'type' => 'string', 'example' => 'task-bp1dmg242c****'], 'TaskType' => ['title' => '实例ARN', 'description' => '任务类型。取值:'."\n" ."\n" .'- LaunchProduct:启动产品。'."\n" .'- UpdateProvisionedProduct:更新实例。'."\n" .'- TerminateProvisionedProduct:终止实例。', 'type' => 'string', 'example' => 'LaunchProduct'], 'PortfolioId' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'example' => 'port-bp1yt7582g****'], 'ProductId' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], 'ProductName' => ['title' => '产品名称', 'description' => '产品名称。', 'type' => 'string', 'example' => 'DEMO-ECS'], 'ProductVersionId' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'example' => 'pv-bp15e79d26****'], 'ProductVersionName' => ['title' => '产品版本名称', 'description' => '产品版本名称。', 'type' => 'string', 'example' => '1.0'], 'ProvisionedProductId' => ['title' => '实例ID', 'description' => '实例ID。', 'type' => 'string', 'example' => 'pp-bp1ddg1n2a****'], 'ProvisionedProductName' => ['title' => '实例名称', 'description' => '实例名称。', 'type' => 'string', 'example' => 'Test-ECS'], 'Parameters' => [ 'description' => '用户输入的模板参数。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ParameterKey' => ['description' => '模板中定义的参数名称。', 'type' => 'string', 'example' => 'instance_type'], 'ParameterValue' => ['description' => '用户输入的模板参数值。', 'type' => 'string', 'example' => 'ecs.s6-c1m1.small'], ], 'description' => '', ], ], '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.'], ], 'description' => '', ], ], 'Log' => [ 'description' => '实例相关输出日志。', 'type' => 'object', 'properties' => [ 'TerraformLogs' => [ 'description' => 'Terraform输出日志。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Command' => ['description' => '执行的Terraform命令名称。取值:'."\n" ."\n" .'- apply'."\n" .'- plan'."\n" .'- destroy'."\n" .'- version'."\n" ."\n" .'关于命令含义的更多信息,请参见[Command](https://www.terraform.io/cli/commands)。', 'type' => 'string', 'example' => 'apply'], 'Stream' => ['description' => '输出流。取值:'."\n" ."\n" .'- stdout:标准输出。'."\n" .'- stderr:标准错误输出。', 'type' => 'string', 'example' => 'stdout'], 'Content' => ['description' => '当前命令在当前输出流中输出的内容。', 'type' => 'string', 'example' => 'Apply complete! Resources: 42 added, 0 changed, 0 destroyed.'], ], 'description' => '', ], ], ], ], 'Status' => ['title' => '实例状态', 'description' => '任务状态。取值:'."\n" ."\n" .'- Succeeded:成功。'."\n" .'- InProgress:运行中。'."\n" .'- Failed:失败。', 'type' => 'string', 'example' => 'Succeeded'], 'StatusMessage' => ['title' => '实例状态说明', 'description' => '任务状态信息。'."\n" ."\n" .'> 仅在任务状态为Failed时,返回该参数。', 'type' => 'string', 'example' => 'Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...'], 'CreateTime' => ['title' => '创建时间', 'description' => '任务创建时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-05-23T09:46:27Z'], 'UpdateTime' => ['description' => '任务最后更新时间。'."\n" ."\n" .'按照ISO8601标准表示,使用UTC时间,格式:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2022-05-26T03:28:45Z'], ], ], ], 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', '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.', 'description' => '内部错误。'], ], ], 'title' => '查询任务列表', 'summary' => '查询任务列表。', 'changeSet' => [ ['createdAt' => '2022-05-30T02:23:56.000Z', 'description' => '错误码发生变更'], ['createdAt' => '2022-05-27T07:47:13.000Z', 'description' => '响应参数发生变更'], ['createdAt' => '2022-02-21T06:49:08.000Z', 'description' => '响应参数发生变更'], ['createdAt' => '2022-02-21T06:49:08.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListTasks', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], ], '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"}]', ], 'TerminateProvisionedProduct' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProvisionedProductId', 'in' => 'formData', 'schema' => ['title' => '实例ID', 'description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pp-bp1ddg1n2a****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '终止实例', 'summary' => '终止实例。', 'description' => '终止实例后实例将从实例列表中删除,终端用户后续无法正常管理该实例的生命周期,请谨慎操作。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TerminateProvisionedProduct'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:TerminateProvisionedProduct', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\"\\n}","type":"json"}]', ], 'UpdateConstraint' => [ 'summary' => '更新约束。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ConstraintId', 'in' => 'formData', 'schema' => ['title' => '约束ID', 'description' => '约束ID。', 'type' => 'string', 'required' => true, 'example' => 'cons-bp1yx7x42v****'], ], [ 'name' => 'Config', 'in' => 'formData', 'schema' => ['title' => '约束配置', 'description' => '约束配置。'."\n" ."\n" .'格式:{ "LocalRoleName": "" }', 'type' => 'string', 'required' => true, 'example' => '{ "LocalRoleName": "TestRole" }'], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['title' => '约束描述', 'description' => '约束描述。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => 'Launch as local role TestRole'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ConstraintId' => ['title' => '约束ID', 'description' => '约束ID。', 'type' => 'string', 'example' => 'cons-bp1yx7x42v****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '更新约束', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:UpdateConstraint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ConstraintId\\": \\"cons-bp1yx7x42v****\\"\\n}","type":"json"}]', ], 'UpdatePortfolio' => [ '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' => '产品组合名称。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => 'DEMO-IT', 'maxLength' => 100, 'minLength' => 1], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['title' => '产品组合描述', 'description' => '产品组合描述。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is a product portfolio description.'], ], [ 'name' => 'ProviderName', 'in' => 'formData', 'schema' => ['title' => '提供者名称', 'description' => '产品组合提供者。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => 'IT team', 'maxLength' => 100, 'minLength' => 1], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'PortfolioId' => ['title' => '产品组合ID', 'description' => '产品组合ID。', 'type' => 'string', 'example' => 'port-bp1yt7582g****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '更新产品组合', 'summary' => '更新产品组合。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:UpdatePortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"PortfolioId\\": \\"port-bp1yt7582g****\\"\\n}","type":"json"}]', ], 'UpdateProduct' => [ 'summary' => '更新产品。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ProductName', 'in' => 'formData', 'schema' => ['title' => '产品名称', 'description' => '产品名称。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => 'Test-ECS', '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' => '产品描述。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is a product description.'], ], [ 'name' => 'ProviderName', 'in' => 'formData', 'schema' => ['title' => '提供者名称', 'description' => '产品提供者。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => 'IT team', 'maxLength' => 100, 'minLength' => 1], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProductId' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'example' => 'prod-bp18r7q127****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '更新产品', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:UpdateProduct', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductId\\": \\"prod-bp18r7q127****\\"\\n}","type":"json"}]', ], 'UpdateProductVersion' => [ 'summary' => '更新产品版本。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ProductVersionId', 'in' => 'formData', 'schema' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'required' => true, 'example' => 'pv-bp15e79d26****'], ], [ 'name' => 'ProductVersionName', 'in' => 'formData', 'schema' => ['title' => '产品版本名称', 'description' => '产品版本名称。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => true, 'example' => '1.0', 'maxLength' => 100, 'minLength' => 1], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['title' => '产品版本描述', 'description' => '产品版本描述。'."\n" ."\n" .'长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is a product version description.'], ], [ 'name' => 'Guidance', 'in' => 'formData', 'schema' => ['title' => '推荐信息', 'description' => '推荐信息。取值:'."\n" ."\n" .'- Default(默认值):无。'."\n" .'- Recommended:稳定版。'."\n" .'- Latest:最新版。'."\n" .'- Deprecated:将废弃。', 'type' => 'string', 'required' => false, 'example' => 'Default'], ], [ 'name' => 'Active', 'in' => 'formData', 'schema' => ['title' => '是否启用', 'description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProductVersionId' => ['title' => '产品版本ID', 'description' => '产品版本ID。', 'type' => 'string', 'example' => 'pv-bp15e79d26****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProductVersionId\\": \\"pv-bp15e79d26****\\"\\n}","type":"json"}]', 'title' => '更新产品版本', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:UpdateProductVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], ], ], 'UpdateProvisionedProduct' => [ 'summary' => '更新实例。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'PortfolioId', 'in' => 'formData', 'schema' => ['title' => '产品组合ID', 'description' => '产品组合ID。'."\n" ."\n" .'> 存在默认启动选项时,无需填写PortfolioId。没有默认启动选项时,必须填写PortfolioId。获取PortfolioId的方法,请参见[ListLaunchOptions](~~ListLaunchOptions~~)。', 'type' => 'string', 'required' => false, 'example' => 'port-bp1yt7582g****'], ], [ 'name' => 'ProductId', 'in' => 'formData', 'schema' => ['title' => '产品ID', 'description' => '产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'], ], [ 'name' => 'ProductVersionId', 'in' => 'formData', 'schema' => ['title' => '产品版本ID', 'description' => '产品版本ID。'."\n" ."\n" .'> 当输入的ProductVersionId和Parameters与之前相比,两者都没有变化时,不允许更新实例。', 'type' => 'string', 'required' => true, 'example' => 'pv-bp15e79d26****'], ], [ 'name' => 'Parameters', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'description' => '用户输入的模板参数。'."\n" ."\n" .'N最大值为200。'."\n" ."\n" .'> - Parameters为可选参数。如果需要指定Parameters,则Parameters.N.ParameterKey和Parameters.N.ParameterValue必须同时指定。'."\n" .'> - 当输入的ProductVersionId和Parameters与之前相比,两者都没有变化时,不允许更新实例。'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ParameterKey' => ['description' => '模板中定义的参数名称。', 'type' => 'string', 'required' => false, 'example' => 'instance_type'], 'ParameterValue' => ['description' => '用户输入的模板参数值。', 'type' => 'string', 'required' => false, 'example' => 'ecs.s6-c1m1.small'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 200, ], ], [ 'name' => 'ProvisionedProductId', 'in' => 'formData', 'schema' => ['title' => '实例ID', 'description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pp-bp1ddg1n2a****'], ], [ 'name' => 'Tags', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'description' => '用户输入的自定义标签。'."\n" ."\n" .'N最大值为20。'."\n" ."\n" .'> - Tags为可选参数。如果需要指定Tags,则Tags.N.Key和Tags.N.Value必须同时指定。'."\n" .'> - 此标签会传递到资源栈中每个支持标签的资源中。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['description' => '用户输入的自定义标签键。'."\n" ."\n" .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'k1'], 'Value' => ['description' => '用户输入的自定义标签值。'."\n" ."\n" .'最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'v1'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F81BF'], 'ProvisionedProductId' => ['title' => '实例ID', 'description' => '实例ID。', 'type' => 'string', 'example' => 'pp-bp1ddg1n2a****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'title' => '更新实例', 'changeSet' => [ ['createdAt' => '2022-11-16T08:01:20.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2022-05-31T07:40:30.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2022-05-27T07:47:13.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProvisionedProduct'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:UpdateProvisionedProduct', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FEEF92D-4052-5202-87D0-3D8EC16F81BF\\",\\n \\"ProvisionedProductId\\": \\"pp-bp1ddg1n2a****\\"\\n}","type":"json"}]', ], 'UpdateProvisionedProductPlan' => [ 'summary' => '更新计划。', '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' => '计划ID。', 'type' => 'string', 'required' => true, 'example' => 'plan-bp1jvmdk2k****'."\n"], ], [ 'name' => 'PortfolioId', 'in' => 'formData', 'schema' => ['title' => '产品组合ID。', 'description' => '产品组合ID。'."\n" .'> 存在默认启动选项时,无需填写PortfolioId。没有默认启动选项时,必须填写PortfolioId。获取PortfolioId的方法,请参见[ListLaunchOptions](~~ListLaunchOptions~~)。', 'type' => 'string', 'required' => false, 'example' => 'port-bp1yt7582g****'."\n"], ], [ 'name' => 'ProductId', 'in' => 'formData', 'schema' => ['title' => '产品ID。', 'description' => '产品ID。', 'type' => 'string', 'required' => true, 'example' => 'prod-bp18r7q127****'."\n"], ], [ 'name' => 'ProductVersionId', 'in' => 'formData', 'schema' => ['title' => '产品版本ID。', 'description' => '产品版本ID。', 'type' => 'string', 'required' => true, 'example' => 'pv-bp15e79d26****'."\n"], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['title' => '计划描述。', 'description' => '计划描述。', 'type' => 'string', 'required' => false, 'example' => 'Used for create ECS'], ], [ 'name' => 'Parameters', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'title' => '用户输入的模板参数。'."\n", 'description' => '用户输入的模板参数。'."\n" ."\n" .'N最大值为200。'."\n" ."\n" .'> Parameters为可选参数。如果需要指定Parameters,则Parameters.N.ParameterKey和Parameters.N.ParameterValue必须同时指定。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ParameterKey' => ['title' => '模板中定义的参数名称。'."\n", 'description' => '模板中定义的参数名称。'."\n", 'type' => 'string', 'required' => false, 'example' => 'instance_type'], 'ParameterValue' => ['title' => '用户输入的模板参数值。'."\n", 'description' => '用户输入的模板参数值。'."\n", 'type' => 'string', 'required' => false, 'example' => 'ecs.s6-c1m1.small'."\n"], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 200, ], ], [ 'name' => 'Tags', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'title' => '用户自定义标签列表。'."\n", 'description' => '用户输入的自定义标签。'."\n" ."\n" .'N最大值为20。'."\n" ."\n" .'> - Tags为可选参数。如果需要指定Tags,则Tags.N.Key和Tags.N.Value必须同时指定。'."\n" .'> - 此标签会传递到资源栈中每个支持标签的资源中。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['title' => '用户自定义标签键。'."\n", 'description' => '用户输入的自定义标签键。'."\n" ."\n" .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'k1'], 'Value' => ['title' => '用户自定义标签值。'."\n", 'description' => '用户输入的自定义标签值。'."\n" ."\n" .'最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'v1'], ], 'required' => false, 'description' => '', ], 'required' => false, 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****'."\n"], 'PlanId' => ['title' => '计划ID', 'description' => '计划ID。', 'type' => 'string', 'example' => 'plan-bp1jvmdk2k****'."\n"], 'ProvisionedProductId' => ['title' => '实例ID', 'description' => '实例ID。', 'type' => 'string', 'example' => 'pp-bp1ddg1n2a****'."\n"], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], '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' => '更新计划', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProvisionedProductPlan'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:UpdateProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'UpdateTagOption' => [ 'summary' => '更新标签选项。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TagOptionId', 'in' => 'formData', 'schema' => ['title' => 'A short description of struct', 'description' => '标签选项ID。', 'type' => 'string', 'required' => true, 'example' => 'tag-bp1u6mdf3d****'], ], [ 'name' => 'Value', 'in' => 'formData', 'schema' => ['description' => '标签选项值。'."\n" ."\n" .'最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'v1', 'maxLength' => 128, 'minLength' => 1], ], [ 'name' => 'Active', 'in' => 'formData', 'schema' => ['description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'TagOptionDetail' => [ 'description' => '标签选项详情。', 'type' => 'object', 'properties' => [ 'Active' => ['description' => '是否启用。取值:'."\n" ."\n" .'- true(默认值):启用。'."\n" .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'], 'TagOptionId' => ['description' => '标签选项ID。', 'type' => 'string', 'example' => 'tag-bp1u6mdf3d****'], 'Key' => ['description' => '用户输入的标签选项键。'."\n" ."\n" .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'example' => 'k1'], 'Value' => ['description' => '用户输入的标签选项值。'."\n" ."\n" .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'example' => 'v1'], 'Owner' => ['description' => '标签选项归属人云账号ID。', 'type' => 'string', 'example' => '133413081827****'], ], ], 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0FEEF92D-4052-5202-87D0-3D8EC16F****'], ], ], ], ], 'errorCodes' => [ 500 => [ ['errorCode' => 'InternalError', 'errorMessage' => 'A system error occurred.', 'description' => '内部错误。'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '更新标签选项', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTagOption'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:UpdateTagOption', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], ], 'endpoints' => [ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'servicecatalog.cn-hangzhou.aliyuncs.com', 'endpoint' => 'servicecatalog.cn-hangzhou.aliyuncs.com', 'vpc' => 'servicecatalog-vpc.cn-hangzhou.aliyuncs.com'], ], 'errorCodes' => [ ['code' => 'CreateStackFailed', 'message' => 'Specified associated properties are not support in the region.', 'http_code' => 400, 'description' => '该地区不支持指定的相关属性。'], ['code' => 'InternalError', 'message' => 'A system error occurred.', 'http_code' => 500, 'description' => '内部错误。'], ['code' => 'InvalidTemplate.InvalidTemplateBody', 'message' => 'One of the input parameters TemplateBody,TemplateURL should be specified.', 'http_code' => 400, 'description' => '需要指定输入参数TemplateBody或TemplateURL。'], ], 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLaunchOptions'], ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateProductWithPortfolio'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProvisionedProductPlan'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePortfolio'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTagOption'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProvisionedProductPlan'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'LaunchProduct'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConstraint'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TerminateProvisionedProduct'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProvisionedProductPlan'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTemplate'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProvisionedProductPlanApprovers'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePortfolio'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociatePrincipalWithPortfolio'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisAssociateTagOptionFromResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProvisionedProductPlans'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApproveProvisionedProductPlan'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelProvisionedProductPlan'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTagOption'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTemplate'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProvisionedProduct'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CopyProduct'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateTagOptionWithResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTagOption'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourcesForTagOption'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProvisionedProductPlan'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProvisionedProduct'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegions'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagOptions'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteProvisionedProductPlan'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTagOption'], ], ], 'ram' => [ 'productCode' => 'ServiceCatalog', 'productName' => '云治理中心', 'ramCodes' => ['servicecatalog'], 'ramLevel' => '资源级', 'ramConditions' => [ [ 'name' => 'servicecatalog:UserLevel', 'schema' => [ 'type' => 'String', 'description' => '可以授权只允许访问当前用户自己的资源', 'enums' => ['self'], ], ], [ 'name' => 'servicecatalog:ApprovalActor', 'schema' => [ 'type' => 'String', 'description' => '可以授权只允许访问需要当前用户自己审批的资源', 'enums' => ['approver'], ], ], ], 'ramActions' => [ [ 'apiName' => 'UpdateProvisionedProductPlan', 'description' => '更新计划', 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:UpdateProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateConstraint', 'description' => '更新约束', 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:UpdateConstraint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'GetAccountInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetAccountInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetProductAsEndUser', 'description' => '终端用户查询产品信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProductAsEndUser', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'GetProvisionedProductPlan', 'description' => '查询计划信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], [ 'apiName' => 'ImportTagOptions', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:ImportTagOptions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'BatchAssociateProductWithPortfolio', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:BatchAssociateProductWithPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#portfolioId}'], ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#productId}'], ], ], ], [ 'apiName' => 'UpdateTagOption', 'description' => '更新标签选项', 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:UpdateTagOption', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateProvisionedProductPlan', 'description' => '创建计划', 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CreateProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteProductVersion', 'description' => '删除产品版本', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DeleteProductVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'UpdateProvisionedProduct', 'description' => '更新实例', 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:UpdateProvisionedProduct', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], [ 'apiName' => 'ListProductsAsAdmin', 'description' => '管理员查询产品列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListProductsAsAdmin', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/*'], ], ], ], [ 'apiName' => 'TerminateProvisionedProduct', 'description' => '终止实例', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:TerminateProvisionedProduct', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], [ 'apiName' => 'CancelProvisionedProductPlan', 'description' => '取消计划', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:CancelProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], [ 'apiName' => 'InitializeServiceCatalog', 'description' => '', 'operationType' => '', 'additionalActions' => [ ['action' => 'ram:CreateServiceLinkedRole', 'validationType' => 'always'], ], 'ramAction' => [ 'action' => 'servicecatalog:InitializeServiceCatalog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateProduct', 'description' => '创建产品', 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CreateProduct', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/*'], ], ], ], [ 'apiName' => 'GetTagOption', 'description' => '查询标签选项信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetTagOption', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteProvisionedProductPlan', 'description' => '删除计划', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DeleteProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], [ 'apiName' => 'GetConstraint', 'description' => '查询约束信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetConstraint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'ListConstraints', 'description' => '查询约束列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'servicecatalog:ListConstraints', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'CreatePortfolio', 'description' => '创建产品组合', 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CreatePortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/*'], ], ], ], [ 'apiName' => 'LaunchProduct', 'description' => '启动产品', 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:LaunchProduct', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/*'], ], ], ], [ 'apiName' => 'GetProvisionedProductParameters', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProvisionedProductParameters', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], [ 'apiName' => 'UpdatePortfolio', 'description' => '更新产品组合', 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:UpdatePortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'GetEnhancedTemplate', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetEnhancedTemplate', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#productId}'], ], ], ], [ 'apiName' => 'CreateConstraint', 'description' => '创建约束', 'operationType' => 'create', 'additionalActions' => [ ['action' => 'ram:PassRole', 'validationType' => 'always'], ], 'ramAction' => [ 'action' => 'servicecatalog:CreateConstraint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'ListProductsAsEndUser', 'description' => '终端用户查询产品列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListProductsAsEndUser', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListProductVersions', 'description' => '查询产品版本列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListProductVersions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'AssociateTagOptionWithResource', 'description' => '将标签选项关联到资源', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:AssociateTagOptionWithResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetGeneratedTemplate', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetGeneratedTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTemplate', 'description' => '查询模板详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetTemplate', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'GetPrincipalPortfolioAssociationForResourceSpec', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetPrincipalPortfolioAssociationForResourceSpec', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'DisassociateProductFromPortfolio', 'description' => '从产品组合中移除产品', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DisassociateProductFromPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'DisAssociateTagOptionFromResource', 'description' => '取消标签选项与资源的关联', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:DisAssociateTagOptionFromResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#portfolioId}'], ['validationType' => 'conditional', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#productId}'], ], ], ], [ 'apiName' => 'DeletePortfolio', 'description' => '删除产品组合', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DeletePortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'DeleteTagOption', 'description' => '删除标签选项', 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:DeleteTagOption', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTemplateDefinition', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetTemplateDefinition', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListPortfolios', 'description' => '查询产品组合列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListPortfolios', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/*'], ], ], ], [ 'apiName' => 'ListPrincipals', 'description' => '查询产品组合已授权的用户和角色列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListPrincipals', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'CopyProduct', 'description' => '复制产品', 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CopyProduct', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#productId}'], ], ], ], [ 'apiName' => 'GetProvisionedProductForResourceSpec', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProvisionedProductForResourceSpec', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], [ 'apiName' => 'CreateTemplate', 'description' => '创建模板', 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CreateTemplate', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetProductPortfolioAssociationForResourceSpec', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProductPortfolioAssociationForResourceSpec', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'ListLaunchOptions', 'description' => '查询启动选项列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'servicecatalog:ListLaunchOptions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'DeleteProduct', 'description' => '删除产品', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DeleteProduct', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'BatchDisassociateProductFromPortfolio', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:BatchDisassociateProductFromPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#portfolioId}'], ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'GetTask', 'description' => '查询任务信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetTask', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], [ 'apiName' => 'ExecuteProvisionedProductPlan', 'description' => '执行计划', 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:ExecuteProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTasks', 'description' => '查询任务列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListTasks', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], [ 'apiName' => 'DeleteConstraint', 'description' => '删除约束', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DeleteConstraint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'GetProvisionedProduct', 'description' => '查询实例信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProvisionedProduct', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], [ 'apiName' => 'ListResourcesForTagOption', 'description' => '查询标签选项关联的资源列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListResourcesForTagOption', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateTagOption', 'description' => '创建标签选项', 'operationType' => '', 'ramAction' => [ 'action' => 'servicecatalog:CreateTagOption', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListUserTypes', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'servicecatalog:ListUserTypes', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'AssociatePrincipalWithPortfolio', 'description' => '创建产品组合授权', 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:AssociatePrincipalWithPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'ListProvisionedProductPlans', 'description' => '查询计划列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'servicecatalog:ListProvisionedProductPlans', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListProvisionedProducts', 'description' => '查询实例列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListProvisionedProducts', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/*'], ], ], ], [ 'apiName' => 'ListProvisionedProductPlanApprovers', 'description' => '查询计划审批人列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListProvisionedProductPlanApprovers', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:UserLevel', 'validationType' => 'always'], ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateProductVersion', 'description' => '创建产品版本', 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:CreateProductVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'UpdateProduct', 'description' => '更新产品', 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:UpdateProduct', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'DisassociatePrincipalFromPortfolio', 'description' => '删除产品组合授权', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'servicecatalog:DisassociatePrincipalFromPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'AssociateProductWithPortfolio', 'description' => '将产品加入产品组合', 'operationType' => 'create', 'ramAction' => [ 'action' => 'servicecatalog:AssociateProductWithPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], [ 'apiName' => 'GetProvisioningParameters', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProvisioningParameters', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'ApproveProvisionedProductPlan', 'description' => '审批计划', 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:ApproveProvisionedProductPlan', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'servicecatalog:ApprovalActor', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ], ], ], [ 'apiName' => 'GetProductAsAdmin', 'description' => '管理员查询产品信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProductAsAdmin', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'UpdateProductVersion', 'description' => '更新产品版本', 'operationType' => 'update', 'ramAction' => [ 'action' => 'servicecatalog:UpdateProductVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'ListTagOptions', 'description' => '查询标签选项列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:ListTagOptions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetProductVersion', 'description' => '查询产品版本信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetProductVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ], ], ], [ 'apiName' => 'GetPortfolio', 'description' => '查询产品组合信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'servicecatalog:GetPortfolio', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ServiceCatalog', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ], ], ], ], 'resourceTypes' => [ ['validationType' => 'always', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/{#ProvisionedProductId}'], ['validationType' => 'always', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/{#ProductId}'], ['validationType' => 'always', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/{#PortfolioId}'], ['validationType' => 'always', 'resourceType' => 'ProvisionedProduct', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/*'], ['validationType' => 'always', 'resourceType' => 'Product', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:product/*'], ['validationType' => 'always', 'resourceType' => 'Portfolio', 'arn' => 'acs:servicecatalog:{#regionId}:{#accountId}:portfolio/*'], ], ], ];