diff options
Diffstat (limited to 'data/en_us/computenestsupplier')
| -rw-r--r-- | data/en_us/computenestsupplier/2021-05-21/api-docs.php | 23464 |
1 files changed, 10789 insertions, 12675 deletions
diff --git a/data/en_us/computenestsupplier/2021-05-21/api-docs.php b/data/en_us/computenestsupplier/2021-05-21/api-docs.php index 995e182..995c861 100644 --- a/data/en_us/computenestsupplier/2021-05-21/api-docs.php +++ b/data/en_us/computenestsupplier/2021-05-21/api-docs.php @@ -1,166 +1,56 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'ComputeNestSupplier', - 'version' => '2021-05-21', - ], + 'info' => ['style' => 'RPC', 'product' => 'ComputeNestSupplier', 'version' => '2021-05-21'], 'directories' => [ [ - 'id' => 305644, - 'title' => null, + 'children' => ['PreLaunchService', 'RegisterService', 'LaunchService', 'GetServiceProvisions', 'GetServiceTemplateParameterConstraints', 'GetServiceEstimateCost', 'WithdrawService', 'GenerateServicePolicy', 'CancelServiceRegistration', 'ListServiceRegistrations'], 'type' => 'directory', - 'children' => [ - 'CreateService', - 'DeleteService', - 'UpdateService', - 'GetService', - 'ListServices', - 'PreLaunchService', - 'RegisterService', - 'LaunchService', - 'GetServiceProvisions', - 'GetServiceTemplateParameterConstraints', - 'GetServiceEstimateCost', - 'WithdrawService', - 'GenerateServicePolicy', - 'CancelServiceRegistration', - 'ListServiceRegistrations', - ], + 'title' => 'Service', ], [ - 'id' => 305660, - 'title' => null, + 'children' => ['ListServiceInstanceUpgradeHistory', 'RollbackServiceInstance', 'CreateServiceInstance', 'UpdateServiceInstanceSpec', 'UpdateServiceInstanceAttribute', 'ModifyServiceInstanceResources', 'UpgradeServiceInstance', 'GetServiceInstance', 'DeployServiceInstance', 'ContinueDeployServiceInstance', 'StartServiceInstance', 'StopServiceInstance', 'RestartServiceInstance', 'ListServiceInstanceDeployDetails', 'ListServiceInstanceResources', 'ListServiceInstanceBill', 'ListServiceInstanceLogs'], 'type' => 'directory', - 'children' => [ - 'ListServiceInstanceUpgradeHistory', - 'RollbackServiceInstance', - 'CreateServiceInstance', - 'DeleteServiceInstances', - 'UpdateServiceInstanceSpec', - 'UpdateServiceInstanceAttribute', - 'ModifyServiceInstanceResources', - 'UpgradeServiceInstance', - 'GetServiceInstance', - 'ListServiceInstances', - 'DeployServiceInstance', - 'ContinueDeployServiceInstance', - 'StartServiceInstance', - 'StopServiceInstance', - 'RestartServiceInstance', - 'ListServiceInstanceDeployDetails', - 'ListServiceInstanceResources', - 'ListServiceInstanceBill', - 'ListServiceInstanceLogs', - ], + 'title' => 'Service instance', ], [ - 'id' => 305680, - 'title' => null, + 'children' => ['DeleteAcrImageRepositories', 'ListArtifactRisks', 'UpdateArtifact', 'DeleteAcrImageTags', 'ListArtifactVersions', 'ReleaseArtifact', 'GetUploadCredentials', 'GetArtifactRepositoryCredentials', 'ListAcrImageTags', 'ListAcrImageRepositories'], 'type' => 'directory', - 'children' => [ - 'DeleteAcrImageRepositories', - 'ListArtifactRisks', - 'CreateArtifact', - 'DeleteArtifact', - 'UpdateArtifact', - 'DeleteAcrImageTags', - 'GetArtifact', - 'ListArtifacts', - 'ListArtifactVersions', - 'ReleaseArtifact', - 'GetUploadCredentials', - 'GetArtifactRepositoryCredentials', - 'ListAcrImageTags', - 'ListAcrImageRepositories', - ], + 'title' => 'Artifact', ], [ - 'id' => 305695, - 'title' => null, + 'children' => ['CreateServiceUsage', 'RejectServiceUsage', 'ApproveServiceUsage', 'ListServiceUsages'], 'type' => 'directory', - 'children' => [ - 'CreateServiceUsage', - 'RejectServiceUsage', - 'ApproveServiceUsage', - 'ListServiceUsages', - ], + 'title' => 'Service usage request', ], [ - 'id' => 305700, - 'title' => null, + 'children' => ['AddServiceSharedAccounts', 'RemoveServiceSharedAccounts', 'ListServiceSharedAccounts', 'UpdateSharedAccountPermission'], 'type' => 'directory', - 'children' => [ - 'AddServiceSharedAccounts', - 'RemoveServiceSharedAccounts', - 'ListServiceSharedAccounts', - 'UpdateSharedAccountPermission', - ], + 'title' => 'Service permission', ], [ - 'id' => 305705, - 'title' => null, + 'children' => ['GetSupplierInformation', 'CreateSupplierRegistration', 'ListSupplierRegistrations', 'UpdateSupplierInformation'], 'type' => 'directory', - 'children' => [ - 'ListTagResources', - 'TagResources', - 'UnTagResources', - 'ListTagValues', - 'ListTagKeys', - ], + 'title' => 'Service provider', ], [ - 'id' => 305711, - 'title' => null, + 'children' => ['PushMeteringData', 'CreateOpsNotice', 'CreateServiceTestTask', 'ListServiceTestTasks', 'ListServiceTestTaskLogs', 'GetServiceTestTask', 'GenerateDefaultServiceTestConfig', 'GetServiceRegistration', 'ListResellers', 'DeleteServiceTestCase', 'GetOpsNotice', 'UpdateServiceTestCase', 'GetNetworkAvailableZones', 'ListServiceTestCases', 'CreateServiceTestCase', 'GetServiceTemplateCriterionIssues', 'ListArtifactBuildLogs', 'ListServiceBuildLogs', 'ListOpsNotices'], 'type' => 'directory', - 'children' => [ - 'GetSupplierInformation', - 'CreateSupplierRegistration', - 'ListSupplierRegistrations', - 'UpdateSupplierInformation', - ], + 'title' => 'Others.', ], [ - 'id' => 305716, - 'title' => null, + 'children' => ['CreateArtifact', 'CreateService', 'DeleteArtifact', 'DeleteService', 'DeleteServiceInstances', 'GetArtifact', 'GetService', 'ListArtifacts', 'ListServiceInstances', 'ListServices', 'ListTagKeys', 'ListTagResources', 'ListTagValues', 'TagResources', 'UnTagResources', 'UpdateService'], + 'title' => 'Others', 'type' => 'directory', - 'children' => [ - 'PushMeteringData', - 'CreateOpsNotice', - 'CreateServiceTestTask', - 'ListServiceTestTasks', - 'ListServiceTestTaskLogs', - 'GetServiceTestTask', - 'GenerateDefaultServiceTestConfig', - 'GetServiceRegistration', - 'ListResellers', - 'DeleteServiceTestCase', - 'GetOpsNotice', - 'UpdateServiceTestCase', - 'GetNetworkAvailableZones', - 'ListServiceTestCases', - 'CreateServiceTestCase', - 'GetServiceTemplateCriterionIssues', - 'ListArtifactBuildLogs', - 'ListServiceBuildLogs', - 'ListOpsNotices', - ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateService' => [ - 'summary' => 'Creates a service.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddServiceSharedAccounts' => [ + 'summary' => 'Adds shared accounts for a service.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -172,580 +62,741 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '36949', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - 'FEATUREcomputenest1Z49ZW', - 'FEATUREcomputenest21Y74A', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '116171', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClientToken', 'in' => 'query', + 'schema' => ['description' => 'A unique identifier that you provide to ensure the idempotence of the request. The token can contain only ASCII characters and cannot be longer than 64 characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4='], + ], + [ + 'name' => 'SharedAccounts', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', + 'description' => 'The shared accounts and their permissions.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserAliUid' => ['description' => 'The UID of the Alibaba Cloud account.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '123456'], + 'Permission' => ['description' => 'The permission type. Valid values:'."\n" + ."\n" + .'- Deployable: The service can be deployed.'."\n" + ."\n" + .'- Accessible: The service can be accessed.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => ' Accessible'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'service-0e6fca6a51a544xxxxxx', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service-63b8a060e9d54cxxxxxx'], ], [ - 'name' => 'DeployType', + 'name' => 'Type', 'in' => 'query', + 'schema' => ['description' => 'The service sharing type. The default value is SharedAccount. Valid values:'."\n" + ."\n" + .'- SharedAccount: The service is shared with a specified account.'."\n" + ."\n" + .'- Reseller: The service is shared with a reseller.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'SharedAccount'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The deployment type of the service. Valid values:'."\n" - ."\n" - .'* ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" - .'* terraform: The service is deployed by using Terraform.'."\n" - .'* ack: The service is deployed by using Container Service for Kubernetes (ACK).'."\n" - .'* spi: The service is deployed by calling a service provider interface (SPI).'."\n" - .'* operation: The service is deployed by using a hosted O\\&M service.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ros', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'E2815213-EA4F-5759-8EA1-56DD051BB3FD'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'AddServiceSharedAccounts', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddServiceSharedAccounts'], + ], + ], + 'ramActions' => [ [ - 'name' => 'DeployMetadata', - 'in' => 'query', - 'schema' => [ - 'description' => 'The storage configurations of the service. The format in which the deployment information of a service is stored varies based on the deployment type of the service. In this case, the deployment information is stored in the JSON string format.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{\\"TemplateConfigs\\":[{\\"Name\\":\\"模板1\\",\\"Url\\":\\"oss://computenest-test/template" '."\n" - .' + ".json?RegionId=cn-beijing\\",\\"PredefinedParameters\\":[{\\"Name\\":\\"低配版\\"," '."\n" - .' + "\\"Parameters\\":{\\"InstanceType\\":\\"ecs.g5.large\\",\\"DataDiskSize\\":40}},{\\"Name\\":\\"高配版\\"," '."\n" - .' + "\\"Parameters\\":{\\"InstanceType\\":\\"ecs.g5.large\\",\\"DataDiskSize\\":200}}]}]}', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:AddServiceSharedAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E2815213-EA4F-5759-8EA1-56DD051BB3FD\\"\\n}","type":"json"}]', + ], + 'ApproveServiceUsage' => [ + 'summary' => 'Approves a service usage request.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ServiceType', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '137563', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service type. Valid values:'."\n" - ."\n" - .'* private: The service is a private service and is deployed within the account of a customer.'."\n" - .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" - .'* operation: The service is a hosted O\\&M service.'."\n" - .'* poc: The service is a trial service.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'private', - 'default' => 'private', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'service-39f4f251e94843xxxxxx'], ], [ - 'name' => 'ServiceInfo', + 'name' => 'UserAliUid', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The service details.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Locale' => [ - 'description' => 'The language of the service. Valid values:'."\n" - ."\n" - .'* zh-CN: Chinese'."\n" - .'* en-US: English'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'zh-CN', - ], - 'ShortDescription' => [ - 'description' => 'The description of the service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TiDB是A公司自主设计、研发的开源分布式关系型数据库。', - ], - 'Image' => [ - 'description' => 'The URL of the service icon.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'http://img.tidb.oss.url', - ], - 'Name' => [ - 'description' => 'The service name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'TiDB Database', - ], - 'LongDescriptionUrl' => [ - 'description' => 'The URL of the detailed description of the service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'http://description.tidb.oss.url'."\n", - ], - 'Agreements' => [ - 'description' => 'Protocol document information about the service.', - 'type' => 'array', - 'items' => [ - 'description' => 'Protocol document information about the service.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Protocol name.', - 'type' => 'string', - 'required' => false, - 'example' => 'Name', - ], - 'Url' => [ - 'description' => 'Protocol url.', - 'type' => 'string', - 'required' => false, - 'example' => 'https://aliyun.com/xxxxxxxx.html', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 10, - ], - 'Softwares' => [ - 'description' => 'The list of the software in the service.', - 'type' => 'array', - 'items' => [ - 'description' => 'The list of the software in the service.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the software.', - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', - ], - 'Version' => [ - 'description' => 'The version of the software.', - 'type' => 'string', - 'required' => false, - 'example' => '5.7', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 10, - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 5, - ], + 'schema' => ['description' => 'The UID of the user\'s Alibaba Cloud account.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '127383705958xxxx'], ], [ - 'name' => 'IsSupportOperated', + 'name' => 'Comments', + 'in' => 'query', + 'schema' => ['description' => 'The approval comments.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Welcome to ComputeNest service'], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'A client token that ensures the idempotence of the request. Generate a unique value from your client for each request. The token can contain only ASCII characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9D51H'], + ], + [ + 'name' => 'Type', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to enable the hosted O\\&M feature for the service. Default value: false. Valid values:'."\n" + 'description' => 'The service sharing type. The default value is SharedAccount. Valid values:'."\n" ."\n" - .'* true'."\n" - .'* false'."\n" + .'- SharedAccount: The regular sharing type.'."\n" ."\n" - .'> This parameter is required if you set **ServiceType** to **private**.'."\n", - 'type' => 'boolean', + .'- Reseller: The reseller sharing type.', + 'type' => 'integer', + 'format' => 'int32', 'required' => false, - 'example' => 'false', + 'enumValueTitles' => ['Reseller' => 'Reseller', 'SharedAccount' => 'SharedAccount'], + 'title' => '', + 'example' => 'SharedAccount', ], ], [ - 'name' => 'PolicyNames', + 'name' => 'RegionId', 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The policy name. The name can be up to 128 characters in length. Separate multiple names with commas (,). Only hosted O\\&M policies are supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'policyName1, policyName2', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', + 'title' => 'ApproveServiceUsage', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApproveServiceUsage'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Duration', - 'in' => 'query', - 'schema' => [ - 'description' => 'The duration for which hosted O\\&M is implemented. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:ApproveServiceUsage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], ], ], + ], + 'translator' => 'manual', + ], + 'CancelServiceRegistration' => [ + 'summary' => 'Cancels a service review request.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AlarmMetadata', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '36945', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The alert configurations of the service.'."\n" - ."\n" - .'> This parameter takes effect only when you specify an alert policy for **PolicyNames**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "TemplateUrl": "http://template.file.url",'."\n" - .' // 应用分组级别告警元数据'."\n" - .' "ApplicationGroups": ['."\n" - .' {'."\n" - .' "Name": "applicationGroup1",'."\n" - .' "TemplateUrl": "url1"'."\n" - .' },'."\n" - .' {'."\n" - .' "Name": "applicationGroup2",'."\n" - .' "TemplateUrl": "url2"'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ShareType', + 'name' => 'RegistrationId', 'in' => 'query', - 'schema' => [ - 'description' => 'The permission type of the deployment URL. Valid values:'."\n" - ."\n" - .'* Public: All users can go to the URL to create a service instance or a trial service instance.'."\n" - .'* Restricted: Only users in the whitelist can go to the URL to create a service instance or a trial service instance.'."\n" - .'* OnlyFormalRestricted: Only users in the whitelist can go to the URL to create a service instance.'."\n" - .'* OnlyTrailRestricted: Only users in the whitelist can go to the URL to create a trial service instance.'."\n" - .'* Hidden: Users not in the whitelist cannot see the service details page when they go to the URL and cannot request deployment permissions.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Public', - ], + 'schema' => ['description' => 'The ID of the service review request.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'sr-540930183f93xxxxxx'], ], [ - 'name' => 'ApprovalType', + 'name' => 'ClientToken', 'in' => 'query', + 'schema' => ['description' => 'A client token to ensure the idempotence of the request. Generate a unique value from your client. This value must be unique for each request and can contain only ASCII characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU='], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The approval type of the service usage application. Valid values:'."\n" - ."\n" - .'* Manual: The application is manually approved.'."\n" - .'* AutoPass: The application is automatically approved.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Manual', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C4A145D8-6F6C-532A-9001-9730CDA27578'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'CancelServiceRegistration', + 'description' => 'Service review requests can be canceled only if they are in the Submitted state.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelServiceRegistration'], + ], + ], + 'ramActions' => [ [ - 'name' => 'VersionName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The version name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Draft', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:CancelServiceRegistration', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceRegistration', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/{#ServiceRegistrationId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4A145D8-6F6C-532A-9001-9730CDA27578\\"\\n}","type":"json"}]', + ], + 'ContinueDeployServiceInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'UpgradeMetadata', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '136363', + 'abilityTreeNodes' => ['FEATUREcomputenestVUFVAC'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The metadata about the upgrade.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{\\"Description\\":\\"xxx\\",\\"SupportRollback\\":true,\\"SupportUpgradeFromVersions\\":[],\\"UpgradeComponents\\":[\\"Configuration\\"]}', - ], + 'schema' => ['description' => 'The client token that ensures the idempotence of the request. Generate a unique value from your client for this parameter. The token can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-426655440000'], ], [ - 'name' => 'TrialDuration', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The trial duration. Unit: day. The maximum trial duration cannot exceed 30 days.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '7', - ], + 'schema' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'si-0e6fca6a51a54420****'], ], [ - 'name' => 'Tag', + 'name' => 'RegionId', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'schema' => ['description' => 'The configuration parameters of the service instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"NodeCount": 3, "SystemDiskSize": 40, "InstancePassword": "******"}'], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to perform a dry run for the request. The dry run checks for permissions, the instance status, and other items. Valid values:'."\n" + ."\n" + .'- true: Sends a dry run request. The deployment of the service instance does not continue.'."\n" + ."\n" + .'- false: Sends a regular request. The deployment of the service instance continues after the request passes the check.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The custom tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The custom tags.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Usage', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Web', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '82DF27ED-E538-5AC0-A11C-39334A873189'], + 'DryRunResult' => [ + 'description' => 'The result of the dry run.', + 'type' => 'object', + 'properties' => [ + 'ParametersNotAllowedToBeModified' => [ + 'description' => 'The parameters that cannot be modified. An error is reported if you modify these parameters.'."\n" + ."\n" + .'> This parameter is returned only when DryRun is set to true.', + 'type' => 'array', + 'items' => ['description' => 'The parameters that cannot be modified. An error is reported if you modify these parameters.'."\n" + ."\n" + .'> This parameter is returned only when DryRun is set to true.', 'type' => 'string', 'title' => '', 'example' => 'cidr'], + 'title' => '', + 'example' => '', + ], + 'ParametersConditionallyAllowedToBeModified' => [ + 'description' => 'The parameters that can be conditionally modified. Whether an error is reported depends on the new values of these parameters.'."\n" + ."\n" + .'> This parameter is returned only when DryRun is set to true.', + 'type' => 'array', + 'items' => ['description' => 'The parameters that can be conditionally modified. Whether an error is reported depends on the new values of these parameters.'."\n" + ."\n" + .'> This parameter is returned only when DryRun is set to true.', 'type' => 'string', 'title' => '', 'example' => 'name'], + 'title' => '', + 'example' => '', + ], + 'ParametersAllowedToBeModified' => [ + 'description' => 'The parameters that can be modified. No error is reported if you modify these parameters.'."\n" + ."\n" + .'> This parameter is returned only when DryRun is set to true.', + 'type' => 'array', + 'items' => ['description' => 'The parameters that can be modified. No error is reported if you modify these parameters.'."\n" + ."\n" + .'> This parameter is returned only when DryRun is set to true.', 'type' => 'string', 'title' => '', 'example' => 'description'], + 'title' => '', + 'example' => '', + ], ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'ServiceInstanceId' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'title' => '', 'example' => 'si-d6ab3a63ccbb4b17****'], ], - 'required' => false, - 'maxItems' => 20, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ContinueDeployServiceInstance', + 'summary' => 'Continues the deployment of a service instance after a deployment failure. You must specify the region ID, service ID, and the configuration parameters for the service instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ContinueDeployServiceInstance'], + ], + ], + 'ramActions' => [ [ - 'name' => 'TenantType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the tenant. Valid values:'."\n" - ."\n" - .'* SingleTenant'."\n" - .'* MultiTenant'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SingleTenant', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:ContinueDeployServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82DF27ED-E538-5AC0-A11C-39334A873189\\",\\n \\"DryRunResult\\": {\\n \\"ParametersNotAllowedToBeModified\\": [\\n \\"cidr\\"\\n ],\\n \\"ParametersConditionallyAllowedToBeModified\\": [\\n \\"name\\"\\n ],\\n \\"ParametersAllowedToBeModified\\": [\\n \\"description\\"\\n ]\\n },\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\"\\n}","type":"json"}]', + ], + 'CreateArtifact' => [ + 'summary' => 'Creates an artifact.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'LicenseMetadata', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '131218', + 'abilityTreeNodes' => ['FEATUREcomputenest4Y9BYP'], + ], + 'parameters' => [ + [ + 'name' => 'ArtifactId', 'in' => 'query', - 'schema' => [ - 'description' => 'The license metadata.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{\\"RetentionDays\\":3}', - ], + 'schema' => ['description' => 'The artifact ID.'."\n" + ."\n" + .'This parameter is required to create a new version of an existing artifact.'."\n" + ."\n" + .'You can call the [ListArtifacts](~~469993~~) operation to obtain the artifact ID.', 'type' => 'string', 'required' => false, 'example' => 'artifact-eea08d1e2d3a43ae****', 'title' => ''], ], [ - 'name' => 'OperationMetadata', + 'name' => 'ArtifactType', 'in' => 'query', - 'schema' => [ - 'description' => 'The hosted O\\&M configurations.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{\\"PrometheusConfigMap\\":{\\"New_Vpc_Ack_And_Jumpserver\\":{}}}', - ], + 'schema' => ['description' => 'The artifact type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- EcsImage: an ECS image artifact.'."\n" + ."\n" + .'- AcrImage: a container image artifact.'."\n" + ."\n" + .'- File: an Object Storage Service (OSS) file artifact.'."\n" + ."\n" + .'- Script: a script artifact.'."\n" + ."\n" + .'- HelmChart: a Helm chart artifact.', 'type' => 'string', 'required' => true, 'example' => 'EcsImage', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'ArtifactBuildType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek25refu7r3opq', - ], + 'schema' => ['description' => 'The type of the artifact to be built. Valid values:'."\n" + ."\n" + .'- EcsImage: builds an ECS image.'."\n" + ."\n" + .'- Dockerfile: builds a container image based on a Dockerfile.'."\n" + ."\n" + .'- Buildpacks: builds a container image based on Buildpacks.'."\n" + ."\n" + .'- ContainerImage: builds a container image by renaming an existing container image.', 'type' => 'string', 'required' => false, 'example' => 'Dockerflie', 'title' => ''], ], [ - 'name' => 'LogMetadata', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'The logging configurations.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{ "Logstores": \\[ { "LogstoreName": "access-log", "LogPath": "/home/admin/app/logs", # This parameter is not required for containers. Configure the parameter in the YAML file. "FilePattern": "access.log\\*" # This parameter is not required for containers. Configure the parameter in the YAML file. } ] }'."\n", - ], + 'schema' => ['description' => 'The artifact name.', 'type' => 'string', 'example' => 'Redhat8_5 image', 'required' => true, 'title' => ''], ], [ - 'name' => 'SourceServiceId', + 'name' => 'VersionName', 'in' => 'query', - 'schema' => [ - 'description' => 'The source service ID for resell。', - 'type' => 'string', - 'required' => false, - 'example' => 'service-70a3b15bb62643xxxxxx', - ], + 'schema' => ['description' => 'The name of the artifact version.', 'type' => 'string', 'required' => true, 'example' => 'v1', 'title' => ''], ], [ - 'name' => 'SourceServiceVersion', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The source service version for resell。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The description of the artifact.', 'type' => 'string', 'example' => 'Redhat8_0 image', 'required' => false, 'title' => ''], ], [ - 'name' => 'Resellable', + 'name' => 'ArtifactProperty', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'Whether resell is supported.', - 'type' => 'boolean', + 'description' => 'The content of the artifact.', + 'type' => 'object', + 'properties' => [ + 'Url' => ['description' => 'The URL of the file artifact.'."\n" + ."\n" + .'Upload a file and obtain its URL in the [Object Storage Service console](https://oss.console.aliyun.com/bucket).', 'type' => 'string', 'required' => false, 'example' => 'https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852876****/template/2e1ce8fc-****-481c-9e8e-789ba9db487d.json', 'title' => ''], + 'RegionId' => ['description' => 'The region of the image.'."\n" + ."\n" + .'> This parameter can be set only when the artifact is an image artifact.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'ImageId' => ['description' => 'The image ID.'."\n" + ."\n" + .'After you specify a region ID, call the [DescribeImages](~~2679797~~) operation to view the available image IDs in the specified region.'."\n" + ."\n" + .'> This parameter can be set only when the artifact is an image artifact.', 'type' => 'string', 'required' => false, 'example' => 'm-uf645fnsef9dsxmw****', 'title' => ''], + 'CommodityCode' => ['description' => 'The commodity code of the product in Alibaba Cloud Marketplace.'."\n" + ."\n" + .'Obtain the commodity code in the [Alibaba Cloud Marketplace console](https://market.console.aliyun.com/?spm=a2c4g.11186623.0.0.599d6787eMBBxu#/apiTools?_k=d7j8gk).'."\n" + ."\n" + .'> This parameter can be set only when the artifact is an image artifact.', 'type' => 'string', 'required' => false, 'example' => 'cmjj00****', 'title' => ''], + 'CommodityVersion' => ['description' => 'The version of the product in Alibaba Cloud Marketplace.'."\n" + ."\n" + .'View the product version on the [Alibaba Cloud Marketplace](https://market.aliyun.com/?spm=5176.24779694.0.0.b2144d22sksKM5) page.'."\n" + ."\n" + .'> This parameter can be set only when the artifact is an image artifact.', 'type' => 'string', 'required' => false, 'example' => 'V1.0', 'title' => ''], + 'RepoName' => ['description' => 'The name of the image repository.'."\n" + ."\n" + .'> This parameter can be set only when the artifact is a container image artifact or a Helm chart artifact.', 'type' => 'string', 'required' => false, 'example' => 'wordpress', 'title' => ''], + 'RepoId' => ['description' => 'The ID of the image repository.'."\n" + ."\n" + .'Call the [ListAcrImageRepositories](~~2539919~~) operation to obtain the image repository ID.'."\n" + ."\n" + .'> This parameter can be set only when the artifact is a container image artifact or a Helm chart artifact.', 'type' => 'string', 'required' => false, 'example' => 'crr-d8o1nponyc2t****', 'title' => ''], + 'Tag' => ['description' => 'The version of the image in the image repository.'."\n" + ."\n" + .'Call the [ListAcrImageTags](~~2539920~~) operation to obtain the version of the image in the image repository.'."\n" + ."\n" + .'> This parameter can be set only when the artifact is a container image artifact or a Helm chart artifact.', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''], + 'RepoType' => ['description' => 'The type of the repository. Valid values: Public and Private.', 'type' => 'string', 'required' => false, 'example' => 'Public', 'title' => ''], + ], 'required' => false, - 'example' => 'false', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'BuildParameters', + 'name' => 'SupportRegionIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The parameters for building the service', - 'type' => 'string', + 'description' => 'The regions where the image can be distributed.', + 'type' => 'array', + 'items' => ['description' => 'The region where the image can be distributed.'."\n" + ."\n" + .'> This parameter can be set only when the artifact is an ECS image artifact.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], 'required' => false, - 'example' => '{ "ServiceTemplateId": "st-xxxxx"}', + 'maxItems' => 30, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DryRun', + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2jfvb7b****', 'title' => ''], + ], + [ + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'Specifies whether to perform only a dry run for the request to check information. Valid values:'."\n" - ."\n" - .'* true: performs a dry run for the request, but does not create a service.'."\n" - .'* false: performs a dry run for the request, and create a service if the request passes the dry run.', - 'type' => 'boolean', + 'description' => 'The custom tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The custom tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key1', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'true', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ComplianceMetadata', + 'name' => 'ArtifactBuildProperty', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'Compliance check metadata.', + 'description' => 'The content used to build the artifact. This parameter is used for managed artifact builds.', 'type' => 'object', 'properties' => [ - 'CompliancePacks' => [ - 'description' => 'The compliance package selected.', + 'CommandType' => ['description' => 'The command type. Valid values:'."\n" + ."\n" + .'- RunBatScript: The command is a BAT script that runs on a Windows instance.'."\n" + ."\n" + .'- RunPowerShellScript: The command is a PowerShell script that runs on a Windows instance.'."\n" + ."\n" + .'- RunShellScript: The command is a shell script that runs on a Linux instance.'."\n" + ."\n" + .'> This parameter can be set only when the artifact is an ECS image artifact.', 'type' => 'string', 'required' => false, 'example' => 'RunShellScript', 'title' => ''], + 'CommandContent' => ['description' => 'The content of the command.'."\n" + ."\n" + .'> This parameter can be set only when the artifact is an ECS image artifact.', 'type' => 'string', 'required' => false, 'example' => 'echo "start run command"', 'title' => ''], + 'SourceImageId' => ['description' => 'The source image ID. The following types are supported:'."\n" + ."\n" + .'- Image ID: The ID of the ECS image.'."\n" + ."\n" + .'- OOS public parameter name: The image ID is automatically obtained based on the name of the Operation Orchestration Service (OOS) public parameter.'."\n" + ."\n" + .'> This parameter can be set only when the artifact is an ECS image artifact.', 'type' => 'string', 'example' => 'Image ID: m-t4nhenrdc38pe4*****'."\n" + .'ubuntu_22_04_x64_20G_alibase_20240926.vhd'."\n" + .'OOS public parameter name: aliyun/services/computenest/images/aliyun_3_2104_python_3_11', 'required' => false, 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region where the source image is located.'."\n" + ."\n" + .'> This parameter can be set only when the artifact is an ECS image artifact.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'CodeRepo' => [ + 'description' => 'The code repository address.'."\n" + ."\n" + .'> This parameter can be set only when ArtifactBuildType is set to Dockerfile or Buildpacks.', + 'type' => 'object', + 'properties' => [ + 'Platform' => ['description' => 'The platform where the code repository is located. Valid values:'."\n" + ."\n" + .'- github'."\n" + ."\n" + .'- gitee'."\n" + ."\n" + .'- gitlab'."\n" + ."\n" + .'- codeup', 'type' => 'string', 'required' => false, 'example' => 'github', 'title' => ''], + 'RepoName' => ['description' => 'The repository name.', 'type' => 'string', 'required' => false, 'example' => 'aliyun-computenest/quickstart-Lobexxx', 'title' => ''], + 'Owner' => ['description' => 'The owner of the code repository.'."\n" + ."\n" + .'> This parameter is required only when the code repository is a private repository.', 'type' => 'string', 'required' => false, 'example' => 'aliyun-computenest', 'title' => ''], + 'Branch' => ['description' => 'The name of the code repository branch.', 'type' => 'string', 'required' => false, 'example' => 'main', 'title' => ''], + 'Endpoint' => ['description' => 'The endpoint. This parameter is required for a private GitLab deployment.', 'type' => 'string', 'required' => false, 'example' => 'http://121.40.25.0', 'title' => ''], + 'OrgId' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => false, 'example' => '455231'."\n", 'title' => ''], + 'RepoId' => ['description' => 'The repository ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '103'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'DockerfilePath' => ['description' => 'The relative address of the Dockerfile file in the code repository.'."\n" + ."\n" + .'Default value: Dockerfile.'."\n" + ."\n" + .'> This parameter can be set only when ArtifactBuildType is set to Dockerfile.', 'type' => 'string', 'required' => false, 'example' => './file/Dockerfile', 'title' => ''], + 'BuildArgs' => [ + 'description' => 'The build arguments.'."\n" + ."\n" + .'> This parameter can be set only when ArtifactBuildType is set to Dockerfile.', 'type' => 'array', 'items' => [ - 'description' => 'The compliance package selected.', - 'type' => 'string', + 'description' => 'Used for docker build --build-arg.', + 'type' => 'object', + 'properties' => [ + 'ArgumentName' => ['description' => 'The name of the build argument.', 'type' => 'string', 'required' => false, 'example' => 'ENV', 'title' => ''], + 'ArgumentValue' => ['description' => 'The value of the build argument.', 'type' => 'string', 'required' => false, 'example' => 'nginx:latest', 'title' => ''], + ], 'required' => false, - 'example' => 'VpcDataRisk', + 'title' => '', + 'example' => '', ], 'required' => false, - 'maxItems' => 10, + 'title' => '', + 'example' => '', ], + 'SourceContainerImage' => ['description' => 'The pull address of the source container image.'."\n" + ."\n" + .'Used for docker pull ${SourceContainerImage}.'."\n" + ."\n" + .'> This parameter can be set only when ArtifactBuildType is set to ContainerImage.', 'type' => 'string', 'required' => false, 'example' => 'pytorch/pytorch:2.5.1-cuda12.4-cudnn9-devel'."\n", 'title' => ''], + 'SystemDiskSize' => ['description' => 'The size of the system disk. Unit: GiB.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '40', 'title' => ''], + 'EnableGpu' => ['description' => 'Specifies whether to use a GPU-accelerated instance. By default, a CPU-powered instance is used.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'Ensures the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => '10CM943JP0EN9D51H', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the service.'."\n", - 'type' => 'string', - 'example' => 'Created', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', - ], - 'Version' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'example' => 'draft', - ], - 'ServiceId' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'example' => 'service-0e6fca6a51a544xxxxxx', - ], - 'DryRunResult' => [ - 'description' => 'The dry run result.'."\n", - 'type' => 'object', - 'properties' => [ - 'RolePolicy' => [ - 'description' => 'The required ram policy for deploying role.', - 'type' => 'object', - 'properties' => [ - 'Policy' => [ - 'description' => 'The required ram policy for deploying role.', - 'type' => 'string', - 'example' => '{'."\n" - .' "Statement": [{'."\n" - .' "Action": ["oos:CancelExecutions", "oos:DeleteExecutions", "oos:GetTemplate", "oos:ListExecutions", "oos:ListTemplates", "oos:NotifyExecution", "oos:StartExecution"],'."\n" - .' "Effect": "Allow",'."\n" - .' "Resource": "*"'."\n" - .' }, {'."\n" - .' "Action": ["ram:PassRole"],'."\n" - .' "Effect": "Allow",'."\n" - .' "Resource": "*"'."\n" - .' }, {'."\n" - .' "Action": ["ros:CreateStack", "ros:GetStack", "ros:UpdateStack", "ros:ListStackEvents", "ros:ListStackResources", "ros:ListStackResources", "ros:DeleteStack", "ram:GetRole"],'."\n" - .' "Effect": "Allow",'."\n" - .' "Resource": "*"'."\n" - .' }],'."\n" - .' "Version": "1"'."\n" - .'}', - ], - 'MissingPolicy' => [ - 'description' => 'The missing ram policy for deploying role.', - 'type' => 'array', - 'items' => [ - 'description' => 'The missing ram policy for deploying role.', - 'type' => 'object', - 'properties' => [ - 'ServiceName' => [ - 'description' => 'The service name in ram policy.', - 'type' => 'string', - 'example' => 'ecs', - ], - 'Resource' => [ - 'description' => 'Resource in ram policy.', - 'type' => 'string', - 'example' => '*', - ], - 'Action' => [ - 'description' => 'The Actions.', - 'type' => 'array', - 'items' => [ - 'description' => 'The action in ram policy.', - 'type' => 'string', - 'example' => 'CreateStack', - ], - ], - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C', 'title' => ''], + 'ArtifactId' => ['description' => 'The artifact ID.', 'type' => 'string', 'example' => 'artifact-eea08d1e2d3a43ae****', 'title' => ''], + 'ArtifactType' => ['description' => 'The artifact type.', 'type' => 'string', 'example' => 'EcsImage', 'title' => ''], + 'Name' => ['description' => 'The artifact name.', 'type' => 'string', 'example' => 'Redhat8_5 image', 'title' => ''], + 'VersionName' => ['description' => 'The name of the artifact version.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'ArtifactVersion' => ['description' => 'The artifact version.', 'type' => 'string', 'example' => '2', 'title' => ''], + 'Description' => ['description' => 'The description of the artifact.', 'type' => 'string', 'example' => 'Redhat8_0 image', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the artifact was modified.', 'type' => 'string', 'example' => '2022-11-11T12:00:00Z', 'title' => ''], + 'Status' => ['description' => 'The status of the artifact.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'MaxVersion' => ['description' => 'The latest version of the artifact.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'ArtifactProperty' => ['description' => 'The content of the artifact.', 'type' => 'string', 'example' => '{\\"CommodityCode\\":\\"cmjj0005****\\",\\"CommodityVersion\\":\\"V2022****\\"}', 'title' => ''], + 'SupportRegionIds' => ['description' => 'The IDs of the regions to which the artifact is distributed.', 'type' => 'string', 'example' => '['."\n" + .' "cn-beijing",'."\n" + .' "cn-hangzhou",'."\n" + .' "cn-shanghai"'."\n" + .' ]', 'title' => ''], + 'StatusDetail' => ['description' => 'The description of the artifact status.', 'type' => 'string', 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"', 'title' => ''], + 'ArtifactBuildProperty' => ['description' => 'The content used to build the artifact. This parameter is used for managed artifact builds.', 'type' => 'string', 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"', 'title' => ''], + 'ArtifactBuildType' => ['description' => 'The type of the built artifact.', 'type' => 'string', 'example' => 'Dockerfile', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Created\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"Version\\": \\"draft\\",\\n \\"ServiceId\\": \\"service-0e6fca6a51a544xxxxxx\\",\\n \\"DryRunResult\\": {\\n \\"RolePolicy\\": {\\n \\"Policy\\": \\"{\\\\n\\\\t\\\\\\"Statement\\\\\\": [{\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"oos:CancelExecutions\\\\\\", \\\\\\"oos:DeleteExecutions\\\\\\", \\\\\\"oos:GetTemplate\\\\\\", \\\\\\"oos:ListExecutions\\\\\\", \\\\\\"oos:ListTemplates\\\\\\", \\\\\\"oos:NotifyExecution\\\\\\", \\\\\\"oos:StartExecution\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ram:PassRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ros:CreateStack\\\\\\", \\\\\\"ros:GetStack\\\\\\", \\\\\\"ros:UpdateStack\\\\\\", \\\\\\"ros:ListStackEvents\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:DeleteStack\\\\\\", \\\\\\"ram:GetRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}],\\\\n\\\\t\\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\",\\n \\"MissingPolicy\\": [\\n {\\n \\"ServiceName\\": \\"ecs\\",\\n \\"Resource\\": \\"*\\",\\n \\"Action\\": [\\n \\"CreateStack\\"\\n ]\\n }\\n ]\\n }\\n }\\n}","type":"json"}]', - 'title' => 'CreateService', - ], - 'DeleteService' => [ - 'summary' => 'Deletes a service.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\",\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"Name\\": \\"Redhat8_5 image\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0 image\\",\\n \\"GmtModified\\": \\"2022-11-11T12:00:00Z\\",\\n \\"Status\\": \\"Created\\",\\n \\"MaxVersion\\": 1,\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\"\\\\n\\\\t\\\\t]\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\",\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"ArtifactBuildType\\": \\"Dockerfile\\"\\n}","type":"json"}]', + 'title' => 'CreateArtifact', + 'changeSet' => [ + ['createdAt' => '2025-07-11T02:09:15.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-06-16T06:48:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-03-12T08:02:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-16T06:10:12.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-05T03:44:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-02T01:51:34.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-11-06T03:11:35.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-11-06T02:59:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-08T10:35:41.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-07-27T09:03:27.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateArtifact'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateArtifact', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:artifact/{#ArtifactId}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'CreateOpsNotice' => [ + 'summary' => 'Creates an operations and maintenance (O&M) notice.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -754,60 +805,96 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', + 'operationType' => 'create', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '36943', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - 'FEATUREcomputenest1Z49ZW', - 'FEATUREcomputenest21Y74A', - ], + 'abilityTreeCode' => '155234', + 'abilityTreeNodes' => ['FEATUREcomputenestLT7VZ3'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => 'The region ID.', 'title' => '', 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'A client token to ensure that the request is idempotent. Generate a unique token for each request. The token can contain only ASCII characters. Note: If you do not set this parameter, the system uses the RequestId as the ClientToken. The RequestId may be different for each request.', 'title' => '', 'example' => '10CM943JP0EN9D51H'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => 'The type of the notice. Valid values:'."\n" + ."\n" + .'- ServiceInstanceUpgrade: Upgrade'."\n" + ."\n" + .'- VulnerabilityFix: Vulnerability', 'title' => '', 'example' => 'ServiceInstanceUpgrade'], ], [ 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-0e6fca6a51a54420****', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The service ID.', 'title' => '', 'example' => 'service-0e6fca6a51a54420****'], ], [ 'name' => 'ServiceVersion', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The service version.', 'required' => false, 'title' => '', 'example' => '2'], 'docRequired' => true, - 'example' => '2', + 'maxItems' => 100, + 'description' => 'The service versions to which the notice applies.', + 'required' => true, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ClientToken', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The category of the notice. Valid values:'."\n" + ."\n" + .'- Availability'."\n" + ."\n" + .'- Cost'."\n" + ."\n" + .'- Performance'."\n" + ."\n" + .'- Recovery'."\n" + ."\n" + .'- Security', 'title' => '', 'example' => 'Availability'], + ], + [ + 'name' => 'Severity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The severity level of the notice. Valid values:'."\n" + ."\n" + .'- Critical'."\n" + ."\n" + .'- High'."\n" + ."\n" + .'- Medium'."\n" + ."\n" + .'- Low', 'title' => '', 'example' => 'High'], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The content of the notice.', 'title' => '', 'example' => 'content'], + ], + [ + 'name' => 'Solutions', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'The solution.', 'required' => false, 'title' => '', 'example' => 'You need to upgrade the service instance'], + ], + [ + 'name' => 'Attributes', + 'in' => 'query', + 'style' => 'json', + 'schema' => ['type' => 'object', 'description' => 'The properties of the O\\&M item.', 'required' => false, 'title' => '', 'example' => '{"cveId":"CVE-2021-4034"}'], ], ], 'responses' => [ @@ -815,32 +902,38 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****', - ], + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\"\\n}","type":"json"}]', - 'title' => 'DeleteService', - ], - 'UpdateService' => [ - 'summary' => 'Update a service.', - 'methods' => [ - 'post', - 'get', + 'title' => 'CreateOpsNotice', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateOpsNotice', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'OpsNotice', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:opsnotice/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\"\\n}","type":"json"}]', + ], + 'CreateService' => [ + 'summary' => 'Creates a service by specifying parameters, such as the region ID, deployment type, service type, and service name.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -849,99 +942,61 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '36950', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '36949', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818', 'FEATUREcomputenest1Z49ZW', 'FEATUREcomputenest21Y74A'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'DeployType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The deployment type of the service. Valid values:'."\n" - ."\n" - .'ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" - .'terraform: The service is deployed by using Terraform.'."\n" - .'ack: The service is deployed by using Container Service for Kubernetes (ACK).'."\n" - .'spi: The service is deployed by calling a service provider interface (SPI).'."\n" - .'operation: The service is deployed by using a hosted O&M service.', - 'type' => 'string', - 'required' => false, - 'example' => 'ros', - ], - ], - [ - 'name' => 'DeployMetadata', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The deployment configurations of the service. The format in which the deployment information of a service is stored varies based on the deployment type of the service. In this case, the deployment information is stored in the JSON string format.', - 'type' => 'string', - 'required' => false, - 'example' => '{\\"EstimateTime\\":null,\\"SupplierDeployMetadata\\":{\\"DeployTimeout\\":7200},\\"EnableVnc\\":false}', - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request. Generate a unique value for this parameter from your client. \\`ClientToken\\` supports only ASCII characters.', 'type' => 'string', 'required' => false, 'example' => '10CM943JP0EN9D51H', 'title' => ''], ], [ - 'name' => 'AlarmMetadata', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The alert configurations of the service.'."\n" - ."\n" - .'> This parameter takes effect only when you specify an alert policy for **PolicyNames**.', - 'type' => 'string', - 'required' => false, - 'example' => '{\\"CmsTemplateId\\":1162921,\\"TemplateUrl\\":\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/1760465342xxxxxx/template/c072ef50-6c03-4d9c-8f0e-d1c440xxxxxx.json\\"}', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => false, 'example' => 'service-0e6fca6a51a544xxxxxx', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'DeployType', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'example' => '788E7CP0EN9D51P', - ], + 'schema' => ['description' => 'The deployment type. Valid values:'."\n" + ."\n" + .'- ros: The service is deployed using ROS.'."\n" + ."\n" + .'- terraform: The service is deployed using Terraform.'."\n" + ."\n" + .'- ack: The service is deployed using ACK.'."\n" + ."\n" + .'- spi: The service is deployed by invoking an SPI.'."\n" + ."\n" + .'- operation: The service is an O\\&M service.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ros', 'title' => ''], ], [ - 'name' => 'ServiceId', + 'name' => 'DeployMetadata', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-1dda29c3eca648xxxxxx', - ], + 'schema' => ['description' => 'The deployment configuration of the service. The information stored varies by deployment type. Different deployment types have different data formats. The data is stored in a JSON string.', 'type' => 'string', 'example' => '{"TemplateConfigs":[{"Name":"Template 1","Url":"oss://computenest-test/template.json?RegionId=cn-beijing","PredefinedParameters":[{"Name":"Basic","Parameters":{"InstanceType":"ecs.g5.large","DataDiskSize":40}},{"Name":"Advanced","Parameters":{"InstanceType":"ecs.g5.large","DataDiskSize":200}}]}]}', 'required' => false, 'title' => ''], ], [ 'name' => 'ServiceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The service type. Valid values:'."\n" - ."\n" - .'* private: The service is a private service and is deployed within the account of a customer.'."\n" - .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" - .'* operation: The service is a hosted O\\&M service.', - 'type' => 'string', - 'required' => false, - 'example' => 'private', - ], + 'schema' => ['description' => 'The service type. Valid values:'."\n" + ."\n" + .'- private: The service instance is deployed in the user\'s account.'."\n" + ."\n" + .'- managed: The service instance is managed in the service provider\'s account.'."\n" + ."\n" + .'- operation: An O\\&M service instance.'."\n" + ."\n" + .'- poc: A trial service instance.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'default' => 'private', 'example' => 'private', 'title' => ''], ], [ 'name' => 'ServiceInfo', @@ -954,511 +1009,257 @@ 'description' => 'The service details.', 'type' => 'object', 'properties' => [ - 'Locale' => [ - 'description' => 'The language of the service. Valid values:'."\n" - ."\n" - .'* zh-CN: Chinese'."\n" - .'* en-US: English', - 'type' => 'string', - 'required' => false, - 'example' => 'zh-CN', - ], - 'ShortDescription' => [ - 'description' => 'The description of the service.', - 'type' => 'string', - 'required' => false, - 'example' => 'The URL of the detailed description of the service.'."\n", - ], - 'Image' => [ - 'description' => 'The URL of the service icon.', - 'type' => 'string', - 'required' => false, - 'example' => 'http://img.tidb.oss.url', - ], - 'Name' => [ - 'description' => 'The service name.', - 'type' => 'string', - 'required' => false, - 'example' => 'Metric Name, filled in when Type is ComputeNestBill or ComputeNestPrometheus', - ], - 'LongDescriptionUrl' => [ - 'description' => 'The URL of the detailed description of the service.', - 'type' => 'string', - 'required' => false, - 'example' => 'http://description.tidb.oss.url'."\n", - ], + 'Locale' => ['description' => 'The language of the service. Valid values:'."\n" + ."\n" + .'- zh-CN: Chinese.'."\n" + ."\n" + .'- en-US: English.', 'type' => 'string', 'required' => true, 'example' => 'zh-CN', 'title' => ''], + 'ShortDescription' => ['description' => 'A brief description of the service.', 'type' => 'string', 'example' => 'TiDB is an open-source distributed relational database designed and developed by Company A.', 'required' => false, 'title' => ''], + 'Image' => ['description' => 'The URL of the service icon.', 'type' => 'string', 'required' => false, 'example' => 'http://img.tidb.oss.url', 'title' => ''], + 'Name' => ['description' => 'The service name.', 'type' => 'string', 'required' => true, 'example' => 'TiDB Database', 'title' => ''], + 'LongDescriptionUrl' => ['description' => 'The detailed description of the service.', 'type' => 'string', 'required' => false, 'example' => 'http://description.tidb.oss.url'."\n", 'title' => ''], 'Agreements' => [ - 'description' => 'Protocol document information about the service.', + 'description' => 'The information about the service agreements.', 'type' => 'array', 'items' => [ - 'description' => 'Protocol document information about the service.', + 'description' => 'The information about the service agreements.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'Protocol name.', - 'type' => 'string', - 'required' => false, - 'example' => 'Name', - ], - 'Url' => [ - 'description' => 'Protocol url.', - 'type' => 'string', - 'required' => false, - 'example' => 'https://aliyun.com/xxxxxxxx.html', - ], + 'Name' => ['description' => 'The name of the agreement.', 'type' => 'string', 'required' => false, 'example' => 'Name', 'title' => ''], + 'Url' => ['description' => 'The URL of the agreement.', 'type' => 'string', 'required' => false, 'example' => 'https://aliyun.com/xxxxxxxx.html', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 10, + 'title' => '', + 'example' => '', ], 'Softwares' => [ - 'description' => 'The list of the software in the service.', + 'description' => 'The information about the software used in the service.', 'type' => 'array', 'items' => [ - 'description' => 'The list of the software in the service.', + 'description' => 'The information about the software used in the service.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the software.', - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', - ], - 'Version' => [ - 'description' => 'The version of the software.', - 'type' => 'string', - 'required' => false, - 'example' => '5.7', - ], + 'Name' => ['description' => 'The software name.', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], + 'Version' => ['description' => 'The software version.', 'type' => 'string', 'required' => false, 'example' => '5.7', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 5, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'IsSupportOperated', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the hosted O\\&M feature for the service. Default value: false. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n" - ."\n" - .'> This parameter is required if you set **ServiceType** to **private**.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable O\\&M. Default value: false. Valid values:'."\n" + ."\n" + .'- true: Enabled.'."\n" + ."\n" + .'- false: Disabled.'."\n" + ."\n" + .'> This parameter is required when \\`ServiceType\\` is set to \\`private\\`.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'PolicyNames', 'in' => 'query', - 'schema' => [ - 'description' => 'The policy name. The name can be up to 128 characters in length. Separate multiple names with commas (,). Only hosted O\\&M policies are supported.', - 'type' => 'string', - 'required' => false, - 'example' => 'policyName1, policyName2', - ], + 'schema' => ['description' => 'The policy name. The name of a single policy can be up to 128 characters in length. Separate multiple names with commas (,). Only policies related to O\\&M parameters are supported.', 'type' => 'string', 'required' => false, 'example' => 'policyName1, policyName2', 'title' => ''], ], [ 'name' => 'Duration', 'in' => 'query', - 'schema' => [ - 'description' => 'The duration for which hosted O\\&M is implemented. Unit: seconds.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '259200', - ], + 'schema' => ['description' => 'The O\\&M duration. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'AlarmMetadata', + 'in' => 'query', + 'schema' => ['description' => 'The alert configurations for the service.'."\n" + ."\n" + .'> This configuration takes effect only after an alert-related access policy is configured in \\`PolicyNames\\`.', 'type' => 'string', 'example' => '{'."\n" + .' "TemplateUrl": "http://template.file.url",'."\n" + .' // Application group level alarm metadata'."\n" + .' "ApplicationGroups": ['."\n" + .' {'."\n" + .' "Name": "applicationGroup1",'."\n" + .' "TemplateUrl": "url1"'."\n" + .' },'."\n" + .' {'."\n" + .' "Name": "applicationGroup2",'."\n" + .' "TemplateUrl": "url2"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'ShareType', + 'in' => 'query', + 'schema' => ['description' => 'The sharing type. Valid values:'."\n" + ."\n" + .'- Public: The service is public. Full and trial deployments are not restricted.'."\n" + ."\n" + .'- Restricted: The service is restricted. Full and trial deployments are restricted.'."\n" + ."\n" + .'- OnlyFormalRestricted: Only full deployments are restricted.'."\n" + ."\n" + .'- OnlyTrailRestricted: Only trial deployments are restricted.'."\n" + ."\n" + .'- Hidden: The service is hidden. It is not visible and you cannot request deployment permissions.', 'type' => 'string', 'required' => false, 'example' => 'Public', 'title' => ''], + ], + [ + 'name' => 'ApprovalType', + 'in' => 'query', + 'schema' => ['description' => 'The approval type for service usage requests. Valid values:'."\n" + ."\n" + .'- Manual: The request requires manual approval.'."\n" + ."\n" + .'- AutoPass: The request is automatically approved.', 'type' => 'string', 'required' => false, 'example' => 'Manual', 'title' => ''], ], [ 'name' => 'VersionName', 'in' => 'query', - 'schema' => [ - 'description' => 'The version name.', - 'type' => 'string', - 'required' => false, - 'example' => 'Draft', - ], + 'schema' => ['description' => 'The version name.', 'type' => 'string', 'required' => false, 'example' => 'Draft', 'title' => ''], ], [ 'name' => 'UpgradeMetadata', 'in' => 'query', - 'schema' => [ - 'description' => 'The metadata about the upgrade.', - 'type' => 'string', - 'required' => false, - 'example' => '{\\"Description\\":\\"xxx\\",\\"SupportRollback\\":true,\\"SupportUpgradeFromVersions\\":[],\\"UpgradeComponents\\":[\\"Configuration\\"]}', - ], + 'schema' => ['description' => 'The upgrade metadata.', 'type' => 'string', 'required' => false, 'example' => '{\\"Description\\":\\"xxx\\",\\"SupportRollback\\":true,\\"SupportUpgradeFromVersions\\":[],\\"UpgradeComponents\\":[\\"Configuration\\"]}', 'title' => ''], ], [ 'name' => 'TrialDuration', 'in' => 'query', - 'schema' => [ - 'description' => 'The trial duration. Unit: day. The maximum trial duration cannot exceed 30 days.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '7', - ], + 'schema' => ['description' => 'The trial duration. Unit: days. The maximum trial duration is 30 days.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '7', 'title' => ''], ], [ - 'name' => 'ServiceVersion', + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The service version.', - 'type' => 'string', + 'description' => 'The custom tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The custom tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'Usage', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'Web', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => '1', + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'TenantType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the tenant. Valid values:'."\n" - ."\n" - .'* SingleTenant'."\n" - .'* MultiTenant', - 'type' => 'string', - 'required' => false, - 'example' => 'SingleTenant', - ], + 'schema' => ['description' => 'The tenant type. Valid values:'."\n" + ."\n" + .'- SingleTenant: Single-tenant.'."\n" + ."\n" + .'- MultiTenant: Multitenant.', 'type' => 'string', 'required' => false, 'example' => 'SingleTenant', 'title' => ''], ], [ 'name' => 'LicenseMetadata', 'in' => 'query', - 'schema' => [ - 'description' => 'The license metadata.', - 'type' => 'string', - 'required' => false, - 'example' => 'Metering Item Configuration Information (Cloud Marketplace - Pay-As-You-Go Use)', - ], + 'schema' => ['description' => 'The license metadata.', 'type' => 'string', 'example' => '{\\"PayType\\":\\"CustomFixTime\\",\\"DefaultLicenseDays\\":7,\\"CustomMetadata\\":[{\\"TemplateName\\":\\" template1\\",\\"SpecificationName\\":\\"bandwith-0\\",\\"CustomData\\":\\"1\\"}]}', 'required' => false, 'title' => ''], ], [ 'name' => 'OperationMetadata', 'in' => 'query', - 'schema' => [ - 'description' => 'The hosted O\\&M configurations.', - 'type' => 'string', - 'required' => false, - 'example' => '{\\"PrometheusConfigMap\\":{\\"Custom_Image_Ecs\\":{\\"EnablePrometheus\\":false}}}', - ], + 'schema' => ['description' => 'The O\\&M configuration.', 'type' => 'string', 'required' => false, 'example' => '{\\"PrometheusConfigMap\\":{\\"New_Vpc_Ack_And_Jumpserver\\":{}}}', 'title' => ''], ], [ - 'name' => 'LogMetadata', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The logging configurations.', - 'type' => 'string', - 'required' => false, - 'example' => 'Specifies whether to support distribution. Valid values:'."\n" - ."\n" - .'* false'."\n" - .'* true'."\n", - ], + 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aek25refu7r3opq', 'title' => ''], ], [ - 'name' => 'Resellable', + 'name' => 'LogMetadata', 'in' => 'query', - 'schema' => [ - 'description' => 'Whether resell is supported.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The application log configuration.', 'type' => 'string', 'example' => '{'."\n" + .' "Logstores": ['."\n" + .' {'."\n" + .' "LogstoreName": "access-log",'."\n" + .' "LogPath": "/home/admin/app/logs", # Not required for containers. Configure in YAML'."\n" + .' "FilePattern": "access.log*" # Not required for containers. Configure in YAML'."\n" + .' }'."\n" + .' ]'."\n" + .'}', 'required' => false, 'title' => ''], ], [ - 'name' => 'UpdateOption', + 'name' => 'SourceServiceId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The update option.', - 'type' => 'object', - 'properties' => [ - 'UpdateFrom' => [ - 'description' => 'Update from. Valid values:'."\n" - ."\n" - .'- CODE'."\n" - .'- PARAMETERS', - 'type' => 'string', - 'required' => false, - 'example' => 'PARAMETERS', - ], - 'UpdateArtifact' => [ - 'description' => 'Whether to update artifact.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - 'required' => false, - ], + 'schema' => ['description' => 'The ID of the source service for distribution.', 'type' => 'string', 'required' => false, 'example' => 'service-70a3b15bb62643xxxxxx', 'title' => ''], ], [ - 'name' => 'Commodity', + 'name' => 'SourceServiceVersion', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The commodity details.', - 'type' => 'object', - 'properties' => [ - 'SpecificationMappings' => [ - 'description' => 'Product specifications and template/package mappings (Used in marketplace - subscription scenario)', - 'type' => 'array', - 'items' => [ - 'description' => 'Product specifications and template/package mappings (Used in marketplace - subscription scenario)', - 'type' => 'object', - 'properties' => [ - 'TemplateName' => [ - 'description' => 'The template name.', - 'type' => 'string', - 'required' => false, - 'example' => 'Product Specifications and Template/specification mapping Relationships (Cloud Marketplace - Subscription/Permanent Use)', - ], - 'SpecificationName' => [ - 'description' => 'The name of the package specification.', - 'type' => 'string', - 'required' => false, - 'example' => 'Type, value:'."\n" - ."\n" - .'* **Custom**'."\n" - .'* **ComputeNestBill**'."\n" - .'* **ComputeNestPrometheus**'."\n" - .'* **ComputeNestTime**', - ], - 'SpecificationCode' => [ - 'description' => 'Specification code.', - 'type' => 'string', - 'required' => false, - 'example' => 'yuncode5767800001', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'MeteringEntityMappings' => [ - 'description' => 'Binding relationship between templates/specifications and metering dimensions (marketplace - PayAsYouGo)', - 'type' => 'array', - 'items' => [ - 'description' => 'Binding relationship between templates/packages and metering dimensions (marketplace - PayAsYouGo)', - 'type' => 'object', - 'properties' => [ - 'TemplateName' => [ - 'description' => 'The template name.', - 'type' => 'string', - 'required' => false, - 'example' => 'The service ID.'."\n", - ], - 'SpecificationName' => [ - 'description' => 'The specification name.', - 'type' => 'string', - 'required' => false, - 'example' => 'This parameter is not publicly accessible.', - ], - 'EntityIds' => [ - 'description' => 'Metering entity IDs.', - 'type' => 'array', - 'items' => [ - 'description' => 'Metering entity ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'cmgj0006xxxx-Memory-1', - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'MeteringEntityExtraInfos' => [ - 'description' => 'Metering entity extra information.', - 'type' => 'array', - 'items' => [ - 'description' => 'Metering entity extra information.', - 'type' => 'object', - 'properties' => [ - 'EntityId' => [ - 'description' => 'Metering entity ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'cmgj0006xxxx-Memory-1', - ], - 'Type' => [ - 'description' => 'Type. Valid values:'."\n" - ."\n" - .'- Custom'."\n" - .'- ComputeNestBill'."\n" - .'- ComputeNestPrometheus'."\n" - .'- ComputeNestTime', - 'type' => 'string', - 'required' => false, - 'example' => 'Custom', - ], - 'MetricName' => [ - 'description' => 'Metric name, required when type is ComputeNestBill or ComputeNestPrometheus.', - 'type' => 'string', - 'required' => false, - 'example' => 'VirtualCpu/ecs.InstanceType', - ], - 'Promql' => [ - 'description' => 'Promql statement.', - 'type' => 'string', - 'required' => false, - 'example' => 'avg_over_time(sum(rate(container_cpu_usage_seconds_total{namespace=~"ALIYUN::StackName"}[2m]))[1h:10s])', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'ComponentsMappings' => [ - 'description' => 'This parameter is not available to the public.', - 'type' => 'array', - 'items' => [ - 'description' => 'This parameter is not available to the public.', - 'type' => 'object', - 'properties' => [ - 'TemplateName' => [ - 'description' => 'This parameter is not available to the public.', - 'type' => 'string', - 'required' => false, - 'example' => 'This parameter is not available to the public.', - ], - 'Mappings' => [ - 'description' => 'This parameter is not available to the public.', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => 'The service name.'."\n", - 'description' => 'This parameter is not available to the public.', - ], - 'example' => '', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'SaasBoostConfig' => [ - 'description' => 'SaaS Boost configuration.', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], - ], - 'required' => false, - ], + 'schema' => ['description' => 'The version of the source service for distribution.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ShareType', + 'name' => 'Resellable', 'in' => 'query', - 'schema' => [ - 'description' => 'The permission type of the deployment URL. Valid values:'."\n" - ."\n" - .'* Public: All users can go to the URL to create a service instance or a trial service instance.'."\n" - .'* Restricted: Only users in the whitelist can go to the URL to create a service instance or a trial service instance.'."\n" - .'* OnlyFormalRestricted: Only users in the whitelist can go to the URL to create a service instance.'."\n" - .'* OnlyTrailRestricted: Only users in the whitelist can go to the URL to create a trial service instance.'."\n" - .'* Hidden: Users not in the whitelist cannot see the service details page when they go to the URL and cannot request deployment permissions.', - 'type' => 'string', - 'required' => false, - 'example' => 'Public', - ], + 'schema' => ['description' => 'Specifies whether the service can be distributed. Valid values:'."\n" + ."\n" + .'- false: The service cannot be distributed.'."\n" + ."\n" + .'- true: The service can be distributed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'ApprovalType', + 'name' => 'BuildParameters', 'in' => 'query', - 'schema' => [ - 'description' => 'The approval type of the service usage application. Valid values:'."\n" - ."\n" - .'* Manual: The application is manually approved.'."\n" - .'* AutoPass: The application is automatically approved.', - 'type' => 'string', - 'required' => false, - 'example' => 'Manual', - ], + 'schema' => ['description' => 'The parameters for building the service.', 'type' => 'string', 'required' => false, 'example' => '{ "ServiceTemplateId": "st-xxxxx"}', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to perform only a dry run for the request to check information such as the permissions and instance status. Valid values:'."\n" - ."\n" - .'* true: performs a dry run for the request, but does not update a service.'."\n" - .'* false: performs a dry run for the request, and update a service if the request passes the dry run.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run to check the request.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'ComplianceMetadata', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'Compliance check metadata.', + 'description' => 'The compliance check metadata.', 'type' => 'object', 'properties' => [ 'CompliancePacks' => [ - 'description' => 'The compliance pack.', + 'description' => 'The selected compliance packages.', 'type' => 'array', - 'items' => [ - 'description' => 'The compliance pack.', - 'type' => 'string', - 'required' => false, - 'example' => 'VpcDataRisk', - ], + 'items' => ['description' => 'The selected compliance package. Valid value:'."\n" + ."\n" + .'- VpcDataRisk: The compliance package for data security risks in a VPC.', 'type' => 'string', 'required' => false, 'example' => 'VpcDataRisk', 'title' => ''], 'required' => false, 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], 'required' => false, - ], - ], - [ - 'name' => 'BuildParameters', - 'in' => 'query', - 'schema' => [ - 'description' => 'The Parameters to build service parameters.', - 'type' => 'string', - 'required' => false, - 'example' => '{ "ServiceTemplateId": "st-xxxxx"}', - ], - ], - [ - 'name' => 'ServiceLocaleConfigs', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'OriginalValue' => [ - 'type' => 'string', - ], - 'ZhValue' => [ - 'type' => 'string', - ], - 'EnValue' => [ - 'type' => 'string', - ], - ], - ], - 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], @@ -1467,204 +1268,238 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The hosted O\\&M configurations.'."\n", - 'type' => 'string', - 'example' => 'DF0F666F-FBBC-55C3-A368-C955DE7B4839', - ], + 'Status' => ['description' => 'The service status.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', 'title' => ''], + 'Version' => ['description' => 'The service version.', 'type' => 'string', 'example' => 'draft', 'title' => ''], + 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'service-0e6fca6a51a544xxxxxx', 'title' => ''], 'DryRunResult' => [ - 'description' => 'The dry run result.'."\n", + 'description' => 'The check result.', 'type' => 'object', 'properties' => [ 'RolePolicy' => [ - 'description' => 'The required ram policy for deploying role.', + 'description' => 'The access policy of the deployment role.', 'type' => 'object', 'properties' => [ - 'Policy' => [ - 'description' => 'The required ram policy for deploying role.', - 'type' => 'string', - 'example' => '{'."\n" - .' "Statement": [{'."\n" - .' "Action": ["oos:CancelExecutions", "oos:DeleteExecutions", "oos:GetTemplate", "oos:ListExecutions", "oos:ListTemplates", "oos:NotifyExecution", "oos:StartExecution"],'."\n" - .' "Effect": "Allow",'."\n" - .' "Resource": "*"'."\n" - .' }, {'."\n" - .' "Action": ["ram:PassRole"],'."\n" - .' "Effect": "Allow",'."\n" - .' "Resource": "*"'."\n" - .' }, {'."\n" - .' "Action": ["ros:CreateStack", "ros:GetStack", "ros:UpdateStack", "ros:ListStackEvents", "ros:ListStackResources", "ros:ListStackResources", "ros:DeleteStack", "ram:GetRole"],'."\n" - .' "Effect": "Allow",'."\n" - .' "Resource": "*"'."\n" - .' }],'."\n" - .' "Version": "1"'."\n" - .'}', - ], + 'Policy' => ['description' => 'The access policy required for the deployment role.', 'type' => 'string', 'example' => '{'."\n" + .' "Statement": [{'."\n" + .' "Action": ["oos:CancelExecutions", "oos:DeleteExecutions", "oos:GetTemplate", "oos:ListExecutions", "oos:ListTemplates", "oos:NotifyExecution", "oos:StartExecution"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }, {'."\n" + .' "Action": ["ram:PassRole"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }, {'."\n" + .' "Action": ["ros:CreateStack", "ros:GetStack", "ros:UpdateStack", "ros:ListStackEvents", "ros:ListStackResources", "ros:ListStackResources", "ros:DeleteStack", "ram:GetRole"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }],'."\n" + .' "Version": "1"'."\n" + .'}', 'title' => ''], 'MissingPolicy' => [ - 'description' => 'The missing ram policy for deploying role.', + 'description' => 'The missing access policies for the deployment role.', 'type' => 'array', 'items' => [ - 'description' => 'The missing ram policy for deploying role.', + 'description' => 'The missing access policies for the deployment role.', 'type' => 'object', 'properties' => [ - 'ServiceName' => [ - 'description' => 'The service name.'."\n", - 'type' => 'string', - 'example' => 'ecs', - ], - 'Resource' => [ - 'description' => 'The responses.', - 'type' => 'string', - 'example' => '*', - ], + 'ServiceName' => ['description' => 'The service name in the access policy.', 'type' => 'string', 'example' => 'ecs', 'title' => ''], + 'Resource' => ['description' => 'The resource in the access policy.', 'type' => 'string', 'example' => '*', 'title' => ''], 'Action' => [ - 'description' => 'The Actions.', + 'description' => 'The operations in the access policy.', 'type' => 'array', - 'items' => [ - 'description' => 'The Actions.', - 'type' => 'string', - 'example' => 'CreateStack', - ], + 'items' => ['description' => 'The operations in the access policy.', 'type' => 'string', 'example' => 'CreateStack', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], - 'description' => 'cmgj0006xxxx-Memory-1'."\n", + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DF0F666F-FBBC-55C3-A368-C955DE7B4839\\",\\n \\"DryRunResult\\": {\\n \\"RolePolicy\\": {\\n \\"Policy\\": \\"{\\\\n\\\\t\\\\\\"Statement\\\\\\": [{\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"oos:CancelExecutions\\\\\\", \\\\\\"oos:DeleteExecutions\\\\\\", \\\\\\"oos:GetTemplate\\\\\\", \\\\\\"oos:ListExecutions\\\\\\", \\\\\\"oos:ListTemplates\\\\\\", \\\\\\"oos:NotifyExecution\\\\\\", \\\\\\"oos:StartExecution\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ram:PassRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ros:CreateStack\\\\\\", \\\\\\"ros:GetStack\\\\\\", \\\\\\"ros:UpdateStack\\\\\\", \\\\\\"ros:ListStackEvents\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:DeleteStack\\\\\\", \\\\\\"ram:GetRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}],\\\\n\\\\t\\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\",\\n \\"MissingPolicy\\": [\\n {\\n \\"ServiceName\\": \\"ecs\\",\\n \\"Resource\\": \\"*\\",\\n \\"Action\\": [\\n \\"CreateStack\\"\\n ]\\n }\\n ]\\n }\\n }\\n}","type":"json"}]', - 'title' => 'UpdateService', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Created\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"Version\\": \\"draft\\",\\n \\"ServiceId\\": \\"service-0e6fca6a51a544xxxxxx\\",\\n \\"DryRunResult\\": {\\n \\"RolePolicy\\": {\\n \\"Policy\\": \\"{\\\\n\\\\t\\\\\\"Statement\\\\\\": [{\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"oos:CancelExecutions\\\\\\", \\\\\\"oos:DeleteExecutions\\\\\\", \\\\\\"oos:GetTemplate\\\\\\", \\\\\\"oos:ListExecutions\\\\\\", \\\\\\"oos:ListTemplates\\\\\\", \\\\\\"oos:NotifyExecution\\\\\\", \\\\\\"oos:StartExecution\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ram:PassRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ros:CreateStack\\\\\\", \\\\\\"ros:GetStack\\\\\\", \\\\\\"ros:UpdateStack\\\\\\", \\\\\\"ros:ListStackEvents\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:DeleteStack\\\\\\", \\\\\\"ram:GetRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}],\\\\n\\\\t\\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\",\\n \\"MissingPolicy\\": [\\n {\\n \\"ServiceName\\": \\"ecs\\",\\n \\"Resource\\": \\"*\\",\\n \\"Action\\": [\\n \\"CreateStack\\"\\n ]\\n }\\n ]\\n }\\n }\\n}","type":"json"}]', + 'title' => 'CreateService', + 'changeSet' => [ + ['createdAt' => '2024-10-25T02:31:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-10-22T05:37:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-08-23T05:53:53.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-03-22T01:50:00.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-10-24T11:38:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-15T08:46:08.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-11T05:00:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-03T03:27:46.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-05-25T02:37:20.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-05-08T04:04:14.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-11-16T03:27:56.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-08-26T09:54:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-07-27T09:52:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-15T03:55:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-15T03:55:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-22T07:23:54.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-22T02:50:03.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-06-30T06:31:15.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/*'], + ], + ], + ], + ], + 'translator' => 'manual', ], - 'GetService' => [ - 'summary' => 'Queries the information about a service.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateServiceInstance' => [ + 'summary' => 'You can create and deploy a service instance by specifying parameters such as the region ID, service ID, and service version.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '36954', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREcomputenestVIKWP9', 'FEATUREcomputenestVUFVAC'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region. Valid values:'."\n" + ."\n" + .'- cn-hangzhou: China (Hangzhou)'."\n" + ."\n" + .'- ap-southeast-1: Singapore', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The name of the service instance. The name must meet the following requirements:'."\n" + ."\n" + .'- It can be up to 64 characters in length.'."\n" + ."\n" + .'- It must start with a letter or a digit and can contain letters, digits, hyphens (-), and underscores (\\_).', 'type' => 'string', 'required' => false, 'example' => 'TestName', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'service-4ee86df83fd948******', - ], + 'schema' => ['description' => 'The ID of the service.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'service-0e6fca6a51a54420****', 'title' => ''], ], [ 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The version of the service.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ShowDetail', + 'name' => 'Parameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => ['description' => 'The parameters used to deploy the service instance.'."\n" + ."\n" + .'> If the service instance includes information about the deployment region, specify that information in the deployment parameters.', 'type' => 'object', 'required' => false, 'example' => '{'."\n" + .' "RegionId": "cn-hangzhou"'."\n" + .' "NodeCount": 3,'."\n" + .' "SystemDiskSize": 40,'."\n" + .' "InstancePassword": "******"'."\n" + .'}', 'title' => ''], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'A client token to ensure the idempotence of the request. Generate a unique value for this parameter from your client. The token can be up to 64 characters in length and can contain only ASCII characters.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], + ], + [ + 'name' => 'TemplateName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the template. Specify this parameter if the service supports multiple templates.', 'type' => 'string', 'example' => 'Template 1', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzuqyxxxxxx', 'title' => ''], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the user.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '1563457855xxxxxx'], + ], + [ + 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The information that you want to query.'."\n", + 'description' => 'The custom tags.', 'type' => 'array', 'items' => [ - 'description' => 'The information that you want to query. Valid values:'."\n" - ."\n" - .'ServiceStatistic: The service statistics.'."\n", - 'type' => 'string', + 'description' => 'The custom tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag.', 'type' => 'string', 'required' => false, 'example' => 'key1', 'title' => ''], + 'Value' => ['description' => 'The value of the tag.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''], + ], 'required' => false, - 'example' => 'ServiceStatistic', + 'title' => '', + 'example' => '', ], 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'FilterAliUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to filter information based on Alibaba Cloud account IDs.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'SharedAccountType', + 'name' => 'SpecificationName', 'in' => 'query', - 'schema' => [ - 'description' => 'The share type of the service. Default value: SharedAccount. Valid values:'."\n" - ."\n" - .'* SharedAccount: The service is shared by multiple accounts.'."\n" - .'* Resell: The service is distributed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SharedAccount', - ], + 'schema' => ['description' => 'The name of the specification package.', 'type' => 'string', 'example' => 'Package 1', 'required' => false, 'title' => ''], ], [ - 'name' => 'ServiceInstanceId', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => 'The Service Instance Id.', - 'type' => 'string', - 'required' => false, - 'example' => 'si-85b1exxx', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. A dry run checks for permissions and instance status. Valid values:'."\n" + ."\n" + .'- true: The system checks the request but does not create the service instance.'."\n" + ."\n" + .'- false: The system sends the request. If the request passes the check, the service instance is created.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'ServiceName', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The Service Name.', - 'type' => 'string', - 'required' => false, - 'example' => 'Wordpress社区版', - ], + 'schema' => ['description' => 'The time when the service instance is released.'."\n" + ."\n" + .'> Only service providers can set this parameter for their own service instances in managed scenarios.', 'type' => 'string', 'format' => 'iso8601', 'required' => false, 'example' => '2023-12-12T03:13:05Z', 'title' => ''], ], ], 'responses' => [ @@ -1672,1378 +1507,154 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the service. Valid values:'."\n" - ."\n" - .'* Draft: The service is a draft.'."\n" - .'* Submitted: The service is submitted for review. You cannot modify services in this state.'."\n" - .'* Approved: The service is approved. You cannot modify services in this state. You can publish services in this state.'."\n" - .'* Launching: The service is being published.'."\n" - .'* Online: The service is published.'."\n" - .'* Offline: The service is unpublished.'."\n", - 'type' => 'string', - 'example' => 'Online', - ], - 'DeployMetadata' => [ - 'description' => 'The storage configurations of the service. The format in which the deployment information of a service is stored varies based on the deployment type of the service. In this case, the deployment information is stored in the JSON string format.'."\n", - 'type' => 'string', - 'example' => '{\\"TemplateConfigs\\":[{\\"Name\\":\\"模板1\\",\\"Url\\":\\"oss://computenest-test/template" '."\n" - .' + ".json?RegionId=cn-beijing\\",\\"PredefinedParameters\\":[{\\"Name\\":\\"低配版\\"," '."\n" - .' + "\\"Parameters\\":{\\"InstanceType\\":\\"ecs.g5.large\\",\\"DataDiskSize\\":40}},{\\"Name\\":\\"高配版\\"," '."\n" - .' + "\\"Parameters\\":{\\"InstanceType\\":\\"ecs.g5.large\\",\\"DataDiskSize\\":200}}]}]}', - ], - 'PublishTime' => [ - 'description' => 'The time when the service was published.'."\n", - 'type' => 'string', - 'example' => '2021-05-21T00:00:00Z', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', - ], - 'Version' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'example' => '1.0', - ], - 'DeployType' => [ - 'description' => 'The deployment type of the service. Valid values:'."\n" - ."\n" - .'* ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" - .'* terraform: The service is deployed by using Terraform.'."\n" - .'* spi: The service is deployed by calling a service provider interface (SPI).'."\n" - .'* operation: The service is deployed by using a hosted O\\&M service.'."\n" - .'* container: The service is deployed by using a container.'."\n" - .'* pkg: The service is deployed by using a package.'."\n", - 'type' => 'string', - 'example' => 'ros', - ], - 'ServiceId' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'example' => 'service-70a3b15bb62643xxxxxx', - ], - 'SupplierUrl' => [ - 'description' => 'The URL of the service provider.'."\n", - 'type' => 'string', - 'example' => 'http://example.com', - ], - 'ServiceProductUrl' => [ - 'description' => 'The URL of the service page.'."\n", - 'type' => 'string', - 'example' => 'http://example2.com', - ], - 'ServiceType' => [ - 'description' => 'The type of the service. Valid values:'."\n" - ."\n" - .'* private: The service is a private service and is deployed within the account of a customer.'."\n" - .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" - .'* operation: The service is a hosted O\\&M service.'."\n", - 'type' => 'string', - 'example' => 'private', - ], - 'SupplierName' => [ - 'description' => 'The name of the service provider.'."\n", - 'type' => 'string', - 'example' => 'Alibaba Cloud', - ], - 'ServiceInfos' => [ - 'description' => 'The information about the service.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Locale' => [ - 'description' => 'The language of the service. Valid values:'."\n" - ."\n" - .'* zh-CN: Chinese'."\n" - .'* en-US: English'."\n", - 'type' => 'string', - 'example' => 'zh-CN', - ], - 'Image' => [ - 'description' => 'The URL of the service icon.'."\n", - 'type' => 'string', - 'example' => 'https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png', - ], - 'Name' => [ - 'description' => 'The service name.'."\n", - 'type' => 'string', - 'example' => 'WordPress', - ], - 'ShortDescription' => [ - 'description' => 'The description of the service.'."\n", - 'type' => 'string', - 'example' => 'B是A公司自主设计并研发的开源分布式的关系型数据库', - ], - 'LongDescriptionUrl' => [ - 'description' => 'The URL of the detailed description of the service.'."\n", - 'type' => 'string', - 'example' => 'https://example.com', - ], - 'Agreements' => [ - 'description' => 'The agreement information about the service.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The agreement name.'."\n", - 'type' => 'string', - 'example' => 'Name', - ], - 'Url' => [ - 'description' => 'The agreement URL.'."\n", - 'type' => 'string', - 'example' => 'https://aliyun.com/xxxxxxxx.html', - ], - ], - ], - ], - 'Softwares' => [ - 'description' => 'The list of the information about the software in the service.', - 'type' => 'array', - 'items' => [ - 'description' => 'The list of the information about the software in the service.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the software', - 'type' => 'string', - 'example' => 'MySQL', - ], - 'Version' => [ - 'description' => 'The version of the software.', - 'type' => 'string', - 'example' => '5.7', - ], - ], - ], - ], - ], - ], - ], - 'IsSupportOperated' => [ - 'description' => 'Indicates whether the hosted O\\&M feature is enabled for the service. Default value: false. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n" - ."\n" - .'> This parameter is returned if you set **ServiceType** to **private**.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'PolicyNames' => [ - 'description' => 'The policy name. The name can be up to 128 characters in length. Separate multiple names with commas (,). Only hosted O\\&M policies are supported.'."\n", - 'type' => 'string', - 'example' => 'policyName1, policyName2', - ], - 'Duration' => [ - 'description' => 'The duration for which hosted O\\&M is implemented. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '259200', - ], - 'Progress' => [ - 'description' => 'The deployment progress of the service instance. Unit: percentage.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '90', - ], - 'StatusDetail' => [ - 'description' => 'The description of the service status.'."\n", - 'type' => 'string', - 'example' => 'deploy successfully', - ], - 'CreateTime' => [ - 'description' => 'The time when the service was created.'."\n", - 'type' => 'string', - 'example' => '2021-05-20T00:00:00Z', - ], - 'UpdateTime' => [ - 'description' => 'The time when the service was updated.'."\n", - 'type' => 'string', - 'example' => '2021-05-22T00:00:00Z', - ], - 'ShareType' => [ - 'description' => 'The permission type of the deployment URL. Valid values:'."\n" - ."\n" - .'* Public: All users can go to the URL to create a service instance or a trial service instance.'."\n" - .'* Restricted: Only users in the whitelist can go to the URL to create a service instance or a trial service instance.'."\n" - .'* OnlyFormalRestricted: Only users in the whitelist can go to the URL to create a service instance.'."\n" - .'* OnlyTrailRestricted: Only users in the whitelist can go to the URL to create a trial service instance.'."\n" - .'* Hidden: Users not in the whitelist cannot see the service details page when they go to the URL and cannot request deployment permissions.'."\n", - 'type' => 'string', - 'example' => 'Public', - ], - 'AlarmMetadata' => [ - 'description' => 'The alert configurations of the service.'."\n" - ."\n" - .'> This parameter takes effect only when you specify an alert policy for **PolicyNames**.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "TemplateUrl": "http://template.file.url",'."\n" - .' // 应用分组级别告警元数据'."\n" - .' "ApplicationGroups": ['."\n" - .' {'."\n" - .' "Name": "applicationGroup1",'."\n" - .' "TemplateUrl": "url1"'."\n" - .' },'."\n" - .' {'."\n" - .' "Name": "applicationGroup2",'."\n" - .' "TemplateUrl": "url2"'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'UpgradeMetadata' => [ - 'description' => 'The metadata about the upgrade.'."\n", - 'type' => 'string', - 'example' => '{\\"Description\\":\\"xxx\\",\\"SupportRollback\\":true,\\"SupportUpgradeFromVersions\\":[],\\"UpgradeComponents\\":[\\"Configuration\\"]}', - ], - 'VersionName' => [ - 'description' => 'The version name.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - 'PayFromType' => [ - 'description' => 'The source for which fees are generated. Valid values:'."\n" - ."\n" - .'* None: No fees are generated.'."\n" - .'* Marketplace: Fees are generated for Alibaba Cloud Marketplace.'."\n" - .'* Custom: The custom fees.'."\n", - 'type' => 'string', - 'example' => 'None', - ], - 'Tags' => [ - 'description' => 'The service tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'value1', - ], - ], - ], - ], - 'TrialDuration' => [ - 'description' => 'The trial duration. Unit: day. The maximum trial duration cannot exceed 30 days.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '7', - ], - 'TrialType' => [ - 'description' => 'The trial policy. Valid values:'."\n" - ."\n" - .'* Trial: Trials are supported.'."\n" - .'* NotTrial: Trials are not supported.'."\n", - 'type' => 'string', - 'example' => 'Trial', - ], - 'TenantType' => [ - 'description' => 'The type of the tenant. Valid values:'."\n" - ."\n" - .'* SingleTenant'."\n" - .'* MultiTenant'."\n", - 'type' => 'string', - 'example' => 'SingleTenant', - ], - 'LicenseMetadata' => [ - 'description' => 'The license metadata.'."\n", - 'type' => 'string', - 'example' => '{"renewType":"MONTHLY"}', - ], - 'OperationMetadata' => [ - 'description' => 'The hosted O\\&M configurations.'."\n", - 'type' => 'string', - 'example' => '{\\"PrometheusConfigMap\\":{\\"New_Vpc_Ack_And_Jumpserver\\":{}}}', - ], - 'TestStatus' => [ - 'description' => 'The status of the test. Valid values:'."\n" - ."\n" - .'* `CONFIG_IS_NULL`: No test configurations exist.'."\n" - .'* `SERVICE_TEST_SUCCEED`: The service passed the test.'."\n" - .'* `SERVICE_TSET_DOING`: The service does not pass the test.'."\n", - 'type' => 'string', - 'example' => 'SERVICE_TEST_SUCCEED', - ], - 'ApprovalType' => [ - 'description' => 'The approval type of the service usage application. Valid values:'."\n" - ."\n" - .'* Manual: The application is manually approved.'."\n" - .'* AutoPass: The application is automatically approved.'."\n", - 'type' => 'string', - 'example' => 'Manual', - ], - 'RegistrationId' => [ - 'description' => 'The registration ID.'."\n", - 'type' => 'string', - 'example' => 'sr-04056c2ab4b94bxxxxxx', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'example' => 'rg-aekzuqyxxxxxx', - ], - 'Permission' => [ - 'description' => 'The permissions on the service. Valid values:'."\n" - ."\n" - .'* Deployable: Permissions to deploy the service.'."\n" - .'* Accessible: Permissions to access the service.'."\n", - 'type' => 'string', - 'example' => 'Deployable', - ], - 'Statistic' => [ - 'description' => 'The statistics.'."\n", - 'type' => 'object', - 'properties' => [ - 'AccumulativeInstanceCount' => [ - 'description' => 'The total number of service instances that belong to the service. The service instances that are deleted are counted.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '75', - ], - 'AccumulativeUserCount' => [ - 'description' => 'The total number of users who use the service. The historical users are counted.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'DeployedServiceInstanceCount' => [ - 'description' => 'The number of online service instances. It means the number of service instances that are successfully deployed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'DeployedUserCount' => [ - 'description' => 'The number of online users. It means the number of users who successfully deployed the service instances.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SubmittedUsageCount' => [ - 'description' => 'The number of service applications that are in the Submitted state.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'AccumulativePocAmount' => [ - 'description' => 'The total amount consumed for trial service instances. Unit: CNY.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '80.35', - ], - 'AveragePocAmount' => [ - 'description' => 'The average amount consumed for trial service instances per instance. Unit: CNY.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '40.17', - ], - 'AveragePocUnitAmount' => [ - 'description' => 'The average amount consumed for trial service instances per a period of time. Unit: CNY.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '167.9', - ], - 'AveragePocDuration' => [ - 'description' => 'The average duration for which trial service instances are in use. Unit: Hour.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - ], - ], - 'SourceServiceId' => [ - 'description' => 'The ID of the distribution source service.'."\n", - 'type' => 'string', - 'example' => 'service-70a3b15bb62643xxxxxx', - ], - 'SourceServiceVersion' => [ - 'description' => 'The version of the distribution source service.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'SourceSupplierName' => [ - 'description' => 'The name of the distribution source service provider.'."\n", - 'type' => 'string', - 'example' => 'SourceSupplier', - ], - 'LogMetadata' => [ - 'description' => 'The logging configurations.'."\n", - 'type' => 'string', - 'example' => '{ "Logstores": \\[ { "LogstoreName": "access-log", "LogPath": "/home/admin/app/logs", # This parameter is not required for containers. Configure the parameter in the YAML file. "FilePattern": "access.log\\*" # This parameter is not required for containers. Configure the parameter in the YAML file. } ] }'."\n", - ], - 'Resellable' => [ - 'description' => 'Indicates whether the distribution is supported. Valid values:'."\n" - ."\n" - .'* false'."\n" - .'* true'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'VirtualInternetService' => [ - 'description' => 'Indicates whether the service is a virtual Internet service. Valid values:'."\n" - ."\n" - .'* false'."\n" - .'* true'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'ServiceDiscoverable' => [ - 'description' => 'Indicates whether the service is visible. Valid values:'."\n" - ."\n" - .'* INVISIBLE'."\n" - .'* DISCOVERABLE'."\n", - 'type' => 'string', - 'example' => 'DISCOVERABLE', - ], - 'Categories' => [ - 'description' => 'The category of the service.'."\n", - 'type' => 'string', - 'example' => 'DevOps', - ], - 'ShareTypeStatus' => [ - 'description' => 'The share status of the instance.'."\n" - ."\n" - .'> This parameter is discontinued.'."\n", - 'type' => 'string', - 'example' => 'This parameter is discontinued.'."\n", - ], - 'ServiceAuditDocumentUrl' => [ - 'description' => 'The URL of the service audit file.'."\n", - 'type' => 'string', - 'example' => 'https://service-info-public.oss-cn-hangzhou.aliyuncs.com/1690707531xxxxxx/service-document/be3382cd-xxxx-xxxx-xxxx-f8707ec12879.docx', - ], - 'EntitySource' => [ - 'description' => 'The report source.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => 'ComputNest', - 'description' => 'The report source. Valid values:'."\n" - ."\n" - .'* ComputNest: Compute Nest.'."\n" - .'* Custom: service provider.'."\n", - ], - ], - 'CrossRegionConnectionStatus' => [ - 'description' => 'The binding configurations of the commodity module.'."\n", - 'type' => 'string', - 'example' => 'componesConfigs', - ], - 'VirtualInternetServiceId' => [ - 'description' => 'The ID of the virtual Internet service.'."\n", - 'type' => 'string', - 'example' => 'service-70a3b15bb62643xxxxxx', - ], - 'Commodity' => [ - 'description' => 'The commodity details.'."\n", - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The service type. Valid values:'."\n" - ."\n" - .'* marketplace: Alibaba Cloud Marketplace.'."\n" - .'* Css: Lingxiao.'."\n", - 'type' => 'string', - 'example' => 'Marketplace', - ], - 'ChargeType' => [ - 'description' => 'The billing method of the service. Valid values:'."\n" - ."\n" - .'* **PREPAY** (default): subscription.'."\n" - .'* **POSTPAY**: pay-as-you-go.'."\n", - 'type' => 'string', - 'example' => 'PREPAY', - ], - 'Components' => [ - 'description' => 'The commodity modules.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The commodity module.'."\n", - 'type' => 'string', - 'example' => 'YARN', - ], - ], - 'Specifications' => [ - 'description' => 'The specification details of the service in Alibaba Cloud Marketplace.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => 'The commodity code.'."\n", - 'type' => 'string', - 'example' => 'cmjj00xxxx', - ], - 'Name' => [ - 'description' => 'The specification name.'."\n", - 'type' => 'string', - 'example' => 'specifications1', - ], - 'Times' => [ - 'description' => 'The subscription duration. Unit: week or year.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The subscription duration. Unit: week or year.'."\n", - 'type' => 'string', - 'example' => '3', - ], - ], - ], - ], - ], - 'MeteringEntities' => [ - 'description' => 'The information about the billable item.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EntityId' => [ - 'description' => 'The ID of the billable item.'."\n", - 'type' => 'string', - 'example' => 'cmgjxxxxxxxx-NetworkOut', - ], - 'Name' => [ - 'description' => 'The name of the billable item.'."\n", - 'type' => 'string', - 'example' => 'spring-boot-demo', - ], - ], - ], - ], - 'MarketplaceMetadata' => [ - 'description' => 'The metadata of Alibaba Cloud Marketplace.'."\n", - 'type' => 'object', - 'properties' => [ - 'SpecificationMappings' => [ - 'description' => 'The mappings between the service specifications and the template or package.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'SpecificationCode' => [ - 'description' => 'The specification code of the service in Alibaba Cloud Marketplace.'."\n", - 'type' => 'string', - 'example' => 'cmjj00xxxx', - ], - 'TemplateName' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'example' => 'Template 1'."\n", - ], - 'SpecificationName' => [ - 'description' => 'The name of the specification package.'."\n", - 'type' => 'string', - 'example' => 'Pay-as-you-go'."\n", - ], - 'TrialType' => [ - 'description' => 'The trial policy. Valid values:'."\n" - ."\n" - .'* Trial: Trials are supported.'."\n" - .'* NotTrial: Trials are not supported.'."\n", - 'type' => 'string', - 'example' => 'NotTrial', - ], - ], - ], - ], - 'MeteringEntityMappings' => [ - 'description' => 'The billable items that are associated with the package.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EntityIds' => [ - 'description' => 'The ID of the billable item.'."\n", - 'type' => 'string', - 'example' => 'cmgjxxxxxxxx-NetworkOut-2', - ], - 'TemplateName' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'example' => 'Template 1'."\n", - ], - 'SpecificationName' => [ - 'description' => 'The name of the specification package.'."\n", - 'type' => 'string', - 'example' => 'Pay-as-you-go Package'."\n", - ], - ], - ], - ], - 'MeteringEntityExtraInfos' => [ - 'description' => 'The configurations of the billable items.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EntityId' => [ - 'description' => 'The ID of the billable item.'."\n", - 'type' => 'string', - 'example' => 'cmgjxxxxxxxx-NetworkOut-2', - ], - 'Type' => [ - 'description' => 'The metric.'."\n", - 'type' => 'string', - 'example' => 'AvgPod', - ], - 'MetricName' => [ - 'description' => 'The metric name.'."\n", - 'type' => 'string', - 'example' => 'NetworkLantency', - ], - 'Promql' => [ - 'description' => 'The custom prometheus statement.'."\n", - 'type' => 'string', - 'example' => 'avg_over_time(count(kube_pod_info{namespace=\\"default\\"})[1h:1m])', - ], - ], - ], - ], - ], - ], - 'CssMetadata' => [ - 'description' => 'The configuration metadata related to Lingxiao.'."\n", - 'type' => 'object', - 'properties' => [ - 'ComponentsMappings' => [ - 'description' => 'The mapping information about the billing items.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Mappings' => [ - 'description' => 'The mappings.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{{DBInstanceStorage}}', - 'description' => 'The mappings.'."\n", - ], - ], - 'TemplateName' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'example' => 'Template 1'."\n", - ], - ], - ], - ], - 'MeteringEntityMappings' => [ - 'description' => 'The binding relationship between package and measurement dimension.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EntityIds' => [ - 'description' => 'The ID of the entity.', - 'type' => 'string', - 'example' => 'cmgj0015****-Frequency-1', - ], - 'TemplateName' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'example' => '模板1', - ], - 'SpecificationName' => [ - 'description' => 'The package name.'."\n", - 'type' => 'string', - 'example' => 'Pay-as-you-go package'."\n", - ], - ], - ], - ], - 'MeteringEntityExtraInfos' => [ - 'description' => 'Metering item configuration information.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EntityId' => [ - 'description' => 'The ID of the entity.'."\n", - 'type' => 'string', - 'example' => 'cmgj0048****-Frequency-1', - ], - 'Type' => [ - 'description' => 'Measurement indicators.', - 'type' => 'string', - 'example' => 'ComputeNestPrometheus', - ], - 'MetricName' => [ - 'description' => 'Name of a measurement indicator.', - 'type' => 'string', - 'example' => 'AvgMemory', - ], - 'Promql' => [ - 'description' => 'Custom PromQL.', - 'type' => 'string', - 'example' => 'avg_over_time(count(kube_pod_info{namespace=\\"default\\"})[1h:1m])', - ], - ], - ], - ], - ], - ], - 'CommodityCode' => [ - 'description' => 'The commodity code of the service in Alibaba Cloud Marketplace.'."\n", - 'type' => 'string', - 'example' => 'cmjj00xxxx', - ], - 'SaasBoostMetadata' => [ - 'description' => 'The configuration metadata related to Saas Boost.'."\n", - 'type' => 'string', - 'example' => '{ "Enabled":false // The public endpoint of the SaaS Boost instance. "PublicAccessUrl":"https://example.com" }'."\n", - ], - ], - ], - 'BuildInfo' => [ - 'description' => 'The information of build service information.', - 'type' => 'string', - 'example' => '{ "RepoUrl": "https://github.com/user/repo.git", "Brancn": "main"}', - ], - 'BuildParameters' => [ - 'description' => 'The parameters for building the service', - 'type' => 'string', - 'example' => '{ "ServiceTemplateId": "st-xxxxx"}', - ], - 'ComplianceMetadata' => [ - 'description' => 'Compliance check metadata.', - 'type' => 'object', - 'properties' => [ - 'CompliancePacks' => [ - 'description' => 'The compliance package is selected.', - 'type' => 'array', - 'items' => [ - 'description' => 'The compliance package is selected.', - 'type' => 'string', - 'example' => 'VpcDataRisk', - ], - ], - ], - ], - 'ServiceDocumentInfos' => [ - 'description' => 'Service document information.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Locale' => [ - 'description' => 'The language of the return data. Valid values: zh-CN and en-US.', - 'type' => 'string', - 'example' => 'zh-CN', - ], - 'TemplateName' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'example' => ' Default Template.', - ], - 'DocumentUrl' => [ - 'description' => 'The URL that is used to access the document.'."\n", - 'type' => 'string', - 'example' => 'http://docurl', - ], - ], - ], - ], - 'SupportContacts' => [ - 'description' => 'Contact information of the service provider.', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The type of Contact information.', - 'type' => 'string', - 'example' => 'Email', - ], - 'Value' => [ - 'description' => 'The value of Contact information.', - 'type' => 'string', - 'example' => 'supplier@test.com', - ], - ], - ], - ], - 'SecretKey' => [ - 'type' => 'string', - ], - 'ServiceLocaleConfigs' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'OriginalValue' => [ - 'type' => 'string', - ], - 'ZhValue' => [ - 'type' => 'string', - ], - 'EnValue' => [ - 'type' => 'string', - ], - ], - ], - ], + 'Status' => ['description' => 'The status of the service instance. Valid values:'."\n" + ."\n" + .'- Created: The service instance is created.'."\n" + ."\n" + .'- Deploying: The service instance is being deployed.'."\n" + ."\n" + .'- DeployedFailed: The service instance failed to be deployed.'."\n" + ."\n" + .'- Deployed: The service instance is deployed.'."\n" + ."\n" + .'- Upgrading: The service instance is being upgraded.'."\n" + ."\n" + .'- Deleting: The service instance is being deleted.'."\n" + ."\n" + .'- Deleted: The service instance is deleted.'."\n" + ."\n" + .'- DeletedFailed: The service instance failed to be deleted.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****', 'title' => ''], + 'ServiceInstanceId' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Online\\",\\n \\"DeployMetadata\\": \\"{\\\\\\\\\\\\\\"TemplateConfigs\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"模板1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"oss://computenest-test/template\\\\\\" \\\\n + \\\\\\".json?RegionId=cn-beijing\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PredefinedParameters\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"低配版\\\\\\\\\\\\\\",\\\\\\" \\\\n + \\\\\\"\\\\\\\\\\\\\\"Parameters\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"InstanceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ecs.g5.large\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DataDiskSize\\\\\\\\\\\\\\":40}},{\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"高配版\\\\\\\\\\\\\\",\\\\\\" \\\\n + \\\\\\"\\\\\\\\\\\\\\"Parameters\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"InstanceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ecs.g5.large\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DataDiskSize\\\\\\\\\\\\\\":200}}]}]}\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"RequestId\\": \\"9AC8E73E-88DE-52C2-A29B-531FC13A5604\\",\\n \\"Version\\": \\"1.0\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-ca83ff3cb6b14dbc****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceProductUrl\\": \\"http://example2.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"A公司\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f35660****.png\\",\\n \\"Name\\": \\"B数据库\\",\\n \\"ShortDescription\\": \\"B是A公司自主设计并研发的开源分布式的关系型数据库\\",\\n \\"LongDescriptionUrl\\": \\"https://example.com\\",\\n \\"Agreements\\": [\\n {\\n \\"Name\\": \\"Name\\",\\n \\"Url\\": \\"https://aliyun.com/xxxxxxxx.html\\"\\n }\\n ],\\n \\"Softwares\\": [\\n {\\n \\"Name\\": \\"MySQL\\",\\n \\"Version\\": \\"5.7\\"\\n }\\n ]\\n }\\n ],\\n \\"IsSupportOperated\\": false,\\n \\"PolicyNames\\": \\"policyName1, policyName2\\",\\n \\"Duration\\": 259200,\\n \\"Progress\\": 90,\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UpdateTime\\": \\"2021-05-22T00:00:00Z\\",\\n \\"ShareType\\": \\"Public\\",\\n \\"AlarmMetadata\\": \\"{\\\\n \\\\\\"TemplateUrl\\\\\\": \\\\\\"http://template.file.url\\\\\\",\\\\n // 应用分组级别告警元数据\\\\n \\\\\\"ApplicationGroups\\\\\\": [\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\"applicationGroup1\\\\\\",\\\\n \\\\\\"TemplateUrl\\\\\\": \\\\\\"url1\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\"applicationGroup2\\\\\\",\\\\n \\\\\\"TemplateUrl\\\\\\": \\\\\\"url2\\\\\\"\\\\n }\\\\n ]\\\\n}\\",\\n \\"UpgradeMetadata\\": \\"{\\\\\\\\\\\\\\"SupportRollback\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"SupportUpgradeFromVersions\\\\\\\\\\\\\\":[],\\\\\\\\\\\\\\"UpgradeComponents\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"Configuration\\\\\\\\\\\\\\"]}\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"PayFromType\\": \\"None\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"TrialDuration\\": 7,\\n \\"TrialType\\": \\"Trial\\",\\n \\"TenantType\\": \\"SingleTenant\\",\\n \\"LicenseMetadata\\": \\"{\\\\\\\\\\\\\\"PayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"CustomFixTime\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DefaultLicenseDays\\\\\\\\\\\\\\":7,\\\\\\\\\\\\\\"CustomMetadata\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"TemplateName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"模板1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SpecificationName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"bandwith-0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CustomData\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"}]}\\",\\n \\"OperationMetadata\\": \\"{\\\\\\\\\\\\\\"PrometheusConfigMap\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"New_Vpc_Ack_And_Jumpserver\\\\\\\\\\\\\\":{}}}\\",\\n \\"TestStatus\\": \\"SERVICE_TEST_SUCCEED\\",\\n \\"ApprovalType\\": \\"Manual\\",\\n \\"RegistrationId\\": \\"sr-1b4aabc1c9eb4109****\\",\\n \\"ResourceGroupId\\": \\"rg-acfm2jfvb7b****\\",\\n \\"Permission\\": \\"Deployable\\",\\n \\"Statistic\\": {\\n \\"AccumulativeInstanceCount\\": 75,\\n \\"AccumulativeUserCount\\": 60,\\n \\"DeployedServiceInstanceCount\\": 20,\\n \\"DeployedUserCount\\": 10,\\n \\"SubmittedUsageCount\\": 10,\\n \\"AccumulativePocAmount\\": 80.35,\\n \\"AveragePocAmount\\": 40.17,\\n \\"AveragePocUnitAmount\\": 167.9,\\n \\"AveragePocDuration\\": 1\\n },\\n \\"SourceServiceId\\": \\"service-70a3b15bb6264315****\\",\\n \\"SourceServiceVersion\\": \\"1\\",\\n \\"SourceSupplierName\\": \\"SourceSupplier\\",\\n \\"LogMetadata\\": \\"{\\\\n \\\\\\"Logstores\\\\\\": [\\\\n {\\\\n \\\\t\\\\\\"LogstoreName\\\\\\": \\\\\\"access-log\\\\\\",\\\\n \\\\t\\\\t\\\\\\"LogPath\\\\\\": \\\\\\"/home/admin/app/logs\\\\\\", # 对容器不需要,在YAML中配置\\\\n \\\\t\\\\t\\\\\\"FilePattern\\\\\\": \\\\\\"access.log*\\\\\\" # 对容器不需要,在YAML中配置\\\\n }\\\\n ]\\\\n}\\",\\n \\"Resellable\\": false,\\n \\"VirtualInternetService\\": \\"false\\",\\n \\"ServiceDiscoverable\\": \\"DISCOVERABLE\\",\\n \\"Categories\\": \\"DevOps\\",\\n \\"ShareTypeStatus\\": \\"该参数已弃用。\\",\\n \\"ServiceAuditDocumentUrl\\": \\"https://service-info-public.oss-cn-hangzhou.aliyuncs.com/169070753192****/service-document/be3382cd-e198-41a4-a697-f8707ec1****.docx\\",\\n \\"EntitySource\\": {\\n \\"key\\": \\"ComputNest\\"\\n },\\n \\"CrossRegionConnectionStatus\\": \\"componesConfigs\\",\\n \\"VirtualInternetServiceId\\": \\"service-70a3b15bb6264345****\\",\\n \\"Commodity\\": {\\n \\"Type\\": \\"Marketplace\\",\\n \\"ChargeType\\": \\"PREPAY\\",\\n \\"Components\\": [\\n \\"YARN\\"\\n ],\\n \\"Specifications\\": [\\n {\\n \\"Code\\": \\"cmjj00****\\",\\n \\"Name\\": \\"specifications1\\",\\n \\"Times\\": [\\n \\"3\\"\\n ]\\n }\\n ],\\n \\"MeteringEntities\\": [\\n {\\n \\"EntityId\\": \\"cmgj5682****-NetworkOut\\",\\n \\"Name\\": \\"spring-boot-demo\\"\\n }\\n ],\\n \\"MarketplaceMetadata\\": {\\n \\"SpecificationMappings\\": [\\n {\\n \\"SpecificationCode\\": \\"cmjj00****\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"SpecificationName\\": \\"按量付费\\",\\n \\"TrialType\\": \\"NotTrial\\"\\n }\\n ],\\n \\"MeteringEntityMappings\\": [\\n {\\n \\"EntityIds\\": \\"cmgj1596****-NetworkOut-2\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"SpecificationName\\": \\"按量付费套餐\\"\\n }\\n ],\\n \\"MeteringEntityExtraInfos\\": [\\n {\\n \\"EntityId\\": \\"cmgj1596****-NetworkOut-2\\",\\n \\"Type\\": \\"AvgPod\\",\\n \\"MetricName\\": \\"NetworkLantency\\",\\n \\"Promql\\": \\"avg_over_time(count(kube_pod_info{namespace=\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\"})[1h:1m])\\"\\n }\\n ]\\n },\\n \\"CssMetadata\\": {\\n \\"ComponentsMappings\\": [\\n {\\n \\"Mappings\\": {\\n \\"key\\": \\"{{DBInstanceStorage}}\\"\\n },\\n \\"TemplateName\\": \\"模板1\\"\\n }\\n ],\\n \\"MeteringEntityMappings\\": [\\n {\\n \\"EntityIds\\": \\"cmgj0015****-Frequency-1\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"SpecificationName\\": \\"按量付费套餐\\"\\n }\\n ],\\n \\"MeteringEntityExtraInfos\\": [\\n {\\n \\"EntityId\\": \\"cmgj0048****-Frequency-1\\",\\n \\"Type\\": \\"ComputeNestPrometheus\\",\\n \\"MetricName\\": \\"AvgMemory\\",\\n \\"Promql\\": \\"avg_over_time(count(kube_pod_info{namespace=\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\"})[1h:1m])\\"\\n }\\n ]\\n },\\n \\"CommodityCode\\": \\"cmjj00xxxx\\",\\n \\"SaasBoostMetadata\\": \\"{\\\\n \\\\\\"Enabled\\\\\\":false\\\\n //公网交互地址\\\\n \\\\\\"PublicAccessUrl\\\\\\":\\\\\\"https://example.com\\\\\\"\\\\n}\\"\\n },\\n \\"BuildInfo\\": \\"{ \\\\\\"RepoUrl\\\\\\": \\\\\\"https://github.com/user/repo.git\\\\\\", \\\\\\"Brancn\\\\\\": \\\\\\"main\\\\\\"}\\",\\n \\"BuildParameters\\": \\"{ \\\\\\"ServiceTemplateId\\\\\\": \\\\\\"st-xxxxx\\\\\\"}\\",\\n \\"ComplianceMetadata\\": {\\n \\"CompliancePacks\\": [\\n \\"VpcDataRisk: VPC内数据安全风险合规包。\\"\\n ]\\n },\\n \\"ServiceDocumentInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"DocumentUrl\\": \\"http://doc.com\\"\\n }\\n ],\\n \\"SupportContacts\\": [\\n {\\n \\"Type\\": \\"Email\\",\\n \\"Value\\": \\"supplier@test.com\\"\\n }\\n ],\\n \\"SecretKey\\": \\"6cfc5d4649c54216****\\",\\n \\"ServiceLocaleConfigs\\": [\\n {\\n \\"OriginalValue\\": \\"Service Name\\\\n\\",\\n \\"ZhValue\\": \\"服务名称\\",\\n \\"EnValue\\": \\"Service Name\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'GetService', - ], - 'ListServices' => [ - 'summary' => 'Queries a list of services.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Created\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\"\\n}","type":"json"}]', + 'title' => 'CreateServiceInstance', + 'changeSet' => [ + ['createdAt' => '2023-12-11T02:55:34.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-11T03:49:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-05-09T07:41:44.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceInstance'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'CreateServiceTestCase' => [ + 'summary' => 'Creates a service test case.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '36944', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - ], + 'abilityTreeCode' => '195882', + 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service-0e6fca6a51a544xxxxxx'], ], [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'NextToken', + 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', - ], + 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'draft'], ], [ - 'name' => 'AllVersions', + 'name' => 'TemplateName', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to return all versions of a service. Default value: false, which specifies that only the default version of a service is returned.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Template 1', 'required' => true, 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'TestCaseName', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzkt5buxxxxxx', - ], + 'schema' => ['description' => 'The name of the test case.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'case1'], ], [ - 'name' => 'Filter', + 'name' => 'TestConfig', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The filters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The parameter values of the filter.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - 'maxItems' => 20, - ], - 'Name' => [ - 'description' => 'The parameter name of the filter. You can specify one or more parameter names to query services. Valid values:'."\n" - ."\n" - .'* ServiceId: the ID of the service.'."\n" - .'* Name: the name of the service.'."\n" - .'* Status: the state of the service.'."\n" - .'* SupplierName: the name of the service provider.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Status', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The test configuration.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '---'."\n" + .'parameters:'."\n" + .' PayType: "PostPaid"'."\n" + .' EcsInstanceType: "$[iact3-auto]"'."\n" + .' InstancePassword: "$[iact3-auto]"'."\n"], ], [ - 'name' => 'Tag', + 'name' => 'RegionId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The custom tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'PlainResult<String>', + 'description' => 'PlainResult', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Services' => [ - 'description' => 'The services.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The state of the service. Valid values:'."\n" - ."\n" - .'* Draft: The service is a draft.'."\n" - .'* Submitted: The service is submitted for review. You cannot modify services in this state.'."\n" - .'* Approved: The service is approved. You cannot modify services in this state. You can publish services in this state.'."\n" - .'* Launching: The service is being published.'."\n" - .'* Online: The service is published.'."\n" - .'* Offline: The service is unpublished.'."\n", - 'type' => 'string', - 'example' => 'Online', - ], - 'DefaultVersion' => [ - 'description' => 'Indicates whether the version is the default version. Valid values:'."\n" - ."\n" - .'* false'."\n" - .'* true'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'PublishTime' => [ - 'description' => 'The time when the service was published.'."\n", - 'type' => 'string', - 'example' => '2021-05-21T00:00:00Z', - ], - 'Version' => [ - 'description' => 'The version of the service.'."\n", - 'type' => 'string', - 'example' => '1.0', - ], - 'DeployType' => [ - 'description' => 'The deployment type of the service. Valid values:'."\n" - ."\n" - .'* ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" - .'* terraform: The service is deployed by using Terraform.'."\n" - .'* spi: The service is deployed by calling the Service Provider Interface (SPI).'."\n" - .'* operation: The service is deployed by using a hosted O\\&M service.'."\n" - .'* container: The service is deployed by using a container.'."\n" - .'*'."\n", - 'type' => 'string', - 'example' => 'ros', - ], - 'ServiceId' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'example' => 'service-70a3b15bb62643xxxxxx', - ], - 'SupplierUrl' => [ - 'description' => 'The URL of the service provider.'."\n", - 'type' => 'string', - 'example' => 'http://example.com', - ], - 'ServiceType' => [ - 'description' => 'The type of the service. Valid values:'."\n" - ."\n" - .'* private: The service is a private service and is deployed within the account of a customer.'."\n" - .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" - .'* operation: The service is a hosted O\\&M service.'."\n", - 'type' => 'string', - 'example' => 'private', - ], - 'SupplierName' => [ - 'description' => 'The name of the service provider.'."\n", - 'type' => 'string', - 'example' => 'Alibaba Cloud', - ], - 'ServiceInfos' => [ - 'description' => 'The information about the service.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Locale' => [ - 'description' => 'The language of the service. Valid values:'."\n" - ."\n" - .'* zh-CN: Chinese.'."\n" - .'* en-US: English.'."\n", - 'type' => 'string', - 'example' => 'zh-CN', - ], - 'Image' => [ - 'description' => 'The URL of the service icon.'."\n", - 'type' => 'string', - 'example' => 'http://img.tidb.oss.url', - ], - 'Name' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'example' => 'SpringBoot-ECS容器版', - ], - 'ShortDescription' => [ - 'description' => 'The description of the service.'."\n", - 'type' => 'string', - 'example' => 'B是A公司自主设计并研发的开源分布式的关系型数据库', - ], - ], - ], - ], - 'CommodityCode' => [ - 'description' => 'The commodity code of the service in Alibaba Cloud Marketplace.'."\n", - 'type' => 'string', - 'example' => 'cmjj00xxxx', - ], - 'CreateTime' => [ - 'description' => 'The time when the service was created.'."\n", - 'type' => 'string', - 'example' => '2021-05-20T00:00:00Z', - ], - 'UpdateTime' => [ - 'description' => 'The time when the service was modified.'."\n", - 'type' => 'string', - 'example' => '2021-05-21T00:00:00Z', - ], - 'ShareType' => [ - 'description' => 'The permission type of the deployment URL. Valid values:'."\n" - ."\n" - .'* Public: All users can go to the URL to create a formal service instance or a trial service instance.'."\n" - .'* Restricted: Only users in the whitelist can go to the URL to create a formal service instance or a trial service instance.'."\n" - .'* OnlyFormalRestricted: Only users in the whitelist can go to the URL to create a formal service instance.'."\n" - .'* OnlyTrailRestricted: Only users in the whitelist can go to the URL to create a trial service instance.'."\n" - .'* Hidden: Users not in the whitelist cannot see the service details page when they go to the URL and cannot request deployment permissions.'."\n", - 'type' => 'string', - 'example' => 'Public', - ], - 'ApprovalType' => [ - 'description' => 'The approval type for applications for using the service. Valid values:'."\n" - ."\n" - .'* Manual: The applications are manual reviewed.'."\n" - .'* AutoPass: The applications are automatically approved.'."\n", - 'type' => 'string', - 'example' => 'AutoPass', - ], - 'VersionName' => [ - 'description' => 'The custom version name defined by the service provider.'."\n", - 'type' => 'string', - 'example' => 'v2.0.0', - ], - 'Tags' => [ - 'description' => 'The service tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'value1', - ], - ], - ], - ], - 'ArtifactId' => [ - 'description' => 'The ID of the artifact.'."\n", - 'type' => 'string', - 'example' => 'artifact-21ca53ac16a643xxxxxx', - ], - 'ArtifactVersion' => [ - 'description' => 'The version of the artifact.'."\n", - 'type' => 'string', - 'example' => 'draft', - ], - 'SourceImage' => [ - 'description' => 'The source image.'."\n", - 'type' => 'string', - 'example' => 'centos_7', - ], - 'RelationType' => [ - 'description' => 'The purpose of the artifact. Valid values:'."\n" - ."\n" - .'* ServiceDeployment: The artifact is used to create service instances.'."\n" - .'* ServiceUpgrade: The artifact is used to upgrade service instances.'."\n", - 'type' => 'string', - 'example' => 'ServiceDeployment', - ], - 'TrialType' => [ - 'description' => 'The trial policy. Valid values:'."\n" - ."\n" - .'* Trial: Trials are supported.'."\n" - .'* NotTrial: Trials are not supported.'."\n", - 'type' => 'string', - 'example' => 'Trial', - ], - 'TenantType' => [ - 'description' => 'The tenant type of the managed service. Valid values:'."\n" - ."\n" - .'* SingleTenant'."\n" - .'* MultiTenant'."\n", - 'type' => 'string', - 'example' => 'SingleTenant', - ], - 'ResourceGroupId' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'example' => 'rg-aekz5b555xxxxxx', - ], - 'SourceServiceId' => [ - 'description' => 'The ID of the distribution source service.'."\n", - 'type' => 'string', - 'example' => 'service-70a3b15bb62643xxxxxx', - ], - 'SourceServiceVersion' => [ - 'description' => 'The version of the distribution source service.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'SourceSupplierName' => [ - 'description' => 'The name of the distribution source service provider.'."\n", - 'type' => 'string', - 'example' => 'SourceSupplier', - ], - 'ResellServiceId' => [ - 'description' => 'The ID of the distribution service.'."\n", - 'type' => 'string', - 'example' => 'service-70a3b15bb62643xxxxxx', - ], - 'LatestResellSourceServiceVersion' => [ - 'description' => 'The latest version of the distribution source service.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'ResellApplyStatus' => [ - 'description' => 'The state of distribution authorization of the service. Valid values:'."\n" - ."\n" - .'* CanApply: Distributors can apply for distribution permissions.'."\n" - .'* Applied: The application for distribution permissions is submitted.'."\n" - .'* Approved: The application for distribution permissions is approved.'."\n", - 'type' => 'string', - 'example' => 'CanApply', - ], - 'VirtualInternetService' => [ - 'description' => 'Indicates whether the service is a virtual Internet service. Valid values:'."\n" - ."\n" - .'* false'."\n" - .'* true'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'Categories' => [ - 'description' => 'The category of the service.'."\n", - 'type' => 'string', - 'example' => 'OpenSource', - ], - 'ServiceDiscoverable' => [ - 'description' => 'Indicates whether the service is visible. Valid values:'."\n" - ."\n" - .'* INVISIBLE'."\n" - .'* DISCOVERABLE'."\n", - 'type' => 'string', - 'example' => 'INVISIBLE', - ], - 'HasDraft' => [ - 'description' => 'Indicates whether the service has a draft version. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'HasBeta' => [ - 'description' => 'Indicates whether the service has a beta version. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'BuildInfo' => [ - 'description' => 'The informathon for build service.', - 'type' => 'string', - 'example' => '{ "RepoUrl": "https://github.com/user/repo.git", "Brancn": "main"}', - ], - 'Commodity' => [ - 'description' => 'The commodity details.'."\n", - 'type' => 'object', - 'properties' => [ - 'CommodityCode' => [ - 'description' => 'The commodity code.'."\n", - 'type' => 'string', - 'example' => 'cmjj00xxxx', - ], - 'Type' => [ - 'description' => 'The platform type. Valid values:'."\n" - ."\n" - .'* marketplace: Alibaba Cloud Marketplace.'."\n" - .'* Css: Lingxiao.'."\n" - .'* SaasBoost: Saas Boost.'."\n", - 'type' => 'string', - 'example' => 'Marketplace', - ], - 'SaasBoostMetadata' => [ - 'description' => 'The configuration metadata related to Saas Boost.'."\n", - 'type' => 'string', - 'example' => '{ // Specifies whether to associate the service with the SaaS Boost commodity. Default value: false. "Enabled":true/false // The public endpoint of the SaaS Boost instance. "PublicAccessUrl":"https://example.com" }'."\n", - ], - ], - ], - 'ServiceLocaleConfigs' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'OriginalValue' => [ - 'type' => 'string', - ], - 'ZhValue' => [ - 'type' => 'string', - ], - 'EnValue' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E50287CB-AABF-4877-92C0-289B339A1546', 'title' => ''], + 'TestCaseId' => ['description' => 'The test case ID.', 'type' => 'string', 'example' => 'stc-5ba03a6a9a2746be8739', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 1,\\n \\"Services\\": [\\n {\\n \\"Status\\": \\"Online\\",\\n \\"DefaultVersion\\": true,\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Version\\": \\"1.0\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-70a3b15bb62643****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"A有限公司\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"http://img.example.oss.url\\",\\n \\"Name\\": \\"B数据库\\",\\n \\"ShortDescription\\": \\"B是A公司自主设计并研发的开源分布式的关系型数据库\\"\\n }\\n ],\\n \\"CommodityCode\\": \\"cmjj00****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UpdateTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"ShareType\\": \\"Public\\",\\n \\"ApprovalType\\": \\"AutoPass\\",\\n \\"VersionName\\": \\"v2.0.0\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"ArtifactId\\": \\"artifact-21ca53ac16a643****\\",\\n \\"ArtifactVersion\\": \\"draft\\",\\n \\"SourceImage\\": \\"centos_7\\",\\n \\"RelationType\\": \\"ServiceDeployment\\",\\n \\"TrialType\\": \\"Trial\\",\\n \\"TenantType\\": \\"SingleTenant\\",\\n \\"ResourceGroupId\\": \\"rg-aekz5b555****\\",\\n \\"SourceServiceId\\": \\"service-70a3b15bb62643****\\",\\n \\"SourceServiceVersion\\": \\"1\\",\\n \\"SourceSupplierName\\": \\"SourceSupplier\\",\\n \\"ResellServiceId\\": \\"service-70a3b15bb62643****\\",\\n \\"LatestResellSourceServiceVersion\\": \\"1\\",\\n \\"ResellApplyStatus\\": \\"CanApply\\",\\n \\"VirtualInternetService\\": \\"false\\",\\n \\"Categories\\": \\"OpenSource\\",\\n \\"ServiceDiscoverable\\": \\"INVISIBLE\\",\\n \\"HasDraft\\": true,\\n \\"HasBeta\\": true,\\n \\"BuildInfo\\": \\"{ \\\\\\"RepoUrl\\\\\\": \\\\\\"https://github.com/user/example.git\\\\\\", \\\\\\"Brancn\\\\\\": \\\\\\"main\\\\\\"}\\",\\n \\"Commodity\\": {\\n \\"CommodityCode\\": \\"cmjj00****\\",\\n \\"Type\\": \\"Marketplace\\",\\n \\"SaasBoostMetadata\\": \\"{\\\\n //开启/关闭SaaS Boost绑定\\\\n \\\\\\"Enabled\\\\\\":true/false,默认为false\\\\n //公网交互地址\\\\n \\\\\\"PublicAccessUrl\\\\\\":\\\\\\"https://example.com\\\\\\"\\\\n}\\"\\n },\\n \\"ServiceLocaleConfigs\\": [\\n {\\n \\"OriginalValue\\": \\"Service Name\\\\n\\",\\n \\"ZhValue\\": \\"服务名称\\",\\n \\"EnValue\\": \\"Service Name\\\\n\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListServices', - ], - 'PreLaunchService' => [ - 'summary' => 'Pre-release service', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E50287CB-AABF-4877-92C0-289B339A1546\\",\\n \\"TestCaseId\\": \\"stc-5ba03a6a9a2746be8739\\"\\n}","type":"json"}]', + 'title' => 'CreateServiceTestCase', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceTestCase'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateServiceTestCase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestCase', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetestcase/*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'CreateServiceTestTask' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3052,79 +1663,85 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '201480', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestB2MIVU', - ], + 'abilityTreeCode' => '164226', + 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The name of the task.', 'type' => 'string', 'required' => true, 'example' => 'nametest'], ], [ - 'name' => 'ServiceId', + 'name' => 'TestCaseIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', + 'title' => '服务测试用例', + 'description' => 'The service test use cases.', + 'type' => 'array', + 'items' => ['description' => 'The ID of a service test use case.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'stc-xxxx'], 'required' => true, - 'docRequired' => true, - 'example' => 'service-f7024a22ea5149xxxxxx', + 'maxItems' => 10, + 'example' => '', ], ], [ - 'name' => 'ClientToken', + 'name' => 'TaskRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.', - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['description' => 'The region where the task is executed.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-beijing'], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'PlainResult<ServiceTestTaskModel>', + 'description' => 'PlainResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', - ], + 'TaskId' => ['description' => 'The unique ID of the task.', 'type' => 'string', 'title' => '', 'example' => 'stt-568c2c5a687a409b977e'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'DF0F666F-FBBC-55C3-A368-C955DE7B4839'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', - 'title' => 'Pre-Launch Service', - 'translator' => 'machine', - ], - 'RegisterService' => [ - 'summary' => 'Registers an artifact.', - 'methods' => [ - 'post', - 'get', + 'title' => 'CreateServiceTestTask', + 'summary' => 'Creates a test task for a service.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceTestTask'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateServiceTestTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestTask', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetesttask/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": \\"stt-568c2c5a687a409b977e\\",\\n \\"RequestId\\": \\"DF0F666F-FBBC-55C3-A368-C955DE7B4839\\"\\n}","type":"json"}]', + ], + 'CreateServiceUsage' => [ + 'summary' => 'You can create a service distribution request.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3133,594 +1750,302 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '36948', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestB2MIVU', - ], + 'abilityTreeCode' => '194790', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The service ID.', 'required' => true, 'type' => 'string', 'title' => '', 'example' => 'service-c2d118c9193e49xxxxxx'], ], [ - 'name' => 'ServiceId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-f7024a22ea5149xxxxxx', - ], + 'schema' => ['description' => 'The client token.', 'required' => false, 'type' => 'string', 'title' => '', 'example' => 'mRdxWuW2ts'], ], [ - 'name' => 'ClientToken', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['description' => 'The region ID.', 'required' => false, 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'type' => 'object', + 'description' => 'The response schema.', 'properties' => [ - 'RegistrationId' => [ - 'description' => 'The registration ID.'."\n", - 'type' => 'string', - 'example' => 'sr-72dd5071e90c40xxxxxx', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A361BA9E-2713-52C8-AFFC-C26E5180456E', - ], + 'RequestId' => ['description' => 'The request ID.', 'title' => 'Id of the request', 'type' => 'string', 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C'], ], - 'description' => '', + 'title' => 'Schema of Response', + 'type' => 'object', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RegistrationId\\": \\"sr-72dd5071e90c40xxxxxx\\",\\n \\"RequestId\\": \\"A361BA9E-2713-52C8-AFFC-C26E5180456E\\"\\n}","type":"json"}]', - 'title' => 'RegisterService', - ], - 'LaunchService' => [ - 'summary' => 'Launch service', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'null', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceUsage'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateServiceUsage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\"\\n}","type":"json"}]', + ], + 'CreateSupplierRegistration' => [ + 'summary' => 'Registers a service provider.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '36951', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestB2MIVU', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '190207', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ServiceId', + 'name' => 'SupplierName', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-0e6fca6a51a544xxxxxx', - ], + 'schema' => ['description' => 'The name of the service provider.', 'type' => 'string', 'example' => 'Company A', 'required' => true, 'title' => ''], ], [ - 'name' => 'ServiceVersion', + 'name' => 'SupplierNameEn', 'in' => 'query', - 'schema' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1.0', - ], + 'schema' => ['description' => 'The English name of the service provider.', 'type' => 'string', 'required' => true, 'example' => 'Alibaba Cloud', 'title' => ''], ], [ - 'name' => 'Categories', + 'name' => 'SupplierUrl', + 'in' => 'query', + 'schema' => ['description' => 'The supplier\'s address.', 'type' => 'string', 'required' => true, 'example' => 'http://www.xxx.xxx.cn', 'title' => ''], + ], + [ + 'name' => 'SupplierDesc', + 'in' => 'query', + 'schema' => ['description' => 'The description of the service provider.', 'type' => 'string', 'example' => 'Alibaba Cloud Compute Nest', 'required' => true, 'title' => ''], + ], + [ + 'name' => 'SupplierLogo', + 'in' => 'query', + 'schema' => ['description' => 'The icon of the service provider.', 'type' => 'string', 'required' => false, 'example' => 'http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png', 'title' => ''], + ], + [ + 'name' => 'ProductBusiness', + 'in' => 'query', + 'schema' => ['description' => 'The industry of the service provider\'s product.', 'type' => 'string', 'required' => false, 'example' => 'AI', 'title' => ''], + ], + [ + 'name' => 'ProductDeliveryTypes', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The categories of the service.', + 'description' => 'The delivery methods of the service provider\'s product. Valid values:'."\n" + ."\n" + .'- SaaS'."\n" + ."\n" + .'- License'."\n" + ."\n" + .'- API'."\n" + ."\n" + .'- DesktopSoftware'."\n" + ."\n" + .'- Others', 'type' => 'array', - 'items' => [ - 'description' => 'The category of the service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DevOps', - ], - 'required' => false, - 'docRequired' => false, + 'items' => ['description' => 'The delivery method of the service provider\'s product. Valid values:'."\n" + ."\n" + .'- SaaS'."\n" + ."\n" + .'- License'."\n" + ."\n" + .'- API'."\n" + ."\n" + .'- DesktopSoftware'."\n" + ."\n" + .'- Others', 'type' => 'string', 'required' => false, 'example' => 'License', 'title' => ''], + 'required' => true, 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ClientToken', + 'name' => 'ProductSellTypes', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', + 'description' => 'The sales models of the service provider\'s product. Valid values:'."\n" + ."\n" + .'- Direct: Direct sales'."\n" + ."\n" + .'- Channel: Channel sales', + 'type' => 'array', + 'items' => ['description' => 'The sales model of the service provider\'s product. Valid values:'."\n" + ."\n" + .'- Direct: Direct sales'."\n" + ."\n" + .'- Channel: Channel sales', 'type' => 'string', 'required' => false, 'example' => 'Direct', 'title' => ''], + 'required' => true, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Recommend', + 'name' => 'EnableResellerMode', 'in' => 'query', - 'schema' => [ - 'description' => 'Whether to set the recommended service publishing to the service directory.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable distribution.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', - ], - 'Version' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'example' => '1.0', - ], - 'ServiceLaunchResultType' => [ - 'description' => 'The mode of the service online. Valid Type'."\n" - ."\n" - .'- PublishNewVersion: Launch new version'."\n" - .'- PublishOfflineVersion: The offline version is online again.'."\n" - .'- UpdateLatestVersion: Update the latest version online', - 'type' => 'string', - 'example' => 'PublishNewVersion', - ], - ], - ], + [ + 'name' => 'ProductPublishTime', + 'in' => 'query', + 'schema' => ['description' => 'The launch date of the product.', 'type' => 'string', 'required' => false, 'example' => '2020.10.10', 'title' => ''], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"Version\\": \\"1.0\\",\\n \\"ServiceLaunchResultType\\": \\"PublishNewVersion\\"\\n}","type":"json"}]', - 'title' => 'Launch Service', - 'description' => '需要上线的服务必须为已通过审核的服务。', - 'translator' => 'machine', - ], - 'GetServiceProvisions' => [ - 'summary' => 'Queries the information about the activation status and Resource Access Management (RAM) roles of the cloud services required by a service.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ProductAnnualRevenue', + 'in' => 'query', + 'schema' => ['description' => 'The annual revenue of the product.', 'type' => 'string', 'example' => '10000000', 'required' => false, 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', + [ + 'name' => 'ContactPerson', + 'in' => 'query', + 'schema' => ['description' => 'The contact person.', 'type' => 'string', 'example' => 'John Doe', 'required' => true, 'title' => ''], ], - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ContactPersonTitle', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The title of the contact person.', 'type' => 'string', 'required' => true, 'example' => 'CTO', 'title' => ''], ], [ - 'name' => 'ServiceId', + 'name' => 'ContactNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'service-20b8a396048346xxxxxx', - ], + 'schema' => ['description' => 'The phone number of the contact person.', 'type' => 'string', 'required' => true, 'example' => '186xxxxxxxxx', 'title' => ''], ], [ - 'name' => 'ServiceVersion', + 'name' => 'ContactEmail', 'in' => 'query', - 'schema' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The email address of the contact person.', 'type' => 'string', 'required' => true, 'example' => 'xxxx@xxx.com', 'title' => ''], ], [ - 'name' => 'TemplateName', + 'name' => 'Suggestion', 'in' => 'query', - 'schema' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '模板1', - ], + 'schema' => ['description' => 'The suggestions from the service provider.', 'type' => 'string', 'required' => false, 'example' => '无', 'title' => ''], ], [ - 'name' => 'Parameters', + 'name' => 'ResellBusinessDesc', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are specified to deploy the service instance.'."\n", - 'type' => 'object', - 'required' => false, - 'example' => '{\\"RegionId\\":\\"cn-hangzhou\\"}', - ], + 'schema' => ['description' => 'The description of the distribution business.', 'type' => 'string', 'required' => false, 'example' => '无', 'title' => ''], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DB1FA13E-1087-5654-84D5-58A0ACAD1B18', - ], - 'ServiceProvisions' => [ - 'description' => 'The information about the cloud services.', - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the cloud services.', - 'type' => 'object', - 'properties' => [ - 'ServiceName' => [ - 'description' => 'The name of the cloud service.', - 'type' => 'string', - 'example' => 'db', - ], - 'Status' => [ - 'description' => 'The activation status of the cloud service. Valid values:'."\n" - ."\n" - .'- Enabled: The cloud service is activated.'."\n" - .'- EnabledByDefault: The cloud service is activated by default.'."\n" - .'- Disabled: The cloud service is not activated.'."\n" - .'- Unknown: The activation status of the cloud service is unknown.', - 'type' => 'string', - 'example' => 'Enabled', - ], - 'AutoEnableService' => [ - 'description' => 'Indicates whether automatic activation for the service is defined in the template. Valid values:'."\n" - ."\n" - .'* true: Automatic activation for the service is defined in the template.'."\n" - .'* false: Manual activation for the service is defined in the template.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RoleProvision' => [ - 'description' => 'The information about the RAM roles of the cloud service. If this parameter is empty, no RAM roles is associated with the service.', - 'type' => 'object', - 'properties' => [ - 'Roles' => [ - 'description' => 'The RAM roles.', - 'type' => 'array', - 'items' => [ - 'description' => 'The RAM role.', - 'type' => 'object', - 'properties' => [ - 'RoleName' => [ - 'description' => 'The name of the role.'."\n", - 'type' => 'string', - 'example' => 'AliyunServiceRole', - ], - 'Created' => [ - 'description' => 'Indicates whether the RAM role is created. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Function' => [ - 'description' => 'The purpose for which the RAM role is used. Default value: Default. A value of Default indicates that the RAM role is the default role of the service.'."\n", - 'type' => 'string', - 'example' => 'Default', - ], - 'ApiForCreation' => [ - 'description' => 'The information about the API operation that is used to create the RAM role.'."\n", - 'type' => 'object', - 'properties' => [ - 'ApiName' => [ - 'description' => 'The name of the API operation.'."\n", - 'type' => 'string', - 'example' => 'GetServiceProvisions', - ], - 'ApiProductId' => [ - 'description' => 'The ID of the Alibaba Cloud service to which the API operation belongs.'."\n", - 'type' => 'string', - 'example' => 'ComputeNest', - ], - 'ApiType' => [ - 'description' => 'The type of the API operation. Valid values:'."\n" - ."\n" - .'* Open: public'."\n" - .'* Inner: private'."\n", - 'type' => 'string', - 'example' => 'Open', - ], - 'Parameters' => [ - 'description' => 'The parameters of the API operation. ${Variable name} indicates a dynamic parameter.', - 'type' => 'object', - 'example' => '{ "ServiceLinkedRole": "AliyunServiceRoleForRdsPgsqlOnEcs", "RegionId": "${RegionId}" }', - ], - ], - ], - ], - ], - ], - 'AuthorizationURL' => [ - 'description' => 'The authorization URL of the RAM role.'."\n" - ."\n" - .'> This parameter is returned if Created is set to false.'."\n", - 'type' => 'string', - 'example' => 'https://ram.console.aliyun.com/role/authorization?request={"Services":[{"Service":"CS","Roles":[{"RoleName":"AliyunCSManagedVKRole","TemplateId":"AliyunCSManagedVKRole"},{"RoleName":"AliyunCSDefaultRole","TemplateId":"Default"}]}],"ReturnUrl":"https://cs.console.aliyun.com/"}', - ], - ], - ], - 'StatusReason' => [ - 'description' => 'The reason why the service is in the Disabled or Unknown state.'."\n" - ."\n" - .'> This parameter is returned if Status is set to Disabled or Unknown.'."\n", - 'type' => 'string', - 'example' => 'resource(Eip) import info missing', - ], - 'EnableURL' => [ - 'description' => 'The URL that points to the activation page of the service.'."\n" - ."\n" - .'> This parameter is returned if Status is set to Disabled.'."\n", - 'type' => 'string', - 'example' => 'https://common-buy.aliyun.com/?commodityCode=sls', - ], - 'CommodityProvisions' => [ - 'description' => 'Product details. Some services (such as ACS) involve the activation of multiple products', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CommodityCode' => [ - 'description' => 'Commodity Code', - 'type' => 'string', - 'example' => 'acs_postpaid_public_cn', - ], - 'Status' => [ - 'description' => 'Cloud service activation status.', - 'type' => 'string', - 'example' => 'Disabled', - ], - 'EnableURL' => [ - 'description' => 'Product activation link.', - 'type' => 'string', - 'example' => 'https://common-buy.aliyun.com/?commodityCode=acs_postpaid_public_cn'."\n", - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'C4A145D8-xxxx-xxxx-xxxx-9730CDA27578'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB1FA13E-1087-5654-84D5-58A0ACAD1B18\\",\\n \\"ServiceProvisions\\": [\\n {\\n \\"ServiceName\\": \\"db\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"AutoEnableService\\": true,\\n \\"RoleProvision\\": {\\n \\"Roles\\": [\\n {\\n \\"RoleName\\": \\"AliyunServiceRole\\",\\n \\"Created\\": true,\\n \\"Function\\": \\"Default\\",\\n \\"ApiForCreation\\": {\\n \\"ApiName\\": \\"GetServiceProvisions\\",\\n \\"ApiProductId\\": \\"ComputeNest\\",\\n \\"ApiType\\": \\"Open\\",\\n \\"Parameters\\": {\\n \\"ServiceLinkedRole\\": \\"AliyunServiceRoleForRdsPgsqlOnEcs\\",\\n \\"RegionId\\": \\"${RegionId}\\"\\n }\\n }\\n }\\n ],\\n \\"AuthorizationURL\\": \\"https://ram.console.aliyun.com/role/authorization?request={\\\\\\"Services\\\\\\":[{\\\\\\"Service\\\\\\":\\\\\\"CS\\\\\\",\\\\\\"Roles\\\\\\":[{\\\\\\"RoleName\\\\\\":\\\\\\"AliyunCSManagedVKRole\\\\\\",\\\\\\"TemplateId\\\\\\":\\\\\\"AliyunCSManagedVKRole\\\\\\"},{\\\\\\"RoleName\\\\\\":\\\\\\"AliyunCSDefaultRole\\\\\\",\\\\\\"TemplateId\\\\\\":\\\\\\"Default\\\\\\"}]}],\\\\\\"ReturnUrl\\\\\\":\\\\\\"https://cs.console.aliyun.com/\\\\\\"}\\"\\n },\\n \\"StatusReason\\": \\"resource(Eip) import info missing\\",\\n \\"EnableURL\\": \\"https://common-buy.aliyun.com/?commodityCode=sls\\",\\n \\"CommodityProvisions\\": [\\n {\\n \\"CommodityCode\\": \\"acs_postpaid_public_cn\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"EnableURL\\": \\"https://common-buy.aliyun.com/?commodityCode=acs_postpaid_public_cn\\\\n\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'GetServiceProvisions', - ], - 'GetServiceTemplateParameterConstraints' => [ - 'summary' => 'Queries the valid values of parameters in a Resource Orchestration Service (ROS) template.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4A145D8-xxxx-xxxx-xxxx-9730CDA27578\\"\\n}","type":"json"}]', + 'title' => 'CreateSupplierRegistration', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSupplierRegistration'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateSupplierRegistration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'DeleteAcrImageRepositories' => [ + 'summary' => 'Deletes ACR image repositories.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '136396', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '160456', + 'abilityTreeNodes' => ['FEATUREcomputenest4Y9BYP'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'service-1c11f365190c44xxxxxx', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ServiceVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'draft', - ], - ], - [ - 'name' => 'TemplateName', + 'name' => 'RepoId', 'in' => 'query', - 'schema' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '模板1', - ], - ], - [ - 'name' => 'Parameters', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The parameters in the template.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ParameterKey' => [ - 'description' => 'The parameter name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PayType', - ], - 'ParameterValue' => [ - 'description' => 'The parameter value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PostPaid', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The image repository ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-7x9rf32mkqoqulrn', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. Generate a value for this parameter from your client. Make sure that the value is unique among different requests. **ClientToken** can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '10CM943JP0EN9D51H', 'title' => ''], ], [ - 'name' => 'DeployRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region in which the service instance is deployed.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-huhehaote', - ], - ], - [ - 'name' => 'ServiceInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'si-d6ab3a63ccbb4b17****', - ], - ], - [ - 'name' => 'EnablePrivateVpcConnection', + 'name' => 'ArtifactType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the private connection feature. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The type of the artifact. The default value is AcrImage. Valid values:'."\n" + ."\n" + .'- HelmChart: A Helm Chart image.'."\n" + ."\n" + .'- AcrImage: A container image.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'AcrImage', 'title' => ''], ], ], 'responses' => [ @@ -3728,344 +2053,132 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C81C0732-DEBC-559C-B563-7EB2BEB21088', - ], - 'ParameterConstraints' => [ - 'description' => 'The parameters in the template.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The type of the parameter.'."\n", - 'type' => 'string', - 'example' => 'String', - ], - 'AllowedValues' => [ - 'description' => 'The valid values of the parameter.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The value of the parameter.'."\n", - 'type' => 'string', - 'example' => '"ecs.hfr6.16xlarge"', - ], - ], - 'AssociationParameterNames' => [ - 'description' => 'The names of the associated parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The names of the associated parameters.'."\n", - 'type' => 'string', - 'example' => '"ZoneId1",'."\n" - .' "VSwitchId1"', - ], - ], - 'ParameterKey' => [ - 'description' => 'The name of the parameter.'."\n", - 'type' => 'string', - 'example' => 'PayType', - ], - 'Behavior' => [ - 'description' => 'The behavior of the parameter. Valid values:'."\n" - ."\n" - .'* NoLimit: The value of this parameter is not limited.'."\n" - .'* NotSupport: The value of this parameter cannot be queried.'."\n" - .'* QueryError: The query failed.'."\n" - ."\n" - .'> If AllowedValues is not returned, Behavior and BehaviorReason are returned.'."\n", - 'type' => 'string', - 'example' => 'NoLimit', - ], - 'BehaviorReason' => [ - 'description' => 'The reason why the behavior of the parameter is returned.'."\n", - 'type' => 'string', - 'example' => 'none', - ], - 'OriginalConstraints' => [ - 'description' => 'The original constraint information.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AllowedValues' => [ - 'description' => 'The valid values of the parameter.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The value of the parameter.'."\n", - 'type' => 'string', - 'example' => '"ecs.hfr6.16xlarge"', - ], - ], - 'PropertyName' => [ - 'description' => 'The property name.'."\n", - 'type' => 'string', - 'example' => 'lnch_Source', - ], - 'ResourceName' => [ - 'description' => 'The resource name.'."\n", - 'type' => 'string', - 'example' => 'i-8vb0smn1lf6g77md****', - ], - 'ResourceType' => [ - 'description' => 'The resource type.'."\n", - 'type' => 'string', - 'example' => 'serviceinstance', - ], - ], - ], - ], - ], - ], - ], - 'FamilyConstraints' => [ - 'description' => 'The constraint families.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The constraint family.'."\n", - 'type' => 'string', - 'example' => '[]', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9B55A3FD-B562-5BFE-A91A-DB1790717236', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C81C0732-DEBC-559C-B563-7EB2BEB21088\\",\\n \\"ParameterConstraints\\": [\\n {\\n \\"Type\\": \\"String\\",\\n \\"AllowedValues\\": [\\n \\"\\\\\\"ecs.hfr6.16xlarge\\\\\\"\\"\\n ],\\n \\"AssociationParameterNames\\": [\\n \\"\\\\\\"ZoneId1\\\\\\",\\\\n \\\\\\"VSwitchId1\\\\\\"\\"\\n ],\\n \\"ParameterKey\\": \\"PayType\\",\\n \\"Behavior\\": \\"NoLimit\\",\\n \\"BehaviorReason\\": \\"none\\",\\n \\"OriginalConstraints\\": [\\n {\\n \\"AllowedValues\\": [\\n \\"\\\\\\"ecs.hfr6.16xlarge\\\\\\"\\"\\n ],\\n \\"PropertyName\\": \\"lnch_Source\\",\\n \\"ResourceName\\": \\"i-8vb0smn1lf6g77md****\\",\\n \\"ResourceType\\": \\"serviceinstance\\"\\n }\\n ]\\n }\\n ],\\n \\"FamilyConstraints\\": [\\n \\"[]\\"\\n ]\\n}","type":"json"}]', - 'title' => 'GetServiceTemplateParameterConstraints', - ], - 'GetServiceEstimateCost' => [ - 'summary' => 'Queries the estimated price for creating a service instance.', - 'methods' => [ - 'get', - 'post', + 'title' => 'DeleteAcrImageRepositories', + 'description' => '### Prerequisites'."\n" + ."\n" + .'Before you delete an image repository, ensure that no deployments reference its container images. If you delete a repository that contains referenced images, the associated deployments become unavailable.', + 'changeSet' => [ + ['createdAt' => '2022-11-25T01:47:39.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAcrImageRepositories'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteAcrImageRepositories', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9B55A3FD-B562-5BFE-A91A-DB1790717236\\"\\n}","type":"json"}]', + ], + 'DeleteAcrImageTags' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '137755', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'abilityTreeCode' => '160457', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-wulanchabu', - ], - ], - [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'service-16fbd358d75e49xxxxxx', - ], - ], - [ - 'name' => 'ServiceVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'draft', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => 'The ID of the region.', 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'TemplateName', + 'name' => 'RepoId', 'in' => 'query', - 'schema' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Custom_Image_Ecs', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => 'The ID of the image repository.', 'title' => '', 'example' => 'crr-3gqhkza0wbxxxxxx'], ], [ - 'name' => 'Parameters', + 'name' => 'Tag', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are specified to deploy the service instance.'."\n", - 'type' => 'object', - 'required' => false, - 'example' => '{\\"PayType\\":\\"PostPaid\\",\\"InstancePassword\\":\\"xxxxxxxxxx\\",\\"EcsInstanceType\\":\\"ecs.g6.large\\",\\"VSwitchId\\":\\"vsw-0jlueyydpuekoxxxxxxxx\\",\\"VpcId\\":\\"vpc-0jlps6mjbgvpqxxxxxxxx\\",\\"ZoneId\\":\\"cn-wulanchabu-a\\",\\"Enable\\":false,\\"RegionId\\":\\"cn-wulanchabu\\"}', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => 'The tag of the container image.', 'title' => '', 'example' => '1.0'], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mRdxWuW2ts', - ], - ], - [ - 'name' => 'ServiceInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'si-d6ab3a63ccbb4b17****', - ], - ], - [ - 'name' => 'SpecificationName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The package name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Package 1'."\n", - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'A client token that you can use to ensure the idempotence of the request. This token is generated by your client and must be unique for each request. **ClientToken** can contain only ASCII characters and must be no more than 64 characters long.', 'title' => '', 'example' => '788E7CP0EN9D51P'], ], [ - 'name' => 'Commodity', + 'name' => 'ArtifactType', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The subscription duration information about the purchase order of Alibaba Cloud Marketplace.'."\n", - 'type' => 'object', - 'properties' => [ - 'PayPeriodUnit' => [ - 'description' => 'The unit of the subscription duration. Valid values:'."\n" - ."\n" - .'* Year'."\n" - .'* Month'."\n" - .'* Day'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Month', - ], - 'PayPeriod' => [ - 'description' => 'The subscription duration.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - 'required' => false, - ], + 'allowEmptyValue' => true, + 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => true, 'description' => 'The type of the artifact. The default value is AcrImage. Valid values:'."\n" + ."\n" + .'- HelmChart: A Helm Chart image.'."\n" + ."\n" + .'- AcrImage: A container image.', 'title' => '', 'example' => 'AcrImage'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C', - ], - 'Resources' => [ - 'description' => 'The list of resources.'."\n", - 'type' => 'object', - 'example' => '{'."\n" - .' "ECSInstances":{'."\n" - .' "Type":"ALIYUN::ECS::InstanceGroup",'."\n" - .' "Success":true,'."\n" - .' "Result":{'."\n" - .' "Order":{'."\n" - .' "Currency":"CNY",'."\n" - .' "RuleIds":['."\n" - .' 1752723'."\n" - .' ],'."\n" - .' "DetailInfos":{'."\n" - .' "ResourcePriceModel":['."\n" - .' {'."\n" - .' "Resource":"bandwidth",'."\n" - .' "TradeAmount":0.0,'."\n" - .' "SubRuleIds":[],'."\n" - .' "OriginalAmount":0.0,'."\n" - .' "DiscountAmount":0.0'."\n" - .' },'."\n" - .' {'."\n" - .' "Resource":"image",'."\n" - .' "TradeAmount":0.0,'."\n" - .' "SubRuleIds":[],'."\n" - .' "OriginalAmount":0.0,'."\n" - .' "DiscountAmount":0.0'."\n" - .' },'."\n" - .' {'."\n" - .' "Resource":"instanceType",'."\n" - .' "TradeAmount":0.006966,'."\n" - .' "SubRuleIds":[],'."\n" - .' "OriginalAmount":0.45,'."\n" - .' "DiscountAmount":0.443034'."\n" - .' },'."\n" - .' {'."\n" - .' "Resource":"systemDisk",'."\n" - .' "TradeAmount":0.000867,'."\n" - .' "SubRuleIds":[],'."\n" - .' "OriginalAmount":0.056,'."\n" - .' "DiscountAmount":0.055133'."\n" - .' },'."\n" - .' {'."\n" - .' "Resource":"dataDisk",'."\n" - .' "TradeAmount":0.002167,'."\n" - .' "SubRuleIds":[],'."\n" - .' "OriginalAmount":0.14,'."\n" - .' "DiscountAmount":0.137833'."\n" - .' }'."\n" - .' ]'."\n" - .' }', - ], - 'Commodity' => [ - 'description' => 'The subscription duration information about the purchase order of Alibaba Cloud Marketplace.'."\n", - 'type' => 'object', - 'example' => '{\\"PayPeriodUnit\\":Month,\\"PayPeriod\\":1}', - ], + 'RequestId' => ['type' => 'string', 'description' => 'The ID of the request.', 'title' => '', 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\",\\n \\"Resources\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Commodity\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]', - 'title' => 'GetServiceEstimateCost', - ], - 'WithdrawService' => [ - 'summary' => 'Withdraw service version.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteAcrImageTags', + 'summary' => 'Delete a container image version from ACR', + 'description' => '###'."\n" + ."\n" + .'You must delete the deployments that use the container image before you delete the image tag. After the tag is deleted, the corresponding deployments become unusable.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteAcrImageTags', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\"\\n}","type":"json"}]', + ], + 'DeleteArtifact' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4074,58 +2187,31 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', + 'operationType' => 'delete', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '36953', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestB2MIVU', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '132198', + 'abilityTreeNodes' => ['FEATUREcomputenest4Y9BYP'], ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ServiceId', + 'name' => 'ArtifactId', 'in' => 'query', - 'schema' => [ - 'description' => 'Service ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-0e6fca6a51a544xxxxxx', - ], + 'schema' => ['description' => 'The ID of the artifact.'."\n" + ."\n" + .'Call [ListArtifacts](~~469993~~) to obtain the artifact ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'artifact-eea08d1e2d3a43aexxxx'], ], [ - 'name' => 'ServiceVersion', + 'name' => 'ArtifactVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'Service version.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1.0', - ], + 'schema' => ['description' => 'The version of the artifact.'."\n" + ."\n" + .'Call [ListArtifactVersions](~~469995~~) to obtain the artifact version.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2'], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'Client token, used to ensure the idempotence of requests. Generate a unique value for this parameter from your client to ensure it is unique across different requests. ClientToken supports only ASCII characters.', - 'type' => 'string', - 'required' => false, - 'example' => '788E7CP0EN9D51P', - ], + 'schema' => ['description' => 'A client-generated token that ensures the idempotence of the request. Make sure that the token is unique for each request. **ClientToken** supports only ASCII characters and must be no more than 64 characters long.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9D51H'], ], ], 'responses' => [ @@ -4133,196 +2219,118 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '1B3AD3CC-E938-5042-A771-7FD9A2FE03F3'], ], + 'description' => 'The response parameters.'."\n", + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', - 'title' => 'WithdrawService', - 'translator' => 'machine', - ], - 'GenerateServicePolicy' => [ - 'summary' => 'Generate and validate the stack required for service creation', - 'methods' => [ - 'post', + 'title' => 'DeleteArtifact', + 'summary' => 'You can call DeleteArtifact to delete an artifact or a specific version of an artifact.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteArtifact'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteArtifact', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:artifact/{#ArtifactId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1B3AD3CC-E938-5042-A771-7FD9A2FE03F3\\"\\n}","type":"json"}]', + ], + 'DeleteService' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', + 'operationType' => 'delete', + 'riskType' => 'high', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - ], + 'abilityTreeCode' => '36943', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818', 'FEATUREcomputenest1Z49ZW', 'FEATUREcomputenest21Y74A'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-6c20f0f8085645xxxxxx', - ], - ], - [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ServiceVersion', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'service-0e6fca6a51a54420****'], ], [ - 'name' => 'TemplateName', + 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '模板1', - ], + 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '2'], ], [ - 'name' => 'TrialType', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The trial policy. Valid values:'."\n" - ."\n" - .'* Trial: Trials are supported.'."\n" - .'* NotTrial: Trials are not supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'NotTrial', - ], - ], - [ - 'name' => 'OperationTypes', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The type of operation N for which you want to generate the policy information.', - 'type' => 'array', - 'items' => [ - 'description' => 'The type of operation N for which you want to generate the policy information.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* CreateServiceInstance: creates a serviceInstance by calling the CreateServiceInstance operation.'."\n" - .'* UpdateServiceInstance: updates a serviceInstance by calling the UpdateServiceInstance operation.'."\n" - .'* DeleteServiceInstance: deletes a serviceInstance by calling the DeleteServiceInstance operation.'."\n" - ."\n" - .'> The default value is the combination of all valid values.', - 'type' => 'string', - 'required' => false, - 'example' => 'CreateServiceInstance', - ], - 'required' => false, - 'maxItems' => 30, - ], + 'schema' => ['description' => 'A client token that ensures the idempotence of the request. The value must be unique for each request. The token can be up to 64 ASCII characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9D51H'], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'Policy' => [ - 'description' => 'The RAM policy.', - 'type' => 'string', - 'example' => '{Statement": [{ "Action": ["oos:*"], "Effect": "Allow", "Resource": "*"},{ "Action": ["ecs:DescribeInstances"], "Effect": "Allow", "Resource": "*"},{ "Action": ["ecs:RunInstance"], "Effect": "Allow", "Resource": "*"}], "Version": "1"}', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5040BE9E-8DA2-5C9D-9B70-0EE6027A14BC', - ], - 'MissingPolicy' => [ - 'description' => 'The policies that are missing.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The policies that are missing.'."\n", - 'type' => 'object', - 'properties' => [ - 'ServiceName' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'example' => 'ecs', - ], - 'Resource' => [ - 'description' => 'The specific objects authorized. An asterisk (*) denotes all resources.', - 'type' => 'string', - 'example' => '*', - ], - 'Action' => [ - 'description' => 'Operations on specific resources.', - 'type' => 'array', - 'items' => [ - 'description' => 'Operations on specific resources.', - 'type' => 'string', - 'example' => '['."\n" - .' "ecs:DescribeInstances",'."\n" - .' "ecs:RunInstance"'."\n" - .' ]', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Policy\\": \\"{Statement\\\\\\": [{ \\\\\\"Action\\\\\\": [\\\\\\"oos:*\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"},{ \\\\\\"Action\\\\\\": [\\\\\\"ecs:DescribeInstances\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"},{ \\\\\\"Action\\\\\\": [\\\\\\"ecs:RunInstance\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"}], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"}\\",\\n \\"RequestId\\": \\"5040BE9E-8DA2-5C9D-9B70-0EE6027A14BC\\",\\n \\"MissingPolicy\\": [\\n {\\n \\"ServiceName\\": \\"ecs\\",\\n \\"Resource\\": \\"*\\",\\n \\"Action\\": [\\n \\"[\\\\n \\\\\\"ecs:DescribeInstances\\\\\\",\\\\n \\\\\\"ecs:RunInstance\\\\\\"\\\\n ]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'GenerateServicePolicy', - 'translator' => 'machine', - ], - 'CancelServiceRegistration' => [ - 'summary' => 'Cancel service registration.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteService', + 'summary' => 'Deletes a specified service based on its region ID, service ID, and service version.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteService'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\"\\n}","type":"json"}]', + ], + 'DeleteServiceInstances' => [ + 'summary' => 'Deletes service instances by specifying a region ID and service instance IDs.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4332,45 +2340,37 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '36945', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - ], + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeCode' => '136232', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. The token must be unique for each request. The token can contain only ASCII characters and must be no more than 64 characters long.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-426655440000'], ], [ - 'name' => 'RegistrationId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'Service registration ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'sr-540930183f93xxxxxx', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClientToken', + 'name' => 'ServiceInstanceId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'Client token, used to ensure the idempotence of requests. Generate a unique value for this parameter from your client to ensure it is unique across different requests. ClientToken supports only ASCII characters.', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', + 'description' => 'The IDs of the service instances.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the service instance. The value of N can be from 1 to 100.'."\n" + ."\n" + .'> To delete multiple service instances, separate the \\`ServiceInstanceId\\` parameters with \\`&&\\`. For example: \\`ServiceInstanceId.1=xxx&\\&ServiceInstanceId.2=yyy\\`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'si-d6ab3a63ccbb4b17****'], + 'required' => true, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], @@ -4379,737 +2379,396 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'C4A145D8-6F6C-532A-9001-9730CDA27578', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'DB140E67-D75F-5585-946E-41D8DC8F4E00'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4A145D8-6F6C-532A-9001-9730CDA27578\\"\\n}","type":"json"}]', - 'title' => 'CancelServiceRegistration', - 'description' => 'Only service registration in the Submitted status can be canceled.', - 'translator' => 'machine', - ], - 'ListServiceRegistrations' => [ - 'summary' => 'Query service registrations.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'ComputeNestSupplier::2021-05-21::GetServiceInstance', 'callbackInterval' => 2000, 'maxCallbackTimes' => 500], + 'title' => 'DeleteServiceInstances', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceInstances'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteServiceInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB140E67-D75F-5585-946E-41D8DC8F4E00\\"\\n}","type":"json"}]', + ], + 'DeleteServiceTestCase' => [ + 'summary' => 'Deletes a service test case.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '36946', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestB2MIVU', - ], + 'abilityTreeCode' => '195908', + 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'MaxResults', + 'name' => 'TestCaseId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of items to return per page during a paginated query. The maximum is 100, and the default is 20.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '服务ID', 'description' => 'The ID of the service test case.', 'type' => 'string', 'required' => true, 'example' => 'stc-0b2a3ad7e1de4c299eec'], ], [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.', - 'type' => 'string', - 'required' => false, - 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', - ], - ], - [ - 'name' => 'Filter', + 'name' => 'RegionId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'Filter.', - 'type' => 'array', - 'items' => [ - 'description' => 'Filter.', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'List of filter values.', - 'type' => 'array', - 'items' => [ - 'description' => 'Filter value.', - 'type' => 'string', - 'required' => false, - 'example' => 'Rejected', - ], - 'required' => false, - 'maxItems' => 20, - ], - 'Name' => [ - 'description' => 'Name of the filter field. Allowed values:'."\n" - ."\n" - .'- ServiceId: Service ID.'."\n" - ."\n" - .'- RegistrationId: Registration ID.'."\n" - ."\n" - .'- Status: Registration status. Allowed values: Submitted, Approved, Rejected, Canceled, and Executed.', - 'type' => 'string', - 'required' => false, - 'example' => 'Canceled', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'BaseResult', + 'description' => 'The returned parameters.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.', - 'type' => 'string', - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', - ], - 'RequestId' => [ - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', - ], - 'TotalCount' => [ - 'description' => 'Total number of records that meet the criteria.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'MaxResults' => [ - 'description' => 'Number of items per page in a paginated query. The maximum is 100, and the default is 20.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'ServiceRegistrations' => [ - 'description' => 'Service registration information.', - 'type' => 'array', - 'items' => [ - 'description' => 'Service registration information.', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'Registration status. Allowed values:'."\n" - ."\n" - .'- Submitted'."\n" - ."\n" - .'- Approved'."\n" - ."\n" - .'- Rejected'."\n" - ."\n" - .'- Canceled'."\n" - ."\n" - .'- Executed'."\n" - ."\n" - .'- Executed: Executed.', - 'type' => 'string', - 'example' => 'Rejected', - ], - 'RegistrationId' => [ - 'description' => 'Registration ID.', - 'type' => 'string', - 'example' => 'sr-001', - ], - 'FinishTime' => [ - 'description' => 'Finish time.', - 'type' => 'string', - 'example' => '2021-05-23T00:00:00Z', - ], - 'Comment' => [ - 'description' => 'Comment.', - 'type' => 'string', - 'example' => 'some info is missing', - ], - 'ServiceId' => [ - 'description' => 'Service ID.', - 'type' => 'string', - 'example' => 'service-f4c0026a254bxxxxxxxx', - ], - 'SubmitTime' => [ - 'description' => 'Submit time.', - 'type' => 'string', - 'example' => '2021-05-22T00:00:00Z', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 20,\\n \\"ServiceRegistrations\\": [\\n {\\n \\"Status\\": \\"Rejected\\",\\n \\"RegistrationId\\": \\"sr-001\\",\\n \\"FinishTime\\": \\"2021-05-23T00:00:00Z\\",\\n \\"Comment\\": \\"some info is missing\\",\\n \\"ServiceId\\": \\"service-f4c0026a254bxxxxxxxx\\",\\n \\"SubmitTime\\": \\"2021-05-22T00:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListServiceRegistrations', - 'translator' => 'machine', - ], - 'ListServiceInstanceUpgradeHistory' => [ - 'summary' => 'View the upgrade history of a service instance', - 'methods' => [ - 'post', - 'get', + 'title' => 'DeleteServiceTestCase', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceTestCase'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteServiceTestCase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestCase', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetestcase/{#TestCaseId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\"\\n}","type":"json"}]', + ], + 'DeployServiceInstance' => [ + 'summary' => 'Deploys a service instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'chargeType' => 'paid', + 'abilityTreeCode' => '175901', + 'abilityTreeNodes' => ['FEATUREcomputenestVUFVAC'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'MaxResults', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'A client token to ensure the idempotence of the request. Generate a unique value from your client for this parameter. The value can contain only ASCII characters and must be no more than 64 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-426655440000'], ], [ - 'name' => 'NextToken', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The token for the next query, which should be the value of the NextToken parameter from the previous API call.', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=', - ], + 'schema' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'si-0e6fca6a51a54420****'], ], [ - 'name' => 'ServiceInstanceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'Service instance ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'si-0e6fca6a51a54420****', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The token to use for the next query.', - 'type' => 'string', - 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=', - ], - 'RequestId' => [ - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => '86CAC31E-3527-562C-869F-347E931C9B25', - ], - 'MaxResults' => [ - 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'UpgradeHistory' => [ - 'description' => 'List of upgrade histories.', - 'type' => 'array', - 'items' => [ - 'description' => 'List of upgrade histories.', - 'type' => 'object', - 'properties' => [ - 'UpgradeHistoryId' => [ - 'description' => 'Upgrade history ID.', - 'type' => 'string', - 'example' => 'uh-1b21d65f75e94fa09745', - ], - 'Type' => [ - 'description' => 'Upgrade type.'."\n" - .'- Upgrade'."\n" - .'- Rollback', - 'type' => 'string', - 'example' => 'Upgrade'."\n", - ], - 'FromVersion' => [ - 'description' => 'Version before the upgrade.', - 'type' => 'string', - 'example' => '1', - ], - 'ToVersion' => [ - 'description' => 'Version after the upgrade.', - 'type' => 'string', - 'example' => '3', - ], - 'Status' => [ - 'description' => 'Upgrade status. Possible values:'."\n" - ."\n" - .'- upgrading: In progress.'."\n" - ."\n" - .'- UpgradeSuccessful: Upgrade successful.'."\n" - ."\n" - .'- UpgradeFailed: Upgrade failed.', - 'type' => 'string', - 'example' => 'UpgradeFailed'."\n" - ."\n", - ], - 'Results' => [ - 'description' => 'Upgrade result.', - 'type' => 'string', - 'example' => '{\\"PreUpgradeExecutionId\\":\\"exec-123\\"}'."\n", - ], - 'StartTime' => [ - 'description' => 'Start time of the upgrade.', - 'type' => 'string', - 'example' => '2022-04-26T08:09:51Z'."\n", - ], - 'EndTime' => [ - 'description' => 'End time of the upgrade.', - 'type' => 'string', - 'example' => '2022-04-26T09:09:51Z'."\n", - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => 'The total count of upgrade history', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2'."\n", - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B8A6AEA6-0D8F-589A-A7FF-B44FD842456E'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=\\",\\n \\"RequestId\\": \\"86CAC31E-3527-562C-869F-347E931C9B25\\",\\n \\"MaxResults\\": 20,\\n \\"UpgradeHistory\\": [\\n {\\n \\"UpgradeHistoryId\\": \\"exec-123\\\\n\\",\\n \\"Type\\": \\"Upgrade\\\\n\\",\\n \\"FromVersion\\": \\"1\\",\\n \\"ToVersion\\": \\"3\\",\\n \\"Status\\": \\"UpgradeFailed\\\\n\\\\n\\",\\n \\"Results\\": \\"{\\\\\\\\\\\\\\"PreUpgradeExecutionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"exec-123\\\\\\\\\\\\\\"}\\\\n\\",\\n \\"StartTime\\": \\"2022-04-26T08:09:51Z\\\\n\\",\\n \\"EndTime\\": \\"2022-04-26T09:09:51Z\\\\n\\"\\n }\\n ],\\n \\"TotalCount\\": 2\\n}","type":"json"}]', - 'title' => 'Query Service Instance Upgrade History', - 'translator' => 'machine', - ], - 'RollbackServiceInstance' => [ - 'summary' => 'Rollback Service Instance', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeployServiceInstance', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeployServiceInstance'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeployServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B8A6AEA6-0D8F-589A-A7FF-B44FD842456E\\"\\n}","type":"json"}]', + ], + 'GenerateDefaultServiceTestConfig' => [ + 'summary' => 'You can call the GenerateDefaultServiceTestConfig operation to modify the service test configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '162314', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestYPH9R9', - ], + 'abilityTreeCode' => '166100', + 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'], + 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '服务ID', 'description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'service-fd1aec438c974828bb7b'], ], [ - 'name' => 'ServiceInstanceId', + 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'Service instance ID.'."\n" - ."\n" - .'You can obtain the service instance ID by calling [ListServiceInstances - Query Service Instance List](~~396200~~).', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'si-3a8f9a75da074f52b969', - ], + 'schema' => ['title' => '服务版本', 'description' => 'The service version.', 'type' => 'string', 'required' => true, 'example' => 'beta'], ], [ - 'name' => 'ClientToken', + 'name' => 'TemplateName', 'in' => 'query', - 'schema' => [ - 'description' => 'Ensures idempotence of the request. Generate a value from your client to ensure it is unique across different requests. **ClientToken** supports only ASCII characters and cannot exceed 64 characters.', - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['description' => 'The template name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ECS standalone'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'PlainResult<ServiceTestConfigModel>', + 'description' => 'PlainResult', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The deployment status of the service instance. Possible values:'."\n" - ."\n" - .'- Created: Created'."\n" - ."\n" - .'- Deploying: Deploying'."\n" - ."\n" - .'- DeployedFailed: Deployment Failed'."\n" - ."\n" - .'- Deployed: Deployed'."\n" - ."\n" - .'- Upgrading: Upgrading'."\n" - ."\n" - .'- UpgradeRollbacking: Rolling Back'."\n" - ."\n" - .'- Deleting: Deleting'."\n" - ."\n" - .'- Deleted: Deleted'."\n" - ."\n" - .'- DeletedFailed: Deletion Failed', - 'type' => 'string', - 'example' => 'UpgradeRollbacking', - ], - 'RequestId' => [ - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'EE9EF87D-46F8-5AF6-9A65-6B034E204136', - ], - 'ServiceInstanceId' => [ - 'description' => 'Service instance ID.', - 'type' => 'string', - 'example' => 'si-5289e1d6d0c14397881d', - ], + 'TestConfig' => ['description' => 'The service test config.', 'type' => 'string', 'title' => '', 'example' => '---'."\n" + .'parameters:'."\n" + .' PayType: "PostPaid"'."\n" + .' EcsInstanceType: "$[iact3-auto]"'."\n" + .' InstancePassword: "$[iact3-auto]"'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '51945B04-6AA6-410D-93BA-236E0248B104'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"UpgradeRollbacking\\",\\n \\"RequestId\\": \\"EE9EF87D-46F8-5AF6-9A65-6B034E204136\\",\\n \\"ServiceInstanceId\\": \\"si-5289e1d6d0c14397881d\\"\\n}","type":"json"}]', - 'title' => 'Rollback Service Instance', - 'translator' => 'machine', - ], - 'CreateServiceInstance' => [ - 'summary' => 'Creates and deploys a service instance.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TestConfig\\": \\"---\\\\nparameters:\\\\n PayType: \\\\\\"PostPaid\\\\\\"\\\\n EcsInstanceType: \\\\\\"$[iact3-auto]\\\\\\"\\\\n InstancePassword: \\\\\\"$[iact3-auto]\\\\\\"\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\"\\n}","type":"json"}]', + 'title' => 'GenerateDefaultServiceTestConfig', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateDefaultServiceTestConfig'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GenerateDefaultServiceTestConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:*:{#accountId}:service/{#ServiceId}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'GenerateServicePolicy' => [ + 'summary' => 'Queries the missing access policies before creating a service instance by calling GenerateServicePolicy.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestVIKWP9', - 'FEATUREcomputenestVUFVAC', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID. Valid values:'."\n" - ."\n" - .'* cn-hangzhou: China (Hangzhou)'."\n" - .'* ap-southeast-1: Singapore'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the service instance. The value must meet the following requirements:'."\n" - ."\n" - .'* The name cannot exceed 64 characters in length.'."\n" - .'* It can contain digits, letters, hyphens (-), and underscores (\\_). It must start with a digit or a letter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TestName', - ], - ], - [ 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-0e6fca6a51a54420****', - ], - ], - [ - 'name' => 'ServiceVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'service-6c20f0f8085645xxxxxx', 'title' => ''], ], [ - 'name' => 'Parameters', + 'name' => 'RegionId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are specified for service instance deployment.'."\n" - ."\n" - .'> If you want to specify the region in which the service instance is deployed, you must specify the information in Parameters.'."\n", - 'type' => 'object', - 'required' => false, - 'example' => '{"NodeCount": 3, "SystemDiskSize": 40, "InstancePassword": "******"}', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'TemplateName', 'in' => 'query', - 'schema' => [ - 'description' => 'The template name. You must specify a template name if the service supports multiple templates.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '模板1', - ], - ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzuqyxxxxxx', - ], + 'schema' => ['description' => 'The template name.', 'type' => 'string', 'required' => false, 'example' => '模板1', 'title' => ''], ], [ - 'name' => 'UserId', + 'name' => 'TrialType', 'in' => 'query', - 'schema' => [ - 'title' => '用户ID', - 'description' => 'The user ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1563457855xxxxxx', - ], + 'schema' => ['description' => 'The trial type. Valid values:'."\n" + ."\n" + .'- Trial: Trial supported.'."\n" + ."\n" + .'- NotTrial: Trial not supported.', 'type' => 'string', 'required' => false, 'example' => 'NotTrial', 'title' => ''], ], [ - 'name' => 'Tag', + 'name' => 'OperationTypes', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The custom tags.'."\n", + 'description' => 'The operation types for which policy information needs to be generated.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 20, - ], - ], - [ - 'name' => 'SpecificationName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the package specification.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '套餐一', - ], - ], - [ - 'name' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to perform only a dry run for the request to check information such as the permissions and instance status. Valid values:'."\n" + 'items' => ['description' => 'The operation type for which policy information needs to be generated. Valid values:'."\n" + ."\n" + .'- CreateServiceInstance: Create a service instance.'."\n" ."\n" - .'* true: performs a dry run for the request, but does not create a service instance.'."\n" - .'* false: performs a dry run for the request, and creates a service instance if the request passes the dry run.'."\n", - 'type' => 'boolean', + .'- UpdateServiceInstance: Upgrade a service instance.'."\n" + ."\n" + .'- DeleteServiceInstance: Delete a service instance.', 'type' => 'string', 'required' => false, 'example' => 'CreateServiceInstance', 'title' => ''], 'required' => false, - 'example' => 'false', + 'maxItems' => 30, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'EndTime', + 'name' => 'Parameters', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the service instance was released.'."\n" - ."\n" - .'> This parameter is available only for the service instances that are managed by service providers.'."\n", - 'type' => 'string', - 'format' => 'iso8601', - 'required' => false, - 'example' => '2023-12-12T03:13:05Z', - ], + 'style' => 'json', + 'schema' => ['description' => 'The parameters of the service instance for which the permission check is performed.', 'type' => 'object', 'required' => false, 'example' => '{\\"RegionId\\":\\"ap-southeast-1\\",\\"PayType\\":\\"PostPaid\\",\\"EcsInstanceType\\":\\"ecs.u1-c1m2.large\\",\\"InstancePassword\\":\\"gF47WJ4rEiDlOe\\",\\"VSwitchId\\":\\"\\"}', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the service instance. Valid values:'."\n" - ."\n" - .'* Created'."\n" - .'* Deploying'."\n" - .'* DeployedFailed'."\n" - .'* Deployed'."\n" - .'* Upgrading'."\n" - .'* Deleting'."\n" - .'* Deleted'."\n" - .'* DeletedFailed'."\n", - 'type' => 'string', - 'example' => 'Created', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****', - ], - 'ServiceInstanceId' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'example' => 'si-d6ab3a63ccbb4b17****', + 'Policy' => ['description' => 'The access policy information.', 'type' => 'string', 'example' => '{Statement": [{ "Action": ["oos:*"], "Effect": "Allow", "Resource": "*"},{ "Action": ["ecs:DescribeInstances"], "Effect": "Allow", "Resource": "*"},{ "Action": ["ecs:RunInstance"], "Effect": "Allow", "Resource": "*"}], "Version": "1"}', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5040BE9E-8DA2-5C9D-9B70-0EE6027A14BC', 'title' => ''], + 'MissingPolicy' => [ + 'description' => 'The missing access policies.', + 'type' => 'array', + 'items' => [ + 'description' => 'The missing access policy.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => ['description' => 'The service name to which the access policy belongs.', 'type' => 'string', 'example' => 'ecs', 'title' => ''], + 'Resource' => ['description' => 'The specific object that is authorized. An asterisk (*) indicates all resources.', 'type' => 'string', 'example' => '*', 'title' => ''], + 'Action' => [ + 'description' => 'The access policy information.', + 'type' => 'array', + 'items' => ['description' => 'The access policy information.', 'type' => 'string', 'example' => '['."\n" + .' "ecs:DescribeInstances",'."\n" + .' "ecs:RunInstance"'."\n" + .' ]', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], + [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Created\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\"\\n}","type":"json"}]', - 'title' => 'CreateServiceInstance', - ], - 'DeleteServiceInstances' => [ - 'summary' => 'Deletes a service instance.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Policy\\": \\"{Statement\\\\\\": [{ \\\\\\"Action\\\\\\": [\\\\\\"oos:*\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"},{ \\\\\\"Action\\\\\\": [\\\\\\"ecs:DescribeInstances\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"},{ \\\\\\"Action\\\\\\": [\\\\\\"ecs:RunInstance\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"}], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"}\\",\\n \\"RequestId\\": \\"5040BE9E-8DA2-5C9D-9B70-0EE6027A14BC\\",\\n \\"MissingPolicy\\": [\\n {\\n \\"ServiceName\\": \\"ecs\\",\\n \\"Resource\\": \\"*\\",\\n \\"Action\\": [\\n \\"[\\\\n \\\\\\"ecs:DescribeInstances\\\\\\",\\\\n \\\\\\"ecs:RunInstance\\\\\\"\\\\n ]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Check required permissions before creating a service instance', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateServicePolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GenerateServicePolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ], + ], + ], ], + ], + 'GetArtifact' => [ + 'summary' => 'Retrieves the details of an artifact.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5118,55 +2777,33 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'abilityTreeCode' => '136232', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'tenantRelevance' => 'tenant', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '132197', + 'abilityTreeNodes' => ['FEATUREcomputenest4Y9BYP'], ], 'parameters' => [ [ - 'name' => 'ClientToken', + 'name' => 'ArtifactId', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The ID of the artifact.'."\n" + ."\n" + .'Call [ListArtifacts](~~469993~~) to obtain the artifact ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'artifact-eea08d1e2d3a43ae****'], ], [ - 'name' => 'RegionId', + 'name' => 'ArtifactVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The version of the artifact.'."\n" + ."\n" + .'Call [ListArtifacts](~~469993~~) to obtain the artifact version.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'], ], [ - 'name' => 'ServiceInstanceId', + 'name' => 'ArtifactName', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the service instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the service instance N. Valid values of N: 1 to 100.'."\n" - ."\n" - .'> If you want to specify multiple service instances at a time, separate multiple names with &&. Example: ServiceInstanceId.1=xxx&\\&ServiceInstanceId.2=yyy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'si-d6ab3a63ccbb4b17****', - ], - 'required' => true, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The name of the artifact.'."\n" + ."\n" + .'Call [ListArtifacts](~~469993~~) to obtain the artifact name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'gpu-test'], ], ], 'responses' => [ @@ -5174,35 +2811,83 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DB140E67-D75F-5585-946E-41D8DC8F4E00', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C'], + 'ArtifactId' => ['description' => 'The ID of the artifact.', 'type' => 'string', 'title' => '', 'example' => 'artifact-eea08d1e2d3a43ae****'], + 'ArtifactType' => ['description' => 'The type of the artifact.', 'type' => 'string', 'title' => '', 'example' => 'EcsImage'], + 'Name' => ['description' => 'The name of the artifact.', 'type' => 'string', 'title' => '', 'example' => 'Redhat8_5 image'], + 'VersionName' => ['description' => 'The version name of the artifact.', 'type' => 'string', 'title' => '', 'example' => 'v1'], + 'ArtifactVersion' => ['description' => 'The version of the artifact.', 'type' => 'string', 'title' => '', 'example' => '2'], + 'Description' => ['description' => 'The description of the artifact.', 'type' => 'string', 'title' => '', 'example' => 'Redhat8_0 image'], + 'GmtModified' => ['description' => 'The time when the artifact was last modified.', 'type' => 'string', 'title' => '', 'example' => '2022-10-20T02:19:55Z'], + 'Status' => ['description' => 'The status of the artifact.', 'type' => 'string', 'title' => '', 'example' => 'Available'], + 'MaxVersion' => ['description' => 'The latest version of the artifact.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2'], + 'ArtifactProperty' => ['description' => 'The properties of the artifact.', 'type' => 'string', 'title' => '', 'example' => '{\\"CommodityCode\\":\\"cmjj0005****\\",\\"CommodityVersion\\":\\"V2022****\\"}'], + 'SupportRegionIds' => ['description' => 'The IDs of the regions where the artifact is supported.', 'type' => 'string', 'title' => '', 'example' => '["cn-hangzhou","cn-beijing"]'], + 'Progress' => ['description' => 'The distribution progress of the artifact.', 'type' => 'string', 'title' => '', 'example' => '100'], + 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'title' => '', 'example' => 'rg-acfmzmhzoaa****'], + 'Tags' => [ + 'description' => 'The tags of the artifact.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tags of the artifact.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key of the artifact.', 'type' => 'string', 'title' => '', 'example' => 'key1'], + 'Value' => ['description' => 'The tag value of the artifact.', 'type' => 'string', 'title' => '', 'example' => 'value1'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'ArtifactBuildProperty' => ['description' => 'The content used to build the artifact. This parameter is used for managed artifact builds.', 'type' => 'string', 'title' => '', 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"'], + 'StatusDetail' => ['description' => 'The description of the artifact status.', 'type' => 'string', 'title' => '', 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"'], + 'ArtifactBuildType' => ['description' => 'The type of the artifact build.', 'type' => 'string', 'title' => '', 'example' => 'Dockerfile'."\n"], + 'PermissionType' => ['type' => 'string', 'description' => 'The permission type. This parameter is valid for artifacts of the ContainerImage and HelmChart types. Valid values:'."\n" + ."\n" + .'- Public'."\n" + ."\n" + .'- Automatic', 'title' => '', 'example' => 'Public'], ], - 'description' => '', + 'description' => 'The response parameters.'."\n", + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'ComputeNestSupplier::2021-05-21::GetServiceInstance', - 'callbackInterval' => 2000, - 'maxCallbackTimes' => 500, + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\",\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"Name\\": \\"Redhat8_5 image\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0 image\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Status\\": \\"Available\\",\\n \\"MaxVersion\\": 2,\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\\\"cn-hangzhou\\\\\\",\\\\\\"cn-beijing\\\\\\"]\\",\\n \\"Progress\\": \\"100\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzmhzoaa****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\",\\n \\"ArtifactBuildType\\": \\"Dockerfile\\\\n\\",\\n \\"PermissionType\\": \\"Public\\"\\n}","type":"json"}]', + 'title' => 'GetArtifact', + 'changeSet' => [ + ['createdAt' => '2025-01-09T05:49:53.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-12-02T01:51:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-11-06T03:11:35.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-08T10:35:41.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-05-18T09:23:07.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB140E67-D75F-5585-946E-41D8DC8F4E00\\"\\n}","type":"json"}]', - 'title' => 'DeleteServiceInstances', - ], - 'UpdateServiceInstanceSpec' => [ - 'summary' => 'Updates the configurations of a service instance.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetArtifact'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetArtifact', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:*:{#accountId}:artifact/{#ArtifactId}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'GetArtifactRepositoryCredentials' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5211,117 +2896,99 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '163731', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest7EAOIM', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREcomputenest4Y9BYP'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ServiceInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service instance ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'si-0e6fca6a51a54420****', - ], - ], - [ - 'name' => 'PredefinedParametersName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the specification package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'package one', - ], - ], - [ - 'name' => 'Parameters', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The configuration parameters of the service instance.'."\n", - 'type' => 'object', - 'required' => false, - 'example' => '{\\"EcsInstanceParameter\\":\\"4vCPU 8GiB\\",\\"ZoneId\\":\\"cn-heyuan-a\\",\\"SystemDiskSize\\":50,\\"DataDiskSize\\":150,\\"InternetMaxBandwidthOut\\":2,\\"RegionId\\":\\"cn-heyuan\\"}', - ], - ], - [ - 'name' => 'OperationName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the configuration update operation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'package modify', - ], - ], - [ - 'name' => 'EnableUserPrometheus', + 'name' => 'ArtifactType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable Prometheus on the customer side. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The type of the artifact. Valid values:'."\n" + ."\n" + .'- File: an OSS file.'."\n" + ."\n" + .'- AcrImage: a container image.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'File'], ], [ - 'name' => 'ClientToken', + 'name' => 'DeployRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['description' => 'The region to which the artifact is uploaded.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The data structure of the response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DF0F666F-FBBC-55C3-A368-C955DE7B4839', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '94E89857-B994-44B6-9C4F-DBD200E9XXXX'], + 'ExpireDate' => ['description' => 'The expiration time.', 'type' => 'string', 'title' => '', 'example' => '1526549792000'], + 'Credentials' => [ + 'description' => 'The access credential.', + 'type' => 'object', + 'properties' => [ + 'Username' => ['description' => 'The username.', 'type' => 'string', 'title' => '', 'example' => 'xxx'], + 'Password' => ['description' => 'The password.', 'type' => 'string', 'title' => '', 'example' => 'eyJ0aW1lIjoiMTUyNjU0OTc5:0705733****'], + 'AccessKeyId' => ['description' => 'The AccessKey ID.', 'type' => 'string', 'title' => '', 'example' => 'STS.xxx'], + 'AccessKeySecret' => ['description' => 'The AccessKey secret.', 'type' => 'string', 'title' => '', 'example' => 'xxx'], + 'SecurityToken' => ['description' => 'The security token.', 'type' => 'string', 'title' => '', 'example' => 'xxx'], + ], + 'title' => '', + 'example' => '', ], - 'OrderId' => [ - 'description' => 'The order ID.'."\n", - 'type' => 'string', - 'example' => '2306175xxxxxxxx', + 'AvailableResources' => [ + 'description' => 'Information about the resources that can be uploaded.', + 'type' => 'array', + 'items' => [ + 'description' => 'Information about the resources that can be uploaded.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'oss-cn-hangzhou'], + 'RepositoryName' => ['description' => 'The name of the repository.', 'type' => 'string', 'title' => '', 'example' => 'computenest-artifacts-draft-cn-hangzhou'], + 'Path' => ['description' => 'The path.', 'type' => 'string', 'title' => '', 'example' => '"/xxx/"'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DF0F666F-FBBC-55C3-A368-C955DE7B4839\\",\\n \\"OrderId\\": \\"2306175xxxxxxxx\\"\\n}","type":"json"}]', - 'title' => 'UpdateServiceInstanceSpec', - ], - 'UpdateServiceInstanceAttribute' => [ - 'summary' => 'Updates the properties of a service instance.', - 'methods' => [ - 'get', - 'post', + 'title' => 'GetArtifactRepositoryCredentials', + 'summary' => 'Obtains the credentials required to upload an artifact.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetArtifactRepositoryCredentials'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetArtifactRepositoryCredentials', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"94E89857-B994-44B6-9C4F-DBD200E9XXXX\\",\\n \\"ExpireDate\\": \\"1526549792000\\",\\n \\"Credentials\\": {\\n \\"Username\\": \\"xxx\\",\\n \\"Password\\": \\"eyJ0aW1lIjoiMTUyNjU0OTc5:0705733****\\",\\n \\"AccessKeyId\\": \\"STS.xxx\\",\\n \\"AccessKeySecret\\": \\"xxx\\",\\n \\"SecurityToken\\": \\"xxx\\"\\n },\\n \\"AvailableResources\\": [\\n {\\n \\"RegionId\\": \\"oss-cn-hangzhou\\",\\n \\"RepositoryName\\": \\"computenest-artifacts-draft-cn-hangzhou\\",\\n \\"Path\\": \\"\\\\\\"/xxx/\\\\\\"\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetNetworkAvailableZones' => [ + 'summary' => 'Retrieves a list of available zones in a region.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5330,140 +2997,218 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142602', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '175426', + 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'name' => 'PrivateVpcConnectionMode', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The connection mode. Valid values: \\`PrivateLink\\` and \\`OverlayLink\\`. \\`OverlayLink\\` is an overlay link that is based on Application-aware Network Service Mesh (ANSM).', 'required' => false, 'example' => 'VirtualInternet'], ], [ - 'name' => 'ServiceInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'si-3df88e962cdexxxxxxxx', - ], + 'name' => 'ServiceRegionId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The region where the service is deployed.', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the service instance expires.'."\n", - 'type' => 'string', - 'format' => 'iso8601', - 'required' => false, - 'example' => '2023-12-25T02:28:40Z', - ], + 'name' => 'ZoneId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The zone where the service is deployed.', 'required' => false, 'example' => 'cn-hangzhou-k'], ], [ - 'name' => 'LicenseData', - 'in' => 'query', - 'style' => 'json', + 'name' => 'NetworkRegionId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The region of the virtual Internet.', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ServiceInstanceEndpointServiceType', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The direction of the internal-facing access. Valid values: \\`Forward\\` and \\`Reverse\\`.', 'required' => false, 'example' => 'Forward'], + ], + [ + 'name' => 'IsPoc', + 'in' => 'formData', + 'schema' => ['type' => 'boolean', 'title' => '', 'description' => 'Specifies whether the service is a trial service.', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'ServiceId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The service ID. This parameter is used with the \\`IsPoc\\` parameter when \\`IsPoc\\` is set to \\`true\\`.', 'required' => false, 'example' => 'service-63b8a060e9d54cxxxxxx'], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The service version. This parameter is used with the \\`IsPoc\\` parameter when \\`IsPoc\\` is set to \\`true\\`.', 'required' => false, 'example' => 'draft'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The License Data', 'type' => 'object', 'properties' => [ - 'CustomData' => [ - 'description' => 'The Custom Data', - 'type' => 'string', - 'required' => false, - 'example' => '{"Test"}', - ], - 'ResponseInfo' => [ + 'Data' => [ 'type' => 'object', 'properties' => [ - 'UpdateResponse' => [ - 'type' => 'boolean', - 'required' => false, - 'description' => 'if you want mock response, please open this option.', - 'example' => 'true', - ], - 'ErrorCode' => [ - 'type' => 'string', - 'required' => false, - 'example' => 'EntityNotExist.Service', - 'description' => 'Mock error code.', - ], - 'ErrorMessage' => [ - 'type' => 'string', - 'required' => false, - 'example' => 'The provided parameter "ServiceId" is invalid.', - 'description' => 'Mock error message.', + 'ZoneIdList' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The zone ID.', 'title' => '', 'example' => 'cn-hangzhou-k'], + 'description' => 'The list of zone IDs.', + 'title' => '', + 'example' => '', ], ], - 'required' => false, - 'description' => 'Mock response info.', + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'E8EF75BC-14E4-597A-BE66-FFA9393C0875'], ], - 'required' => false, + 'title' => '', + 'description' => 'PlainResult\\<NetworkAvailableZonesModel>', + 'example' => '', ], ], + ], + 'title' => 'GetNetworkAvailableZones', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Reason', - 'in' => 'query', - 'schema' => [ - 'description' => 'Application reason, currently used for trial application extension.', - 'type' => 'string', - 'required' => false, - 'example' => '\'\'', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetNetworkAvailableZones', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ZoneIdList\\": [\\n \\"cn-hangzhou-k\\"\\n ]\\n },\\n \\"RequestId\\": \\"E8EF75BC-14E4-597A-BE66-FFA9393C0875\\"\\n}","type":"json"}]', + ], + 'GetOpsNotice' => [ + 'summary' => 'Retrieves the details of an operations and maintenance (O&M) notice.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '157082', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'NoticeId', + 'in' => 'query', + 'schema' => ['description' => 'The notice ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'notice-2338dxxxxxx', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0CB2E0A9-B4DF-5C16-86AD-C511C483144B', + 'NoticeId' => ['description' => 'The ID of the notice.', 'type' => 'string', 'example' => 'notice-2338d3835bxxxxx', 'title' => ''], + 'Type' => ['description' => 'The type of the notice. Valid values:'."\n" + ."\n" + .'- ServiceInstanceUpgrade: upgrade'."\n" + ."\n" + .'- VulnerabilityFix: vulnerability', 'type' => 'string', 'example' => 'ServiceInstanceUpgrade', 'title' => ''], + 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'service-c2d118c9193e49xxxxxx', 'title' => ''], + 'ServiceName' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'WordPress Community Edition', 'title' => ''], + 'Category' => ['description' => 'The category. Valid values:'."\n" + ."\n" + .'- Availability'."\n" + ."\n" + .'- Cost'."\n" + ."\n" + .'- Performance'."\n" + ."\n" + .'- Recovery: backup and recovery'."\n" + ."\n" + .'- Security', 'type' => 'string', 'example' => 'Availability', 'title' => ''], + 'Severity' => ['description' => 'The severity of the O\\&M item. Valid values:'."\n" + ."\n" + .'- Critical'."\n" + ."\n" + .'- High'."\n" + ."\n" + .'- Medium'."\n" + ."\n" + .'- Low', 'type' => 'string', 'example' => 'Critical', 'title' => ''], + 'Content' => ['description' => 'The message content.', 'type' => 'string', 'example' => 'message', 'title' => ''], + 'Solutions' => ['description' => 'The solutions.', 'type' => 'string', 'example' => 'Solutions', 'title' => ''], + 'Attributes' => ['description' => 'The non-public properties of the O\\&M item.', 'type' => 'string', 'example' => '{\\"cveId\\":\\"CVE-2021-4034\\"}', 'title' => ''], + 'StartTime' => ['description' => 'The start time.', 'type' => 'string', 'example' => '2024-11-18T02:05:00Z', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. A value of **true** indicates success.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'UserCount' => ['description' => 'The number of users who received the notice.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'ServiceInstanceCount' => ['description' => 'The number of service instances involved.', 'type' => 'string', 'example' => '2', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1B3AD3CC-E938-5042-A771-7FD9A2FE03F3', 'title' => ''], + 'ServiceVersions' => [ + 'type' => 'array', + 'items' => ['description' => 'A published service version.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'description' => 'The list of published service versions.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'NeedManualApproval', - 'errorMessage' => 'Manual approval is required for the extension request.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetOpsNotice', + 'description' => 'Services must be approved before they can be published.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOpsNotice'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetOpsNotice', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0CB2E0A9-B4DF-5C16-86AD-C511C483144B\\"\\n}","type":"json"}]', - 'title' => 'UpdateServiceInstanceAttribute', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NoticeId\\": \\"notice-2338d3835bxxxxx\\",\\n \\"Type\\": \\"ServiceInstanceUpgrade\\",\\n \\"ServiceId\\": \\"service-c2d118c9193e49xxxxxx\\",\\n \\"ServiceName\\": \\"WordPress Community Edition\\",\\n \\"Category\\": \\"Availability\\",\\n \\"Severity\\": \\"Critical\\",\\n \\"Content\\": \\"message\\",\\n \\"Solutions\\": \\"Solutions\\",\\n \\"Attributes\\": \\"{\\\\\\\\\\\\\\"cveId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"CVE-2021-4034\\\\\\\\\\\\\\"}\\",\\n \\"StartTime\\": \\"2024-11-18T02:05:00Z\\",\\n \\"Success\\": \\"true\\",\\n \\"UserCount\\": \\"1\\",\\n \\"ServiceInstanceCount\\": \\"2\\",\\n \\"RequestId\\": \\"1B3AD3CC-E938-5042-A771-7FD9A2FE03F3\\",\\n \\"ServiceVersions\\": [\\n \\"1\\"\\n ]\\n}","type":"json"}]', + 'translator' => 'manual', ], - 'ModifyServiceInstanceResources' => [ - 'summary' => 'Modifies the resource information about a service instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetService' => [ + 'summary' => 'Retrieves the details of a specified service.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5472,56 +3217,80 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'abilityTreeCode' => '36954', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ServiceInstanceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'si-d8a0cc2a1ee04dce****', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ServiceInstanceResourcesAction', + 'name' => 'ServiceId', 'in' => 'query', + 'schema' => ['description' => 'The service ID.'."\n" + ."\n" + .'Call the [ListServices](~~2264368~~) operation to obtain the service ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'service-f8469d2d14eb40af****', 'title' => ''], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => ['description' => 'The service version.'."\n" + ."\n" + .'Call the [ListServices](~~2264368~~) operation to obtain the service version.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ShowDetail', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The type of operation performed on the service instance resource. Valid values:'."\n" + 'description' => 'The details to be returned.', + 'type' => 'array', + 'items' => ['description' => 'The details to be returned.'."\n" ."\n" - .'* Import: The resource is imported.'."\n" - .'* UnImport: The resource import is canceled.'."\n", - 'type' => 'string', + .'Valid value: ServiceStatistic. This value indicates the statistics information of the service.', 'type' => 'string', 'required' => false, 'example' => 'ServiceStatistic', 'title' => ''], 'required' => false, - 'example' => 'Import', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Resources', + 'name' => 'FilterAliUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The imported resources.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "RegionId": "cn-hangzhou",'."\n" - .' "Type": "ResourceIds",'."\n" - .' "ResourceIds": {'."\n" - .' "ALIYUN::ECS::INSTANCE": ["i-xxx", "i-yyy"],'."\n" - .' "ALIYUN::RDS::INSTANCE": ["rm-xxx", "rm-yyy"],'."\n" - .' "ALIYUN::VPC::VPC": ["vpc-xxx", "vpc-yyy"],'."\n" - .' "ALIYUN::SLB::INSTANCE": ["lb-xxx", "lb-yyy"]'."\n" - .' }'."\n" - .'}', - ], + 'schema' => ['description' => 'Specifies whether to filter the results by Alibaba Cloud account ID.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- true: Filters the results by Alibaba Cloud account ID.'."\n" + ."\n" + .'- false: Does not filter the results by Alibaba Cloud account ID.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'SharedAccountType', + 'in' => 'query', + 'schema' => ['description' => 'The service sharing type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- SharedAccount (default): common sharing.'."\n" + ."\n" + .'- Resell: distribution sharing.', 'type' => 'string', 'required' => false, 'example' => 'SharedAccount', 'title' => ''], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => false, 'example' => 'si-56eb5823dxxxx', 'title' => ''], + ], + [ + 'name' => 'ServiceName', + 'in' => 'query', + 'schema' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'WordPress Community Edition', 'required' => false, 'title' => ''], ], ], 'responses' => [ @@ -5529,173 +3298,822 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '46577928-3162-15A6-9084-69820EB9xxxx', + 'Status' => ['description' => 'The service status.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Draft: The service is in the draft state.'."\n" + ."\n" + .'- Submitted: The service is submitted for review. You cannot modify the service.'."\n" + ."\n" + .'- Approved: The service is approved. You cannot modify the service, but you can publish the service.'."\n" + ."\n" + .'- Launching: The service is being published.'."\n" + ."\n" + .'- Online: The service is published.'."\n" + ."\n" + .'- Offline: The service is unpublished.'."\n" + ."\n" + .'- Beta: The service is in beta.'."\n" + ."\n" + .'- Creating: The service is being created.'."\n" + ."\n" + .'- CreateFailed: The service failed to be created.'."\n" + ."\n" + .'- Updating: The service is being updated.'."\n" + ."\n" + .'- UpdateFailed: The service failed to be updated.', 'type' => 'string', 'example' => 'Online', 'title' => ''], + 'DeployMetadata' => ['description' => 'The information about the service deployment configuration.'."\n" + ."\n" + .'The information varies based on the deployment type. Different deployment types use different data formats. Therefore, the information is stored as a JSON string.', 'type' => 'string', 'example' => '{\\"TemplateConfigs\\":[{\\"Name\\":\\"模板1\\",\\"Url\\":\\"oss://computenest-test/template" '."\n" + .' + ".json?RegionId=cn-beijing\\",\\"PredefinedParameters\\":[{\\"Name\\":\\"低配版\\"," '."\n" + .' + "\\"Parameters\\":{\\"InstanceType\\":\\"ecs.g5.large\\",\\"DataDiskSize\\":40}},{\\"Name\\":\\"高配版\\"," '."\n" + .' + "\\"Parameters\\":{\\"InstanceType\\":\\"ecs.g5.large\\",\\"DataDiskSize\\":200}}]}]}', 'title' => ''], + 'PublishTime' => ['description' => 'The time when the service was published.', 'type' => 'string', 'example' => '2021-05-21T00:00:00Z', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9AC8E73E-88DE-52C2-A29B-531FC13A5604', 'title' => ''], + 'Version' => ['description' => 'The service version.', 'type' => 'string', 'example' => '1.0', 'title' => ''], + 'DeployType' => ['description' => 'The deployment type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- ros: The service is deployed using ROS.'."\n" + ."\n" + .'- terraform: The service is deployed using Terraform.'."\n" + ."\n" + .'- spi: The service is deployed by calling SPI.'."\n" + ."\n" + .'- operation: The service is deployed using Alibaba Cloud Managed Services.'."\n" + ."\n" + .'- container: The service is deployed using containers.', 'type' => 'string', 'example' => 'ros', 'title' => ''], + 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'service-ca83ff3cb6b14dbc****', 'title' => ''], + 'SupplierUrl' => ['description' => 'The URL of the service provider.', 'type' => 'string', 'example' => 'http://example.com', 'title' => ''], + 'ServiceProductUrl' => ['description' => 'The URL of the product page.', 'type' => 'string', 'example' => 'http://example2.com', 'title' => ''], + 'ServiceType' => ['description' => 'The service type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- private: The service is deployed in the user\'s account.'."\n" + ."\n" + .'- managed: The service is deployed in the service provider\'s account.'."\n" + ."\n" + .'- operation: The service is an Alibaba Cloud Managed Service.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'SupplierName' => ['description' => 'The name of the service provider.', 'type' => 'string', 'example' => 'Company A', 'title' => ''], + 'ServiceInfos' => [ + 'description' => 'The service information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The service information.', + 'type' => 'object', + 'properties' => [ + 'Locale' => ['description' => 'The language of the service configuration.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- zh-CN: Chinese.'."\n" + ."\n" + .'- en-US: English.', 'type' => 'string', 'example' => 'zh-CN', 'title' => ''], + 'Image' => ['description' => 'The URL of the service icon.', 'type' => 'string', 'example' => 'https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f35660****.png', 'title' => ''], + 'Name' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'Database B', 'title' => ''], + 'ShortDescription' => ['description' => 'The summary of the service.', 'type' => 'string', 'example' => 'B is an open-source distributed relational database independently designed and developed by Company A.', 'title' => ''], + 'LongDescriptionUrl' => ['description' => 'The URL of the detailed description of the service.', 'type' => 'string', 'example' => 'https://example.com', 'title' => ''], + 'Agreements' => [ + 'description' => 'The information about the service agreement.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the service agreement.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The agreement name.', 'type' => 'string', 'example' => 'Name', 'title' => ''], + 'Url' => ['description' => 'The URL of the agreement.', 'type' => 'string', 'example' => 'https://aliyun.com/xxxxxxxx.html', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Softwares' => [ + 'description' => 'The information about the software used in the service.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the software used in the service.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The software name.', 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'Version' => ['description' => 'The software version.', 'type' => 'string', 'example' => '5.7', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'IsSupportOperated' => ['description' => 'Indicates whether Alibaba Cloud Managed Services is enabled.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- true: Enabled.'."\n" + ."\n" + .'- false: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'PolicyNames' => ['description' => 'The policy names.'."\n" + ."\n" + .'A policy name can be up to 128 characters in length. Multiple policy names are separated by commas (,). Only policies related to Alibaba Cloud Managed Services are supported.', 'type' => 'string', 'example' => 'policyName1, policyName2', 'title' => ''], + 'Duration' => ['description' => 'The duration of the Alibaba Cloud Managed Services. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '259200', 'title' => ''], + 'Progress' => ['description' => 'The deployment progress of the service instance. Unit: %.', 'type' => 'integer', 'format' => 'int64', 'example' => '90', 'title' => ''], + 'StatusDetail' => ['description' => 'The description of the service status.', 'type' => 'string', 'example' => 'deploy successfully', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the service was created.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z', 'title' => ''], + 'UpdateTime' => ['description' => 'The time when the service was last updated.', 'type' => 'string', 'example' => '2021-05-22T00:00:00Z', 'title' => ''], + 'ShareType' => ['description' => 'The sharing type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Public: The service is public. Formal and trial deployments are not restricted.'."\n" + ."\n" + .'- Restricted: The service is restricted. Formal and trial deployments are restricted.'."\n" + ."\n" + .'- OnlyFormalRestricted: Only formal deployments are restricted.'."\n" + ."\n" + .'- OnlyTrailRestricted: Only trial deployments are restricted.'."\n" + ."\n" + .'- Hidden: The service is hidden. It is not visible and you cannot apply for deployment permissions.', 'type' => 'string', 'example' => 'Public', 'title' => ''], + 'AlarmMetadata' => ['description' => 'The alert configurations of the service.', 'type' => 'string', 'example' => '{'."\n" + .' "TemplateUrl": "http://template.file.url",'."\n" + .' // Application group level alarm metadata'."\n" + .' "ApplicationGroups": ['."\n" + .' {'."\n" + .' "Name": "applicationGroup1",'."\n" + .' "TemplateUrl": "url1"'."\n" + .' },'."\n" + .' {'."\n" + .' "Name": "applicationGroup2",'."\n" + .' "TemplateUrl": "url2"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', 'title' => ''], + 'UpgradeMetadata' => ['description' => 'The upgrade metadata.', 'type' => 'string', 'example' => '{\\"SupportRollback\\":true,\\"SupportUpgradeFromVersions\\":[],\\"UpgradeComponents\\":[\\"Configuration\\"]}', 'title' => ''], + 'VersionName' => ['description' => 'The version name.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'PayFromType' => ['description' => 'The payment source.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- None: The service is free of charge.'."\n" + ."\n" + .'- Marketplace: The service is paid on Alibaba Cloud Marketplace.'."\n" + ."\n" + .'- Custom: The service is paid using a custom payment method.', 'type' => 'string', 'example' => 'None', 'title' => ''], + 'Tags' => [ + 'description' => 'The service tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The service tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key1', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'value1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'TrialDuration' => ['description' => 'The trial duration. Unit: days.', 'type' => 'integer', 'format' => 'int64', 'example' => '7', 'title' => ''], + 'TrialType' => ['description' => 'The trial type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Trial: The service supports trial.'."\n" + ."\n" + .'- NotTrial: The service does not support trial.', 'type' => 'string', 'example' => 'Trial', 'title' => ''], + 'TenantType' => ['description' => 'The tenant type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- SingleTenant: single-tenant.'."\n" + ."\n" + .'- MultiTenant: multitenancy.', 'type' => 'string', 'example' => 'SingleTenant', 'title' => ''], + 'LicenseMetadata' => ['description' => 'The license metadata.', 'type' => 'string', 'example' => '{\\"PayType\\":\\"CustomFixTime\\",\\"DefaultLicenseDays\\":7,\\"CustomMetadata\\":[{\\"TemplateName\\":\\" template1\\",\\"SpecificationName\\":\\"bandwith-0\\",\\"CustomData\\":\\"1\\"}]}', 'title' => ''], + 'OperationMetadata' => ['description' => 'The configurations of Alibaba Cloud Managed Services.', 'type' => 'string', 'example' => '{\\"PrometheusConfigMap\\":{\\"New_Vpc_Ack_And_Jumpserver\\":{}}}', 'title' => ''], + 'TestStatus' => ['description' => 'The test status.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- CONFIG\\_IS\\_NULL: The test configuration does not exist.'."\n" + ."\n" + .'- SERVICE\\_TEST\\_SUCCEED: The service passed the test.'."\n" + ."\n" + .'- SERVICE\\_TSET\\_DOING: The service has not passed the test.', 'type' => 'string', 'example' => 'SERVICE_TEST_SUCCEED', 'title' => ''], + 'ApprovalType' => ['description' => 'The approval type of the service usage application.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Manual: The application is manually approved.'."\n" + ."\n" + .'- AutoPass: The application is automatically approved.', 'type' => 'string', 'example' => 'Manual', 'title' => ''], + 'RegistrationId' => ['description' => 'The registration ID.', 'type' => 'string', 'example' => 'sr-1b4aabc1c9eb4109****', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfm2jfvb7b****', 'title' => ''], + 'Permission' => ['description' => 'The permission type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Deployable: The service can be deployed.'."\n" + ."\n" + .'- Accessible: The service can be accessed.', 'type' => 'string', 'example' => 'Deployable', 'title' => ''], + 'Statistic' => [ + 'description' => 'The statistics information.', + 'type' => 'object', + 'properties' => [ + 'AccumulativeInstanceCount' => ['description' => 'The total number of service instances. This includes deleted instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '75', 'title' => ''], + 'AccumulativeUserCount' => ['description' => 'The total number of users. This includes historical users.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], + 'DeployedServiceInstanceCount' => ['description' => 'The number of online service instances. This indicates the number of service instances that are successfully deployed.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'DeployedUserCount' => ['description' => 'The number of online users. This indicates the number of users who have successfully deployed service instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'SubmittedUsageCount' => ['description' => 'The number of service applications that are in the Submitted state.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'AccumulativePocAmount' => ['description' => 'The total consumption amount of the trial service. Unit: CNY.', 'type' => 'number', 'format' => 'double', 'example' => '80.35', 'title' => ''], + 'AveragePocAmount' => ['description' => 'The average consumption amount of a trial service instance. Unit: CNY.', 'type' => 'number', 'format' => 'double', 'example' => '40.17', 'title' => ''], + 'AveragePocUnitAmount' => ['description' => 'The average consumption amount of a trial service instance per unit of time. Unit: CNY.', 'type' => 'number', 'format' => 'double', 'example' => '167.9', 'title' => ''], + 'AveragePocDuration' => ['description' => 'The average trial duration of a service instance. Unit: hours.', 'type' => 'number', 'format' => 'double', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceServiceId' => ['description' => 'The ID of the source service for distribution.', 'type' => 'string', 'example' => 'service-70a3b15bb6264315****', 'title' => ''], + 'SourceServiceVersion' => ['description' => 'The version of the source service for distribution.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'SourceSupplierName' => ['description' => 'The name of the service provider of the source service for distribution.', 'type' => 'string', 'example' => 'SourceSupplier', 'title' => ''], + 'LogMetadata' => ['description' => 'The application log configurations.', 'type' => 'string', 'example' => '{'."\n" + .' "Logstores": ['."\n" + .' {'."\n" + .' "LogstoreName": "access-log",'."\n" + .' "LogPath": "/home/admin/app/logs", # Not required for containers. Configure in YAML'."\n" + .' "FilePattern": "access.log*" # Not required for containers. Configure in YAML'."\n" + .' }'."\n" + .' ]'."\n" + .'}', 'title' => ''], + 'Resellable' => ['description' => 'Indicates whether the service can be distributed.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- false: The service cannot be distributed.'."\n" + ."\n" + .'- true: The service can be distributed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'VirtualInternetService' => ['description' => 'Indicates whether the service is a virtual Internet service.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- false: No.'."\n" + ."\n" + .'- true: Yes.', 'type' => 'string', 'example' => 'false', 'title' => ''], + 'ServiceDiscoverable' => ['description' => 'Indicates whether the service is discoverable.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- INVISIBLE: The service is not discoverable.'."\n" + ."\n" + .'- DISCOVERABLE: The service is discoverable.', 'type' => 'string', 'example' => 'DISCOVERABLE', 'title' => ''], + 'Categories' => ['description' => 'The service category.', 'type' => 'string', 'example' => 'DevOps', 'title' => ''], + 'ShareTypeStatus' => ['description' => 'The sharing status of the service. ><notice>This parameter is deprecated.></notice>', 'type' => 'string', 'example' => 'This parameter is deprecated.', 'title' => ''], + 'ServiceAuditDocumentUrl' => ['description' => 'The URL of the service review file.', 'type' => 'string', 'example' => 'https://service-info-public.oss-cn-hangzhou.aliyuncs.com/169070753192****/service-document/be3382cd-e198-41a4-a697-f8707ec1****.docx', 'title' => ''], + 'EntitySource' => [ + 'description' => 'The source of the reported data.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'The source of the reported data.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- ComputNest: The data is reported by Compute Nest.'."\n" + ."\n" + .'- Custom: The data is reported by the service provider.', 'type' => 'string', 'example' => 'ComputNest', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'CrossRegionConnectionStatus' => ['description' => 'The binding relationship of the commodity module.', 'type' => 'string', 'example' => 'componesConfigs', 'title' => ''], + 'VirtualInternetServiceId' => ['description' => 'The virtual Internet service ID.', 'type' => 'string', 'example' => 'service-70a3b15bb6264345****', 'title' => ''], + 'Commodity' => [ + 'description' => 'The commodity specifications.', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Marketplace: Alibaba Cloud Marketplace.'."\n" + ."\n" + .'- Css: Lingxiao.', 'type' => 'string', 'example' => 'Marketplace', 'title' => ''], + 'ChargeType' => ['description' => 'The billing method.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **PREPAY** (default): subscription.'."\n" + ."\n" + .'- **POSTPAY**: pay-as-you-go.', 'type' => 'string', 'example' => 'PREPAY', 'title' => ''], + 'Components' => [ + 'description' => 'The commodity modules.', + 'type' => 'array', + 'items' => ['description' => 'The commodity modules.', 'type' => 'string', 'example' => 'YARN', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'Specifications' => [ + 'description' => 'The details of the Alibaba Cloud Marketplace specifications.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the Alibaba Cloud Marketplace specifications.', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The commodity code.', 'type' => 'string', 'example' => 'cmjj00****', 'title' => ''], + 'Name' => ['description' => 'The specification name.', 'type' => 'string', 'example' => 'specifications1', 'title' => ''], + 'Times' => [ + 'description' => 'The purchasable duration. Unit: week or year.', + 'type' => 'array', + 'items' => ['description' => 'The purchasable duration. Unit: week or year.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'MeteringEntities' => [ + 'description' => 'The metering information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The metering information.', + 'type' => 'object', + 'properties' => [ + 'EntityId' => ['description' => 'The metering item ID.', 'type' => 'string', 'example' => 'cmgj5682****-NetworkOut', 'title' => ''], + 'Name' => ['description' => 'The name of the metering item property.', 'type' => 'string', 'example' => 'spring-boot-demo', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'MarketplaceMetadata' => [ + 'description' => 'The metadata of Alibaba Cloud Marketplace.', + 'type' => 'object', + 'properties' => [ + 'SpecificationMappings' => [ + 'description' => 'The relationship between commodity specifications and templates or packages.', + 'type' => 'array', + 'items' => [ + 'description' => 'The relationship between commodity specifications and templates or packages.', + 'type' => 'object', + 'properties' => [ + 'SpecificationCode' => ['description' => 'The commodity specification code of Alibaba Cloud Marketplace.', 'type' => 'string', 'example' => 'cmjj00****', 'title' => ''], + 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Template 1', 'title' => ''], + 'SpecificationName' => ['description' => 'The package name.', 'type' => 'string', 'example' => 'Pay-as-you-go', 'title' => ''], + 'TrialType' => ['description' => 'The trial type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Trial: Trial is supported.'."\n" + ."\n" + .'- NotTrial: Trial is not supported.', 'type' => 'string', 'example' => 'NotTrial', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'MeteringEntityMappings' => [ + 'description' => 'The binding relationship between the package and the metering dimension.', + 'type' => 'array', + 'items' => [ + 'description' => 'The binding relationship between the package and the metering dimension.', + 'type' => 'object', + 'properties' => [ + 'EntityIds' => ['description' => 'The metering item ID.', 'type' => 'string', 'example' => 'cmgj1596****-NetworkOut-2', 'title' => ''], + 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => '模板1', 'title' => ''], + 'SpecificationName' => ['description' => 'The package name.', 'type' => 'string', 'example' => 'Pay-as-you-go plan', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'MeteringEntityExtraInfos' => [ + 'description' => 'The configuration information of the metering item.', + 'type' => 'array', + 'items' => [ + 'description' => 'The configuration information of the metering item.', + 'type' => 'object', + 'properties' => [ + 'EntityId' => ['description' => 'The metering item ID.', 'type' => 'string', 'example' => 'cmgj1596****-NetworkOut-2', 'title' => ''], + 'Type' => ['description' => 'The metering metric.', 'type' => 'string', 'example' => 'AvgPod', 'title' => ''], + 'MetricName' => ['description' => 'The name of the metering metric.', 'type' => 'string', 'example' => 'NetworkLantency', 'title' => ''], + 'Promql' => ['description' => 'The custom Prometheus statement.', 'type' => 'string', 'example' => 'avg_over_time(count(kube_pod_info{namespace=\\"default\\"})[1h:1m])', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'CssMetadata' => [ + 'description' => 'The configuration metadata of Lingxiao.', + 'type' => 'object', + 'properties' => [ + 'ComponentsMappings' => [ + 'description' => 'The billing item mapping.', + 'type' => 'array', + 'items' => [ + 'description' => 'The billing item mapping.', + 'type' => 'object', + 'properties' => [ + 'Mappings' => [ + 'description' => 'The mapping.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'The mapping.', 'type' => 'string', 'example' => '{{DBInstanceStorage}}', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => '模板1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'MeteringEntityMappings' => [ + 'description' => 'The binding relationship between the package and the metering dimension.', + 'type' => 'array', + 'items' => [ + 'description' => 'The binding relationship between the package and the metering dimension.', + 'type' => 'object', + 'properties' => [ + 'EntityIds' => ['description' => 'The metering item ID.', 'type' => 'string', 'example' => 'cmgj0015****-Frequency-1', 'title' => ''], + 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => '模板1', 'title' => ''], + 'SpecificationName' => ['description' => 'The package name.', 'type' => 'string', 'example' => '按量付费套餐', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'MeteringEntityExtraInfos' => [ + 'description' => 'The configuration information of the metering item.', + 'type' => 'array', + 'items' => [ + 'description' => 'The configuration information of the metering item.', + 'type' => 'object', + 'properties' => [ + 'EntityId' => ['description' => 'The metering item ID.', 'type' => 'string', 'example' => 'cmgj0048****-Frequency-1', 'title' => ''], + 'Type' => ['description' => 'The metering metric.', 'type' => 'string', 'example' => 'ComputeNestPrometheus', 'title' => ''], + 'MetricName' => ['description' => 'The metric name.', 'type' => 'string', 'example' => 'AvgMemory', 'title' => ''], + 'Promql' => ['description' => 'The custom Prometheus statement.', 'type' => 'string', 'example' => 'avg_over_time(count(kube_pod_info{namespace=\\"default\\"})[1h:1m])', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'CommodityCode' => ['description' => 'The commodity code of Alibaba Cloud Marketplace.', 'type' => 'string', 'example' => 'cmjj00xxxx', 'title' => ''], + 'SaasBoostMetadata' => ['description' => 'The configuration metadata of SaaS Boost.', 'type' => 'string', 'example' => '{'."\n" + .' "Enabled":false'."\n" + .' //Public access URL'."\n" + .' "PublicAccessUrl":"https://example.com"'."\n" + .'}', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'BuildInfo' => ['description' => 'The information about the build service.', 'type' => 'string', 'example' => '{ "RepoUrl": "https://github.com/user/repo.git", "Brancn": "main"}', 'title' => ''], + 'BuildParameters' => ['description' => 'The parameters of the build service.', 'type' => 'string', 'example' => '{ "ServiceTemplateId": "st-xxxxx"}', 'title' => ''], + 'ComplianceMetadata' => [ + 'description' => 'The compliance check metadata.', + 'type' => 'object', + 'properties' => [ + 'CompliancePacks' => [ + 'description' => 'The selected compliance package.', + 'type' => 'array', + 'items' => ['description' => 'The selected compliance package.', 'type' => 'string', 'example' => 'VpcDataRisk: VPC内数据安全风险合规包。', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'ServiceDocumentInfos' => [ + 'description' => 'The service document information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The service document information.', + 'type' => 'object', + 'properties' => [ + 'Locale' => ['description' => 'The language of the service configuration. Valid values:'."\n" + ."\n" + .'- zh-CN: Chinese.'."\n" + ."\n" + .'- en-US: English.', 'type' => 'string', 'example' => 'zh-CN', 'title' => ''], + 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => '模板1', 'title' => ''], + 'DocumentUrl' => ['description' => 'The URL of the document.', 'type' => 'string', 'example' => 'http://doc.com', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'SupportContacts' => [ + 'description' => 'The contact information of the service provider.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type of the contact information.', 'type' => 'string', 'example' => 'Email', 'title' => ''], + 'Value' => ['description' => 'The contact information.', 'type' => 'string', 'example' => 'supplier@test.com', 'title' => ''], + ], + 'description' => 'The contact information of the service provider.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'SecretKey' => ['description' => 'The service key. It is used for digital signature encryption.', 'type' => 'string', 'example' => '6cfc5d4649c54216****', 'title' => ''], + 'ServiceLocaleConfigs' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalValue' => ['description' => 'The original value of the business information.', 'type' => 'string', 'example' => 'Service Name'."\n", 'title' => ''], + 'ZhValue' => ['description' => 'The Chinese value of the business information.', 'type' => 'string', 'example' => '服务名称', 'title' => ''], + 'EnValue' => ['description' => 'The English value of the business information.', 'type' => 'string', 'example' => 'Service Name'."\n", 'title' => ''], + ], + 'description' => 'The multi-language configurations of the service.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The multi-language configurations of the service.', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46577928-3162-15A6-9084-69820EB9xxxx\\"\\n}","type":"json"}]', - 'title' => 'ModifyServiceInstanceResources', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Online\\",\\n \\"DeployMetadata\\": \\"{\\\\\\\\\\\\\\"TemplateConfigs\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"模板1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"oss://computenest-test/template\\\\\\" \\\\n + \\\\\\".json?RegionId=cn-beijing\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PredefinedParameters\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"低配版\\\\\\\\\\\\\\",\\\\\\" \\\\n + \\\\\\"\\\\\\\\\\\\\\"Parameters\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"InstanceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ecs.g5.large\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DataDiskSize\\\\\\\\\\\\\\":40}},{\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"高配版\\\\\\\\\\\\\\",\\\\\\" \\\\n + \\\\\\"\\\\\\\\\\\\\\"Parameters\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"InstanceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ecs.g5.large\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DataDiskSize\\\\\\\\\\\\\\":200}}]}]}\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"RequestId\\": \\"9AC8E73E-88DE-52C2-A29B-531FC13A5604\\",\\n \\"Version\\": \\"1.0\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-ca83ff3cb6b14dbc****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceProductUrl\\": \\"http://example2.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"Company A\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f35660****.png\\",\\n \\"Name\\": \\"Database B\\",\\n \\"ShortDescription\\": \\"B is an open-source distributed relational database independently designed and developed by Company A.\\",\\n \\"LongDescriptionUrl\\": \\"https://example.com\\",\\n \\"Agreements\\": [\\n {\\n \\"Name\\": \\"Name\\",\\n \\"Url\\": \\"https://aliyun.com/xxxxxxxx.html\\"\\n }\\n ],\\n \\"Softwares\\": [\\n {\\n \\"Name\\": \\"MySQL\\",\\n \\"Version\\": \\"5.7\\"\\n }\\n ]\\n }\\n ],\\n \\"IsSupportOperated\\": false,\\n \\"PolicyNames\\": \\"policyName1, policyName2\\",\\n \\"Duration\\": 259200,\\n \\"Progress\\": 90,\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UpdateTime\\": \\"2021-05-22T00:00:00Z\\",\\n \\"ShareType\\": \\"Public\\",\\n \\"AlarmMetadata\\": \\"{\\\\n \\\\\\"TemplateUrl\\\\\\": \\\\\\"http://template.file.url\\\\\\",\\\\n // Application group level alarm metadata\\\\n \\\\\\"ApplicationGroups\\\\\\": [\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\"applicationGroup1\\\\\\",\\\\n \\\\\\"TemplateUrl\\\\\\": \\\\\\"url1\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\"applicationGroup2\\\\\\",\\\\n \\\\\\"TemplateUrl\\\\\\": \\\\\\"url2\\\\\\"\\\\n }\\\\n ]\\\\n}\\",\\n \\"UpgradeMetadata\\": \\"{\\\\\\\\\\\\\\"SupportRollback\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"SupportUpgradeFromVersions\\\\\\\\\\\\\\":[],\\\\\\\\\\\\\\"UpgradeComponents\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"Configuration\\\\\\\\\\\\\\"]}\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"PayFromType\\": \\"None\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"TrialDuration\\": 7,\\n \\"TrialType\\": \\"Trial\\",\\n \\"TenantType\\": \\"SingleTenant\\",\\n \\"LicenseMetadata\\": \\"{\\\\\\\\\\\\\\"PayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"CustomFixTime\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DefaultLicenseDays\\\\\\\\\\\\\\":7,\\\\\\\\\\\\\\"CustomMetadata\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"TemplateName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\" template1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SpecificationName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"bandwith-0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CustomData\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"}]}\\",\\n \\"OperationMetadata\\": \\"{\\\\\\\\\\\\\\"PrometheusConfigMap\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"New_Vpc_Ack_And_Jumpserver\\\\\\\\\\\\\\":{}}}\\",\\n \\"TestStatus\\": \\"SERVICE_TEST_SUCCEED\\",\\n \\"ApprovalType\\": \\"Manual\\",\\n \\"RegistrationId\\": \\"sr-1b4aabc1c9eb4109****\\",\\n \\"ResourceGroupId\\": \\"rg-acfm2jfvb7b****\\",\\n \\"Permission\\": \\"Deployable\\",\\n \\"Statistic\\": {\\n \\"AccumulativeInstanceCount\\": 75,\\n \\"AccumulativeUserCount\\": 60,\\n \\"DeployedServiceInstanceCount\\": 20,\\n \\"DeployedUserCount\\": 10,\\n \\"SubmittedUsageCount\\": 10,\\n \\"AccumulativePocAmount\\": 80.35,\\n \\"AveragePocAmount\\": 40.17,\\n \\"AveragePocUnitAmount\\": 167.9,\\n \\"AveragePocDuration\\": 1\\n },\\n \\"SourceServiceId\\": \\"service-70a3b15bb6264315****\\",\\n \\"SourceServiceVersion\\": \\"1\\",\\n \\"SourceSupplierName\\": \\"SourceSupplier\\",\\n \\"LogMetadata\\": \\"{\\\\n \\\\\\"Logstores\\\\\\": [\\\\n {\\\\n \\\\\\"LogstoreName\\\\\\": \\\\\\"access-log\\\\\\",\\\\n \\\\\\"LogPath\\\\\\": \\\\\\"/home/admin/app/logs\\\\\\", # Not required for containers. Configure in YAML\\\\n \\\\\\"FilePattern\\\\\\": \\\\\\"access.log*\\\\\\" # Not required for containers. Configure in YAML\\\\n }\\\\n ]\\\\n}\\",\\n \\"Resellable\\": false,\\n \\"VirtualInternetService\\": \\"false\\",\\n \\"ServiceDiscoverable\\": \\"DISCOVERABLE\\",\\n \\"Categories\\": \\"DevOps\\",\\n \\"ShareTypeStatus\\": \\"This parameter is deprecated.\\",\\n \\"ServiceAuditDocumentUrl\\": \\"https://service-info-public.oss-cn-hangzhou.aliyuncs.com/169070753192****/service-document/be3382cd-e198-41a4-a697-f8707ec1****.docx\\",\\n \\"EntitySource\\": {\\n \\"key\\": \\"ComputNest\\"\\n },\\n \\"CrossRegionConnectionStatus\\": \\"componesConfigs\\",\\n \\"VirtualInternetServiceId\\": \\"service-70a3b15bb6264345****\\",\\n \\"Commodity\\": {\\n \\"Type\\": \\"Marketplace\\",\\n \\"ChargeType\\": \\"PREPAY\\",\\n \\"Components\\": [\\n \\"YARN\\"\\n ],\\n \\"Specifications\\": [\\n {\\n \\"Code\\": \\"cmjj00****\\",\\n \\"Name\\": \\"specifications1\\",\\n \\"Times\\": [\\n \\"3\\"\\n ]\\n }\\n ],\\n \\"MeteringEntities\\": [\\n {\\n \\"EntityId\\": \\"cmgj5682****-NetworkOut\\",\\n \\"Name\\": \\"spring-boot-demo\\"\\n }\\n ],\\n \\"MarketplaceMetadata\\": {\\n \\"SpecificationMappings\\": [\\n {\\n \\"SpecificationCode\\": \\"cmjj00****\\",\\n \\"TemplateName\\": \\"Template 1\\",\\n \\"SpecificationName\\": \\"Pay-as-you-go\\",\\n \\"TrialType\\": \\"NotTrial\\"\\n }\\n ],\\n \\"MeteringEntityMappings\\": [\\n {\\n \\"EntityIds\\": \\"cmgj1596****-NetworkOut-2\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"SpecificationName\\": \\"Pay-as-you-go plan\\"\\n }\\n ],\\n \\"MeteringEntityExtraInfos\\": [\\n {\\n \\"EntityId\\": \\"cmgj1596****-NetworkOut-2\\",\\n \\"Type\\": \\"AvgPod\\",\\n \\"MetricName\\": \\"NetworkLantency\\",\\n \\"Promql\\": \\"avg_over_time(count(kube_pod_info{namespace=\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\"})[1h:1m])\\"\\n }\\n ]\\n },\\n \\"CssMetadata\\": {\\n \\"ComponentsMappings\\": [\\n {\\n \\"Mappings\\": {\\n \\"key\\": \\"{{DBInstanceStorage}}\\"\\n },\\n \\"TemplateName\\": \\"模板1\\"\\n }\\n ],\\n \\"MeteringEntityMappings\\": [\\n {\\n \\"EntityIds\\": \\"cmgj0015****-Frequency-1\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"SpecificationName\\": \\"按量付费套餐\\"\\n }\\n ],\\n \\"MeteringEntityExtraInfos\\": [\\n {\\n \\"EntityId\\": \\"cmgj0048****-Frequency-1\\",\\n \\"Type\\": \\"ComputeNestPrometheus\\",\\n \\"MetricName\\": \\"AvgMemory\\",\\n \\"Promql\\": \\"avg_over_time(count(kube_pod_info{namespace=\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\"})[1h:1m])\\"\\n }\\n ]\\n },\\n \\"CommodityCode\\": \\"cmjj00xxxx\\",\\n \\"SaasBoostMetadata\\": \\"{\\\\n \\\\\\"Enabled\\\\\\":false\\\\n //Public access URL\\\\n \\\\\\"PublicAccessUrl\\\\\\":\\\\\\"https://example.com\\\\\\"\\\\n}\\"\\n },\\n \\"BuildInfo\\": \\"{ \\\\\\"RepoUrl\\\\\\": \\\\\\"https://github.com/user/repo.git\\\\\\", \\\\\\"Brancn\\\\\\": \\\\\\"main\\\\\\"}\\",\\n \\"BuildParameters\\": \\"{ \\\\\\"ServiceTemplateId\\\\\\": \\\\\\"st-xxxxx\\\\\\"}\\",\\n \\"ComplianceMetadata\\": {\\n \\"CompliancePacks\\": [\\n \\"VpcDataRisk: VPC内数据安全风险合规包。\\"\\n ]\\n },\\n \\"ServiceDocumentInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"DocumentUrl\\": \\"http://doc.com\\"\\n }\\n ],\\n \\"SupportContacts\\": [\\n {\\n \\"Type\\": \\"Email\\",\\n \\"Value\\": \\"supplier@test.com\\"\\n }\\n ],\\n \\"SecretKey\\": \\"6cfc5d4649c54216****\\",\\n \\"ServiceLocaleConfigs\\": [\\n {\\n \\"OriginalValue\\": \\"Service Name\\\\n\\",\\n \\"ZhValue\\": \\"服务名称\\",\\n \\"EnValue\\": \\"Service Name\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetService', + 'changeSet' => [ + ['createdAt' => '2025-09-18T08:24:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-09-09T07:11:57.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-04-17T08:08:55.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-04-07T06:16:21.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-11-29T02:02:56.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-11-11T02:18:34.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-10-25T02:31:26.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-10-25T01:43:00.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-10-22T05:37:29.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-06-04T07:43:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-30T03:11:43.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-27T01:54:45.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-10T01:47:48.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-11T11:36:30.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-29T02:29:44.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-22T01:50:00.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-02-23T05:37:57.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-02-22T08:30:36.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-01-23T03:30:14.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-14T08:20:04.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-11T01:40:23.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-24T11:40:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-16T03:18:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-21T10:02:00.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-15T08:46:08.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-11T05:00:37.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-08-03T03:27:44.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-07-10T01:38:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-05-26T01:49:08.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-05-25T02:58:35.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-15T03:55:13.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-15T03:55:13.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-07-23T07:31:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-06-30T06:31:15.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetService'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], + ], + 'translator' => 'manual', ], - 'UpgradeServiceInstance' => [ - 'summary' => 'Upgrades a service instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetServiceEstimateCost' => [ + 'summary' => 'Retrieves the estimated cost of creating a service instance.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '162313', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestQE1OA6', - ], + 'abilityTreeCode' => '137755', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-wulanchabu', 'title' => ''], ], [ - 'name' => 'ServiceInstanceId', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'si-5cbae874da0e47xxxxxx', - 'docRequired' => true, - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'service-16fbd358d75e49xxxxxx', 'title' => ''], ], [ 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '2', - ], + 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'example' => 'draft', 'title' => ''], + ], + [ + 'name' => 'TemplateName', + 'in' => 'query', + 'schema' => ['description' => 'The template name.', 'type' => 'string', 'required' => false, 'example' => 'Custom_Image_Ecs', 'title' => ''], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => ['description' => 'The parameters that you enter to deploy the service instance.', 'type' => 'object', 'required' => false, 'example' => '{\\"PayType\\":\\"PostPaid\\",\\"InstancePassword\\":\\"xxxxxxxxxx\\",\\"EcsInstanceType\\":\\"ecs.g6.large\\",\\"VSwitchId\\":\\"vsw-0jlueyydpuekoxxxxxxxx\\",\\"VpcId\\":\\"vpc-0jlps6mjbgvpqxxxxxxxx\\",\\"ZoneId\\":\\"cn-wulanchabu-a\\",\\"Enable\\":false,\\"RegionId\\":\\"cn-wulanchabu\\"}', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['description' => 'A client token that you can use to ensure the idempotence of the request. You can use the client to generate a token, but you must make sure that the token is unique among different requests. The **ClientToken** parameter can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'mRdxWuW2ts', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to perform only a dry run for the request to check information such as the permissions and instance status. Valid values:'."\n" - ."\n" - .'* true: performs a dry run for the request, but does not create a service instance.'."\n" - .'* false: performs a dry run for the request, and creates a service instance if the request passes the dry run.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => false, 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''], ], [ - 'name' => 'Parameters', + 'name' => 'SpecificationName', + 'in' => 'query', + 'schema' => ['description' => 'The specification name.', 'type' => 'string', 'example' => 'Package 1', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'Commodity', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'The configuration parameters of the service instance.'."\n", + 'description' => 'The subscription details of the Alibaba Cloud Marketplace order.', 'type' => 'object', + 'properties' => [ + 'PayPeriodUnit' => ['description' => 'The unit of the subscription duration. Valid values:'."\n" + ."\n" + .'- Year'."\n" + ."\n" + .'- Month'."\n" + ."\n" + .'- Day', 'type' => 'string', 'required' => false, 'example' => 'Month', 'title' => ''], + 'PayPeriod' => ['description' => 'The subscription duration.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], 'required' => false, - 'example' => '{'."\n" - .' "param": "value"'."\n" - .'}', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The deployment state of the service instance. Valid values:'."\n" - ."\n" - .'* Created'."\n" - .'* Deploying'."\n" - .'* DeployedFailed'."\n" - .'* Deployed'."\n" - .'* Upgrading'."\n" - .'* Deleting'."\n" - .'* Deleted'."\n" - .'* DeletedFailed'."\n", - 'type' => 'string', - 'example' => 'Created', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'F224E002-AB0E-5FD9-A87E-54AEE56F6CAE', - ], - 'ServiceInstanceId' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'example' => 'si-5cbae874da0e47xxxxxx', - ], - 'UpgradeRequiredParameters' => [ - 'description' => 'The parameters required for the upgrade.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameter required for the upgrade.'."\n", - 'type' => 'string', - 'example' => '[\'EcsInstanceType\', \'InstancePassword\']', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C'], + 'Resources' => ['description' => 'The list of resources.', 'type' => 'object', 'example' => '{'."\n" + .' "ECSInstances":{'."\n" + .' "Type":"ALIYUN::ECS::InstanceGroup",'."\n" + .' "Success":true,'."\n" + .' "Result":{'."\n" + .' "Order":{'."\n" + .' "Currency":"CNY",'."\n" + .' "RuleIds":['."\n" + .' 1752723'."\n" + .' ],'."\n" + .' "DetailInfos":{'."\n" + .' "ResourcePriceModel":['."\n" + .' {'."\n" + .' "Resource":"bandwidth",'."\n" + .' "TradeAmount":0.0,'."\n" + .' "SubRuleIds":[],'."\n" + .' "OriginalAmount":0.0,'."\n" + .' "DiscountAmount":0.0'."\n" + .' },'."\n" + .' {'."\n" + .' "Resource":"image",'."\n" + .' "TradeAmount":0.0,'."\n" + .' "SubRuleIds":[],'."\n" + .' "OriginalAmount":0.0,'."\n" + .' "DiscountAmount":0.0'."\n" + .' },'."\n" + .' {'."\n" + .' "Resource":"instanceType",'."\n" + .' "TradeAmount":0.006966,'."\n" + .' "SubRuleIds":[],'."\n" + .' "OriginalAmount":0.45,'."\n" + .' "DiscountAmount":0.443034'."\n" + .' },'."\n" + .' {'."\n" + .' "Resource":"systemDisk",'."\n" + .' "TradeAmount":0.000867,'."\n" + .' "SubRuleIds":[],'."\n" + .' "OriginalAmount":0.056,'."\n" + .' "DiscountAmount":0.055133'."\n" + .' },'."\n" + .' {'."\n" + .' "Resource":"dataDisk",'."\n" + .' "TradeAmount":0.002167,'."\n" + .' "SubRuleIds":[],'."\n" + .' "OriginalAmount":0.14,'."\n" + .' "DiscountAmount":0.137833'."\n" + .' }'."\n" + .' ]'."\n" + .' }', 'title' => ''], + 'Commodity' => ['description' => 'The subscription details of the Alibaba Cloud Marketplace order.', 'type' => 'object', 'example' => '{\\"PayPeriodUnit\\":Month,\\"PayPeriod\\":1}', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\",\\n \\"Resources\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Commodity\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]', + 'title' => 'GetServiceEstimateCost', + 'changeSet' => [ + ['createdAt' => '2024-04-19T01:35:07.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-08-31T10:53:10.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceEstimateCost'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceEstimateCost', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], ], - 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Created\\",\\n \\"RequestId\\": \\"F224E002-AB0E-5FD9-A87E-54AEE56F6CAE\\",\\n \\"ServiceInstanceId\\": \\"si-5cbae874da0e47xxxxxx\\",\\n \\"UpgradeRequiredParameters\\": [\\n \\"[\'EcsInstanceType\', \'InstancePassword\']\\"\\n ]\\n}","type":"json"}]', - 'title' => 'UpgradeServiceInstance', + 'translator' => 'manual', ], 'GetServiceInstance' => [ - 'summary' => 'Queries the information about a service instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Queries the details of a specified service instance using the service instance ID and region ID. The returned information includes the deployment status, template name, and service details.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5708,33 +4126,19 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '36942', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestVIKWP9', - ], + 'abilityTreeNodes' => ['FEATUREcomputenestVIKWP9'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ServiceInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'si-d6ab3a63ccbb4b17****', - ], + 'schema' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ @@ -5742,574 +4146,396 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The deployment state of the service instance. Valid values:'."\n" - ."\n" - .'* Created'."\n" - .'* Deploying'."\n" - .'* DeployedFailed'."\n" - .'* Deployed'."\n" - .'* Upgrading'."\n" - .'* Deleting'."\n" - .'* Deleted'."\n" - .'* DeletedFailed'."\n", - 'type' => 'string', - 'example' => 'Deployed', - ], - 'TemplateName' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'example' => '模板1', - ], - 'UpdateTime' => [ - 'description' => 'The time when the service instance was updated.'."\n", - 'type' => 'string', - 'example' => '2021-05-20T00:00:00Z', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => ' '."\n" - .'4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', - ], - 'ServiceInstanceId' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'example' => 'si-d6ab3a63ccbb4b17****', - ], - 'CreateTime' => [ - 'description' => 'The time when the service instance was created.'."\n", - 'type' => 'string', - 'example' => '2021-05-20T00:00:00Z', - ], - 'UserId' => [ - 'description' => 'The Alibaba Cloud account ID of the user.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234567', - ], - 'SupplierUid' => [ - 'description' => 'The Alibaba Cloud account ID of the service provider.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1964460391538545', - ], + 'Status' => ['description' => 'The deployment status of the service instance. Valid values:'."\n" + ."\n" + .'- Created: The service instance is created.'."\n" + ."\n" + .'- Deploying: The service instance is being deployed.'."\n" + ."\n" + .'- DeployedFailed: The service instance failed to be deployed.'."\n" + ."\n" + .'- Deployed: The service instance is deployed.'."\n" + ."\n" + .'- Upgrading: The service instance is being upgraded.'."\n" + ."\n" + .'- Deleting: The service instance is being deleted.'."\n" + ."\n" + .'- Deleted: The service instance is deleted.'."\n" + ."\n" + .'- DeletedFailed: The service instance failed to be deleted.', 'type' => 'string', 'example' => 'Deployed', 'title' => ''], + 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Template 1', 'title' => ''], + 'UpdateTime' => ['description' => 'The time when the service instance was updated.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => ' '."\n" + .'4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', 'title' => ''], + 'ServiceInstanceId' => ['description' => 'The service instance ID.', 'type' => 'string', 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the service instance was created.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z', 'title' => ''], + 'UserId' => ['description' => 'The user\'s Alibaba Cloud account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567', 'title' => ''], + 'SupplierUid' => ['description' => 'The service provider\'s Alibaba Cloud account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1964460391538545', 'title' => ''], 'Service' => [ - 'description' => 'The information about the service to which the service instance belongs.'."\n", + 'description' => 'The service details.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the service. Valid values:'."\n" - ."\n" - .'Draft: The registration request of the service is pending to be submitted.'."\n" - ."\n" - .'Submitted: The registration request of the service is submitted.'."\n" - ."\n" - .'Approved: The registration request of the service is approved.'."\n" - ."\n" - .'Online: The service is published.'."\n" - ."\n" - .'Offline: The service is unpublished.'."\n" - ."\n" - .'Deleted: The service is deleted.'."\n" - ."\n" - .'Launching: The service is being published.'."\n", - 'type' => 'string', - 'example' => 'Online', - ], - 'PublishTime' => [ - 'description' => 'The time when the service was published.'."\n", - 'type' => 'string', - 'example' => '2021-05-21T00:00:00Z', - ], - 'Version' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'DeployMetadata' => [ - 'description' => 'The storage configurations of the service. The format in which the deployment information of a service is stored varies based on the deployment type of the service. In this case, the deployment information is stored in the JSON string format.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "EstimateTime": null,'."\n" - .' "SupplierDeployMetadata": {'."\n" - .' "DeployTimeout": null'."\n" - .' },'."\n" - .' "TemplateConfigs": ['."\n" - .' {'."\n" - .' "Name": "模板1",'."\n" - .' "Url": "https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json",'."\n" - .' "PredefinedParameters": [],'."\n" - .' "AllowedRegions": ['."\n" - .' "cn-hangzhou"'."\n" - .' ]'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'DeployType' => [ - 'description' => 'The deployment type of the service. Valid values:'."\n" - ."\n" - .'* ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" - .'* terraform: The service is deployed by using Terraform.'."\n" - .'* ack: The service is deployed by using Container Service for Kubernetes (ACK).'."\n" - .'* spi: The service is deployed by calling a service provider interface (SPI).'."\n" - .'* operation: The service is deployed by using a hosted O\\&M service.'."\n", - 'type' => 'string', - 'example' => 'ros', - ], - 'ServiceId' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'example' => 'service-9c8a3522528b4fe8****', - ], - 'SupplierUrl' => [ - 'description' => 'The URL of the service provider.'."\n", - 'type' => 'string', - 'example' => 'http://example.com', - ], - 'ServiceProductUrl' => [ - 'description' => 'The URL of the service page.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'https://service-info-private.oss-cn-hangzhou.aliyuncs.com', - ], - 'ServiceDocUrl' => [ - 'description' => 'The URL of the service documentation.'."\n", - 'type' => 'string', - 'example' => 'http://example.com', - ], - 'ServiceType' => [ - 'description' => 'The type of the service. Valid values:'."\n" - ."\n" - .'* private: The service is a private service and is deployed within the account of a customer.'."\n" - .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" - .'* operation: The service is a hosted O\\&M service.'."\n", - 'type' => 'string', - 'example' => 'private', - ], - 'SupplierName' => [ - 'description' => 'The name of the service provider.'."\n", - 'type' => 'string', - 'example' => 'Alibaba Cloud', - ], + 'Status' => ['description' => 'The service status. Valid values:'."\n" + ."\n" + .'Draft: The service is pending registration.'."\n" + ."\n" + .'Submitted: The service is submitted for registration.'."\n" + ."\n" + .'Approved: The registration is approved.'."\n" + ."\n" + .'Online: The service is published.'."\n" + ."\n" + .'Offline: The service is unpublished.'."\n" + ."\n" + .'Deleted: The service is deleted.'."\n" + ."\n" + .'Launching: The service is being published.', 'type' => 'string', 'example' => 'Online', 'title' => ''], + 'PublishTime' => ['description' => 'The time when the service was published.', 'type' => 'string', 'example' => '2021-05-21T00:00:00Z', 'title' => ''], + 'Version' => ['description' => 'The service version.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'DeployMetadata' => ['description' => 'The deployment configuration of the service. The data format varies based on the deployment type. The value is a JSON string.', 'type' => 'string', 'example' => '{'."\n" + .' "EstimateTime": null,'."\n" + .' "SupplierDeployMetadata": {'."\n" + .' "DeployTimeout": null'."\n" + .' },'."\n" + .' "TemplateConfigs": ['."\n" + .' {'."\n" + .' "Name": " template1",'."\n" + .' "Url": "https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json",'."\n" + .' "PredefinedParameters": [],'."\n" + .' "AllowedRegions": ['."\n" + .' "cn-hangzhou"'."\n" + .' ]'."\n" + .' }'."\n" + .' ]'."\n" + .'}', 'title' => ''], + 'DeployType' => ['description' => 'The deployment type. Valid values:'."\n" + ."\n" + .'- ros: The service is deployed using ROS.'."\n" + ."\n" + .'- terraform: The service is deployed using Terraform.'."\n" + ."\n" + .'- ack: The service is deployed using ACK.'."\n" + ."\n" + .'- spi: The service is deployed using SPI.'."\n" + ."\n" + .'- operation: The service is deployed using Alibaba Cloud Managed Services.', 'type' => 'string', 'example' => 'ros', 'title' => ''], + 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'service-9c8a3522528b4fe8****', 'title' => ''], + 'SupplierUrl' => ['description' => 'The URL of the service provider.', 'type' => 'string', 'example' => 'http://example.com', 'title' => ''], + 'ServiceProductUrl' => ['description' => 'The URL of the product page for the service.', 'type' => 'string', 'required' => false, 'example' => 'https://service-info-private.oss-cn-hangzhou.aliyuncs.com', 'title' => ''], + 'ServiceDocUrl' => ['description' => 'The URL of the documentation for the service.', 'type' => 'string', 'example' => 'http://example.com', 'title' => ''], + 'ServiceType' => ['description' => 'The service type. Valid values:'."\n" + ."\n" + .'- private: The service is deployed in the user\'s account.'."\n" + ."\n" + .'- managed: The service is deployed in the service provider\'s account.'."\n" + ."\n" + .'- operation: The service is an Alibaba Cloud Managed Services.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'SupplierName' => ['description' => 'The name of the service provider.', 'type' => 'string', 'example' => 'Company A', 'title' => ''], 'ServiceInfos' => [ - 'description' => 'The information about the service.'."\n", + 'description' => 'The service information.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The service information.', 'type' => 'object', 'properties' => [ - 'Locale' => [ - 'description' => 'The language of the service instance.'."\n", - 'type' => 'string', - 'example' => 'zh-CN', - ], - 'Image' => [ - 'description' => 'The URL of the service icon.'."\n", - 'type' => 'string', - 'example' => 'https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png', - ], - 'Name' => [ - 'description' => 'The service name.'."\n", - 'type' => 'string', - 'example' => 'WordPress', - ], - 'ShortDescription' => [ - 'description' => 'The description of the service.'."\n", - 'type' => 'string', - 'example' => 'B是A公司自主设计并研发的开源分布式的关系型数据库', - ], + 'Locale' => ['description' => 'The language of the service instance.', 'type' => 'string', 'example' => 'zh-CN', 'title' => ''], + 'Image' => ['description' => 'The URL of the service icon.', 'type' => 'string', 'example' => 'https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png', 'title' => ''], + 'Name' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'B数据库', 'title' => ''], + 'ShortDescription' => ['description' => 'A short description of the service.', 'type' => 'string', 'example' => 'B is an open-source distributed relational database independently designed and developed by Company A.', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'VersionName' => [ - 'description' => 'The custom version name defined by the service provider.'."\n", - 'type' => 'string', - 'example' => '20231127020225', - ], + 'VersionName' => ['description' => 'The custom version name specified by the service provider.', 'type' => 'string', 'example' => 'Version A', 'title' => ''], 'UpgradableServiceVersions' => [ - 'description' => 'The service versions that can be updated.'."\n", + 'description' => 'The service versions to which the service can be upgraded.', 'type' => 'array', - 'items' => [ - 'description' => 'The service version that can be updated.'."\n", - 'type' => 'string', - 'example' => '1', - ], + 'items' => ['description' => 'The service versions to which the service can be upgraded.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', ], 'UpgradableServiceInfos' => [ - 'description' => 'The upgradable service Info.', + 'description' => 'The information about the service versions to which the service can be upgraded.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The information about the service versions to which the service can be upgraded.', 'type' => 'object', 'properties' => [ - 'Version' => [ - 'description' => 'The upgradable service version.', - 'type' => 'string', - 'example' => '4', - ], - 'VersionName' => [ - 'description' => 'The version name of an upgradable service version.', - 'type' => 'string', - 'example' => 'Init version', - ], + 'Version' => ['description' => 'The service version to which the service can be upgraded.', 'type' => 'string', 'example' => '4', 'title' => ''], + 'VersionName' => ['description' => 'The name of the service version to which the service can be upgraded.', 'type' => 'string', 'example' => 'New parameter management feature', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'Parameters' => [ - 'description' => 'The parameters that are specified to deploy the service instance.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "param": "value"'."\n" - .'}', - ], - 'Progress' => [ - 'description' => 'The deployment progress of the service instance. Unit: percentage.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '90', - ], - 'StatusDetail' => [ - 'description' => 'The description of the deployment state of the service instance.'."\n", - 'type' => 'string', - 'example' => 'deploy successfully', - ], - 'OperationStartTime' => [ - 'description' => 'The beginning of the time range during which hosted O\\&M is implemented.'."\n", - 'type' => 'string', - 'example' => '2021-12-29T06:48:56Z', - ], - 'OperationEndTime' => [ - 'description' => 'The end of the time range during which hosted O\\&M is implemented.'."\n", - 'type' => 'string', - 'example' => '2022-01-28T06:48:56Z', - ], - 'OperatedServiceInstanceId' => [ - 'description' => 'The ID of the service instance that is used to implement hosted O\\&M.'."\n", - 'type' => 'string', - 'example' => 'si-d6ab3a63ccbb4b17****', - ], - 'IsOperated' => [ - 'description' => 'Indicates whether the hosted O\\&M feature is enabled for the service instance. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'EnableInstanceOps' => [ - 'description' => 'Indicates whether the service instance supports the hosted O\\&M feature. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Resources' => [ - 'description' => 'The list of resources.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' {'."\n" - .' "StackId": "stack-xxx"'."\n" - .' }'."\n" - .']', - ], + 'Parameters' => ['description' => 'The parameters that are entered for deploying the service instance.', 'type' => 'string', 'example' => '{'."\n" + .' "param": "value"'."\n" + .'}', 'title' => ''], + 'Progress' => ['description' => 'The deployment progress of the service instance. Unit: %.', 'type' => 'integer', 'format' => 'int64', 'example' => '90', 'title' => ''], + 'StatusDetail' => ['description' => 'The description of the deployment status of the instance.', 'type' => 'string', 'example' => 'deploy successfully', 'title' => ''], + 'OperationStartTime' => ['description' => 'The start time of the Alibaba Cloud Managed Services.', 'type' => 'string', 'example' => '2021-12-29T06:48:56Z', 'title' => ''], + 'OperationEndTime' => ['description' => 'The end time of the Alibaba Cloud Managed Services.', 'type' => 'string', 'example' => '2022-01-28T06:48:56Z', 'title' => ''], + 'OperatedServiceInstanceId' => ['description' => 'The ID of the service instance that is managed by Alibaba Cloud Managed Services.', 'type' => 'string', 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''], + 'IsOperated' => ['description' => 'Indicates whether Alibaba Cloud Managed Services is enabled for the service instance. Valid values:'."\n" + ."\n" + .'- true: Alibaba Cloud Managed Services is enabled for the service instance.'."\n" + ."\n" + .'- false: Alibaba Cloud Managed Services is not enabled for the service instance.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'EnableInstanceOps' => ['description' => 'Indicates whether the service instance supports Alibaba Cloud Managed Services. Valid values:'."\n" + ."\n" + .'- true: The service instance supports Alibaba Cloud Managed Services.'."\n" + ."\n" + .'- false: The service instance does not support Alibaba Cloud Managed Services.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Resources' => ['description' => 'The resources.', 'type' => 'string', 'example' => '['."\n" + .' {'."\n" + .' "StackId": "stack-xxx"'."\n" + .' }'."\n" + .']', 'title' => ''], 'NetworkConfig' => [ - 'description' => 'The network configurations.'."\n" + 'description' => 'The network configuration.'."\n" ."\n" - .'> This parameter is discontinued.'."\n", + .'> This parameter is deprecated.', 'type' => 'object', 'properties' => [ - 'EndpointServiceId' => [ - 'description' => 'The ID of the endpoint service for the private connection.'."\n" - ."\n" - .'> This parameter is discontinued.'."\n", - 'type' => 'string', - 'example' => 'epsrv-5ei07324541816bxxxx', - ], - 'EndpointId' => [ - 'description' => 'The ID of the endpoint for the private connection.'."\n" - ."\n" - .'> This parameter is discontinued.'."\n", - 'type' => 'string', - 'example' => 'ep-m5ei37240541816b****', - ], + 'EndpointServiceId' => ['description' => 'The ID of the endpoint service for the PrivateLink connection.'."\n" + ."\n" + .'> This parameter is deprecated.', 'type' => 'string', 'example' => 'epsrv-5ei07324541816bxxxx', 'title' => ''], + 'EndpointId' => ['description' => 'The ID of the endpoint for the PrivateLink connection.'."\n" + ."\n" + .'> This parameter is deprecated.', 'type' => 'string', 'example' => 'ep-m5ei37240541816b****', 'title' => ''], 'PrivateVpcConnections' => [ - 'description' => 'The information about private connections.'."\n", + 'description' => 'The information about the PrivateLink connection.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The information about the PrivateLink connection.', 'type' => 'object', 'properties' => [ - 'EndpointId' => [ - 'description' => 'The ID of the endpoint for the private connection.'."\n", - 'type' => 'string', - 'example' => 'ep-m5ei37240541816b****', - ], - 'EndpointServiceId' => [ - 'description' => 'The ID of the endpoint service for the private connection.'."\n", - 'type' => 'string', - 'example' => 'epsrv-5ei07324541816bxxxx', - ], - 'PrivateZoneName' => [ - 'description' => 'The custom domain name.'."\n", - 'type' => 'string', - 'example' => 'test.computenest.aliyuncs.com', - ], + 'EndpointId' => ['description' => 'The ID of the endpoint for the PrivateLink connection.', 'type' => 'string', 'example' => 'ep-m5ei37240541816b****', 'title' => ''], + 'EndpointServiceId' => ['description' => 'The ID of the endpoint service for the PrivateLink connection.', 'type' => 'string', 'example' => 'epsrv-5ei07324541816bxxxx', 'title' => ''], + 'PrivateZoneName' => ['description' => 'The custom domain name.', 'type' => 'string', 'example' => 'test.computenest.aliyuncs.com', 'title' => ''], 'ConnectionConfigs' => [ - 'description' => 'The network configurations, which are mainly used for the private connection.'."\n", + 'description' => 'The network configuration. This is mainly used for PrivateLink connections.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The network configuration. This is mainly used for PrivateLink connections.', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The virtual private cloud (VPC) ID.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1vwnn14rqpyiczj****', - ], + 'VpcId' => ['description' => 'The virtual private cloud (VPC) ID.', 'type' => 'string', 'example' => 'vpc-bp1vwnn14rqpyiczj****', 'title' => ''], 'SecurityGroups' => [ - 'description' => 'The names of the security groups.'."\n", + 'description' => 'The name of the security group.', 'type' => 'array', - 'items' => [ - 'description' => 'The name of the security group.'."\n", - 'type' => 'string', - 'example' => 'sg-m5ec4mvoq9egn7xxxxxx', - ], + 'items' => ['description' => 'The name of the security group.', 'type' => 'string', 'example' => 'sg-m5ec4mvoq9egn7xxxxxx', 'title' => ''], + 'title' => '', + 'example' => '', ], 'VSwitches' => [ - 'description' => 'The names of the vSwitches.'."\n", + 'description' => 'The name of the virtual switch.', 'type' => 'array', - 'items' => [ - 'description' => 'The name of the vSwitch.'."\n", - 'type' => 'string', - 'example' => 'vsw-uf6iqwohr05dw4mxxxxxx', - ], - ], - 'IngressEndpointStatus' => [ - 'description' => 'The status of the Ingress endpoint. Valid values:'."\n" - ."\n" - .'* Ready: The Ingress endpoint is connected.'."\n" - .'* Pending: The Ingress endpoint is being connected.'."\n" - .'* Failed: The Ingress endpoint fails to be connected.'."\n" - .'* Deleted: The Ingress endpoint is deleted.'."\n" - .'* Deleting: The Ingress endpoint is being deleted.'."\n", - 'type' => 'string', - 'example' => 'Ready', - ], - 'NetworkServiceStatus' => [ - 'description' => 'The status of the network service. Valid values:'."\n" - ."\n" - .'* Ready: The network service is connected.'."\n" - .'* Pending: The network service is being connected.'."\n" - .'* Failed: The network service fails to be connected.'."\n" - .'* Deleted: The network service is deleted.'."\n" - .'* Deleting: The network service is being deleted.'."\n", - 'type' => 'string', - 'example' => 'Ready', + 'items' => ['description' => 'The name of the virtual switch.', 'type' => 'string', 'example' => 'vsw-uf6iqwohr05dw4mxxxxxx', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'IngressEndpointStatus' => ['description' => 'The status of the Ingress endpoint. Valid values:'."\n" + ."\n" + .'- Ready: The endpoint is connected.'."\n" + ."\n" + .'- Pending: The endpoint is being connected.'."\n" + ."\n" + .'- Failed: The endpoint failed to be connected.'."\n" + ."\n" + .'- Deleted: The endpoint is deleted.'."\n" + ."\n" + .'- Deleting: The endpoint is being deleted.', 'type' => 'string', 'example' => 'Ready', 'title' => ''], + 'NetworkServiceStatus' => ['description' => 'The status of the network service. Valid values:'."\n" + ."\n" + .'- Ready: The endpoint is connected.'."\n" + ."\n" + .'- Pending: The endpoint is being connected.'."\n" + ."\n" + .'- Failed: The endpoint failed to be connected.'."\n" + ."\n" + .'- Deleted: The endpoint is deleted.'."\n" + ."\n" + .'- Deleting: The endpoint is being deleted.', 'type' => 'string', 'example' => 'Ready', 'title' => ''], 'EndpointIps' => [ - 'description' => 'The IP addresses of the endpoints for private connections.'."\n", + 'description' => 'The IP address of the endpoint for the PrivateLink connection.', 'type' => 'array', - 'items' => [ - 'description' => 'The IP address of the endpoint for the private connection.'."\n", - 'type' => 'string', - 'example' => '192.xxx.xxx.xxx', - ], - ], - 'DomainName' => [ - 'description' => 'The domain name.'."\n", - 'type' => 'string', - 'example' => 'example.com', - ], - 'ConnectBandwidth' => [ - 'description' => 'The bandwidth limit for the private connection established based on the private network interconnection mode of Compute Nest.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1536Mbps', + 'items' => ['description' => 'The IP address of the endpoint for the PrivateLink connection.', 'type' => 'string', 'example' => '192.xxx.xxx.xxx', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'DomainName' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'example.com', 'title' => ''], + 'ConnectBandwidth' => ['description' => 'The bandwidth throttling for the connection that is established using the internal network of Compute Nest. Unit: Mbps.', 'type' => 'integer', 'format' => 'int32', 'example' => '1536Mbps', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], 'ReversePrivateVpcConnections' => [ - 'description' => 'The information about the reverse private connection.'."\n", + 'description' => 'The information about the reverse PrivateLink connection.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The information about the reverse PrivateLink connection.', 'type' => 'object', 'properties' => [ - 'EndpointId' => [ - 'description' => 'The ID of the endpoint for the reverse private connection.'."\n", - 'type' => 'string', - 'example' => 'ep-m5ei42370541816b****', - ], - 'EndpointServiceId' => [ - 'description' => 'The ID of the endpoint service for the reverse private connection.'."\n", - 'type' => 'string', - 'example' => 'epsrv-5ei07324541816bxxxx', - ], + 'EndpointId' => ['description' => 'The ID of the endpoint for the reverse PrivateLink connection.', 'type' => 'string', 'example' => 'ep-m5ei42370541816b****', 'title' => ''], + 'EndpointServiceId' => ['description' => 'The ID of the endpoint service for the PrivateLink connection.', 'type' => 'string', 'example' => 'epsrv-5ei07324541816bxxxx', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'Tags' => [ - 'description' => 'The custom tags.'."\n", + 'description' => 'The custom tags.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The custom tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'value1', - ], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key1', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'value1', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'Outputs' => [ - 'description' => 'The outputs returned from creating the service instance.'."\n" - ."\n" - .'* If the service is deployed by using a ROS template, all output fields of the template are returned.'."\n" - .'* If the service is deployed by calling an SPI operation, the output fields of the service provider and for the Compute Nest additional features are returned.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "InstanceIds": ['."\n" - .' "i-hp38ofxl0dsyfi7z****"'."\n" - .' ]'."\n" - .'}', - ], - 'EndTime' => [ - 'description' => 'The time when the service instance expires.'."\n", - 'type' => 'string', - 'example' => '2022-01-01T12:00:00', - ], - 'Source' => [ - 'description' => 'The source of the service instance. Valid values:'."\n" - ."\n" - .'* User: Compute Nest customer'."\n" - .'* Market: Alibaba Cloud Marketplace'."\n" - .'* Supplier: Compute Nest service provider'."\n", - 'type' => 'string', - 'example' => 'User', - ], - 'ServiceType' => [ - 'description' => 'The type of the service. Valid values:'."\n" - ."\n" - .'* private: The service is a private service and is deployed within the account of a customer.'."\n" - .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" - .'* operation: The service is a hosted O\\&M service.'."\n" - .'* poc: The service is a trial service.'."\n", - 'type' => 'string', - 'example' => 'private', - ], - 'PayType' => [ - 'description' => 'The billing method of the service. Valid values:'."\n" - ."\n" - .'* Permanent: Once you purchase the service, you can use it permanently.'."\n" - .'* Subscription: You purchase the service from Alibaba Cloud Marketplace and are charged for the service on a subscription basis.'."\n" - .'* PayAsYouGo: You purchase the service from Alibaba Cloud Marketplace and are charged for the service on a pay-as-you-go basis.'."\n" - .'* CustomFixTime: You are charged for the service based on a custom duration fixed by the service provider.'."\n", - 'type' => 'string', - 'example' => 'Subscription', - ], - 'LicenseMetadata' => [ - 'description' => 'The license metadata.'."\n", - 'type' => 'string', - 'example' => '{"renewType":"MONTHLY"}', - ], - 'Name' => [ - 'description' => 'The name of the service instance.'."\n", - 'type' => 'string', - 'example' => 'TestName', - ], - 'EnableUserPrometheus' => [ - 'description' => 'Indicates whether the Prometheus monitoring feature is enabled on the user side.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RdAccountLoginUrl' => [ - 'description' => 'The logon URL for the accounts in the resource directory corresponding to the service instance.'."\n", - 'type' => 'string', - 'example' => 'https://signin.aliyun.com/switchRole.htm?parentAlias=1307782318217247.onaliyun.com&roleName=ResourceDirectoryAccountAccessRole', - ], - 'PredefinedParameterName' => [ - 'description' => 'The package name.'."\n", - 'type' => 'string', - 'example' => 'Package 1'."\n", - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'example' => 'rg-aekzkt5buxxxxxx', - ], - 'BizStatus' => [ - 'description' => 'The business status of the service instance. Valid values:'."\n" - ."\n" - .'* Normal: The service instance is normal.'."\n" - .'* Renewing: The service instance is being renewed.'."\n" - .'* RenewFailed: The service instance failed to be renewed.'."\n" - .'* Expired: The service instance expired.'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'GrafanaDashBoardUrl' => [ - 'description' => 'The URL of the Grafana dashboard.'."\n", - 'type' => 'string', - 'example' => 'https://g.xxxxxx.aliyun.com/d/xxxxxxxx-cn-mariadb/mysql-xxxxxxxx-quickstart-and-dashboard?orgId=355401&refresh=10s', - ], - 'OperationExtraInfo' => [ - 'description' => 'Operate extra info', - 'type' => 'string', - 'example' => '6cc5ce3590ed7f5529e85fec', - ], - 'PolicyNames' => [ - 'type' => 'string', - ], + 'Outputs' => ['description' => 'The output fields that are returned after the service instance is created.'."\n" + ."\n" + .'- In ROS mode, all output fields of the template are returned.'."\n" + ."\n" + .'- In SPI mode, the output fields of the ISV and the output fields of the additional features of Compute Nest are returned.', 'type' => 'string', 'example' => '{'."\n" + .' "InstanceIds": ['."\n" + .' "i-hp38ofxl0dsyfi7z****"'."\n" + .' ]'."\n" + .'}', 'title' => ''], + 'EndTime' => ['description' => 'The time when the service instance expires.', 'type' => 'string', 'example' => '2022-01-01T12:00:00', 'title' => ''], + 'Source' => ['description' => 'The source of the service instance. Valid values:'."\n" + ."\n" + .'- User: a Compute Nest user.'."\n" + ."\n" + .'- Market: Alibaba Cloud Marketplace.'."\n" + ."\n" + .'- Supplier: a Compute Nest service provider.', 'type' => 'string', 'example' => 'User', 'title' => ''], + 'ServiceType' => ['description' => 'The service type. Valid values:'."\n" + ."\n" + .'- private: a service instance that is deployed in the user\'s account.'."\n" + ."\n" + .'- managed: a service instance that is deployed in the service provider\'s account.'."\n" + ."\n" + .'- operation: an Alibaba Cloud Managed Services instance'."\n" + ."\n" + .'- poc: a trial service instance.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'PayType' => ['description' => 'The billing method. Valid values:'."\n" + ."\n" + .'- Permanent: The service is permanently purchased.'."\n" + ."\n" + .'- Subscription: The service is a subscription service from Alibaba Cloud Marketplace.'."\n" + ."\n" + .'- PayAsYouGo: The service is a pay-as-you-go service from Alibaba Cloud Marketplace.'."\n" + ."\n" + .'- CustomFixTime: The service has a custom fixed duration.', 'type' => 'string', 'example' => 'Subscription', 'title' => ''], + 'LicenseMetadata' => ['description' => 'The license metadata.', 'type' => 'string', 'example' => '{"renewType":"MONTHLY"}', 'title' => ''], + 'Name' => ['description' => 'The name of the service instance.', 'type' => 'string', 'example' => 'Database B', 'title' => ''], + 'EnableUserPrometheus' => ['description' => 'Indicates whether Prometheus is enabled for the user.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RdAccountLoginUrl' => ['description' => 'The logon URL for the member in the resource directory that corresponds to the service instance.', 'type' => 'string', 'example' => 'https://signin.aliyun.com/switchRole.htm?parentAlias=1307782318217247.onaliyun.com&roleName=ResourceDirectoryAccountAccessRole', 'title' => ''], + 'PredefinedParameterName' => ['description' => 'The package name.', 'type' => 'string', 'example' => 'Package 1', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aekzkt5buxxxxxx', 'title' => ''], + 'BizStatus' => ['description' => 'The business status of the service instance. Valid values:'."\n" + ."\n" + .'- Normal: The service instance is normal.'."\n" + ."\n" + .'- Renewing: The service instance is being renewed.'."\n" + ."\n" + .'- RenewFoiled: The service instance failed to be renewed.'."\n" + ."\n" + .'- Expired: The service instance has expired.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'GrafanaDashBoardUrl' => ['description' => 'The URL of the Grafana dashboard.', 'type' => 'string', 'example' => 'https://g.xxxxxx.aliyun.com/d/xxxxxxxx-cn-mariadb/mysql-xxxxxxxx-quickstart-and-dashboard?orgId=355401&refresh=10s', 'title' => ''], + 'OperationExtraInfo' => ['description' => 'The additional information about Alibaba Cloud Managed Services.', 'type' => 'string', 'example' => '6cc5ce3590ed7f5529e85fec', 'title' => ''], + 'PolicyNames' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], 'GrantedPermission' => [ 'type' => 'object', 'properties' => [ - 'OperationEndTime' => [ - 'type' => 'string', - ], - 'PolicyNames' => [ - 'type' => 'string', - ], + 'OperationEndTime' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'PolicyNames' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Deployed\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"RequestId\\": \\"\\\\t\\\\n4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UserId\\": 1234567,\\n \\"SupplierUid\\": 1964460391538545,\\n \\"Service\\": {\\n \\"Status\\": \\"Online\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Version\\": \\"1\\",\\n \\"DeployMetadata\\": \\"{\\\\n \\\\\\"EstimateTime\\\\\\": null,\\\\n \\\\\\"SupplierDeployMetadata\\\\\\": {\\\\n \\\\\\"DeployTimeout\\\\\\": null\\\\n },\\\\n \\\\\\"TemplateConfigs\\\\\\": [\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\"模板1\\\\\\",\\\\n \\\\\\"Url\\\\\\": \\\\\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json\\\\\\",\\\\n \\\\\\"PredefinedParameters\\\\\\": [],\\\\n \\\\\\"AllowedRegions\\\\\\": [\\\\n \\\\\\"cn-hangzhou\\\\\\"\\\\n ]\\\\n }\\\\n ]\\\\n}\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-9c8a3522528b4fe8****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceProductUrl\\": \\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com\\",\\n \\"ServiceDocUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"A公司\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png\\",\\n \\"Name\\": \\"B数据库\\",\\n \\"ShortDescription\\": \\"B是A公司自主设计并研发的开源分布式的关系型数据库\\"\\n }\\n ],\\n \\"VersionName\\": \\"版本A\\",\\n \\"UpgradableServiceVersions\\": [\\n \\"1\\"\\n ],\\n \\"UpgradableServiceInfos\\": [\\n {\\n \\"Version\\": \\"4\\",\\n \\"VersionName\\": \\"新增参数管理功能\\"\\n }\\n ]\\n },\\n \\"Parameters\\": \\"{\\\\n \\\\\\"param\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Progress\\": 90,\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"OperationStartTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"OperationEndTime\\": \\"2022-01-28T06:48:56Z\\",\\n \\"OperatedServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"IsOperated\\": true,\\n \\"EnableInstanceOps\\": true,\\n \\"Resources\\": \\"[\\\\n {\\\\n \\\\\\"StackId\\\\\\": \\\\\\"stack-xxx\\\\\\"\\\\n }\\\\n]\\",\\n \\"NetworkConfig\\": {\\n \\"EndpointServiceId\\": \\"epsrv-5ei07324541816bxxxx\\",\\n \\"EndpointId\\": \\"ep-m5ei37240541816b****\\",\\n \\"PrivateVpcConnections\\": [\\n {\\n \\"EndpointId\\": \\"ep-m5ei37240541816b****\\",\\n \\"EndpointServiceId\\": \\"epsrv-5ei07324541816bxxxx\\",\\n \\"PrivateZoneName\\": \\"test.computenest.aliyuncs.com\\",\\n \\"ConnectionConfigs\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1vwnn14rqpyiczj****\\",\\n \\"SecurityGroups\\": [\\n \\"sg-m5ec4mvoq9egn7xxxxxx\\"\\n ],\\n \\"VSwitches\\": [\\n \\"vsw-uf6iqwohr05dw4mxxxxxx\\"\\n ],\\n \\"IngressEndpointStatus\\": \\"Ready\\",\\n \\"NetworkServiceStatus\\": \\"Ready\\",\\n \\"EndpointIps\\": [\\n \\"192.xxx.xxx.xxx\\"\\n ],\\n \\"DomainName\\": \\"example.com\\",\\n \\"ConnectBandwidth\\": 0\\n }\\n ]\\n }\\n ],\\n \\"ReversePrivateVpcConnections\\": [\\n {\\n \\"EndpointId\\": \\"ep-m5ei42370541816b****\\",\\n \\"EndpointServiceId\\": \\"epsrv-5ei07324541816bxxxx\\"\\n }\\n ]\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"Outputs\\": \\"{\\\\n \\\\\\"InstanceIds\\\\\\": [\\\\n \\\\\\"i-hp38ofxl0dsyfi7z****\\\\\\"\\\\n ]\\\\n}\\",\\n \\"EndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"Source\\": \\"User\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"PayType\\": \\"Subscription\\",\\n \\"LicenseMetadata\\": \\"{\\\\\\"renewType\\\\\\":\\\\\\"MONTHLY\\\\\\"}\\",\\n \\"Name\\": \\"TestName\\",\\n \\"EnableUserPrometheus\\": true,\\n \\"RdAccountLoginUrl\\": \\"https://signin.aliyun.com/switchRole.htm?parentAlias=1307782318217247.onaliyun.com&roleName=ResourceDirectoryAccountAccessRole\\",\\n \\"PredefinedParameterName\\": \\"套餐一\\",\\n \\"ResourceGroupId\\": \\"rg-aekzkt5buxxxxxx\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GrafanaDashBoardUrl\\": \\"https://g.xxxxxx.aliyun.com/d/xxxxxxxx-cn-mariadb/mysql-xxxxxxxx-quickstart-and-dashboard?orgId=355401&refresh=10s\\",\\n \\"OperationExtraInfo\\": \\"6cc5ce3590ed7f5529e85fec\\",\\n \\"PolicyNames\\": \\"\\",\\n \\"GrantedPermission\\": {\\n \\"OperationEndTime\\": \\"\\",\\n \\"PolicyNames\\": \\"\\"\\n }\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Deployed\\",\\n \\"TemplateName\\": \\"Template 1\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"RequestId\\": \\"\\\\t\\\\n4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UserId\\": 1234567,\\n \\"SupplierUid\\": 1964460391538545,\\n \\"Service\\": {\\n \\"Status\\": \\"Online\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Version\\": \\"1\\",\\n \\"DeployMetadata\\": \\"{\\\\n \\\\\\"EstimateTime\\\\\\": null,\\\\n \\\\\\"SupplierDeployMetadata\\\\\\": {\\\\n \\\\\\"DeployTimeout\\\\\\": null\\\\n },\\\\n \\\\\\"TemplateConfigs\\\\\\": [\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\" template1\\\\\\",\\\\n \\\\\\"Url\\\\\\": \\\\\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json\\\\\\",\\\\n \\\\\\"PredefinedParameters\\\\\\": [],\\\\n \\\\\\"AllowedRegions\\\\\\": [\\\\n \\\\\\"cn-hangzhou\\\\\\"\\\\n ]\\\\n }\\\\n ]\\\\n}\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-9c8a3522528b4fe8****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceProductUrl\\": \\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com\\",\\n \\"ServiceDocUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"Company A\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png\\",\\n \\"Name\\": \\"B数据库\\",\\n \\"ShortDescription\\": \\"B is an open-source distributed relational database independently designed and developed by Company A.\\"\\n }\\n ],\\n \\"VersionName\\": \\"Version A\\",\\n \\"UpgradableServiceVersions\\": [\\n \\"1\\"\\n ],\\n \\"UpgradableServiceInfos\\": [\\n {\\n \\"Version\\": \\"4\\",\\n \\"VersionName\\": \\"New parameter management feature\\"\\n }\\n ]\\n },\\n \\"Parameters\\": \\"{\\\\n \\\\\\"param\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Progress\\": 90,\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"OperationStartTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"OperationEndTime\\": \\"2022-01-28T06:48:56Z\\",\\n \\"OperatedServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"IsOperated\\": true,\\n \\"EnableInstanceOps\\": true,\\n \\"Resources\\": \\"[\\\\n {\\\\n \\\\\\"StackId\\\\\\": \\\\\\"stack-xxx\\\\\\"\\\\n }\\\\n]\\",\\n \\"NetworkConfig\\": {\\n \\"EndpointServiceId\\": \\"epsrv-5ei07324541816bxxxx\\",\\n \\"EndpointId\\": \\"ep-m5ei37240541816b****\\",\\n \\"PrivateVpcConnections\\": [\\n {\\n \\"EndpointId\\": \\"ep-m5ei37240541816b****\\",\\n \\"EndpointServiceId\\": \\"epsrv-5ei07324541816bxxxx\\",\\n \\"PrivateZoneName\\": \\"test.computenest.aliyuncs.com\\",\\n \\"ConnectionConfigs\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1vwnn14rqpyiczj****\\",\\n \\"SecurityGroups\\": [\\n \\"sg-m5ec4mvoq9egn7xxxxxx\\"\\n ],\\n \\"VSwitches\\": [\\n \\"vsw-uf6iqwohr05dw4mxxxxxx\\"\\n ],\\n \\"IngressEndpointStatus\\": \\"Ready\\",\\n \\"NetworkServiceStatus\\": \\"Ready\\",\\n \\"EndpointIps\\": [\\n \\"192.xxx.xxx.xxx\\"\\n ],\\n \\"DomainName\\": \\"example.com\\",\\n \\"ConnectBandwidth\\": 0\\n }\\n ]\\n }\\n ],\\n \\"ReversePrivateVpcConnections\\": [\\n {\\n \\"EndpointId\\": \\"ep-m5ei42370541816b****\\",\\n \\"EndpointServiceId\\": \\"epsrv-5ei07324541816bxxxx\\"\\n }\\n ]\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"Outputs\\": \\"{\\\\n \\\\\\"InstanceIds\\\\\\": [\\\\n \\\\\\"i-hp38ofxl0dsyfi7z****\\\\\\"\\\\n ]\\\\n}\\",\\n \\"EndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"Source\\": \\"User\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"PayType\\": \\"Subscription\\",\\n \\"LicenseMetadata\\": \\"{\\\\\\"renewType\\\\\\":\\\\\\"MONTHLY\\\\\\"}\\",\\n \\"Name\\": \\"Database B\\",\\n \\"EnableUserPrometheus\\": true,\\n \\"RdAccountLoginUrl\\": \\"https://signin.aliyun.com/switchRole.htm?parentAlias=1307782318217247.onaliyun.com&roleName=ResourceDirectoryAccountAccessRole\\",\\n \\"PredefinedParameterName\\": \\"Package 1\\",\\n \\"ResourceGroupId\\": \\"rg-aekzkt5buxxxxxx\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GrafanaDashBoardUrl\\": \\"https://g.xxxxxx.aliyun.com/d/xxxxxxxx-cn-mariadb/mysql-xxxxxxxx-quickstart-and-dashboard?orgId=355401&refresh=10s\\",\\n \\"OperationExtraInfo\\": \\"6cc5ce3590ed7f5529e85fec\\",\\n \\"PolicyNames\\": \\"\\",\\n \\"GrantedPermission\\": {\\n \\"OperationEndTime\\": \\"\\",\\n \\"PolicyNames\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => 'GetServiceInstance', - ], - 'ListServiceInstances' => [ - 'summary' => 'Queries a list of service instances.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-10-16T10:36:56.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-11-28T10:05:05.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-07-18T11:08:13.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-01T03:31:09.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-24T02:06:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-07-25T02:22:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-07-06T09:12:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-06-12T03:11:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-05-12T02:36:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-24T07:38:25.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ['createdAt' => '2021-07-02T07:34:50.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-06-30T06:31:15.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceInstance'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'GetServiceProvisions' => [ + 'summary' => 'Queries the activation status of a service and the information about its service roles.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6318,662 +4544,508 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '36947', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'service-20b8a396048346xxxxxx', 'title' => ''], ], [ - 'name' => 'Filter', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The filter.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The parameter values of the filter.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], - 'required' => false, - 'maxItems' => 20, - ], - 'Name' => [ - 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n" - ."\n" - .'* Name: The service name. If you want to perform a fuzzy match, specify the service name in the *xxx* format. For example, if the service name is My Service, you can set the filter value to *My* or *Service*.'."\n" - .'* ServiceInstanceId: The ID of the service instance.'."\n" - .'* ServiceId: The service ID.'."\n" - .'* UserId: The user ID.'."\n" - .'* Version: The service version.'."\n" - .'* Status: The status of the service instance.'."\n" - .'* DeployType: The deployment type of the service.'."\n" - .'* ServiceType: The service type.'."\n" - .'* OperationStartTimeBefore: The time before the hosted O\\&M starts.'."\n" - .'* OperationStartTimeAfter: The time after the hosted O\\&M starts.'."\n" - .'* OperationEndTimeBefore: The time before the hosted O\\&M ends.'."\n" - .'* OperationEndTimeAfter: The time after the hosted O\\&M ends.'."\n" - .'* OperatedServiceInstanceId: The ID of the hosted O\\&M instance that belongs to a private service.'."\n" - .'* OperationServiceInstanceId: The ID of the hosted O\\&M service instance that belongs to a hosted O\\&M service.'."\n" - .'* EnableInstanceOps: Whether the hosted O\\&M feature is enabled for service instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ServiceInstanceId', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 10, - ], - ], - [ - 'name' => 'ShowDeleted', + 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to display the information that the service instance is deleted. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Tag', + 'name' => 'TemplateName', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The custom tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 50, - ], + 'schema' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Template 1', 'required' => false, 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'Parameters', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzkt5buxxxxxx', - ], + 'style' => 'json', + 'schema' => ['description' => 'The parameters.', 'type' => 'object', 'required' => false, 'example' => '{\\"RegionId\\":\\"cn-hangzhou\\"}', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'E50287CB-AABF-4877-92C0-289B339A1546', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'ServiceInstances' => [ - 'description' => 'The information about service instances.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DB1FA13E-1087-5654-84D5-58A0ACAD1B18'], + 'ServiceProvisions' => [ + 'description' => 'The details of the service.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The details of the service.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the service instance. Valid values:'."\n" - ."\n" - .'* Created'."\n" - .'* Deploying'."\n" - .'* DeployedFailed'."\n" - .'* Deployed'."\n" - .'* Upgrading'."\n" - .'* Deleting'."\n" - .'* Deleted'."\n", - 'type' => 'string', - 'example' => 'Deployed', - ], - 'UpdateTime' => [ - 'description' => 'The time when the service instance was updated.'."\n", - 'type' => 'string', - 'example' => '2021-05-20T00:00:00Z', - ], - 'Name' => [ - 'description' => 'The name of the service instance.'."\n", - 'type' => 'string', - 'example' => 'TestName', - ], - 'ServiceInstanceId' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'example' => 'si-d6ab3a63ccbb4b17****', - ], - 'CreateTime' => [ - 'description' => 'The time when the service instance was created.'."\n", - 'type' => 'string', - 'example' => '2021-05-20T00:00:00Z', - ], - 'UserId' => [ - 'description' => 'The Alibaba Cloud account ID of the user.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234567', - ], - 'Service' => [ - 'description' => 'The information about the service.'."\n", + 'ServiceName' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'db', 'title' => ''], + 'Status' => ['description' => 'The activation status of the service. Valid values:'."\n" + ."\n" + .'- Enabled: The service is activated.'."\n" + ."\n" + .'- EnabledByDefault: The service is activated by default.'."\n" + ."\n" + .'- Disabled: The service is not activated.'."\n" + ."\n" + .'- Unknown: The activation status is unknown.', 'type' => 'string', 'example' => 'Enabled', 'title' => ''], + 'AutoEnableService' => ['description' => 'Indicates whether the service is automatically activated. The service is automatically activated if it is defined in the template. Valid values:'."\n" + ."\n" + .'- true: The service is automatically activated.'."\n" + ."\n" + .'- false: The service must be manually activated.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RoleProvision' => [ + 'description' => 'The information about the service roles. If this parameter is empty, no service roles are associated with the service.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the service.'."\n", - 'type' => 'string', - 'example' => 'Online', - ], - 'PublishTime' => [ - 'description' => 'The time when the service was published.'."\n", - 'type' => 'string', - 'example' => '2021-05-21T00:00:00Z', - ], - 'Version' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'example' => '1.0', - ], - 'DeployType' => [ - 'description' => 'The deployment type of the service. Valid values:'."\n" - ."\n" - .'* ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" - .'* terraform: The service is deployed by using Terraform.'."\n" - .'* ack: The service is deployed by using Container Service for Kubernetes (ACK).'."\n" - .'* spi: The service is deployed by calling a service provider interface (SPI).'."\n" - .'* operation: The service is deployed by using a hosted O\\&M service.'."\n", - 'type' => 'string', - 'example' => 'ros', - ], - 'ServiceId' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'example' => 'service-0e6fca6a51a54420****', - ], - 'SupplierUrl' => [ - 'description' => 'The URL of the service provider.'."\n", - 'type' => 'string', - 'example' => 'http://example.com', - ], - 'ServiceType' => [ - 'description' => 'The type of the service. Valid values:'."\n" - ."\n" - .'* private: The service is a private service and is deployed within the account of a customer.'."\n" - .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" - .'* operation: The service is a hosted O\\&M service.'."\n" - .'* poc: The service is a trial service.'."\n", - 'type' => 'string', - 'example' => 'private', - ], - 'SupplierName' => [ - 'description' => 'The name of the service provider.'."\n", - 'type' => 'string', - 'example' => 'Alibaba Cloud', - ], - 'ServiceInfos' => [ - 'description' => 'The information about the service.'."\n", + 'Roles' => [ + 'description' => 'The list of service roles.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of service roles.', 'type' => 'object', 'properties' => [ - 'Locale' => [ - 'description' => 'The language of the service instance.'."\n", - 'type' => 'string', - 'example' => 'zh-CN', - ], - 'Image' => [ - 'description' => 'The URL of the service icon.'."\n", - 'type' => 'string', - 'example' => 'https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png', - ], - 'Name' => [ - 'description' => 'The service name.'."\n", - 'type' => 'string', - 'example' => 'WordPress', - ], - 'ShortDescription' => [ - 'description' => 'The description of the service.'."\n", - 'type' => 'string', - 'example' => 'B是A公司自主设计并研发的开源分布式的关系型数据库', + 'RoleName' => ['description' => 'The name of the role.', 'type' => 'string', 'example' => 'AliyunServiceRole', 'title' => ''], + 'Created' => ['description' => 'Indicates whether the role is created. Valid values:'."\n" + ."\n" + .'- true: The role is created.'."\n" + ."\n" + .'- false: The role is not created.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Function' => ['description' => 'The purpose of the role. Default value: Default. This value indicates that the role is the default role for the service.', 'type' => 'string', 'example' => 'Default', 'title' => ''], + 'ApiForCreation' => [ + 'description' => 'The information about the API operation that is used to create the role.', + 'type' => 'object', + 'properties' => [ + 'ApiName' => ['description' => 'The name of the API operation.', 'type' => 'string', 'example' => 'GetServiceProvisions', 'title' => ''], + 'ApiProductId' => ['description' => 'The ID of the product to which the API operation belongs.', 'type' => 'string', 'example' => 'ComputeNest', 'title' => ''], + 'ApiType' => ['description' => 'The type of the API operation. Valid values:'."\n" + ."\n" + .'- Open: a public API operation.'."\n" + ."\n" + .'- Inner: an internal API operation.', 'type' => 'string', 'example' => 'Open', 'title' => ''], + 'Parameters' => ['description' => 'The parameters of the API operation. Dynamic parameters are in the \\`${Variable}\\` format. The \\`${RegionId}\\` dynamic parameter is supported, which specifies the region.', 'type' => 'object', 'example' => '{ "ServiceLinkedRole": "AliyunServiceRoleForRdsPgsqlOnEcs", "RegionId": "${RegionId}" }', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'VersionName' => [ - 'description' => 'The custom version name defined by the service provider.'."\n", - 'type' => 'string', - 'example' => '版本A', - ], - 'DeployMetadata' => [ - 'description' => 'The storage configurations of the service. The format in which the deployment information of a service is stored varies based on the deployment type of the service. In this case, the deployment information is stored in the JSON string format.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "EstimateTime": null,'."\n" - .' "SupplierDeployMetadata": {'."\n" - .' "DeployTimeout": null'."\n" - .' },'."\n" - .' "TemplateConfigs": ['."\n" - .' {'."\n" - .' "Name": "模板1",'."\n" - .' "Url": "https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json",'."\n" - .' "PredefinedParameters": [],'."\n" - .' "AllowedRegions": ['."\n" - .' "cn-hangzhou"'."\n" - .' ]'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'EnablePrivateVpcConnection' => [ - 'description' => 'Indicates whether the private connection feature is enabled. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'SourceSupplierName' => [ - 'description' => 'The name of the distribution source service provider.'."\n", - 'type' => 'string', - 'example' => 'Company A'."\n", - ], + 'AuthorizationURL' => ['description' => 'The URL for authorizing the service to access cloud resources. This parameter is returned if the role is not created.', 'type' => 'string', 'example' => 'https://ram.console.aliyun.com/role/authorization?request={"Services":[{"Service":"CS","Roles":[{"RoleName":"AliyunCSManagedVKRole","TemplateId":"AliyunCSManagedVKRole"},{"RoleName":"AliyunCSDefaultRole","TemplateId":"Default"}]}],"ReturnUrl":"https://cs.console.aliyun.com/"}', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'Parameters' => [ - 'description' => 'The parameters of the service instance.'."\n", - 'type' => 'string', - 'example' => '{"param":"value"}', - ], - 'Progress' => [ - 'description' => 'The deployment progress of the service instance. Unit: percentage.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '90', - ], - 'StatusDetail' => [ - 'description' => 'The description of the deployment of the service instance.'."\n", - 'type' => 'string', - 'example' => 'deploy successfully', - ], - 'TemplateName' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'example' => '模板1', - ], - 'OperatedServiceInstanceId' => [ - 'description' => 'The ID of the service instance that is used to implement hosted O\\&M.'."\n", - 'type' => 'string', - 'example' => 'si-d6ab3a63ccbb4b17****', - ], - 'OperationStartTime' => [ - 'description' => 'The beginning of the time range during which hosted O\\&M is implemented.'."\n", - 'type' => 'string', - 'example' => '2021-12-29T06:48:56Z', - ], - 'OperationEndTime' => [ - 'description' => 'The end of the time range during which hosted O\\&M is implemented.'."\n", - 'type' => 'string', - 'example' => '2021-12-29T06:48:56Z', - ], - 'EnableInstanceOps' => [ - 'description' => 'Indicates whether the service instance supports the hosted O\\&M feature. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Tags' => [ - 'description' => 'The custom tags.'."\n", + 'StatusReason' => ['description' => 'The reason why the Alibaba Cloud service is not activated or the activation status is unknown.'."\n" + ."\n" + .'> This parameter is returned when Status is set to Unknown.', 'type' => 'string', 'example' => 'resource(Eip) import info missing', 'title' => ''], + 'EnableURL' => ['description' => 'The URL for activating the Alibaba Cloud service.'."\n" + ."\n" + .'> This parameter is returned when Status is set to Disabled.', 'type' => 'string', 'example' => 'https://common-buy.aliyun.com/?commodityCode=sls', 'title' => ''], + 'CommodityProvisions' => [ + 'description' => 'The details of the commodity. Some services, such as ACS, require you to activate multiple commodities.', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'value1', - ], - ], - ], - ], - 'Source' => [ - 'description' => 'The source from which the service instance is created.'."\n", - 'type' => 'string', - 'example' => 'Supplier', - ], - 'EndTime' => [ - 'description' => 'The time when the service instance expires.'."\n", - 'type' => 'string', - 'example' => '2022-01-01T12:00:00', - ], - 'ServiceType' => [ - 'description' => 'The type of the service. Valid values:'."\n" - ."\n" - .'* private: The service is a private service and is deployed within the account of a customer.'."\n" - .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" - .'* operation: The service is a hosted O\\&M service.'."\n" - .'* poc: The service is a trial service.'."\n", - 'type' => 'string', - 'example' => 'private', - ], - 'PayType' => [ - 'description' => 'The billing method of the service. Valid values:'."\n" - ."\n" - .'* Permanent: Once you purchase the service, you can use it permanently.'."\n" - .'* Subscription: You purchase the service from Alibaba Cloud Marketplace and are charged for the service on a subscription basis.'."\n" - .'* PayAsYouGo: You purchase the service from Alibaba Cloud Marketplace and are charged for the service on a pay-as-you-go basis.'."\n" - .'* CustomFixTime: You are charged for the service based on a custom duration fixed by the service provider.'."\n", - 'type' => 'string', - 'example' => 'Subscription', - ], - 'IsOperated' => [ - 'description' => 'Indicates whether the hosted O\\&M feature is enabled for the service instance. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'example' => 'si-d6ab3a63ccxxxxxx', - ], - 'BizStatus' => [ - 'description' => 'The business status of the service instance. Valid values:'."\n" - ."\n" - .'* Normal: The service instance is normal.'."\n" - .'* Renewing: The service instance is being renewed.'."\n" - .'* RenewFailed: The service instance failed to be renewed.'."\n" - .'* Expired: The service instance expired.'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'GrantedPermission' => [ - 'type' => 'object', - 'properties' => [ - 'OperationEndTime' => [ - 'type' => 'string', - ], - 'PolicyNames' => [ - 'type' => 'string', + 'CommodityCode' => ['description' => 'The commodity code.', 'type' => 'string', 'example' => 'acs_postpaid_public_cn', 'title' => ''], + 'Status' => ['description' => 'The activation status of the Alibaba Cloud service. Valid values:'."\n" + ."\n" + .'- Enabled: The service is activated.'."\n" + ."\n" + .'- Disabled: The service is not activated.', 'type' => 'string', 'example' => 'Disabled', 'title' => ''], + 'EnableURL' => ['description' => 'The URL for activating the commodity.', 'type' => 'string', 'example' => 'https://common-buy.aliyun.com/?commodityCode=acs_postpaid_public_cn'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'PolicyNames' => [ - 'type' => 'string', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB1FA13E-1087-5654-84D5-58A0ACAD1B18\\",\\n \\"ServiceProvisions\\": [\\n {\\n \\"ServiceName\\": \\"db\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"AutoEnableService\\": true,\\n \\"RoleProvision\\": {\\n \\"Roles\\": [\\n {\\n \\"RoleName\\": \\"AliyunServiceRole\\",\\n \\"Created\\": true,\\n \\"Function\\": \\"Default\\",\\n \\"ApiForCreation\\": {\\n \\"ApiName\\": \\"GetServiceProvisions\\",\\n \\"ApiProductId\\": \\"ComputeNest\\",\\n \\"ApiType\\": \\"Open\\",\\n \\"Parameters\\": {\\n \\"ServiceLinkedRole\\": \\"AliyunServiceRoleForRdsPgsqlOnEcs\\",\\n \\"RegionId\\": \\"${RegionId}\\"\\n }\\n }\\n }\\n ],\\n \\"AuthorizationURL\\": \\"https://ram.console.aliyun.com/role/authorization?request={\\\\\\"Services\\\\\\":[{\\\\\\"Service\\\\\\":\\\\\\"CS\\\\\\",\\\\\\"Roles\\\\\\":[{\\\\\\"RoleName\\\\\\":\\\\\\"AliyunCSManagedVKRole\\\\\\",\\\\\\"TemplateId\\\\\\":\\\\\\"AliyunCSManagedVKRole\\\\\\"},{\\\\\\"RoleName\\\\\\":\\\\\\"AliyunCSDefaultRole\\\\\\",\\\\\\"TemplateId\\\\\\":\\\\\\"Default\\\\\\"}]}],\\\\\\"ReturnUrl\\\\\\":\\\\\\"https://cs.console.aliyun.com/\\\\\\"}\\"\\n },\\n \\"StatusReason\\": \\"resource(Eip) import info missing\\",\\n \\"EnableURL\\": \\"https://common-buy.aliyun.com/?commodityCode=sls\\",\\n \\"CommodityProvisions\\": [\\n {\\n \\"CommodityCode\\": \\"acs_postpaid_public_cn\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"EnableURL\\": \\"https://common-buy.aliyun.com/?commodityCode=acs_postpaid_public_cn\\\\n\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetServiceProvisions', + 'changeSet' => [ + ['createdAt' => '2025-05-27T02:10:34.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"E50287CB-AABF-4877-92C0-289B339A1546\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 20,\\n \\"ServiceInstances\\": [\\n {\\n \\"Status\\": \\"Deployed\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"Name\\": \\"TestName\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UserId\\": 1234567,\\n \\"Service\\": {\\n \\"Status\\": \\"Online\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Version\\": \\"1.0\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-0e6fca6a51a54420****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"A有限公司\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png\\",\\n \\"Name\\": \\"B数据库\\",\\n \\"ShortDescription\\": \\"B是A公司自主设计并研发的开源分布式的关系型数据库\\"\\n }\\n ],\\n \\"VersionName\\": \\"版本A\\",\\n \\"DeployMetadata\\": \\"{\\\\n \\\\\\"EstimateTime\\\\\\": null,\\\\n \\\\\\"SupplierDeployMetadata\\\\\\": {\\\\n \\\\\\"DeployTimeout\\\\\\": null\\\\n },\\\\n \\\\\\"TemplateConfigs\\\\\\": [\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\"模板1\\\\\\",\\\\n \\\\\\"Url\\\\\\": \\\\\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json\\\\\\",\\\\n \\\\\\"PredefinedParameters\\\\\\": [],\\\\n \\\\\\"AllowedRegions\\\\\\": [\\\\n \\\\\\"cn-hangzhou\\\\\\"\\\\n ]\\\\n }\\\\n ]\\\\n}\\",\\n \\"EnablePrivateVpcConnection\\": false,\\n \\"SourceSupplierName\\": \\"A有限公司\\"\\n },\\n \\"Parameters\\": \\"{\\\\\\"param\\\\\\":\\\\\\"value\\\\\\"}\\",\\n \\"Progress\\": 90,\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"OperatedServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"OperationStartTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"OperationEndTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"EnableInstanceOps\\": true,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"Source\\": \\"Supplier\\",\\n \\"EndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"PayType\\": \\"Subscription\\",\\n \\"IsOperated\\": true,\\n \\"ResourceGroupId\\": \\"si-d6ab3a63ccxxxxxx\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GrantedPermission\\": {\\n \\"OperationEndTime\\": \\"\\",\\n \\"PolicyNames\\": \\"\\"\\n },\\n \\"PolicyNames\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListServiceInstances', - ], - 'DeployServiceInstance' => [ - 'summary' => 'Deploys a service instance.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceProvisions'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceProvisions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'GetServiceRegistration' => [ + 'summary' => 'Queries the details of a service registration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '175901', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestVUFVAC', - ], + 'chargeType' => 'free', + 'abilityTreeCode' => '171561', + 'abilityTreeNodes' => ['FEATUREcomputenestB2MIVU'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClientToken', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ServiceInstanceId', + 'name' => 'RegistrationId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the review request.', 'type' => 'string', 'required' => false, 'example' => 'sr-1b4aabc1c9eb4109****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'si-0e6fca6a51a54420****', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E'], + 'RegistrationId' => ['description' => 'The ID of the review request.', 'type' => 'string', 'example' => 'sr-1b4aabc1c9eb4109****', 'title' => ''], + 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'service-c2d118c9193e49xxxxxx', 'title' => ''], + 'Status' => ['description' => 'The status of the review request. Valid values:'."\n" + ."\n" + .'- Submitted'."\n" + ."\n" + .'- Approved'."\n" + ."\n" + .'- Rejected'."\n" + ."\n" + .'- Canceled'."\n" + ."\n" + .'- Executed: The service version is published.', 'type' => 'string', 'example' => 'Submitted', 'title' => ''], + 'SubmitTime' => ['description' => 'The time when the request was submitted.', 'type' => 'string', 'example' => '2024-12-07T11:05:50Z', 'title' => ''], + 'FinishTime' => ['description' => 'The time when the review was completed.', 'type' => 'string', 'example' => '2024-12-07T11:05:50Z', 'title' => ''], + 'Comment' => ['description' => 'The review comments.', 'type' => 'string', 'example' => 'comment message', 'title' => ''], + 'ServiceInfo' => [ + 'description' => 'The service details.', + 'type' => 'object', + 'properties' => [ + 'ServiceType' => ['description' => 'The service type.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'VersionName' => ['description' => 'The version name.', 'type' => 'string', 'example' => 'v1.0', 'title' => ''], + 'TrialType' => ['description' => 'The trial type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Trial: The service supports trial.'."\n" + ."\n" + .'- NotTrial: The service does not support trial.', 'type' => 'string', 'example' => 'Trial', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Detail' => [ + 'description' => 'The review details.', + 'type' => 'object', + 'properties' => [ + 'HasRelatedArtifact' => ['description' => 'Indicates whether the service is associated with an artifact.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TemplateDiffUrl' => ['description' => 'The URL to view the differences in the template.', 'type' => 'string', 'example' => 'https://compute-nest-template-diff-bucket.oss-cn-hangzhou.aliyuncs.com/service-abc/diff', 'title' => ''], + 'AtRisk' => ['description' => 'Indicates whether the service has risks.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Reports' => ['description' => 'The review reports.', 'type' => 'string', 'example' => '{ "template":"https://compute-nest-security-audit-bucket.oss-cn-hangzhou.aliyuncs.com/report" }', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ServiceVersion' => ['description' => 'The service version.', 'type' => 'string', 'example' => 'beta', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"RegistrationId\\": \\"sr-1b4aabc1c9eb4109****\\",\\n \\"ServiceId\\": \\"service-c2d118c9193e49xxxxxx\\",\\n \\"Status\\": \\"Submitted\\",\\n \\"SubmitTime\\": \\"2024-12-07T11:05:50Z\\",\\n \\"FinishTime\\": \\"2024-12-07T11:05:50Z\\",\\n \\"Comment\\": \\"comment message\\",\\n \\"ServiceInfo\\": {\\n \\"ServiceType\\": \\"private\\",\\n \\"VersionName\\": \\"v1.0\\",\\n \\"TrialType\\": \\"Trial\\"\\n },\\n \\"Detail\\": {\\n \\"HasRelatedArtifact\\": true,\\n \\"TemplateDiffUrl\\": \\"https://compute-nest-template-diff-bucket.oss-cn-hangzhou.aliyuncs.com/service-abc/diff\\",\\n \\"AtRisk\\": true,\\n \\"Reports\\": \\"{ \\\\\\"template\\\\\\":\\\\\\"https://compute-nest-security-audit-bucket.oss-cn-hangzhou.aliyuncs.com/report\\\\\\" }\\"\\n },\\n \\"ServiceVersion\\": \\"beta\\"\\n}","type":"json"}]', + 'title' => 'GetServiceRegistration', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceRegistration'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceRegistration', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceRegistration', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/{#registrationId}'], + ], + ], + ], + ], + 'translator' => 'manual', + ], + 'GetServiceTemplateCriterionIssues' => [ + 'summary' => 'Queries for criterion issues in a service template.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'service-c2d118c9193e49xxxxxx', 'title' => ''], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => ['description' => 'The service version.'."\n" + ."\n" + .'For more information, see [ListServices - Query service information](~~2264368~~).', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B8A6AEA6-0D8F-589A-A7FF-B44FD842456E', + 'TemplateCriterionIssueList' => [ + 'description' => 'The list of criterion issues in the template.', + 'type' => 'array', + 'items' => [ + 'description' => 'A criterion issue in the template.', + 'type' => 'object', + 'properties' => [ + 'TotalCriterionIssueCount' => ['description' => 'The total number of criterion issues in the service template.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'TemplateUrl' => ['description' => 'The URL of the template.', 'type' => 'integer', 'format' => 'int32', 'example' => 'http://service-private-info/xxx/ros/template/tpl-xxxx.json', 'title' => ''], + 'TemplateName' => ['description' => 'The name of the template.', 'type' => 'string', 'example' => 'Template 1', 'title' => ''], + 'TotalMandatoryCriterionIssueCount' => ['description' => 'The number of mandatory criterion issues in the service template.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'CriterionIssues' => [ + 'description' => 'The list of criterion issues.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of a criterion issue.', + 'type' => 'object', + 'properties' => [ + 'Position' => ['description' => 'The position where the issue exists.', 'type' => 'string', 'example' => '$.Parameters.PayType', 'title' => ''], + 'Level' => ['description' => 'The severity level of the issue. Valid values:'."\n" + ."\n" + .'- Mandatory: The issue must be fixed.'."\n" + ."\n" + .'- Recommended: You are advised to fix the issue.', 'type' => 'string', 'example' => 'Mandatory', 'title' => ''], + 'Type' => ['description' => 'The type of the criterion issue.', 'type' => 'string', 'example' => 'ParameterNeedAssociationProperty', 'title' => ''], + 'ExtendInfo' => [ + 'description' => 'The supplementary information about the criterion issue.', + 'type' => 'object', + 'properties' => [ + 'Property' => ['description' => 'The resource property.', 'type' => 'string', 'example' => 'null ', 'title' => ''], + 'PropertyValue' => ['description' => 'The value of the resource property.', 'type' => 'string', 'example' => ' null', 'title' => ''], + 'AssociationProperty' => ['description' => 'The AssociationProperty of the ROS parameter.', 'type' => 'string', 'example' => 'ChargeType', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'TotalCriterionIssueCount' => ['description' => 'The total number of criterion issues in the service template.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'TotalMandatoryCriterionIssueCount' => ['description' => 'The number of mandatory criterion issues in the service template.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RiskyTemplateCount' => ['description' => 'The number of templates with criterion issues in the service.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B8A6AEA6-0D8F-589A-A7FF-B44FD842456E\\"\\n}","type":"json"}]', - 'title' => 'DeployServiceInstance', - ], - 'ContinueDeployServiceInstance' => [ - 'summary' => 'Redeploys a service instance after the service instance failed to be deployed.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateCriterionIssueList\\": [\\n {\\n \\"TotalCriterionIssueCount\\": 3,\\n \\"TemplateUrl\\": 0,\\n \\"TemplateName\\": \\"Template 1\\",\\n \\"TotalMandatoryCriterionIssueCount\\": 1,\\n \\"CriterionIssues\\": [\\n {\\n \\"Position\\": \\"$.Parameters.PayType\\",\\n \\"Level\\": \\"Mandatory\\",\\n \\"Type\\": \\"ParameterNeedAssociationProperty\\",\\n \\"ExtendInfo\\": {\\n \\"Property\\": \\"null \\",\\n \\"PropertyValue\\": \\" null\\",\\n \\"AssociationProperty\\": \\"ChargeType\\"\\n }\\n }\\n ]\\n }\\n ],\\n \\"TotalCriterionIssueCount\\": 3,\\n \\"TotalMandatoryCriterionIssueCount\\": 1,\\n \\"RiskyTemplateCount\\": 1,\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\"\\n}","type":"json"}]', + 'title' => 'GetServiceTemplateCriterionIssues', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceTemplateCriterionIssues'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceTemplateCriterionIssues', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'GetServiceTemplateParameterConstraints' => [ + 'summary' => 'Queries the parameter constraints for a Resource Orchestration Service (ROS) template.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '136363', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestVUFVAC', - ], + 'abilityTreeCode' => '136396', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClientToken', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ServiceInstanceId', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'si-0e6fca6a51a54420****', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'service-1c11f365190c44xxxxxx', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'example' => 'draft', 'title' => ''], + ], + [ + 'name' => 'TemplateName', + 'in' => 'query', + 'schema' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Template 1', 'required' => true, 'title' => ''], ], [ 'name' => 'Parameters', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The configuration parameters of the service instance.'."\n", - 'type' => 'string', + 'description' => 'The parameter information.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ParameterKey' => ['description' => 'The parameter name.', 'type' => 'string', 'required' => false, 'example' => 'PayType', 'title' => ''], + 'ParameterValue' => ['description' => 'The parameter value.', 'type' => 'string', 'required' => false, 'example' => 'PostPaid', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => '{"NodeCount": 3, "SystemDiskSize": 40, "InstancePassword": "******"}', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DryRun', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to perform only a dry run for the request to check information such as the permissions and instance status. Valid values:'."\n" - ."\n" - .'* true: performs a dry run for the request, but does not create a service instance.'."\n" - .'* false: performs a dry run for the request, and creates a service instance if the request passes the dry run.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. Generate a unique value for this parameter from your client. The value of ClientToken can contain only ASCII characters.', 'type' => 'string', 'required' => false, 'example' => '10CM943JP0EN9D51H', 'title' => ''], + ], + [ + 'name' => 'DeployRegionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the deployment region.', 'type' => 'string', 'required' => true, 'example' => 'cn-huhehaote', 'title' => ''], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => false, 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''], + ], + [ + 'name' => 'EnablePrivateVpcConnection', + 'in' => 'query', + 'schema' => ['description' => 'Indicates whether PrivateLink is enabled. Valid values:'."\n" + ."\n" + .'- true: Enabled'."\n" + ."\n" + .'- false: Not enabled', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ @@ -6981,508 +5053,474 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '82DF27ED-E538-5AC0-A11C-39334A873189', - ], - 'DryRunResult' => [ - 'description' => 'The dry run result.'."\n", - 'type' => 'object', - 'properties' => [ - 'ParametersNotAllowedToBeModified' => [ - 'description' => 'The parameters that cannot be modified. The operation that is performed to modify the parameters causes a validation error.'."\n" - ."\n" - .'> This parameter is returned only if DryRun is set to true.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameter that cannot be modified. The operation that is performed to modify the parameters causes a validation error.'."\n" - ."\n" - .'> This parameter is returned only if DryRun is set to true.'."\n", - 'type' => 'string', - 'example' => 'cidr', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C81C0732-DEBC-559C-B563-7EB2BEB21088', 'title' => ''], + 'ParameterConstraints' => [ + 'description' => 'The parameter information.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type of the parameter.', 'type' => 'string', 'example' => 'String', 'title' => ''], + 'AllowedValues' => [ + 'description' => 'The valid values of the parameter.', + 'type' => 'array', + 'items' => ['description' => 'A valid value of the parameter.', 'type' => 'string', 'example' => '"ecs.hfr6.16xlarge"', 'title' => ''], + 'title' => '', + 'example' => '', ], - ], - 'ParametersConditionallyAllowedToBeModified' => [ - 'description' => 'The parameters that can be modified under specific conditions. The new values of the parameters determine whether the operation that is performed to modify the parameters causes a validation error.'."\n" - ."\n" - .'> This parameter is returned only if DryRun is set to true.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameter that can be modified under specific conditions. The new values of the parameters determine whether the operation that is performed to modify the parameters causes a validation error.'."\n" - ."\n" - .'> This parameter is returned only if DryRun is set to true.'."\n", - 'type' => 'string', - 'example' => 'name', + 'AssociationParameterNames' => [ + 'description' => 'The list of associated parameters.', + 'type' => 'array', + 'items' => ['description' => 'An associated parameter.', 'type' => 'string', 'example' => '"ZoneId1",'."\n" + .' "VSwitchId1"', 'title' => ''], + 'title' => '', + 'example' => '', ], - ], - 'ParametersAllowedToBeModified' => [ - 'description' => 'The parameters that can be modified. The operation that is performed to modify the parameters does not cause a validation error.'."\n" + 'ParameterKey' => ['description' => 'The name of the parameter.', 'type' => 'string', 'example' => 'PayType', 'title' => ''], + 'Behavior' => ['description' => 'The behavior of the parameter. Valid values:'."\n" ."\n" - .'> This parameter is returned only if DryRun is set to true.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameter that can be modified. The operation that is performed to modify the parameters does not cause a validation error.'."\n" - ."\n" - .'> This parameter is returned only if DryRun is set to true.'."\n", - 'type' => 'string', - 'example' => 'description', + .'- NoLimit: The parameter has no value limit.'."\n" + ."\n" + .'- NotSupport: The parameter does not support value queries.'."\n" + ."\n" + .'- QueryError: The query failed.'."\n" + ."\n" + .'> If the query result does not include AllowedValues, Behavior and BehaviorReason are returned to describe the behavior of the parameter and the reason for the behavior.', 'type' => 'string', 'example' => 'NoLimit', 'title' => ''], + 'BehaviorReason' => ['description' => 'The reason for the parameter behavior.', 'type' => 'string', 'example' => 'none', 'title' => ''], + 'OriginalConstraints' => [ + 'description' => 'The original constraint information.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AllowedValues' => [ + 'description' => 'The valid values of the parameter.', + 'type' => 'array', + 'items' => ['description' => 'A valid value of the parameter.', 'type' => 'string', 'example' => '"ecs.hfr6.16xlarge"', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'PropertyName' => ['description' => 'The property name.', 'type' => 'string', 'example' => 'lnch_Source', 'title' => ''], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'example' => 'i-8vb0smn1lf6g77md****', 'title' => ''], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'serviceinstance', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'ServiceInstanceId' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'example' => 'si-d6ab3a63ccbb4b17****', + 'FamilyConstraints' => [ + 'description' => 'The family constraints.', + 'type' => 'array', + 'items' => ['description' => 'A family constraint.', 'type' => 'string', 'example' => '[]', 'title' => ''], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82DF27ED-E538-5AC0-A11C-39334A873189\\",\\n \\"DryRunResult\\": {\\n \\"ParametersNotAllowedToBeModified\\": [\\n \\"cidr\\"\\n ],\\n \\"ParametersConditionallyAllowedToBeModified\\": [\\n \\"name\\"\\n ],\\n \\"ParametersAllowedToBeModified\\": [\\n \\"description\\"\\n ]\\n },\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\"\\n}","type":"json"}]', - 'title' => 'ContinueDeployServiceInstance', - ], - 'StartServiceInstance' => [ - 'summary' => 'When the service instance status is Stopped (Stopped) or StartFailed (Startup failed), the StartServiceInstance interface is invoked to start the service instance.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C81C0732-DEBC-559C-B563-7EB2BEB21088\\",\\n \\"ParameterConstraints\\": [\\n {\\n \\"Type\\": \\"String\\",\\n \\"AllowedValues\\": [\\n \\"\\\\\\"ecs.hfr6.16xlarge\\\\\\"\\"\\n ],\\n \\"AssociationParameterNames\\": [\\n \\"\\\\\\"ZoneId1\\\\\\",\\\\n \\\\\\"VSwitchId1\\\\\\"\\"\\n ],\\n \\"ParameterKey\\": \\"PayType\\",\\n \\"Behavior\\": \\"NoLimit\\",\\n \\"BehaviorReason\\": \\"none\\",\\n \\"OriginalConstraints\\": [\\n {\\n \\"AllowedValues\\": [\\n \\"\\\\\\"ecs.hfr6.16xlarge\\\\\\"\\"\\n ],\\n \\"PropertyName\\": \\"lnch_Source\\",\\n \\"ResourceName\\": \\"i-8vb0smn1lf6g77md****\\",\\n \\"ResourceType\\": \\"serviceinstance\\"\\n }\\n ]\\n }\\n ],\\n \\"FamilyConstraints\\": [\\n \\"[]\\"\\n ]\\n}","type":"json"}]', + 'title' => 'GetServiceTemplateParameterConstraints', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceTemplateParameterConstraints'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceTemplateParameterConstraints', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'GetServiceTestTask' => [ + 'summary' => 'After a service test task is created, you can call this API to retrieve the execution details of each use case in the task.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '220935', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'abilityTreeCode' => '258022', + 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'], + 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ClientToken', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9****', - ], + 'schema' => ['title' => '服务商ID', 'description' => 'The ID of the service test task.', 'type' => 'string', 'required' => false, 'example' => 'stt-xxxx'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID where the service instance resides.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ServiceInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service instance.', - 'type' => 'string', - 'required' => true, - 'example' => 'si-d6ab3a63ccbb4b17****', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => 'NextTokenListResult<ServiceTestTaskModel>', + 'description' => 'NextTokenListResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E'], + 'TaskName' => ['description' => 'The task name.', 'type' => 'string', 'title' => '', 'example' => 'Automated test task 1'], + 'Status' => [ + 'description' => 'The running status of the service test task.', 'type' => 'string', - 'example' => '2E91D771-0183-52CE-86CB-882D99B2CB77', + 'enumValueTitles' => ['Running' => 'The task is running.', 'Success' => 'The task is successful.', 'Failure' => 'The task failed.'], + 'title' => '', + 'example' => 'Running', + ], + 'TaskRegionId' => ['description' => 'The region where the task runs.', 'type' => 'string', 'title' => '', 'example' => 'cn-beijing'], + 'ExecutionDetails' => [ + 'description' => 'The execution details of the task. This includes the running details for different use cases.', + 'type' => 'array', + 'items' => [ + 'description' => 'The execution status of a subtask. A subtask corresponds to a single use case.', + 'type' => 'object', + 'properties' => [ + 'CaseName' => ['description' => 'The use case name.', 'type' => 'string', 'title' => '', 'example' => 'case1'], + 'Status' => ['title' => '', 'description' => 'The execution status.', 'type' => 'string', 'example' => 'Runing'], + 'ExecutionReport' => ['description' => 'The execution report.', 'type' => 'string', 'title' => '', 'example' => '-----------------------------------------------------------------------------'."\n" + .'Region: cn-qingdao'."\n" + .'StackName: iact3-default-cn-qingd'."\n" + .'StackId: 009d2991-f494-d'."\n" + .'*****************************************************************************'."\n"], + 'SubTaskId' => ['description' => 'The subtask ID.', 'type' => 'string', 'title' => '', 'example' => 'stt-xxxx'."\n"], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E91D771-0183-52CE-86CB-882D99B2CB77\\"\\n}","type":"json"}]', - 'title' => 'StartServiceInstance', - ], - 'StopServiceInstance' => [ - 'summary' => 'Stops a service instance that is in the Deployed or StopFailed state.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"TaskName\\": \\"Automated test task 1\\",\\n \\"Status\\": \\"Running\\",\\n \\"TaskRegionId\\": \\"cn-beijing\\",\\n \\"ExecutionDetails\\": [\\n {\\n \\"CaseName\\": \\"case1\\",\\n \\"Status\\": \\"Runing\\",\\n \\"ExecutionReport\\": \\"-----------------------------------------------------------------------------\\\\nRegion: cn-qingdao\\\\nStackName: iact3-default-cn-qingd\\\\nStackId: 009d2991-f494-d\\\\n*****************************************************************************\\\\n\\",\\n \\"SubTaskId\\": \\"stt-xxxx\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetServiceTestTask', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceTestTask'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceTestTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'GetSupplierInformation' => [ + 'summary' => 'Retrieves service provider information.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '220569', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '42426', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818', 'FEATUREcomputenest1Z49ZW', 'FEATUREcomputenest21Y74A'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.', - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9****', - ], - ], - [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region id where the service instance resides.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ServiceInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'si-c39ed4779cec449f****', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '49A369EF-A302-5006-B0CE-94CED47C38CF', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '51945B04-6AA6-410D-93BA-236E0248B104'], + 'SupplierName' => ['description' => 'The name of the service provider.', 'type' => 'string', 'example' => 'Company A', 'title' => ''], + 'SupplierUrl' => ['description' => 'The URL of the service provider.', 'type' => 'string', 'example' => 'http://www.xxx.xxx.cn', 'title' => ''], + 'SupplierDesc' => ['description' => 'The description of the service provider.', 'type' => 'string', 'example' => 'Alibaba Cloud Compute Nest', 'title' => ''], + 'OperationIp' => ['description' => 'The IP address for the operation.', 'type' => 'string', 'example' => '10.xxx.xxx.xxx/101', 'title' => ''], + 'OperationMfaPresent' => ['description' => 'Indicates whether a multi-factor authentication (MFA) device is used. Valid values:'."\n" + ."\n" + .'- true: Yes.'."\n" + ."\n" + .'- false: No.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DeliverySettings' => [ + 'description' => 'The computing resource configuration.', + 'type' => 'object', + 'properties' => [ + 'OssEnabled' => ['description' => 'Indicates whether the feature that delivers the execution results of Cloud Assistant O\\&M tasks to Object Storage Service (OSS) is enabled. Valid values:'."\n" + ."\n" + .'- true: Enabled.'."\n" + ."\n" + .'- false (default): Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'OssBucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'example' => 'mybucket', 'title' => ''], + 'OssPath' => ['description' => 'The OSS path.', 'type' => 'string', 'example' => 'path1/path2/', 'title' => ''], + 'OssExpirationDays' => ['description' => 'The expiration period for objects in OSS, in days.', 'type' => 'integer', 'format' => 'int64', 'example' => '7', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SupplierLogo' => ['description' => 'The icon of the service provider.', 'type' => 'string', 'example' => 'http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png', 'title' => ''], + 'EnableReseller' => ['description' => 'Indicates whether to enable resellers. Valid values:'."\n" + ."\n" + .'- true: Enabled.'."\n" + ."\n" + .'- false: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AcrNamespace' => ['description' => 'The namespace for the container image deployment.', 'type' => 'string', 'example' => 'computenest', 'title' => ''], + 'SupportContacts' => [ + 'description' => 'The contact information of the service provider.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type of the contact method.', 'type' => 'string', 'example' => 'Email'."\n", 'title' => ''], + 'Value' => ['description' => 'The contact method.', 'type' => 'string', 'example' => 'supplier@example.com', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"SupplierName\\": \\"Company A\\",\\n \\"SupplierUrl\\": \\"http://www.xxx.xxx.cn\\",\\n \\"SupplierDesc\\": \\"Alibaba Cloud Compute Nest\\",\\n \\"OperationIp\\": \\"10.xxx.xxx.xxx/101\\",\\n \\"OperationMfaPresent\\": true,\\n \\"DeliverySettings\\": {\\n \\"OssEnabled\\": true,\\n \\"OssBucketName\\": \\"mybucket\\",\\n \\"OssPath\\": \\"path1/path2/\\",\\n \\"OssExpirationDays\\": 7\\n },\\n \\"SupplierLogo\\": \\"http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png\\",\\n \\"EnableReseller\\": true,\\n \\"AcrNamespace\\": \\"computenest\\",\\n \\"SupportContacts\\": [\\n {\\n \\"Type\\": \\"Email\\\\n\\",\\n \\"Value\\": \\"supplier@example.com\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetSupplierInformation', + 'changeSet' => [ + ['createdAt' => '2025-04-17T08:08:55.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-03-19T02:22:05.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-07-26T03:59:05.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"49A369EF-A302-5006-B0CE-94CED47C38CF\\"\\n}","type":"json"}]', - 'title' => 'StopServiceInstance', - ], - 'RestartServiceInstance' => [ - 'summary' => 'When the service instance is Deployed, call the RestartServiceInstance interface to restart the service instance.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSupplierInformation'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetSupplierInformation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'SupplierInfo', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:supplierinfo/*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'GetUploadCredentials' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '220936', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '178074', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ClientToken', + 'name' => 'FileName', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9****', - ], + 'schema' => ['description' => 'The name of the file.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'template.yaml'], ], [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID where the service instance resides.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ServiceInstanceId', + 'name' => 'Visibility', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the service instance.', + 'description' => 'The visibility of the bucket to which the file is uploaded. Valid values: public and private. A value of **public** means the file is uploaded to a public bucket. A value of **private** means the file is uploaded to a private bucket that requires authorization for access.', 'type' => 'string', - 'required' => true, - 'example' => 'si-d6ab3a63ccbb4b17****', + 'required' => false, + 'enumValueTitles' => ['private' => 'private', 'public' => 'public'], + 'title' => '', + 'example' => 'public', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => 'PlainResult<SupplierUploadCredentialModel>', + 'description' => 'PlainResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', + 'Data' => [ + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'AccessKeyId' => ['title' => 'ak', 'description' => 'The AccessKey ID.', 'type' => 'string', 'example' => 'STS.NUCe19W1FKaHAYAhe********'], + 'AccessKeySecret' => ['title' => 'sk', 'description' => 'The AccessKey secret.', 'type' => 'string', 'example' => '8LQGp59mY23pcXeTdcvSA1cUQZBeD92sFrXi********'], + 'SecurityToken' => ['title' => '', 'description' => 'The security token.', 'type' => 'string', 'example' => 'CAISzQN1q6Ft5B2yfSjIr5b2LouNuu5n/KOjQ3/wjGUHYdlagYGdmzz2IH1Le3NrBO8esfgymGFU6v8dlo1dYLQeHhadQI5cs80HtFqLSNaE65LswPlZ2M2ISETPJzfV9pCK'], + 'ExpireDate' => ['title' => '', 'description' => 'The time when the permissions expire.', 'type' => 'string', 'example' => '2023-05-18T12:27:59Z'], + 'RegionId' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'BucketName' => ['title' => '', 'description' => 'The bucket name.', 'type' => 'string', 'example' => 'service-info-private'], + 'Key' => ['title' => '', 'description' => 'The specific key.', 'type' => 'string', 'example' => '221514575922756034/cn-hangzhou/d57c62fbd508xxxxxxxx.json'], + ], + 'title' => '', + 'example' => '', ], + 'Success' => ['description' => 'Indicates whether the call was successful. A value of true indicates success. A value of false indicates failure.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'Code' => ['description' => 'The return code of the call.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Message' => ['description' => 'The message returned for the request.', 'type' => 'string', 'title' => '', 'example' => 'Success.'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'FCC3321E-D518-1BC4-861E-588E9D4DAFB7'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX\\"\\n}","type":"json"}]', - 'title' => 'RestartServiceInstance', - ], - 'ListServiceInstanceDeployDetails' => [ - 'summary' => 'Query service instance deployment details', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetUploadCredentials', + 'summary' => 'Retrieves credentials to upload a file.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUploadCredentials'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetUploadCredentials', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AccessKeyId\\": \\"STS.NUCe19W1FKaHAYAhe********\\",\\n \\"AccessKeySecret\\": \\"8LQGp59mY23pcXeTdcvSA1cUQZBeD92sFrXi********\\",\\n \\"SecurityToken\\": \\"CAISzQN1q6Ft5B2yfSjIr5b2LouNuu5n/KOjQ3/wjGUHYdlagYGdmzz2IH1Le3NrBO8esfgymGFU6v8dlo1dYLQeHhadQI5cs80HtFqLSNaE65LswPlZ2M2ISETPJzfV9pCK\\",\\n \\"ExpireDate\\": \\"2023-05-18T12:27:59Z\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"BucketName\\": \\"service-info-private\\",\\n \\"Key\\": \\"221514575922756034/cn-hangzhou/d57c62fbd508xxxxxxxx.json\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success.\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"FCC3321E-D518-1BC4-861E-588E9D4DAFB7\\"\\n}","type":"json"}]', + ], + 'LaunchService' => [ + 'summary' => 'Publishes a service.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189761', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'abilityTreeCode' => '36951', + 'abilityTreeNodes' => ['FEATUREcomputenestB2MIVU'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'MaxResults', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'service-0e6fca6a51a544xxxxxx'], ], [ - 'name' => 'NextToken', + 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAZbOYA+x9UgM6xrgcMqFUjk=', - ], + 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '1.0'], ], [ - 'name' => 'Filter', + 'name' => 'Categories', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The filter.'."\n", + 'description' => 'The service categories.', 'type' => 'array', - 'items' => [ - 'description' => 'The filter.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'A value of the filter condition.', - 'type' => 'array', - 'items' => [ - 'description' => 'A value of the filter condition.', - 'type' => 'string', - 'required' => false, - 'example' => 'service-c751ed91f2074af39779', - ], - 'required' => false, - 'maxItems' => 20, - ], - 'Name' => [ - 'description' => 'Filter Value Names (Equivalent to SQL\'s WHERE Clause)'."\n" - ."\n" - .'Available Options:'."\n" - ."\n" - .'- UserId'."\n" - .'- ServiceId'."\n" - .'- ServiceVersion'."\n" - .'- ServiceInstanceId'."\n" - .'- DeploySucceeded (Accepts True or False and case-insensitive)'."\n" - .'- ErrorType'."\n" - .'- ErrorCode', - 'type' => 'string', - 'required' => false, - 'example' => 'ServiceId', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 10, - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.', - 'type' => 'string', - 'required' => false, - 'example' => '2024-08-25T02:23:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time must be in UTC.'."\n", - 'type' => 'string', + 'items' => ['description' => 'The name of the service category.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'DevOps'], 'required' => false, - 'example' => '2024-12-31T16:00:00Z', - ], - ], - [ - 'name' => 'CycleTimeZone', - 'in' => 'query', - 'schema' => [ - 'description' => 'The time zone.'."\n" - ."\n" - .'Reference Format: "+08:00"'."\n" - ."\n" - .'Valid Range: "-12:59" to "+13:00"', - 'type' => 'string', - 'required' => false, - 'example' => '+08:00', + 'docRequired' => false, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Dimension', + 'name' => 'ClientToken', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The dimension names. (Equivalent to SQL\'s GROUP BY Clause)'."\n" - .'Optional Values:'."\n" - ."\n" - .'- UserId'."\n" - .'- ServiceId'."\n" - .'- ServiceVersion'."\n" - .'- ServiceInstanceId'."\n" - .'- DeploySucceeded'."\n" - .'- ErrorType'."\n" - .'- ErrorCode', - 'type' => 'array', - 'items' => [ - 'description' => 'The aggregation dimension.', - 'type' => 'string', - 'required' => false, - 'example' => 'ErrorType', - ], - 'required' => false, - 'maxItems' => 10, - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request. Generate a unique value from your client for each request. The ClientToken parameter supports only ASCII characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9D51H'], ], [ - 'name' => 'CycleType', + 'name' => 'Recommend', 'in' => 'query', - 'schema' => [ - 'description' => 'Determines the time period over which data is aggregated. If no aggregation dimension is specified, the query defaults to providing detailed, unaggregated results.'."\n" - ."\n" - .'Optional Values:'."\n" - ."\n" - .'- Year'."\n" - .'- Month'."\n" - .'- Day'."\n" - .'- All', - 'type' => 'string', - 'required' => false, - 'example' => 'Month', - ], + 'schema' => ['description' => 'Specifies whether to recommend the service when publishing it to the Service Catalog.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ @@ -7490,284 +5528,89 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", - 'type' => 'string', - 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ=', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0036D82E-0624-5B37-B797-C460F4B02026', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'DeployDetails' => [ - 'description' => 'The details of the service instance deployment.', - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the service instance deployment.', - 'type' => 'object', - 'properties' => [ - 'Cycle' => [ - 'description' => 'The period over which data is aggregated.', - 'type' => 'string', - 'example' => 'Month', - ], - 'Timestamp' => [ - 'description' => 'The timestamp when the response is returned.', - 'type' => 'string', - 'example' => '1723946641994', - ], - 'Count' => [ - 'description' => 'The total number of entries that meet the specified conditions.'."\n", - 'type' => 'string', - 'example' => '4', - ], - 'CreateTime' => [ - 'description' => 'The time when the service instance was created.'."\n", - 'type' => 'string', - 'example' => '2024-04-10T01:58:20Z', - ], - 'UserId' => [ - 'description' => 'The aliuid of user.', - 'type' => 'string', - 'example' => '1591457835436382', - ], - 'ServiceId' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'example' => 'service-c751ed91f2074af39779', - ], - 'ServiceVersion' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'example' => '42', - ], - 'ServiceNameChn' => [ - 'description' => 'The name of the service in Chinese.', - 'type' => 'string', - 'example' => '测试服务(Test Service)', - ], - 'ServiceNameEng' => [ - 'description' => 'The name of the service in English.', - 'type' => 'string', - 'example' => 'Test Service', - ], - 'ServiceInstanceId' => [ - 'description' => 'The service instance ID.'."\n", - 'type' => 'string', - 'example' => 'si-273e8cee11d349e1803c', - ], - 'DeploySucceeded' => [ - 'description' => 'The indicates whether the deployment was successful.', - 'type' => 'string', - 'example' => 'False', - ], - 'ErrorType' => [ - 'description' => 'The type of error that caused the deployment to fail.', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'StackValidationFailed', - ], - 'ErrorDetail' => [ - 'description' => 'The error description.', - 'type' => 'string', - 'example' => '{code: StackValidationFailed, message: \\"Failed to continue create ROS stack 89e724e2-84e6-4517-a372-30a545ab4145: Resource [LinuxInstanceRunCommand]: i-wz91nfbh1fxtmfb0try4 are not running. Command invocation only support running instances. ErrorCode: StackValidationFailed\\", requestId: null}', - ], - 'ServiceType' => [ - 'description' => 'The type of service. '."\n" - ."\n" - .'Possible values:'."\n" - ."\n" - .'- private: Deployed under the user\'s account.'."\n" - .'- managed: Hosted under the service provider\'s account.'."\n" - .'- operation: Managed operation service.', - 'type' => 'string', - 'example' => 'private', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'], + 'Version' => ['description' => 'The service version.', 'type' => 'string', 'title' => '', 'example' => '1.0'], + 'ServiceLaunchResultType' => ['description' => 'The type of the service publishing action. Valid values:'."\n" + ."\n" + .'- PublishNewVersion: A new version is published.'."\n" + ."\n" + .'- PublishOfflineVersion: An unpublished version is republished.'."\n" + ."\n" + .'- UpdateLatestVersion: The latest online version is updated.', 'type' => 'string', 'title' => '', 'example' => 'PublishNewVersion'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"RequestId\\": \\"0036D82E-0624-5B37-B797-C460F4B02026\\",\\n \\"TotalCount\\": 7,\\n \\"MaxResults\\": 20,\\n \\"DeployDetails\\": [\\n {\\n \\"Cycle\\": \\"Month\\",\\n \\"Timestamp\\": \\"1723946641994\\",\\n \\"Count\\": \\"4\\",\\n \\"CreateTime\\": \\"2024-04-10T01:58:20Z\\",\\n \\"UserId\\": \\"1591457835436382\\",\\n \\"ServiceId\\": \\"service-c751ed91f2074af39779\\",\\n \\"ServiceVersion\\": \\"42\\",\\n \\"ServiceNameChn\\": \\"测试服务\\",\\n \\"ServiceNameEng\\": \\"Test Service\\",\\n \\"ServiceInstanceId\\": \\"si-273e8cee11d349e1803c\\",\\n \\"DeploySucceeded\\": \\"False\\",\\n \\"ErrorType\\": \\"ValidationError\\",\\n \\"ErrorCode\\": \\"StackValidationFailed\\",\\n \\"ErrorDetail\\": \\"{code: StackValidationFailed, message: \\\\\\\\\\\\\\"Failed to continue create ROS stack 89e724e2-84e6-4517-a372-30a545ab4145: Resource [LinuxInstanceRunCommand]: i-wz91nfbh1fxtmfb0try4 are not running. Command invocation only support running instances. ErrorCode: StackValidationFailed\\\\\\\\\\\\\\", requestId: null}\\",\\n \\"ServiceType\\": \\"private\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListServiceInstanceDeployDetails', - 'translator' => 'machine', - ], - 'ListServiceInstanceResources' => [ - 'summary' => 'Query service instance resources', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Launch Service', + 'description' => 'Only approved services can be published.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'LaunchService'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:LaunchService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"Version\\": \\"1.0\\",\\n \\"ServiceLaunchResultType\\": \\"PublishNewVersion\\"\\n}","type":"json"}]', + ], + 'ListAcrImageRepositories' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '103268', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestL64NT4', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '159574', + 'abilityTreeNodes' => ['FEATUREcomputenest4Y9BYP'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'A pagination token.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=', - ], - ], - [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries per page.'."\n" - ."\n" - .'Valid values: 1 to 100.'."\n" - ."\n" - .'Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'ServiceInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service instance.', - 'type' => 'string', - 'required' => true, - 'example' => 'si-d8a0cc2a1ee04dce****', - ], - ], - [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tags.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The number of entries to return on each page for a paged query. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], ], [ - 'name' => 'RegionId', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID where the service instance resides.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU='], ], [ - 'name' => 'ServiceInstanceResourceType', + 'name' => 'RepoName', 'in' => 'query', - 'schema' => [ - 'description' => 'Service Instance resource type,include AliyunResource and ContainerResource.', - 'type' => 'string', - 'required' => false, - 'example' => 'AliyunResource', - ], + 'schema' => ['description' => 'The name of the image repository.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'wordpress'], ], [ - 'name' => 'Filters', + 'name' => 'ArtifactType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The filter.', - 'type' => 'array', - 'items' => [ - 'description' => 'The filter.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Vaild values:'."\n" - .'- ExpireTimeStart'."\n" - .'- ExpireTimeEnd'."\n" - .'- PayType'."\n" - .'- ResourceARN', - 'type' => 'string', - 'required' => false, - 'example' => 'ResourceARN', - ], - 'Values' => [ - 'description' => 'A value of the filter condition.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A value of the filter condition.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'arn:acs:ecs:*:*:instance/*', - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The type of the artifact. The default value is AcrImage. Valid values:'."\n" + ."\n" + .'- HelmChart: a Helm chart image.'."\n" + ."\n" + .'- AcrImage: a container image.', 'type' => 'string', 'required' => false, 'example' => 'AcrImage'], ], ], 'responses' => [ @@ -7775,230 +5618,101 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B288A0BE-D927-4888-B0F7-B35EF84B6E6F', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'Resources' => [ - 'description' => 'The list of resources.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C4A145D8-6F6C-532A-9001-9730CDA27578'], + 'NextToken' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='], + 'MaxResults' => ['description' => 'The number of entries returned per page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '4'], + 'Repositories' => [ + 'description' => 'The list of repositories.', 'type' => 'array', 'items' => [ - 'description' => 'The list of resources.'."\n", + 'description' => 'A repository.', 'type' => 'object', 'properties' => [ - 'ResourceARN' => [ - 'description' => 'The ARN of the resource.'."\n", - 'type' => 'string', - 'example' => 'arn:acs:sag:cn-hangzhou:130920852836****:ccn/ccn-b3qf0q439sq2de****', - ], - 'PayType' => [ - 'description' => 'The billing method. Valid values:'."\n" - ."\n" - .'* Subscription'."\n" - .'* PayAsYouGo'."\n", - 'type' => 'string', - 'example' => 'Subscription', - ], - 'RenewStatus' => [ - 'description' => 'The renewal state. Valid values:'."\n" - ."\n" - .'* AutoRenewal'."\n" - .'* ManualRenewal'."\n" - .'* NotRenewal'."\n", - 'type' => 'string', - 'example' => 'AutoRenewal', - ], - 'CreateTime' => [ - 'description' => 'The time when the service instance was created.'."\n", - 'type' => 'string', - 'example' => '2022-01-01T12:00:00', - ], - 'ExpireTime' => [ - 'description' => 'The time when the resource expires.'."\n", - 'type' => 'string', - 'example' => '2022-03-01T12:00:00', - ], - 'RenewalPeriod' => [ - 'description' => 'The renewal period.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RenewalPeriodUnit' => [ - 'description' => 'The unit of the renewal period. Valid values:'."\n" - ."\n" - .'* Month'."\n" - .'* Year'."\n", - 'type' => 'string', - 'example' => 'Month', - ], - 'ProductType' => [ - 'description' => 'The type of the cloud service.'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - 'ProductCode' => [ - 'description' => 'The code of the cloud service.'."\n", - 'type' => 'string', - 'example' => 'rds', - ], - 'Status' => [ - 'description' => 'The status of the service instance. Valid values:'."\n" - ."\n" - .'* Created'."\n" - .'* Deploying'."\n" - .'* DeployedFailed'."\n" - .'* Deployed'."\n" - .'* Upgrading'."\n" - .'* Deleting'."\n" - .'* Deleted'."\n" - .'* DeletedFailed', - 'type' => 'string', - 'example' => 'CREATE_COMPLETE', - ], + 'RepoId' => ['description' => 'The repository ID.', 'type' => 'string', 'title' => '', 'example' => 'crr-3gqhkza0wbxxxxxx'], + 'RepoName' => ['description' => 'The repository name.', 'type' => 'string', 'title' => '', 'example' => 'wordpress'], + 'RepoType' => ['description' => 'The type of the repository. Valid values: Public and Private.', 'type' => 'string', 'title' => '', 'example' => 'Public'], + 'CreateTime' => ['description' => 'The time when the repository was created.', 'type' => 'string', 'title' => '', 'example' => '2021-05-20T00:00:00Z'], + 'ModifiedTime' => ['description' => 'The time when the repository was last modified.', 'type' => 'string', 'title' => '', 'example' => '2021-05-20T00:00:00Z'], + 'Namespace' => ['type' => 'string', 'description' => 'The namespace.', 'title' => '', 'example' => 'computenest'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=\\",\\n \\"RequestId\\": \\"B288A0BE-D927-4888-B0F7-B35EF84B6E6F\\",\\n \\"MaxResults\\": 20,\\n \\"Resources\\": [\\n {\\n \\"ResourceARN\\": \\"arn:acs:sag:cn-hangzhou:130920852836****:ccn/ccn-b3qf0q439sq2de****\\",\\n \\"PayType\\": \\"Subscription\\",\\n \\"RenewStatus\\": \\"AutoRenewal\\",\\n \\"CreateTime\\": \\"2022-01-01T12:00:00\\",\\n \\"ExpireTime\\": \\"2022-03-01T12:00:00\\",\\n \\"RenewalPeriod\\": 1,\\n \\"RenewalPeriodUnit\\": \\"Month\\",\\n \\"ProductType\\": \\"RDS\\",\\n \\"ProductCode\\": \\"rds\\",\\n \\"Status\\": \\"CREATE_COMPLETE\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListServiceInstanceResources', - 'translator' => 'machine', - ], - 'ListServiceInstanceBill' => [ - 'summary' => 'Display service instance bill', - 'methods' => [ - 'post', - 'get', + 'title' => 'ListAcrImageRepositories', + 'summary' => 'You can call the ListAcrImageRepositories operation to query a list of image repositories in ACR.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAcrImageRepositories'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListAcrImageRepositories', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4A145D8-6F6C-532A-9001-9730CDA27578\\",\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 4,\\n \\"Repositories\\": [\\n {\\n \\"RepoId\\": \\"crr-3gqhkza0wbxxxxxx\\",\\n \\"RepoName\\": \\"wordpress\\",\\n \\"RepoType\\": \\"Public\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"ModifiedTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"Namespace\\": \\"computenest\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListAcrImageTags' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '177378', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'abilityTreeNodes' => ['FEATUREcomputenest4Y9BYP'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries per page.'."\n" - ."\n" - .'Valid values: 1 to 100.'."\n" - ."\n" - .'Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of entries to return on each page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', - ], + 'schema' => ['description' => 'The token for the next page of results.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ='], ], [ - 'name' => 'ServiceInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service instance.', - 'type' => 'string', - 'required' => false, - 'example' => 'si-0d0d7bc9accc4e2e8a8f', - ], - ], - [ - 'name' => 'BillingCycle', - 'in' => 'query', - 'schema' => [ - 'description' => 'The billing cycle. Format: YYYY-MM.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2025-03', - ], - ], - [ - 'name' => 'Granularity', - 'in' => 'query', - 'schema' => [ - 'description' => 'The granularity at which bills are queried. Valid values:'."\n" - ."\n" - .'* MONTHLY: queries bills by month. The data queried is consistent with the data that is displayed for the specified billing cycle on the Billing Details tab of the Bill Details page in User Center.'."\n" - .'* DAILY: queries bills by day. The data queried is consistent with the data that is displayed for the specified day on the Billing Details tab of the Bill Details page in User Center.'."\n" - ."\n" - .'You must set the **BillingDate** parameter before you can set the Granularity parameter to DAILY.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MONTHLY', - ], - ], - [ - 'name' => 'BillingDate', - 'in' => 'query', - 'schema' => [ - 'description' => 'The billing date. This parameter is required only if the **Granularity** parameter is set to DAILY. Format: YYYY-MM-DD.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2024-12-05', - ], - ], - [ - 'name' => 'ServiceId', + 'name' => 'RepoId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'service-6121296da4f44e469519', - ], + 'schema' => ['description' => 'The ID of the image repository.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'crr-3gqhkza0wbxxxxxx'], ], [ - 'name' => 'ServiceVersion', + 'name' => 'ArtifactType', 'in' => 'query', - 'schema' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The artifact type. The default value is AcrImage. Possible values:'."\n" + ."\n" + .'- HelmChart: A Helm Chart image.'."\n" + ."\n" + .'- AcrImage: A container image.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'AcrImage'], ], ], 'responses' => [ @@ -8006,165 +5720,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7B68C6D1-0C22-53F7-997C-F95D109C31AA', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '65', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'Item' => [ - 'description' => 'The billing information of the backup schedule.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'FEF343B9-1A15-5789-BE88-7B36190F5BF6'], + 'NextToken' => ['description' => 'The token for the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'ey14..'], + 'MaxResults' => ['description' => 'The number of entries returned on each page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Images' => [ + 'description' => 'A list of images.', 'type' => 'array', 'items' => [ - 'description' => 'The billing information of the backup schedule.'."\n", + 'description' => 'The image details.', 'type' => 'object', 'properties' => [ - 'SplitBillingCycle' => [ - 'description' => 'The billing cycle in which the bill is split.', - 'type' => 'string', - 'example' => '2021-06'."\n", - ], - 'BillingDate' => [ - 'description' => 'The billing date. This parameter is required only if the **Granularity** parameter is set to DAILY. Format: YYYY-MM-DD.'."\n", - 'type' => 'string', - 'example' => '2024-12-05', - ], - 'SubscriptionType' => [ - 'description' => 'The billing method. Valid values:'."\n" - ."\n" - .'* Subscription: the subscription billing method.'."\n" - .'* PayAsYouGo: the pay-as-you-go billing method.'."\n", - 'type' => 'string', - 'example' => 'Subscription', - ], - 'ProductName' => [ - 'description' => 'The name of the cloud service or the name of the service-linked role with which the cloud service is associated.'."\n", - 'type' => 'string', - 'example' => 'oss', - ], - 'BillingItemCode' => [ - 'description' => 'The code of the billable item.', - 'type' => 'string', - 'example' => 'disk', - ], - 'ProductCode' => [ - 'description' => 'The code of the service.'."\n", - 'type' => 'string', - 'example' => 'oss', - ], - 'ProductDetail' => [ - 'description' => 'The details of the service.', - 'type' => 'string', - 'example' => 'sls', - ], - 'InstanceID' => [ - 'description' => 'The ID of the instance.', - 'type' => 'string', - 'example' => 'rm-wz9k051l23j3o3xa9', - ], - 'DeductedByResourcePackage' => [ - 'description' => 'The amount deducted with resource plans.', - 'type' => 'string', - 'example' => '0', - ], - 'ListPriceUnit' => [ - 'description' => 'The unit of the unit price.', - 'type' => 'string', - 'example' => 'CNY/GB'."\n", - ], - 'Usage' => [ - 'description' => 'The amount of resource usage.', - 'type' => 'string', - 'example' => '1', - ], - 'ListPrice' => [ - 'description' => 'The unit price.', - 'type' => 'string', - 'example' => '0.12', - ], - 'UsageUnit' => [ - 'description' => 'The unit of usage.', - 'type' => 'string', - 'example' => 'GB', - ], - 'PretaxGrossAmount' => [ - 'description' => 'The pretax gross amount.', - 'type' => 'string', - 'example' => '0', - ], - 'InvoiceDiscount' => [ - 'description' => 'The discount amount.', - 'type' => 'string', - 'example' => '0', - ], - 'PretaxAmount' => [ - 'description' => 'The pretax amount.', - 'type' => 'string', - 'example' => '0', - ], - 'ServiceInstanceId' => [ - 'description' => 'Service instance ID.', - 'type' => 'string', - 'example' => 'si-bc5d6ac7022647d3a3bd', - ], - 'BillingCycle' => [ - 'description' => 'The billing cycle. Format: YYYY-MM.'."\n", - 'type' => 'string', - 'example' => '2024-12', - ], - 'BillingItem' => [ - 'description' => 'The billable item.', - 'type' => 'string', - 'example' => 'Bandwidth'."\n", - ], - 'Currency' => [ - 'description' => 'The currency unit.'."\n" - ."\n" - .'* China site: **CNY**.'."\n" - .'* International site: **USD**.'."\n", - 'type' => 'string', - 'example' => 'CNY', - ], + 'Tag' => ['description' => 'The image version.', 'type' => 'string', 'title' => '', 'example' => '5.7.2'], + 'ImageSize' => ['description' => 'The size of the image in bytes.', 'type' => 'string', 'title' => '', 'example' => '188394616'], + 'CreateTime' => ['description' => 'The time when the image was created.', 'type' => 'string', 'title' => '', 'example' => '2021-05-20T00:00:00Z'], + 'ModifiedTime' => ['description' => 'The time when the image was last modified.', 'type' => 'string', 'title' => '', 'example' => '2021-05-20T00:00:00Z'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"7B68C6D1-0C22-53F7-997C-F95D109C31AA\\",\\n \\"TotalCount\\": 65,\\n \\"MaxResults\\": 20,\\n \\"Item\\": [\\n {\\n \\"SplitBillingCycle\\": \\"2021-06\\\\n\\",\\n \\"BillingDate\\": \\"2024-12-05\\",\\n \\"SubscriptionType\\": \\"Subscription\\",\\n \\"ProductName\\": \\"oss\\",\\n \\"BillingItemCode\\": \\"disk\\",\\n \\"ProductCode\\": \\"oss\\",\\n \\"ProductDetail\\": \\"sls\\",\\n \\"InstanceID\\": \\"rm-wz9k051l23j3o3xa9\\",\\n \\"DeductedByResourcePackage\\": \\"0\\",\\n \\"ListPriceUnit\\": \\"元/GB\\\\n\\",\\n \\"Usage\\": \\"1\\",\\n \\"ListPrice\\": \\"0.12\\",\\n \\"UsageUnit\\": \\"GB\\",\\n \\"PretaxGrossAmount\\": \\"0\\",\\n \\"InvoiceDiscount\\": \\"0\\",\\n \\"PretaxAmount\\": \\"0\\",\\n \\"ServiceInstanceId\\": \\"si-bc5d6ac7022647d3a3bd\\",\\n \\"BillingCycle\\": \\"2024-12\\",\\n \\"BillingItem\\": \\"带宽\\\\n\\",\\n \\"Currency\\": \\"CNY\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'Query the bill for the service instance', - 'translator' => 'machine', - ], - 'ListServiceInstanceLogs' => [ - 'summary' => '“Query logs at various levels, including service instance application, instance, and resource.”', - 'methods' => [ - 'post', - 'get', + 'title' => 'ListAcrImageTags', + 'summary' => 'Lists the uploaded image versions in an image repository.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAcrImageTags'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListAcrImageTags', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF343B9-1A15-5789-BE88-7B36190F5BF6\\",\\n \\"NextToken\\": \\"ey14..\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1,\\n \\"Images\\": [\\n {\\n \\"Tag\\": \\"5.7.2\\",\\n \\"ImageSize\\": \\"188394616\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"ModifiedTime\\": \\"2021-05-20T00:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListArtifactBuildLogs' => [ + 'summary' => 'Queries the build logs of an artifact.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -8176,327 +5787,184 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '136360', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '254868', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => 'The region ID.', 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries per page.'."\n" - ."\n" - .'Valid values: 1 to 100.'."\n" - ."\n" - .'Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'required' => false, 'title' => '', 'example' => '100'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', - ], - ], - [ - 'name' => 'ServiceInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service instance.', - 'type' => 'string', - 'required' => true, - 'example' => 'si-70a3b15bb626435b****', - ], - ], - [ - 'name' => 'LogSource', - 'in' => 'query', - 'schema' => [ - 'description' => 'The log source. When this field is empty, query logs with the source set to computeNest and ros.'."\n" - .'Valid values:'."\n" - ."\n" - .'* computeNest : logs of the deployment and upgrade of the service instance.'."\n" - .'* application: logs generated by the application.'."\n" - .'* actionTrail: logs generated by ActionTrail.'."\n" - .'* compliancePack: Logs originating from the compliance package.'."\n" - .'* ros: Logs originating from ROS.'."\n" - .'* meteringData:Logs originating from the pay-as-you-go model.', - 'type' => 'string', - 'required' => false, - 'example' => 'computeNest', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The token to start the next paged query.', 'title' => '', 'example' => 'AAAAAbL3H6CZmy6oocwGDqzQ+Gc='], ], [ - 'name' => 'Logstore', + 'name' => 'ArtifactId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the Logstore to which log entries are delivered.'."\n" - .'It needs to be provided only when LogSource is set to Application.', - 'type' => 'string', - 'required' => false, - 'example' => 'livelog', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The artifact ID.'."\n" + ."\n" + .'You can call the [ListArtifacts](~~469993~~) operation to obtain the artifact ID.', 'title' => '', 'example' => 'artifact-fbad2ca276194d019714'], ], [ 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The filters.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The filter.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n" - ."\n" - .'* StartTime: the start time of the log event.'."\n" - .'* EndTime: the end time of the ActionTrail event.'."\n" - .'* EventName: the name of the ActionTrail event.'."\n" - .'* ResourceName: the name of the ActionTrail resource.'."\n" - .'* ApplicationGroupName: the name of the application group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'StartTime', - ], + 'Name' => ['type' => 'string', 'description' => 'The name of the filter.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- StartTime'."\n" + ."\n" + .'- EndTime'."\n" + ."\n" + .'- ApplicationGroupName'."\n" + ."\n" + .'- ResouceName'."\n" + ."\n" + .'- EventName', 'required' => false, 'title' => '', 'example' => 'BuildStartTime'], 'Value' => [ - 'description' => 'A value of the filter condition.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'Filter value.', - 'type' => 'string', - 'required' => false, - 'example' => '2022-01-01T22:22:22Z', - ], - 'required' => false, + 'items' => ['type' => 'string', 'description' => 'The filter value. You can specify from 1 to 10 values.', 'required' => false, 'title' => '', 'example' => 'Rejected'], 'maxItems' => 20, + 'description' => 'The filter values.', + 'required' => false, + 'title' => '', + 'example' => '', ], ], + 'description' => 'The filter.', 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, 'maxItems' => 100, + 'description' => 'The filter.', + 'required' => false, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => [ - 'description' => 'Sort Order. Possible values:'."\n" - ."\n" - .'+ Ascending: Ascending order'."\n" - ."\n" - .'+ Descending (default value): Descending order', 'type' => 'string', 'required' => false, - 'example' => 'Ascending', 'default' => 'Descending', - 'enum' => [ - 'Descending', - 'Ascending', - ], + 'enum' => ['Ascending', 'Descending'], + 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- **Ascending**: sorts the results in ascending order.'."\n" + ."\n" + .'- **Descending** (default): sorts the results in descending order.', + 'title' => '', + 'example' => 'Ascending', ], ], + [ + 'name' => 'ArtifactVersion', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'The artifact version.'."\n" + ."\n" + .'You can call the [ListArtifacts](~~469993~~) operation to obtain the artifact version.', 'required' => false, 'title' => '', 'example' => 'draft'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', - ], - 'MaxResults' => [ - 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'ServiceInstancesLogs' => [ - 'description' => 'The logs of the service instance.'."\n", + 'NextToken' => ['type' => 'string', 'description' => 'The token to start the next paged query.', 'title' => '', 'example' => 'AAAAAVEKMJSB4yFi/EJc7fOJCkw='], + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '708AB976-F69C-5727-BED9-8C39D878B93A'], + 'MaxResults' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of entries returned per page. The maximum value is 100 and the default value is 20.', 'title' => '', 'example' => '100'], + 'BuildLogs' => [ 'type' => 'array', 'items' => [ - 'description' => 'The logs of the service instance.'."\n", 'type' => 'object', 'properties' => [ - 'Timestamp' => [ - 'description' => 'The timestamp of the service instance log.'."\n", - 'type' => 'string', - 'example' => '2022-05-21T00:00:00Z', - ], - 'Source' => [ - 'description' => 'The log source. '."\n" - .'Valid values:'."\n" - ."\n" - .'* computeNest : logs of the deployment and upgrade of the service instance.'."\n" - .'* application: logs generated by the application.'."\n" - .'* actionTrail: logs generated by ActionTrail.'."\n" - .'* compliancePack: Logs originating from the compliance package.'."\n" - .'* ros: Logs originating from ROS.'."\n" - .'* meteringData:Logs originating from the pay-as-you-go model.', - 'type' => 'string', - 'example' => 'computeNest', - ], - 'Content' => [ - 'description' => 'The log content.'."\n", - 'type' => 'string', - 'example' => 'Start creating service instance', - ], - 'LogType' => [ - 'description' => 'The log type. Valid values:'."\n" - ."\n" - .'* serviceInstance: log generated by the service instance.'."\n" - .'* resource: log generated by ROS resources.'."\n", - 'type' => 'string', - 'example' => 'serviceInstance', - ], - 'ResourceType' => [ - 'description' => 'The Resouce Type.', - 'type' => 'string', - 'example' => 'ROS.Stack', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'si-5c6525c0589545c3****', - ], - 'Status' => [ - 'description' => 'The deployment state of the service instance. Valid values:'."\n" - ."\n" - .'* Created'."\n" - .'* Deploying'."\n" - .'* DeployedFailed'."\n" - .'* Deployed'."\n" - .'* Upgrading'."\n" - .'* Deleting'."\n" - .'* Deleted'."\n" - .'* DeletedFailed'."\n", - 'type' => 'string', - 'example' => 'Deployed', - ], - 'CompliancePackType' => [ - 'description' => 'Compliance package risk types. This only applies when the source is CompliancePack. . For example, data security checks within a VPC, such as VpcDataRisk', - 'type' => 'string', - 'example' => 'VpcDataRisk', - ], - 'ComplianceRuleName' => [ - 'description' => 'Specific risk rule names for the compliance package. This only applies when the source is CompliancePack. . For example, ECS instance migration out of VPC - ecs-move-out-vpc.', - 'type' => 'string', - 'example' => 'vpc-ecs-move-out-vpc', - ], + 'Content' => ['type' => 'string', 'description' => 'The log content.', 'title' => '', 'example' => 'NDAx'], + 'Timestamp' => ['type' => 'string', 'format' => 'iso8601', 'description' => 'The timestamp.', 'title' => '', 'example' => '1738894304'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'description' => 'The log array.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"MaxResults\\": 20,\\n \\"ServiceInstancesLogs\\": [\\n {\\n \\"Timestamp\\": \\"2022-05-21T00:00:00Z\\",\\n \\"Source\\": \\"computeNest\\",\\n \\"Content\\": \\"Start creating service instance\\",\\n \\"LogType\\": \\"serviceInstance\\",\\n \\"ResourceType\\": \\"ROS.Stack\\",\\n \\"ResourceId\\": \\"si-5c6525c0589545c3****\\",\\n \\"Status\\": \\"Deployed\\",\\n \\"CompliancePackType\\": \\"VpcDataRisk\\",\\n \\"ComplianceRuleName\\": \\"vpc-ecs-move-out-vpc\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListServiceInstanceLogs', - ], - 'DeleteAcrImageRepositories' => [ - 'summary' => '删除Acr镜像仓库', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListArtifactBuildLogs', + 'description' => '### Prerequisites'."\n" + ."\n" + .'None', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListArtifactBuildLogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAVEKMJSB4yFi/EJc7fOJCkw=\\",\\n \\"RequestId\\": \\"708AB976-F69C-5727-BED9-8C39D878B93A\\",\\n \\"MaxResults\\": 100,\\n \\"BuildLogs\\": [\\n {\\n \\"Content\\": \\"NDAx\\",\\n \\"Timestamp\\": \\"1738894304\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListArtifactRisks' => [ + 'summary' => 'Retrieves a list of security risks for an artifact.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '160456', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest4Y9BYP', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '201838', + 'abilityTreeNodes' => ['FEATUREcomputenestB2MIVU'], ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'RepoId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'crr-7x9rf32mkqoqulrn', - ], - ], - [ - 'name' => 'ClientToken', + 'name' => 'ArtifactId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['description' => 'The artifact ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'artifact-3fd95cdfdf0d4b1fa00c'], ], [ - 'name' => 'ArtifactType', + 'name' => 'ArtifactVersion', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'AcrImage', - ], + 'schema' => ['description' => 'The artifact version.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'], ], ], 'responses' => [ @@ -8504,62 +5972,141 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9B55A3FD-B562-5BFE-A91A-DB1790717236', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '52919DB1-03A0-55F5-BDD4-DB6DEBB8267A'], + 'ArtifactRiskList' => [ + 'description' => 'The list of artifact risks.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Level' => ['description' => 'The risk level.'."\n" + ."\n" + .'- high: High', 'type' => 'string', 'title' => '', 'example' => 'high'], + 'RiskType' => ['description' => 'The risk type. Valid values:'."\n" + ."\n" + .'- AcrCve: system vulnerabilities in a container image'."\n" + ."\n" + .'- AcrSca: application vulnerabilities in a container image'."\n" + ."\n" + .'- EcsVulnerability: ECS image vulnerabilities'."\n" + ."\n" + .'- EcsAlarm: ECS image security alerts'."\n" + ."\n" + .'- EcsBaseline: ECS image baseline checks', 'type' => 'string', 'title' => '', 'example' => 'AcrCve'], + 'RiskTypeName' => ['description' => 'The name of the risk type.', 'type' => 'string', 'title' => '', 'example' => 'Container image system vulnerability'], + 'RiskName' => ['description' => 'The name of the risk.', 'type' => 'string', 'title' => '', 'example' => 'USN-3686-1: file vulnerabilities'], + 'Solution' => ['description' => 'The solution to the risk.', 'type' => 'string', 'title' => '', 'example' => 'apt-get update && apt-get install ntpdate --only-upgrade'], + 'CveNos' => ['description' => 'The CVE ID.', 'type' => 'string', 'title' => '', 'example' => 'CVE-2023-4911'], + 'ExtendInfo' => ['description' => 'The extended information in JSON format. Parse this information based on the risk type.', 'type' => 'string', 'title' => '', 'example' => '{'."\n" + .' "feature": "ntpdate", '."\n" + .' "version": "4.2.6", '."\n" + .' "cveLocation": "/usr/lib" '."\n" + .'}'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9B55A3FD-B562-5BFE-A91A-DB1790717236\\"\\n}","type":"json"}]', - ], - 'ListArtifactRisks' => [ - 'summary' => 'Get the list of artifact security risks', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52919DB1-03A0-55F5-BDD4-DB6DEBB8267A\\",\\n \\"ArtifactRiskList\\": [\\n {\\n \\"Level\\": \\"high\\",\\n \\"RiskType\\": \\"AcrCve\\",\\n \\"RiskTypeName\\": \\"Container image system vulnerability\\",\\n \\"RiskName\\": \\"USN-3686-1: file vulnerabilities\\",\\n \\"Solution\\": \\"apt-get update && apt-get install ntpdate --only-upgrade\\",\\n \\"CveNos\\": \\"CVE-2023-4911\\",\\n \\"ExtendInfo\\": \\"{\\\\n \\\\\\"feature\\\\\\": \\\\\\"ntpdate\\\\\\", \\\\n \\\\\\"version\\\\\\": \\\\\\"4.2.6\\\\\\", \\\\n \\\\\\"cveLocation\\\\\\": \\\\\\"/usr/lib\\\\\\" \\\\n}\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query Artifact Risk List', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListArtifactRisks'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListArtifactRisks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:*:{#accountId}:artifact/{#ArtifactId}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'ListArtifactVersions' => [ + 'summary' => 'Queries artifact versions.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '201838', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestB2MIVU', - ], + 'abilityTreeCode' => '132195', + 'abilityTreeNodes' => ['FEATUREcomputenest4Y9BYP'], ], 'parameters' => [ [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token to retrieve the next page of results. Set this to the NextToken value from the previous call.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hR****'], + ], + [ 'name' => 'ArtifactId', 'in' => 'query', - 'schema' => [ - 'description' => 'Artifact ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'artifact-3fd95cdfdf0d4b1fa00c', - ], + 'schema' => ['description' => 'The artifact ID.'."\n" + ."\n" + .'To obtain the artifact ID, call the [ListArtifacts](~~469993~~) operation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'artifact-eea08d1e2d3a43ae****'], ], [ - 'name' => 'ArtifactVersion', + 'name' => 'Filters', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'Artifact version.', - 'type' => 'string', + 'description' => 'The filter.', + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The filter name. This parameter supports querying by one or more filter names. Valid values:'."\n" + ."\n" + .'**Status**: Filters by artifact status.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Status'."\n"], + 'Values' => [ + 'description' => 'The list of filter values.', + 'type' => 'array', + 'items' => ['description' => 'The filter values. A maximum of 10 values can be specified.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Created'], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => '1', + 'title' => '', + 'example' => '', ], ], ], @@ -8568,87 +6115,109 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => '52919DB1-03A0-55F5-BDD4-DB6DEBB8267A', - ], - 'ArtifactRiskList' => [ - 'description' => 'List of artifact risks', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'], + 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results. If the results are not complete, this token is returned. To retrieve the next page of results, include this token in the next request.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hR****'], + 'MaxResults' => ['description' => 'The number of entries returned per page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'TotalCount' => ['description' => 'The total number of entries that meet the query criteria.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'], + 'Artifacts' => [ + 'description' => 'The information about the artifact versions.', 'type' => 'array', 'items' => [ + 'description' => 'The information about the artifact versions.', 'type' => 'object', 'properties' => [ - 'Level' => [ - 'description' => 'Risk level:'."\n" - ."\n" - .'- high represents high', - 'type' => 'string', - 'example' => 'high', - ], - 'RiskType' => [ - 'description' => 'Risk type. Values:'."\n" - .'- AcrCve Container image system vulnerability'."\n" - .'- AcrSca Container image application vulnerability'."\n" - .'- EcsVulnerability ECS image vulnerability information'."\n" - .'- EcsAlarm ECS image security alarm'."\n" - .'- EcsBaseline ECS image baseline check', - 'type' => 'string', - 'example' => 'AcrCve', - ], - 'RiskTypeName' => [ - 'description' => 'Risk Type name', - 'type' => 'string', - 'example' => 'Container System Vulner', - ], - 'RiskName' => [ - 'description' => 'Risk name.', - 'type' => 'string', - 'example' => 'USN-3686-1: file vulnerabilities', - ], - 'Solution' => [ - 'description' => 'Solution for the risk item.', - 'type' => 'string', - 'example' => 'apt-get update && apt-get install ntpdate --only-upgrade', - ], - 'CveNos' => [ - 'description' => 'CVE numbers', - 'type' => 'string', - 'example' => 'CVE-2023-4911', - ], - 'ExtendInfo' => [ - 'description' => 'Extended information, in JSON format, to be parsed according to the risk category', - 'type' => 'string', - 'example' => '{'."\n" - .' "feature": "ntpdate", '."\n" - .' "version": "4.2.6", '."\n" - .' "cveLocation": "/usr/lib" '."\n" - .'}', + 'ArtifactId' => ['description' => 'The artifact ID.', 'type' => 'string', 'title' => '', 'example' => 'artifact-eea08d1e2d3a43ae****'], + 'ArtifactType' => ['description' => 'The artifact type.', 'type' => 'string', 'title' => '', 'example' => 'EcsImage'], + 'VersionName' => ['description' => 'The name of the artifact version.', 'type' => 'string', 'title' => '', 'example' => 'v1'], + 'ArtifactVersion' => ['description' => 'The version of the artifact.', 'type' => 'string', 'title' => '', 'example' => '2'], + 'Status' => ['description' => 'The status of the artifact.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Created: The artifact is created.'."\n" + ."\n" + .'- Scanning: The artifact is being scanned.'."\n" + ."\n" + .'- ScanFailed: The artifact failed to be scanned.'."\n" + ."\n" + .'- Delivering: The artifact is being distributed.'."\n" + ."\n" + .'- Available: The artifact is available.'."\n" + ."\n" + .'- Deleted: The artifact is deleted.', 'type' => 'string', 'title' => '', 'example' => 'Available'], + 'ArtifactProperty' => ['description' => 'The properties of the artifact.', 'type' => 'string', 'title' => '', 'example' => '{\\"CommodityCode\\":\\"cmjj0005****\\",\\"CommodityVersion\\":\\"V2022****\\"}'], + 'SupportRegionIds' => ['description' => 'The IDs of the regions to which the artifact is distributed.', 'type' => 'string', 'title' => '', 'example' => '['."\n" + .' "cn-beijing",'."\n" + .' "cn-hangzhou",'."\n" + .' "cn-shanghai"'."\n" + .' ]'], + 'GmtModified' => ['description' => 'The time when the artifact was last modified.', 'type' => 'string', 'title' => '', 'example' => '2022-10-20T02:19:55Z'], + 'Progress' => ['description' => 'The distribution progress of the artifact.', 'type' => 'string', 'title' => '', 'example' => '100'], + 'GmtCreate' => ['description' => 'The time when the artifact was created.', 'type' => 'string', 'title' => '', 'example' => '2022-10-20T02:19:53Z'], + 'ImageDelivery' => [ + 'description' => 'The result of the image distribution.', + 'type' => 'object', + 'additionalProperties' => ['type' => 'string', 'description' => 'The result of the image distribution.', 'title' => '', 'example' => '{'."\n" + .' "cn-beijing":"m-2ze9swf380tsad9w****",'."\n" + .' "cn-shanghai":"m-uf6d2kp5yb3fuq6i****",'."\n" + .' "cn-hangzhou":"m-bp1co0b2dkon58mo****"'."\n" + .' }'], + 'title' => '', + 'example' => '', ], + 'SecurityAuditResult' => ['description' => 'The security scan result.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Normal: The artifact is normal and has no threats.'."\n" + ."\n" + .'- AtRisk: The artifact has security threats.'."\n" + ."\n" + .'- Processing: The security scan is in progress.', 'type' => 'string', 'title' => '', 'example' => 'Normal'], + 'ResultFile' => ['description' => 'The file that contains the security scan results.', 'type' => 'string', 'title' => '', 'example' => '仅当安全扫描结果的返回值为AtRisk时才会展示。'], + 'StatusDetail' => ['description' => 'The description of the artifact status.', 'type' => 'string', 'title' => '', 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"'], + 'ArtifactBuildProperty' => ['description' => 'The content used to build the artifact. This parameter is used for managed artifact builds.', 'type' => 'string', 'title' => '', 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"'], + 'ArtifactBuildType' => ['type' => 'string', 'description' => 'The artifact build type.', 'title' => '', 'example' => 'Dockerfile'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52919DB1-03A0-55F5-BDD4-DB6DEBB8267A\\",\\n \\"ArtifactRiskList\\": [\\n {\\n \\"Level\\": \\"high\\",\\n \\"RiskType\\": \\"AcrCve\\",\\n \\"RiskTypeName\\": \\"容器镜像系统漏洞\\",\\n \\"RiskName\\": \\"USN-3686-1: file vulnerabilities\\",\\n \\"Solution\\": \\"apt-get update && apt-get install ntpdate --only-upgrade\\",\\n \\"CveNos\\": \\"CVE-2023-4911\\",\\n \\"ExtendInfo\\": \\"{\\\\n \\\\\\"feature\\\\\\": \\\\\\"ntpdate\\\\\\", \\\\n \\\\\\"version\\\\\\": \\\\\\"4.2.6\\\\\\", \\\\n \\\\\\"cveLocation\\\\\\": \\\\\\"/usr/lib\\\\\\" \\\\n}\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'Query Artifact Risk List', - 'translator' => 'machine', - ], - 'CreateArtifact' => [ - 'summary' => 'Creates a deployment package.', - 'methods' => [ - 'post', - 'get', + 'title' => 'ListArtifactVersions', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListArtifactVersions'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListArtifactVersions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:*:{#accountId}:artifact/{#ArtifactId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hR****\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 2,\\n \\"Artifacts\\": [\\n {\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Status\\": \\"Available\\",\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\"\\\\n\\\\t\\\\t\\\\t\\\\t]\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Progress\\": \\"100\\",\\n \\"GmtCreate\\": \\"2022-10-20T02:19:53Z\\",\\n \\"ImageDelivery\\": {\\n \\"key\\": \\"{\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\":\\\\\\"m-2ze9swf380tsad9w****\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\":\\\\\\"m-uf6d2kp5yb3fuq6i****\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\":\\\\\\"m-bp1co0b2dkon58mo****\\\\\\"\\\\n\\\\t\\\\t\\\\t\\\\t}\\"\\n },\\n \\"SecurityAuditResult\\": \\"Normal\\",\\n \\"ResultFile\\": \\"仅当安全扫描结果的返回值为AtRisk时才会展示。\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\",\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"ArtifactBuildType\\": \\"Dockerfile\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListArtifacts' => [ + 'summary' => 'Queries a list of artifacts.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8657,563 +6226,271 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '131218', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest4Y9BYP', - ], + 'abilityTreeCode' => '132194', + 'abilityTreeNodes' => ['FEATUREcomputenest4Y9BYP'], ], 'parameters' => [ [ - 'name' => 'ArtifactId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the deployment package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'artifact-eea08d1e2d3a43aexxxx', - ], - ], - [ - 'name' => 'ArtifactType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the deployment package. Valid values:'."\n" - ."\n" - .'* EcsImage: Elastic Compute Service (ECS) image.'."\n" - .'* AcrImage: container image.'."\n" - .'* File: Object Storage Service (OSS) object.'."\n" - .'* Script: script.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'EcsImage', - ], - ], - [ - 'name' => 'ArtifactBuildType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the artifact build task. Valid values:'."\n" - ."\n" - .'- EcsImage: Build ECS (Elastic Container Service) image.'."\n" - ."\n" - .'- Dockerfile: Build container image based on Dockerfile.'."\n" - ."\n" - .'- Buildpacks: Build container image based on Buildpacks.'."\n" - ."\n" - .'- ContainerImage: Rebuild container image by renaming an existing container image.', - 'type' => 'string', - 'required' => false, - 'example' => 'Dockerfile', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the deployment package.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Name', - ], - ], - [ - 'name' => 'VersionName', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The version name of the deployment package.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'v1', - ], + 'schema' => ['description' => 'The number of entries to return on each page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], ], [ - 'name' => 'Description', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the deployment package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Test artifact', - ], + 'schema' => ['description' => 'The query token. Set it to the NextToken value returned from the previous API call.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hRQzE='], ], [ - 'name' => 'ArtifactProperty', + 'name' => 'Filter', 'in' => 'query', - 'style' => 'json', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The properties of the deployment object.'."\n", - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => 'The object URL of the deployment package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'https://service-info-private.oss-cn-hangzhou.aliyuncs.com/1309208528xxxxxx/template/2e1ce8fc-xxxx-481c-9e8e-789ba9db487d.json', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is an image.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'ImageId' => [ - 'description' => 'The image ID.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is an image.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'm-0xij191j9cuev6xxxxxx', - ], - 'CommodityCode' => [ - 'description' => 'The commodity code of the service in Alibaba Cloud Marketplace.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is an image.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cmjj00xxxx', - ], - 'CommodityVersion' => [ - 'description' => 'The commodity version of the service in Alibaba Cloud Marketplace.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is an image.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'V1.0', - ], - 'RepoName' => [ - 'description' => 'The name of the image repository.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'wordpress', - ], - 'RepoId' => [ - 'description' => 'The ID of the image repository.'."\n" + 'description' => 'The filter.', + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the filter. You can specify one or more filter names to query artifacts.'."\n" ."\n" - .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'crr-d8o1nponyc2t1gcg', - ], - 'Tag' => [ - 'description' => 'The version tag of the image repository.'."\n" + .'Valid values:'."\n" ."\n" - .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], - 'RepoType' => [ - 'description' => 'The default repository type. Valid values:'."\n" + .'- Name: Performs a fuzzy query by artifact name.'."\n" ."\n" - .'* `Public`: a public repository.'."\n" - .'* `Private`: a private repository.'."\n" + .'- ArtifactId: The artifact ID.'."\n" ."\n" - .'You can specify the RepoType or Summary parameter. The RepoType parameter is optional.', - 'type' => 'string', - 'required' => false, - 'example' => 'Public', + .'- ArtifactType: The artifact type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ArtifactType'], + 'Values' => [ + 'description' => 'A list of filter values.', + 'type' => 'array', + 'items' => ['description' => 'The list of filter values. You can specify from 1 to 10 values.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'File'], + 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', + ], ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SupportRegionIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The supported regions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The supported region.'."\n", - 'type' => 'string', 'required' => false, - 'example' => 'cn-hangzhou', + 'title' => '', + 'example' => '', ], 'required' => false, - 'maxItems' => 30, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzkt5buxxxxxx', - ], + 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfmzmhzoaa****'], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The custom tags.'."\n", + 'description' => 'The tag.', 'type' => 'array', 'items' => [ - 'description' => 'The custom tags.'."\n", + 'description' => 'The tag.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'key1'], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value1'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'ArtifactBuildProperty', - 'in' => 'query', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', 'type' => 'object', 'properties' => [ - 'CommandType' => [ - 'description' => 'The command type. Valid values:'."\n" - ."\n" - .'* RunBatScript: batch command, applicable to Windows instances.'."\n" - .'* RunPowerShellScript: PowerShell command, applicable to Windows instances.'."\n" - .'* RunShellScript: shell command, applicable to Linux instances.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is a ecs image type.', - 'type' => 'string', - 'required' => false, - 'example' => 'RunShellScript', - ], - 'CommandContent' => [ - 'description' => 'The command content.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is a ecs image type.', - 'type' => 'string', - 'required' => false, - 'example' => 'echo "start run command"', - ], - 'SourceImageId' => [ - 'description' => 'The source image id. Supported Types:'."\n" - ."\n" - .'- Image ID: Pass the Image ID of the Ecs image directly.'."\n" - ."\n" - .'- OOS Common Parameter Name: Obtain the corresponding Image ID automatically by using the OOS common parameter name.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is a ecs image type.', - 'type' => 'string', - 'required' => false, - 'example' => 'Image ID:m-t4nhenrdc38pe4*****'."\n" - .'ubuntu_22_04_x64_20G_alibase_20240926.vhd'."\n" - .'OOS Common Parameter Name:aliyun/services/computenest/images/aliyun_3_2104_python_3_11', - ], - 'RegionId' => [ - 'description' => 'The region ID where the source mirror image is located.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is a ecs image type.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'CodeRepo' => [ - 'description' => 'The address of the code repository.'."\n" - ."\n" - .'> This parameter is available only if the ArtifactBuildType is Dockerfile or Buildpacks type.', - 'type' => 'object', - 'properties' => [ - 'Platform' => [ - 'description' => 'The platform type. Valid values: '."\n" - ."\n" - .'- github'."\n" - ."\n" - .'- gitee'."\n" - .'- gitlab'."\n" - .'- codeup', - 'type' => 'string', - 'required' => false, - 'example' => 'github', - ], - 'RepoName' => [ - 'description' => 'The name of the repository.', - 'type' => 'string', - 'required' => false, - 'example' => 'aliyun-computenest/quickstart-Lobexxx', - ], - 'Owner' => [ - 'description' => 'The owner of the code repository.'."\n" - ."\n" - .'> This parameter is available only if the git repository is private.', - 'type' => 'string', - 'required' => false, - 'example' => 'aliyun-computenest', - ], - 'Branch' => [ - 'description' => 'The name of the branch in the code repository.', - 'type' => 'string', - 'required' => false, - 'example' => 'main', - ], - 'Endpoint' => [ - 'description' => 'The endpoint. '."\n" - .'The URL address used to access the privately deployed GitLab instance.', - 'type' => 'string', - 'required' => false, - 'example' => 'http://121.40.25.0', - ], - 'OrgId' => [ - 'description' => 'The organization ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '455231'."\n", - ], - 'RepoId' => [ - 'description' => 'The repository ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '103'."\n", - ], - ], - 'required' => false, - ], - 'DockerfilePath' => [ - 'description' => 'The relative path to the Dockerfile within the code repository.'."\n" - ."\n" - .'> This parameter is available only if the ArtifactBuildType is Dockerfile type.', - 'type' => 'string', - 'required' => false, - 'example' => './file/Dockerfile', - ], - 'BuildArgs' => [ - 'description' => 'The build arguments used during the image build process.'."\n" - ."\n" - .'> This parameter is available only if the ArtifactBuildType is Dockerfile type.', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '7B7AE429-B53E-5E73-A5EC-DC91F614F2D9'], + 'NextToken' => ['description' => 'The query token. Set it to the NextToken value returned from the previous API call.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hR****'], + 'MaxResults' => ['description' => 'The number of entries returned per page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'TotalCount' => ['description' => 'The total number of entries that meet the filter criteria.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'], + 'Artifacts' => [ + 'description' => 'The information about the artifacts.', 'type' => 'array', 'items' => [ - 'description' => 'This is used for the command docker build --build-arg', + 'description' => 'The information about the artifacts.', 'type' => 'object', 'properties' => [ - 'ArgumentName' => [ - 'description' => 'The name of a specific build argument.', - 'type' => 'string', - 'required' => false, - 'example' => 'ENV', - ], - 'ArgumentValue' => [ - 'description' => 'The value of a specific build argument.', - 'type' => 'string', - 'required' => false, - 'example' => 'nginx:latest', + 'ArtifactId' => ['description' => 'The artifact ID.', 'type' => 'string', 'title' => '', 'example' => 'artifact-eea08d1e2d3a43aexxxx'], + 'ArtifactType' => ['description' => 'The artifact type.', 'type' => 'string', 'title' => '', 'example' => 'EcsImage'], + 'Name' => ['description' => 'The artifact name.', 'type' => 'string', 'title' => '', 'example' => 'Redhat8_5 image'], + 'MaxVersion' => ['description' => 'The latest version.', 'type' => 'string', 'title' => '', 'example' => '2'], + 'Description' => ['description' => 'The description of the artifact.', 'type' => 'string', 'title' => '', 'example' => 'Redhat8_0 image'], + 'GmtModified' => ['description' => 'The time when the artifact was modified.', 'type' => 'string', 'title' => '', 'example' => '2022-10-20T02:19:55Z'], + 'Status' => ['description' => 'The status of the artifact.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Created: The artifact is created.'."\n" + ."\n" + .'- Scanning: The artifact is being scanned.'."\n" + ."\n" + .'- ScanFailed: The artifact failed to be scanned.'."\n" + ."\n" + .'- Delivering: The artifact is being distributed.'."\n" + ."\n" + .'- Available: The artifact is available.'."\n" + ."\n" + .'- Deleted: The artifact is deleted.', 'type' => 'string', 'title' => '', 'example' => 'Created'], + 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'title' => '', 'example' => 'rg-acfmzmhzoaa****'], + 'Tags' => [ + 'description' => 'The tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key1'], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value1'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'ArtifactBuildProperty' => ['description' => 'The content used to build the artifact. This parameter is used for hosted artifact builds.', 'type' => 'string', 'title' => '', 'example' => '{\\"CodeRepo\\":{\\"Owner\\":\\"wenle\\",\\"Platform\\":\\"github\\",\\"Branch\\":\\"main\\",\\"RepoName\\":\\"heroku/node-js-getting-started\\"}}'], + 'PermissionType' => ['type' => 'string', 'description' => 'The permission field. This parameter is valid for artifacts of the container image, Helm chart, and file types. For other types of artifacts, you can only change the permission from Automatic to Public.'."\n" + .'Valid values:'."\n" + ."\n" + .'- Public'."\n" + ."\n" + .'- Automatic', 'title' => '', 'example' => 'Public'], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'SourceContainerImage' => [ - 'description' => 'The pull location of the source container image. This is used for the command docker pull ${SourceContainerImage}.'."\n" - ."\n" - .'> This parameter is available only if the ArtifactBuildType is ContainerImage type.', - 'type' => 'string', - 'required' => false, - 'example' => 'pytorch/pytorch:2.5.1-cuda12.4-cudnn9-devel', - ], - 'SystemDiskSize' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'description' => 'The size of the system disk. Unit: GiB.'."\n" - ."\n" - .'> The system disk must be at least as large as the image.'."\n", - 'example' => '40', - ], - 'EnableGpu' => [ - 'type' => 'boolean', - 'required' => false, - 'description' => 'Whether GPU is required. CPU instance is used by default.', - 'example' => 'false', + 'title' => '', + 'example' => '', ], ], - 'required' => false, + 'description' => 'The response parameters'."\n", + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7B7AE429-B53E-5E73-A5EC-DC91F614F2D9\\",\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hR****\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 2,\\n \\"Artifacts\\": [\\n {\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43aexxxx\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"Name\\": \\"Redhat8_5 image\\",\\n \\"MaxVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0 image\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Status\\": \\"Created\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzmhzoaa****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"ArtifactBuildProperty\\": \\"{\\\\\\\\\\\\\\"CodeRepo\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"Owner\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"wenle\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Platform\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"github\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Branch\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"RepoName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"heroku/node-js-getting-started\\\\\\\\\\\\\\"}}\\",\\n \\"PermissionType\\": \\"Public\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListArtifacts', + 'changeSet' => [ + ['createdAt' => '2025-05-29T08:32:37.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-01-16T08:09:49.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-08T10:35:41.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-08-08T07:15:54.000Z', 'description' => 'Request parameters changed, Response parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListArtifacts'], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', - ], - 'ArtifactId' => [ - 'description' => 'The ID of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'artifact-eea08d1e2d3a43aexxxx', - ], - 'ArtifactType' => [ - 'description' => 'The type of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'EcsImage', - ], - 'Name' => [ - 'description' => 'The name of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'Name', - ], - 'VersionName' => [ - 'description' => 'The name of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - 'ArtifactVersion' => [ - 'description' => 'The version of the deployment package.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'Description' => [ - 'description' => 'The description of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'Test artifact', - ], - 'GmtModified' => [ - 'description' => 'The time when the deployment package was modified.'."\n", - 'type' => 'string', - 'example' => '2022-11-11T12:00:00Z', - ], - 'Status' => [ - 'description' => 'The status of the deployment package. Valid values:'."\n", - 'type' => 'string', - 'example' => 'Created', - ], - 'MaxVersion' => [ - 'description' => 'The latest version of the deployment package.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ArtifactProperty' => [ - 'description' => 'The properties of the deployment object.'."\n", - 'type' => 'string', - 'example' => '{\\"CommodityCode\\":\\"cmjj0005xxxx\\",\\"CommodityVersion\\":\\"V2022xxxx\\"}', - ], - 'SupportRegionIds' => [ - 'description' => 'The ID of the region that supports the deployment package.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "cn-beijing",'."\n" - .' "cn-hangzhou",'."\n" - .' "cn-shanghai"'."\n" - .' ]', - ], - 'StatusDetail' => [ - 'description' => 'The status of the deployment package.', - 'type' => 'string', - 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"', - ], - 'ArtifactBuildProperty' => [ - 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', - 'type' => 'string', - 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"', - ], - 'ArtifactBuildType' => [ - 'description' => 'The type of the deployment package to be built.', - 'type' => 'string', - 'example' => 'Dockerfile', - ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListArtifacts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:*:{#accountId}:artifact/*'], ], - 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\",\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"Name\\": \\"Redhat8_5镜像\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0镜像\\",\\n \\"GmtModified\\": \\"2022-11-11T12:00:00Z\\",\\n \\"Status\\": \\"Created\\",\\n \\"MaxVersion\\": 1,\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\"\\\\n\\\\t\\\\t]\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\",\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"ArtifactBuildType\\": \\"Dockerfile\\"\\n}","type":"json"}]', - 'title' => 'CreateArtifact', + 'translator' => 'manual', ], - 'DeleteArtifact' => [ - 'summary' => 'Deletes an artifact.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListOpsNotices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '132198', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest4Y9BYP', - ], + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ArtifactId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the artifact.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'artifact-eea08d1e2d3a43aexxxx', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => 'The region ID.', 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ArtifactVersion', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The version of the artifact.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'required' => false, 'title' => '', 'example' => '20'], ], [ - 'name' => 'ClientToken', + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The query token. Set the value to the NextToken value returned in the last API call.', 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='], + ], + [ + 'name' => 'Filter', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The filter values. The value of N can be from 1 to 10.', 'required' => false, 'title' => '', 'example' => '1'], + 'maxItems' => 20, + 'description' => 'The filter values.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Name' => ['type' => 'string', 'description' => 'The filter name. Valid values:'."\n" + ."\n" + .'- Type: The notice type.'."\n" + ."\n" + .'- ServiceId: The service ID.'."\n" + ."\n" + .'- ServiceName: The service name. Fuzzy search is supported. The format for a fuzzy search is \\*xxx\\*.'."\n" + ."\n" + .'- Category: The notice category.'."\n" + ."\n" + .'- Severity: The severity level.'."\n" + ."\n" + .'- NoticeId: The O\\&M notice ID.', 'required' => false, 'title' => '', 'example' => 'ServiceId'], + ], + 'description' => 'The filters.', + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => '788E7CP0EN9D51P', + 'maxItems' => 100, + 'description' => 'The filters.', + 'title' => '', + 'example' => '', ], ], ], @@ -9222,546 +6499,315 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', + 'NextToken' => ['type' => 'string', 'description' => 'The token to start the next page of results. If this parameter is not returned, all results have been returned.', 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='], + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '51945B04-6AA6-410D-93BA-236E0248B104'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of entries returned.', 'title' => '', 'example' => '100'], + 'MaxResults' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of entries returned on each page.', 'title' => '', 'example' => '1'], + 'OpsNotices' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NoticeId' => ['type' => 'string', 'description' => 'The O\\&M notice ID.', 'title' => '', 'example' => 'notice-1749693290'], + 'Type' => ['type' => 'string', 'description' => 'The type. Valid values:'."\n" + ."\n" + .'- ServiceInstanceUpgrade: upgrade'."\n" + ."\n" + .'- VulnerabilityFix: vulnerability', 'title' => '', 'example' => 'Vulnerability'], + 'ServiceId' => ['type' => 'string', 'description' => 'The service ID.', 'title' => '', 'example' => 'service-e10349089de34exxxxxx'], + 'ServiceName' => ['type' => 'string', 'description' => 'The service name.', 'title' => '', 'example' => 'test'], + 'ServiceVersions' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The service versions.', 'title' => '', 'example' => ' "1", "2"'], + 'description' => 'The service versions.', + 'title' => '', + 'example' => '', + ], + 'Category' => ['type' => 'string', 'description' => 'The category. Valid values:'."\n" + ."\n" + .'- Availability'."\n" + ."\n" + .'- Cost'."\n" + ."\n" + .'- Performance'."\n" + ."\n" + .'- Recovery'."\n" + ."\n" + .'- Security', 'title' => '', 'example' => 'Security'], + 'Severity' => ['type' => 'string', 'description' => 'The severity level. Valid values:'."\n" + ."\n" + .'- Critical'."\n" + ."\n" + .'- High'."\n" + ."\n" + .'- Medium'."\n" + ."\n" + .'- Low', 'title' => '', 'example' => 'High'], + 'Content' => ['type' => 'string', 'description' => 'The content.', 'title' => '', 'example' => 'content'], + 'Solutions' => ['type' => 'string', 'description' => 'The solution.', 'title' => '', 'example' => 'You need to upgrade service instance'], + 'Attributes' => ['type' => 'string', 'description' => 'The O\\&M item properties.', 'title' => '', 'example' => '{"cveId":"CVE-2021-4034"}'], + 'StartTime' => ['type' => 'string', 'description' => 'The start time.', 'title' => '', 'example' => '2022-10-12T02:03:37Z'], + 'Success' => ['type' => 'string', 'description' => 'Indicates whether the request was successful.', 'title' => '', 'example' => 'True'], + ], + 'description' => 'The O\\&M notices.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The O\\&M notices.', + 'title' => '', + 'example' => '', ], ], - 'description' => 'The response parameters.'."\n", + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1B3AD3CC-E938-5042-A771-7FD9A2FE03F3\\"\\n}","type":"json"}]', - 'title' => 'DeleteArtifact', - ], - 'UpdateArtifact' => [ - 'summary' => 'Updates a deployment package.', - 'methods' => [ - 'post', - 'get', + 'title' => 'ListOpsNotices', + 'summary' => 'Queries the operations and maintenance (O&M) notices published by a service provider.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListOpsNotices', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'OpsNotice', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:opsnotice/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 1,\\n \\"OpsNotices\\": [\\n {\\n \\"NoticeId\\": \\"notice-1749693290\\",\\n \\"Type\\": \\"Vulnerability\\",\\n \\"ServiceId\\": \\"service-e10349089de34exxxxxx\\",\\n \\"ServiceName\\": \\"test\\",\\n \\"ServiceVersions\\": [\\n \\" \\\\\\"1\\\\\\", \\\\\\"2\\\\\\"\\"\\n ],\\n \\"Category\\": \\"Security\\",\\n \\"Severity\\": \\"High\\",\\n \\"Content\\": \\"content\\",\\n \\"Solutions\\": \\"You need to upgrade service instance\\",\\n \\"Attributes\\": \\"{\\\\\\"cveId\\\\\\":\\\\\\"CVE-2021-4034\\\\\\"}\\",\\n \\"StartTime\\": \\"2022-10-12T02:03:37Z\\",\\n \\"Success\\": \\"True\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListResellers' => [ + 'summary' => 'Queries a list of resellers for display on the frontend.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '132193', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest4Y9BYP', - ], + 'abilityTreeCode' => '187909', + 'abilityTreeNodes' => ['FEATUREcomputenestP881UH'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ArtifactId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the deployment package.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'artifact-eea08d1e2d3a43aexxxx', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'VersionName', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The version name of the deployment package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], ], [ - 'name' => 'Description', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the deployment package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Description', - ], + 'schema' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAWVmrOoWHbw/80lX0TWxe/s='], ], [ - 'name' => 'ArtifactProperty', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The properties of the deployment package.'."\n", - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => 'The URL of the deployment package object.'."\n" - ."\n\n" - .'> Note This parameter is available only if the deployment package is an file.', - 'type' => 'string', - 'required' => false, - 'example' => 'https://service-info-private.oss-cn-hangzhou.aliyuncs.com/1309208528xxxxxx/template/2e1ce8fc-xxxx-481c-9e8e-789ba9db487d.json', - ], - 'RegionId' => [ - 'description' => 'The region ID.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is an image.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'ImageId' => [ - 'description' => 'The image ID.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is an image.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'm-0xij191j9cuev6ucxxxx', - ], - 'CommodityCode' => [ - 'description' => 'The commodity code of the service in Alibaba Cloud Marketplace.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is an image.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cmjj00xxxx', - ], - 'CommodityVersion' => [ - 'description' => 'The commodity version of the service in Alibaba Cloud Marketplace.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is an image.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'V1.0', - ], - 'RepoName' => [ - 'description' => 'The name of the Container Registry repository.'."\n" - .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.', - 'type' => 'string', - 'required' => false, - 'example' => 'volcanosh/vc-webhook-manager', - ], - 'RepoId' => [ - 'description' => 'The ID of the Container Registry repository.'."\n" - .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.', - 'type' => 'string', - 'required' => false, - 'example' => 'crr-yy4g68uhi39ttkm8', - ], - 'Tag' => [ - 'description' => 'The version tag of the image repository.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], - 'RepoType' => [ - 'description' => 'The type of the repository.Valid values:'."\n" - ."\n" - .'* `Public`: a public repository.'."\n" - .'* `Private`: a private repository.'."\n" - .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.', - 'type' => 'string', - 'required' => false, - 'example' => 'Public', - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SupportRegionIds', + 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The IDs of the regions that support the deployment package.'."\n", + 'description' => 'The filter.', 'type' => 'array', 'items' => [ - 'description' => 'The ID of the region that supports the deployment package.'."\n", - 'type' => 'string', + 'description' => 'The filter conditions to query resellers.', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'The values of the filter condition.', + 'type' => 'array', + 'items' => ['description' => 'The value of the filter condition.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '分销商A'], + 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', + ], + 'Name' => ['description' => 'The name of the filter condition. Valid values:'."\n" + ."\n" + .'- ResellerUid: The UID of the reseller.'."\n" + ."\n" + .'- Name: The name of the reseller.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Name'], + ], 'required' => false, - 'example' => '["cn-hangzhou","cn-beijing"]', + 'title' => '', + 'example' => '', ], 'required' => false, - 'maxItems' => 30, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'ArtifactBuildProperty', - 'in' => 'query', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', 'type' => 'object', 'properties' => [ - 'CommandType' => [ - 'description' => 'The command type. Valid values:'."\n" - ."\n" - .'* RunBatScript: batch command, applicable to Windows instances.'."\n" - .'* RunPowerShellScript: PowerShell command, applicable to Windows instances.'."\n" - .'* RunShellScript: shell command, applicable to Linux instances.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is a ecs image type.', - 'type' => 'string', - 'required' => false, - 'example' => 'RunShellScript', - ], - 'CommandContent' => [ - 'description' => 'The command content.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is a ecs image type.', - 'type' => 'string', - 'required' => false, - 'example' => 'echo "start run command"', - ], - 'SourceImageId' => [ - 'description' => 'The source image id. Supported Types:'."\n" - ."\n" - .'- Image ID: Pass the Image ID of the Ecs image directly.'."\n" - ."\n" - .'- OOS Common Parameter Name: Obtain the corresponding Image ID automatically by using the OOS common parameter name.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is a ecs image type.', - 'type' => 'string', - 'required' => false, - 'example' => 'Image ID:m-t4nhenrdc38pe4*****'."\n" - .'ubuntu_22_04_x64_20G_alibase_20240926.vhd'."\n" - .'OOS Common Parameter Name:aliyun/services/computenest/images/aliyun_3_2104_python_3_11', - ], - 'RegionId' => [ - 'description' => 'The region ID where the source mirror image is located.'."\n" - ."\n" - .'> This parameter is available only if the deployment package is a ecs image type.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'CodeRepo' => [ - 'description' => 'The address of the code repository.'."\n" - ."\n" - .'> This parameter is available only if the ArtifactBuildType is Dockerfile or Buildpacks type.', - 'type' => 'object', - 'properties' => [ - 'Platform' => [ - 'description' => 'The platform type. Valid values:'."\n" - ."\n" - .'- github'."\n" - ."\n" - .'- gitee'."\n" - ."\n" - .'- gitlab'."\n" - ."\n" - .'- codeup', - 'type' => 'string', - 'required' => false, - 'example' => 'github', - ], - 'RepoName' => [ - 'description' => 'The name of the repository.', - 'type' => 'string', - 'required' => false, - 'example' => 'aliyun-computenest/quickstart-Lobexxx', - ], - 'Owner' => [ - 'description' => 'The owner of the code repository.'."\n" - ."\n" - .'> This parameter is available only if the git repository is private.', - 'type' => 'string', - 'required' => false, - 'example' => 'aliyun-computenest', - ], - 'Branch' => [ - 'description' => 'The name of the branch in the code repository.', - 'type' => 'string', - 'required' => false, - 'example' => 'main', - ], - 'Endpoint' => [ - 'description' => 'The endpoint. '."\n" - .'The URL address used to access the privately deployed GitLab instance.', - 'type' => 'string', - 'required' => false, - 'example' => 'http://121.40.25.0', - ], - 'OrgId' => [ - 'description' => 'The organization ID.', - 'type' => 'string', - 'required' => false, - 'example' => '455231', - ], - 'RepoId' => [ - 'description' => 'The repository ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '103', - ], - ], - 'required' => false, - ], - 'DockerfilePath' => [ - 'description' => 'The relative path to the Dockerfile within the code repository.'."\n" - ."\n" - .'> This parameter is available only if the ArtifactBuildType is Dockerfile type.', - 'type' => 'string', - 'required' => false, - 'example' => './file/Dockerfile'."\n", - ], - 'BuildArgs' => [ - 'description' => 'The build arguments used during the image build process.'."\n" - ."\n" - .'> This parameter is available only if the ArtifactBuildType is Dockerfile type.', + 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ='], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E'], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '4'], + 'MaxResults' => ['description' => 'The number of entries returned per page. The maximum value is 100.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'SupplierInformation' => [ + 'description' => 'The list of results.', 'type' => 'array', 'items' => [ - 'description' => 'This is used for the command docker build --build-arg', + 'description' => 'The returned entries.', 'type' => 'object', 'properties' => [ - 'ArgumentName' => [ - 'description' => 'The name of a specific build argument.', - 'type' => 'string', - 'required' => false, - 'example' => 'ENV', - ], - 'ArgumentValue' => [ - 'description' => 'The value of a specific build argument.', - 'type' => 'string', - 'required' => false, - 'example' => 'nginx:latest', - ], + 'SupplierName' => ['description' => 'The name of the reseller.', 'type' => 'string', 'title' => '', 'example' => 'Distributora'], + 'SupplierDesc' => ['description' => 'The description of the reseller.', 'type' => 'string', 'title' => '', 'example' => 'It is a XXXX company.'], + 'SupplierLogo' => ['description' => 'The icon of the reseller.', 'type' => 'string', 'title' => '', 'example' => 'https://service-info-public.oss-cn-hangzhou.aliyuncs.com/31978070/service-image/d5c3b585-ff6b-4e4e-8885-xxxx.png'], + 'SupplierUrl' => ['description' => 'The URL of the reseller\'s official website.', 'type' => 'string', 'title' => '', 'example' => 'http://www.aliyun.com'], + 'SupplierUid' => ['description' => 'The UID of the reseller.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '152xxxxxxxxxxx'], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'SourceContainerImage' => [ - 'description' => 'The pull location of the source container image. This is used for the command docker pull ${SourceContainerImage}.'."\n" - ."\n" - .'> This parameter is available only if the ArtifactBuildType is ContainerImage type.', - 'type' => 'string', - 'required' => false, - 'example' => 'pytorch/pytorch:2.5.1-cuda12.4-cudnn9-devel', - ], - 'SystemDiskSize' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'description' => 'The size of the system disk. Unit: GiB.'."\n" - ."\n" - .'> The system disk must be at least as large as the image.'."\n", - 'example' => '40', - ], - 'EnableGpu' => [ - 'type' => 'boolean', - 'required' => false, - 'description' => 'Whether GPU is required. CPU instance is used by default.', - 'example' => 'false', + 'title' => '', + 'example' => '', ], ], - 'required' => false, - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'PermissionType', - 'in' => 'query', - 'schema' => [ - 'description' => 'Permission fields are applicable to container image artifact and Helm Chart artifact. They can only change from Automatic to Public. Options:'."\n" - ."\n" - .'Public'."\n" - ."\n" - .'Automatic', - 'type' => 'string', - 'required' => false, - 'example' => 'Public', - ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"TotalCount\\": 4,\\n \\"MaxResults\\": 20,\\n \\"SupplierInformation\\": [\\n {\\n \\"SupplierName\\": \\"Distributora\\",\\n \\"SupplierDesc\\": \\"It is a XXXX company.\\",\\n \\"SupplierLogo\\": \\"https://service-info-public.oss-cn-hangzhou.aliyuncs.com/31978070/service-image/d5c3b585-ff6b-4e4e-8885-xxxx.png\\",\\n \\"SupplierUrl\\": \\"http://www.aliyun.com\\",\\n \\"SupplierUid\\": 0\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query Distributors', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResellers'], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', - ], - 'ArtifactId' => [ - 'description' => 'The ID of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'artifact-eea08d1e2d3a43aexxxx', - ], - 'ArtifactType' => [ - 'description' => 'The type of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'EcsImage', - ], - 'VersionName' => [ - 'description' => 'The name of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - 'ArtifactVersion' => [ - 'description' => 'The version of the deployment package.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'Description' => [ - 'description' => 'The description of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'Description', - ], - 'GmtModified' => [ - 'description' => 'The time when the deployment package was modified.'."\n", - 'type' => 'string', - 'example' => '2022-10-20T02:19:55Z', - ], - 'Status' => [ - 'description' => 'The status of the deployment package. Valid values:'."\n" - ."\n" - .'* Created: The deployment package is created.'."\n" - .'* Scanning: The deployment package is being scanned.'."\n" - .'* ScanFailed: The deployment package failed to be scanned.'."\n" - .'* Delivering: The deployment package is being distributed.'."\n" - .'* Available: The deployment package is available.'."\n" - .'* Deleted: The deployment package is deleted.'."\n", - 'type' => 'string', - 'example' => 'Available', - ], - 'ArtifactProperty' => [ - 'description' => 'The properties of the deployment package.'."\n", - 'type' => 'string', - 'example' => '{\\"CommodityCode\\":\\"cmjj0005xxxx\\",\\"CommodityVersion\\":\\"V2022xxxx\\"}', - ], - 'SupportRegionIds' => [ - 'description' => 'The ID of the region that supports the deployment package.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "cn-beijing",'."\n" - .' "cn-hangzhou",'."\n" - .' "cn-shanghai"'."\n" - .' ]', - ], - 'ArtifactBuildProperty' => [ - 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', - 'type' => 'string', - 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"', - ], - 'StatusDetail' => [ - 'description' => 'The status of the deployment package.', - 'type' => 'string', - 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"', - ], - 'ArtifactBuildType' => [ - 'description' => 'The type of the deployment package to be built.', - 'type' => 'string', - 'example' => 'Dockerfile', - ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListResellers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'SupplierInfo', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:supplierinfo/*'], ], - 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9F350409-2ACC-5B61-ACD9-3C8995792F8F\\",\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0镜像\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Status\\": \\"Available\\",\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\"\\\\n\\\\t\\\\t]\\",\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\\\n\\",\\n \\"ArtifactBuildType\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\\\n\\"\\n}","type":"json"}]', - 'title' => 'UpdateArtifact', + 'translator' => 'manual', ], - 'DeleteAcrImageTags' => [ - 'summary' => '删除Acr容器镜像版本', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListServiceBuildLogs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '160457', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - ], + 'abilityTreeCode' => '254866', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => 'The region ID.', 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'RepoId', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'crr-3gqhkza0wbxxxxxx', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'required' => false, 'title' => '', 'example' => '20'], ], [ - 'name' => 'Tag', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1.0', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The token that is used to retrieve the next page of results. Set this parameter to the NextToken value returned in the previous API call.', 'title' => '', 'example' => 'AAAAAYChudnQUoBH+mGWFpb6oP0='], ], [ - 'name' => 'ClientToken', + 'name' => 'ServiceId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The service ID.', 'title' => '', 'example' => 'service-39f4f251e94843xxxxxx'], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['type' => 'string', 'description' => 'The name of the filter. You can specify one or more filter names. Valid values:'."\n" + ."\n" + .'- ServiceId: The service ID.'."\n" + ."\n" + .'- Name: The service name.'."\n" + ."\n" + .'- Status: The service status.'."\n" + ."\n" + .'- SupplierName: The service provider name.', 'required' => false, 'title' => '', 'example' => 'Name'], + 'Value' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'A filter value.', 'required' => false, 'title' => '', 'example' => 'Rejected'], + 'maxItems' => 20, + 'description' => 'The list of filter values. The list can contain from 1 to 10 values.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The filter.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'maxItems' => 100, + 'description' => 'The filter.', 'required' => false, - 'example' => '788E7CP0EN9D51P', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ArtifactType', + 'name' => 'SortOrder', 'in' => 'query', - 'allowEmptyValue' => true, 'schema' => [ - 'description' => '', 'type' => 'string', + 'default' => 'Descending', + 'enum' => ['Descending', 'Ascending'], + 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- **Ascending**: Ascending'."\n" + ."\n" + .'- **Descending** (default): Descending', 'required' => false, - 'docRequired' => true, - 'example' => 'AcrImage', + 'title' => '', + 'example' => 'Ascending', ], ], ], @@ -9770,76 +6816,128 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C', + 'NextToken' => ['type' => 'string', 'description' => 'The token that is used to retrieve the next page of results.', 'title' => '', 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ='], + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'], + 'BuildLogs' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => ['type' => 'string', 'description' => 'The content of the log.', 'title' => '', 'example' => 'build log'], + 'BuildStep' => ['type' => 'string', 'description' => 'The name of the build step.', 'title' => '', 'example' => 'BuildArtifact'], + 'Timestamp' => ['type' => 'string', 'description' => 'The timestamp of the log entry.', 'title' => '', 'example' => 'yyyy-MM-dd\'T\'HH:mm:ss\'Z\''], + ], + 'description' => 'A single log entry.', + 'title' => '', + 'example' => '', + ], + 'description' => 'An array of build logs.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListServiceBuildLogs', + 'summary' => 'Queries the logs for service instances, upgrades, and applications.', + 'description' => '### Prerequisites'."\n" + ."\n" + .'Ensure that you add the startup and shutdown Operations and Maintenance (O\\&M) operations when you create a service. For more information, see [Create a service](~~440268~~).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\"\\n}","type":"json"}]', - ], - 'GetArtifact' => [ - 'summary' => 'Queries the information about a deployment package.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceBuildLogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"BuildLogs\\": [\\n {\\n \\"Content\\": \\"build log\\",\\n \\"BuildStep\\": \\"BuildArtifact\\",\\n \\"Timestamp\\": \\"yyyy-MM-dd\'T\'HH:mm:ss\'Z\'\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListServiceInstanceBill' => [ + 'summary' => 'You can call the ListServiceInstanceBill operation to query the bills of a service instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '132197', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest4Y9BYP', - ], + 'abilityTreeCode' => '177378', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ArtifactId', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the deployment package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'artifact-eea08d1e2d3a43aexxxx', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], ], [ - 'name' => 'ArtifactVersion', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The version of the deployment package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The token that is used to start the next query. Valid values:'."\n" + ."\n" + .'- If **NextToken** is empty, no more results exist.'."\n" + ."\n" + .'- If **NextToken** has a value, the value is the token that is used to start the next query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='], ], [ - 'name' => 'ArtifactName', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the deployment package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'gpu-test', - ], + 'schema' => ['description' => 'The ID of the service instance.'."\n" + ."\n" + .'You can call the [ListServiceInstances](~~396200~~) operation to obtain the service instance ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'si-0d0d7bc9accc4e2e8a8f'], + ], + [ + 'name' => 'BillingCycle', + 'in' => 'query', + 'schema' => ['description' => 'The billing cycle in the YYYY-MM format.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '2025-03'], + ], + [ + 'name' => 'Granularity', + 'in' => 'query', + 'schema' => ['description' => 'The granularity at which you want to query bills. Valid values:'."\n" + ."\n" + .'- MONTHLY: by month. The bill details are consistent with the bills on the By Billing Cycle tab of the Bill Details page in User Center.'."\n" + ."\n" + .'- DAILY: by day. The bill details are consistent with the bills on the By Day tab of the Bill Details page in User Center.'."\n" + ."\n" + .'> If you set this parameter to DAILY, you must specify BillingDate.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'MONTHLY'], + ], + [ + 'name' => 'BillingDate', + 'in' => 'query', + 'schema' => ['description' => 'The billing date. This parameter is required only when **Granularity** is set to DAILY. The format is YYYY-MM-DD.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2024-12-05'], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'service-6121296da4f44e469519'], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'], ], ], 'responses' => [ @@ -9847,472 +6945,422 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', - ], - 'ArtifactId' => [ - 'description' => 'The ID of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'artifact-eea08d1e2d3a43aexxxx', - ], - 'ArtifactType' => [ - 'description' => 'The type of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'EcsImage', - ], - 'Name' => [ - 'description' => 'The name of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'Name', - ], - 'VersionName' => [ - 'description' => 'The version name of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - 'ArtifactVersion' => [ - 'description' => 'The version of the deployment package.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'Description' => [ - 'description' => 'The description of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'Description', - ], - 'GmtModified' => [ - 'description' => 'The time when the deployment package was modified.'."\n", - 'type' => 'string', - 'example' => '2022-10-20T02:19:55Z', - ], - 'Status' => [ - 'description' => 'The status of the deployment package. Valid values:'."\n", - 'type' => 'string', - 'example' => 'Available', - ], - 'MaxVersion' => [ - 'description' => 'The latest version of the deployment package.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'ArtifactProperty' => [ - 'description' => 'The properties of the deployment package.'."\n", - 'type' => 'string', - 'example' => '{\\"CommodityCode\\":\\"cmjj0005xxxx\\",\\"CommodityVersion\\":\\"V2022xxxx\\"}', - ], - 'SupportRegionIds' => [ - 'description' => 'The ID of the region that supports the deployment package.'."\n", - 'type' => 'string', - 'example' => '["cn-hangzhou","cn-beijing"]', - ], - 'Progress' => [ - 'description' => 'The distribution progress of the deployment package.'."\n", - 'type' => 'string', - 'example' => '100', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'example' => 'rg-aekzkt5buxxxxxx', - ], - 'Tags' => [ - 'description' => 'The tags of the deployment package.'."\n", + 'NextToken' => ['description' => 'The token to start the next query.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '7B68C6D1-0C22-53F7-997C-F95D109C31AA'], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '65'], + 'MaxResults' => ['description' => 'The number of entries returned per page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'Item' => [ + 'description' => 'The name of the item.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The details of the bill item.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'value1', - ], - ], - ], - ], - 'ArtifactBuildProperty' => [ - 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', - 'type' => 'string', - 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"', - ], - 'StatusDetail' => [ - 'description' => 'The description of the deployment package.', - 'type' => 'string', - 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"', - ], - 'ArtifactBuildType' => [ - 'description' => 'The type of the deployment package to be built.', - 'type' => 'string', - 'example' => 'Dockerfile', - ], - 'PermissionType' => [ - 'type' => 'string', - 'description' => 'Permission fields are applicable to container image artifact and Helm Chart artifact They can only change from Automatic to Public. Options:'."\n" - .'- Public'."\n" - .'- Automatic', - 'example' => 'Public', + 'SplitBillingCycle' => ['description' => 'The month of the split bill.', 'type' => 'string', 'title' => '', 'example' => '2021-06'."\n"], + 'BillingDate' => ['description' => 'The billing date. The format is YYYY-MM-DD.', 'type' => 'string', 'title' => '', 'example' => '2024-12-05'], + 'SubscriptionType' => ['description' => 'The billing method:'."\n" + ."\n" + .'- Subscription: subscription.'."\n" + ."\n" + .'- PayAsYouGo: pay-as-you-go.', 'type' => 'string', 'title' => '', 'example' => 'Subscription'], + 'ProductName' => ['description' => 'The product name.', 'type' => 'string', 'title' => '', 'example' => 'oss'], + 'BillingItemCode' => ['description' => 'The code of the billable item.', 'type' => 'string', 'title' => '', 'example' => 'disk'], + 'ProductCode' => ['description' => 'The product code.', 'type' => 'string', 'title' => '', 'example' => 'oss'], + 'ProductDetail' => ['description' => 'The product details.', 'type' => 'string', 'title' => '', 'example' => 'sls'], + 'InstanceID' => ['description' => 'The instance ID.', 'type' => 'string', 'title' => '', 'example' => 'rm-wz9k051l23j3o3xa9'], + 'DeductedByResourcePackage' => ['description' => 'The deduction by a resource plan.', 'type' => 'string', 'title' => '', 'example' => '0'], + 'ListPriceUnit' => ['description' => 'The unit of the list price.', 'type' => 'string', 'title' => '', 'example' => 'CNY/GB'], + 'Usage' => ['description' => 'The resource usage.', 'type' => 'string', 'title' => '', 'example' => '1'], + 'ListPrice' => ['description' => 'The list price.', 'type' => 'string', 'title' => '', 'example' => '0.12'], + 'UsageUnit' => ['description' => 'The unit of the usage.', 'type' => 'string', 'title' => '', 'example' => 'GB'], + 'PretaxGrossAmount' => ['description' => 'The pretax gross amount.', 'type' => 'string', 'title' => '', 'example' => '0'], + 'InvoiceDiscount' => ['description' => 'The discount amount.', 'type' => 'string', 'title' => '', 'example' => '0'], + 'PretaxAmount' => ['description' => 'The pretax amount.', 'type' => 'string', 'title' => '', 'example' => '0'], + 'ServiceInstanceId' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'title' => '', 'example' => 'si-bc5d6ac7022647d3a3bd'], + 'BillingCycle' => ['description' => 'The billing cycle. The format is YYYY-MM.', 'type' => 'string', 'title' => '', 'example' => '2024-12'], + 'BillingItem' => ['description' => 'The billable item.', 'type' => 'string', 'title' => '', 'example' => 'Bandwidth'], + 'Currency' => ['description' => 'The currency.', 'type' => 'string', 'title' => '', 'example' => 'CNY'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'description' => 'The response parameters.'."\n", + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\",\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"Name\\": \\"Redhat8_5镜像\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0镜像\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Status\\": \\"Available\\",\\n \\"MaxVersion\\": 2,\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\\\"cn-hangzhou\\\\\\",\\\\\\"cn-beijing\\\\\\"]\\",\\n \\"Progress\\": \\"100\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzmhzoaa****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\",\\n \\"ArtifactBuildType\\": \\"Dockerfile\\\\n\\",\\n \\"PermissionType\\": \\"Public\\"\\n}","type":"json"}]', - 'title' => 'GetArtifact', - ], - 'ListArtifacts' => [ - 'summary' => 'Queries a list of deployment packages.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"7B68C6D1-0C22-53F7-997C-F95D109C31AA\\",\\n \\"TotalCount\\": 65,\\n \\"MaxResults\\": 20,\\n \\"Item\\": [\\n {\\n \\"SplitBillingCycle\\": \\"2021-06\\\\n\\",\\n \\"BillingDate\\": \\"2024-12-05\\",\\n \\"SubscriptionType\\": \\"Subscription\\",\\n \\"ProductName\\": \\"oss\\",\\n \\"BillingItemCode\\": \\"disk\\",\\n \\"ProductCode\\": \\"oss\\",\\n \\"ProductDetail\\": \\"sls\\",\\n \\"InstanceID\\": \\"rm-wz9k051l23j3o3xa9\\",\\n \\"DeductedByResourcePackage\\": \\"0\\",\\n \\"ListPriceUnit\\": \\"CNY/GB\\",\\n \\"Usage\\": \\"1\\",\\n \\"ListPrice\\": \\"0.12\\",\\n \\"UsageUnit\\": \\"GB\\",\\n \\"PretaxGrossAmount\\": \\"0\\",\\n \\"InvoiceDiscount\\": \\"0\\",\\n \\"PretaxAmount\\": \\"0\\",\\n \\"ServiceInstanceId\\": \\"si-bc5d6ac7022647d3a3bd\\",\\n \\"BillingCycle\\": \\"2024-12\\",\\n \\"BillingItem\\": \\"Bandwidth\\",\\n \\"Currency\\": \\"CNY\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query the bill for the service instance', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceBill'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstanceBill', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'ListServiceInstanceDeployDetails' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '132194', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest4Y9BYP', - ], + 'abilityTreeCode' => '189761', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of entries per page for a paged query. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hRQzE=', - ], + 'schema' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAZbOYA+x9UgM6xrgcMqFUjk=', 'title' => ''], ], [ 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The filter.'."\n", + 'description' => 'The filter.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The filter.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n" - ."\n" - .'* *Name*: The name of the deployment package. Fuzzy match is used.'."\n" - .'* ArtifactId: The ID of the deployment package.'."\n" - .'* ArtifactType: The type of the deployment package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ArtifactType', - ], - 'Values' => [ - 'description' => 'The parameter values of the filter.'."\n", + 'Value' => [ + 'description' => 'A list of filter values.', 'type' => 'array', - 'items' => [ - 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 100.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], + 'items' => ['description' => 'The filter value.', 'type' => 'string', 'required' => false, 'example' => 'service-c751ed91f2074af39779', 'title' => ''], 'required' => false, 'maxItems' => 20, + 'title' => '', + 'example' => '', ], + 'Name' => ['description' => 'The name of the filter. This corresponds to the WHERE clause in SQL.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- UserId'."\n" + ."\n" + .'- ServiceId'."\n" + ."\n" + .'- ServiceVersion'."\n" + ."\n" + .'- ServiceInstanceId'."\n" + ."\n" + .'- DeploySucceeded (The value can be True or False. The value is case-insensitive.)'."\n" + ."\n" + .'- ErrorType'."\n" + ."\n" + .'- ErrorCode', 'type' => 'string', 'required' => false, 'example' => 'ServiceId', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, - 'maxItems' => 100, + 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek25yfxxxxxxxx', - ], + 'schema' => ['description' => 'The start of the time range to query.'."\n" + ."\n" + .'Use UTC+0 time in the yyyy-MM-ddTHH:mmZ format.', 'type' => 'string', 'required' => false, 'example' => '2024-08-25T02:23:00Z', 'title' => ''], ], [ - 'name' => 'Tag', + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query.'."\n" + ."\n" + .'Use UTC+0 time in the yyyy-MM-ddTHH:mmZ format.', 'type' => 'string', 'required' => false, 'example' => '2024-12-31T16:00:00Z', 'title' => ''], + ], + [ + 'name' => 'CycleTimeZone', + 'in' => 'query', + 'schema' => ['description' => 'The time zone.'."\n" + ."\n" + .'Example: +08:00'."\n" + ."\n" + .'Valid values: -12:59 to +13:00', 'type' => 'string', 'required' => false, 'example' => '+08:00', 'title' => ''], + ], + [ + 'name' => 'Dimension', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The tags.'."\n", + 'description' => 'The name of the dimension. This corresponds to the GROUP BY clause in SQL.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- UserId'."\n" + ."\n" + .'- ServiceId'."\n" + ."\n" + .'- ServiceVersion'."\n" + ."\n" + .'- ServiceInstanceId'."\n" + ."\n" + .'- DeploySucceeded'."\n" + ."\n" + .'- ErrorType'."\n" + ."\n" + .'- ErrorCode', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], - ], - 'required' => false, - ], + 'items' => ['description' => 'The aggregation dimension.', 'type' => 'string', 'required' => false, 'example' => 'ErrorType', 'title' => ''], 'required' => false, - 'maxItems' => 100, + 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'CycleType', + 'in' => 'query', + 'schema' => ['description' => 'The aggregation period. If you do not specify this parameter, the system queries the details.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Year'."\n" + ."\n" + .'- Month'."\n" + ."\n" + .'- Day'."\n" + ."\n" + .'- All', 'type' => 'string', 'required' => false, 'example' => 'Month', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '46577928-3162-15A6-9084-69820EB9xxxx', - ], - 'NextToken' => [ - 'description' => 'The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hRQzE=', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Artifacts' => [ - 'description' => 'The information about deployment packages.'."\n", + 'NextToken' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ=', 'title' => ''], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0036D82E-0624-5B37-B797-C460F4B02026'], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries returned per page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'DeployDetails' => [ + 'description' => 'The deployment details of the service instance.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The deployment details of the service instance.', 'type' => 'object', 'properties' => [ - 'ArtifactId' => [ - 'description' => 'The ID of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'artifact-eea08d1e2d3a43aexxxx', - ], - 'ArtifactType' => [ - 'description' => 'The type of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'EcsImage', - ], - 'Name' => [ - 'description' => 'The name of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'Name', - ], - 'MaxVersion' => [ - 'description' => 'The latest version of the deployment package.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'Description' => [ - 'description' => 'The description of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'Description', - ], - 'GmtModified' => [ - 'description' => 'The time when the deployment package was modified.'."\n", - 'type' => 'string', - 'example' => '2022-10-20T02:19:55Z', - ], - 'Status' => [ - 'description' => 'The status of the deployment package. Valid values:'."\n" - ."\n" - .'* Created: The deployment package is created.'."\n" - .'* Scanning: The deployment package is being scanned.'."\n" - .'* ScanFailed: The deployment package failed to be scanned.'."\n" - .'* Delivering: The deployment package is being distributed.'."\n" - .'* Available: The deployment package is available.'."\n" - .'* Deleted: The deployment package is deleted.'."\n", - 'type' => 'string', - 'example' => 'Created', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'example' => 'rg-aek25rexxxxxxxx', - ], - 'Tags' => [ - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'key1', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'value1', - ], - ], - ], - ], - 'ArtifactBuildProperty' => [ - 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', - 'type' => 'string', - 'example' => '{\\"CodeRepo\\":{\\"Owner\\":\\"wenle\\",\\"Platform\\":\\"github\\",\\"Branch\\":\\"main\\",\\"RepoName\\":\\"aliyun-computenest/java-springboot-demo\\"}}', - ], - 'PermissionType' => [ - 'type' => 'string', - 'description' => 'Permission fields are applicable to container image artifact and Helm Chart artifact They can only change from Automatic to Public. Options:'."\n" - .'- Public'."\n" - .'- Automatic', - 'example' => 'Public', - ], + 'Cycle' => ['description' => 'The aggregation period.', 'type' => 'string', 'example' => 'Month', 'title' => ''], + 'Timestamp' => ['description' => 'The timestamp.', 'type' => 'string', 'example' => '1723946641994', 'title' => ''], + 'Count' => ['description' => 'The number of rows in the aggregate data.', 'type' => 'string', 'example' => '4', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the entry was created.', 'type' => 'string', 'example' => '2024-04-10T01:58:20Z', 'title' => ''], + 'UserId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '1591457835436382', 'title' => ''], + 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'service-c751ed91f2074af39779', 'title' => ''], + 'ServiceVersion' => ['description' => 'The service version.', 'type' => 'string', 'example' => '42', 'title' => ''], + 'ServiceNameChn' => ['description' => 'The Chinese name of the service.', 'type' => 'string', 'example' => '测试服务', 'title' => ''], + 'ServiceNameEng' => ['description' => 'The English name of the service.', 'type' => 'string', 'example' => 'Test Service', 'title' => ''], + 'ServiceInstanceId' => ['description' => 'The service instance ID.', 'type' => 'string', 'example' => 'si-273e8cee11d349e1803c', 'title' => ''], + 'DeploySucceeded' => ['description' => 'Indicates whether the deployment was successful.', 'type' => 'string', 'example' => 'False', 'title' => ''], + 'ErrorType' => ['description' => 'The type of the error that occurred when the deployment failed.', 'type' => 'string', 'example' => 'ValidationError', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned when the deployment failed.', 'type' => 'string', 'example' => 'StackValidationFailed', 'title' => ''], + 'ErrorDetail' => ['description' => 'The error details.', 'type' => 'string', 'example' => '{code: StackValidationFailed, message: \\"Failed to continue create ROS stack 89e724e2-84e6-4517-a372-30a545ab4145: Resource [LinuxInstanceRunCommand]: i-wz91nfbh1fxtmfb0try4 are not running. Command invocation only support running instances. ErrorCode: StackValidationFailed\\", requestId: null}', 'title' => ''], + 'ServiceType' => ['description' => 'The service type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- private: The service is deployed in the user\'s account.'."\n" + ."\n" + .'- managed: The service is hosted in the service provider\'s account.'."\n" + ."\n" + .'- operation: The service is an Alibaba Cloud Managed Service.', 'type' => 'string', 'example' => 'private', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], - 'description' => 'The response parameters'."\n", + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7B7AE429-B53E-5E73-A5EC-DC91F614F2D9\\",\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hR****\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 2,\\n \\"Artifacts\\": [\\n {\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43aexxxx\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"Name\\": \\"Redhat8_5镜像\\",\\n \\"MaxVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0镜像\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Status\\": \\"Created\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzmhzoaa****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"ArtifactBuildProperty\\": \\"{\\\\\\\\\\\\\\"CodeRepo\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"Owner\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"wenle\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Platform\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"github\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Branch\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"RepoName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"heroku/node-js-getting-started\\\\\\\\\\\\\\"}}\\",\\n \\"PermissionType\\": \\"Public\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListArtifacts', - ], - 'ListArtifactVersions' => [ - 'summary' => 'Queries the version information about a deployment package.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListServiceInstanceDeployDetails', + 'summary' => 'Queries the deployment details for service instances.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceDeployDetails'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstanceDeployDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"RequestId\\": \\"0036D82E-0624-5B37-B797-C460F4B02026\\",\\n \\"TotalCount\\": 7,\\n \\"MaxResults\\": 20,\\n \\"DeployDetails\\": [\\n {\\n \\"Cycle\\": \\"Month\\",\\n \\"Timestamp\\": \\"1723946641994\\",\\n \\"Count\\": \\"4\\",\\n \\"CreateTime\\": \\"2024-04-10T01:58:20Z\\",\\n \\"UserId\\": \\"1591457835436382\\",\\n \\"ServiceId\\": \\"service-c751ed91f2074af39779\\",\\n \\"ServiceVersion\\": \\"42\\",\\n \\"ServiceNameChn\\": \\"测试服务\\",\\n \\"ServiceNameEng\\": \\"Test Service\\",\\n \\"ServiceInstanceId\\": \\"si-273e8cee11d349e1803c\\",\\n \\"DeploySucceeded\\": \\"False\\",\\n \\"ErrorType\\": \\"ValidationError\\",\\n \\"ErrorCode\\": \\"StackValidationFailed\\",\\n \\"ErrorDetail\\": \\"{code: StackValidationFailed, message: \\\\\\\\\\\\\\"Failed to continue create ROS stack 89e724e2-84e6-4517-a372-30a545ab4145: Resource [LinuxInstanceRunCommand]: i-wz91nfbh1fxtmfb0try4 are not running. Command invocation only support running instances. ErrorCode: StackValidationFailed\\\\\\\\\\\\\\", requestId: null}\\",\\n \\"ServiceType\\": \\"private\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListServiceInstanceLogs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '132195', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest4Y9BYP', - ], + 'abilityTreeCode' => '136360', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], + ], + [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 1 to 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hRQzE=', - ], + 'schema' => ['description' => 'The token that specifies the next page of results to return. Set this parameter to the NextToken value from a previous response to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4='], ], [ - 'name' => 'ArtifactId', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the deployment package.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'artifact-eea08d1e2d3a43aexxxx', - ], + 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-70a3b15bb626435b****'], ], [ - 'name' => 'Filters', + 'name' => 'LogSource', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The source of the logs. Valid values:'."\n" + ."\n" + .'- application: Logs from the application.'."\n" + ."\n" + .'- computeNest: Logs from Compute Nest.'."\n" + ."\n" + .'- ros: Logs from Resource Orchestration Service (ROS).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'computeNest'], + ], + [ + 'name' => 'Logstore', + 'in' => 'query', + 'schema' => ['description' => 'The name of the Simple Log Service Logstore.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'livelog'], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The filter.', + 'description' => 'The filters.', 'type' => 'array', 'items' => [ - 'description' => 'The filter.', + 'description' => 'A filter.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n" - ."\n" - .'**Status**:The artifact status', - 'type' => 'string', - 'required' => false, - 'example' => 'Status', - ], - 'Values' => [ - 'description' => 'The parameter values of the filter.', + 'Name' => ['description' => 'The name of the filter condition.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- StartTime'."\n" + ."\n" + .'- EndTime'."\n" + ."\n" + .'- ApplicationGroupName'."\n" + ."\n" + .'- ResourceName'."\n" + ."\n" + .'- EventName', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'StartTime'], + 'Value' => [ + 'description' => 'The values for the filter condition. You can specify up to 10 values.', 'type' => 'array', - 'items' => [ - 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.', - 'type' => 'string', - 'required' => false, - 'example' => 'Created', - ], + 'items' => ['description' => 'A filter value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2022-01-01T22:22:22Z'], 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'maxItems' => 100, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- **Ascending**: Ascending order.'."\n" + ."\n" + .'- **Descending** (default): Descending order.', + 'type' => 'string', + 'required' => false, + 'default' => 'Descending', + 'enum' => ['Descending', 'Ascending'], + 'title' => '', + 'example' => 'Ascending', ], ], ], @@ -10321,749 +7369,867 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '46577928-3162-15A6-9084-69820EB9xxxx', - ], - 'NextToken' => [ - 'description' => 'The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hRQzE=', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Artifacts' => [ - 'description' => 'The version information about the deployment package.'."\n", + 'NextToken' => ['description' => 'The token to retrieve the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '51945B04-6AA6-410D-93BA-236E0248B104'], + 'MaxResults' => ['description' => 'The number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'ServiceInstancesLogs' => [ + 'description' => 'The logs of the service instance.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The details of a log entry.', 'type' => 'object', 'properties' => [ - 'ArtifactId' => [ - 'description' => 'The ID of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'artifact-eea08d1e2d3a43aexxxx', - ], - 'ArtifactType' => [ - 'description' => 'The type of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'EcsImage', - ], - 'VersionName' => [ - 'description' => 'The version name of the deployment package.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - 'ArtifactVersion' => [ - 'description' => 'The version of the deployment package.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'Status' => [ - 'description' => 'The status of the deployment package. Valid values:'."\n" - ."\n" - .'* Created: The deployment package is created.'."\n" - .'* Scanning: The deployment package is being scanned.'."\n" - .'* ScanFailed: The deployment package failed to be scanned.'."\n" - .'* Delivering: The deployment package is being distributed.'."\n" - .'* Available: The deployment package is available.'."\n" - .'* Deleted: The deployment package is deleted.'."\n", - 'type' => 'string', - 'example' => 'Available', - ], - 'ArtifactProperty' => [ - 'description' => 'The properties of the deployment package.'."\n", - 'type' => 'string', - 'example' => '{\\"CommodityCode\\":\\"cmjj0005xxxx\\",\\"CommodityVersion\\":\\"V2022xxxx\\"}', - ], - 'SupportRegionIds' => [ - 'description' => 'The ID of the region that supports the deployment package.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "cn-beijing",'."\n" - .' "cn-hangzhou",'."\n" - .' "cn-shanghai"'."\n" - .' ]', - ], - 'GmtModified' => [ - 'description' => 'The time when the deployment package was modified.'."\n", - 'type' => 'string', - 'example' => '2022-10-20T02:19:55Z', - ], - 'Progress' => [ - 'description' => 'The distribution progress of the deployment package.'."\n", - 'type' => 'string', - 'example' => '100', - ], - 'GmtCreate' => [ - 'description' => 'The time when the certificate was created.'."\n", - 'type' => 'string', - 'example' => '2022-10-20T02:19:53Z', - ], - 'ImageDelivery' => [ - 'description' => 'The distribution result of the image.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{'."\n" - .' "cn-beijing":"m-2ze9swf380tsad9wxxxx",'."\n" - .' "cn-shanghai":"m-uf6d2kp5yb3fuq6ixxxx",'."\n" - .' "cn-hangzhou":"m-bp1co0b2dkon58moxxxx"'."\n" - .' }', - 'description' => 'The distribution result of the image.'."\n", - ], - ], - 'SecurityAuditResult' => [ - 'description' => 'The result of the security scan. Valid values:'."\n" - ."\n" - .'* Normal: No risks exist on the deployment package.'."\n" - .'* AtRisk: Risks exist on the deployment package.'."\n" - .'* Processing: The deployment package is being scanned.'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'ResultFile' => [ - 'description' => 'The result file of the security scan.'."\n", - 'type' => 'string', - 'example' => 'https://compute-nest-security-audit-bucket-ap-southeast-1.oss-ap-southeast-1.aliyuncs.com/51416747xxxx/xxxx', - ], - 'StatusDetail' => [ - 'description' => 'The description of the deployment package.', - 'type' => 'string', - 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"', - ], - 'ArtifactBuildProperty' => [ - 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', - 'type' => 'string', - 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"'."\n", - ], - 'ArtifactBuildType' => [ - 'type' => 'string', - 'description' => 'The type of the deployment package to be built.', - 'example' => 'Dockerfile', - ], + 'Timestamp' => ['description' => 'The timestamp of the log entry.', 'type' => 'string', 'title' => '', 'example' => '2022-05-21T00:00:00Z'], + 'Source' => ['description' => 'The source of the log. Valid values:'."\n" + ."\n" + .'- ros: Logs from ROS.'."\n" + ."\n" + .'- computeNest: Logs from Compute Nest.'."\n" + ."\n" + .'- application: Logs from the application in the instance.'."\n" + ."\n" + .'- compliancePack: Logs from the compliance package of the instance.'."\n" + ."\n" + .'- actionTrail: Logs from ActionTrail.', 'type' => 'string', 'title' => '', 'example' => 'computeNest'], + 'Content' => ['description' => 'The content of the log entry.', 'type' => 'string', 'title' => '', 'example' => 'Start creating service instance'], + 'LogType' => ['description' => 'The log type. Valid values:'."\n" + ."\n" + .'- serviceInstance: Logs at the service instance level.'."\n" + ."\n" + .'- resource: Logs at the ROS resource level.', 'type' => 'string', 'title' => '', 'example' => 'serviceInstance'], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ROS.Stack'], + 'ResourceId' => ['description' => 'The ID of the associated resource.', 'type' => 'string', 'title' => '', 'example' => 'si-5c6525c0589545c3****'], + 'Status' => ['description' => 'The status of the event that the log records. Valid values:'."\n" + ."\n" + .'- Creating: The instance is being created.'."\n" + ."\n" + .'- Created: The instance is created.'."\n" + ."\n" + .'- Deploying: The instance is being deployed.'."\n" + ."\n" + .'- Deployed: The instance is deployed.'."\n" + ."\n" + .'- DeployedFailed: The instance failed to be deployed.'."\n" + ."\n" + .'- Expired: The instance has expired.'."\n" + ."\n" + .'- ExtendSuccess: The instance is successfully renewed.'."\n" + ."\n" + .'- Upgrading: The instance is being upgraded.'."\n" + ."\n" + .'- UpgradeSuccess: The instance is successfully upgraded.', 'type' => 'string', 'title' => '', 'example' => 'Deployed'], + 'CompliancePackType' => ['description' => 'The threat type from the compliance package. This parameter is returned only when Source is set to compliancePack. For example, VpcDataRisk indicates a data security check within a VPC.', 'type' => 'string', 'title' => '', 'example' => 'VpcDataRisk'], + 'ComplianceRuleName' => ['description' => 'The name of the threat rule from the compliance package. This parameter is returned only when Source is set to compliancePack. For example, vpc-ecs-move-out-vpc indicates that an ECS instance was moved out of a VPC.', 'type' => 'string', 'title' => '', 'example' => 'vpc-ecs-move-out-vpc'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hR****\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 2,\\n \\"Artifacts\\": [\\n {\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Status\\": \\"Available\\",\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\"\\\\n\\\\t\\\\t\\\\t\\\\t]\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Progress\\": \\"100\\",\\n \\"GmtCreate\\": \\"2022-10-20T02:19:53Z\\",\\n \\"ImageDelivery\\": {\\n \\"key\\": \\"{\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\":\\\\\\"m-2ze9swf380tsad9w****\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\":\\\\\\"m-uf6d2kp5yb3fuq6i****\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\":\\\\\\"m-bp1co0b2dkon58mo****\\\\\\"\\\\n\\\\t\\\\t\\\\t\\\\t}\\"\\n },\\n \\"SecurityAuditResult\\": \\"Normal\\",\\n \\"ResultFile\\": \\"仅当安全扫描结果的返回值为AtRisk时才会展示。\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\",\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"ArtifactBuildType\\": \\"Dockerfile\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListArtifactVersions', - ], - 'ReleaseArtifact' => [ - 'summary' => 'Publishes an artifact.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListServiceInstanceLogs', + 'summary' => 'Call the ListServiceInstanceLogs operation to query deployment, upgrade, and application logs for a service instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceLogs'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstanceLogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"MaxResults\\": 20,\\n \\"ServiceInstancesLogs\\": [\\n {\\n \\"Timestamp\\": \\"2022-05-21T00:00:00Z\\",\\n \\"Source\\": \\"computeNest\\",\\n \\"Content\\": \\"Start creating service instance\\",\\n \\"LogType\\": \\"serviceInstance\\",\\n \\"ResourceType\\": \\"ROS.Stack\\",\\n \\"ResourceId\\": \\"si-5c6525c0589545c3****\\",\\n \\"Status\\": \\"Deployed\\",\\n \\"CompliancePackType\\": \\"VpcDataRisk\\",\\n \\"ComplianceRuleName\\": \\"vpc-ecs-move-out-vpc\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListServiceInstanceResources' => [ + 'summary' => 'Lists the resources in a service instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '132191', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest4Y9BYP', - ], + 'abilityTreeCode' => '103268', + 'abilityTreeNodes' => ['FEATUREcomputenestL64NT4'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ArtifactId', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the artifact.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'artifact-9feded91880e4c78xxxx', - ], + 'schema' => ['description' => 'The query token. Set this to the NextToken value returned from the previous API call to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc='], ], [ - 'name' => 'ClientToken', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '788E7CP0EN9D51P', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-d8a0cc2a1ee04dce****'], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '3818BA7D-3F50-1A44-9FF3-04A52A59XXXX', - ], - 'ArtifactId' => [ - 'description' => 'The ID of the artifact.'."\n", - 'type' => 'string', - 'example' => 'artifact-9feded91880e4c78xxxx', - ], - 'ArtifactType' => [ - 'description' => 'The type of the artifact.'."\n", - 'type' => 'string', - 'example' => 'File', - ], - 'VersionName' => [ - 'description' => 'The version name of the artifact.'."\n", - 'type' => 'string', - 'example' => 'V1.0', - ], - 'ArtifactVersion' => [ - 'description' => 'The version of the artifact.'."\n", - 'type' => 'string', - 'example' => 'draft', - ], - 'Description' => [ - 'description' => 'The description of the artifact.'."\n", - 'type' => 'string', - 'example' => 'Description', - ], - 'GmtModified' => [ - 'description' => 'The time when the artifact was modified.'."\n", - 'type' => 'string', - 'example' => '1650954178000', - ], - 'Status' => [ - 'description' => 'The state of the artifact. Valid values:'."\n" - ."\n" - .'* Created: The artifact is created.'."\n" - .'* Scanning: The artifact is being scanned.'."\n" - .'* ScanFailed: The artifact failed to be scanned.'."\n" - .'* Delivering: The artifact is being distributed.'."\n" - .'* Available: The artifact is available.'."\n" - .'* Deleted: The artifact is deleted.'."\n", - 'type' => 'string', - 'example' => 'Created', - ], - 'ArtifactProperty' => [ - 'description' => 'The content of the artifact.'."\n", - 'type' => 'string', - 'example' => '"{\\"Url\\":\\"https://computenest-artifacts-draft-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/130920852836xxxx/cn-hangzhou/service-8072a04e5a134382xxxx/165095355xxxx/changes.txt\\",\\"ConfigurationMetadata\\":\\"{\\\\\\"WorkDir\\\\\\":\\\\\\"/root\\\\\\",\\\\\\"Platform\\\\\\":\\\\\\"Linux\\\\\\",\\\\\\"CommandType\\\\\\":\\\\\\"RunShellScript\\\\\\",\\\\\\"UpgradeScript\\\\\\":\\\\\\"cd /root\\\\\\\\ncp changes.txt cpchanges.txt\\\\\\\\nmv changes.txt mvchangge.txt\\\\\\"}\\"}"', + 'description' => 'The resource tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The resource tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key of the resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'key1'], + 'Value' => ['description' => 'The tag value of the resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value1'], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'description' => 'The response parameters.'."\n", + 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86CAC31E-3527-562C-869F-347E931C9B25\\",\\n \\"ArtifactId\\": \\"artifact-9feded91880e4c78****\\",\\n \\"ArtifactType\\": \\"File\\",\\n \\"VersionName\\": \\"Oss关联升级测试\\",\\n \\"ArtifactVersion\\": \\"draft\\",\\n \\"Description\\": \\"Redhat8_0镜像\\",\\n \\"GmtModified\\": \\"1650954178000\\",\\n \\"Status\\": \\"Created\\",\\n \\"ArtifactProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"Url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://computenest-artifacts-draft-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/130920852836xxxx/cn-hangzhou/service-8072a04e5a134382xxxx/165095355xxxx/changes.txt\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ConfigurationMetadata\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"WorkDir\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"/root\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Platform\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Linux\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"RunShellScript\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"UpgradeScript\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"cd /root\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ncp changes.txt cpchanges.txt\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nmv changes.txt mvchangge.txt\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\"}\\\\\\"\\"\\n}","type":"json"}]', - 'title' => 'ReleaseArtifact', - ], - 'GetUploadCredentials' => [ - 'summary' => 'Obtain the AccessKey pair of uploaded files.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '178074', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'FileName', + 'name' => 'ServiceInstanceResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The file name to upload.', - 'type' => 'string', - 'required' => true, - 'example' => 'template.yaml', - ], + 'schema' => ['description' => 'The type of the resource in the service instance. Valid values:'."\n" + ."\n" + .'- AliyunResource: an Alibaba Cloud resource.'."\n" + ."\n" + .'- ContainerResource: a pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AliyunResource'], ], [ - 'name' => 'Visibility', + 'name' => 'Filters', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'Specifies whether the file is publicly accessible. Valid values: **public** or **private**. The default value is **private**.', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'private' => 'private', - 'public' => 'public', + 'description' => 'The filter.', + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The filter name. You can specify one or more filter names to query resources. Valid values:'."\n" + ."\n" + .'- ExpireTimeStart'."\n" + ."\n" + .'- ExpireTimeEnd'."\n" + ."\n" + .'- PayType'."\n" + ."\n" + .'- ResourceARN', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ResourceARN'."\n"], + 'Values' => [ + 'description' => 'The filter value.', + 'type' => 'array', + 'items' => ['description' => 'The filter value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'arn:acs:ecs:*:*:instance/*'], + 'required' => false, + 'maxItems' => 100, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'example' => 'public', + 'required' => false, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PlainResult<SupplierUploadCredentialModel>', - 'description' => 'PlainResult'."\n", 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'AccessKeyId' => [ - 'title' => 'ak', - 'description' => 'The AccessKey ID.'."\n", - 'type' => 'string', - 'example' => 'STS.NUCe19W1FKaHAYAhe********', - ], - 'AccessKeySecret' => [ - 'title' => 'sk', - 'description' => 'The AccessKey secret.'."\n", - 'type' => 'string', - 'example' => '8LQGp59mY23pcXeTdcvSA1cUQZBeD92sFrXi********', - ], - 'SecurityToken' => [ - 'title' => '安全token', - 'description' => 'The security token.'."\n", - 'type' => 'string', - 'example' => 'CAISzQN1q6Ft5B2yfSjIr5b2LouNuu5n/KOjQ3/wjGUHYdlagYGdmzz2IH1Le3NrBO8esfgymGFU6v8dlo1dYLQeHhadQI5cs80HtFqLSNaE65LswPlZ2M2ISETPJzfV9pCK', - ], - 'ExpireDate' => [ - 'title' => '过期时间', - 'description' => 'The time when the AccessKey pair expires.'."\n", - 'type' => 'string', - 'example' => '2023-05-18T12:27:59Z', - ], - 'RegionId' => [ - 'title' => '地域', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'BucketName' => [ - 'title' => '仓库名称', - 'description' => 'The bucket name.'."\n", - 'type' => 'string', - 'example' => 'service-info-private', - ], - 'Key' => [ - 'title' => '文件key', - 'description' => 'The name of the key.'."\n", - 'type' => 'string', - 'example' => '221514575922756034/cn-hangzhou/d57c62fbd508xxxxxxxx.json', + 'NextToken' => ['description' => 'The token to start the next query.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc='], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'B288A0BE-D927-4888-B0F7-B35EF84B6E6F'], + 'MaxResults' => ['description' => 'The number of entries returned per page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'Resources' => [ + 'description' => 'The resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The resources.', + 'type' => 'object', + 'properties' => [ + 'ResourceARN' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.', 'type' => 'string', 'title' => '', 'example' => 'arn:acs:sag:cn-hangzhou:130920852836****:ccn/ccn-b3qf0q439sq2de****'], + 'PayType' => ['description' => 'The billing method. Valid values:'."\n" + ."\n" + .'- Subscription: subscription.'."\n" + ."\n" + .'- PayAsYouGo: pay-as-you-go.', 'type' => 'string', 'title' => '', 'example' => 'Subscription'], + 'RenewStatus' => ['description' => 'The renewal status. Valid values:'."\n" + ."\n" + .'- AutoRenewal: auto-renewal.'."\n" + ."\n" + .'- ManualRenewal: manual renewal.'."\n" + ."\n" + .'- NotRenewal: no renewal.', 'type' => 'string', 'title' => '', 'example' => 'AutoRenewal'], + 'CreateTime' => ['description' => 'The time when the resource was created.', 'type' => 'string', 'title' => '', 'example' => '2022-01-01T12:00:00'], + 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'string', 'title' => '', 'example' => '2022-03-01T12:00:00'], + 'RenewalPeriod' => ['description' => 'The renewal period.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'RenewalPeriodUnit' => ['description' => 'The unit of the renewal period. Valid values:'."\n" + ."\n" + .'- Month: month.'."\n" + ."\n" + .'- Year: year.', 'type' => 'string', 'title' => '', 'example' => 'Month'], + 'ProductType' => ['description' => 'The product type.', 'type' => 'string', 'title' => '', 'example' => 'RDS'], + 'ProductCode' => ['description' => 'The product code.', 'type' => 'string', 'title' => '', 'example' => 'rds'], + 'Status' => ['description' => 'The status of the resource. Valid values:'."\n" + ."\n" + .'- INIT\\_COMPLETE: The resource is pending creation.'."\n" + ."\n" + .'- CREATE\\_COMPLETE: The resource is created.'."\n" + ."\n" + .'- CREATE\\_FAILED: The resource failed to be created.'."\n" + ."\n" + .'- CREATE\\_IN\\_PROGRESS: The resource is being created.'."\n" + ."\n" + .'- UPDATE\\_IN\\_PROGRESS: The resource is being updated.'."\n" + ."\n" + .'- UPDATE\\_FAILED: The resource failed to be updated.'."\n" + ."\n" + .'- UPDATE\\_COMPLETE: The resource is updated.'."\n" + ."\n" + .'- DELETE\\_IN\\_PROGRESS: The resource is being deleted.'."\n" + ."\n" + .'- DELETE\\_FAILED: The resource failed to be deleted.'."\n" + ."\n" + .'- DELETE\\_COMPLETE: The resource is deleted.'."\n" + ."\n" + .'- CHECK\\_IN\\_PROGRESS: The resource is being checked.'."\n" + ."\n" + .'- CHECK\\_FAILED: The resource failed to be checked.'."\n" + ."\n" + .'- CHECK\\_COMPLETE: The resource is checked.'."\n" + ."\n" + .'- IMPORT\\_IN\\_PROGRESS: The resource is being imported.'."\n" + ."\n" + .'- IMPORT\\_FAILED: The resource failed to be imported.'."\n" + ."\n" + .'- IMPORT\\_COMPLETE: The resource is imported.', 'type' => 'string', 'title' => '', 'example' => 'CREATE_COMPLETE'], ], + 'title' => '', + 'example' => '', ], - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. A value of true indicates the request was successful. A value of false indicates the request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => 'The response code.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => 'The message returned.'."\n", - 'type' => 'string', - 'example' => 'Success.', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'FCC3321E-D518-1BC4-861E-588E9D4DAFB7', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AccessKeyId\\": \\"STS.NUCe19W1FKaHAYAhe********\\",\\n \\"AccessKeySecret\\": \\"8LQGp59mY23pcXeTdcvSA1cUQZBeD92sFrXi********\\",\\n \\"SecurityToken\\": \\"CAISzQN1q6Ft5B2yfSjIr5b2LouNuu5n/KOjQ3/wjGUHYdlagYGdmzz2IH1Le3NrBO8esfgymGFU6v8dlo1dYLQeHhadQI5cs80HtFqLSNaE65LswPlZ2M2ISETPJzfV9pCK\\",\\n \\"ExpireDate\\": \\"2023-05-18T12:27:59Z\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"BucketName\\": \\"service-info-private\\",\\n \\"Key\\": \\"221514575922756034/cn-hangzhou/d57c62fbd508xxxxxxxx.json\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success.\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"FCC3321E-D518-1BC4-861E-588E9D4DAFB7\\"\\n}","type":"json"}]', - 'title' => 'GetUploadCredentials', - ], - 'GetArtifactRepositoryCredentials' => [ - 'summary' => 'Queries the credentials that are required to upload a deployment package.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListServiceInstanceResources', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceResources'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstanceResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=\\",\\n \\"RequestId\\": \\"B288A0BE-D927-4888-B0F7-B35EF84B6E6F\\",\\n \\"MaxResults\\": 20,\\n \\"Resources\\": [\\n {\\n \\"ResourceARN\\": \\"arn:acs:sag:cn-hangzhou:130920852836****:ccn/ccn-b3qf0q439sq2de****\\",\\n \\"PayType\\": \\"Subscription\\",\\n \\"RenewStatus\\": \\"AutoRenewal\\",\\n \\"CreateTime\\": \\"2022-01-01T12:00:00\\",\\n \\"ExpireTime\\": \\"2022-03-01T12:00:00\\",\\n \\"RenewalPeriod\\": 1,\\n \\"RenewalPeriodUnit\\": \\"Month\\",\\n \\"ProductType\\": \\"RDS\\",\\n \\"ProductCode\\": \\"rds\\",\\n \\"Status\\": \\"CREATE_COMPLETE\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListServiceInstanceUpgradeHistory' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest4Y9BYP', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ArtifactType', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the deployment package. Valid values:'."\n" - ."\n" - .'* File: Object Storage Service (OSS) object.'."\n" - .'* AcrImage: container image.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'File', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'DeployRegionId', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The number of entries to return on each page for a paged query. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token that is used to retrieve the next page of results. Set this to the NextToken value from a previous response.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc='], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-0e6fca6a51a54420****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '94E89857-B994-44B6-9C4F-DBD200E9XXXX', - ], - 'ExpireDate' => [ - 'description' => 'The time when the credentials expired.'."\n", - 'type' => 'string', - 'example' => '1526549792000', - ], - 'Credentials' => [ - 'description' => 'The credentials.'."\n", - 'type' => 'object', - 'properties' => [ - 'Username' => [ - 'description' => 'The username.'."\n", - 'type' => 'string', - 'example' => 'xxx', - ], - 'Password' => [ - 'description' => 'The password.'."\n", - 'type' => 'string', - 'example' => 'eyJ0aW1lIjoiMTUyNjU0OTc5:0705733****', - ], - 'AccessKeyId' => [ - 'description' => 'The AccessKey ID.'."\n", - 'type' => 'string', - 'example' => 'STS.xxx', - ], - 'AccessKeySecret' => [ - 'description' => 'The AccessKey secret.'."\n", - 'type' => 'string', - 'example' => 'xxx', - ], - 'SecurityToken' => [ - 'description' => 'The Security Token Service (STS) token.'."\n", - 'type' => 'string', - 'example' => 'xxx', - ], - ], - ], - 'AvailableResources' => [ - 'description' => 'The information about the resources that can be uploaded.'."\n", + 'NextToken' => ['description' => 'The token to start the next query.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc='], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '86CAC31E-3527-562C-869F-347E931C9B25'], + 'MaxResults' => ['description' => 'The number of entries to return on each page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'UpgradeHistory' => [ + 'description' => 'The list of upgrade history records.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of upgrade history records.', 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'oss-cn-hangzhou', - ], - 'RepositoryName' => [ - 'description' => 'The repository name.'."\n", - 'type' => 'string', - 'example' => 'computenest-artifacts-draft-cn-hangzhou', - ], - 'Path' => [ - 'description' => 'The path.'."\n", - 'type' => 'string', - 'example' => '"/xxx/"', - ], + 'UpgradeHistoryId' => ['description' => 'The ID of the upgrade history record.', 'type' => 'string', 'title' => '', 'example' => 'exec-123'."\n"], + 'Type' => ['description' => 'The upgrade type.'."\n" + ."\n" + .'- Upgrade'."\n" + ."\n" + .'- Rollback', 'type' => 'string', 'title' => '', 'example' => 'Upgrade'."\n"], + 'FromVersion' => ['description' => 'The version before the upgrade.', 'type' => 'string', 'title' => '', 'example' => '1'], + 'ToVersion' => ['description' => 'The version after the upgrade.', 'type' => 'string', 'title' => '', 'example' => '3'], + 'Status' => ['description' => 'The upgrade status. Valid values:'."\n" + ."\n" + .'- upgrading: The upgrade is in progress.'."\n" + ."\n" + .'- UpgradeSuccessful: The upgrade is successful.'."\n" + ."\n" + .'- UpgradeFailed: The upgrade failed.', 'type' => 'string', 'title' => '', 'example' => 'UpgradeFailed'."\n" + ."\n"], + 'Results' => ['description' => 'The upgrade results.', 'type' => 'string', 'title' => '', 'example' => '{\\"PreUpgradeExecutionId\\":\\"exec-123\\"}'."\n"], + 'StartTime' => ['description' => 'The upgrade start time.', 'type' => 'string', 'title' => '', 'example' => '2022-04-26T08:09:51Z'."\n"], + 'EndTime' => ['description' => 'The upgrade end time.', 'type' => 'string', 'title' => '', 'example' => '2022-04-26T09:09:51Z'."\n"], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2'."\n"], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"94E89857-B994-44B6-9C4F-DBD200E9XXXX\\",\\n \\"ExpireDate\\": \\"1526549792000\\",\\n \\"Credentials\\": {\\n \\"Username\\": \\"xxx\\",\\n \\"Password\\": \\"eyJ0aW1lIjoiMTUyNjU0OTc5:0705733****\\",\\n \\"AccessKeyId\\": \\"STS.xxx\\",\\n \\"AccessKeySecret\\": \\"xxx\\",\\n \\"SecurityToken\\": \\"xxx\\"\\n },\\n \\"AvailableResources\\": [\\n {\\n \\"RegionId\\": \\"oss-cn-hangzhou\\",\\n \\"RepositoryName\\": \\"computenest-artifacts-draft-cn-hangzhou\\",\\n \\"Path\\": \\"\\\\\\"/xxx/\\\\\\"\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'GetArtifactRepositoryCredentials', - ], - 'ListAcrImageTags' => [ - 'summary' => 'Queries the versions of images that are uploaded to the image repository.', - 'methods' => [ - 'post', - 'get', + 'title' => 'Query Service Instance Upgrade History', + 'summary' => 'You can call ListServiceInstanceUpgradeHistory to query the upgrade history of a service instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceUpgradeHistory'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstanceUpgradeHistory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=\\",\\n \\"RequestId\\": \\"86CAC31E-3527-562C-869F-347E931C9B25\\",\\n \\"MaxResults\\": 20,\\n \\"UpgradeHistory\\": [\\n {\\n \\"UpgradeHistoryId\\": \\"exec-123\\\\n\\",\\n \\"Type\\": \\"Upgrade\\\\n\\",\\n \\"FromVersion\\": \\"1\\",\\n \\"ToVersion\\": \\"3\\",\\n \\"Status\\": \\"UpgradeFailed\\\\n\\\\n\\",\\n \\"Results\\": \\"{\\\\\\\\\\\\\\"PreUpgradeExecutionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"exec-123\\\\\\\\\\\\\\"}\\\\n\\",\\n \\"StartTime\\": \\"2022-04-26T08:09:51Z\\\\n\\",\\n \\"EndTime\\": \\"2022-04-26T09:09:51Z\\\\n\\"\\n }\\n ],\\n \\"TotalCount\\": 2\\n}","type":"json"}]', + ], + 'ListServiceInstances' => [ + 'summary' => 'Queries a list of service instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest4Y9BYP', - ], + 'abilityTreeCode' => '36947', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', + 'schema' => ['description' => 'The query token. Set it to the NextToken value returned from the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', 'title' => ''], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', + 'description' => 'The filter.', + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'A list of filter values.', + 'type' => 'array', + 'items' => ['description' => 'A list of filter values. The value of N can be from 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''], + 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', + ], + 'Name' => ['description' => 'The name of the filter. You can specify one or more filter names to query service instances. Valid values:'."\n" + ."\n" + .'- Name: The name of the service. To perform a fuzzy search, enter the content in the \\*xxx\\* format for the value parameter. For example, if the service name is `My Service`, you can enter `*My*` or `*Service*` for a fuzzy search.'."\n" + ."\n" + .'- ServiceInstanceId: The ID of the service instance.'."\n" + ."\n" + .'- ServiceId: The ID of the service.'."\n" + ."\n" + .'- UserId: The ID of the user.'."\n" + ."\n" + .'- Version: The version of the service.'."\n" + ."\n" + .'- Status: The status of the service instance.'."\n" + ."\n" + .'- DeployType: The deployment type.'."\n" + ."\n" + .'- ServiceType: The service type.'."\n" + ."\n" + .'- OperationStartTimeBefore: The time before the start of the Alibaba Cloud Managed Services.'."\n" + ."\n" + .'- OperationStartTimeAfter: The time after the start of the Alibaba Cloud Managed Services.'."\n" + ."\n" + .'- OperationEndTimeBefore: The time before the end of the Alibaba Cloud Managed Services.'."\n" + ."\n" + .'- OperationEndTimeAfter: The time after the end of the Alibaba Cloud Managed Services.'."\n" + ."\n" + .'- OperatedServiceInstanceId: The ID of the managed service instance for a private service.'."\n" + ."\n" + .'- OperationServiceInstanceId: The ID of the service instance for a pure Alibaba Cloud Managed Service.'."\n" + ."\n" + .'- EnableInstanceOps: Indicates whether Alibaba Cloud Managed Services are enabled for the service instance.', 'type' => 'string', 'required' => false, 'example' => 'ServiceInstanceId', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ=', + 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'RepoId', + 'name' => 'ShowDeleted', 'in' => 'query', - 'schema' => [ - 'description' => 'The image ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'crr-3gqhkza0wbxxxxxx', - ], + 'schema' => ['description' => 'Specifies whether to display the deleted service instances. Valid values:'."\n" + ."\n" + .'- true: Displays the deleted service instances.'."\n" + ."\n" + .'- false: Does not display the deleted service instances.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'ArtifactType', + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The type of the deployment package. Default value: AcrImage. Valid values:'."\n" - ."\n" - .'* HelmChart: Helm chart image.'."\n" - .'* AcrImage: container image.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'AcrImage', + 'description' => 'The custom tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The custom tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key1', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 50, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzkt5buxxxxxx', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'FEF343B9-1A15-5789-BE88-7B36190F5BF6', - ], - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'ey14..', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Images' => [ - 'description' => 'The list of images.'."\n", + 'NextToken' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E50287CB-AABF-4877-92C0-289B339A1546', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries returned per page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'ServiceInstances' => [ + 'description' => 'The information about the service instances.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The information about the service instances.', 'type' => 'object', 'properties' => [ - 'Tag' => [ - 'description' => 'The image version.'."\n", - 'type' => 'string', - 'example' => '5.7.2', - ], - 'ImageSize' => [ - 'description' => 'The image size. Unit: bytes.'."\n", - 'type' => 'string', - 'example' => '188394616', + 'Status' => ['description' => 'The status of the service instance. Valid values:'."\n" + ."\n" + .'- Created: The service instance is created.'."\n" + ."\n" + .'- Deploying: The service instance is being deployed.'."\n" + ."\n" + .'- DeployedFailed: The service instance failed to be deployed.'."\n" + ."\n" + .'- Deployed: The service instance is deployed.'."\n" + ."\n" + .'- Upgrading: The service instance is being upgraded.'."\n" + ."\n" + .'- Deleting: The service instance is being deleted.'."\n" + ."\n" + .'- Deleted: The service instance is deleted.', 'type' => 'string', 'example' => 'Deployed', 'title' => ''], + 'UpdateTime' => ['description' => 'The time when the service instance was updated.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z', 'title' => ''], + 'Name' => ['description' => 'The name of the service instance.', 'type' => 'string', 'example' => 'TestName', 'title' => ''], + 'ServiceInstanceId' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the service instance was created.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z', 'title' => ''], + 'UserId' => ['description' => 'The user\'s Alibaba Cloud account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567', 'title' => ''], + 'Service' => [ + 'description' => 'The service.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The status of the service.', 'type' => 'string', 'example' => 'Online', 'title' => ''], + 'PublishTime' => ['description' => 'The time when the service was published.', 'type' => 'string', 'example' => '2021-05-21T00:00:00Z', 'title' => ''], + 'Version' => ['description' => 'The version of the service.', 'type' => 'string', 'example' => '1.0', 'title' => ''], + 'DeployType' => ['description' => 'The deployment type. Valid values:'."\n" + ."\n" + .'- ros: The service is deployed using ROS.'."\n" + ."\n" + .'- terraform: The service is deployed using Terraform.'."\n" + ."\n" + .'- ack: The service is deployed using ACK.'."\n" + ."\n" + .'- spi: The service is deployed using SPI.'."\n" + ."\n" + .'- operation: The service is deployed using Alibaba Cloud Managed Services.', 'type' => 'string', 'example' => 'ros', 'title' => ''], + 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'service-0e6fca6a51a54420****', 'title' => ''], + 'SupplierUrl' => ['description' => 'The URL of the service provider.', 'type' => 'string', 'example' => 'http://example.com', 'title' => ''], + 'ServiceType' => ['description' => 'The service type. Valid values:'."\n" + ."\n" + .'- private: The service is deployed in the user\'s account.'."\n" + ."\n" + .'- managed: The service is deployed in the service provider\'s account.'."\n" + ."\n" + .'- operation: The service is an Alibaba Cloud Managed Service.'."\n" + ."\n" + .'- poc: The service instance is a trial instance.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'SupplierName' => ['description' => 'The name of the service provider.', 'type' => 'string', 'example' => 'Company A Ltd.', 'title' => ''], + 'ServiceInfos' => [ + 'description' => 'The service information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The service information.', + 'type' => 'object', + 'properties' => [ + 'Locale' => ['description' => 'The language of the service instance.', 'type' => 'string', 'example' => 'zh-CN', 'title' => ''], + 'Image' => ['description' => 'The URL of the service icon.', 'type' => 'string', 'example' => 'https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png', 'title' => ''], + 'Name' => ['description' => 'The name of the service.', 'type' => 'string', 'example' => 'Database B', 'title' => ''], + 'ShortDescription' => ['description' => 'The description of the service.', 'type' => 'string', 'example' => 'B is an open-source distributed relational database independently designed and developed by Company A.', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'VersionName' => ['description' => 'The custom version name defined by the service provider.', 'type' => 'string', 'example' => 'Version A', 'title' => ''], + 'DeployMetadata' => ['description' => 'The deployment configuration of the service. The configuration varies based on the deployment type. The data is stored in the JSON string format.', 'type' => 'string', 'example' => '{'."\n" + .' "EstimateTime": null,'."\n" + .' "SupplierDeployMetadata": {'."\n" + .' "DeployTimeout": null'."\n" + .' },'."\n" + .' "TemplateConfigs": ['."\n" + .' {'."\n" + .' "Name": " template1",'."\n" + .' "Url": "https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json",'."\n" + .' "PredefinedParameters": [],'."\n" + .' "AllowedRegions": ['."\n" + .' "cn-hangzhou"'."\n" + .' ]'."\n" + .' }'."\n" + .' ]'."\n" + .'}', 'title' => ''], + 'EnablePrivateVpcConnection' => ['description' => 'Indicates whether PrivateLink is enabled. Valid values:'."\n" + ."\n" + .'- true: Enabled.'."\n" + ."\n" + .'- false: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'SourceSupplierName' => ['description' => 'The name of the source service provider that distributes the service.', 'type' => 'string', 'example' => 'Company A Ltd.', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'CreateTime' => [ - 'description' => 'The time when the image was created.'."\n", - 'type' => 'string', - 'example' => '2021-05-20T00:00:00Z', + 'Parameters' => ['description' => 'The parameters of the service instance.', 'type' => 'string', 'example' => '{"param":"value"}', 'title' => ''], + 'Progress' => ['description' => 'The deployment progress of the service instance. Unit: %.', 'type' => 'integer', 'format' => 'int64', 'example' => '90', 'title' => ''], + 'StatusDetail' => ['description' => 'The description of the deployment of the service instance.', 'type' => 'string', 'example' => 'deploy successfully', 'title' => ''], + 'TemplateName' => ['description' => 'The name of the template.', 'type' => 'string', 'example' => 'Template 1', 'title' => ''], + 'OperatedServiceInstanceId' => ['description' => 'The ID of the service instance that is managed.', 'type' => 'string', 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''], + 'OperationStartTime' => ['description' => 'The time when the Alibaba Cloud Managed Services start.', 'type' => 'string', 'example' => '2021-12-29T06:48:56Z', 'title' => ''], + 'OperationEndTime' => ['description' => 'The time when the Alibaba Cloud Managed Services end.', 'type' => 'string', 'example' => '2021-12-29T06:48:56Z', 'title' => ''], + 'EnableInstanceOps' => ['description' => 'Indicates whether the service instance supports Alibaba Cloud Managed Services. Valid values:'."\n" + ."\n" + .'- true: The service instance supports Alibaba Cloud Managed Services.'."\n" + ."\n" + .'- false: The service instance does not support Alibaba Cloud Managed Services.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Tags' => [ + 'description' => 'The custom tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The custom tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key1', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'value1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], - 'ModifiedTime' => [ - 'description' => 'The time when the image was modified.'."\n", - 'type' => 'string', - 'example' => '2021-05-20T00:00:00Z', + 'Source' => ['description' => 'The source from which the service instance was created.', 'type' => 'string', 'example' => 'Supplier', 'title' => ''], + 'EndTime' => ['description' => 'The time when the service instance expires.', 'type' => 'string', 'example' => '2022-01-01T12:00:00', 'title' => ''], + 'ServiceType' => ['description' => 'The service type. Valid values:'."\n" + ."\n" + .'- private: The service instance is deployed in the user\'s account.'."\n" + ."\n" + .'- managed: The service instance is deployed in the service provider\'s account.'."\n" + ."\n" + .'- operation: The service instance is an Alibaba Cloud Managed Service instance.'."\n" + ."\n" + .'- poc: The service instance is a trial instance.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'PayType' => ['description' => 'The billing method. Valid values:'."\n" + ."\n" + .'- Permanent: The service is permanently purchased.'."\n" + ."\n" + .'- Subscription: The service is a subscription service from the Alibaba Cloud Marketplace.'."\n" + ."\n" + .'- PayAsYouGo: The service is a pay-as-you-go service from the Alibaba Cloud Marketplace.'."\n" + ."\n" + .'- CustomFixTime: The service has a custom fixed duration.', 'type' => 'string', 'example' => 'Subscription', 'title' => ''], + 'IsOperated' => ['description' => 'Indicates whether Alibaba Cloud Managed Services are enabled for the service instance. Valid values:'."\n" + ."\n" + .'- true: Alibaba Cloud Managed Services are enabled for the service instance.'."\n" + ."\n" + .'- false: Alibaba Cloud Managed Services are not enabled for the service instance.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'si-d6ab3a63ccxxxxxx', 'title' => ''], + 'BizStatus' => ['description' => 'The business status of the service instance. Valid values:'."\n" + ."\n" + .'- Normal: The service instance is normal.'."\n" + ."\n" + .'- Renewing: The service instance is being renewed.'."\n" + ."\n" + .'- RenewFoiled: The renewal of the service instance failed.'."\n" + ."\n" + .'- Expired: The service instance has expired.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'GrantedPermission' => [ + 'type' => 'object', + 'properties' => [ + 'OperationEndTime' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'PolicyNames' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'PolicyNames' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF343B9-1A15-5789-BE88-7B36190F5BF6\\",\\n \\"NextToken\\": \\"ey14..\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1,\\n \\"Images\\": [\\n {\\n \\"Tag\\": \\"5.7.2\\",\\n \\"ImageSize\\": \\"188394616\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"ModifiedTime\\": \\"2021-05-20T00:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListAcrImageTags', - ], - 'ListAcrImageRepositories' => [ - 'summary' => 'Queries a list of images uploaded to Container Registry.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"E50287CB-AABF-4877-92C0-289B339A1546\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 20,\\n \\"ServiceInstances\\": [\\n {\\n \\"Status\\": \\"Deployed\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"Name\\": \\"TestName\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UserId\\": 1234567,\\n \\"Service\\": {\\n \\"Status\\": \\"Online\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Version\\": \\"1.0\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-0e6fca6a51a54420****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"Company A Ltd.\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png\\",\\n \\"Name\\": \\"Database B\\",\\n \\"ShortDescription\\": \\"B is an open-source distributed relational database independently designed and developed by Company A.\\"\\n }\\n ],\\n \\"VersionName\\": \\"Version A\\",\\n \\"DeployMetadata\\": \\"{\\\\n \\\\\\"EstimateTime\\\\\\": null,\\\\n \\\\\\"SupplierDeployMetadata\\\\\\": {\\\\n \\\\\\"DeployTimeout\\\\\\": null\\\\n },\\\\n \\\\\\"TemplateConfigs\\\\\\": [\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\" template1\\\\\\",\\\\n \\\\\\"Url\\\\\\": \\\\\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json\\\\\\",\\\\n \\\\\\"PredefinedParameters\\\\\\": [],\\\\n \\\\\\"AllowedRegions\\\\\\": [\\\\n \\\\\\"cn-hangzhou\\\\\\"\\\\n ]\\\\n }\\\\n ]\\\\n}\\",\\n \\"EnablePrivateVpcConnection\\": false,\\n \\"SourceSupplierName\\": \\"Company A Ltd.\\"\\n },\\n \\"Parameters\\": \\"{\\\\\\"param\\\\\\":\\\\\\"value\\\\\\"}\\",\\n \\"Progress\\": 90,\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"TemplateName\\": \\"Template 1\\",\\n \\"OperatedServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"OperationStartTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"OperationEndTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"EnableInstanceOps\\": true,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"Source\\": \\"Supplier\\",\\n \\"EndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"PayType\\": \\"Subscription\\",\\n \\"IsOperated\\": true,\\n \\"ResourceGroupId\\": \\"si-d6ab3a63ccxxxxxx\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GrantedPermission\\": {\\n \\"OperationEndTime\\": \\"\\",\\n \\"PolicyNames\\": \\"\\"\\n },\\n \\"PolicyNames\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServiceInstances', + 'changeSet' => [ + ['createdAt' => '2025-10-16T10:36:56.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-15T06:01:23.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-11T05:00:37.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-08T07:15:52.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-07-06T09:12:33.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-03-17T01:46:17.000Z', 'description' => 'Request parameters changed, Response parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-05T08:06:49.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-07-02T07:34:50.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-06-30T06:31:15.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstances'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'ListServiceRegistrations' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '159574', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest4Y9BYP', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '36946', + 'abilityTreeNodes' => ['FEATUREcomputenestB2MIVU'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'MaxResults', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'NextToken', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '10'], ], [ - 'name' => 'RepoName', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the image repository.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'wordpress', - ], + 'schema' => ['description' => 'The query token. Set it to the NextToken value returned from the previous API call.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4='], ], [ - 'name' => 'ArtifactType', + 'name' => 'Filter', 'in' => 'query', - 'allowEmptyValue' => false, + 'style' => 'repeatList', 'schema' => [ - 'title' => '部署物类型,用于区分docker和chart', - 'description' => 'The type of the artifact. Default value: AcrImage. Valid values:'."\n" - ."\n" - .'* HelmChart: Helm chart image.'."\n" - .'* AcrImage: container image.'."\n", - 'type' => 'string', + 'description' => 'The filter.', + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'The list of filter values.', + 'type' => 'array', + 'items' => ['description' => 'The filter value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Rejected'], + 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', + ], + 'Name' => ['description' => 'The name of the filter field. Valid values:'."\n" + ."\n" + .'- ServiceId: The service ID.'."\n" + ."\n" + .'- RegistrationId: The review request ID.'."\n" + ."\n" + .'- Status: The service status. Valid values: Submitted, Approved, Rejected, Canceled, and Executed.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Canceled'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'AcrImage', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], @@ -11072,396 +8238,477 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C4A145D8-6F6C-532A-9001-9730CDA27578', - ], - 'NextToken' => [ - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'Repositories' => [ - 'description' => 'The images.'."\n", + 'NextToken' => ['description' => 'The token for the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '51945B04-6AA6-410D-93BA-236E0248B104'], + 'TotalCount' => ['description' => 'The total number of matching records.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '100'], + 'MaxResults' => ['description' => 'The number of entries returned on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'ServiceRegistrations' => [ + 'description' => 'The service review request information.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The service review request information.', 'type' => 'object', 'properties' => [ - 'RepoId' => [ - 'description' => 'The image repo ID.', - 'type' => 'string', - 'example' => 'crr-3gqhkza0wbxxxxxx', - ], - 'RepoName' => [ - 'description' => 'The image repo name.', - 'type' => 'string', - 'example' => 'wordpress', - ], - 'RepoType' => [ - 'description' => 'The type of the repository. Valid values:'."\n" - ."\n" - .'* `Private`: a private repository'."\n" - .'* `Public`: a public repository', - 'type' => 'string', - 'example' => 'Private', - ], - 'CreateTime' => [ - 'description' => 'The time when the image was created.'."\n", - 'type' => 'string', - 'example' => '2021-05-20T00:00:00Z', - ], - 'ModifiedTime' => [ - 'description' => 'The time when the image was modified.'."\n", - 'type' => 'string', - 'example' => '2021-05-20T00:00:00Z', - ], - 'Namespace' => [ - 'type' => 'string', - 'description' => 'The namespace of the repository', - 'example' => 'computenest', - ], + 'Status' => ['description' => 'The status of the review request. Possible values:'."\n" + ."\n" + .'- Submitted: The request is submitted.'."\n" + ."\n" + .'- Approved: The request is approved.'."\n" + ."\n" + .'- Rejected: The request is rejected.'."\n" + ."\n" + .'- Canceled: The request is canceled.'."\n" + ."\n" + .'- Executed: The request is executed.', 'type' => 'string', 'title' => '', 'example' => 'Rejected'], + 'RegistrationId' => ['description' => 'The review request ID.', 'type' => 'string', 'title' => '', 'example' => 'sr-001'], + 'FinishTime' => ['description' => 'The end time.', 'type' => 'string', 'title' => '', 'example' => '2021-05-23T00:00:00Z'], + 'Comment' => ['description' => 'The review comments.', 'type' => 'string', 'title' => '', 'example' => 'some info is missing'], + 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'title' => '', 'example' => 'service-f4c0026a254bxxxxxxxx'], + 'SubmitTime' => ['description' => 'The time when the request was submitted.', 'type' => 'string', 'title' => '', 'example' => '2021-05-22T00:00:00Z'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4A145D8-6F6C-532A-9001-9730CDA27578\\",\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 4,\\n \\"Repositories\\": [\\n {\\n \\"RepoId\\": \\"crr-3gqhkza0wbxxxxxx\\",\\n \\"RepoName\\": \\"wordpress\\",\\n \\"RepoType\\": \\"Public\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"ModifiedTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"Namespace\\": \\"computenest\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListAcrImageRepositories', - ], - 'CreateServiceUsage' => [ - 'summary' => 'Create Service resell application.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListServiceRegistrations', + 'summary' => 'Queries service registration requests.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceRegistrations'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceRegistrations', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceRegistration', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 20,\\n \\"ServiceRegistrations\\": [\\n {\\n \\"Status\\": \\"Rejected\\",\\n \\"RegistrationId\\": \\"sr-001\\",\\n \\"FinishTime\\": \\"2021-05-23T00:00:00Z\\",\\n \\"Comment\\": \\"some info is missing\\",\\n \\"ServiceId\\": \\"service-f4c0026a254bxxxxxxxx\\",\\n \\"SubmitTime\\": \\"2021-05-22T00:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListServiceSharedAccounts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '194790', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'abilityTreeCode' => '116170', + 'abilityTreeNodes' => ['FEATUREcomputenestP881UH'], + 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ServiceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'example' => 'service-c2d118c9193e49xxxxxx', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClientToken', + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], + ], + [ + 'name' => 'NextToken', 'in' => 'query', + 'schema' => ['description' => 'The token used to start the next query. Set this parameter to the NextToken value returned from the last API call.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAR130adlM4fHHVSWpTca/t4='], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'example' => 'mRdxWuW2ts', + 'description' => 'The filter.', + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'The list of filter values.', + 'type' => 'array', + 'items' => ['description' => 'A filter value. You can specify up to 10 values.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value1'], + 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', + ], + 'Name' => ['description' => 'The name of the filter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'UserAliUid'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'type' => 'string', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'RegionId', + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'service-e10349089de34exxxxxx'], + ], + [ + 'name' => 'Permission', 'in' => 'query', 'schema' => [ - 'description' => 'The region ID.', - 'example' => 'cn-hangzhou', - 'required' => false, + 'description' => 'The permission type. Valid values:'."\n" + ."\n" + .'- Deployable: The service is deployable.'."\n" + ."\n" + .'- Accessible: The service is accessible.', 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['Deployable' => 'Deployable', 'Accessible' => 'Accessible'], + 'title' => '', + 'example' => 'Accessible', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'Id of the request', - 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C', - 'title' => 'Id of the request', - 'type' => 'string', + 'NextToken' => ['description' => 'The token used to start the next query.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU='], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'CA3AE512-6D30-549A-B52D-B9042CA8D515'], + 'TotalCount' => ['description' => 'The total number of entries that meet the filter criteria.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'MaxResults' => ['description' => 'The number of entries returned on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'ShareAccount' => [ + 'description' => 'The information about the shared accounts.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the shared account.', + 'type' => 'object', + 'properties' => [ + 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'title' => '', 'example' => 'service-e10349089de34exxxxxx'], + 'CreateTime' => ['description' => 'The time when the sharing was created.', 'type' => 'string', 'title' => '', 'example' => '2021-12-28T02:47:46.000'], + 'UpdateTime' => ['description' => 'The time when the sharing was last updated.', 'type' => 'string', 'title' => '', 'example' => '2023-02-13T02:16:03.756Z'], + 'UserAliUid' => ['description' => 'The Alibaba Cloud account ID of the user.', 'type' => 'string', 'title' => '', 'example' => '127383705xxxxxx'], + 'Permission' => ['description' => 'The permission type. Valid values:'."\n" + ."\n" + .'- Deployable: The service is deployable.'."\n" + ."\n" + .'- Accessible: The service is accessible.', 'type' => 'string', 'title' => '', 'example' => 'Deployable'], + 'Name' => ['description' => 'The name of the distributor.', 'type' => 'string', 'title' => '', 'example' => 'name'], + 'Logo' => ['description' => 'The logo of the distributor.', 'type' => 'string', 'title' => '', 'example' => 'logo'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'title' => 'Schema of Response', - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\"\\n}","type":"json"}]', - 'title' => 'null', - ], - 'RejectServiceUsage' => [ - 'summary' => 'Reject service usage.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListServiceSharedAccounts', + 'summary' => 'Queries the accounts that a service is shared with.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceSharedAccounts'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceSharedAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAWns8w4MmhzeptXVRG0PUEU=\\",\\n \\"RequestId\\": \\"CA3AE512-6D30-549A-B52D-B9042CA8D515\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 20,\\n \\"ShareAccount\\": [\\n {\\n \\"ServiceId\\": \\"service-e10349089de34exxxxxx\\",\\n \\"CreateTime\\": \\"2021-12-28T02:47:46.000\\",\\n \\"UpdateTime\\": \\"2023-02-13T02:16:03.756Z\\",\\n \\"UserAliUid\\": \\"127383705xxxxxx\\",\\n \\"Permission\\": \\"Deployable\\",\\n \\"Name\\": \\"name\\",\\n \\"Logo\\": \\"logo\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListServiceTestCases' => [ + 'summary' => 'Queries the service test cases for the current service version.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '138376', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - ], + 'abilityTreeCode' => '195910', + 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-2117508c874c41xxxxxx', - ], + 'schema' => ['title' => '服务商ID', 'description' => 'The service ID.', 'type' => 'string', 'required' => false, 'example' => 'service-0e6fca6a51a54420****'], ], [ - 'name' => 'UserAliUid', + 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'User ali uid.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1563457855xxxxxx', - ], + 'schema' => ['title' => '服务版本', 'description' => 'The service version.', 'type' => 'string', 'required' => false, 'example' => 'draft'], ], [ - 'name' => 'Comments', + 'name' => 'Filters', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'Reject comments.', - 'type' => 'string', + 'description' => 'The filters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The filter conditions.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the filter. You can specify one or more filter names. Valid values:'."\n" + ."\n" + .'**Status**: Filters by status. **TaskId**: Filters by task ID.', 'type' => 'string', 'required' => false, 'example' => 'Status'."\n", 'title' => ''], + 'Value' => [ + 'description' => 'The filter values.', + 'type' => 'array', + 'items' => ['description' => 'The filter value.', 'type' => 'string', 'required' => false, 'example' => 'Success', 'title' => ''], + 'required' => false, + 'maxItems' => 10, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'Thanks for your application, please add your industry information.', + 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ClientToken', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['description' => 'The number of entries to return on each page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The share type of the service. Default value: SharedAccount. Valid values:'."\n" - ."\n" - .'* SharedAccount: The service is shared by multiple accounts.'."\n" - .'* Reseller: The service is distributed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enumValueTitles' => [ - 'Reseller' => 'Reseller', - 'SharedAccount' => 'SharedAccount', - ], - 'example' => 'SharedAccount', - ], + 'schema' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'NextTokenListResult<ServiceTestCaseModel>', + 'description' => 'NextTokenListResult\\<ServiceTestCaseModel>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + 'NextToken' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries returned on each page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'Data' => [ + 'description' => 'The data returned.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data returned.', + 'type' => 'object', + 'properties' => [ + 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Template 1', 'title' => ''], + 'TestConfig' => ['description' => 'The user-configured YAML file.', 'type' => 'string', 'title' => '', 'example' => '---'."\n" + .'parameters:'."\n" + .' PayType: "PostPaid"'."\n" + .' EcsInstanceType: "$[iact3-auto]"'."\n" + .' InstancePassword: "$[iact3-auto]"'."\n"], + 'TestCaseName' => ['description' => 'The name of the test case.', 'type' => 'string', 'title' => '', 'example' => 'case1'], + 'TestCaseId' => ['description' => 'The ID of the test case.', 'type' => 'string', 'title' => '', 'example' => 'stc-83fcee1383354e35b151'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of records that meet the filter criteria.', 'type' => 'integer', 'format' => 'int32', 'example' => '18', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CA3AE512-6D30-549A-B52D-B9042CA8D515', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', - 'title' => 'RejectServiceUsage', - ], - 'ApproveServiceUsage' => [ - 'summary' => 'Merchant uses service request', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAWns8w4MmhzeptXVRG0PUEU=\\",\\n \\"MaxResults\\": 20,\\n \\"Data\\": [\\n {\\n \\"TemplateName\\": \\"Template 1\\",\\n \\"TestConfig\\": \\"---\\\\nparameters:\\\\n PayType: \\\\\\"PostPaid\\\\\\"\\\\n EcsInstanceType: \\\\\\"$[iact3-auto]\\\\\\"\\\\n InstancePassword: \\\\\\"$[iact3-auto]\\\\\\"\\\\n\\",\\n \\"TestCaseName\\": \\"case1\\",\\n \\"TestCaseId\\": \\"stc-83fcee1383354e35b151\\"\\n }\\n ],\\n \\"TotalCount\\": 18,\\n \\"RequestId\\": \\"CA3AE512-6D30-549A-B52D-B9042CA8D515\\"\\n}","type":"json"}]', + 'title' => 'ListServiceTestCases', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceTestCases'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceTestCases', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestCase', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetestcase/*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'ListServiceTestTaskLogs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '137563', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - ], + 'abilityTreeCode' => '203228', + 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'], + 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-39f4f251e94843xxxxxx', - ], - ], - [ - 'name' => 'UserAliUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'User ali uid.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '127383705958xxxx', - ], - ], - [ - 'name' => 'Comments', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'Approval comments.', - 'type' => 'string', - 'required' => false, - 'example' => 'Welcome to TuGraph. Your application has been approved. Should you have any questions, please feel free to email us at tugraph@service.alipay.com or call our contact number 400-903-0809. Contact person: Yuansu.', - ], + 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'stt-568c2c5a687a409b977e'], ], [ - 'name' => 'ClientToken', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], ], [ - 'name' => 'Type', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'ServiceSharedAccountType,', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enumValueTitles' => [ - 'Reseller' => 'Reseller', - 'SharedAccount' => 'SharedAccount', - ], - 'example' => 'SharedAccount', - ], + 'schema' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU='], ], [ - 'name' => 'RegionId', + 'name' => 'SortOrder', 'in' => 'query', 'schema' => [ - 'description' => 'The region ID.', + 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- **Ascending**: sorts the results in ascending order.'."\n" + ."\n" + .'- **Descending** (default): sorts the results in descending order.', 'type' => 'string', 'required' => false, - 'example' => 'cn-hangzhou', + 'default' => 'Descending', + 'enum' => ['Descending', 'Ascending'], + 'title' => '', + 'example' => 'Ascending', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'NextTokenListResult<String>', + 'description' => 'NextTokenListResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ='], + 'MaxResults' => ['description' => 'The number of entries returned per page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'TaskLogs' => [ + 'description' => 'The log entries.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => ['description' => 'The log content.', 'type' => 'string', 'title' => '', 'example' => 'log content'], + 'Timestamp' => ['description' => 'The timestamp.', 'type' => 'string', 'format' => 'iso8601', 'title' => '', 'example' => '2022-12-12T20:00:09Z'], + ], + 'description' => 'list', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EDEE055B-D5F4-5B92-8F21-999D408F1214'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', - 'title' => 'ApproveServiceUsage', - 'translator' => 'machine', - ], - 'ListServiceUsages' => [ - 'summary' => 'Queries the applications for using a service.', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListServiceTestTaskLogs', + 'summary' => 'Retrieves the real-time logs of a service test.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceTestTaskLogs'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceTestTaskLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"MaxResults\\": 20,\\n \\"TaskLogs\\": [\\n {\\n \\"Content\\": \\"log content\\",\\n \\"Timestamp\\": \\"2022-12-12T20:00:09Z\\"\\n }\\n ],\\n \\"RequestId\\": \\"EDEE055B-D5F4-5B92-8F21-999D408F1214\\"\\n}","type":"json"}]', + ], + 'ListServiceTestTasks' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11473,422 +8720,407 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'abilityTreeCode' => '163665', + 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The service ID.', 'type' => 'string', 'required' => false, 'example' => 'service-062ae8e13b394dd5b63c'], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The service version.', 'type' => 'string', 'required' => false, 'example' => 'draft'], + ], + [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of entries to return on each page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', - ], + 'schema' => ['description' => 'The token that is used to retrieve the next page of results. Set this parameter to the value of NextToken returned from the previous API call.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='], ], [ 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The filter.'."\n", + 'description' => 'One or more filters for the query.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'A filter object.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n" - ."\n" - .'* ServiceId: the ID of the service.'."\n" - .'* ServiceName: the service name.'."\n" - .'* Status: the state of the service.'."\n" - .'* SupplierName: the name of the service provider.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ServiceId', - ], + 'Name' => ['description' => 'The property to filter by. Valid values:'."\n" + ."\n" + .'- Status: The task status.'."\n" + ."\n" + .'- TaskId: The task ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Status'], 'Value' => [ - 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", + 'description' => 'A list of filter values.', 'type' => 'array', - 'items' => [ - 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5', - ], + 'items' => ['description' => 'A filter value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value1'], 'required' => false, - 'maxItems' => 10, + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, - 'maxItems' => 10, - ], - ], - [ - 'name' => 'SupplierRole', - 'in' => 'query', - 'schema' => [ - 'description' => 'The role of the service provider.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Supplier', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The schema of the response.'."\n", + 'title' => 'NextTokenListResult<ServiceTestTaskModel>', + 'description' => 'A list of objects.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '18AD0960-A9FE-1AC8-ADF8-22131Fxxxxxx', - ], - 'NextToken' => [ - 'title' => 'NextToken', - 'description' => 'The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'AAAAAYChudnQUoBH+mGWFpb6oP0=', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ServiceUsages' => [ - 'description' => 'The service applications.'."\n", + 'NextToken' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. If this parameter is not returned, it indicates that no more results are available.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='], + 'MaxResults' => ['description' => 'The number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Count' => ['description' => 'The number of tasks.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '9'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '51945B04-6AA6-410D-93BA-236E0248B104'], + 'ServiceTestTasks' => [ + 'description' => 'The collection of service test tasks.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'UserAliUid' => [ - 'description' => 'The ID of the Alibaba Cloud account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '127383705958xxxx', - ], - 'ServiceId' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'example' => 'service-c9f36ec6d19b4exxxxxx', - ], - 'ServiceName' => [ - 'description' => 'The service name.'."\n", - 'type' => 'string', - 'example' => 'ServiceTest', - ], - 'SupplierName' => [ - 'description' => 'The name of the service provider.'."\n", - 'type' => 'string', - 'example' => 'SupplierAAA', - ], - 'Status' => [ - 'description' => 'The status of the service application. Valid values:'."\n" - ."\n" - .'* Submitted: The application is submitted or is to be approved.'."\n" - .'* Approved: The application is approved.'."\n" - .'* Rejected: The application is rejected.'."\n" - .'* Canceled: The application is canceled.'."\n", - 'type' => 'string', - 'example' => 'Submitted', - ], - 'Comments' => [ - 'description' => 'The comment on the approval.'."\n", - 'type' => 'string', - 'example' => 'Reject', - ], - 'CreateTime' => [ - 'description' => 'The time when the application was created.'."\n", - 'type' => 'string', - 'example' => '2022-05-25T02:02:02Z', - ], - 'UpdateTime' => [ - 'description' => 'The time when the application was updated.'."\n", - 'type' => 'string', - 'example' => '2022-05-25T02:02:02Z', - ], - 'UserInformation' => [ - 'description' => 'The user information.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '"Name": "123123",'."\n" - .' "Telephone": "18xxxxxxxx3",'."\n" - .' "EmailAddress": "texxxxxx@alia.com",'."\n" - .' "Company": "dsf",'."\n" - .' "Title": "",'."\n" - .' "Industry": "",'."\n" - .' "CustomConfig1": "xxx",'."\n" - .' "CustomConfig2": "ooo"', - 'description' => 'The user information.', - ], - ], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'title' => '', 'example' => 'sttt-000h5nd4yrg59ucurzy1'], + 'TaskName' => ['description' => 'The task name.', 'type' => 'string', 'title' => '', 'example' => 'dadadad'], + 'TaskRegionId' => ['description' => 'The region where the task was executed.', 'type' => 'string', 'title' => '', 'example' => 'cn-beijing'], + 'CreateTime' => ['title' => '', 'description' => 'The time when the task was created.', 'type' => 'string', 'example' => '2024-02-26T02:16:35Z'], + 'Status' => ['title' => '', 'description' => 'The execution status.', 'type' => 'string', 'example' => 'Success'], ], + 'description' => 'The service test task.', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18AD0960-A9FE-1AC8-ADF8-22131Fxxxxxx\\",\\n \\"NextToken\\": \\"AAAAAYChudnQUoBH+mGWFpb6oP0=\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1,\\n \\"ServiceUsages\\": [\\n {\\n \\"UserAliUid\\": 0,\\n \\"ServiceId\\": \\"service-c9f36ec6d19b4exxxxxx\\",\\n \\"ServiceName\\": \\"部署链接权限申请\\",\\n \\"SupplierName\\": \\"验收测试\\",\\n \\"Status\\": \\"Submitted\\",\\n \\"Comments\\": \\"审核通过。\\",\\n \\"CreateTime\\": \\"2022-05-25T02:02:02Z\\",\\n \\"UpdateTime\\": \\"2022-05-25T02:02:02Z\\",\\n \\"UserInformation\\": {\\n \\"key\\": \\"\\\\\\"Name\\\\\\": \\\\\\"123123\\\\\\",\\\\n \\\\t\\\\\\"Telephone\\\\\\": \\\\\\"18xxxxxxxx3\\\\\\",\\\\n \\\\t\\\\\\"EmailAddress\\\\\\": \\\\\\"texxxxxx@alia.com\\\\\\",\\\\n \\\\t\\\\\\"Company\\\\\\": \\\\\\"dsf\\\\\\",\\\\n \\\\t\\\\\\"Title\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\t\\\\\\"Industry\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\t\\\\\\"CustomConfig1\\\\\\": \\\\\\"xxx\\\\\\",\\\\n \\\\t\\\\\\"CustomConfig2\\\\\\": \\\\\\"ooo\\\\\\"\\"\\n }\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListServiceUsages', - ], - 'AddServiceSharedAccounts' => [ - 'summary' => 'Adds a shared account of a service.', - 'methods' => [ - 'post', - 'get', + 'title' => 'ListServiceTestTasks', + 'summary' => 'Queries the test tasks for a service.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceTestTasks'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceTestTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestTask', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetesttask/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"MaxResults\\": 1,\\n \\"Count\\": 9,\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"ServiceTestTasks\\": [\\n {\\n \\"TaskId\\": \\"sttt-000h5nd4yrg59ucurzy1\\",\\n \\"TaskName\\": \\"dadadad\\",\\n \\"TaskRegionId\\": \\"cn-beijing\\",\\n \\"CreateTime\\": \\"2024-02-26T02:16:35Z\\",\\n \\"Status\\": \\"Success\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListServiceUsages' => [ + 'summary' => 'Queries the usage of your services.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '116171', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - ], - 'autoTest' => true, + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The number of entries to return on each page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', - ], + 'schema' => ['description' => 'The token that is used to retrieve the next page of results. You can obtain this token from the NextToken parameter in the response to the previous request.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', 'title' => ''], ], [ - 'name' => 'SharedAccounts', + 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The shared account and permissions of the service.'."\n", + 'description' => 'The filter.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The filter.', 'type' => 'object', 'properties' => [ - 'UserAliUid' => [ - 'description' => 'The Alibaba Cloud account ID of the user.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '123456', - ], - 'Permission' => [ - 'description' => 'The permissions on the service. Valid values:'."\n" - ."\n" - .'* Deployable: Permissions to deploy the service.'."\n" - .'* Accessible: Permissions to access the service.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => ' Accessible', + 'Name' => ['description' => 'The filter name. You can query by one or more names. Valid values:'."\n" + ."\n" + .'- ServiceId: The service ID.'."\n" + ."\n" + .'- ServiceName: The service name.'."\n" + ."\n" + .'- Status: The service status.'."\n" + ."\n" + .'- SupplierName: The supplier name.', 'type' => 'string', 'required' => false, 'example' => 'ServiceId', 'title' => ''], + 'Value' => [ + 'description' => 'The filter values. You can specify 1 to 10 values.', + 'type' => 'array', + 'items' => ['description' => 'The filter values. You can specify 1 to 10 values.', 'type' => 'string', 'required' => false, 'example' => '5', 'title' => ''], + 'required' => false, + 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => true, - 'maxItems' => 100, + 'required' => false, + 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ServiceId', + 'name' => 'SupplierRole', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'service-63b8a060e9d54cxxxxxx', - ], + 'schema' => ['description' => 'The supplier role.', 'type' => 'string', 'required' => false, 'example' => 'Supplier', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The share type of the service. Default value: SharedAccount. Valid values:'."\n" - ."\n" - .'* SharedAccount: The service is shared by multiple accounts.'."\n" - .'* Reseller: The service is distributed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SharedAccount', - ], + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'E2815213-EA4F-5759-8EA1-56DD051BB3FD', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '18AD0960-A9FE-1AC8-ADF8-22131Fxxxxxx'], + 'NextToken' => ['title' => 'NextToken', 'description' => 'The token to retrieve the next page of results. If this parameter is not empty, more results can be retrieved.', 'type' => 'string', 'example' => 'AAAAAYChudnQUoBH+mGWFpb6oP0='], + 'MaxResults' => ['description' => 'The number of entries returned per page. The maximum value is 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ServiceUsages' => [ + 'description' => 'The service usage details.', + 'type' => 'array', + 'items' => [ + 'description' => 'The service usage details.', + 'type' => 'object', + 'properties' => [ + 'UserAliUid' => ['description' => 'The Alibaba Cloud account ID of the user.', 'type' => 'integer', 'format' => 'int64', 'example' => '127383705958xxxx', 'title' => ''], + 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'service-c9f36ec6d19b4exxxxxx', 'title' => ''], + 'ServiceName' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'Deployment link permission request', 'title' => ''], + 'SupplierName' => ['description' => 'The supplier name.', 'type' => 'string', 'example' => 'Acceptance test', 'title' => ''], + 'Status' => ['description' => 'The service status. Valid values:'."\n" + ."\n" + .'- Submitted: The request is submitted and is pending approval.'."\n" + ."\n" + .'- Approved: The request is approved.'."\n" + ."\n" + .'- Rejected: The request is rejected.'."\n" + ."\n" + .'- Canceled: The request is canceled.', 'type' => 'string', 'example' => 'Submitted', 'title' => ''], + 'Comments' => ['description' => 'The remarks on the approval.', 'type' => 'string', 'example' => 'Review approved.', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the request was created.', 'type' => 'string', 'example' => '2022-05-25T02:02:02Z', 'title' => ''], + 'UpdateTime' => ['description' => 'The time when the request was last updated.', 'type' => 'string', 'example' => '2022-05-25T02:02:02Z', 'title' => ''], + 'UserInformation' => [ + 'description' => 'The information about the user who submitted the request.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'The information about the user who submitted the request.', 'type' => 'string', 'example' => '"Name": "123123",'."\n" + .' "Telephone": "18xxxxxxxx3",'."\n" + .' "EmailAddress": "texxxxxx@alia.com",'."\n" + .' "Company": "dsf",'."\n" + .' "Title": "",'."\n" + .' "Industry": "",'."\n" + .' "CustomConfig1": "xxx",'."\n" + .' "CustomConfig2": "ooo"', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18AD0960-A9FE-1AC8-ADF8-22131Fxxxxxx\\",\\n \\"NextToken\\": \\"AAAAAYChudnQUoBH+mGWFpb6oP0=\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1,\\n \\"ServiceUsages\\": [\\n {\\n \\"UserAliUid\\": 0,\\n \\"ServiceId\\": \\"service-c9f36ec6d19b4exxxxxx\\",\\n \\"ServiceName\\": \\"Deployment link permission request\\",\\n \\"SupplierName\\": \\"Acceptance test\\",\\n \\"Status\\": \\"Submitted\\",\\n \\"Comments\\": \\"Review approved.\\",\\n \\"CreateTime\\": \\"2022-05-25T02:02:02Z\\",\\n \\"UpdateTime\\": \\"2022-05-25T02:02:02Z\\",\\n \\"UserInformation\\": {\\n \\"key\\": \\"\\\\\\"Name\\\\\\": \\\\\\"123123\\\\\\",\\\\n \\\\t\\\\\\"Telephone\\\\\\": \\\\\\"18xxxxxxxx3\\\\\\",\\\\n \\\\t\\\\\\"EmailAddress\\\\\\": \\\\\\"texxxxxx@alia.com\\\\\\",\\\\n \\\\t\\\\\\"Company\\\\\\": \\\\\\"dsf\\\\\\",\\\\n \\\\t\\\\\\"Title\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\t\\\\\\"Industry\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\t\\\\\\"CustomConfig1\\\\\\": \\\\\\"xxx\\\\\\",\\\\n \\\\t\\\\\\"CustomConfig2\\\\\\": \\\\\\"ooo\\\\\\"\\"\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServiceUsages', + 'changeSet' => [ + ['createdAt' => '2025-10-16T07:55:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-14T09:43:55.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-19T10:07:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-18T05:32:23.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-15T08:46:07.000Z', 'description' => 'Response parameters changed, Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E2815213-EA4F-5759-8EA1-56DD051BB3FD\\"\\n}","type":"json"}]', - 'title' => 'AddServiceSharedAccounts', - ], - 'RemoveServiceSharedAccounts' => [ - 'summary' => 'Remove service shared account.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceUsages'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceUsages', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'ListServices' => [ + 'summary' => 'Queries for a list of services based on specified parameters, such as a region ID and service IDs. The returned information includes the service status, service version, and publish time.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '116172', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestJ4D829', - ], - 'autoTest' => true, + 'abilityTreeCode' => '36944', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ServiceId', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-0e6fca6a51a54420****', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['description' => 'The token that is used to retrieve the next page of results. Set this parameter to the NextToken value returned by a previous call.', 'type' => 'string', 'required' => false, 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', 'title' => ''], ], [ - 'name' => 'UserAliUids', + 'name' => 'AllVersions', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to return all versions of the service. The default value is false. If this parameter is set to false, only the default version of each service is returned.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzkt5bu****', 'title' => ''], + ], + [ + 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'Whitelist accounts for service sharing.', + 'description' => 'The filter.', 'type' => 'array', 'items' => [ - 'description' => 'Whitelist accounts for service sharing.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '111234445', + 'description' => 'The filter.', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'The filter values.', + 'type' => 'array', + 'items' => ['description' => 'The filter values. You can specify up to 10 values.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', + ], + 'Name' => ['description' => 'The name of the filter. You can query by one or more filter names. Valid values:'."\n" + ."\n" + .'- ServiceId: The service ID.'."\n" + ."\n" + .'- Name: The service name.'."\n" + ."\n" + .'- Status: The service status.'."\n" + ."\n" + .'- SupplierName: The name of the service provider.', 'type' => 'string', 'required' => false, 'example' => 'Status', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => true, + 'required' => false, 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Type', + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The share type of the service. Default value: SharedAccount. Valid values:'."\n" - ."\n" - .'* SharedAccount: The service is shared by multiple accounts.'."\n" - .'* Reseller: The service is distributed.'."\n", - 'type' => 'string', + 'description' => 'The custom tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The custom tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key1', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'SharedAccount', + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], ], @@ -11897,32 +9129,266 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries that meet the filter criteria.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries returned on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Services' => [ + 'description' => 'The list of services.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of services.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The service status. Valid values:'."\n" + ."\n" + .'- Draft: The service is in the Draft state.'."\n" + ."\n" + .'- Submitted: The service is submitted for review. Modifications are not allowed.'."\n" + ."\n" + .'- Approved: The service is approved. Modifications are not allowed. The service can be published.'."\n" + ."\n" + .'- Launching: The service is being published.'."\n" + ."\n" + .'- Online: The service is published.'."\n" + ."\n" + .'- Offline: The service is unpublished.', 'type' => 'string', 'example' => 'Online', 'title' => ''], + 'DefaultVersion' => ['description' => 'Indicates whether the service is the default version. Valid values:'."\n" + ."\n" + .'- false: The service is not the default version.'."\n" + ."\n" + .'- true: The service is the default version.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'PublishTime' => ['description' => 'The time when the service was published.', 'type' => 'string', 'example' => '2021-05-21T00:00:00Z', 'title' => ''], + 'Version' => ['description' => 'The service version.', 'type' => 'string', 'example' => '1.0', 'title' => ''], + 'DeployType' => ['description' => 'The deployment type. Valid values:'."\n" + ."\n" + .'- ros: The service is deployed using ROS.'."\n" + ."\n" + .'- terraform: The service is deployed using Terraform.'."\n" + ."\n" + .'- spi: The service is deployed by calling an SPI.'."\n" + ."\n" + .'- operation: The service is deployed using Alibaba Cloud Managed Services.'."\n" + ."\n" + .'- container: The service is deployed using a container.', 'type' => 'string', 'example' => 'ros', 'title' => ''], + 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'service-70a3b15bb62643****', 'title' => ''], + 'SupplierUrl' => ['description' => 'The URL of the service provider.', 'type' => 'string', 'example' => 'http://example.com', 'title' => ''], + 'ServiceType' => ['description' => 'The service type. Valid values:'."\n" + ."\n" + .'- private: The service is deployed in the user\'s account.'."\n" + ."\n" + .'- managed: The service is deployed in the service provider\'s account.'."\n" + ."\n" + .'- operation: It is an Alibaba Cloud Managed Service.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'SupplierName' => ['description' => 'The name of the service provider.', 'type' => 'string', 'example' => 'Company A Ltd.', 'title' => ''], + 'ServiceInfos' => [ + 'description' => 'The service information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The service information.', + 'type' => 'object', + 'properties' => [ + 'Locale' => ['description' => 'The language of the service configuration. Valid values:'."\n" + ."\n" + .'- zh-CN: Chinese.'."\n" + ."\n" + .'- en-US: English.', 'type' => 'string', 'example' => 'zh-CN', 'title' => ''], + 'Image' => ['description' => 'The URL of the service icon.', 'type' => 'string', 'example' => 'http://img.example.oss.url', 'title' => ''], + 'Name' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'Database B', 'title' => ''], + 'ShortDescription' => ['description' => 'A brief description of the service.', 'type' => 'string', 'example' => 'B is an open-source distributed relational database independently designed and developed by Company A.', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'CommodityCode' => ['description' => 'The commodity code of the service in Alibaba Cloud Marketplace.', 'type' => 'string', 'example' => 'cmjj00****', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the service was created.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z', 'title' => ''], + 'UpdateTime' => ['description' => 'The time when the service was last updated.', 'type' => 'string', 'example' => '2021-05-21T00:00:00Z', 'title' => ''], + 'ShareType' => ['description' => 'The sharing type. Valid values:'."\n" + ."\n" + .'- Public: Public. Official and trial deployments are not restricted.'."\n" + ."\n" + .'- Restricted: Restricted. Official and trial deployments are restricted.'."\n" + ."\n" + .'- OnlyFormalRestricted: Only official deployments are restricted.'."\n" + ."\n" + .'- OnlyTrailRestricted: Only trial deployments are restricted.'."\n" + ."\n" + .'- Hidden: Hidden. The service is not visible and you cannot request deployment permissions.', 'type' => 'string', 'example' => 'Public', 'title' => ''], + 'ApprovalType' => ['description' => 'The approval type for service usage requests. Valid values:'."\n" + ."\n" + .'- Manual: Manual approval.'."\n" + ."\n" + .'- AutoPass: Automatic approval.', 'type' => 'string', 'example' => 'AutoPass', 'title' => ''], + 'VersionName' => ['description' => 'The custom version name defined by the service provider.', 'type' => 'string', 'example' => 'v2.0.0', 'title' => ''], + 'Tags' => [ + 'description' => 'The service tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The service tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key1', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'value1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'ArtifactId' => ['description' => 'The artifact ID.', 'type' => 'string', 'example' => 'artifact-21ca53ac16a643****', 'title' => ''], + 'ArtifactVersion' => ['description' => 'The artifact version.', 'type' => 'string', 'example' => 'draft', 'title' => ''], + 'SourceImage' => ['description' => 'The source image.', 'type' => 'string', 'example' => 'centos_7', 'title' => ''], + 'RelationType' => ['description' => 'The artifact association type. Valid values:'."\n" + ."\n" + .'- ServiceDeployment: Service deployment.'."\n" + ."\n" + .'- ServiceUpgrade: Service upgrade.', 'type' => 'string', 'example' => 'ServiceDeployment', 'title' => ''], + 'TrialType' => ['description' => 'The trial policy. Valid values:'."\n" + ."\n" + .'- Trial: The service supports a trial.'."\n" + ."\n" + .'- NotTrial: The service does not support a trial.', 'type' => 'string', 'example' => 'Trial', 'title' => ''], + 'TenantType' => ['description' => 'The tenant type for the managed service. Valid values:'."\n" + ."\n" + .'- SingleTenant: Single-tenant.'."\n" + ."\n" + .'- MultiTenant: Multi-tenant.', 'type' => 'string', 'example' => 'SingleTenant', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-aekz5b555****', 'title' => ''], + 'SourceServiceId' => ['description' => 'The ID of the source service for distribution.', 'type' => 'string', 'example' => 'service-70a3b15bb62643****', 'title' => ''], + 'SourceServiceVersion' => ['description' => 'The version of the source service for distribution.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'SourceSupplierName' => ['description' => 'The name of the source service provider for distribution.', 'type' => 'string', 'example' => 'SourceSupplier', 'title' => ''], + 'ResellServiceId' => ['description' => 'The ID of the distributed service.', 'type' => 'string', 'example' => 'service-70a3b15bb62643****', 'title' => ''], + 'LatestResellSourceServiceVersion' => ['description' => 'The latest version of the source service for distribution.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'ResellApplyStatus' => ['description' => 'The distribution authorization status of the service. Valid values:'."\n" + ."\n" + .'- CanApply: You can apply for authorization.'."\n" + ."\n" + .'- Applied: An application has been submitted.'."\n" + ."\n" + .'- Approved: The application is approved.', 'type' => 'string', 'example' => 'CanApply', 'title' => ''], + 'VirtualInternetService' => ['description' => 'Indicates whether the service is a virtual Internet service. Valid values:'."\n" + ."\n" + .'- false: No.'."\n" + ."\n" + .'- true: Yes.', 'type' => 'string', 'example' => 'false', 'title' => ''], + 'Categories' => ['description' => 'The service category.', 'type' => 'string', 'example' => 'OpenSource', 'title' => ''], + 'ServiceDiscoverable' => ['description' => 'Indicates whether the service is discoverable. Valid values:'."\n" + ."\n" + .'- INVISIBLE: Not discoverable.'."\n" + ."\n" + .'- DISCOVERABLE: Discoverable.', 'type' => 'string', 'example' => 'INVISIBLE', 'title' => ''], + 'HasDraft' => ['description' => 'Indicates whether the service has a draft version. Valid values:'."\n" + ."\n" + .'- true: Yes.'."\n" + ."\n" + .'- false: No.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'HasBeta' => ['description' => 'Indicates whether the service has a beta version. Valid values:'."\n" + ."\n" + .'- true: Yes.'."\n" + ."\n" + .'- false: No.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'BuildInfo' => ['description' => 'The information about the service build.', 'type' => 'string', 'example' => '{ "RepoUrl": "https://github.com/user/example.git", "Brancn": "main"}', 'title' => ''], + 'Commodity' => [ + 'description' => 'The commodity specifications.', + 'type' => 'object', + 'properties' => [ + 'CommodityCode' => ['description' => 'The commodity code.', 'type' => 'string', 'example' => 'cmjj00****', 'title' => ''], + 'Type' => ['description' => 'The type. Valid values:'."\n" + ."\n" + .'- Marketplace: Alibaba Cloud Marketplace.'."\n" + ."\n" + .'- Css: Lingxiao.'."\n" + ."\n" + .'- SaasBoost: SaaS Boost.', 'type' => 'string', 'example' => 'Marketplace', 'title' => ''], + 'SaasBoostMetadata' => ['description' => 'The metadata of the SaaS Boost configuration.', 'type' => 'string', 'example' => '{'."\n" + .' //Enable/disable SaaS Boost binding'."\n" + .' "Enabled":true/false,default is false'."\n" + .' //Public access URL'."\n" + .' "PublicAccessUrl":"https://example.com"'."\n" + .'}', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ServiceLocaleConfigs' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalValue' => ['description' => 'The original value of the business information.', 'type' => 'string', 'example' => 'Service Name'."\n", 'title' => ''], + 'ZhValue' => ['description' => 'The Chinese value of the business information.', 'type' => 'string', 'example' => '服务名称', 'title' => ''], + 'EnValue' => ['description' => 'The English value of the business information.', 'type' => 'string', 'example' => 'Service Name'."\n", 'title' => ''], + ], + 'description' => 'The multi-language configurations of the service.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The multi-language configurations of the service.', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', - 'title' => 'RemoveServiceSharedAccounts', - 'translator' => 'machine', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 1,\\n \\"Services\\": [\\n {\\n \\"Status\\": \\"Online\\",\\n \\"DefaultVersion\\": true,\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Version\\": \\"1.0\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-70a3b15bb62643****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"Company A Ltd.\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"http://img.example.oss.url\\",\\n \\"Name\\": \\"Database B\\",\\n \\"ShortDescription\\": \\"B is an open-source distributed relational database independently designed and developed by Company A.\\"\\n }\\n ],\\n \\"CommodityCode\\": \\"cmjj00****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UpdateTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"ShareType\\": \\"Public\\",\\n \\"ApprovalType\\": \\"AutoPass\\",\\n \\"VersionName\\": \\"v2.0.0\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"ArtifactId\\": \\"artifact-21ca53ac16a643****\\",\\n \\"ArtifactVersion\\": \\"draft\\",\\n \\"SourceImage\\": \\"centos_7\\",\\n \\"RelationType\\": \\"ServiceDeployment\\",\\n \\"TrialType\\": \\"Trial\\",\\n \\"TenantType\\": \\"SingleTenant\\",\\n \\"ResourceGroupId\\": \\"rg-aekz5b555****\\",\\n \\"SourceServiceId\\": \\"service-70a3b15bb62643****\\",\\n \\"SourceServiceVersion\\": \\"1\\",\\n \\"SourceSupplierName\\": \\"SourceSupplier\\",\\n \\"ResellServiceId\\": \\"service-70a3b15bb62643****\\",\\n \\"LatestResellSourceServiceVersion\\": \\"1\\",\\n \\"ResellApplyStatus\\": \\"CanApply\\",\\n \\"VirtualInternetService\\": \\"false\\",\\n \\"Categories\\": \\"OpenSource\\",\\n \\"ServiceDiscoverable\\": \\"INVISIBLE\\",\\n \\"HasDraft\\": true,\\n \\"HasBeta\\": true,\\n \\"BuildInfo\\": \\"{ \\\\\\"RepoUrl\\\\\\": \\\\\\"https://github.com/user/example.git\\\\\\", \\\\\\"Brancn\\\\\\": \\\\\\"main\\\\\\"}\\",\\n \\"Commodity\\": {\\n \\"CommodityCode\\": \\"cmjj00****\\",\\n \\"Type\\": \\"Marketplace\\",\\n \\"SaasBoostMetadata\\": \\"{\\\\n //Enable/disable SaaS Boost binding\\\\n \\\\\\"Enabled\\\\\\":true/false,default is false\\\\n //Public access URL\\\\n \\\\\\"PublicAccessUrl\\\\\\":\\\\\\"https://example.com\\\\\\"\\\\n}\\"\\n },\\n \\"ServiceLocaleConfigs\\": [\\n {\\n \\"OriginalValue\\": \\"Service Name\\\\n\\",\\n \\"ZhValue\\": \\"服务名称\\",\\n \\"EnValue\\": \\"Service Name\\\\n\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServices', + 'changeSet' => [ + ['createdAt' => '2025-09-18T08:24:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-10T01:47:48.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-19T03:19:49.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-14T08:33:35.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-19T08:12:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-16T03:18:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-21T10:02:00.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-15T08:46:08.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-11T05:00:37.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-08T07:15:51.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-05-08T04:04:14.000Z', 'description' => 'Request parameters changed, Response parameters changed, Response parameters changed'], + ['createdAt' => '2022-08-18T07:32:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-02T08:48:57.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-09-22T07:23:54.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-22T02:50:03.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServices'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServices', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/*'], + ], + ], + ], + ], + 'translator' => 'manual', ], - 'ListServiceSharedAccounts' => [ - 'summary' => '调用ListServiceSharedAccounts查看服务共享账号列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListSupplierRegistrations' => [ + 'summary' => 'Queries service provider registration requests.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11934,109 +9400,64 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '116170', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestP881UH', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '190812', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818', 'FEATUREcomputenest1Z49ZW', 'FEATUREcomputenest21Y74A'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID where the service instance resides.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAR130adlM4fHHVSWpTca/t4=', - ], + 'schema' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAYChudnQUoBH+mGWFpb6oP0='], ], [ 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The filters.'."\n", + 'description' => 'The filter.', 'type' => 'array', 'items' => [ - 'description' => 'The filters.'."\n", + 'description' => 'The filter.', 'type' => 'object', 'properties' => [ 'Value' => [ - 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", + 'description' => 'The value of the filter condition.', 'type' => 'array', - 'items' => [ - 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value1', - ], + 'items' => ['description' => 'The value of the filter condition.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'sr-xxx'], 'required' => false, 'maxItems' => 20, + 'title' => '', + 'example' => '', ], - 'Name' => [ - 'description' => 'The parameter name of the filter. You can specify one or more parameter names to query services. Valid values:'."\n" - ."\n" - .'* Name: the name of the service.', - 'type' => 'string', - 'required' => false, - 'example' => 'UserAliUid', - ], + 'Name' => ['description' => 'The name of the filter. You can query by one or more filter names. Valid values:'."\n" + ."\n" + .'- SupplierUid: The UID of the service provider.'."\n" + ."\n" + .'- RegistrationId: The review ID.'."\n" + ."\n" + .'- Status: The review status.'."\n" + ."\n" + .'- SupplierName: The name of the service provider.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'SupplierUid'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 100, - ], - ], - [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'service-e10349089de34exxxxxx', - ], - ], - [ - 'name' => 'Permission', - 'in' => 'query', - 'schema' => [ - 'description' => 'The permissions on the service. Valid values:'."\n" - ."\n" - .'* Deployable: Permissions to deploy the service.'."\n" - .'* Accessible: Permissions to access the service.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Deployable' => 'Deployable', - 'Accessible' => 'Accessible', - ], - 'example' => 'Accessible', + 'title' => '', + 'example' => '', ], ], ], @@ -12045,192 +9466,134 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CA3AE512-6D30-549A-B52D-B9042CA8D515', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'ShareAccount' => [ - 'description' => 'Service shared account information.', + 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAdx9kBO7qKpr9My/+XQo0oY='], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C6CC568D-xxxx-xxxx-xxxx-08EB8E9F9F20'], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '3'], + 'MaxResults' => ['description' => 'The number of entries returned per page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'SupplierRegistrations' => [ + 'description' => 'A list of service provider registration requests.', 'type' => 'array', 'items' => [ - 'description' => 'Service shared account information.', + 'description' => 'A service provider registration request.', 'type' => 'object', 'properties' => [ - 'ServiceId' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'example' => 'service-e10349089de34exxxxxx', - ], - 'CreateTime' => [ - 'description' => 'The time when the service was created.'."\n", - 'type' => 'string', - 'example' => '2021-12-28T02:47:46.000', - ], - 'UpdateTime' => [ - 'description' => 'The time when the service was updated.'."\n", - 'type' => 'string', - 'example' => '2023-02-13T02:16:03.756Z', - ], - 'UserAliUid' => [ - 'description' => 'The user aliUid.', - 'type' => 'string', - 'example' => '127383705xxxxxx', - ], - 'Permission' => [ - 'description' => 'The permissions on the service. Valid values:'."\n" - ."\n" - .'* Deployable: Permissions to deploy the service.'."\n" - .'* Accessible: Permissions to access the service.'."\n", - 'type' => 'string', - 'example' => 'Deployable', - ], - 'Name' => [ - 'description' => 'The name of the service instance. The value must meet the following requirements:'."\n" - ."\n" - .'* The name cannot exceed 64 characters in length.'."\n" - .'* It can contain digits, letters, hyphens (-), and underscores (\\_). It must start with a digit or a letter.'."\n", - 'type' => 'string', - 'example' => 'name', - ], - 'Logo' => [ - 'description' => 'Service logo.', - 'type' => 'string', - 'example' => 'logo', - ], + 'RegistrationId' => ['description' => 'The ID of the review request.', 'type' => 'string', 'title' => '', 'example' => 'sr-xxx'], + 'SupplierUid' => ['description' => 'The UID of the service provider.', 'type' => 'string', 'title' => '', 'example' => '1256xxx23434'], + 'SupplierName' => ['description' => 'The name of the service provider.', 'type' => 'string', 'title' => '', 'example' => 'ComputeNest community service'], + 'SupplierNameEn' => ['description' => 'The English name of the service provider.', 'type' => 'string', 'title' => '', 'example' => 'Alibaba Cloud ComputeNest'], + 'SupplierUrl' => ['description' => 'The URL of the service provider\'s official website.', 'type' => 'string', 'title' => '', 'example' => 'https://www.guangbao-uni.com'], + 'SupplierDesc' => ['description' => 'The description of the service provider.', 'type' => 'string', 'title' => '', 'example' => '服务商测试申请'], + 'SupplierLogo' => ['description' => 'The icon of the service provider.', 'type' => 'string', 'title' => '', 'example' => 'https://service-info-public.oss-cn-hangzhou.aliyuncs.com/xxx/service-xxx/xxx.png'], + 'ProductBusiness' => ['description' => 'The industry of the service provider\'s product.', 'type' => 'string', 'title' => '', 'example' => 'AI'], + 'ProductDeliveryTypes' => ['description' => 'The delivery method of the service provider\'s product. Valid values:'."\n" + ."\n" + .'- SaaS'."\n" + ."\n" + .'- License'."\n" + ."\n" + .'- API'."\n" + ."\n" + .'- Desktop software'."\n" + ."\n" + .'- Other', 'type' => 'string', 'title' => '', 'example' => 'SaaS'], + 'EnableResellerMode' => ['description' => 'Indicates whether the reseller mode is supported.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'ProductPublishTime' => ['description' => 'The product launch date.', 'type' => 'string', 'title' => '', 'example' => '2024.10.24'], + 'ContactPerson' => ['description' => 'The contact person.', 'type' => 'string', 'title' => '', 'example' => 'John Doe'], + 'ContactPersonTitle' => ['description' => 'The title of the contact person.', 'type' => 'string', 'title' => '', 'example' => 'CTO'], + 'ContactNumber' => ['description' => 'The phone number of the contact person.', 'type' => 'string', 'title' => '', 'example' => '135xxxxxxxx'], + 'ContactEmail' => ['description' => 'The email address of the contact person.', 'type' => 'string', 'title' => '', 'example' => 'test@163.com'], + 'Status' => ['description' => 'The review status. Valid values:'."\n" + ."\n" + .'- Submitted: The request is submitted.'."\n" + ."\n" + .'- Approved: The request is approved.'."\n" + ."\n" + .'- Rejected: The request is rejected.', 'type' => 'string', 'title' => '', 'example' => 'Submitted'], + 'SubmitTime' => ['description' => 'The time when the request was submitted.', 'type' => 'string', 'title' => '', 'example' => '2025-01-22 09:47:58 '."\n"], + 'ProductSellTypes' => ['description' => 'The sales model of the service provider\'s product. Valid values:'."\n" + ."\n" + .'- Direct'."\n" + ."\n" + .'- Channel', 'type' => 'string', 'title' => '', 'example' => '直销'], + 'Comment' => ['description' => 'The review comments.', 'type' => 'string', 'title' => '', 'example' => '无'], + 'ResellBusinessDesc' => ['description' => 'The description of the reseller business.', 'type' => 'string', 'title' => '', 'example' => '无'], + 'ProductAnnualRevenue' => ['description' => 'The annual revenue of the service provider\'s product.', 'type' => 'string', 'title' => '', 'example' => '10000000'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAWns8w4MmhzeptXVRG0PUEU=\\",\\n \\"RequestId\\": \\"CA3AE512-6D30-549A-B52D-B9042CA8D515\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 20,\\n \\"ShareAccount\\": [\\n {\\n \\"ServiceId\\": \\"service-e10349089de34exxxxxx\\",\\n \\"CreateTime\\": \\"2021-12-28T02:47:46.000\\",\\n \\"UpdateTime\\": \\"2023-02-13T02:16:03.756Z\\",\\n \\"UserAliUid\\": \\"127383705xxxxxx\\",\\n \\"Permission\\": \\"Deployable\\",\\n \\"Name\\": \\"name\\",\\n \\"Logo\\": \\"logo\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListServiceSharedAccounts', - 'translator' => 'machine', - ], - 'UpdateSharedAccountPermission' => [ - 'summary' => 'Update Service Sharing Permissions', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAdx9kBO7qKpr9My/+XQo0oY=\\",\\n \\"RequestId\\": \\"C6CC568D-xxxx-xxxx-xxxx-08EB8E9F9F20\\",\\n \\"TotalCount\\": 3,\\n \\"MaxResults\\": 20,\\n \\"SupplierRegistrations\\": [\\n {\\n \\"RegistrationId\\": \\"sr-xxx\\",\\n \\"SupplierUid\\": \\"1256xxx23434\\",\\n \\"SupplierName\\": \\"ComputeNest community service\\",\\n \\"SupplierNameEn\\": \\"Alibaba Cloud ComputeNest\\",\\n \\"SupplierUrl\\": \\"https://www.guangbao-uni.com\\",\\n \\"SupplierDesc\\": \\"服务商测试申请\\",\\n \\"SupplierLogo\\": \\"https://service-info-public.oss-cn-hangzhou.aliyuncs.com/xxx/service-xxx/xxx.png\\",\\n \\"ProductBusiness\\": \\"AI\\",\\n \\"ProductDeliveryTypes\\": \\"SaaS\\",\\n \\"EnableResellerMode\\": false,\\n \\"ProductPublishTime\\": \\"2024.10.24\\",\\n \\"ContactPerson\\": \\"John Doe\\",\\n \\"ContactPersonTitle\\": \\"CTO\\",\\n \\"ContactNumber\\": \\"135xxxxxxxx\\",\\n \\"ContactEmail\\": \\"test@163.com\\",\\n \\"Status\\": \\"Submitted\\",\\n \\"SubmitTime\\": \\"2025-01-22 09:47:58\\\\t\\\\n\\",\\n \\"ProductSellTypes\\": \\"直销\\",\\n \\"Comment\\": \\"无\\",\\n \\"ResellBusinessDesc\\": \\"无\\",\\n \\"ProductAnnualRevenue\\": \\"10000000\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListSupplierRegistrations', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSupplierRegistrations'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListSupplierRegistrations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'ListTagKeys' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '116173', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestQKB5Y7', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '145733', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'Client token, used to ensure the idempotence of requests. Generate a unique value for this parameter from your client to ensure it is unique across different requests. ClientToken supports only ASCII characters.', - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'Service ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-0d6e1d846e4c4axxxxxx', - ], - ], - [ - 'name' => 'UserAliUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'Whitelist account for service sharing.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'minimum' => '0', - 'example' => '1563457855xxxxxx', - ], - ], - [ - 'name' => 'Permission', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'Permission type. Possible values:'."\n" - .'- Deployable: Can be deployed.'."\n" - .'- Accessible: Can be accessed.'."\n" - .'- AccessibleIncludeBeta: Can access all versions, including Beta versions.'."\n" - .'- DeployableIncludeBeta: Can deploy all versions, including Beta versions.'."\n" - .'- Authorized: Authorized (for reselling scenarios)'."\n" - .'- Unauthorized: Unauthorized (for reselling scenarios)', - 'type' => 'string', - 'required' => true, - 'example' => 'Deployable', - ], + 'schema' => ['description' => 'The token to start the next query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='."\n"], ], [ - 'name' => 'Type', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'Service sharing type, with a default value of SharedAccount. Available options:'."\n" - ."\n" - .'- SharedAccount: Regular sharing type.'."\n" - ."\n" - .'- Reseller: Reselling sharing type.', - 'type' => 'string', - 'required' => false, - 'example' => 'SharedAccount', - ], + 'schema' => ['description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- service: A service.'."\n" + ."\n" + .'- serviceinstance: A service instance.'."\n" + ."\n" + .'- artifact: A deployment.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service'."\n"], ], ], 'responses' => [ @@ -12238,32 +9601,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'RequestId', - 'type' => 'string', - 'example' => 'C68B41B4-A646-5680-8A33-67884E3823A8', + 'NextToken' => ['description' => 'The token to retrieve the next page of results. This token is returned when the response is truncated.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAZ9FmxgN6wKfeK/GOKRnnjU='."\n"], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '8872ACE6-0297-54A4-8AAD-3A8623EC6C5D'."\n"], + 'Keys' => [ + 'description' => 'The list of tag keys.', + 'type' => 'array', + 'items' => ['description' => 'A tag key.', 'type' => 'string', 'title' => '', 'example' => ' ['."\n" + .' 0 : "lzqtest-huhehaote"'."\n" + .' 1 : "lzqros"'."\n" + .' 2 : "aaa"'."\n" + .']'], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListTagKeys', + 'summary' => 'Queries the existing tag keys.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagKeys'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C68B41B4-A646-5680-8A33-67884E3823A8\\"\\n}","type":"json"}]', - 'title' => 'Update Shared Account Permissions', - 'translator' => 'machine', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListTagKeys', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAZ9FmxgN6wKfeK/GOKRnnjU=\\\\n\\",\\n \\"RequestId\\": \\"8872ACE6-0297-54A4-8AAD-3A8623EC6C5D\\\\n\\",\\n \\"Keys\\": [\\n \\" [\\\\n 0 : \\\\\\"lzqtest-huhehaote\\\\\\"\\\\n 1 : \\\\\\"lzqros\\\\\\"\\\\n 2 : \\\\\\"aaa\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]', ], 'ListTagResources' => [ - 'summary' => 'Query resource tags', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Queries the tags of one or more resources.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12276,75 +9661,54 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '145736', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', - ], + 'schema' => ['description' => 'The token to start the next query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Valid value:'."\n" - .'- service'."\n" - .'- serviceinstance'."\n" - .'- artifact', - 'type' => 'string', - 'required' => true, - 'example' => 'service', - ], + 'schema' => ['description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- service: a service.'."\n" + ."\n" + .'- serviceinstance: a service instance.'."\n" + ."\n" + .'- artifact: a deployment.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service'], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The tags.'."\n", + 'description' => 'The custom tags.', 'type' => 'array', 'items' => [ - 'description' => 'The tags.'."\n", + 'description' => 'The custom tag.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Usage', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Usage'], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -12352,17 +9716,14 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The resource IDs. You can specify at most 50 resource IDs in each call.', + 'description' => 'The resource ID.', 'type' => 'array', - 'items' => [ - 'description' => 'The resource IDs. You can specify at most 50 resource IDs in each call.', - 'type' => 'string', - 'required' => false, - 'example' => 'service-xxx', - ], + 'items' => ['description' => 'The resource ID. You can specify up to 50 resource IDs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'service-xxx'], 'required' => false, 'maxItems' => 50, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], @@ -12371,160 +9732,106 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E', - ], + 'NextToken' => ['description' => 'The token to start the next query.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E'], 'TagResources' => [ - 'description' => 'The resources and their tags.', + 'description' => 'A collection of resources and their tags. The collection includes resource IDs, resource types, and tag key-value pairs.', 'type' => 'array', 'items' => [ - 'description' => 'The resources and their tags.', + 'description' => 'The information about the resource with attached tags.', 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'description' => 'The resource type. Valid value:'."\n" - .'- service'."\n" - .'- serviceinstance'."\n" - .'- artifact', - 'type' => 'string', - 'example' => 'service', - ], - 'ResourceId' => [ - 'description' => 'Resource ID', - 'type' => 'string', - 'example' => 'service-xxx', - ], - 'TagKey' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'usage', - ], - 'TagValue' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'test', - ], + 'ResourceType' => ['description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- service: a service.'."\n" + ."\n" + .'- serviceinstance: a service instance.'."\n" + ."\n" + .'- artifact: a deployment.', 'type' => 'string', 'title' => '', 'example' => 'service'], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'service-xxx'], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'usage'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'test'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"service\\",\\n \\"ResourceId\\": \\"service-xxx\\",\\n \\"TagKey\\": \\"usage\\",\\n \\"TagValue\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListTagResources', - 'translator' => 'machine', - ], - 'TagResources' => [ - 'summary' => 'Tag a resource', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"service\\",\\n \\"ResourceId\\": \\"service-xxx\\",\\n \\"TagKey\\": \\"usage\\",\\n \\"TagValue\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListTagValues' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '145740', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '145739', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'Tag', + 'name' => 'NextToken', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Key1'."\n", - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Value1'."\n", - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The token to start the next query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAfmTH5rcd4YFfob4P0uDAAc='."\n"], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Valid value:'."\n" - .'- service'."\n" - .'- serviceinstance'."\n" - .'- artifact', - 'type' => 'string', - 'required' => true, - 'example' => 'service', - ], + 'schema' => ['description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- service: service.'."\n" + ."\n" + .'- serviceinstance: service instance.'."\n" + ."\n" + .'- artifact: artifact', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service'."\n"], ], [ - 'name' => 'ResourceId', + 'name' => 'Key', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The resource IDs. You can specify at most 50 resource IDs in each call.', - 'type' => 'array', - 'items' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-xxx'."\n", - ], - 'required' => true, - 'maxItems' => 50, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The tag key.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ECS'], ], ], 'responses' => [ @@ -12532,125 +9839,93 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'."\n", + 'NextToken' => ['description' => 'The query token. This is the NextToken value returned from the previous API call.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAVz7BQqj2xtiNSC3d3RAD38='."\n"], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0631D623-D917-1C2D-ACD6-5B3B19XXXXXX'."\n"], + 'Values' => [ + 'description' => 'The tag values.', + 'type' => 'array', + 'items' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => ' ['."\n" + .' 0 : "20211220"'."\n" + .']'], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\\\n\\"\\n}","type":"json"}]', - 'title' => 'TagResoures', - 'translator' => 'machine', - ], - 'UnTagResources' => [ - 'summary' => 'Unbind resource from tag', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListTagValues', + 'summary' => 'Queries the tag values for a specific tag key.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagValues'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListTagValues', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAVz7BQqj2xtiNSC3d3RAD38=\\\\n\\",\\n \\"RequestId\\": \\"0631D623-D917-1C2D-ACD6-5B3B19XXXXXX\\\\n\\",\\n \\"Values\\": [\\n \\" [\\\\n 0 : \\\\\\"20211220\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]', + ], + 'ModifyServiceInstanceResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '145741', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource. valid value:'."\n" - ."\n" - .'- service'."\n" - .'- serviceinstance'."\n" - .'- artifact', - 'type' => 'string', - 'required' => true, - 'example' => 'service', - ], - ], - [ - 'name' => 'ResourceId', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The resource IDs. You can specify at most 50 resource IDs in each call.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'r-xxx'."\n", - ], - 'required' => true, - 'maxItems' => 50, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-d8a0cc2a1ee04dce****'], ], [ - 'name' => 'All', + 'name' => 'ServiceInstanceResourcesAction', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to remove all tags from the resource. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n" - ."\n" - .'> If you specify both the All and TagKey.N parameters, the All parameter does not take effect.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false'."\n", - ], + 'schema' => ['description' => 'The operation to perform on the resources of the service instance. Valid values:'."\n" + ."\n" + .'- Import: Imports resources.'."\n" + ."\n" + .'- UnImport: Removes imported resources.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Import'], ], [ - 'name' => 'TagKey', + 'name' => 'Resources', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tag keys. You can specify 1 to 20 tag keys.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => true, - 'example' => 'Key1'."\n", - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The resources to import.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{'."\n" + .' "RegionId": "cn-hangzhou",'."\n" + .' "Type": "ResourceIds",'."\n" + .' "ResourceIds": {'."\n" + .' "ALIYUN::ECS::INSTANCE": ["i-xxx", "i-yyy"],'."\n" + .' "ALIYUN::RDS::INSTANCE": ["rm-xxx", "rm-yyy"],'."\n" + .' "ALIYUN::VPC::VPC": ["vpc-xxx", "vpc-yyy"],'."\n" + .' "ALIYUN::SLB::INSTANCE": ["lb-xxx", "lb-yyy"]'."\n" + .' }'."\n" + .'}'], ], ], 'responses' => [ @@ -12658,93 +9933,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'."\n", - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '46577928-3162-15A6-9084-69820EB9xxxx'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\\\n\\"\\n}","type":"json"}]', - 'title' => 'UnTagResources', - 'translator' => 'machine', - ], - 'ListTagValues' => [ - 'summary' => 'Query tag value list', - 'methods' => [ - 'post', - 'get', + 'title' => 'ModifyServiceInstanceResources', + 'summary' => 'Modifies the resources of a service instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyServiceInstanceResources'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:ModifyServiceInstanceResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:*:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46577928-3162-15A6-9084-69820EB9xxxx\\"\\n}","type":"json"}]', + ], + 'PreLaunchService' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '145739', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '201480', + 'abilityTreeNodes' => ['FEATUREcomputenestB2MIVU'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'NextToken', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAfmTH5rcd4YFfob4P0uDAAc='."\n", - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'service-f7024a22ea5149xxxxxx'], ], [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource. Valid values: '."\n" - .'- service'."\n" - .'- service instance'."\n" - .'- artifact', - 'type' => 'string', - 'required' => true, - 'example' => 'service'."\n", - ], - ], - [ - 'name' => 'Key', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => true, - 'example' => 'ECS', - ], + 'schema' => ['description' => 'A client token that ensures the idempotence of the request. Generate a unique value for this parameter from your client for each request. The value can contain only ASCII characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9D51H'], ], ], 'responses' => [ @@ -12752,100 +10004,111 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'AAAAAVz7BQqj2xtiNSC3d3RAD38='."\n", - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '0631D623-D917-1C2D-ACD6-5B3B19XXXXXX'."\n", - ], - 'Values' => [ - 'description' => 'The information of the tag values.', - 'type' => 'array', - 'items' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => ' ['."\n" - .' 0 : "20211220"'."\n" - .']', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAVz7BQqj2xtiNSC3d3RAD38=\\\\n\\",\\n \\"RequestId\\": \\"0631D623-D917-1C2D-ACD6-5B3B19XXXXXX\\\\n\\",\\n \\"Values\\": [\\n \\" [\\\\n 0 : \\\\\\"20211220\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]', - 'title' => 'ListTagValues', - 'translator' => 'machine', - ], - 'ListTagKeys' => [ - 'summary' => 'Query tag key list', - 'methods' => [ - 'post', - 'get', + 'title' => 'Pre-Launch Service', + 'summary' => 'Prelaunches a service.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PreLaunchService'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:PreLaunchService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', + ], + 'PushMeteringData' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '145733', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '186185', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'Metering', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The parameters are described as follows:'."\n" + ."\n" + .'- InstanceId: The ID of the Alibaba Cloud Marketplace instance. The parameter type is String.'."\n" + ."\n" + .'- StartTime: The start time of the metering. The unit is seconds. The format is a UNIX timestamp. The parameter type is Long.'."\n" + ."\n" + .'- EndTime: The end time of the metering. The unit is seconds. The format is a UNIX timestamp. The parameter type is Long.'."\n" + ."\n" + .'- `Entities`: The metering entity object. The parameter type is List\\<Map>.'."\n" + ."\n" + .' - Key: The name of the metering item property. The parameter type is String.'."\n" + ."\n" + .' - Frequency: The number of times used.'."\n" + ."\n" + .' - `Period`: The usage duration in seconds.'."\n" + .' <props="intl">Note: The duration in the request parameter is measured in seconds, but the billing unit is hours. The duration is converted to hours for billing. For example, if you push a usage of 1800 for the period from 19:00 to 20:00 and the price is USD 1/hour, the hourly bill for this period is 1800 / 3600 × 1 = USD 0.5. If the fee is a decimal, it is truncated to two decimal places.</props>'."\n" + ."\n" + .' - `Storage`: The storage space used, in bytes.'."\n" + .' <props="intl">Note: The unit in the request parameter is bytes, but the billing unit is MB. The value is converted to MB for billing. For example, if you push a usage of 524288 for the period from 19:00 to 20:00 and the price is USD 1/MB, the hourly bill for this period is 524288 / 1024 / 1024 × 1 = USD 0.5. If the fee is a decimal, it is truncated to two decimal places.</props>'."\n" + ."\n" + .' - `NetworkOut`: The outbound data transfer, in bits.'."\n" + .' <props="intl">Note: The unit in the request parameter is bits, but the billing unit is Mb. The value is converted to Mb for billing. For example, if you push a usage of 524288 for the period from 19:00 to 20:00 and the price is USD 1/Mb, the hourly bill for this period is 524288 / 1024 / 1024 × 1 = USD 0.5. If the fee is a decimal, it is truncated to two decimal places.</props>'."\n" + ."\n" + .' - `NetworkIn`: The inbound data transfer, in bits.'."\n" + .' <props="intl">Note: The unit in the request parameter is bits, but the billing unit is Mb. The value is converted to Mb for billing. For example, if you push a usage of 524288 for the period from 19:00 to 20:00 and the price is USD 1/Mb, the hourly bill for this period is 524288 / 1024 / 1024 × 1 = USD 0.5. If the fee is a decimal, it is truncated to two decimal places.</props>'."\n" + ."\n" + .' - Character: The number of characters.'."\n" + ."\n" + .' - DailyActiveUser: The number of daily active users (DAU).'."\n" + ."\n" + .' - PeriodMin: The usage duration in minutes.'."\n" + ."\n" + .' - VirtualCpu: The number of vCPU cores.'."\n" + ."\n" + .' - Unit: The number of units.'."\n" + ."\n" + .' - Memory: The memory size in GB.'."\n" + ."\n" + .' - Value: The metering value. The value must be greater than or equal to 0. The parameter type is Integer.'."\n" + ."\n" + .'**Note**:'."\n" + ."\n" + .'- For products with real-time billing, the interval between StartTime and EndTime can be of any length. EndTime must be later than StartTime.'."\n" + ."\n" + .'- For products that are not billed in real-time, such as those billed by the hour, day, or month, the interval between StartTime and EndTime must be longer than 5 minutes.'."\n" + ."\n" + .'- When pushing metering data in batches, the InstanceId property must be for instances of the same product. Pushing data for instances of multiple products at the same time is not supported.', 'type' => 'string', 'required' => true, 'docRequired' => false, 'title' => '', 'example' => '[{"StartTime":1711527396,"EndTime":1711527397,"Entities":[{"Key":"Unit","Value":"0"}]}]'], ], [ - 'name' => 'NextToken', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='."\n", - ], - ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource. Valid values:'."\n" - ."\n" - .'- service'."\n" - .'- serviceinstance'."\n" - .'- artifact', - 'type' => 'string', - 'required' => true, - 'example' => 'service'."\n", - ], + 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-0e6fca6a51a54420****'], ], ], 'responses' => [ @@ -12853,720 +10116,484 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.', - 'type' => 'string', - 'example' => 'AAAAAZ9FmxgN6wKfeK/GOKRnnjU='."\n", - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '8872ACE6-0297-54A4-8AAD-3A8623EC6C5D'."\n", - ], - 'Keys' => [ - 'description' => 'The tag keys.', - 'type' => 'array', - 'items' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => ' ['."\n" - .' 0 : "lzqtest-huhehaote"'."\n" - .' 1 : "lzqros"'."\n" - .' 2 : "aaa"'."\n" - .']', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '94E89857-B994-44B6-9C4F-DBD200E9XXXX'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAZ9FmxgN6wKfeK/GOKRnnjU=\\\\n\\",\\n \\"RequestId\\": \\"8872ACE6-0297-54A4-8AAD-3A8623EC6C5D\\\\n\\",\\n \\"Keys\\": [\\n \\" [\\\\n 0 : \\\\\\"lzqtest-huhehaote\\\\\\"\\\\n 1 : \\\\\\"lzqros\\\\\\"\\\\n 2 : \\\\\\"aaa\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]', - 'title' => 'ListTagKeys', - 'translator' => 'machine', - ], - 'GetSupplierInformation' => [ - 'summary' => 'Get service provider information', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'PushMeteringData', + 'summary' => 'This API pushes metering data for pay-as-you-go Compute Nest service instances. The metering items must be predefined by the service provider.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PushMeteringData'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:PushMeteringData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"94E89857-B994-44B6-9C4F-DBD200E9XXXX\\"\\n}","type":"json"}]', + ], + 'RegisterService' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '42426', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - 'FEATUREcomputenest1Z49ZW', - 'FEATUREcomputenest21Y74A', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '36948', + 'abilityTreeNodes' => ['FEATUREcomputenestB2MIVU'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'service-f7024a22ea5149xxxxxx'], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'A client token to ensure the idempotence of the request. Generate a unique value from the client for this parameter. The **ClientToken** value can contain only ASCII characters and must be no more than 64 characters long.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9D51H'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', - ], - 'SupplierName' => [ - 'description' => 'The name of the service provider.'."\n", - 'type' => 'string', - 'example' => 'Alibaba Cloud', - ], - 'SupplierUrl' => [ - 'description' => 'The URL of the service provider.'."\n", - 'type' => 'string', - 'example' => 'http://www.xxx.xxx.cn', - ], - 'SupplierDesc' => [ - 'description' => 'The description of service provider.', - 'type' => 'string', - 'example' => 'Test supplier', - ], - 'OperationIp' => [ - 'description' => 'The Ip of the operation.', - 'type' => 'string', - 'example' => '10.xxx.xxx.xxx/101', - ], - 'OperationMfaPresent' => [ - 'description' => 'The MFA of the operation.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'DeliverySettings' => [ - 'description' => 'The delivery settings.'."\n", - 'type' => 'object', - 'properties' => [ - 'OssEnabled' => [ - 'description' => 'Indicates whether screencast delivery to Object Storage Service (OSS) is enabled. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'OssBucketName' => [ - 'description' => 'The name of the OSS bucket.'."\n", - 'type' => 'string', - 'example' => 'mybucket', - ], - 'OssPath' => [ - 'description' => 'The OSS path.'."\n", - 'type' => 'string', - 'example' => 'path1/path2/', - ], - 'OssExpirationDays' => [ - 'description' => 'The number of days for which the screencasts are saved.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '7', - ], - ], - ], - 'SupplierLogo' => [ - 'description' => 'The Logo of service provider.', - 'type' => 'string', - 'example' => 'http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png', - ], - 'EnableReseller' => [ - 'description' => 'Whether to enable reseller', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AcrNamespace' => [ - 'description' => 'Acr container namespace', - 'type' => 'string', - 'example' => 'computenest', - ], - 'SupportContacts' => [ - 'description' => 'Contact information of the service provider', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The type of contact information.', - 'type' => 'string', - 'example' => 'Email', - ], - 'Value' => [ - 'description' => 'The value of contact information.', - 'type' => 'string', - 'example' => 'supplier@example.com', - ], - ], - ], - ], + 'RegistrationId' => ['description' => 'The registration ID.', 'type' => 'string', 'title' => '', 'example' => 'sr-72dd5071e90c40xxxxxx'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A361BA9E-2713-52C8-AFFC-C26E5180456E'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"SupplierName\\": \\"A公司\\",\\n \\"SupplierUrl\\": \\"http://www.xxx.xxx.cn\\",\\n \\"SupplierDesc\\": \\"阿里云计算巢\\",\\n \\"OperationIp\\": \\"10.xxx.xxx.xxx/101\\",\\n \\"OperationMfaPresent\\": true,\\n \\"DeliverySettings\\": {\\n \\"OssEnabled\\": true,\\n \\"OssBucketName\\": \\"mybucket\\",\\n \\"OssPath\\": \\"path1/path2/\\",\\n \\"OssExpirationDays\\": 7\\n },\\n \\"SupplierLogo\\": \\"http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png\\",\\n \\"EnableReseller\\": true,\\n \\"AcrNamespace\\": \\"computenest\\",\\n \\"SupportContacts\\": [\\n {\\n \\"Type\\": \\"Email\\\\n\\",\\n \\"Value\\": \\"supplier@example.com\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'GetSupplierInformation', - 'translator' => 'machine', - ], - 'CreateSupplierRegistration' => [ - 'summary' => 'Register as a service provider', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'RegisterService', + 'summary' => 'Registers a Service deployment.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RegisterService'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:RegisterService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceRegistration', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RegistrationId\\": \\"sr-72dd5071e90c40xxxxxx\\",\\n \\"RequestId\\": \\"A361BA9E-2713-52C8-AFFC-C26E5180456E\\"\\n}","type":"json"}]', + ], + 'RejectServiceUsage' => [ + 'summary' => 'You can call RejectServiceUsage to reject a service request.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '190207', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '138376', + 'abilityTreeNodes' => ['FEATUREcomputenest2G0818'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'service-2117508c874c41xxxxxx', 'title' => ''], ], [ - 'name' => 'SupplierName', + 'name' => 'UserAliUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the service provider.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Alibaba Cloud'."\n", - ], + 'schema' => ['description' => 'The ID of the user\'s Alibaba Cloud account.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1563457855xxxxxx', 'title' => ''], ], [ - 'name' => 'SupplierNameEn', + 'name' => 'Comments', 'in' => 'query', - 'schema' => [ - 'description' => 'The english name of the service provider.', - 'type' => 'string', - 'required' => true, - 'example' => 'Alibaba Cloud', - ], + 'schema' => ['description' => 'The approval comments.', 'type' => 'string', 'example' => 'Thank you for your application. Please fill in the correct information.', 'required' => false, 'title' => ''], ], [ - 'name' => 'SupplierUrl', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The URL of the service provider.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'http://www.xxx.xxx.cn', - ], + 'schema' => ['description' => 'A client-generated token that ensures the idempotence of a request. Make sure that the token is unique for each request. The token can contain only ASCII characters.', 'type' => 'string', 'required' => false, 'example' => '10CM943JP0EN9D51H', 'title' => ''], ], [ - 'name' => 'SupplierDesc', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of service provider.', - 'type' => 'string', - 'required' => true, - 'example' => 'Test supplier', - ], - ], - [ - 'name' => 'SupplierLogo', + 'name' => 'Type', 'in' => 'query', 'schema' => [ - 'description' => 'The Logo of service provider.', - 'type' => 'string', + 'description' => 'The service sharing type. The default value is SharedAccount. Valid values:'."\n" + ."\n" + .'- SharedAccount: The common sharing type.'."\n" + ."\n" + .'- Reseller: The reseller sharing type.', + 'enumValueTitles' => ['Reseller' => 'Reseller', 'SharedAccount' => 'SharedAccount'], + 'type' => 'integer', + 'format' => 'int32', 'required' => false, - 'example' => 'http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png', + 'example' => 'SharedAccount', + 'title' => '', ], ], [ - 'name' => 'ProductBusiness', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The business of product', - 'type' => 'string', - 'required' => false, - 'example' => 'AI', - ], + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], - [ - 'name' => 'ProductDeliveryTypes', - 'in' => 'query', - 'style' => 'repeatList', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Product delivery type', - 'type' => 'array', - 'items' => [ - 'description' => 'Product delivery type,Valid values:'."\n" - .'- SaaS'."\n" - .'- License'."\n" - .'- API'."\n" - .'- DesktopSoftware'."\n" - .'- Others', - 'type' => 'string', - 'required' => false, - 'example' => 'License', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', 'title' => ''], ], - 'required' => true, - 'maxItems' => 100, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', + 'title' => 'RejectServiceUsage', + 'changeSet' => [ + ['createdAt' => '2025-10-16T07:55:48.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RejectServiceUsage'], + ], + ], + 'ramActions' => [ [ - 'name' => 'ProductSellTypes', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'Product sell type', - 'type' => 'array', - 'items' => [ - 'description' => 'Product sell type, Valid values:'."\n" - .'- Direct'."\n" - .'- Channel', - 'type' => 'string', - 'required' => false, - 'example' => 'Direct', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:RejectServiceUsage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:*:{#accountId}:service/{#serviceId}'], ], - 'required' => true, - 'maxItems' => 100, ], ], + ], + 'translator' => 'manual', + ], + 'ReleaseArtifact' => [ + 'summary' => 'Publishes an artifact.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EnableResellerMode', - 'in' => 'query', - 'schema' => [ - 'description' => 'Whether to enable the resell mode', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '132191', + 'abilityTreeNodes' => ['FEATUREcomputenest4Y9BYP'], + ], + 'parameters' => [ [ - 'name' => 'ProductPublishTime', + 'name' => 'ArtifactId', 'in' => 'query', - 'schema' => [ - 'description' => 'The publish time of product', - 'type' => 'string', - 'required' => false, - 'example' => '2020.10.10', - ], + 'schema' => ['description' => 'The artifact ID.'."\n" + ."\n" + .'Call [ListArtifacts](~~469993~~) to obtain the artifact ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'artifact-9feded91880e4c78xxxx'], ], [ - 'name' => 'ProductAnnualRevenue', + 'name' => 'ClientToken', 'in' => 'query', + 'schema' => ['description' => 'A client-generated token that ensures the idempotence of the request. The token must be unique for each request. The value of **ClientToken** can contain only ASCII characters and must be no more than 64 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '788E7CP0EN9D51P'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Annual product revenue', - 'type' => 'string', - 'required' => false, - 'example' => '1000', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '86CAC31E-3527-562C-869F-347E931C9B25'], + 'ArtifactId' => ['description' => 'The artifact ID.', 'type' => 'string', 'title' => '', 'example' => 'artifact-9feded91880e4c78****'], + 'ArtifactType' => ['description' => 'The artifact type.', 'type' => 'string', 'title' => '', 'example' => 'File'], + 'VersionName' => ['description' => 'The name of the artifact version.', 'type' => 'string', 'title' => '', 'example' => 'OSS association upgrade test'], + 'ArtifactVersion' => ['description' => 'The artifact version.', 'type' => 'string', 'title' => '', 'example' => 'draft'], + 'Description' => ['description' => 'The artifact description.', 'type' => 'string', 'title' => '', 'example' => 'Redhat8_0 image'], + 'GmtModified' => ['description' => 'The time when the artifact was last modified.', 'type' => 'string', 'title' => '', 'example' => '1650954178000'], + 'Status' => ['description' => 'The status of the artifact.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Created: The artifact is created.'."\n" + ."\n" + .'- Scanning: The artifact is being scanned.'."\n" + ."\n" + .'- ScanFailed: The artifact failed to be scanned.'."\n" + ."\n" + .'- Delivering: The artifact is being distributed.'."\n" + ."\n" + .'- Available: The artifact is available.'."\n" + ."\n" + .'- Deleted: The artifact is deleted.', 'type' => 'string', 'title' => '', 'example' => 'Created'], + 'ArtifactProperty' => ['description' => 'The content of the artifact.', 'type' => 'string', 'title' => '', 'example' => '"{\\"Url\\":\\"https://computenest-artifacts-draft-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/130920852836xxxx/cn-hangzhou/service-8072a04e5a134382xxxx/165095355xxxx/changes.txt\\",\\"ConfigurationMetadata\\":\\"{\\\\\\"WorkDir\\\\\\":\\\\\\"/root\\\\\\",\\\\\\"Platform\\\\\\":\\\\\\"Linux\\\\\\",\\\\\\"CommandType\\\\\\":\\\\\\"RunShellScript\\\\\\",\\\\\\"UpgradeScript\\\\\\":\\\\\\"cd /root\\\\\\\\ncp changes.txt cpchanges.txt\\\\\\\\nmv changes.txt mvchangge.txt\\\\\\"}\\"}"'], + ], + 'description' => 'The response parameters.'."\n", + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86CAC31E-3527-562C-869F-347E931C9B25\\",\\n \\"ArtifactId\\": \\"artifact-9feded91880e4c78****\\",\\n \\"ArtifactType\\": \\"File\\",\\n \\"VersionName\\": \\"OSS association upgrade test\\",\\n \\"ArtifactVersion\\": \\"draft\\",\\n \\"Description\\": \\"Redhat8_0 image\\",\\n \\"GmtModified\\": \\"1650954178000\\",\\n \\"Status\\": \\"Created\\",\\n \\"ArtifactProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"Url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://computenest-artifacts-draft-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/130920852836xxxx/cn-hangzhou/service-8072a04e5a134382xxxx/165095355xxxx/changes.txt\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ConfigurationMetadata\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"WorkDir\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"/root\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Platform\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Linux\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"RunShellScript\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"UpgradeScript\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"cd /root\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ncp changes.txt cpchanges.txt\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nmv changes.txt mvchangge.txt\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\"}\\\\\\"\\"\\n}","type":"json"}]', + 'title' => 'ReleaseArtifact', + 'description' => '### Prerequisites'."\n" + ."\n" + .'Ensure that you have created and saved an artifact.', + 'changeSet' => [ + ['createdAt' => '2024-12-05T03:44:36.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseArtifact'], + ], + ], + 'ramActions' => [ [ - 'name' => 'ContactPerson', - 'in' => 'query', - 'schema' => [ - 'description' => 'Contact person', - 'type' => 'string', - 'required' => true, - 'example' => 'Mike', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:ReleaseArtifact', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:artifact/{#ArtifactId}'], + ], ], ], + ], + 'translator' => 'manual', + ], + 'RemoveServiceSharedAccounts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ContactPersonTitle', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '116172', + 'abilityTreeNodes' => ['FEATUREcomputenestJ4D829'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'Contact person tiltle', - 'type' => 'string', - 'required' => true, - 'example' => 'CTO', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ContactNumber', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Contact number', - 'type' => 'string', - 'required' => true, - 'example' => '186xxxxxxxxx', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'service-0e6fca6a51a54420****'], ], [ - 'name' => 'ContactEmail', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'Contact email', - 'type' => 'string', - 'required' => true, - 'example' => 'xxxx@xxx.com', - ], + 'schema' => ['description' => 'A client token that is used to ensure the idempotence of the request. You must make sure that the token is unique for each request. The token can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9D51H'], ], [ - 'name' => 'Suggestion', + 'name' => 'UserAliUids', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The demands of service providers.', - 'type' => 'string', - 'required' => false, - 'example' => 'empty', + 'description' => 'The whitelisted accounts for service sharing.', + 'type' => 'array', + 'items' => ['description' => 'The whitelisted account for service sharing.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '111234445'], + 'required' => true, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ResellBusinessDesc', + 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of resell business.', - 'type' => 'string', - 'required' => false, - 'example' => 'empty', - ], + 'schema' => ['description' => 'The service sharing type. The default value is SharedAccount. Valid values:'."\n" + ."\n" + .'- SharedAccount: The regular sharing type.'."\n" + ."\n" + .'- Reseller: The reseller sharing type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'SharedAccount'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'C4A145D8-xxxx-xxxx-xxxx-9730CDA27578', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4A145D8-xxxx-xxxx-xxxx-9730CDA27578\\"\\n}","type":"json"}]', - 'title' => 'CreateSupplierRegistration', - 'translator' => 'machine', - ], - 'ListSupplierRegistrations' => [ - 'summary' => 'Query the list of service provider onboarding reviews', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'RemoveServiceSharedAccounts', + 'summary' => 'Removes shared accounts.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveServiceSharedAccounts'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:RemoveServiceSharedAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', + ], + 'RestartServiceInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '190812', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest2G0818', - 'FEATUREcomputenest1Z49ZW', - 'FEATUREcomputenest21Y74A', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '220936', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. Generate a unique value for this parameter. The value of ClientToken can contain only ASCII characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9****'], ], [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => 'Number of items per page in a paginated query. The maximum is 100, and the default is 20.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'NextToken', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAYChudnQUoBH+mGWFpb6oP0=', - ], + 'schema' => ['description' => 'The region ID of the service instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'Filter', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The filter.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The filter.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'Filter value.', - 'type' => 'array', - 'items' => [ - 'description' => 'Filter value.', - 'type' => 'string', - 'required' => false, - 'example' => 'sr-xxx', - ], - 'required' => false, - 'maxItems' => 20, - ], - 'Name' => [ - 'description' => 'Name of the filter field. Allowed values:'."\n" - ."\n" - .'- SupplierUid: The aliUid of supplier.'."\n" - .'- SupplierName: The name of supplier.'."\n" - .'- RegistrationId: Registration ID.'."\n" - ."\n" - .'- Status: Registration status. Allowed values: Submitted, Approved, Rejected.', - 'type' => 'string', - 'required' => false, - 'example' => 'SupplierUid', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The ID of the service instance.'."\n" + ."\n" + .'Call the [ListServiceInstances](~~396200~~) operation to get the service instance ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-d6ab3a63ccbb4b17****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.', - 'type' => 'string', - 'example' => 'AAAAAdx9kBO7qKpr9My/+XQo0oY=', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C6CC568D-xxxx-xxxx-xxxx-08EB8E9F9F20', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'SupplierRegistrations' => [ - 'description' => 'The supplier registrations', - 'type' => 'array', - 'items' => [ - 'description' => 'The supplier registration.', - 'type' => 'object', - 'properties' => [ - 'RegistrationId' => [ - 'description' => 'The registration ID.'."\n", - 'type' => 'string', - 'example' => 'sr-xxx', - ], - 'SupplierUid' => [ - 'description' => 'The Alibaba Cloud account ID of the service provider.'."\n", - 'type' => 'string', - 'example' => '1256xxx23434', - ], - 'SupplierName' => [ - 'description' => 'The name of the service provider.'."\n", - 'type' => 'string', - 'example' => 'Aliibaba Cloud', - ], - 'SupplierNameEn' => [ - 'description' => 'The english name of the service provider.', - 'type' => 'string', - 'example' => 'Alibaba Cloud ComputeNest', - ], - 'SupplierUrl' => [ - 'description' => 'The URL of the service provider.'."\n", - 'type' => 'string', - 'example' => 'https://www.guangbao-uni.com', - ], - 'SupplierDesc' => [ - 'description' => 'The description of service provider.', - 'type' => 'string', - 'example' => 'Test supplier', - ], - 'SupplierLogo' => [ - 'description' => 'The Logo of service provider.', - 'type' => 'string', - 'example' => 'https://service-info-public.oss-cn-hangzhou.aliyuncs.com/xxx/service-xxx/xxx.png', - ], - 'ProductBusiness' => [ - 'description' => 'The business of product.', - 'type' => 'string', - 'example' => 'AI', - ], - 'ProductDeliveryTypes' => [ - 'description' => 'Product delivery type,Valid values:'."\n" - ."\n" - .'SaaS'."\n" - .'License'."\n" - .'API'."\n" - .'DesktopSoftware'."\n" - .'Others', - 'type' => 'string', - 'example' => 'SaaS', - ], - 'EnableResellerMode' => [ - 'description' => 'Whether to enable the resell mode.', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ProductPublishTime' => [ - 'description' => 'The publish time of product.', - 'type' => 'string', - 'example' => '2024.10.24', - ], - 'ContactPerson' => [ - 'description' => 'Contact person', - 'type' => 'string', - 'example' => 'Mike', - ], - 'ContactPersonTitle' => [ - 'description' => 'Contact person tiltle.', - 'type' => 'string', - 'example' => 'CTO', - ], - 'ContactNumber' => [ - 'description' => 'Contact number', - 'type' => 'string', - 'example' => '135xxxxxxxx', - ], - 'ContactEmail' => [ - 'description' => 'Contact email', - 'type' => 'string', - 'example' => 'test@163.com', - ], - 'Status' => [ - 'description' => 'The deployment state of the registration. Valid values:'."\n" - ."\n" - .'- Submitted'."\n" - .'- Approved'."\n" - .'- Rejected', - 'type' => 'string', - 'example' => 'Submitted', - ], - 'SubmitTime' => [ - 'description' => 'The submit time of this registration.', - 'type' => 'string', - 'example' => '2025-01-22 09:47:58 '."\n", - ], - 'ProductSellTypes' => [ - 'description' => 'Product sell type, Valid values:'."\n" - ."\n" - .'- Direct'."\n" - .'- Channel', - 'type' => 'string', - 'example' => 'Direct', - ], - 'Comment' => [ - 'description' => 'The comment of this registration.', - 'type' => 'string', - 'example' => 'empty', - ], - 'ResellBusinessDesc' => [ - 'description' => 'The description of resell business.', - 'type' => 'string', - 'example' => 'empty'."\n", - ], - 'ProductAnnualRevenue' => [ - 'description' => 'Annual product revenue', - 'type' => 'string', - 'example' => 'empty'."\n", - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAdx9kBO7qKpr9My/+XQo0oY=\\",\\n \\"RequestId\\": \\"C6CC568D-xxxx-xxxx-xxxx-08EB8E9F9F20\\",\\n \\"TotalCount\\": 3,\\n \\"MaxResults\\": 20,\\n \\"SupplierRegistrations\\": [\\n {\\n \\"RegistrationId\\": \\"sr-xxx\\",\\n \\"SupplierUid\\": \\"1256xxx23434\\",\\n \\"SupplierName\\": \\"计算巢社区服务\\",\\n \\"SupplierNameEn\\": \\"Alibaba Cloud ComputeNest\\",\\n \\"SupplierUrl\\": \\"https://www.guangbao-uni.com\\",\\n \\"SupplierDesc\\": \\"服务商测试申请\\",\\n \\"SupplierLogo\\": \\"https://service-info-public.oss-cn-hangzhou.aliyuncs.com/xxx/service-xxx/xxx.png\\",\\n \\"ProductBusiness\\": \\"AI\\",\\n \\"ProductDeliveryTypes\\": \\"SaaS\\",\\n \\"EnableResellerMode\\": false,\\n \\"ProductPublishTime\\": \\"2024.10.24\\",\\n \\"ContactPerson\\": \\"张三\\",\\n \\"ContactPersonTitle\\": \\"CTO\\",\\n \\"ContactNumber\\": \\"135xxxxxxxx\\",\\n \\"ContactEmail\\": \\"test@163.com\\",\\n \\"Status\\": \\"Submitted\\",\\n \\"SubmitTime\\": \\"2025-01-22 09:47:58\\\\t\\\\n\\",\\n \\"ProductSellTypes\\": \\"直销\\",\\n \\"Comment\\": \\"无\\",\\n \\"ResellBusinessDesc\\": \\"无\\",\\n \\"ProductAnnualRevenue\\": \\"1000万\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListSupplierRegistrations', - 'translator' => 'machine', - ], - 'UpdateSupplierInformation' => [ - 'summary' => 'Update the information of supplier.', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'RestartServiceInstance', + 'summary' => 'Call the RestartServiceInstance operation to restart a service instance whose status is Deployed.', + 'description' => '### Prerequisites'."\n" + ."\n" + .'Ensure that you add the restart Operations and Maintenance (O\\&M) operation when you create the service. For more information, see [Create a service](~~440268~~).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RestartServiceInstance'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:RestartServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX\\"\\n}","type":"json"}]', + ], + 'RollbackServiceInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13578,189 +10605,166 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '43088', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest1Z49ZW', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '162314', + 'abilityTreeNodes' => ['FEATUREcomputenestYPH9R9'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'OperationIp', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The Ip of operation.', - 'type' => 'string', - 'required' => false, - 'example' => '192.xxx.xxx.xxx/16,192.xxx.xxx.xxx', - ], + 'schema' => ['description' => 'The service instance ID.'."\n" + ."\n" + .'Call [ListServiceInstances](~~396200~~) to obtain the service instance ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => 'si-3a8f9a75da074f52b969'], ], [ - 'name' => 'OperationMfaPresent', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The MFA of operation.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. Generate a unique value on your client for each request. The **ClientToken** can contain only ASCII characters and must be no more than 64 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9D51H'], ], - [ - 'name' => 'DeliverySettings', - 'in' => 'query', - 'style' => 'flat', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The delivery settings.'."\n", 'type' => 'object', 'properties' => [ - 'OssEnabled' => [ - 'description' => 'Specifies whether to enable screencast delivery to Object Storage Service (OSS). Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'OssBucketName' => [ - 'description' => 'The name of the OSS bucket.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mybucket', - ], - 'OssPath' => [ - 'description' => 'The OSS path.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'path1/path2/', - ], - 'OssExpirationDays' => [ - 'description' => 'The number of days for which the screencasts are saved.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '7', - ], + 'Status' => ['description' => 'The deployment status of the service instance. Valid values:'."\n" + ."\n" + .'- Created: The service instance is created.'."\n" + ."\n" + .'- Deploying: The service instance is being deployed.'."\n" + ."\n" + .'- DeployedFailed: The deployment of the service instance failed.'."\n" + ."\n" + .'- Deployed: The service instance is deployed.'."\n" + ."\n" + .'- Upgrading: The service instance is being upgraded.'."\n" + ."\n" + .'- UpgradeRollbacking: The service instance is being rolled back.'."\n" + ."\n" + .'- Deleting: The service instance is being deleted.'."\n" + ."\n" + .'- Deleted: The service instance is deleted.'."\n" + ."\n" + .'- DeletedFailed: The deletion of the service instance failed.', 'type' => 'string', 'title' => '', 'example' => 'UpgradeRollbacking'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EE9EF87D-46F8-5AF6-9A65-6B034E204136'], + 'ServiceInstanceId' => ['description' => 'The service instance ID.', 'type' => 'string', 'title' => '', 'example' => 'si-5289e1d6d0c14397881d'], ], - 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Rollback Service Instance', + 'summary' => 'Rolls back an upgraded service instance to its previous version.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RollbackServiceInstance'], + ], + ], + 'ramActions' => [ [ - 'name' => 'SupplierDesc', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of service provider.', - 'type' => 'string', - 'required' => false, - 'example' => 'Test supplier', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:RollbackServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"UpgradeRollbacking\\",\\n \\"RequestId\\": \\"EE9EF87D-46F8-5AF6-9A65-6B034E204136\\",\\n \\"ServiceInstanceId\\": \\"si-5289e1d6d0c14397881d\\"\\n}","type":"json"}]', + ], + 'StartServiceInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SupplierUrl', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220935', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The URL of the service provider.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'http://www.xxx.xxx.cn', - ], + 'schema' => ['description' => 'A client token that is used to ensure the idempotence of the request. Generate a value for this parameter from your client and make sure that the value is unique among different requests. ClientToken can contain only ASCII characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9****'], ], [ - 'name' => 'SupplierLogo', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The Logo of service provider.', - 'type' => 'string', - 'required' => false, - 'example' => 'http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png', - ], + 'schema' => ['description' => 'The ID of the region where the service instance resides.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'SupportContacts', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'Contact information of the service provider', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The type of contact information', - 'type' => 'string', - 'required' => false, - 'example' => 'Email', - ], - 'Value' => [ - 'description' => 'The value of contact information', - 'type' => 'string', - 'required' => false, - 'example' => 'supplier@example.com', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The ID of the service instance.'."\n" + ."\n" + .'You can call the [ListServiceInstances](~~396200~~) operation to query the IDs of service instances.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-d6ab3a63ccbb4b17****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', - ], - 'SupplierName' => [ - 'description' => 'The name of the service provider.'."\n", - 'type' => 'string', - 'example' => 'Alibaba Cloud', - ], - 'SupplierUrl' => [ - 'description' => 'The URL of the service provider.'."\n", - 'type' => 'string', - 'example' => 'http://www.xxx.xxx.cn', - ], - 'SupplierDesc' => [ - 'description' => 'The description of service provider.', - 'type' => 'string', - 'example' => 'Test supplier', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '2E91D771-0183-52CE-86CB-882D99B2CB77'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"SupplierName\\": \\"A公司\\",\\n \\"SupplierUrl\\": \\"http://www.xxx.xxx.cn\\",\\n \\"SupplierDesc\\": \\"阿里云计算巢\\"\\n}","type":"json"}]', - 'title' => 'UpdateSupplierInformation', - ], - 'PushMeteringData' => [ - 'summary' => 'Pushes metering data of an Alibaba Cloud Marketplace commodity.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'StartServiceInstance', + 'summary' => 'Starts a service instance when its status is Stopped or StartFailed.', + 'description' => '### Prerequisites'."\n" + ."\n" + .'Ensure that you add the startup and shutdown O\\&M operations when you create the service. For more information, see [Create a service](~~440268~~).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartServiceInstance'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:StartServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E91D771-0183-52CE-86CB-882D99B2CB77\\"\\n}","type":"json"}]', + ], + 'StopServiceInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13769,99 +10773,76 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '186185', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], + 'abilityTreeCode' => '220569', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Metering', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The metering data. Parameters in the example value:'."\n" - ."\n" - .'* InstanceId: the ID of an instance in Alibaba Cloud Marketplace. Parameter type: STRING.'."\n" - ."\n" - .'* StartTime: the time when the metering operation started. Set the parameter to a UNIX timestamp. Unit: seconds. Parameter type: LONG.'."\n" - ."\n" - .'* EndTime: the time when the metering operation ended. Set the parameter to a UNIX timestamp. Unit: seconds. Parameter type: LONG.'."\n" - ."\n" - .'* Entities: the metering entities. Parameter type: LIST.'."\n" - ."\n" - .' * Key: the name of the metering item. Parameter type: STRING.'."\n" - ."\n" - .' * Frequency: the number of times the instance was used.'."\n" - .' * Period: the usage duration of the instance. Unit: seconds.'."\n" - ."\n" - .' Note: The metering unit is second, whereas the billing unit is hour. Therefore, when bills are generated, seconds are converted to hours. For example, the usage metered from 19:00 to 20:00 is 1800 seconds and the price is USD 1 per hour. In this case, the hourly bill for 19:00 to 20:00 is calculated by using the following formula: 1800/3600 x 1 = 0.5. If the result is a decimal, only the first two decimal places are retained.'."\n" - ."\n" - .' - Storage: The used storage space. Unit: bytes. '."\n" - .' Note: The metering unit is byte, whereas the billing unit is MB. Therefore, when bills are generated, bytes are converted to megabytes. For example, the usage metered from 19:00 to 20:00 is 524,288 bytes and the price is USD 1 per MB. In this case, the hourly bill for 19:00 to 20:00 is calculated by using the following formula: 524288/1024/1024 x 1 = 0.5. If the result is a decimal, only the first two decimal places are retained. - NetworkOut: the upstream traffic consumed. Unit: bit. '."\n" - .' Note: The metering unit is bit, whereas the billing unit is Mbit. Therefore, when bills are generated, bits are converted to megabits. For example, the usage metered from 19:00 to 20:00 is 524,288 bits and the price is USD 1 per Mbit. In this case, the hourly bill for 19:00 to 20:00 is calculated by using the following formula: 524288/1024/1024 x 1 = 0.5. If the result is a decimal, only the first two decimal places are retained. - NetworkIn: the downstream traffic consumed. Unit: bit. '."\n" - .' Note: The metering unit is bit, whereas the billing unit is Mbit. Therefore, when bills are generated, bits are converted to megabits. For example, the usage metered from 19:00 to 20:00 is 524,288 bits and the price is USD 1 per Mbit. In this case, the hourly bill for 19:00 to 20:00 is calculated by using the following formula: 524288/1024/1024 x 1 = 0.5. If the result is a decimal, only the first two decimal places are retained. - Character: the number of characters.'."\n" - .' - DailyActiveUser: the number of daily active users (DAU).'."\n" - .' - PeriodMin: the usage duration of the instance. Unit: minutes. - VirtualCpu: the number of virtual CPU cores.'."\n" - ."\n" - .' * Value: the value of the metering item. The value is equal to or greater than 0. Parameter type: INTEGER.'."\n" - ."\n" - .'**Note**:'."\n" - ."\n" - .'* If bills are generated for the commodity in real time, the difference between the values of StartTime and EndTime is not limited. However, the time specified by EndTime must be later than that specified by StartTime.'."\n" - .'* If bills are generated for the commodity by billing cycle, such as by hour, by day, or by month, the difference between the values of StartTime and EndTime must be greater than 5 minutes.'."\n" - .'* In a request for pushing multiple metering data records, the values of InstanceId must indicate instances of the same commodity. You cannot push metering data of instances of multiple commodities at a time.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => '[{\\"StartTime\\":1681264800,\\"EndTime\\":1681268400,\\"Entities\\":[{\\"Key\\":\\"Unit\\",\\"Value\\":\\"0\\"}]}]', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. Generate a unique value for this parameter on your client. The token can contain only ASCII characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9****'], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the service instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'ServiceInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The service instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'si-0e6fca6a51a54420****', - ], + 'schema' => ['description' => 'The ID of the service instance.'."\n" + ."\n" + .'Call the [ListServiceInstances](~~396200~~) operation to obtain the service instance ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-c39ed4779cec449f****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Response schema.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '94E89857-B994-44B6-9C4F-DBD200E9XXXX', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '49A369EF-A302-5006-B0CE-94CED47C38CF'], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"94E89857-B994-44B6-9C4F-DBD200E9XXXX\\"\\n}","type":"json"}]', - 'title' => 'PushMeteringData', - ], - 'CreateOpsNotice' => [ - 'summary' => '创建运维公告', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'StopServiceInstance', + 'summary' => 'This operation stops a service instance that is in the Deployed or StopFailed state.', + 'description' => '### Prerequisites'."\n" + ."\n" + .'Ensure that you configured the startup and shutdown operations and maintenance (O\\&M) when you created the service. For more information, see [Create a service](~~440268~~).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopServiceInstance'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:StopServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"49A369EF-A302-5006-B0CE-94CED47C38CF\\"\\n}","type":"json"}]', + ], + 'TagResources' => [ + 'summary' => 'Creates and attaches tags to one or more resources.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13870,125 +10851,68 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '155234', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestLT7VZ3', - ], + 'abilityTreeCode' => '145740', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10CM943JP0EN9D51H', - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ServiceInstanceUpgrade', - ], - ], - [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'service-0e6fca6a51a54420****', - ], - ], - [ - 'name' => 'ServiceVersion', + 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The resource tags.', 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The resource tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key of the resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Key1'."\n"], + 'Value' => ['description' => 'The tag value of the resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Value1'."\n"], + ], 'required' => false, - 'example' => '2', + 'title' => '', + 'example' => '', ], - 'required' => true, - 'docRequired' => true, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'Category', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Availability', + 'required' => false, + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Severity', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'High', - ], + 'schema' => ['description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- service: a service.'."\n" + ."\n" + .'- serviceinstance: a service instance.'."\n" + ."\n" + .'- artifact: an artifact.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service'], ], [ - 'name' => 'Content', + 'name' => 'ResourceId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The resource ID.', + 'type' => 'array', + 'items' => ['description' => 'The resource ID. You can specify up to 50 resource IDs.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'r-xxx'."\n"], 'required' => true, - 'example' => 'content', - ], - ], - [ - 'name' => 'Solutions', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'You need to upgrade the service instance', - ], - ], - [ - 'name' => 'Attributes', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'required' => false, - 'example' => '{"cveId":"CVE-2021-4034"}', + 'maxItems' => 50, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], @@ -13997,27 +10921,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'."\n"], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\"\\n}","type":"json"}]', - ], - 'CreateServiceTestTask' => [ - 'summary' => 'Create service test task', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'TagResoures', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#AccountId}:serviceinstance/{#ServiceInstanceId}'], + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#AccountId}:artifact/{#ArtifactId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\\\n\\"\\n}","type":"json"}]', + ], + 'UnTagResources' => [ + 'summary' => 'Removes tags from resources.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14026,1095 +10966,1127 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '164226', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestHX5MKK', - ], + 'abilityTreeCode' => '145741', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'TaskName', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'title' => '任务名称', - 'description' => 'The name of the task.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'nametest', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'TestCaseIds', + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => 'The resource type. Valid values:'."\n" + ."\n" + .'- service: a service.'."\n" + ."\n" + .'- serviceinstance: a service instance.'."\n" + ."\n" + .'- artifact: an artifact.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service'], + ], + [ + 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'title' => '服务测试用例', - 'description' => 'The service test case ids.', + 'description' => 'The resource ID.', 'type' => 'array', - 'items' => [ - 'description' => 'The test case id.', - 'type' => 'string', - 'required' => false, - 'example' => 'stc-xxxx', - ], + 'items' => ['description' => 'The resource ID. You can specify up to 50 resource IDs.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'r-xxx'."\n"], 'required' => true, - 'maxItems' => 10, + 'maxItems' => 50, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'TaskRegionId', + 'name' => 'All', 'in' => 'query', - 'schema' => [ - 'description' => 'The Task Execution Region', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => 'Specifies whether to remove all tags from the resources. This parameter takes effect only when TagKey is not specified. Default value: false. Valid values:'."\n" + ."\n" + .'- true'."\n" + ."\n" + .'- false', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'."\n"], ], [ - 'name' => 'RegionId', + 'name' => 'TagKey', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', + 'description' => 'The tag keys of the resource.', + 'type' => 'array', + 'items' => ['description' => 'The tag key of the resource.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Key1'."\n"], 'required' => false, - 'example' => 'cn-hangzhou', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PlainResult<ServiceTestTaskModel>', - 'description' => 'PlainResult<ServiceTestTaskModel>', 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'example' => 'stt-568c2c5a687a409b977e', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DF0F666F-FBBC-55C3-A368-C955DE7B4839', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'."\n"], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": \\"stt-568c2c5a687a409b977e\\",\\n \\"RequestId\\": \\"DF0F666F-FBBC-55C3-A368-C955DE7B4839\\"\\n}","type":"json"}]', - 'title' => 'CreateServiceTestTask', - ], - 'ListServiceTestTasks' => [ - 'summary' => 'Get task execution list', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UnTagResources', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnTagResources'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UnTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\\\n\\"\\n}","type":"json"}]', + ], + 'UpdateArtifact' => [ + 'summary' => 'Updates an artifact.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '163665', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestHX5MKK', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '132193', + 'abilityTreeNodes' => ['FEATUREcomputenest4Y9BYP'], ], 'parameters' => [ [ - 'name' => 'ServiceId', + 'name' => 'ArtifactId', 'in' => 'query', - 'schema' => [ - 'title' => '服务商ID', - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'service-062ae8e13b394dd5b63c', - ], + 'schema' => ['description' => 'The ID of the artifact.'."\n" + ."\n" + .'To obtain the artifact ID, call the [ListArtifacts](~~469993~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'artifact-eea08d1e2d3a43ae****', 'title' => ''], ], [ - 'name' => 'ServiceVersion', + 'name' => 'VersionName', 'in' => 'query', - 'schema' => [ - 'title' => '服务版本', - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'draft', - ], + 'schema' => ['description' => 'The name of the artifact version.', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'Description', 'in' => 'query', + 'schema' => ['description' => 'The description of the artifact.', 'type' => 'string', 'example' => 'Redhat8_0 image', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'ArtifactProperty', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'Number of items per page in a paginated query. The maximum is 100, and the default is 20.', - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The properties of the artifact.', + 'type' => 'object', + 'properties' => [ + 'Url' => ['description' => 'The URL of the file artifact.'."\n" + ."\n" + .'You can upload the file and obtain its URL in the [Object Storage Service console](https://oss.console.aliyun.com/bucket).', 'type' => 'string', 'required' => false, 'example' => 'https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852865****/template/2e1ce8fc-****-481c-9e8e-789ba9db487d.json', 'title' => ''], + 'RegionId' => ['description' => 'The region of the image.'."\n" + ."\n" + .'> This parameter is available only for image artifacts.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'ImageId' => ['description' => 'The ID of the image.'."\n" + ."\n" + .'After you specify a region ID, call the [DescribeImages](~~2679797~~) operation to query available image IDs in that region.'."\n" + ."\n" + .'> This parameter is available only for image artifacts.', 'type' => 'string', 'required' => false, 'example' => 'm-0xij191j9cuev6uc****', 'title' => ''], + 'CommodityCode' => ['description' => 'The code of the Alibaba Cloud Marketplace product.'."\n" + ."\n" + .'You can obtain the product code in the [Alibaba Cloud Marketplace console](https://market.console.aliyun.com/?spm=a2c4g.11186623.0.0.599d6787eMBBxu#/apiTools?_k=d7j8gk).'."\n" + ."\n" + .'> This parameter is available only for image artifacts.', 'type' => 'string', 'required' => false, 'example' => 'cmjj00****', 'title' => ''], + 'CommodityVersion' => ['description' => 'The version of the Alibaba Cloud Marketplace product.'."\n" + ."\n" + .'You can view the product version on the [Alibaba Cloud Marketplace page](https://market.aliyun.com/?spm=5176.24779694.0.0.b2144d22sksKM5).'."\n" + ."\n" + .'> This parameter is available only for image artifacts.', 'type' => 'string', 'required' => false, 'example' => 'V1.0', 'title' => ''], + 'RepoName' => ['description' => 'The name of the image repository.'."\n" + ."\n" + .'> This parameter is available only for container image artifacts and Helm Chart artifacts.', 'type' => 'string', 'required' => false, 'example' => 'wordpress', 'title' => ''], + 'RepoId' => ['description' => 'The ID of the image repository.'."\n" + ."\n" + .'To obtain the image repository ID, call the [ListAcrImageRepositories](~~2539919~~) operation.'."\n" + ."\n" + .'> This parameter is available only for container image artifacts and Helm Chart artifacts.', 'type' => 'string', 'required' => false, 'example' => 'crr-d8o1nponyc2t****', 'title' => ''], + 'Tag' => ['description' => 'The version tag of the image in the repository.'."\n" + ."\n" + .'To obtain the version tag, call the [ListAcrImageTags](~~2539920~~) operation.'."\n" + ."\n" + .'> This parameter is available only for container image artifacts and Helm Chart artifacts.', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''], + 'RepoType' => ['description' => 'The permission type of the repository. Valid values:'."\n" + ."\n" + .'- `Public`: public repository'."\n" + ."\n" + .'- `Private`: private repository'."\n" + ."\n" + .'> This parameter is available only for container image artifacts and Helm Chart artifacts.', 'type' => 'string', 'required' => false, 'example' => 'Public', 'title' => ''], + ], 'required' => false, - 'example' => '20', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'NextToken', + 'name' => 'SupportRegionIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', + 'description' => 'The IDs of regions to which the image can be distributed.', + 'type' => 'array', + 'items' => ['description' => 'The ID of a region to which the image can be distributed.'."\n" + ."\n" + .'> This parameter is available only for ECS image artifacts.', 'type' => 'string', 'required' => false, 'example' => '["cn-hangzhou","cn-beijing"]', 'title' => ''], 'required' => false, - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + 'maxItems' => 30, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Filter', + 'name' => 'ArtifactBuildProperty', 'in' => 'query', - 'style' => 'repeatList', + 'style' => 'json', 'schema' => [ - 'description' => 'The filters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The filter.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The parameter name of the filter. You can specify one or more parameter names to query services. Valid values:'."\n" + 'description' => 'The properties for building the artifact. This is used for managed artifact builds.', + 'type' => 'object', + 'properties' => [ + 'CommandType' => ['description' => 'The command type. Valid values:'."\n" + ."\n" + .'- RunBatScript: The command is a batch script that runs on a Windows instance.'."\n" + ."\n" + .'- RunPowerShellScript: The command is a PowerShell script that runs on a Windows instance.'."\n" + ."\n" + .'- RunShellScript: The command is a shell script that runs on a Linux instance.'."\n" + ."\n" + .'> This parameter is available only for ECS image artifacts.', 'type' => 'string', 'required' => false, 'example' => 'RunShellScript', 'title' => ''], + 'CommandContent' => ['description' => 'The content of the command.'."\n" + ."\n" + .'> This parameter is available only for ECS image artifacts.', 'type' => 'string', 'required' => false, 'example' => 'echo "start run command"', 'title' => ''], + 'SourceImageId' => ['description' => 'The source image ID. The following types are supported:'."\n" + ."\n" + .'- Image ID: The ID of the ECS image.'."\n" + ."\n" + .'- OOS common parameter name: The system automatically obtains the corresponding image ID based on the OOS common parameter name.'."\n" + ."\n" + .'> This parameter is available only for ECS image artifacts.', 'type' => 'string', 'example' => 'Image ID: m-t4nhenrdc38pe4*****'."\n" + .'ubuntu_22_04_x64_20G_alibase_20240926.vhd'."\n" + .'OOS public parameter name: aliyun/services/computenest/images/aliyun_3_2104_python_3_11', 'required' => false, 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region where the source image is located.'."\n" + ."\n" + .'> This parameter is available only for ECS image artifacts.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'CodeRepo' => [ + 'description' => 'The code repository address.'."\n" + ."\n" + .'> This parameter is available only when \\`ArtifactBuildType\\` is set to \\`Dockerfile\\` or \\`Buildpacks\\`.', + 'type' => 'object', + 'properties' => [ + 'Platform' => ['description' => 'The platform of the code repository. Valid values:'."\n" ."\n" - .'* Status: the status of the task.'."\n" - .'* TaskId: the task id.', - 'type' => 'string', - 'required' => false, - 'example' => 'Status', + .'- github'."\n" + ."\n" + .'- gitee'."\n" + ."\n" + .'- gitlab'."\n" + ."\n" + .'- codeup', 'type' => 'string', 'required' => false, 'example' => 'github', 'title' => ''], + 'RepoName' => ['description' => 'The repository name.', 'type' => 'string', 'required' => false, 'example' => 'aliyun-computenest/quickstart-Lobexxx', 'title' => ''], + 'Owner' => ['description' => 'The owner of the code repository.'."\n" + ."\n" + .'> This parameter is required only if the code repository is private.', 'type' => 'string', 'required' => false, 'example' => 'aliyun-computenest', 'title' => ''], + 'Branch' => ['description' => 'The branch name of the code repository.', 'type' => 'string', 'required' => false, 'example' => 'main'."\n", 'title' => ''], + 'Endpoint' => ['description' => 'The endpoint. This parameter is required for a private GitLab deployment.', 'type' => 'string', 'required' => false, 'example' => 'http://121.40.25.0', 'title' => ''], + 'OrgId' => ['description' => 'The organization ID.', 'type' => 'string', 'required' => false, 'example' => '455231', 'title' => ''], + 'RepoId' => ['description' => 'The repository ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '103', 'title' => ''], ], - 'Value' => [ - 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Filter value.', - 'type' => 'string', - 'required' => false, - 'example' => 'value1', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'DockerfilePath' => ['description' => 'The relative path of the Dockerfile in the code repository.'."\n" + ."\n" + .'Default value: Dockerfile'."\n" + ."\n" + .'> This parameter is available only when \\`ArtifactBuildType\\` is set to \\`Dockerfile\\`.', 'type' => 'string', 'required' => false, 'example' => './file/Dockerfile', 'title' => ''], + 'BuildArgs' => [ + 'description' => 'The build arguments.'."\n" + ."\n" + .'> This parameter is available only when \\`ArtifactBuildType\\` is set to \\`Dockerfile\\`.', + 'type' => 'array', + 'items' => [ + 'description' => 'Used for \\`docker build --build-arg\\`.', + 'type' => 'object', + 'properties' => [ + 'ArgumentName' => ['description' => 'The name of the build argument.', 'type' => 'string', 'required' => false, 'example' => 'ENV'."\n", 'title' => ''], + 'ArgumentValue' => ['description' => 'The value of the build argument.', 'type' => 'string', 'required' => false, 'example' => 'nginx:latest', 'title' => ''], ], 'required' => false, - 'maxItems' => 20, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, + 'SourceContainerImage' => ['description' => 'The pull URL of the source container image.'."\n" + ."\n" + .'Used for \\`docker pull ${SourceContainerImage}\\`.'."\n" + ."\n" + .'> This parameter is available only when \\`ArtifactBuildType\\` is set to \\`ContainerImage\\`.', 'type' => 'string', 'required' => false, 'example' => 'pytorch/pytorch:2.5.1-cuda12.4-cudnn9-devel', 'title' => ''], + 'SystemDiskSize' => ['description' => 'The size of the system disk. Unit: GiB.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '40', 'title' => ''], + 'EnableGpu' => ['description' => 'Specifies whether to use a GPU-accelerated instance for the build. By default, a CPU instance is used.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], 'required' => false, - 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'RegionId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'A client token to ensure the idempotence of the request. Generate a unique token for each request from your client. The **ClientToken** can contain only ASCII characters and must be no more than 64 characters long.', 'type' => 'string', 'required' => false, 'example' => '10CM943JP0EN9D51H', 'title' => ''], + ], + [ + 'name' => 'PermissionType', + 'in' => 'query', + 'schema' => ['description' => 'The permission type. This parameter is valid for container image artifacts and Helm Chart artifacts. The value can be changed only from \\`Automatic\\` to \\`Public\\`. Valid values:'."\n" + ."\n" + .'- Public'."\n" + ."\n" + .'- Automatic', 'type' => 'string', 'required' => false, 'example' => 'Public', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'NextTokenListResult<ServiceTestTaskModel>', - 'description' => 'NextTokenListResult<ServiceTestTaskModel>', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', - ], - 'MaxResults' => [ - 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Count' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', - ], - 'ServiceTestTasks' => [ - 'description' => 'The service test tasks.', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'example' => 'sttt-000h5nd4yrg59ucurzy1', - ], - 'TaskName' => [ - 'description' => 'The name of the task.', - 'type' => 'string', - 'example' => 'dadadad', - ], - 'TaskRegionId' => [ - 'description' => 'The task region id.', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => 'The time when the task was created.', - 'type' => 'string', - 'example' => '2024-02-26T02:16:35Z', - ], - 'Status' => [ - 'title' => '执行状态', - 'description' => 'the status of service task.', - 'type' => 'string', - 'example' => 'Success', - ], - ], - 'description' => 'The service test task.', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9F350409-2ACC-5B61-ACD9-3C8995792F8F', 'title' => ''], + 'ArtifactId' => ['description' => 'The artifact ID.', 'type' => 'string', 'example' => 'artifact-eea08d1e2d3a43ae****', 'title' => ''], + 'ArtifactType' => ['description' => 'The artifact type.', 'type' => 'string', 'example' => 'EcsImage', 'title' => ''], + 'VersionName' => ['description' => 'The version name.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'ArtifactVersion' => ['description' => 'The artifact version.', 'type' => 'string', 'example' => '2', 'title' => ''], + 'Description' => ['description' => 'The description of the artifact.', 'type' => 'string', 'example' => 'Redhat8_0 image', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the artifact was modified.', 'type' => 'string', 'example' => '2022-10-20T02:19:55Z', 'title' => ''], + 'Status' => ['description' => 'The status of the artifact.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- Created: The artifact is created.'."\n" + ."\n" + .'- Scanning: The artifact is being scanned.'."\n" + ."\n" + .'- ScanFailed: The artifact failed to be scanned.'."\n" + ."\n" + .'- Delivering: The artifact is being distributed.'."\n" + ."\n" + .'- Available: The artifact is available.'."\n" + ."\n" + .'- Deleted: The artifact is deleted.', 'type' => 'string', 'example' => 'Available', 'title' => ''], + 'ArtifactProperty' => ['description' => 'The content of the artifact.', 'type' => 'string', 'example' => '{\\"CommodityCode\\":\\"cmjj0005****\\",\\"CommodityVersion\\":\\"V2022****\\"}', 'title' => ''], + 'SupportRegionIds' => ['description' => 'The IDs of the regions to which the artifact can be distributed.', 'type' => 'string', 'example' => '['."\n" + .' "cn-beijing",'."\n" + .' "cn-hangzhou",'."\n" + .' "cn-shanghai"'."\n" + .' ]', 'title' => ''], + 'ArtifactBuildProperty' => ['description' => 'The properties for building the artifact. This is used for managed artifact builds.', 'type' => 'string', 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"', 'title' => ''], + 'StatusDetail' => ['description' => 'The details of the artifact status.', 'type' => 'string', 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"'."\n", 'title' => ''], + 'ArtifactBuildType' => ['description' => 'The build type of the artifact.', 'type' => 'string', 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"'."\n", 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"MaxResults\\": 1,\\n \\"Count\\": 9,\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"ServiceTestTasks\\": [\\n {\\n \\"TaskId\\": \\"sttt-000h5nd4yrg59ucurzy1\\",\\n \\"TaskName\\": \\"dadadad\\",\\n \\"TaskRegionId\\": \\"cn-beijing\\",\\n \\"CreateTime\\": \\"2024-02-26T02:16:35Z\\",\\n \\"Status\\": \\"Success\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListServiceTestTasks', - 'translator' => 'machine', - ], - 'ListServiceTestTaskLogs' => [ - 'summary' => 'Get service test real-time logs', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9F350409-2ACC-5B61-ACD9-3C8995792F8F\\",\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0 image\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Status\\": \\"Available\\",\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\"\\\\n\\\\t\\\\t]\\",\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\\\n\\",\\n \\"ArtifactBuildType\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\\\n\\"\\n}","type":"json"}]', + 'title' => 'UpdateArtifact', + 'changeSet' => [ + ['createdAt' => '2025-07-11T02:09:15.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-03-12T08:02:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-01-09T05:49:53.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-16T06:10:12.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-05T03:44:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-02T01:51:33.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-11-06T03:11:35.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-11-06T02:59:07.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateArtifact'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateArtifact', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:artifact/{#ArtifactId}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'UpdateService' => [ + 'summary' => 'Updates a service.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '203228', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestHX5MKK', - ], - 'autoTest' => true, + 'abilityTreeCode' => '36950', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'stt-568c2c5a687a409b977e', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'DeployType', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The deployment type. Valid values:'."\n" + ."\n" + .'- ros: The service is deployed using ROS.'."\n" + ."\n" + .'- terraform: The service is deployed using Terraform.'."\n" + ."\n" + .'- spi: The service is deployed by calling an SPI.'."\n" + ."\n" + .'- operation: The service is an O\\&M service.'."\n" + ."\n" + .'- container: The service is deployed using containers.'."\n" + ."\n" + .'- pkg: The service is a package service.', 'type' => 'string', 'required' => false, 'example' => 'ros', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'DeployMetadata', 'in' => 'query', - 'schema' => [ - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', - ], + 'schema' => ['description' => 'The information about the service deployment configuration. The data format varies based on the deployment type. The value is a JSON string.', 'type' => 'string', 'required' => false, 'example' => '{\\"EstimateTime\\":null,\\"SupplierDeployMetadata\\":{\\"DeployTimeout\\":7200},\\"EnableVnc\\":false}', 'title' => ''], ], [ - 'name' => 'SortOrder', + 'name' => 'AlarmMetadata', 'in' => 'query', - 'schema' => [ - 'description' => 'Sort Order. Possible values:'."\n" - ."\n" - .'+ Ascending: Ascending order'."\n" - ."\n" - .'+ Descending (default value): Descending order', - 'type' => 'string', - 'required' => false, - 'example' => 'Ascending', - 'default' => 'Descending', - 'enum' => [ - 'Descending', - 'Ascending', - ], - ], + 'schema' => ['description' => 'The alert configurations for the service.'."\n" + ."\n" + .'> This configuration takes effect only after you configure an alert-related access policy for **PolicyNames**.', 'type' => 'string', 'required' => false, 'example' => '{\\"CmsTemplateId\\":1162921,\\"TemplateUrl\\":\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/1760465342xxxxxx/template/c072ef50-6c03-4d9c-8f0e-d1c440xxxxxx.json\\"}', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'NextTokenListResult<String>', - 'description' => 'NextTokenListResult<String>', - 'type' => 'object', - 'properties' => [ - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ=', - ], - 'MaxResults' => [ - 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TaskLogs' => [ - 'description' => 'The service test task logs.', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Content' => [ - 'description' => 'The log content.', - 'type' => 'string', - 'example' => 'log content', - ], - 'Timestamp' => [ - 'description' => 'The UTC timestamp when the response is returned.'."\n", - 'type' => 'string', - 'format' => 'iso8601', - 'example' => '2022-12-12T20:00:09Z', - ], - ], - 'description' => 'list', - ], - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'EDEE055B-D5F4-5B92-8F21-999D408F1214', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"MaxResults\\": 20,\\n \\"TaskLogs\\": [\\n {\\n \\"Content\\": \\"log content\\",\\n \\"Timestamp\\": \\"2022-12-12T20:00:09Z\\"\\n }\\n ],\\n \\"RequestId\\": \\"EDEE055B-D5F4-5B92-8F21-999D408F1214\\"\\n}","type":"json"}]', - 'title' => 'ListServiceTestTaskLogs', - 'translator' => 'machine', - ], - 'GetServiceTestTask' => [ - 'summary' => 'Get the execution status of Cases in the service test task', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '258022', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestHX5MKK', + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'A client token to ensure that the request is idempotent. You can use a client to generate the token. Make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '788E7CP0EN9D51P', 'title' => ''], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'title' => '服务商ID', - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'stt-xxxx', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'service-1dda29c3eca648xxxxxx', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'ServiceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The service type. Valid values:'."\n" + ."\n" + .'- private: The service instance is deployed in the user account.'."\n" + ."\n" + .'- managed: The service instance is deployed in the service provider account.'."\n" + ."\n" + .'- operation: The service instance is an O\\&M instance.'."\n" + ."\n" + .'- poc: The service instance is a trial instance.', 'type' => 'string', 'required' => false, 'example' => 'private', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'ServiceInfo', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => 'NextTokenListResult<ServiceTestTaskModel>', - 'description' => 'NextTokenListResult<ServiceTestTaskModel>', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E', - ], - 'TaskName' => [ - 'description' => 'The task name.'."\n", - 'type' => 'string', - 'example' => 'nametest', - ], - 'Status' => [ - 'description' => 'The status of the service test task. Valid values:'."\n" + 'description' => 'The service details.', + 'type' => 'array', + 'items' => [ + 'description' => 'The service details.', + 'type' => 'object', + 'properties' => [ + 'Locale' => ['description' => 'The language of the service. Valid values:'."\n" ."\n" - .'* Running'."\n" - .'* Success'."\n" - .'* Failure', - 'type' => 'string', - 'enumValueTitles' => [ - 'Running' => 'Running', - 'Success' => 'Success', - 'Failure' => 'Failure', - ], - 'example' => 'Running', - ], - 'TaskRegionId' => [ - 'description' => 'The task execution region.', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'ExecutionDetails' => [ - 'description' => 'The execution details.', - 'type' => 'array', - 'items' => [ - 'description' => 'The sub tasks execution details.', - 'type' => 'object', - 'properties' => [ - 'CaseName' => [ - 'description' => 'The service test case name.', - 'type' => 'string', - 'example' => 'case1', - ], - 'Status' => [ - 'title' => '执行状态', - 'description' => 'The sub task status.', - 'type' => 'string', - 'example' => 'Runing', - ], - 'ExecutionReport' => [ - 'description' => 'The execution report', - 'type' => 'string', - 'example' => '-----------------------------------------------------------------------------'."\n" - .'Region: cn-qingdao'."\n" - .'StackName: iact3-default-cn-qingd'."\n" - .'StackId: 009d2991-f494-d'."\n" - .'*****************************************************************************'."\n", + .'- zh-CN: Chinese.'."\n" + ."\n" + .'- en-US: English.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''], + 'ShortDescription' => ['description' => 'The description of the service.', 'type' => 'string', 'required' => false, 'example' => 'B is an open-source distributed relational database independently designed and developed by Company A.', 'title' => ''], + 'Image' => ['description' => 'The URL of the service icon.', 'type' => 'string', 'required' => false, 'example' => 'http://img.tidb.oss.url', 'title' => ''], + 'Name' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'example' => 'Database B', 'title' => ''], + 'LongDescriptionUrl' => ['description' => 'The URL of the detailed description of the service.', 'type' => 'string', 'required' => false, 'example' => 'http://description.tidb.oss.url'."\n", 'title' => ''], + 'Agreements' => [ + 'description' => 'The information about the service agreements.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the service agreements.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the agreement document.', 'type' => 'string', 'required' => false, 'example' => 'Name', 'title' => ''], + 'Url' => ['description' => 'The URL of the agreement.', 'type' => 'string', 'required' => false, 'example' => 'https://aliyun.com/xxxxxxxx.html', 'title' => ''], ], - 'SubTaskId' => [ - 'description' => 'The sub task id.', - 'type' => 'string', - 'example' => 'stt-xxxx'."\n", + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 10, + 'title' => '', + 'example' => '', + ], + 'Softwares' => [ + 'description' => 'The information about the software used in the service.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the software used in the service.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The software name.', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], + 'Version' => ['description' => 'The software version.', 'type' => 'string', 'required' => false, 'example' => '5.7', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'maxItems' => 5, + 'title' => '', + 'example' => '', ], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"TaskName\\": \\"自动化测试任务1\\",\\n \\"Status\\": \\"Running\\",\\n \\"TaskRegionId\\": \\"cn-beijing\\",\\n \\"ExecutionDetails\\": [\\n {\\n \\"CaseName\\": \\"case1\\",\\n \\"Status\\": \\"Runing\\",\\n \\"ExecutionReport\\": \\"-----------------------------------------------------------------------------\\\\nRegion: cn-qingdao\\\\nStackName: iact3-default-cn-qingd\\\\nStackId: 009d2991-f494-d\\\\n*****************************************************************************\\\\n\\",\\n \\"SubTaskId\\": \\"stt-xxxx\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'GetServiceTestTask', - 'translator' => 'machine', - ], - 'GenerateDefaultServiceTestConfig' => [ - 'summary' => '生成默认服务测试配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'IsSupportOperated', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable O\\&M. Default value: false. Valid values:'."\n" + ."\n" + .'- true: enables O\\&M.'."\n" + ."\n" + .'- false: disables O\\&M.'."\n" + ."\n" + .'> This parameter is required when **ServiceType** is set to **private**.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '166100', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestHX5MKK', + [ + 'name' => 'PolicyNames', + 'in' => 'query', + 'schema' => ['description' => 'The policy name. The name of a single policy can be up to 128 characters in length. If you specify multiple policies, separate them with commas (,). Only O\\&M-related policies are supported.', 'type' => 'string', 'required' => false, 'example' => 'policyName1, policyName2', 'title' => ''], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ [ - 'name' => 'ServiceId', + 'name' => 'Duration', 'in' => 'query', - 'schema' => [ - 'title' => '服务ID', - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'service-41ad58439b4b4bf8ae73', - ], + 'schema' => ['description' => 'The O\\&M duration. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '259200', 'title' => ''], + ], + [ + 'name' => 'VersionName', + 'in' => 'query', + 'schema' => ['description' => 'The version name.', 'type' => 'string', 'required' => false, 'example' => 'Draft', 'title' => ''], + ], + [ + 'name' => 'UpgradeMetadata', + 'in' => 'query', + 'schema' => ['description' => 'The upgrade metadata.', 'type' => 'string', 'required' => false, 'example' => '{\\"Description\\":\\"xxx\\",\\"SupportRollback\\":true,\\"SupportUpgradeFromVersions\\":[],\\"UpgradeComponents\\":[\\"Configuration\\"]}', 'title' => ''], + ], + [ + 'name' => 'TrialDuration', + 'in' => 'query', + 'schema' => ['description' => 'The trial duration. Unit: days. The maximum trial duration is 30 days.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '7', 'title' => ''], ], [ 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'title' => '服务版本', - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'draft', - ], + 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'TemplateName', + 'name' => 'TenantType', 'in' => 'query', - 'schema' => [ - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-1', - ], + 'schema' => ['description' => 'The tenant type. Valid values:'."\n" + ."\n" + .'- SingleTenant: The service is single-tenant.'."\n" + ."\n" + .'- MultiTenant: The service is multi-tenant.', 'type' => 'string', 'required' => false, 'example' => 'SingleTenant', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PlainResult<ServiceTestConfigModel>', - 'description' => 'PlainResult<ServiceTestConfigModel>', - 'type' => 'object', - 'properties' => [ - 'TestConfig' => [ - 'description' => 'The service test config', - 'type' => 'string', - 'example' => '---'."\n" - .'parameters:'."\n" - .' PayType: "PostPaid"'."\n" - .' EcsInstanceType: "$[iact3-auto]"'."\n" - .' InstancePassword: "$[iact3-auto]"', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', - ], - ], - ], + [ + 'name' => 'LicenseMetadata', + 'in' => 'query', + 'schema' => ['description' => 'The license metadata.', 'type' => 'string', 'required' => false, 'example' => '{\\"PayType\\":\\"CustomFixTime\\",\\"DefaultLicenseDays\\":7,\\"CustomMetadata\\":[{\\"TemplateName\\":\\" template1\\",\\"SpecificationName\\":\\"bandwith-0\\",\\"CustomData\\":\\"1\\"}]}', 'title' => ''], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TestConfig\\": \\"---\\\\nparameters:\\\\n PayType: \\\\\\"PostPaid\\\\\\"\\\\n EcsInstanceType: \\\\\\"$[iact3-auto]\\\\\\"\\\\n InstancePassword: \\\\\\"$[iact3-auto]\\\\\\"\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\"\\n}","type":"json"}]', - 'title' => 'GenerateDefaultServiceTestConfig', - 'translator' => 'machine', - ], - 'GetServiceRegistration' => [ - 'summary' => 'Get service registration detail.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'OperationMetadata', + 'in' => 'query', + 'schema' => ['description' => 'The O\\&M configuration.', 'type' => 'string', 'required' => false, 'example' => '{\\"PrometheusConfigMap\\":{\\"Custom_Image_Ecs\\":{\\"EnablePrometheus\\":false}}}', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '171561', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestB2MIVU', + [ + 'name' => 'LogMetadata', + 'in' => 'query', + 'schema' => ['description' => 'The application log configurations.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "Logstores": ['."\n" + .' {'."\n" + .' "LogstoreName": "access-log",'."\n" + .' "LogPath": "/home/admin/app/logs", # Not required for containers. Configure in YAML'."\n" + .' "FilePattern": "access.log*" # Not required for containers. Configure in YAML'."\n" + .' }'."\n" + .' ]'."\n" + .'}', 'title' => ''], ], - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'Resellable', 'in' => 'query', - 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Specifies whether to enable distribution. Valid values:'."\n" + ."\n" + .'- false: Distribution is not enabled.'."\n" + ."\n" + .'- true: Distribution is enabled.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'RegistrationId', + 'name' => 'UpdateOption', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'Service registration ID.', - 'type' => 'string', + 'description' => 'The update options.', + 'type' => 'object', + 'properties' => [ + 'UpdateFrom' => ['description' => 'The update option. Valid values:'."\n" + ."\n" + .'- CODE: code.'."\n" + ."\n" + .'- PARAMETERS: parameters.', 'type' => 'string', 'required' => false, 'example' => 'PARAMETERS', 'title' => ''], + 'UpdateArtifact' => ['description' => 'Specifies whether to update the deployment file.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], 'required' => false, - 'example' => 'sr-1b4aabc1c9eb4109****', + 'title' => '', + 'example' => '', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'Commodity', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The commodity information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E', - ], - 'RegistrationId' => [ - 'description' => 'Service registration ID.', - 'type' => 'string', - 'example' => 'sr-1b4aabc1c9eb4109****', - ], - 'ServiceId' => [ - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'example' => 'service-c2d118c9193e49xxxxxx', - ], - 'Status' => [ - 'description' => 'The status of service registration. Valid values:'."\n" - ."\n" - .'* Submitted'."\n" - .'* Approved'."\n" - .'* Rejected'."\n" - .'* Canceled'."\n" - .'* Executed', - 'type' => 'string', - 'example' => 'Submitted', - ], - 'SubmitTime' => [ - 'description' => 'Submit time.', - 'type' => 'string', - 'example' => '2024-12-07T11:05:50Z', - ], - 'FinishTime' => [ - 'description' => 'Finish time.', - 'type' => 'string', - 'example' => '2024-12-07T11:05:50Z', + 'SpecificationMappings' => [ + 'description' => 'The mapping between commodity specifications and templates or packages. This parameter is used in the subscription scenario of Alibaba Cloud Marketplace.', + 'type' => 'array', + 'items' => [ + 'description' => 'The mapping between commodity specifications and templates or packages. This parameter is used in the subscription scenario of Alibaba Cloud Marketplace.', + 'type' => 'object', + 'properties' => [ + 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Template 1', 'required' => false, 'title' => ''], + 'SpecificationName' => ['description' => 'The package name.', 'type' => 'string', 'example' => 'Basic edition', 'required' => false, 'title' => ''], + 'SpecificationCode' => ['description' => 'The specification code.', 'type' => 'string', 'required' => false, 'example' => 'yuncode5767800001', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Comment' => [ - 'description' => 'Comment from reviewer.', - 'type' => 'string', - 'example' => 'comment message', + 'MeteringEntityMappings' => [ + 'description' => 'The mapping between templates or packages and metering dimensions. This parameter is used in the pay-as-you-go scenario of Alibaba Cloud Marketplace.', + 'type' => 'array', + 'items' => [ + 'description' => 'The mapping between templates or packages and metering dimensions. This parameter is used in the pay-as-you-go scenario of Alibaba Cloud Marketplace.', + 'type' => 'object', + 'properties' => [ + 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'required' => false, 'example' => '模板1', 'title' => ''], + 'SpecificationName' => ['description' => 'The package name.', 'type' => 'string', 'required' => false, 'example' => '低配版', 'title' => ''], + 'EntityIds' => [ + 'description' => 'The metering item ID.', + 'type' => 'array', + 'items' => ['description' => 'The metering item ID.', 'type' => 'string', 'required' => false, 'example' => 'cmgj0006xxxx-Memory-1', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'ServiceInfo' => [ - 'description' => 'The service details.', - 'type' => 'object', - 'properties' => [ - 'ServiceType' => [ - 'description' => 'The type of the service. Valid values:'."\n" + 'MeteringEntityExtraInfos' => [ + 'description' => 'The configuration information of the metering item. This parameter is used in the pay-as-you-go scenario of Alibaba Cloud Marketplace.', + 'type' => 'array', + 'items' => [ + 'description' => 'The configuration information of the metering item.', + 'type' => 'object', + 'properties' => [ + 'EntityId' => ['description' => 'The metering item ID.', 'type' => 'string', 'required' => false, 'example' => 'cmgj0006xxxx-Memory-1', 'title' => ''], + 'Type' => ['description' => 'The type. Valid values:'."\n" ."\n" - .'* private: The service is a private service and is deployed within the account of a customer.'."\n" - .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" - .'* operation: The service is a hosted O\\&M service.'."\n", - 'type' => 'string', - 'example' => 'private', - ], - 'VersionName' => [ - 'description' => 'The version name.'."\n", - 'type' => 'string', - 'example' => 'v1.0', - ], - 'TrialType' => [ - 'description' => 'The trial policy. Valid values:'."\n" + .'- **Custom**'."\n" + ."\n" + .'- **ComputeNestBill**'."\n" ."\n" - .'* Trial: Trials are supported.'."\n" - .'* NotTrial: Trials are not supported.'."\n", - 'type' => 'string', - 'example' => 'Trial', + .'- **ComputeNestPrometheus**'."\n" + ."\n" + .'- **ComputeNestTime**', 'type' => 'string', 'required' => false, 'example' => 'Custom', 'title' => ''], + 'MetricName' => ['description' => 'The metric name. This parameter is required when Type is set to ComputeNestBill or ComputeNestPrometheus.', 'type' => 'string', 'required' => false, 'example' => 'VirtualCpu/ecs.InstanceType', 'title' => ''], + 'Promql' => ['description' => 'The Prometheus statement.', 'type' => 'string', 'required' => false, 'example' => 'avg_over_time(sum(rate(container_cpu_usage_seconds_total{namespace=~"ALIYUN::StackName"}[2m]))[1h:10s])', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Detail' => [ - 'description' => 'The details of service audit.', - 'type' => 'object', - 'properties' => [ - 'HasRelatedArtifact' => [ - 'description' => 'Whether service is associated with artifact.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'TemplateDiffUrl' => [ - 'description' => 'The url of template diff file.', - 'type' => 'string', - 'example' => 'https://compute-nest-template-diff-bucket.oss-cn-hangzhou.aliyuncs.com/service-abc/diff', - ], - 'AtRisk' => [ - 'description' => 'Whether risk exists.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Reports' => [ - 'description' => 'The reports.', - 'type' => 'string', - 'example' => '{ "template1":"https://compute-nest-security-audit-bucket.oss-cn-hangzhou.aliyuncs.com/report" }', + 'ComponentsMappings' => [ + 'description' => 'This parameter is not available.', + 'type' => 'array', + 'items' => [ + 'description' => 'This parameter is not available.', + 'type' => 'object', + 'properties' => [ + 'TemplateName' => ['description' => 'This parameter is not available.', 'type' => 'string', 'example' => 'This parameter is not publicly available.', 'required' => false, 'title' => ''], + 'Mappings' => [ + 'description' => 'This parameter is not available.', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['description' => 'This parameter is not available.', 'type' => 'string', 'example' => '此参数不对外开放'."\n" + ."\n", 'title' => ''], + 'example' => 'This parameter is not publicly available.', + 'title' => '', + ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'ServiceVersion' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'example' => 'beta', - ], + 'SaasBoostConfig' => ['description' => 'The configuration of Software as a Service (SaaS) Boost.', 'type' => 'string', 'required' => false, 'example' => '{}', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"RegistrationId\\": \\"sr-1b4aabc1c9eb4109****\\",\\n \\"ServiceId\\": \\"service-c2d118c9193e49xxxxxx\\",\\n \\"Status\\": \\"Submitted\\",\\n \\"SubmitTime\\": \\"2024-12-07T11:05:50Z\\",\\n \\"FinishTime\\": \\"2024-12-07T11:05:50Z\\",\\n \\"Comment\\": \\"comment message\\",\\n \\"ServiceInfo\\": {\\n \\"ServiceType\\": \\"private\\",\\n \\"VersionName\\": \\"v1.0\\",\\n \\"TrialType\\": \\"Trial\\"\\n },\\n \\"Detail\\": {\\n \\"HasRelatedArtifact\\": true,\\n \\"TemplateDiffUrl\\": \\"https://compute-nest-template-diff-bucket.oss-cn-hangzhou.aliyuncs.com/service-abc/diff\\",\\n \\"AtRisk\\": true,\\n \\"Reports\\": \\"{ \\\\\\"模板\\\\\\":\\\\\\"https://compute-nest-security-audit-bucket.oss-cn-hangzhou.aliyuncs.com/report\\\\\\" }\\"\\n },\\n \\"ServiceVersion\\": \\"beta\\"\\n}","type":"json"}]', - 'title' => 'GetServiceRegistration', - ], - 'ListResellers' => [ - 'summary' => 'Paginated query of distributor information list', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ShareType', + 'in' => 'query', + 'schema' => ['description' => 'The sharing type. Valid values:'."\n" + ."\n" + .'- Public: The service is public. Formal and trial deployments are not restricted.'."\n" + ."\n" + .'- Restricted: The service is restricted. Formal and trial deployments are restricted.'."\n" + ."\n" + .'- OnlyFormalRestricted: Only formal deployments are restricted.'."\n" + ."\n" + .'- OnlyTrailRestricted: Only trial deployments are restricted.'."\n" + ."\n" + .'- Hidden: The service is hidden. You cannot view the service or request deployment permissions.', 'type' => 'string', 'required' => false, 'example' => 'Public', 'title' => ''], ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '187909', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestP881UH', + [ + 'name' => 'ApprovalType', + 'in' => 'query', + 'schema' => ['description' => 'The approval type for service usage requests. Valid values:'."\n" + ."\n" + .'- Manual: The request is manually approved.'."\n" + ."\n" + .'- AutoPass: The request is automatically approved.', 'type' => 'string', 'required' => false, 'example' => 'Manual', 'title' => ''], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run for the request. A dry run checks the permissions and the instance status. Valid values:'."\n" + ."\n" + .'- true: sends the request but does not update the service.'."\n" + ."\n" + .'- false: sends the request. If the check is successful, the service is updated.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'ComplianceMetadata', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The compliance check metadata.', + 'type' => 'object', + 'properties' => [ + 'CompliancePacks' => [ + 'description' => 'The selected compliance package.', + 'type' => 'array', + 'items' => ['description' => 'The selected compliance package.', 'type' => 'string', 'required' => false, 'example' => 'VpcDataRisk', 'title' => ''], + 'required' => false, + 'maxItems' => 10, + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => '20', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'NextToken', + 'name' => 'BuildParameters', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAWVmrOoWHbw/80lX0TWxe/s=', - ], + 'schema' => ['description' => 'The parameters for building the service.', 'type' => 'string', 'required' => false, 'example' => '{ "ServiceTemplateId": "st-xxxxx"}', 'title' => ''], ], [ - 'name' => 'Filter', + 'name' => 'ServiceLocaleConfigs', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The filters.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The filter.'."\n", 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'Filter value array.', - 'type' => 'array', - 'items' => [ - 'description' => 'Filter value.', - 'type' => 'string', - 'required' => false, - 'example' => 'Distributor A', - ], - 'required' => false, - 'maxItems' => 20, - ], - 'Name' => [ - 'description' => 'The parameter name of the filter. You can specify one or more parameter names to query services. Valid values:'."\n" - ."\n" - .'* ResellerUid: the uid of the distributor.'."\n" - .'* Name: the name of the distributor.', - 'type' => 'string', - 'required' => false, - 'example' => 'Name', - ], + 'OriginalValue' => ['description' => 'The raw data value of the business information.', 'type' => 'string', 'required' => false, 'example' => 'Service Name'."\n", 'title' => ''], + 'ZhValue' => ['description' => 'The Chinese value of the business information.', 'type' => 'string', 'required' => false, 'example' => '服务名称', 'title' => ''], + 'EnValue' => ['description' => 'The English value of the business information.', 'type' => 'string', 'required' => false, 'example' => 'Service Name'."\n", 'title' => ''], ], + 'description' => 'The multilingual configurations of the service.', 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, 'maxItems' => 100, + 'description' => 'The multilingual configurations of the service.', + 'required' => false, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'IsDefault', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ=', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'SupplierInformation' => [ - 'description' => 'distributor informations', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'SupplierName' => [ - 'description' => 'The name of the distributor', - 'type' => 'string', - 'example' => 'Distributor A', - ], - 'SupplierDesc' => [ - 'description' => 'The description of distributor.', - 'type' => 'string', - 'example' => 'It is a XXXX company', - ], - 'SupplierLogo' => [ - 'description' => 'The Logo of distributor', - 'type' => 'string', - 'example' => 'https://service-info-public.oss-cn-hangzhou.aliyuncs.com/31978070/service-image/d5c3b585-ff6b-4e4e-8885-xxxx.png', - ], - 'SupplierUrl' => [ - 'description' => 'The URL of the distributor.', - 'type' => 'string', - 'example' => 'http://www.aliyun.com', - ], - 'SupplierUid' => [ - 'description' => 'The Alibaba Cloud account ID of the distributor.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '152xxxxxxxxxxx', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DF0F666F-FBBC-55C3-A368-C955DE7B4839', 'title' => ''], + 'DryRunResult' => [ + 'description' => 'The check result. This parameter is returned only when DryRun is set to true.', + 'type' => 'object', + 'properties' => [ + 'RolePolicy' => [ + 'description' => 'The access policy of the deployment role.', + 'type' => 'object', + 'properties' => [ + 'Policy' => ['description' => 'The access policy that is required for the deployment role.', 'type' => 'string', 'example' => '{'."\n" + .' "Statement": [{'."\n" + .' "Action": ["oos:CancelExecutions", "oos:DeleteExecutions", "oos:GetTemplate", "oos:ListExecutions", "oos:ListTemplates", "oos:NotifyExecution", "oos:StartExecution"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }, {'."\n" + .' "Action": ["ram:PassRole"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }, {'."\n" + .' "Action": ["ros:CreateStack", "ros:GetStack", "ros:UpdateStack", "ros:ListStackEvents", "ros:ListStackResources", "ros:ListStackResources", "ros:DeleteStack", "ram:GetRole"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }],'."\n" + .' "Version": "1"'."\n" + .'}', 'title' => ''], + 'MissingPolicy' => [ + 'description' => 'The access policy that is missing for the deployment role.', + 'type' => 'array', + 'items' => [ + 'description' => 'The access policy that is missing for the deployment role.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => ['description' => 'The service name in the access policy.', 'type' => 'string', 'example' => 'ecs', 'title' => ''], + 'Resource' => ['description' => 'The resource in the access policy.', 'type' => 'string', 'example' => '*', 'title' => ''], + 'Action' => [ + 'description' => 'The operation in the access policy.', + 'type' => 'array', + 'items' => ['description' => 'The operation in the access policy.', 'type' => 'string', 'example' => 'CreateStack', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'description' => 'cmgj0006xxxx-Memory-1'."\n", + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"TotalCount\\": 4,\\n \\"MaxResults\\": 20,\\n \\"SupplierInformation\\": [\\n {\\n \\"SupplierName\\": \\"分销商a\\",\\n \\"SupplierDesc\\": \\"分销商a是一家xxxx的公司\\",\\n \\"SupplierLogo\\": \\"https://service-info-public.oss-cn-hangzhou.aliyuncs.com/31978070/service-image/d5c3b585-ff6b-4e4e-8885-xxxx.png\\",\\n \\"SupplierUrl\\": \\"http://www.aliyun.com\\",\\n \\"SupplierUid\\": 0\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'Query Distributors', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DF0F666F-FBBC-55C3-A368-C955DE7B4839\\",\\n \\"DryRunResult\\": {\\n \\"RolePolicy\\": {\\n \\"Policy\\": \\"{\\\\n\\\\t\\\\\\"Statement\\\\\\": [{\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"oos:CancelExecutions\\\\\\", \\\\\\"oos:DeleteExecutions\\\\\\", \\\\\\"oos:GetTemplate\\\\\\", \\\\\\"oos:ListExecutions\\\\\\", \\\\\\"oos:ListTemplates\\\\\\", \\\\\\"oos:NotifyExecution\\\\\\", \\\\\\"oos:StartExecution\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ram:PassRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ros:CreateStack\\\\\\", \\\\\\"ros:GetStack\\\\\\", \\\\\\"ros:UpdateStack\\\\\\", \\\\\\"ros:ListStackEvents\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:DeleteStack\\\\\\", \\\\\\"ram:GetRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}],\\\\n\\\\t\\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\",\\n \\"MissingPolicy\\": [\\n {\\n \\"ServiceName\\": \\"ecs\\",\\n \\"Resource\\": \\"*\\",\\n \\"Action\\": [\\n \\"CreateStack\\"\\n ]\\n }\\n ]\\n }\\n }\\n}","type":"json"}]', + 'title' => 'UpdateService', + 'description' => 'Only approved services can be published.', + 'changeSet' => [ + ['createdAt' => '2025-09-18T08:24:54.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-05-08T09:13:53.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-10-25T02:31:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-10-22T05:37:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-08-23T05:53:53.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-08-05T05:41:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-30T08:17:53.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-15T06:34:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-06-20T08:35:36.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-10T01:47:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-22T01:50:00.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-15T08:46:08.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-03T03:27:45.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-05-25T03:04:09.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-15T03:55:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-06-30T06:31:15.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateService'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], + ], + 'translator' => 'manual', ], - 'DeleteServiceTestCase' => [ - 'summary' => 'Delete service test configuration', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateServiceInstanceAttribute' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '195908', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestHX5MKK', - ], + 'abilityTreeCode' => '142602', + 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'TestCaseId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'title' => '服务ID', - 'description' => 'The service test case id.', - 'type' => 'string', - 'required' => true, - 'example' => 'stc-0b2a3ad7e1de4c299eec', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'RegionId', + 'name' => 'ServiceInstanceId', 'in' => 'query', + 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-3df88e962cdexxxxxxxx'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The time when the service instance expires.', 'type' => 'string', 'format' => 'iso8601', 'required' => false, 'title' => '', 'example' => '2023-12-25T02:28:40Z'], + ], + [ + 'name' => 'LicenseData', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', + 'description' => 'The license data.', + 'type' => 'object', + 'properties' => [ + 'CustomData' => ['description' => 'The custom metadata.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"Test"}'], + 'ResponseInfo' => [ + 'type' => 'object', + 'properties' => [ + 'UpdateResponse' => ['type' => 'boolean', 'required' => false, 'description' => 'Specifies whether to modify the return value.', 'title' => '', 'example' => 'true'], + 'ErrorCode' => ['type' => 'string', 'required' => false, 'description' => 'To impersonate an error message, specify an error code.', 'title' => '', 'example' => 'EntityNotExist.Service'], + 'ErrorMessage' => ['type' => 'string', 'required' => false, 'description' => 'To impersonate an error message, specify the error message.', 'title' => '', 'example' => 'The provided parameter "ServiceId" is invalid.'], + ], + 'required' => false, + 'description' => 'The information about the impersonated return value.', + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => 'cn-hangzhou', + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'Reason', + 'in' => 'query', + 'schema' => ['description' => 'The reason for the request. This parameter is used to extend a trial.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '""'], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'BaseResult', - 'description' => 'Result', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0CB2E0A9-B4DF-5C16-86AD-C511C483144B'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\"\\n}","type":"json"}]', - 'title' => 'DeleteServiceTestCase', - 'translator' => 'machine', - ], - 'GetOpsNotice' => [ - 'summary' => '查看运维公告详情', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'NeedManualApproval', 'errorMessage' => 'Manual approval is required for the extension request.', 'description' => 'If the instance continues to be in use or consumes more than the allotted amount during the extension period, the extension request will be automatically submitted for approval and, once approved, the extension operation will be automatically executed.'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateServiceInstanceAttribute', + 'summary' => 'Updates the attributes of a service instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceInstanceAttribute'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateServiceInstanceAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0CB2E0A9-B4DF-5C16-86AD-C511C483144B\\"\\n}","type":"json"}]', + ], + 'UpdateServiceInstanceSpec' => [ + 'summary' => 'Upgrades or downgrades a service instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '157082', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '163731', + 'abilityTreeNodes' => ['FEATUREcomputenest7EAOIM'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'si-0e6fca6a51a54420****'], ], [ - 'name' => 'NoticeId', + 'name' => 'PredefinedParametersName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'notice-2338dxxxxxx', - ], + 'schema' => ['description' => 'The package name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Package 1'], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => ['description' => 'The configuration parameters of the service instance.', 'type' => 'object', 'required' => false, 'title' => '', 'example' => '{\\"EcsInstanceParameter\\":\\"4vCPU 8GiB\\",\\"ZoneId\\":\\"cn-heyuan-a\\",\\"SystemDiskSize\\":50,\\"DataDiskSize\\":150,\\"InternetMaxBandwidthOut\\":2,\\"RegionId\\":\\"cn-heyuan\\"}'], + ], + [ + 'name' => 'OperationName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the upgrade or downgrade action.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Plan configuration change'], + ], + [ + 'name' => 'EnableUserPrometheus', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable Prometheus on the client. Valid values:'."\n" + ."\n" + .'- true: Enables Prometheus.'."\n" + ."\n" + .'- false: Disables Prometheus.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'A unique identifier that you provide to ensure the idempotence of the request. The token can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9D51H'], ], ], 'responses' => [ @@ -15122,104 +12094,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NoticeId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'notice-2338d3835bxxxxx', - ], - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ServiceInstanceUpgrade', - ], - 'ServiceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'service-c2d118c9193e49xxxxxx', - ], - 'ServiceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Category' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Availability', - ], - 'Severity' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Critical', - ], - 'Content' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'message', - ], - 'Solutions' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Solutions', - ], - 'Attributes' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{\\"cveId\\":\\"CVE-2021-4034\\"}', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2024-11-18T02:05:00Z', - ], - 'Success' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'true', - ], - 'UserCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'ServiceInstanceCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1B3AD3CC-E938-5042-A771-7FD9A2FE03F3', - ], - 'ServiceVersions' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'DF0F666F-FBBC-55C3-A368-C955DE7B4839'], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'title' => '', 'example' => '2306175xxxxxxxx'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DF0F666F-FBBC-55C3-A368-C955DE7B4839\\",\\n \\"OrderId\\": \\"2306175xxxxxxxx\\"\\n}","type":"json"}]', + 'title' => 'UpdateServiceInstanceSpec', + 'changeSet' => [ + ['createdAt' => '2024-05-17T02:00:46.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceInstanceSpec'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateServiceInstanceSpec', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NoticeId\\": \\"notice-2338d3835bxxxxx\\",\\n \\"Type\\": \\"ServiceInstanceUpgrade\\",\\n \\"ServiceId\\": \\"service-c2d118c9193e49xxxxxx\\",\\n \\"ServiceName\\": \\"Wordpress社区版\\",\\n \\"Category\\": \\"Availability\\",\\n \\"Severity\\": \\"Critical\\",\\n \\"Content\\": \\"message\\",\\n \\"Solutions\\": \\"Solutions\\",\\n \\"Attributes\\": \\"{\\\\\\\\\\\\\\"cveId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"CVE-2021-4034\\\\\\\\\\\\\\"}\\",\\n \\"StartTime\\": \\"2024-11-18T02:05:00Z\\",\\n \\"Success\\": \\"true\\",\\n \\"UserCount\\": \\"1\\",\\n \\"ServiceInstanceCount\\": \\"2\\",\\n \\"RequestId\\": \\"1B3AD3CC-E938-5042-A771-7FD9A2FE03F3\\",\\n \\"ServiceVersions\\": [\\n \\"1\\"\\n ]\\n}","type":"json"}]', + 'translator' => 'manual', ], 'UpdateServiceTestCase' => [ - 'summary' => 'Modify Service Test Case', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15232,9 +12144,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '195905', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestHX5MKK', - ], + 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -15242,49 +12152,26 @@ [ 'name' => 'TestCaseId', 'in' => 'query', - 'schema' => [ - 'title' => '服务ID', - 'description' => 'Service test case ID', - 'type' => 'string', - 'required' => true, - 'example' => 'stc-2deec15c20b24aaf9f16', - ], + 'schema' => ['title' => '服务ID', 'description' => 'The ID of the service test case.', 'type' => 'string', 'required' => true, 'example' => 'stc-2deec15c20b24aaf9f16'], ], [ 'name' => 'TestCaseName', 'in' => 'query', - 'schema' => [ - 'title' => '测试case名字', - 'description' => 'Test case name', - 'type' => 'string', - 'required' => true, - 'example' => 'case1', - ], + 'schema' => ['title' => '测试case名字', 'description' => 'The name of the test case.', 'type' => 'string', 'required' => true, 'example' => 'case1'], ], [ 'name' => 'TestConfig', 'in' => 'query', - 'schema' => [ - 'title' => '测试配置', - 'description' => 'Test configuration', - 'type' => 'string', - 'required' => true, - 'example' => '---'."\n" - .'parameters:'."\n" - .' PayType: "PostPaid"'."\n" - .' EcsInstanceType: "$[iact3-auto]"'."\n" - .' InstancePassword: "$[iact3-auto]"', - ], + 'schema' => ['title' => '测试配置', 'description' => 'The test configuration.', 'type' => 'string', 'required' => true, 'example' => '---'."\n" + .'parameters:'."\n" + .' PayType: "PostPaid"'."\n" + .' EcsInstanceType: "$[iact3-auto]"'."\n" + .' InstancePassword: "$[iact3-auto]"'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -15294,378 +12181,286 @@ 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'DB1FA13E-1087-5654-84D5-58A0ACAD1B18', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'DB1FA13E-1087-5654-84D5-58A0ACAD1B18'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB1FA13E-1087-5654-84D5-58A0ACAD1B18\\"\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Update Service Test Case', - 'translator' => 'machine', - ], - 'GetNetworkAvailableZones' => [ - 'summary' => '根据地域参数获取地域可用区列表', - 'methods' => [ - 'post', + 'summary' => 'Updates a service test case.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceTestCase'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateServiceTestCase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestCase', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetestcase/{#TestCaseId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB1FA13E-1087-5654-84D5-58A0ACAD1B18\\"\\n}","type":"json"}]', + ], + 'UpdateSharedAccountPermission' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '175426', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestHX5MKK', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '116173', + 'abilityTreeNodes' => ['FEATUREcomputenestQKB5Y7'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'PrivateVpcConnectionMode', - 'in' => 'formData', - 'schema' => [ - 'title' => '连接模式 (PrivateLink: PrivateLink, OverlayLink: 基于ANSM的overlayLink)', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'VirtualInternet', - ], - ], - [ - 'name' => 'ServiceRegionId', - 'in' => 'formData', - 'schema' => [ - 'title' => '服务部署地域', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ZoneId', - 'in' => 'formData', - 'schema' => [ - 'title' => '服务部署可用区', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-k', - ], + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'NetworkRegionId', - 'in' => 'formData', - 'schema' => [ - 'title' => '虚拟互联网地域', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'A client token to ensure the idempotence of the request. Generate a unique value for this parameter on your client. The client token can contain only ASCII characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9D51H'], ], [ - 'name' => 'ServiceInstanceEndpointServiceType', - 'in' => 'formData', - 'schema' => [ - 'title' => '正/反向私网访问 (Forward: 正向访问, Reverse: 反向访问)', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Forward', - ], + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'service-0d6e1d846e4c4axxxxxx'], ], [ - 'name' => 'IsPoc', - 'in' => 'formData', - 'schema' => [ - 'title' => '是否是试用', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'name' => 'UserAliUid', + 'in' => 'query', + 'schema' => ['description' => 'The whitelisted account with which the service is shared.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'title' => '', 'example' => '1563457855xxxxxx'], ], [ - 'name' => 'ServiceId', - 'in' => 'formData', - 'schema' => [ - 'title' => '服务id, 和isPoc 为true,一起用', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'service-63b8a060e9d54cxxxxxx', - ], + 'name' => 'Permission', + 'in' => 'query', + 'schema' => ['description' => 'The permission type. Valid values:'."\n" + ."\n" + .'- Deployable: The service can be deployed.'."\n" + ."\n" + .'- Accessible: The service can be accessed.'."\n" + ."\n" + .'- AccessibleIncludeBeta: All versions of the service, including beta versions, can be accessed.'."\n" + ."\n" + .'- DeployableIncludeBeta: All versions of the service, including beta versions, can be deployed.'."\n" + ."\n" + .'- Authorized: The service is authorized. This value is used for distribution scenarios.'."\n" + ."\n" + .'- Unauthorized: The service is not authorized. This value is used for distribution scenarios.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Deployable'], ], [ - 'name' => 'ServiceVersion', - 'in' => 'formData', - 'schema' => [ - 'title' => '服务版本,和isPoc 为true,一起用', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'draft', - ], + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => 'The type of service sharing. The default value is SharedAccount. Valid values:'."\n" + ."\n" + .'- SharedAccount: Regular sharing.'."\n" + ."\n" + .'- Reseller: Distribution sharing.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'SharedAccount'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PlainResult<NetworkAvailableZonesModel>', - 'description' => 'PlainResult<NetworkAvailableZonesModel>', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ZoneIdList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-k', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'E8EF75BC-14E4-597A-BE66-FFA9393C0875', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C68B41B4-A646-5680-8A33-67884E3823A8'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ZoneIdList\\": [\\n \\"cn-hangzhou-k\\"\\n ]\\n },\\n \\"RequestId\\": \\"E8EF75BC-14E4-597A-BE66-FFA9393C0875\\"\\n}","type":"json"}]', - ], - 'ListServiceTestCases' => [ - 'summary' => 'Service test case list', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Update Shared Account Permissions', + 'summary' => 'You can call UpdateSharedAccountPermission to update the permissions of a shared account.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSharedAccountPermission'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateSharedAccountPermission', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C68B41B4-A646-5680-8A33-67884E3823A8\\"\\n}","type":"json"}]', + ], + 'UpdateSupplierInformation' => [ + 'summary' => 'You can call the UpdateSupplierInformation operation to update supplier information.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '195910', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestHX5MKK', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '43088', + 'abilityTreeNodes' => ['FEATUREcomputenest1Z49ZW'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ServiceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'title' => '服务商ID', - 'description' => 'The service ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'service-0e6fca6a51a54420****', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ServiceVersion', + 'name' => 'OperationIp', 'in' => 'query', - 'schema' => [ - 'title' => '服务版本', - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'draft', - ], + 'schema' => ['description' => 'The IP address segments for managed O\\&M access.', 'type' => 'string', 'required' => false, 'example' => '192.xxx.xxx.xxx/16,192.xxx.xxx.xxx', 'title' => ''], ], [ - 'name' => 'Filters', + 'name' => 'OperationMfaPresent', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['description' => 'Specifies whether to enable multi-factor authentication (MFA). The default value is true. Valid values:'."\n" + ."\n" + .'- true: Yes.'."\n" + ."\n" + .'- false: No.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'DeliverySettings', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => 'The filters.', - 'type' => 'array', - 'items' => [ - 'description' => 'The filter.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n" - ."\n" - .'**Status**'."\n" - ."\n" - .'**TaskId**', - 'type' => 'string', - 'required' => false, - 'example' => 'Status'."\n", - ], - 'Value' => [ - 'description' => 'The value of the filter condition.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The value of the filter condition.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Success', - ], - 'required' => false, - 'maxItems' => 10, - ], - ], - 'required' => false, + 'description' => 'The custom settings.', + 'type' => 'object', + 'properties' => [ + 'OssEnabled' => ['description' => 'Specifies whether to deliver the execution results of Cloud Assistant O\\&M tasks to Object Storage Service (OSS). Valid values:'."\n" + ."\n" + .'- true: Enabled.'."\n" + ."\n" + .'- false (default): Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'OssBucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => false, 'example' => 'mybucket', 'title' => ''], + 'OssPath' => ['description' => 'The path in OSS.', 'type' => 'string', 'required' => false, 'example' => 'path1/path2/', 'title' => ''], + 'OssExpirationDays' => ['description' => 'The retention period for screen recordings, in days.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '7', 'title' => ''], ], 'required' => false, - 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'MaxResults', + 'name' => 'SupplierDesc', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The description of the supplier.', 'type' => 'string', 'example' => 'Alibaba Cloud Compute Nest', 'required' => false, 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'SupplierUrl', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', - ], + 'schema' => ['description' => 'The URL of the supplier.', 'type' => 'string', 'required' => false, 'example' => 'http://www.xxx.xxx.cn', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'SupplierLogo', + 'in' => 'query', + 'schema' => ['description' => 'The icon of the supplier.', 'type' => 'string', 'required' => false, 'example' => 'http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png', 'title' => ''], + ], + [ + 'name' => 'SupportContacts', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', + 'description' => 'The contact information of the supplier.', + 'type' => 'array', + 'items' => [ + 'description' => 'The contact information of the supplier.', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type of contact method.', 'type' => 'string', 'required' => false, 'example' => 'Email', 'title' => ''], + 'Value' => ['description' => 'The contact information.', 'type' => 'string', 'required' => false, 'example' => 'supplier@example.com', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'cn-hangzhou', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'NextTokenListResult<ServiceTestCaseModel>', - 'description' => 'NextTokenListResult<ServiceTestCaseModel>', + 'title' => 'Schema of Response', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'Data' => [ - 'description' => 'The data returned.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The data returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'TemplateName' => [ - 'title' => '模版名称', - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'example' => 'test-1', - ], - 'TestConfig' => [ - 'title' => '用户配置的YAML文件', - 'description' => 'The service test config.', - 'type' => 'string', - 'example' => '---'."\n" - .'parameters:'."\n" - .' PayType: "PostPaid"'."\n" - .' EcsInstanceType: "$[iact3-auto]"'."\n" - .' InstancePassword: "$[iact3-auto]"'."\n", - ], - 'TestCaseName' => [ - 'title' => '测试用例名字', - 'description' => 'The service test case name.', - 'type' => 'string', - 'example' => 'case1', - ], - 'TestCaseId' => [ - 'title' => '测试用例ID', - 'description' => 'The service test case id.', - 'type' => 'string', - 'example' => 'stc-83fcee1383354e35b151', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '18', - ], - 'RequestId' => [ - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'CA3AE512-6D30-549A-B52D-B9042CA8D515', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '51945B04-6AA6-410D-93BA-236E0248B104'], + 'SupplierName' => ['description' => 'The name of the supplier.', 'type' => 'string', 'example' => 'Company A', 'title' => ''], + 'SupplierUrl' => ['description' => 'The URL of the supplier.', 'type' => 'string', 'example' => 'http://www.xxx.xxx.cn', 'title' => ''], + 'SupplierDesc' => ['description' => 'The description of the supplier.', 'type' => 'string', 'example' => 'Alibaba Cloud Compute Nest', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAWns8w4MmhzeptXVRG0PUEU=\\",\\n \\"MaxResults\\": 20,\\n \\"Data\\": [\\n {\\n \\"TemplateName\\": \\"模板1\\",\\n \\"TestConfig\\": \\"---\\\\nparameters:\\\\n PayType: \\\\\\"PostPaid\\\\\\"\\\\n EcsInstanceType: \\\\\\"$[iact3-auto]\\\\\\"\\\\n InstancePassword: \\\\\\"$[iact3-auto]\\\\\\"\\\\n\\",\\n \\"TestCaseName\\": \\"case1\\",\\n \\"TestCaseId\\": \\"stc-83fcee1383354e35b151\\"\\n }\\n ],\\n \\"TotalCount\\": 18,\\n \\"RequestId\\": \\"CA3AE512-6D30-549A-B52D-B9042CA8D515\\"\\n}","type":"json"}]', - 'title' => 'ListServiceTestCases', - 'translator' => 'machine', - ], - 'CreateServiceTestCase' => [ - 'summary' => 'Create service test case.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"SupplierName\\": \\"Company A\\",\\n \\"SupplierUrl\\": \\"http://www.xxx.xxx.cn\\",\\n \\"SupplierDesc\\": \\"Alibaba Cloud Compute Nest\\"\\n}","type":"json"}]', + 'title' => 'UpdateSupplierInformation', + 'changeSet' => [ + ['createdAt' => '2025-04-17T08:08:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-08-31T01:47:38.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSupplierInformation'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateSupplierInformation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'SupplierInfo', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:supplierinfo/*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'UpgradeServiceInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15674,168 +12469,152 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '195882', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestHX5MKK', - ], + 'abilityTreeCode' => '162313', + 'abilityTreeNodes' => ['FEATUREcomputenestQE1OA6'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ServiceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'title' => '服务ID', - 'description' => 'The service ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'service-0e6fca6a51a544xxxxxx', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ServiceVersion', + 'name' => 'ServiceInstanceId', 'in' => 'query', - 'schema' => [ - 'title' => '服务版本', - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'draft', - ], + 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => 'si-5cbae874da0e47xxxxxx'], ], [ - 'name' => 'TemplateName', + 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'title' => '模板名', - 'description' => 'The template name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Custom_Image_Ecs', - ], + 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => '2'], ], [ - 'name' => 'TestCaseName', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'title' => '测试case名字', - 'description' => 'Service Test case name.', - 'type' => 'string', - 'required' => true, - 'example' => 'case1', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. Generate a unique value for this parameter from your client. The **ClientToken** value can contain only ASCII characters and must be no more than 64 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10CM943JP0EN9D51H'], ], [ - 'name' => 'TestConfig', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'title' => '测试配置', - 'description' => 'The service test config', - 'type' => 'string', - 'required' => true, - 'example' => '---'."\n" - .'parameters:'."\n" - .' PayType: "PostPaid"'."\n" - .' EcsInstanceType: "$[iact3-auto]"'."\n" - .' InstancePassword: "$[iact3-auto]"'."\n", - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. A dry run checks for issues such as permission errors and instance status. Valid values:'."\n" + ."\n" + .'- true: Sends a dry run request to check whether the request is valid. The service instance is not upgraded.'."\n" + ."\n" + .'- false: Sends a regular request. The service instance is upgraded after the request passes the check.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'false'], ], [ - 'name' => 'RegionId', + 'name' => 'Parameters', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'style' => 'json', + 'schema' => ['description' => 'The configuration parameters of the service instance.', 'type' => 'object', 'required' => false, 'title' => '', 'example' => '{'."\n" + .' "param": "value"'."\n" + .'}'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PlainResult<String>', - 'description' => 'PlainResult<String>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'E50287CB-AABF-4877-92C0-289B339A1546', - ], - 'TestCaseId' => [ - 'description' => 'The test case Id', - 'type' => 'string', - 'example' => 'stc-5ba03a6a9a2746be8739', + 'Status' => ['description' => 'The deployment status of the service instance. Valid values:'."\n" + ."\n" + .'- Created: The service instance is created.'."\n" + ."\n" + .'- Deploying: The service instance is being deployed.'."\n" + ."\n" + .'- DeployedFailed: The service instance failed to be deployed.'."\n" + ."\n" + .'- Deployed: The service instance is deployed.'."\n" + ."\n" + .'- Upgrading: The service instance is being upgraded.'."\n" + ."\n" + .'- Deleting: The service instance is being deleted.'."\n" + ."\n" + .'- Deleted: The service instance is deleted.'."\n" + ."\n" + .'- DeletedFailed: The service instance failed to be deleted.', 'type' => 'string', 'title' => '', 'example' => 'Created'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'F224E002-AB0E-5FD9-A87E-54AEE56F6CAE'], + 'ServiceInstanceId' => ['description' => 'The service instance ID.', 'type' => 'string', 'title' => '', 'example' => 'si-5cbae874da0e47xxxxxx'], + 'UpgradeRequiredParameters' => [ + 'description' => 'The parameters that are required for the upgrade.', + 'type' => 'array', + 'items' => ['description' => 'The parameters that are required for the upgrade.', 'type' => 'string', 'title' => '', 'example' => '[\'EcsInstanceType\', \'InstancePassword\']'], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E50287CB-AABF-4877-92C0-289B339A1546\\",\\n \\"TestCaseId\\": \\"stc-5ba03a6a9a2746be8739\\"\\n}","type":"json"}]', - 'title' => 'CreateServiceTestCase', - ], - 'GetServiceTemplateCriterionIssues' => [ - 'summary' => '查询服务模板存在的规范问题', - 'methods' => [ - 'post', - 'get', + 'title' => 'UpgradeServiceInstance', + 'summary' => 'The UpgradeServiceInstance operation upgrades a service instance based on parameters such as the region ID and service version.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpgradeServiceInstance'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpgradeServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Created\\",\\n \\"RequestId\\": \\"F224E002-AB0E-5FD9-A87E-54AEE56F6CAE\\",\\n \\"ServiceInstanceId\\": \\"si-5cbae874da0e47xxxxxx\\",\\n \\"UpgradeRequiredParameters\\": [\\n \\"[\'EcsInstanceType\', \'InstancePassword\']\\"\\n ]\\n}","type":"json"}]', + ], + 'WithdrawService' => [ + 'summary' => 'Unpublishes a service version.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', + 'operationType' => 'update', + 'riskType' => 'high', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcomputenestHX5MKK', - ], + 'abilityTreeCode' => '36953', + 'abilityTreeNodes' => ['FEATUREcomputenestB2MIVU'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'service-c2d118c9193e49xxxxxx', - ], + 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'service-0e6fca6a51a544xxxxxx'], ], [ 'name' => 'ServiceVersion', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '1.0'], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. Generate a value from your client and make sure that the value is unique among different requests. The token can contain only ASCII characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '788E7CP0EN9D51P'], ], ], 'responses' => [ @@ -15843,677 +12622,2012 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TemplateCriterionIssueList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TotalCriterionIssueCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'TemplateUrl' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'http://service-private-info/xxx/ros/template/tpl-xxxx.json', - ], - 'TemplateName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'TotalMandatoryCriterionIssueCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CriterionIssues' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Position' => [ - 'description' => '', - 'type' => 'string', - 'example' => '$.Parameters.PayType', - ], - 'Level' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Mandatory', - ], - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ParameterNeedAssociationProperty', - ], - 'ExtendInfo' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Property' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'null ', - ], - 'PropertyValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => ' null', - ], - 'AssociationProperty' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ChargeType', - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'TotalCriterionIssueCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'TotalMandatoryCriterionIssueCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RiskyTemplateCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'WithdrawService', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'WithdrawService'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:WithdrawService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateCriterionIssueList\\": [\\n {\\n \\"TotalCriterionIssueCount\\": 3,\\n \\"TemplateUrl\\": 0,\\n \\"TemplateName\\": \\"模板1\\",\\n \\"TotalMandatoryCriterionIssueCount\\": 1,\\n \\"CriterionIssues\\": [\\n {\\n \\"Position\\": \\"$.Parameters.PayType\\",\\n \\"Level\\": \\"Mandatory\\",\\n \\"Type\\": \\"ParameterNeedAssociationProperty\\",\\n \\"ExtendInfo\\": {\\n \\"Property\\": \\"null \\",\\n \\"PropertyValue\\": \\" null\\",\\n \\"AssociationProperty\\": \\"ChargeType\\"\\n }\\n }\\n ]\\n }\\n ],\\n \\"TotalCriterionIssueCount\\": 3,\\n \\"TotalMandatoryCriterionIssueCount\\": 1,\\n \\"RiskyTemplateCount\\": 1,\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', ], - 'ListArtifactBuildLogs' => [ - 'summary' => '查询部署实例、升级以及应用的日志', - 'methods' => [ - 'post', - 'get', + ], + 'endpoints' => [ + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'computenestsupplier.ap-southeast-1.aliyuncs.com', 'endpoint' => 'computenestsupplier.ap-southeast-1.aliyuncs.com', 'vpc' => 'computenestsupplier-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'computenestsupplier.cn-hangzhou.aliyuncs.com', 'endpoint' => 'computenestsupplier.cn-hangzhou.aliyuncs.com', 'vpc' => 'computenestsupplier-vpc.cn-hangzhou.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'InternalError', 'message' => 'Internal error.', 'http_code' => 500, 'description' => 'Internal server error.'], + ['code' => 'NeedManualApproval', 'message' => 'Manual approval is required for the extension request.', 'http_code' => 400, 'description' => 'If the instance continues to be in use or consumes more than the allotted amount during the extension period, the extension request will be automatically submitted for approval and, once approved, the extension operation will be automatically executed.'], + ['code' => 'PermissionDenied', 'message' => 'You do not have permission to do current action.', 'http_code' => 403, 'description' => 'No permission to do the current operation.'], + ['code' => 'SupplierPocQuotaExceeded', 'message' => 'Supplier\'s trial quota has been exceeded.', 'http_code' => 400, 'description' => 'The supplier\'s trial quota has been exceeded and cannot be created. If you need to create a trial service instance, please contact the supplier and remind the supplier to apply for the corresponding quota in the quota center.'], + ['code' => 'UserPocQuotaExceeded', 'message' => 'User\'s trial quota has been exceeded.', 'http_code' => 400, 'description' => 'The user\'s trial quota has been exceeded and cannot be created. If you need to create a trial service instance, please apply for the corresponding quota in the quota center.'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateArtifact'], + ['description' => 'Request parameters changed', 'api' => 'UpdateArtifact'], ], - 'schemes' => [ - 'https', + 'createdAt' => '2025-03-12T08:02:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpgradeServiceInstance'], ], - 'security' => [ - [ - 'AK' => [], + 'createdAt' => '2025-03-07T07:56:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListServiceInstanceResources'], + ], + 'createdAt' => '2025-03-06T08:14:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListServiceInstanceResources'], + ], + 'createdAt' => '2025-03-04T08:45:27.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListArtifacts'], + ], + 'createdAt' => '2025-01-16T08:10:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetArtifact'], + ['description' => 'Request parameters changed', 'api' => 'UpdateArtifact'], + ], + 'createdAt' => '2025-01-09T05:50:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateArtifact'], + ['description' => 'Request parameters changed', 'api' => 'UpdateArtifact'], + ], + 'createdAt' => '2024-12-16T06:10:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateArtifact'], + ['description' => 'Request parameters changed', 'api' => 'DeleteArtifact'], + ['description' => 'Request parameters changed', 'api' => 'ReleaseArtifact'], + ['description' => 'Request parameters changed', 'api' => 'UpdateArtifact'], + ], + 'createdAt' => '2024-12-05T03:44:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateArtifact'], + ['description' => 'Response parameters changed', 'api' => 'GetArtifact'], + ['description' => 'Response parameters changed', 'api' => 'ListArtifactVersions'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateArtifact'], + ], + 'createdAt' => '2024-12-02T01:51:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2024-11-29T02:03:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetServiceInstance'], + ], + 'createdAt' => '2024-11-28T10:05:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2024-11-11T02:18:51.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateArtifact'], + ['description' => 'Response parameters changed', 'api' => 'GetArtifact'], + ['description' => 'Response parameters changed', 'api' => 'ListArtifactVersions'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateArtifact'], + ], + 'createdAt' => '2024-11-06T03:11:51.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListArtifactVersions'], + ], + 'createdAt' => '2024-11-06T03:05:10.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateArtifact'], + ['description' => 'Response parameters changed', 'api' => 'ListAcrImageRepositories'], + ['description' => 'Request parameters changed', 'api' => 'UpdateArtifact'], + ], + 'createdAt' => '2024-11-06T02:59:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2024-10-25T02:31:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2024-10-25T01:43:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2024-10-22T05:37:46.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateServiceInstanceAttribute'], + ], + 'createdAt' => '2024-09-12T09:29:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateService'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2024-08-23T05:54:10.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2024-08-05T05:41:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2024-07-30T08:18:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetServiceInstance'], + ], + 'createdAt' => '2024-07-18T11:08:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ['description' => 'Request parameters changed', 'api' => 'UpdateServiceInstanceAttribute'], + ], + 'createdAt' => '2024-07-15T06:34:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GetUploadCredentials'], + ], + 'createdAt' => '2024-06-27T09:38:31.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2024-06-20T08:35:50.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2024-06-04T07:43:25.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2024-05-30T03:11:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2024-05-27T01:55:01.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateServiceInstanceSpec'], + ], + 'createdAt' => '2024-05-17T02:00:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ['description' => 'Response parameters changed', 'api' => 'ListServices'], + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2024-05-10T01:48:04.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListServices'], + ], + 'createdAt' => '2024-04-19T03:19:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetServiceEstimateCost'], + ], + 'createdAt' => '2024-04-19T01:35:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2024-04-11T11:36:54.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2024-03-29T02:29:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2024-03-22T01:50:14.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetServiceInstance'], + ], + 'createdAt' => '2024-03-01T03:31:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2024-02-23T05:38:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2024-02-22T08:30:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2024-01-23T03:30:29.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpgradeServiceInstance'], + ], + 'createdAt' => '2023-12-26T03:19:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListServiceInstances'], + ], + 'createdAt' => '2023-12-15T06:01:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListServiceUsages'], + ], + 'createdAt' => '2023-12-14T09:44:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListServices'], + ], + 'createdAt' => '2023-12-14T08:33:50.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2023-12-14T08:20:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceInstance'], + ], + 'createdAt' => '2023-12-11T02:55:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2023-12-11T01:41:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2023-10-24T11:40:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ], + 'createdAt' => '2023-10-24T11:38:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetServiceInstance'], + ], + 'createdAt' => '2023-10-24T02:06:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListServiceUsages'], + ], + 'createdAt' => '2023-10-19T10:07:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListServices'], + ], + 'createdAt' => '2023-10-19T08:12:27.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ['description' => 'Response parameters changed', 'api' => 'ListServices'], + ], + 'createdAt' => '2023-10-16T03:19:10.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListArtifactVersions'], + ], + 'createdAt' => '2023-10-09T02:07:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ['description' => 'Response parameters changed', 'api' => 'ListServices'], + ], + 'createdAt' => '2023-09-21T10:02:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListServiceUsages'], + ], + 'createdAt' => '2023-09-18T05:32:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ['description' => 'Response parameters changed', 'api' => 'ListServices'], + ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'ListServiceUsages'], + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2023-09-15T08:47:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateArtifact'], + ['description' => 'Response parameters changed', 'api' => 'GetArtifact'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListArtifacts'], + ], + 'createdAt' => '2023-09-08T10:35:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GetServiceEstimateCost'], + ], + 'createdAt' => '2023-08-31T10:53:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetService'], + ['description' => 'Response parameters changed', 'api' => 'ListServiceInstances'], + ['description' => 'Response parameters changed', 'api' => 'ListServices'], + ], + 'createdAt' => '2023-08-11T05:00:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceInstance'], + ], + 'createdAt' => '2023-08-11T03:49:50.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed, Response parameters changed', 'api' => 'ListArtifacts'], + ['description' => 'Request parameters changed, Response parameters changed, Response parameters changed', 'api' => 'ListArtifactVersions'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListServiceInstances'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListServices'], + ], + 'createdAt' => '2023-08-08T07:16:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2023-08-03T03:28:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateArtifact'], + ], + 'createdAt' => '2023-07-27T09:04:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetServiceInstance'], + ], + 'createdAt' => '2023-07-25T02:23:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2023-07-10T01:39:02.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetServiceInstance'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListServiceInstances'], + ], + 'createdAt' => '2023-07-06T09:13:07.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetServiceInstance'], + ], + 'createdAt' => '2023-06-12T03:11:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2023-05-26T01:49:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2023-05-25T03:04:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2023-05-25T02:58:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ], + 'createdAt' => '2023-05-25T02:37:31.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GetArtifact'], + ], + 'createdAt' => '2023-05-18T09:23:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetServiceInstance'], + ], + 'createdAt' => '2023-05-12T02:36:44.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ['description' => 'Request parameters changed, Response parameters changed, Response parameters changed', 'api' => 'ListServices'], + ], + 'createdAt' => '2023-05-08T04:04:53.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'GetServiceInstance'], + ], + 'createdAt' => '2023-04-24T07:38:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed, Response parameters changed', 'api' => 'ListServiceInstances'], + ], + 'createdAt' => '2023-03-24T08:21:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ContinueDeployServiceInstance'], + ], + 'createdAt' => '2022-12-08T09:10:10.000Z', + 'description' => '继续部署支持DryRun检查可以修改的参数', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DeleteAcrImageRepositories'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteAcrImageTags'], + ], + 'createdAt' => '2022-11-25T01:48:53.000Z', + 'description' => '容器管理', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ], + 'createdAt' => '2022-11-16T03:29:29.000Z', + 'description' => '支持自定义运维操作', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListServiceInstances'], + ], + 'createdAt' => '2022-09-05T08:07:25.000Z', + 'description' => '发布成功', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'GetArchitectureDiagram'], + ], + 'createdAt' => '2022-08-29T01:50:46.000Z', + 'description' => '架构图生成服务商侧', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ], + 'createdAt' => '2022-08-26T09:55:07.000Z', + 'description' => '发布成功', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListServices'], + ], + 'createdAt' => '2022-08-18T07:33:08.000Z', + 'description' => 'Tag相关参数变更', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'ListServiceInstanceUpgradeHistory'], + ], + 'createdAt' => '2022-07-27T09:55:31.000Z', + 'description' => '服务实例升级回滚', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ], + 'createdAt' => '2022-07-27T09:53:06.000Z', + 'description' => '增加租户类型', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'ContinueDeployServiceInstance'], + ['description' => 'OpenAPI offline', 'api' => 'CreateServiceInstance'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteServiceInstances'], + ['description' => 'OpenAPI offline', 'api' => 'ListServiceInstanceLogs'], + ], + 'createdAt' => '2022-05-10T11:39:41.000Z', + 'description' => '增加全托管版ROS部署API', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'AddServiceSharedAccounts'], + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ['description' => 'Response parameters changed', 'api' => 'ListServices'], + ['description' => 'OpenAPI offline', 'api' => 'ListServiceSharedAccounts'], + ['description' => 'OpenAPI offline', 'api' => 'RemoveServiceSharedAccounts'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateServiceShareType'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateSharedAccountPermission'], + ], + 'createdAt' => '2021-12-28T04:33:40.000Z', + 'description' => '增加服务白名单相关接口和白名单相关参数', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'GetHelmChartParameters'], + ], + 'createdAt' => '2021-12-22T03:11:30.000Z', + 'description' => '新增OpenAPI: GetHelmChartParameters', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ['description' => 'Request parameters changed', 'api' => 'UpdateService'], + ], + 'createdAt' => '2021-12-15T03:58:31.000Z', + 'description' => '服务信息增加报警模板配置', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'ListServiceInstanceResources'], + ], + 'createdAt' => '2021-11-18T06:50:48.000Z', + 'description' => '发布商家侧ListServiceInstanceResources API', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetService'], + ], + 'createdAt' => '2021-11-18T05:38:29.000Z', + 'description' => '支持镜像分发', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ['description' => 'Request parameters changed', 'api' => 'ListServices'], + ], + 'createdAt' => '2021-09-22T10:09:13.000Z', + 'description' => '1. ListService增加RequestTag参数,支持以标签为条件进行过滤。2. CreateService增加RequestTag参数,支持创建资源同时打标。', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateService'], + ['description' => 'Request parameters changed', 'api' => 'ListServices'], + ], + 'createdAt' => '2021-09-22T10:08:33.000Z', + 'description' => 'RequestTags改为RequestTag', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetSupplierInformation'], + ['description' => 'Request parameters changed', 'api' => 'UpdateSupplierInformation'], + ], + 'createdAt' => '2021-09-10T03:50:26.000Z', + 'description' => '新增代运维workbench录屏配置', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetServiceInstance'], + ['description' => 'Response parameters changed', 'api' => 'LaunchService'], + ['description' => 'Response parameters changed', 'api' => 'ListServiceInstances'], + ], + 'createdAt' => '2021-07-02T07:36:07.000Z', + 'description' => '- 服务商ListServiceInstances、GetServiceInstance输出中增加Parameters、StatusDetail- LaunchService输出增加Version', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CancelServiceRegistration'], + ['description' => 'OpenAPI offline', 'api' => 'CreateService'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteService'], + ['description' => 'OpenAPI offline', 'api' => 'GetService'], + ['description' => 'OpenAPI offline', 'api' => 'GetServiceInstance'], + ['description' => 'OpenAPI offline', 'api' => 'LaunchService'], + ['description' => 'OpenAPI offline', 'api' => 'ListServiceInstances'], + ['description' => 'OpenAPI offline', 'api' => 'ListServiceRegistrations'], + ['description' => 'OpenAPI offline', 'api' => 'RegisterService'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateService'], + ], + 'createdAt' => '2021-06-30T06:32:07.000Z', + 'description' => '计算巢服务商OpenAPI首次发布', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveServiceSharedAccounts'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PushMeteringData'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateArtifact'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSupplierRegistration'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceLogs'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ContinueDeployServiceInstance'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceInstance'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListArtifactRisks'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOpsNotices'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceTestCase'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAcrImageRepositories'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteArtifact'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceTestTaskLogs'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'WithdrawService'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSupplierInformation'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateDefaultServiceTestConfig'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RollbackServiceInstance'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAcrImageTags'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServices'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApproveServiceUsage'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListArtifactVersions'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateOpsNotice'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceUpgradeHistory'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetArtifactRepositoryCredentials'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnTagResources'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceInstanceAttribute'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetArtifact'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceResources'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSharedAccountPermission'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateService'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceTestCases'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceTemplateCriterionIssues'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagKeys'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopServiceInstance'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PreLaunchService'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateArtifact'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseArtifact'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceInstances'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetNetworkAvailableZones'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceInstance'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateServicePolicy'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteService'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelServiceRegistration'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RejectServiceUsage'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagValues'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSupplierInformation'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeployServiceInstance'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceRegistration'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceBuildLogs'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstances'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceUsage'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceEstimateCost'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpgradeServiceInstance'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResellers'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RegisterService'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddServiceSharedAccounts'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceTestCase'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceDeployDetails'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceTestTask'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAcrImageRepositories'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOpsNotice'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'LaunchService'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceTestTask'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSupplierRegistrations'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceSharedAccounts'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAcrImageTags'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RestartServiceInstance'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceRegistrations'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceProvisions'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUploadCredentials'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceTestCase'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListArtifacts'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceTestTasks'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceUsages'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceBill'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceTemplateParameterConstraints'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartServiceInstance'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetService'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceInstanceSpec'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyServiceInstanceResources'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListArtifactBuildLogs'], + ], + ], + 'ram' => [ + 'productCode' => 'ComputeNest', + 'productName' => 'Compute Nest', + 'ramCodes' => ['computenest', 'computenestsupplier'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'ListServiceInstanceLogs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstanceLogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'CreateSupplierRegistration', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateSupplierRegistration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetArtifact', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetArtifact', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:*:{#accountId}:artifact/{#ArtifactId}'], + ], + ], + ], + [ + 'apiName' => 'ListAcrImageTags', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListAcrImageTags', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListServiceInstanceBill', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstanceBill', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UpgradeServiceInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpgradeServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteArtifact', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteArtifact', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:artifact/{#ArtifactId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteServiceTestCase', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteServiceTestCase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestCase', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetestcase/{#TestCaseId}'], + ], + ], + ], + [ + 'apiName' => 'RemoveServiceSharedAccounts', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:RemoveServiceSharedAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ], + ], + ], + [ + 'apiName' => 'ListResellers', + 'description' => '', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '254868', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListResellers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'SupplierInfo', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:supplierinfo/*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', + [ + 'apiName' => 'ListServices', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServices', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/*'], ], ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', + ], + [ + 'apiName' => 'ListArtifacts', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListArtifacts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:*:{#accountId}:artifact/*'], ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAbL3H6CZmy6oocwGDqzQ+Gc=', + ], + [ + 'apiName' => 'ListServiceInstances', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/*'], ], ], - [ - 'name' => 'ArtifactId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'artifact-fbad2ca276194d019714', + ], + [ + 'apiName' => 'AddServiceSharedAccounts', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:AddServiceSharedAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], ], ], - [ - 'name' => 'Filter', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'BuildStartTime', - ], - 'Value' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Rejected', - ], - 'required' => false, - 'maxItems' => 20, - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, + ], + [ + 'apiName' => 'ListServiceInstanceResources', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstanceResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'], ], ], - [ - 'name' => 'SortOrder', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Ascending', - 'default' => 'Descending', - 'enum' => [ - 'Ascending', - 'Descending', - ], + ], + [ + 'apiName' => 'GetServiceRegistration', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceRegistration', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceRegistration', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/{#registrationId}'], ], ], - [ - 'name' => 'ArtifactVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'draft', + ], + [ + 'apiName' => 'GetService', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'AAAAAVEKMJSB4yFi/EJc7fOJCkw=', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '708AB976-F69C-5727-BED9-8C39D878B93A', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'BuildLogs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Content' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'NDAx', - ], - 'Timestamp' => [ - 'description' => '', - 'type' => 'string', - 'format' => 'iso8601', - 'example' => '1738894304', - ], - ], - ], - ], - ], + [ + 'apiName' => 'CreateServiceTestTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateServiceTestTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestTask', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetesttask/*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetNetworkAvailableZones', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetNetworkAvailableZones', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAVEKMJSB4yFi/EJc7fOJCkw=\\",\\n \\"RequestId\\": \\"708AB976-F69C-5727-BED9-8C39D878B93A\\",\\n \\"MaxResults\\": 100,\\n \\"BuildLogs\\": [\\n {\\n \\"Content\\": \\"NDAx\\",\\n \\"Timestamp\\": \\"1738894304\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListArtifactBuildLogs', - ], - 'ListServiceBuildLogs' => [ - 'summary' => '查询部署实例、升级以及应用的日志', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'GetArtifactRepositoryCredentials', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetArtifactRepositoryCredentials', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'PreLaunchService', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:PreLaunchService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateArtifact', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateArtifact', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:artifact/{#ArtifactId}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ReleaseArtifact', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:ReleaseArtifact', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:artifact/{#ArtifactId}'], + ], + ], + ], + [ + 'apiName' => 'ListArtifactBuildLogs', + 'description' => '', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '254866', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListArtifactBuildLogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', + [ + 'apiName' => 'CreateService', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/*'], ], ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + ], + [ + 'apiName' => 'ListServiceTestCases', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceTestCases', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestCase', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetestcase/*'], ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAYChudnQUoBH+mGWFpb6oP0=', + ], + [ + 'apiName' => 'ListArtifactVersions', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListArtifactVersions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:*:{#accountId}:artifact/{#ArtifactId}'], ], ], - [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'service-39f4f251e94843xxxxxx', + ], + [ + 'apiName' => 'ListArtifactRisks', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListArtifactRisks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:*:{#accountId}:artifact/{#ArtifactId}'], ], ], - [ - 'name' => 'Filter', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Name', - ], - 'Value' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Rejected', - ], - 'required' => false, - 'maxItems' => 20, - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, + ], + [ + 'apiName' => 'ListServiceRegistrations', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceRegistrations', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceRegistration', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/*'], ], ], - [ - 'name' => 'SortOrder', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Ascending', - 'default' => 'Descending', - 'enum' => [ - 'Descending', - 'Ascending', - ], + ], + [ + 'apiName' => 'UpdateService', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ=', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', - ], - 'BuildLogs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Content' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'build log', - ], - 'BuildStep' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BuildArtifact', - ], - 'Timestamp' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'yyyy-MM-dd\'T\'HH:mm:ss\'Z\'', - ], - ], - ], - ], - ], + [ + 'apiName' => 'GetServiceTemplateCriterionIssues', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceTemplateCriterionIssues', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DeleteServiceInstances', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteServiceInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"BuildLogs\\": [\\n {\\n \\"Content\\": \\"build log\\",\\n \\"BuildStep\\": \\"BuildArtifact\\",\\n \\"Timestamp\\": \\"yyyy-MM-dd\'T\'HH:mm:ss\'Z\'\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'ListOpsNotices' => [ - 'summary' => '查询运维公告', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'CreateArtifact', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateArtifact', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:artifact/{#ArtifactId}'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ListSupplierRegistrations', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListSupplierRegistrations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListServiceTestTasks', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceTestTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestTask', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetesttask/*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'WithdrawService', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:WithdrawService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], + [ + 'apiName' => 'ListOpsNotices', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest18JMDW', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListOpsNotices', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'OpsNotice', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:opsnotice/*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', + [ + 'apiName' => 'CreateServiceUsage', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateServiceUsage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], ], ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + ], + [ + 'apiName' => 'GetServiceTestTask', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceTestTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + [ + 'apiName' => 'CreateOpsNotice', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateOpsNotice', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'OpsNotice', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:opsnotice/*'], ], ], - [ - 'name' => 'Filter', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - 'maxItems' => 20, - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ServiceId', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, + ], + [ + 'apiName' => 'RestartServiceInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:RestartServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'OpsNotices' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NoticeId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'notice-1749693290', - ], - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Vulnerability', - ], - 'ServiceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'service-e10349089de34exxxxxx', - ], - 'ServiceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'ServiceVersions' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => ' "1", "2"', - ], - ], - 'Category' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Security', - ], - 'Severity' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'High', - ], - 'Content' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'content', - ], - 'Solutions' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'You need to upgrade service instance', - ], - 'Attributes' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"cveId":"CVE-2021-4034"}', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2022-10-12T02:03:37Z', - ], - 'Success' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'True', - ], - ], - ], - ], - ], + [ + 'apiName' => 'RollbackServiceInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:RollbackServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ListServiceSharedAccounts', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceSharedAccounts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateSharedAccountPermission', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateSharedAccountPermission', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], + [ + 'apiName' => 'GetSupplierInformation', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetSupplierInformation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'SupplierInfo', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:supplierinfo/*'], + ], + ], + ], + [ + 'apiName' => 'ListTagValues', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListTagValues', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteService', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], + [ + 'apiName' => 'ListServiceBuildLogs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceBuildLogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CancelServiceRegistration', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:CancelServiceRegistration', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceRegistration', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/{#ServiceRegistrationId}'], + ], + ], + ], + [ + 'apiName' => 'GetServiceProvisions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceProvisions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ], + ], + ], + [ + 'apiName' => 'ListServiceUsages', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceUsages', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateServiceTestCase', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateServiceTestCase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestCase', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetestcase/*'], + ], + ], + ], + [ + 'apiName' => 'LaunchService', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:LaunchService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateServiceTestCase', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateServiceTestCase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceTestCase', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetestcase/{#TestCaseId}'], + ], + ], + ], + [ + 'apiName' => 'GenerateDefaultServiceTestConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GenerateDefaultServiceTestConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:*:{#accountId}:service/{#ServiceId}'], + ], + ], + ], + [ + 'apiName' => 'CreateServiceInstance', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'computenestsupplier:CreateServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListServiceInstanceUpgradeHistory', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstanceUpgradeHistory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ListTagKeys', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListTagKeys', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetUploadCredentials', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetUploadCredentials', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeployServiceInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeployServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteAcrImageTags', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteAcrImageTags', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetServiceEstimateCost', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceEstimateCost', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], + [ + 'apiName' => 'ModifyServiceInstanceResources', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:ModifyServiceInstanceResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:*:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ], + ], + ], + [ + 'apiName' => 'StopServiceInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:StopServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], + [ + 'apiName' => 'GetServiceInstance', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], + [ + 'apiName' => 'PushMeteringData', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'computenestsupplier:PushMeteringData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ListServiceTestTaskLogs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceTestTaskLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAcrImageRepositories', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListAcrImageRepositories', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ApproveServiceUsage', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:ApproveServiceUsage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ], + ], + ], + [ + 'apiName' => 'ContinueDeployServiceInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:ContinueDeployServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateServiceInstanceSpec', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateServiceInstanceSpec', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateSupplierInformation', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateSupplierInformation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'SupplierInfo', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:supplierinfo/*'], + ], + ], + ], + [ + 'apiName' => 'GetServiceTemplateParameterConstraints', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetServiceTemplateParameterConstraints', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ], + ], + ], + [ + 'apiName' => 'StartServiceInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:StartServiceInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'], + ], + ], + ], + [ + 'apiName' => 'TagResources', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#AccountId}:serviceinstance/{#ServiceInstanceId}'], + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#AccountId}:artifact/{#ArtifactId}'], + ], + ], + ], + [ + 'apiName' => 'GetOpsNotice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GetOpsNotice', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateServiceInstanceAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UpdateServiceInstanceAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UnTagResources', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:UnTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GenerateServicePolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'computenestsupplier:GenerateServicePolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ], + ], + ], + [ + 'apiName' => 'ListServiceInstanceDeployDetails', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListServiceInstanceDeployDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RegisterService', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:RegisterService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'], + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceRegistration', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/*'], + ], + ], + ], + [ + 'apiName' => 'ListTagResources', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'computenestsupplier:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAcrImageRepositories', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'computenestsupplier:DeleteAcrImageRepositories', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RejectServiceUsage', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'computenestsupplier:RejectServiceUsage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:*:{#accountId}:service/{#serviceId}'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 1,\\n \\"OpsNotices\\": [\\n {\\n \\"NoticeId\\": \\"notice-1749693290\\",\\n \\"Type\\": \\"Vulnerability\\",\\n \\"ServiceId\\": \\"service-e10349089de34exxxxxx\\",\\n \\"ServiceName\\": \\"test\\",\\n \\"ServiceVersions\\": [\\n \\" \\\\\\"1\\\\\\", \\\\\\"2\\\\\\"\\"\\n ],\\n \\"Category\\": \\"Security\\",\\n \\"Severity\\": \\"High\\",\\n \\"Content\\": \\"content\\",\\n \\"Solutions\\": \\"You need to upgrade service instance\\",\\n \\"Attributes\\": \\"{\\\\\\"cveId\\\\\\":\\\\\\"CVE-2021-4034\\\\\\"}\\",\\n \\"StartTime\\": \\"2022-10-12T02:03:37Z\\",\\n \\"Success\\": \\"True\\"\\n }\\n ]\\n}","type":"json"}]', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'computenestsupplier.ap-southeast-1.aliyuncs.com', ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'computenestsupplier.cn-hangzhou.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ['validationType' => 'always', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:*:{#accountId}:artifact/{#ArtifactId}'], + ['validationType' => 'always', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:artifact/*'], + ['validationType' => 'always', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:artifact/{#ArtifactId}'], + ['validationType' => 'always', 'resourceType' => 'ServiceTestCase', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetestcase/{#TestCaseId}'], + ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#serviceId}'], + ['validationType' => 'always', 'resourceType' => 'SupplierInfo', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:supplierinfo/*'], + ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/*'], + ['validationType' => 'always', 'resourceType' => 'Artifact', 'arn' => 'acs:computenestsupplier:*:{#accountId}:artifact/*'], + ['validationType' => 'always', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/*'], + ['validationType' => 'always', 'resourceType' => 'ServiceRegistration', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/{#registrationId}'], + ['validationType' => 'always', 'resourceType' => 'ServiceTestTask', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetesttask/*'], + ['validationType' => 'always', 'resourceType' => 'Artifact', 'arn' => 'acs:computenest::{#accountId}:artifact/{#ArtifactId}'], + ['validationType' => 'always', 'resourceType' => 'ServiceTestCase', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:servicetestcase/*'], + ['validationType' => 'always', 'resourceType' => 'ServiceRegistration', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/*'], + ['validationType' => 'always', 'resourceType' => 'OpsNotice', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:opsnotice/*'], + ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#ServiceId}'], + ['validationType' => 'always', 'resourceType' => 'ServiceRegistration', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/{#ServiceRegistrationId}'], + ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:*:{#accountId}:service/{#ServiceId}'], + ['validationType' => 'always', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenestsupplier:*:{#accountId}:serviceinstance/{#serviceinstanceId}'], + ['validationType' => 'always', 'resourceType' => 'OpsNotice', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:opsnotice/{#OpsNoticeId}'], ], ], ]; |
