summaryrefslogtreecommitdiff
path: root/data/en_us/computenest/2021-06-01
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/computenest/2021-06-01
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/computenest/2021-06-01')
-rw-r--r--data/en_us/computenest/2021-06-01/api-docs.php14533
1 files changed, 7437 insertions, 7096 deletions
diff --git a/data/en_us/computenest/2021-06-01/api-docs.php b/data/en_us/computenest/2021-06-01/api-docs.php
index 37a138e..ab85dfe 100644
--- a/data/en_us/computenest/2021-06-01/api-docs.php
+++ b/data/en_us/computenest/2021-06-01/api-docs.php
@@ -1,124 +1,215 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'ComputeNest',
- 'version' => '2021-06-01',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'ComputeNest', 'version' => '2021-06-01'],
'directories' => [
[
- 'id' => 305053,
- 'title' => null,
+ 'children' => ['GetService', 'GetServiceTemplateParameterConstraints', 'GetServiceEstimateCost', 'GenerateServicePolicy', 'GetServiceProvisions', 'ListServices'],
'type' => 'directory',
- 'children' => [
- 'GetService',
- 'GetServiceTemplateParameterConstraints',
- 'GetServiceEstimateCost',
- 'GenerateServicePolicy',
- 'GetServiceProvisions',
- 'ListServices',
- ],
+ 'title' => 'Services',
],
[
- 'id' => 305060,
- 'title' => null,
+ 'children' => ['ListServiceCategories'],
'type' => 'directory',
- 'children' => [
- 'ListServiceCategories',
- ],
+ 'title' => 'Service categories',
],
[
- 'id' => 305062,
- 'title' => null,
+ 'children' => ['UpgradeServiceInstance', 'CreateServiceInstance', 'GetServiceInstance', 'ContinueDeployServiceInstance', 'DeleteServiceInstances', 'RenewServiceInstance', 'ListServiceInstanceLogs', 'ListServiceInstanceResources', 'ListServiceInstances', 'StartServiceInstance', 'StopServiceInstance', 'RestartServiceInstance', 'UpdateServiceInstanceSpec', 'ListServiceInstanceUpgradeHistory', 'RollbackServiceInstance', 'UpdateServiceInstanceAttributes', 'ValidateServiceInstanceName'],
'type' => 'directory',
- 'children' => [
- 'UpgradeServiceInstance',
- 'CreateServiceInstance',
- 'GetServiceInstance',
- 'ContinueDeployServiceInstance',
- 'DeleteServiceInstances',
- 'ListServiceInstanceLogs',
- 'ListServiceInstanceResources',
- 'ListServiceInstances',
- 'StartServiceInstance',
- 'StopServiceInstance',
- 'RestartServiceInstance',
- 'UpdateServiceInstanceSpec',
- 'ListServiceInstanceUpgradeHistory',
- 'RollbackServiceInstance',
- 'UpdateServiceInstanceAttributes',
- 'ValidateServiceInstanceName',
- ],
+ 'title' => 'Service instances',
],
[
- 'id' => 305079,
- 'title' => null,
+ 'children' => ['ListTagKeys', 'UnTagResources', 'TagResources', 'ListTagValues', 'ChangeResourceGroup'],
'type' => 'directory',
- 'children' => [
- 'ListTagKeys',
- 'UnTagResources',
- 'TagResources',
- 'ListTagValues',
- 'ChangeResourceGroup',
- ],
+ 'title' => 'Tags and resource groups',
],
[
- 'id' => 305085,
- 'title' => null,
+ 'children' => ['UpdateUserInformation', 'GetUserInformation'],
'type' => 'directory',
- 'children' => [
- 'UpdateUserInformation',
- 'GetUserInformation',
- ],
+ 'title' => 'User information',
],
[
- 'id' => 305088,
- 'title' => null,
+ 'children' => ['ListServiceUsages', 'CancelServiceUsage', 'CreateServiceUsage', 'UpdateServiceUsage'],
'type' => 'directory',
- 'children' => [
- 'ListServiceUsages',
- 'CancelServiceUsage',
- 'CreateServiceUsage',
- 'UpdateServiceUsage',
- ],
+ 'title' => 'Service usage applications',
],
[
- 'id' => 305093,
- 'title' => null,
- 'type' => 'directory',
'children' => [
- 'DeployServiceInstance',
- 'DescribeRegions',
- 'ListPolicies',
- 'GetNetworkAvailableZones',
- 'ListTagResources',
- 'GetServiceInstanceSubscriptionEstimateCost',
- 'RenewServiceInstanceResources',
- 'ListServiceInstanceBill',
- 'CheckServiceDeployable',
- 'CreateRestoreTask',
- 'GetBackup',
- 'ListRestoreTasks',
- 'ListBackups',
- 'CreateBackup',
- 'DeleteBackup',
+ 'DeployServiceInstance', 'DescribeRegions', 'ListPolicies', 'GetNetworkAvailableZones', 'RenewServiceInstanceResources', 'ListTagResources', 'GetServiceInstanceSubscriptionEstimateCost', 'ListServiceInstanceBill', 'CheckServiceDeployable', 'CreateRestoreTask', 'GetBackup', 'ListRestoreTasks', 'ListBackups', 'CreateBackup', 'DeleteBackup', 'CreateSkill', 'CreateSkillFileDetect', 'CreateSkillHubConfig', 'CreateSkillSpace', 'DeleteSkill',
+ 'DeleteSkillSpace', 'GetSkill', 'GetSkillFileDetectResult', 'GetSkillHubConfig', 'GetSkillSpace', 'ListPublicSkills', 'ListSkillFiles', 'ListSkillSpaces', 'ListSkills', 'UpdateSkill',
],
+ 'type' => 'directory',
+ 'title' => 'Others',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'GetService' => [
- 'summary' => 'Queries the information about a service.',
- 'methods' => [
- 'post',
- 'get',
+ 'CancelServiceUsage' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '137527',
+ 'abilityTreeNodes' => ['FEATUREcomputenestHUKJ18'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'service-d6fc5f949a9246xxxxxx'],
+ ],
+ [
+ '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. It 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' => 'NeedDelete',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to delete the request.'."\n"
+ ."\n"
+ .'> If you delete the request, you must submit a new one.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The region ID.', 'title' => '', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'CancelServiceUsage',
+ 'summary' => 'Cancels a service usage request.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelServiceUsage'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'computenest:CancelServiceUsage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:*:{#accountId}:service/{#serviceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]',
+ ],
+ 'ChangeResourceGroup' => [
+ 'summary' => 'Changes the resource group for a cloud resource.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '171476',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the cloud resource whose resource group you want to change.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'si-5dc794a7fd254e******'],
+ ],
+ [
+ 'name' => 'NewResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the destination resource group.'."\n"
+ ."\n"
+ .'You can obtain the resource group ID from the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfmzmhzo******'],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resource type. Valid values:'."\n"
+ ."\n"
+ .'- service: The resource is a service.'."\n"
+ ."\n"
+ .'- serviceinstance: The resource is a service instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'service'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '464C8CB6-A548-5206-B83C-D32A8E43EC21'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"464C8CB6-A548-5206-B83C-D32A8E43EC21\\"\\n}","type":"json"}]',
+ 'title' => 'ChangeResourceGroup',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeResourceGroup'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:ChangeResourceGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#serviceId}'],
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceInstance/{#serviceInstanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CheckServiceDeployable' => [
+ 'summary' => 'Performs a precheck to verify that a service instance can be deployed.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -130,956 +221,2433 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '36940',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
+ 'abilityTreeCode' => '225993',
+ 'abilityTreeNodes' => ['FEATUREcomputenestVIKWP9', 'FEATUREcomputenestVUFVAC'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ '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, 'example' => 'service-0e6fca6a51a544xxxxxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'TrialType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The trial type. Valid values:'."\n"
+ ."\n"
+ .'- Trial: The service supports trial use.'."\n"
+ ."\n"
+ .'- NotTrial: The service does not support trial use.', 'type' => 'string', 'required' => false, 'example' => 'NotTrial', 'title' => ''],
+ ],
+ [
+ 'name' => 'PrePaidAmount',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The total upfront payment amount.', 'type' => 'string', 'required' => false, 'example' => '0.0', 'title' => ''],
+ ],
+ [
+ 'name' => 'PostPaidAmount',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The total pay-as-you-go amount.', 'type' => 'string', 'required' => false, 'example' => '1.29', 'title' => ''],
+ ],
+ [
+ 'name' => 'TemplateName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Template 1', 'required' => false, 'title' => ''],
+ ],
+ [
+ 'name' => 'ServiceVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [
+ 'x-acs-ext-1' => [
+ 'schema' => ['type' => 'string'],
+ ],
+ ],
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'],
+ 'CheckResults' => [
+ 'description' => 'The check results.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The check results.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The type of precheck. Valid values:'."\n"
+ ."\n"
+ .'- Balance: The account balance.'."\n"
+ ."\n"
+ .'- Quota: The resource quota.', 'type' => 'string', 'example' => 'Balance', 'title' => ''],
+ 'Value' => ['description' => 'The check result.', 'type' => 'string', 'example' => 'true', 'title' => ''],
+ 'Message' => ['description' => 'The message returned for the result.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'Skippable' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\",\\n \\"CheckResults\\": [\\n {\\n \\"Type\\": \\"Balance\\",\\n \\"Value\\": \\"true\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Skippable\\": false\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'CheckServiceDeployable',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckServiceDeployable'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:CheckServiceDeployable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'manual',
+ ],
+ 'ContinueDeployServiceInstance' => [
+ 'summary' => 'If a service instance fails to deploy, you can call the ContinueDeployServiceInstance operation to resume the deployment.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '43087',
+ 'abilityTreeNodes' => ['FEATUREcomputenestVIKWP9', 'FEATUREcomputenestVUFVAC', 'FEATUREcomputenestZFWIMH', 'FEATUREcomputenestQKB5Y7'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'A client token that is used to ensure the idempotence of the request. Generate a unique value for this parameter from your client. 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' => 'ServiceInstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'si-0e6fca6a51a54420****'],
+ ],
+ [
'name' => 'RegionId',
'in' => 'query',
+ '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. A dry run checks items such as permissions and the instance status. Valid values:'."\n"
+ ."\n"
+ .'- true: performs a dry run to check the request. The service instance is not deployed.'."\n"
+ ."\n"
+ .'- false: sends a regular request. If the request passes the check, the service instance is deployed.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
+ ],
+ [
+ 'name' => 'Option',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'Region Id.',
- 'type' => 'string',
+ 'description' => 'The recreation options.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The recreation option. Valid values:'."\n"
+ ."\n"
+ .'- TryToFixSignalFailureByRerunEcsCommand: Tries to fix an existing signal failure. If an ALIYUN::ROS::WaitCondition resource fails to be created, this option finds the associated and successfully created ALIYUN::ECS::RunCommand and ALIYUN::ECS::Invocation resources. It then recreates these resources and their dependent resources.'."\n"
+ ."\n"
+ .'- IgnoreExistingSignalFailure: Ignores an existing signal failure. If a resource of the ALIYUN::ROS::WaitCondition type previously failed to be created, the resource is marked as successfully created in the new creation process.'."\n"
+ ."\n"
+ .'- AutoRecreatingResources: Automatically recreates resources whose template content or referenced parameters have changed. This includes dependent resources. This option simplifies the configuration of the RecreatingResources.N parameter but may cause unexpected resource recreation.'."\n"
+ ."\n"
+ .'> This option is valid only for ROS stacks.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'TryToFixSignalFailureByRerunEcsCommand'],
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'],
+ 'DryRunResult' => [
+ 'description' => 'The check result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ParametersNotAllowedToBeModified' => [
+ 'description' => 'The parameters that cannot be modified. Modifying these parameters always causes a check error.'."\n"
+ ."\n"
+ .'> This parameter is returned only if DryRun is set to true.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The parameters that cannot be modified. Modifying these parameters always causes a check error.'."\n"
+ ."\n"
+ .'> This parameter is returned only if DryRun is set to true.', 'type' => 'string', 'title' => '', 'example' => 'cidr'],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ParametersConditionallyAllowedToBeModified' => [
+ 'description' => 'The parameters that can be conditionally modified.'."\n"
+ .'Whether modifying these parameters causes a check error depends on their values.'."\n"
+ ."\n"
+ .'> This parameter is returned only if DryRun is set to true.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The parameters that can be conditionally modified.'."\n"
+ .'Whether modifying these parameters causes a check error depends on their values.'."\n"
+ ."\n"
+ .'> This parameter is returned only if DryRun is set to true.', 'type' => 'string', 'title' => '', 'example' => 'name'],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ParametersAllowedToBeModified' => [
+ 'description' => 'The parameters that can be modified. Modifying these parameters does not cause a check error.'."\n"
+ ."\n"
+ .'> This parameter is returned only if DryRun is set to true.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The parameters that can be modified. Modifying these parameters does not cause a check error.'."\n"
+ ."\n"
+ .'> This parameter is returned only if DryRun is set to true.', 'type' => 'string', 'title' => '', 'example' => 'description'],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ServiceInstanceId' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'title' => '', 'example' => 'si-d6ab3a63ccbb4b17****'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\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',
+ 'description' => 'If a private service instance that uses the ROS deployment type fails to deploy, you can call the ContinueDeployServiceInstance operation to resume the deployment.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ContinueDeployServiceInstance'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:ContinueDeployServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
],
],
+ ],
+ ],
+ 'CreateBackup' => [
+ 'summary' => 'Creates a backup for a Compute Nest service instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ServiceId',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenestSE9C8Z'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Description',
'in' => 'query',
+ 'schema' => ['description' => 'The backup description.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'No description'],
+ ],
+ [
+ 'name' => 'ServiceInstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the service instance to back up.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-56cfb7ec3a634448a96c'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The service ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'service-0e6fca6a51a544xxxxxx',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8DC02957-A0FC-5AB2-8C54-496B636EAF12'],
+ 'BackupId' => ['title' => 'Id of the request', 'description' => 'The backup ID.', 'type' => 'string', 'example' => 'backup-cad4a85ff5e340388b93'],
+ 'Description' => ['title' => 'Id of the request', 'description' => 'The description.', 'type' => 'string', 'example' => 'No description'],
+ 'Status' => ['title' => 'Id of the request', 'description' => 'The status of the backup.'."\n"
+ ."\n"
+ .'- Creating: The backup is being created.'."\n"
+ ."\n"
+ .'- Created: The backup is created.'."\n"
+ ."\n"
+ .'- CreateFailed: The backup failed to be created.'."\n"
+ ."\n"
+ .'- Deleting: The backup is being deleted.'."\n"
+ ."\n"
+ .'- Deleted: The backup is deleted.'."\n"
+ ."\n"
+ .'- DeleteFailed: The backup failed to be deleted.', 'type' => 'string', 'example' => 'Creating'],
+ ],
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => 'CreateBackup',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure that the service provider enabled the upgrade/downgrade feature and configured the corresponding parameters when the service was created.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateBackup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8DC02957-A0FC-5AB2-8C54-496B636EAF12\\",\\n \\"BackupId\\": \\"backup-cad4a85ff5e340388b93\\",\\n \\"Description\\": \\"No description\\",\\n \\"Status\\": \\"Creating\\"\\n}","type":"json"}]',
+ ],
+ 'CreateRestoreTask' => [
+ 'summary' => 'Creates a restore job.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232527',
+ 'abilityTreeNodes' => ['FEATUREcomputenestSE9C8Z'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceInstanceId',
+ 'in' => 'query',
+ '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-49793f3bfa034ec6a990'],
+ ],
+ [
+ 'name' => 'BackupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The backup ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'backup-385d35fb088f453c8fa1'],
+ ],
+ ],
+ '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' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7'],
+ 'RestoreTaskId' => ['description' => 'The ID of the restore job.', 'type' => 'string', 'title' => '', 'example' => 'restore-fdsafda'],
+ 'Status' => ['description' => 'The status of the service instance. Valid values:'."\n"
+ ."\n"
+ .'- Restoring: The service instance is being restored.'."\n"
+ ."\n"
+ .'- Restored: The service instance is restored.'."\n"
+ ."\n"
+ .'- RestoreFailed: The service instance failed to be restored.', 'type' => 'string', 'title' => '', 'example' => 'Restoring'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateRestoreTask',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Before you call this operation, ensure that the service provider enabled the upgrade and downgrade feature and configured its parameters when the service was created.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateRestoreTask',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\",\\n \\"RestoreTaskId\\": \\"restore-fdsafda\\",\\n \\"Status\\": \\"Restoring\\"\\n}","type":"json"}]',
+ ],
+ 'CreateServiceInstance' => [
+ 'summary' => 'Creates and deploys a service instance in Compute Nest by specifying parameters such as a region ID, a service instance name, and a service ID.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '36939',
+ 'abilityTreeNodes' => ['FEATUREcomputenestVIKWP9', 'FEATUREcomputenestVUFVAC', 'FEATUREcomputenestZFWIMH', 'FEATUREcomputenestQKB5Y7'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID. 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"
+ .'- The name 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.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'service-0e6fca6a51a54420****', 'title' => ''],
+ ],
[
'name' => 'ServiceVersion',
'in' => 'query',
+ 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'Parameters',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The parameters for deploying the user instance.'."\n"
+ ."\n"
+ .'> If the service instance contains deployment region information, you must specify the region 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-generated, unique token that ensures the idempotence of the request. The token can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''],
+ ],
+ [
+ 'name' => 'EnableInstanceOps',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Indicates whether the service instance has the O\\&M feature. Valid values:'."\n"
+ ."\n"
+ .'- **true**: The service instance has the O\\&M feature.'."\n"
+ ."\n"
+ .'- **false**: The service instance does not have the O\\&M feature.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'TemplateName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The template name. You must specify this parameter if the service supports multiple templates.', 'type' => 'string', 'example' => 'Template 1', 'required' => false, 'title' => ''],
+ ],
+ [
+ 'name' => 'OperationMetadata',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => 'The service version.'."\n",
- 'type' => 'string',
+ 'description' => 'The O\\&M configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'StartTime' => ['description' => 'The start time of the O\\&M window. This parameter is valid only in managed O\\&M mode.', 'type' => 'string', 'required' => false, 'example' => '2021-12-29T06:48:56Z', 'title' => ''],
+ 'EndTime' => ['description' => 'The end time of the O\\&M window. This parameter is valid only in managed O\\&M mode.', 'type' => 'string', 'required' => false, 'example' => '2022-01-28T06:48:56Z', 'title' => ''],
+ 'Resources' => ['description' => 'The list of imported resources.', 'type' => 'string', 'required' => false, 'example' => '{ "RegionId": "cn-hangzhou", "Type": "ResourceIds", "ResourceIds": { "ALIYUN::ECS::INSTANCE": ["i-xxx", "i-yyy"], "ALIYUN::RDS::INSTANCE": ["rm-xxx", "rm-yyy"], "ALIYUN::VPC::VPC": ["vpc-xxx", "vpc-yyy"], "ALIYUN::SLB::INSTANCE": ["lb-xxx", "lb-yyy"] } }', 'title' => ''],
+ 'ServiceInstanceId' => ['description' => 'The ID of the imported service instance.', 'type' => 'string', 'required' => false, 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''],
+ 'ExtraInfo' => ['description' => 'Additional information about the managed O\\&M service.', 'type' => 'string', 'required' => false, 'example' => ' ```json'."\n"
+ .' {'."\n"
+ .' "vncInfo": ['."\n"
+ .' {'."\n"
+ .' "instanceId": "i-001",'."\n"
+ .' "username": "admin",'."\n"
+ .' "password": "******",'."\n"
+ .' "vncPassword": "******"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' ```', 'title' => ''],
+ ],
'required' => false,
- 'docRequired' => false,
- 'example' => '1.0',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ShowDetails',
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''],
+ ],
+ [
+ 'name' => 'ContactGroup',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The CloudMonitor alert contact group that receives alerts.', 'type' => 'string', 'example' => 'Cloud account alert contact', 'required' => false, 'title' => ''],
+ ],
+ [
+ 'name' => 'TrialType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The type of the service instance. Valid values:'."\n"
+ ."\n"
+ .'- **Trial**: The service instance supports trial.'."\n"
+ ."\n"
+ .'- **NotTrial**: The service instance does not support trial.', 'type' => 'string', 'required' => false, 'example' => 'Trial', 'title' => ''],
+ ],
+ [
+ 'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'Whether to disclose service details.',
+ 'description' => 'The custom tags.',
'type' => 'array',
'items' => [
- 'description' => 'Whether to disclose service details.',
- 'type' => 'string',
+ '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,
- 'example' => 'ServiceInstanceRoleInfo',
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
- 'maxItems' => 100,
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'SpecificationName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the specification package.', 'type' => 'string', 'example' => 'Package 1', 'required' => false, 'title' => ''],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Indicates whether to perform a dry run for the request. The dry run checks for permissions and instance status. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Sends the request without creating the service instance.'."\n"
+ ."\n"
+ .'- **false**: Sends the request and creates the service instance after the check is passed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
+ ],
+ [
+ 'name' => 'SpecificationCode',
'in' => 'query',
+ 'schema' => ['description' => 'The commodity specification code.', 'type' => 'string', 'required' => false, 'example' => 'yuncode5425200001', 'title' => ''],
+ ],
+ [
+ 'name' => 'EnableUserPrometheus',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Indicates whether to enable Prometheus monitoring. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enable.'."\n"
+ ."\n"
+ .'- **false**: Disable.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'Commodity',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => 'The service name.'."\n",
- 'type' => 'string',
+ 'description' => 'The information about the Alibaba Cloud Marketplace purchase order. You do not need to specify this parameter if the service is not listed in Alibaba Cloud Marketplace or if you use the pay-as-you-go billing method.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PayPeriodUnit' => ['description' => 'The unit of the subscription duration. Valid values:'."\n"
+ ."\n"
+ .'- **Year**: Year.'."\n"
+ ."\n"
+ .'- **Month**: Month.'."\n"
+ ."\n"
+ .'- **Day**: Day.', 'type' => 'string', 'required' => false, 'example' => 'Year', 'title' => ''],
+ 'PayPeriod' => ['description' => 'The subscription duration.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''],
+ 'AutoRenew' => ['description' => 'Indicates whether to enable auto-renewal. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enable.'."\n"
+ ."\n"
+ .'- **false**: Disable.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
+ 'AutoPay' => ['description' => 'Indicates whether to enable automatic payment for the order. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enable automatic payment.'."\n"
+ ."\n"
+ .'- **false**: Disable automatic payment.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
+ 'CouponId' => ['description' => 'The coupon ID.', 'type' => 'string', 'required' => false, 'example' => '302070970220', 'title' => ''],
+ 'QuotationId' => ['description' => 'The ID of the private offer in Alibaba Cloud Marketplace.', 'type' => 'string', 'required' => false, 'example' => 'xxxx-xxxx-xxxx-xxxx', 'title' => ''],
+ ],
'required' => false,
- 'example' => 'Wordpress',
+ 'title' => '',
+ 'example' => '',
],
],
[
+ 'name' => 'ResourceAutoPay',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Indicates whether to automatically deduct the payment from your account balance. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Enable automatic payment.'."\n"
+ ."\n"
+ .'- **false**: Disable automatic payment.', 'type' => 'boolean', 'default' => 'true', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
'name' => 'ServiceInstanceId',
'in' => 'query',
+ 'schema' => ['description' => 'The ID of the service instance to convert to a paid instance.', 'type' => 'string', 'required' => false, 'example' => 'si-d32fbcef30664721b785', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The service instance id.',
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ '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 request ID.', 'type' => 'string', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****', 'title' => ''],
+ 'ServiceInstanceId' => ['description' => 'The service instance ID.', 'type' => 'string', 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''],
+ 'MarketInstanceId' => ['description' => 'The ID of the Alibaba Cloud Marketplace instance.', 'type' => 'string', 'example' => '786***45', 'title' => ''],
+ 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '2306175xxxxxxxx', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Created\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"MarketInstanceId\\": \\"786***45\\",\\n \\"OrderId\\": \\"2306175xxxxxxxx\\"\\n}","type":"json"}]',
+ 'title' => 'CreateServiceInstance',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceInstance'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'manual',
+ ],
+ 'CreateServiceUsage' => [
+ 'summary' => 'Creates a service usage request.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcomputenestJ4D829'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'service-d6fc5f949a9246xxxxxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'A client token to ensure the idempotence of the request. The value is generated by the client and must be unique for each request. The **ClientToken** value can contain only ASCII characters and must be no more than 64 characters long.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''],
+ ],
+ [
+ 'name' => 'UserInformation',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The request information.',
+ 'type' => 'object',
'required' => false,
- 'example' => 'si-b58c874912fc4294****',
+ 'additionalProperties' => ['description' => 'The request information.', 'type' => 'string', 'example' => '{'."\n"
+ .' "ServiceId": "xxx",'."\n"
+ .' "EmailAddress": "邮箱",'."\n"
+ .' "Company": "公司",'."\n"
+ .' "Country": "国家",'."\n"
+ .' "Telephone": "申请人的电话号码",'."\n"
+ .' "Name": "申请人名字",'."\n"
+ .' "Title": "申请人的职位",'."\n"
+ .' "Industry": "行业"'."\n"
+ .'}', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => 'The deploy status of the service. Valid values:'."\n"
- .'- Draft'."\n"
- .'- Beta'."\n"
- .'- Submitted'."\n"
- .'- Approved'."\n"
- .'- Launching'."\n"
- .'- Online'."\n"
- .'- Offline'."\n"
- .'- Creating',
- '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' => '{\\"TemplateUrl\\": \\"http://tidbRosFile\\"}',
- ],
- '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' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA',
- ],
- '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.',
- 'type' => 'string',
- 'example' => 'ros',
- ],
- 'ServiceId' => [
- 'description' => 'The service ID.'."\n",
- 'type' => 'string',
- 'example' => 'service-0e6fca6a51a544xxxxxx',
- ],
- '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.',
- 'type' => 'string',
- 'example' => 'private',
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]',
+ 'title' => 'CreateServiceUsage',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceUsage'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateServiceUsage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:*:{#accountId}:service/{#serviceId}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateSkill' => [
+ 'summary' => 'Creates a Skill.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SkillName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The Skill name.', 'type' => 'string', 'required' => false, 'example' => 'skill-creator', 'title' => ''],
+ ],
+ [
+ 'name' => 'SkillDisplayName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'SkillLabels',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The Skill labels.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The Skill label.', 'type' => 'string', 'required' => false, 'example' => 'category:frontend-development', 'title' => ''],
+ 'required' => false,
+ 'example' => '["category:frontend-development"]',
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'SkillDescription',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The Skill description.', 'type' => 'string', 'required' => false, 'example' => 'Create new skills, modify and improve existing skills, and measure skill performance', 'title' => ''],
+ ],
+ [
+ 'name' => 'SkillSpaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the SkillSpace to which the Skill belongs.', 'type' => 'string', 'required' => true, 'example' => 'ss-xxxxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'SourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source type for creating the Skill.',
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['COPY', 'UPLOAD'],
+ 'example' => 'COPY',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'SourceSkillId',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'The public Skill ID. This parameter is required when SourceType is set to COPY.', 'type' => 'string', 'required' => false, 'example' => 's-xxxxx'],
+ ],
+ [
+ 'name' => 'OssUrl',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The OSS URL of the Skill package to upload. This parameter is required when SourceType is set to UPLOAD.', 'type' => 'string', 'required' => false, 'example' => 'https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/skill-creator.zip', 'title' => ''],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ '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 value of **ClientToken** can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A17F9930-E2DC-5E87-B6D6-B0BCD2B00834'],
+ 'SkillId' => ['title' => '', 'description' => 'Skill ID', 'type' => 'string', 'example' => 's-xxxxx'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => 'Create a skill',
+ 'description' => '### Before you begin'."\n"
+ .'Make sure that the service provider has enabled the Upgrade/Downgrade feature and completed the specification change parameter settings when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateSkill',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A17F9930-E2DC-5E87-B6D6-B0BCD2B00834\\",\\n \\"SkillId\\": \\"s-xxxxx\\"\\n}","type":"json"}]',
+ ],
+ 'CreateSkillFileDetect' => [
+ 'summary' => 'Creates a Skill file detection task.',
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OssUrl',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The OSS URL of the Skill compressed file to be detected.', 'type' => 'string', 'required' => true, 'example' => 'https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/skill-creator.zip', 'title' => ''],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ '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 make sure that the token is unique among different requests. The value of **ClientToken** can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '3F976EF8-C10A-57DC-917C-BB7BEB508FFB'],
+ 'HashKey' => ['title' => '', 'description' => 'The unique identifier of the current detection task.', 'type' => 'string', 'example' => '2aceb074-fa72-44d2-99d9-45b17cffe0e7'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => 'Create a skill file detection task',
+ 'description' => '### Before you begin'."\n"
+ .'Make sure that the service provider has enabled the Upgrade/Downgrade feature and completed the specification change parameter settings when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateSkillFileDetect',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3F976EF8-C10A-57DC-917C-BB7BEB508FFB\\",\\n \\"HashKey\\": \\"2aceb074-fa72-44d2-99d9-45b17cffe0e7\\"\\n}","type":"json"}]',
+ ],
+ 'CreateSkillHubConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OssBucketName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the Object Storage Service (OSS) bucket.', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'tidb-test-a', 'title' => ''],
+ ],
+ [
+ 'name' => 'OssRegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID of the OSS bucket. For more information, see [OSS regions and endpoints](~~31837~~).', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', 'title' => ''],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'A client-generated token to ensure request idempotence. This value must be unique for each request. **ClientToken** must contain only ASCII characters and be no longer than 64 characters.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '3F976EF8-C10A-57DC-917C-BB7BEB508FFB'],
+ ],
+ 'title' => '',
+ 'description' => 'Response schema',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => 'CreateSkillHubConfig',
+ 'summary' => 'Creates a SkillHub config.',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure that the service provider has enabled the modify configuration feature and set the required parameters.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3F976EF8-C10A-57DC-917C-BB7BEB508FFB\\"\\n}","type":"json"}]',
+ ],
+ 'CreateSkillSpace' => [
+ 'summary' => 'Creates a SkillSpace.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SkillSpaceName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the SkillSpace.', 'type' => 'string', 'required' => true, 'example' => 'office-toolkit-skills', 'title' => ''],
+ ],
+ [
+ 'name' => 'SkillSpaceDescription',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The description of the SkillSpace.', 'type' => 'string', 'required' => true, 'example' => 'All-in-one office toolkit — generate reports, process data, manage files, and streamline workflows effortlessly.', 'title' => ''],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ '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 make sure that the token is unique among different requests. The value of ClientToken can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7'],
+ 'SkillSpaceId' => ['title' => '', 'description' => 'SkillSpace ID', 'type' => 'string', 'example' => 'ss-xxxxx'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
+ ],
+ 'title' => 'Create a skill space',
+ 'description' => '### Before you begin'."\n"
+ .'Confirm that the service provider has enabled the Upgrade/Downgrade feature and completed the specification change parameter settings when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateSkillSpace',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\",\\n \\"SkillSpaceId\\": \\"ss-xxxxx\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteBackup' => [
+ 'summary' => 'Deletes a Compute Nest instance backup.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '232519',
+ 'abilityTreeNodes' => ['FEATUREcomputenestSE9C8Z'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BackupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The backup ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'backup-385d35fb088f453c8fa1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => 'DeleteBackup',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure that the service provider enabled the upgrade/downgrade feature and configured the upgrade/downgrade parameters when the service was created.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'computenest:DeleteBackup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteServiceInstances' => [
+ 'summary' => 'Deletes the specified service instances in a region.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '36935',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. Make sure that the token is unique for each request. The **ClientToken** value can contain only ASCII characters and cannot be longer than 64 characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-426655440000'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'ServiceInstanceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the service instances.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The service instance ID. You can specify 1 to 100 service instance IDs.'."\n"
+ ."\n"
+ .'> To delete multiple service instances, separate them with &&. For example: ServiceInstanceId.1=xxx&\\&ServiceInstanceId.2=yyy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'si-d6ab3a63ccbb4b17****'],
+ 'required' => true,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'ComputeNest::2021-06-01::GetServiceInstance', 'callbackInterval' => 2000, 'maxCallbackTimes' => 500],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteServiceInstances',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceInstances'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'computenest:DeleteServiceInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteSkill' => [
+ 'summary' => 'Deletes a Skill.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SkillId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Skill ID', 'type' => 'string', 'required' => true, 'example' => 's-xxxxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Ensures the idempotence of the request. Generate a value from your client that is unique across different requests. **ClientToken** supports only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => 'Delete a skill',
+ 'description' => '### Before you begin'."\n"
+ .'Make sure that the service provider has enabled the Upgrade/Downgrade feature and completed the specification change parameter settings when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteSkillSpace' => [
+ 'summary' => 'Deletes a Skill workspace.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SkillSpaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'SkillSpace ID', 'type' => 'string', 'required' => true, 'example' => 'ss-xxxxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Ensures the idempotence of the request. Generate a parameter value from your client to ensure that the value is unique across different requests. **ClientToken** supports only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'InvalidSkillSpace.NotFound', 'errorMessage' => 'The specified SkillSpace does not exist.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => 'Delete a skill workspace',
+ 'description' => '### Before you begin'."\n"
+ .'Confirm that the service provider has enabled the Upgrade/Downgrade feature and completed the specification change parameter settings when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'computenest:DeleteSkillSpace',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\"\\n}","type":"json"}]',
+ ],
+ 'DeployServiceInstance' => [
+ 'summary' => 'Deploys a service instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '36959',
+ 'abilityTreeNodes' => ['FEATUREcomputenestVIKWP9'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'A client token to ensure the idempotence of a request. Generate a unique value from the client for this parameter. The token 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' => 'ServiceInstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'si-b58c874912fc4294****'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID. Possible values:'."\n"
+ ."\n"
+ .'- cn-hangzhou: China (Hangzhou).'."\n"
+ ."\n"
+ .'- ap-southeast-1: Singapore.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\"\\n}","type":"json"}]',
+ 'title' => 'DeployServiceInstance',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeployServiceInstance'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:DeployServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeRegions' => [
+ 'summary' => 'Queries the available regions.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '36938',
+ 'abilityTreeNodes' => ['FEATUREcomputenest2G0818', 'FEATUREcomputenest1Z49ZW', 'FEATUREcomputenest21Y74A', 'FEATUREcomputenestHX5MKK', 'FEATUREcomputenestB2MIVU', 'FEATUREcomputenestDWH8PE', 'FEATUREcomputenest8XBPFA', 'FEATUREcomputenestC6045N', 'FEATUREcomputenestA4RHS0', 'FEATUREcomputenestQE1OA6', 'FEATUREcomputenest2LCZ5B', 'FEATUREcomputenestJ4D829', 'FEATUREcomputenest0EG8HU', 'FEATUREcomputenest3Q4PWW', 'FEATUREcomputenestHUKJ18'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'],
+ 'Regions' => [
+ 'description' => 'The list of available regions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The region information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionEndpoint' => ['description' => 'The endpoint of the region.', 'type' => 'string', 'title' => '', 'example' => 'computenest.cn-hangzhou.aliyuncs.com'],
+ 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'ServiceProductUrl' => [
- 'description' => 'The URL of the service page.'."\n",
- 'type' => 'string',
- 'example' => 'http://example1.com',
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\",\\n \\"Regions\\": [\\n {\\n \\"RegionEndpoint\\": \\"computenest.cn-hangzhou.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeRegions',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'],
+ ],
+ ],
+ 'ramActions' => [],
+ ],
+ 'GenerateServicePolicy' => [
+ 'summary' => 'Queries the missing access policies before creating a service instance.',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcomputenest2G0818', 'FEATUREcomputenest1Z49ZW'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'service-b3e9ed878b0c4xxxxxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'ServiceVersion',
+ 'in' => 'query',
+ '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' => '模板1', 'title' => ''],
+ ],
+ [
+ 'name' => 'TrialType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The trial type. Default value: NotTrial. Valid values:'."\n"
+ ."\n"
+ .'- Trial: Trial is supported.'."\n"
+ ."\n"
+ .'- NotTrial: Trial is not supported.', 'type' => 'string', 'required' => false, 'example' => 'NotTrial', 'title' => ''],
+ ],
+ [
+ 'name' => 'OperationTypes',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The operation types for which policy information needs to be generated.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The operation type for which policy information needs to be generated. Valid values:'."\n"
+ ."\n"
+ .'- CreateServiceInstance: Creates a service instance.'."\n"
+ .'- UpdateServiceInstance: Updates a service instance.'."\n"
+ .'- DeleteServiceInstance: Deletes a service instance.'."\n"
+ .'> Default value: all valid values.', 'type' => 'string', 'required' => false, 'example' => 'CreateServiceInstance', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 30,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Parameters',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The parameters required to check the deployment permissions of the service instance.', 'type' => 'object', 'required' => false, 'example' => '{\\"EnablePublicIp\\":null,\\"DeploymentMode\\":\\"ExistingECS\\",\\"ExistingInstanceId\\":\\"i-bp1cg4t5o9kol5tdiw1q\\",\\"RegionId\\":\\"cn-hangzhou\\",\\"InternetChargeType\\":\\"PayByTraffic\\"}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Policy' => ['description' => 'The custom properties of the required access policy.', '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 resource 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' => '',
],
- 'SupplierName' => [
- 'description' => 'The name of the service provider.'."\n",
- 'type' => 'string',
- 'example' => 'Alibaba Cloud',
+ ],
+ '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' => 'Query service access policies',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateServicePolicy'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GenerateServicePolicy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#serviceId}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetBackup' => [
+ 'summary' => 'Retrieves the details of a backup.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '246769',
+ 'abilityTreeNodes' => ['FEATUREcomputenestL64NT4'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BackupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The backup ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'backup-cad4a85ff5e340388b93'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response schema.',
+ 'type' => 'object',
+ 'properties' => [
+ 'BackupId' => ['title' => 'Id of the request', 'description' => 'The backup ID.', 'type' => 'string', 'example' => 'backup-cad4a85ff5e340388b93'],
+ 'ServiceInstanceId' => ['title' => 'Id of the request', 'description' => 'The service instance ID.', 'type' => 'string', 'example' => 'si-b58c874912fc4294****'],
+ 'StartTime' => ['title' => 'Id of the request', 'description' => 'The time when the backup started.', 'type' => 'string', 'example' => '2022-01-01T11:00:00'],
+ 'EndTime' => ['title' => 'Id of the request', 'description' => 'The time when the backup ended.', 'type' => 'string', 'example' => '2022-01-01T12:00:00'],
+ 'Status' => ['title' => 'Id of the request', 'description' => 'The status.'."\n"
+ ."\n"
+ .'- Creating: The backup is being created.'."\n"
+ ."\n"
+ .'- Created: The backup is created.'."\n"
+ ."\n"
+ .'- CreateFailed: The backup failed to be created.'."\n"
+ ."\n"
+ .'- Deleting: The backup is being deleted.'."\n"
+ ."\n"
+ .'- Deleted: The backup is deleted.'."\n"
+ ."\n"
+ .'- DeleteFailed: The backup failed to be deleted.', 'type' => 'string', 'example' => 'Creating'],
+ 'Description' => ['title' => 'Id of the request', 'description' => 'The backup description.', 'type' => 'string', 'example' => 'No description'],
+ 'CreateTime' => ['title' => 'Id of the request', 'description' => 'The time when the backup was created.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z'],
+ 'ModifiedTime' => ['title' => 'Id of the request', 'description' => 'The time when the backup was last modified.', 'type' => 'string', 'example' => '2025-03-10T19:26:20Z'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7'],
+ 'StatusDetail' => ['title' => '', 'description' => 'The detailed status of the deployment instance.', 'type' => 'string', 'example' => 'Disk i-xxxx backup failed, error message: error'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => 'GetBackup',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure that the service provider enabled the upgrade and downgrade feature and configured its parameters when the service was created.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:GetBackup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"BackupId\\": \\"backup-cad4a85ff5e340388b93\\",\\n \\"ServiceInstanceId\\": \\"si-b58c874912fc4294****\\",\\n \\"StartTime\\": \\"2022-01-01T11:00:00\\",\\n \\"EndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"Status\\": \\"Creating\\",\\n \\"Description\\": \\"No description\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"ModifiedTime\\": \\"2025-03-10T19:26:20Z\\",\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\",\\n \\"StatusDetail\\": \\"Disk i-xxxx backup failed, error message: error\\"\\n}","type":"json"}]',
+ ],
+ 'GetNetworkAvailableZones' => [
+ 'summary' => 'Returns a list of available zones for a specified region.',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '172337',
+ 'abilityTreeNodes' => ['FEATUREcomputenestHX5MKK'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PrivateVpcConnectionMode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false, 'title' => '', 'description' => 'The connection mode. Valid values: \\`PrivateLink\\` and \\`OverlayLink\\`. \\`OverlayLink\\` is an overlay link based on Application-aware Network Service Mesh (ANSM).', 'example' => 'PrivateLink'],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The zone for the service deployment.', 'required' => false, 'example' => 'cn-hangzhou-i'],
+ ],
+ [
+ 'name' => 'NetworkRegionId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'title' => '', 'description' => 'The region of the virtual network.', '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' => 'ServiceRegionId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'description' => 'The ID of the region where the service is located.', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'IsPoc',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'description' => 'Specifies whether the service is a trial.', 'required' => false, 'title' => '', 'example' => 'true'],
+ ],
+ [
+ 'name' => 'ServiceId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'description' => 'The service ID.', 'required' => false, 'title' => '', 'example' => 'service-55fc2eabbce647fa976b'],
+ ],
+ [
+ 'name' => 'ServiceVersion',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'description' => 'The service version.', 'required' => false, 'title' => '', 'example' => '1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionIdList' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => 'The region ID.', 'title' => '', 'example' => 'cn-hangzhou'],
+ 'description' => 'The list of region IDs.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ZoneIdList' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => 'The zone ID.', 'title' => '', 'example' => 'cn-hangzhou-i'],
+ 'description' => 'The list of zone IDs.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => 'The data returned.',
+ 'title' => '',
+ 'example' => '',
],
+ 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'A17F9930-E2DC-5E87-B6D6-B0BCD2B00834'],
+ ],
+ 'title' => '',
+ 'description' => 'PlainResult',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'GetNetworkAvailableZones',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure that the service provider enabled the upgrade/downgrade feature and set the related parameters when the service was created.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetNetworkAvailableZones',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"RegionIdList\\": [\\n \\"cn-hangzhou\\"\\n ],\\n \\"ZoneIdList\\": [\\n \\"cn-hangzhou-i\\"\\n ]\\n },\\n \\"RequestId\\": \\"A17F9930-E2DC-5E87-B6D6-B0BCD2B00834\\"\\n}","type":"json"}]',
+ ],
+ 'GetService' => [
+ 'summary' => 'Retrieves the details of a specified service.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '36940',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ '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' => false, 'docRequired' => false, 'example' => 'service-0e6fca6a51a544xxxxxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'ServiceVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '1.0', 'title' => ''],
+ ],
+ [
+ 'name' => 'ShowDetails',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'Specifies whether to return the detailed information of the service.',
+ 'type' => 'array',
+ 'items' => ['description' => 'Specifies whether to return the detailed information of the service.', 'type' => 'string', 'required' => false, 'example' => 'ServiceInstanceRoleInfo', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'WordPress Community Edition', 'required' => false, 'title' => ''],
+ ],
+ [
+ 'name' => 'ServiceInstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => false, 'example' => 'si-b58c874912fc4294****', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'The status of the service. Valid values:'."\n"
+ ."\n"
+ .'- Draft: The service is in the draft state.'."\n"
+ ."\n"
+ .'- Beta: The service is in a pre-release state. The service cannot be modified but can be shared with other users.'."\n"
+ ."\n"
+ .'- Submitted: The service is submitted for approval. The service cannot be modified.'."\n"
+ ."\n"
+ .'- Approved: The service is approved. The service cannot be modified but 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.'."\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 deployment configuration of the service. The configuration is stored as a JSON string. The data format of the string varies based on the deployment type.', 'type' => 'string', 'example' => '{\\"TemplateUrl\\": \\"http://tidbRosFile\\"}', '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' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA', '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 a Service Provider Interface (SPI).'."\n"
+ ."\n"
+ .'- operation: The service is an Alibaba Cloud Managed Services deployment.'."\n"
+ ."\n"
+ .'- container: The service is deployed using a container.'."\n"
+ ."\n"
+ .'- pkg: The service is a package service.', 'type' => 'string', 'example' => 'ros', 'title' => ''],
+ 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'service-0e6fca6a51a544xxxxxx', '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 hosted in the service provider\'s account.'."\n"
+ ."\n"
+ .'- operation: The service is an Alibaba Cloud Managed Service.', 'type' => 'string', 'example' => 'private', 'title' => ''],
+ 'ServiceProductUrl' => ['description' => 'The URL of the product page.', 'type' => 'string', 'example' => 'http://example1.com', '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' => 'The information about the service.'."\n",
+ 'description' => 'The service information.',
'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' => 'Service document information.',
- ],
- 'ShortDescription' => [
- 'description' => 'The description of the service.'."\n",
- 'type' => 'string',
- 'example' => 'Docker Community Edition (CE) is a free version of the Docker project, aimed at developers, enthusiasts, and individuals and organizations who want to use container technology. ',
- ],
+ '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' => 'https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.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' => ''],
'Agreements' => [
- 'description' => 'The agreement information about the service.'."\n",
+ 'description' => 'The service agreements.',
'type' => 'array',
'items' => [
- 'description' => 'The agreement information about the service.'."\n",
+ 'description' => 'The service agreements.',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => 'The agreement name.'."\n",
- 'type' => 'string',
- 'example' => 'User agreement',
- ],
- 'Url' => [
- 'description' => 'The agreement URL.'."\n",
- 'type' => 'string',
- 'example' => 'https://url',
- ],
+ 'Name' => ['description' => 'The agreement name.', 'type' => 'string', 'example' => 'User agreement', 'title' => ''],
+ 'Url' => ['description' => 'The agreement URL.', 'type' => 'string', 'example' => 'https://url', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'Softwares' => [
- 'description' => 'The list of the software in the service.',
+ 'description' => 'The service software.',
'type' => 'array',
'items' => [
- 'description' => 'The software in the service.',
+ 'description' => 'The service software.',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => 'The name of the Software.',
- 'type' => 'string',
- 'example' => 'wordpress',
- ],
- 'Version' => [
- 'description' => 'The version of the software.',
- 'type' => 'string',
- 'example' => '6.0.1',
- ],
+ 'Name' => ['description' => 'The software name.', 'type' => 'string', 'example' => 'wordpress', 'title' => ''],
+ 'Version' => ['description' => 'The software version.', 'type' => 'string', 'example' => '6.0.1', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- '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',
- ],
- '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',
- ],
- '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',
- ],
- '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' => '{ "TemplateUrl": "http://template.file.url", "ApplicationGroups": [ { "Name": "applicationGroup1", "TemplateUrl": "url1" }, { "Name": "applicationGroup2", "TemplateUrl": "url2" } ] }',
- ],
- 'VersionName' => [
- 'description' => 'The version name.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
+ 'IsSupportOperated' => ['description' => 'Specifies whether to enable Alibaba Cloud Managed Services. 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', 'example' => 'false', 'title' => ''],
+ 'PolicyNames' => ['description' => 'The policy names. A single policy name can be up to 128 characters in length. Separate multiple names with 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' => ''],
+ 'ShareType' => ['description' => 'The share 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"
+ .'- OnlyTrialRestricted: Only trial deployments are restricted.'."\n"
+ ."\n"
+ .'- Hidden: The service is hidden, is not visible, and you cannot request permissions for deployment.', 'type' => 'string', 'example' => 'Public', 'title' => ''],
+ 'Permission' => ['description' => 'The permission type. Valid values:'."\n"
+ ."\n"
+ .'- Deployable: The service is deployable.'."\n"
+ ."\n"
+ .'- Accessible: The service is accessible.', 'type' => 'string', 'example' => 'Deployable', 'title' => ''],
+ 'AlarmMetadata' => ['description' => 'The alert configuration of the service.'."\n"
+ ."\n"
+ .'> This configuration takes effect only if you configure an alert policy in **PolicyNames**.', 'type' => 'string', 'example' => '{ "TemplateUrl": "http://template.file.url", // Application group level alarm metadata "ApplicationGroups": [ { "Name": "applicationGroup1", "TemplateUrl": "url1" }, { "Name": "applicationGroup2", "TemplateUrl": "url2" } ] }', 'title' => ''],
+ 'VersionName' => ['description' => 'The version name.', 'type' => 'string', 'example' => 'v1', 'title' => ''],
'Tags' => [
- 'description' => 'The tags.',
+ 'description' => 'The service tags.',
'type' => 'array',
'items' => [
- 'description' => 'The tags.',
+ 'description' => 'The service 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' => '',
],
- 'TrialDuration' => [
- 'description' => 'The trial duration. Unit: day. The maximum trial duration cannot exceed 30 days.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '7',
- ],
- 'SupplierDesc' => [
- 'description' => 'The description of service provider.',
- 'type' => 'string',
- 'example' => 'Computing Nest Community service'."\n"
- ."\n",
- ],
- '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' => '{\\"PayType\\":\\"CustomFixTime\\",\\"DefaultLicenseDays\\":7,\\"CustomMetadata\\":[{\\"TemplateName\\":\\"ECS\\",\\"SpecificationName\\":\\"bandwith-0\\",\\"CustomData\\":\\"1\\"}]}',
- ],
- 'OperationMetadata' => [
- 'description' => 'The operation metadata.',
- 'type' => 'string',
- 'example' => '{\\"PrometheusConfigMap\\":{\\"New_Vpc_Ack_And_Jumpserver\\":{}}}',
- ],
- 'LogMetadata' => [
- 'description' => 'The logging configurations.'."\n",
- 'type' => 'string',
- 'example' => '{\\"Logstores\\":[]}',
- ],
- 'SupplierLogo' => [
- 'description' => 'The Logo of service provider.',
- 'type' => 'string',
- 'example' => 'https://service-info-public.oss-cn-hangzhou.aliyuncs.com/xxx/service-image/xxx.png',
- ],
- 'DeployFrom' => [
- 'description' => 'Service deployment approach, Valid values:'."\n"
- ."\n"
- .'- NoWhere'."\n"
- .'- Marketplace'."\n"
- .'- ComputeNest',
- 'type' => 'string',
- 'example' => 'Marketplace',
- ],
- 'Categories' => [
- 'description' => 'The categories of the Flow.'."\n",
- 'type' => 'string',
- 'example' => 'AI',
- ],
- 'SupplierUid' => [
- 'description' => 'The Alibaba Cloud account ID of the service provider.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '158927391332*****',
- ],
+ 'TrialDuration' => ['description' => 'The trial duration in days. The maximum trial duration is 30 days.', 'type' => 'integer', 'format' => 'int64', 'example' => '7', 'title' => ''],
+ 'SupplierDesc' => ['description' => 'The description of the service provider.', 'type' => 'string', 'example' => 'Alibaba Cloud Compute Nest team', 'title' => ''],
+ 'TrialType' => ['description' => 'The trial type. 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. Valid values:'."\n"
+ ."\n"
+ .'- SingleTenant: The service is a single-tenant service.'."\n"
+ ."\n"
+ .'- MultiTenant: The service is a multitenancy service.', '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 O\\&M configuration.', 'type' => 'string', 'example' => '{\\"PrometheusConfigMap\\":{\\"New_Vpc_Ack_And_Jumpserver\\":{}}}', 'title' => ''],
+ 'LogMetadata' => ['description' => 'The application log configuration.', 'type' => 'string', 'example' => '{\\"Logstores\\":[]}', 'title' => ''],
+ 'SupplierLogo' => ['description' => 'The icon of the service provider.', 'type' => 'string', 'example' => 'https://service-info-public.oss-cn-hangzhou.aliyuncs.com/xxx/service-image/xxx.png', 'title' => ''],
+ 'DeployFrom' => ['description' => 'The deployment channel. Valid values:'."\n"
+ ."\n"
+ .'- NoWhere: The service has no deployment channel.'."\n"
+ ."\n"
+ .'- Marketplace: The service is deployed from Alibaba Cloud Marketplace.'."\n"
+ ."\n"
+ .'- ComputeNest: The service is deployed from Compute Nest.', 'type' => 'string', 'example' => 'Marketplace', 'title' => ''],
+ 'Categories' => ['description' => 'The service category name.', 'type' => 'string', 'example' => 'AI', 'title' => ''],
+ 'SupplierUid' => ['description' => 'The Alibaba Cloud account ID of the service provider.', 'type' => 'integer', 'format' => 'int64', 'example' => '158927391332*****', 'title' => ''],
'Commodity' => [
- 'description' => 'The information about the order placed in Alibaba Cloud Marketplace.',
+ 'description' => 'The commodity specifications.',
'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' => 'POSTPAY',
- ],
+ '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' => 'POSTPAY', 'title' => ''],
'OrderTime' => [
'description' => 'The order time.',
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'example' => '[1:Month]',
- 'description' => 'The order time.',
- ],
+ 'items' => ['description' => 'The order time.', 'type' => 'string', 'example' => '[1:Month]', 'title' => ''],
'description' => 'The order time.',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- 'CommodityCode' => [
- 'description' => 'The commodity code of the service in Alibaba Cloud Marketplace.'."\n",
- 'type' => 'string',
- 'example' => 'cmjj00****',
- ],
+ 'CommodityCode' => ['description' => 'The commodity code.', 'type' => 'string', 'example' => 'cmjj00****', 'title' => ''],
'Specifications' => [
- 'description' => 'The specification details of the service in Alibaba Cloud Marketplace.'."\n",
+ 'description' => 'The Alibaba Cloud Marketplace specification details.',
'type' => 'array',
'items' => [
- 'description' => 'The specification details of the service in Alibaba Cloud Marketplace.'."\n",
+ 'description' => 'The Alibaba Cloud Marketplace specification details.',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'The commodity code.'."\n",
- 'type' => 'string',
- 'example' => 'cmjj00****'."\n",
- ],
- 'Name' => [
- 'description' => 'The specification name.'."\n",
- 'type' => 'string',
- 'example' => 'specifications1'."\n",
- ],
+ 'Code' => ['description' => 'The commodity code.', 'type' => 'string', 'example' => 'cmjj00****'."\n", 'title' => ''],
+ 'Name' => ['description' => 'The specification name.', 'type' => 'string', 'example' => 'specifications1'."\n", 'title' => ''],
'Times' => [
- 'description' => 'The subscription duration. Unit: week or year.'."\n",
+ 'description' => 'The purchasable duration. Unit: week or year.',
'type' => 'array',
- 'items' => [
- 'description' => 'The subscription duration. Unit: week or year.'."\n",
- 'type' => 'string',
- 'example' => '[1:Month]',
- ],
+ 'items' => ['description' => 'The purchasable duration. Unit: week or year.', 'type' => 'string', 'example' => '[1:Month]', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'MarketplaceMetadata' => [
- 'description' => 'The metadata of Alibaba Cloud Marketplace.'."\n",
+ 'description' => 'The Alibaba Cloud Marketplace metadata.',
'type' => 'object',
'properties' => [
'SpecificationMappings' => [
- 'description' => 'The mappings between the service specifications and the template or package.'."\n",
+ 'description' => 'The mapping between commodity specifications and templates or packages.',
'type' => 'array',
'items' => [
- 'description' => 'The mappings between the service specifications and the template or package.'."\n",
+ 'description' => 'The mapping between commodity specifications and templates or packages.',
'type' => 'object',
'properties' => [
- 'SpecificationCode' => [
- 'description' => 'The specification code of the service in Alibaba Cloud Marketplace.'."\n",
- 'type' => 'string',
- 'example' => 'cmjj00****',
- ],
- 'TemplateName' => [
- 'description' => 'The template name.'."\n",
- 'type' => 'string',
- 'example' => 'Template one.',
- ],
- 'SpecificationName' => [
- 'description' => 'The package name.'."\n",
- 'type' => 'string',
- 'example' => 'Package one.',
- ],
+ 'SpecificationCode' => ['description' => 'The specification code of the Alibaba Cloud Marketplace commodity.', 'type' => 'string', 'example' => 'cmjj00****', 'title' => ''],
+ 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Standalone edition', 'title' => ''],
+ 'SpecificationName' => ['description' => 'The package name.', 'type' => 'string', 'example' => 'Package 1', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
'CssMetadata' => [
- 'description' => 'The configuration metadata related to Lingxiao.'."\n",
+ 'description' => 'The Lingxiao configuration metadata.',
'type' => 'object',
'properties' => [
'ComponentsMappings' => [
- 'description' => 'The mapping information about the billing items.'."\n",
+ 'description' => 'The billing item mappings.',
'type' => 'array',
'items' => [
- 'description' => 'The mapping information about the billing items.'."\n",
+ 'description' => 'The billing item mappings.',
'type' => 'object',
'properties' => [
- 'TemplateName' => [
- 'description' => 'The template name.'."\n",
- 'type' => 'string',
- 'example' => 'Template one.',
- ],
+ 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => '单机版', 'title' => ''],
'Mappings' => [
- 'description' => 'The mappings.'."\n",
+ 'description' => 'The mappings.',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{{DBInstanceStorage}}'."\n",
- 'description' => 'The mappings.'."\n",
- ],
+ 'additionalProperties' => ['description' => 'The mappings.', 'type' => 'string', 'example' => '{{DBInstanceStorage}}'."\n", 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
- 'SaasBoostMetadata' => [
- 'description' => 'The configuration metadata related to Saas Boost.'."\n",
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "Enabled":false "PublicAccessUrl":"https://example.com"'."\n"
- .'}',
- ],
- 'DeployPage' => [
- 'description' => 'The deploy page.',
- 'type' => 'string',
- 'example' => 'Order: Order page'."\n"
- .'Detail: Detail page',
- ],
+ 'SaasBoostMetadata' => ['description' => 'The SaasBoost configuration metadata.', 'type' => 'string', 'example' => '{'."\n"
+ .'    "Enabled":false'."\n"
+ .'    //Public access URL'."\n"
+ .'    "PublicAccessUrl":"https://example.com"'."\n"
+ .'}', 'title' => ''],
+ 'DeployPage' => ['description' => 'The deployment page.', 'type' => 'string', 'example' => 'Order: Order page'."\n"
+ .'Detail: Details page', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'InstanceRoleInfos' => [
- 'description' => 'Information about the ram role created in the service template.',
+ 'description' => 'The information about the roles that are created in the service template.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TemplateName' => [
- 'description' => 'The template name.'."\n",
- 'type' => 'string',
- 'example' => 'Template one.'."\n",
- ],
- 'RoleName' => [
- 'description' => 'The ram role name.',
- 'type' => 'string',
- 'example' => 'ram-for-dts',
- ],
- 'PolicyDocument' => [
- 'description' => 'The content of the policy.'."\n",
- 'type' => 'string',
- 'example' => '{\\n \\"Version\\": \\"1\\",\\n \\"Statement\\": [\\n {\\n \\"Effect\\": \\"Allow\\",\\n \\"Action\\": \\"*\\",\\n \\"Principal\\": \\"*\\",\\n \\"Resource\\": \\"*\\"\\n }\\n ]\\n}',
- ],
+ 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Template 1', 'title' => ''],
+ 'RoleName' => ['description' => 'The role name.', 'type' => 'string', 'example' => 'ram-for-dts', 'title' => ''],
+ 'PolicyDocument' => ['description' => 'The content of the control policy.', 'type' => 'string', 'example' => '{\\n \\"Version\\": \\"1\\",\\n \\"Statement\\": [\\n {\\n \\"Effect\\": \\"Allow\\",\\n \\"Action\\": \\"*\\",\\n \\"Principal\\": \\"*\\",\\n \\"Resource\\": \\"*\\"\\n }\\n ]\\n}', 'title' => ''],
'Principals' => [
- 'description' => 'The information of the RAM entity.',
+ 'description' => 'The information about the RAM entity.',
'type' => 'array',
- 'items' => [
- 'description' => 'The information about the RAM entity.'."\n",
- 'type' => 'string',
- 'example' => '[{\'PrincipalType\': \'RamUser\', \'PrincipalId\': \'xxx\'}, {\'PrincipalType\': \'RamUser\', \'PrincipalId\': \'xxx\'}]',
- ],
+ 'items' => ['description' => 'The information about the RAM entity.', 'type' => 'string', 'example' => '[{\'PrincipalType\': \'RamUser\', \'PrincipalId\': \'xxx\'}, {\'PrincipalType\': \'RamUser\', \'PrincipalId\': \'xxx\'}]', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => 'Information about the ram role created in the service template.',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'ServiceDocumentInfos' => [
- 'description' => 'Service document information.',
+ 'description' => 'The service documents.',
'type' => 'array',
'items' => [
- 'description' => 'Service document information.',
+ 'description' => 'The service documents.',
'type' => 'object',
'properties' => [
- 'Locale' => [
- 'description' => 'The language that you use for the query. Valid values: zh-CN and en-US.',
- 'type' => 'string',
- 'example' => 'zh-CN',
- ],
- 'TemplateName' => [
- 'description' => 'The template name.'."\n",
- 'type' => 'string',
- 'example' => 'Template one.'."\n",
- ],
- 'DocumentUrl' => [
- 'description' => 'The URL that is used to access the document.'."\n",
- 'type' => 'string',
- 'example' => 'https://help.aliyun.com/zh/compute-nest/use-cases/deploy-an-sd-painting-service-instance?spm=a2c4g.11186623.0.i2',
- ],
+ 'Locale' => ['description' => 'The language of the service document. 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' => '单机版', 'title' => ''],
+ 'DocumentUrl' => ['description' => 'The document URL.', 'type' => 'string', 'example' => 'https://help.aliyun.com/zh/compute-nest/use-cases/deploy-an-sd-painting-service-instance?spm=a2c4g.11186623.0.i2', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'SupportContacts' => [
- 'description' => 'Contact information of the service provider',
+ 'description' => 'The contact information of the service provider.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The contact information of the service provider.',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The type of contact information.',
- 'type' => 'string',
- 'example' => 'Email'."\n",
- ],
- 'Value' => [
- 'description' => 'The value of contact information.',
- 'type' => 'string',
- 'example' => 'supplier@example.com',
- ],
+ 'Type' => ['description' => 'The type of the contact information.', 'type' => 'string', 'example' => 'Email'."\n", 'title' => ''],
+ 'Value' => ['description' => 'The contact information.', 'type' => 'string', 'example' => 'supplier@example.com', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'ComplianceMetadata' => [
- 'description' => 'Compliance check metadata.',
+ 'description' => 'The compliance package metadata.',
'type' => 'object',
'properties' => [
'CompliancePacks' => [
- 'description' => 'The compliance pack list.',
+ 'description' => 'The list of compliance packages.',
'type' => 'array',
- 'items' => [
- 'description' => 'The compliance pack.',
- 'type' => 'string',
- 'example' => 'VpcDataRisk',
- ],
+ 'items' => ['description' => 'The compliance package.', 'type' => 'string', 'example' => 'VpcDataRisk', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
'ServiceLocaleConfigs' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'OriginalValue' => [
- 'type' => 'string',
- ],
- 'ZhValue' => [
- 'type' => 'string',
- ],
- 'EnValue' => [
- 'type' => 'string',
- ],
+ 'OriginalValue' => ['description' => 'The raw data value of the service information.', 'type' => 'string', 'example' => 'Service Name', 'title' => ''],
+ 'ZhValue' => ['description' => 'The Chinese value of the service information.', 'type' => 'string', 'example' => '服务名称', 'title' => ''],
+ 'EnValue' => ['description' => 'The English value of the service information.', 'type' => 'string', 'example' => 'Service Name', 'title' => ''],
],
+ 'description' => 'The multilingual configurations of the service.',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => 'The multilingual configurations of the service.',
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
[],
[],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Online\\",\\n \\"DeployMetadata\\": \\"{\\\\\\\\\\\\\\"TemplateUrl\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"http://tidbRosFile\\\\\\\\\\\\\\"}\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\",\\n \\"Version\\": \\"1.0\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-0e6fca6a51a544xxxxxx\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"ServiceProductUrl\\": \\"http://example1.com\\",\\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 \\"Agreements\\": [\\n {\\n \\"Name\\": \\"用户协议\\",\\n \\"Url\\": \\"https://url\\"\\n }\\n ],\\n \\"Softwares\\": [\\n {\\n \\"Name\\": \\"wordpress\\",\\n \\"Version\\": \\"6.0.1\\"\\n }\\n ]\\n }\\n ],\\n \\"IsSupportOperated\\": false,\\n \\"PolicyNames\\": \\"policyName1, policyName2\\",\\n \\"Duration\\": 259200,\\n \\"ShareType\\": \\"Public\\",\\n \\"Permission\\": \\"Deployable\\",\\n \\"AlarmMetadata\\": \\"{ \\\\\\"TemplateUrl\\\\\\": \\\\\\"http://template.file.url\\\\\\", // 应用分组级别告警元数据 \\\\\\"ApplicationGroups\\\\\\": [ { \\\\\\"Name\\\\\\": \\\\\\"applicationGroup1\\\\\\", \\\\\\"TemplateUrl\\\\\\": \\\\\\"url1\\\\\\" }, { \\\\\\"Name\\\\\\": \\\\\\"applicationGroup2\\\\\\", \\\\\\"TemplateUrl\\\\\\": \\\\\\"url2\\\\\\" } ] }\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"TrialDuration\\": 7,\\n \\"SupplierDesc\\": \\"阿里云计算巢团队\\",\\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 \\"LogMetadata\\": \\"{\\\\\\\\\\\\\\"Logstores\\\\\\\\\\\\\\":[]}\\",\\n \\"SupplierLogo\\": \\"https://service-info-public.oss-cn-hangzhou.aliyuncs.com/xxx/service-image/xxx.png\\",\\n \\"DeployFrom\\": \\"Marketplace\\",\\n \\"Categories\\": \\"AI\\",\\n \\"SupplierUid\\": 0,\\n \\"Commodity\\": {\\n \\"Type\\": \\"Marketplace\\",\\n \\"ChargeType\\": \\"POSTPAY\\",\\n \\"OrderTime\\": {\\n \\"key\\": [\\n \\"[1:Month]\\"\\n ]\\n },\\n \\"CommodityCode\\": \\"cmjj00****\\",\\n \\"Specifications\\": [\\n {\\n \\"Code\\": \\"cmjj00****\\\\n\\",\\n \\"Name\\": \\"specifications1\\\\n\\",\\n \\"Times\\": [\\n \\"[1:Month]\\"\\n ]\\n }\\n ],\\n \\"MarketplaceMetadata\\": {\\n \\"SpecificationMappings\\": [\\n {\\n \\"SpecificationCode\\": \\"cmjj00****\\",\\n \\"TemplateName\\": \\"单机版\\",\\n \\"SpecificationName\\": \\"套餐一\\"\\n }\\n ]\\n },\\n \\"CssMetadata\\": {\\n \\"ComponentsMappings\\": [\\n {\\n \\"TemplateName\\": \\"单机版\\",\\n \\"Mappings\\": {\\n \\"key\\": \\"{{DBInstanceStorage}}\\\\n\\"\\n }\\n }\\n ]\\n },\\n \\"SaasBoostMetadata\\": \\"{\\\\n \\\\\\"Enabled\\\\\\":false\\\\n //公网交互地址\\\\n \\\\\\"PublicAccessUrl\\\\\\":\\\\\\"https://example.com\\\\\\"\\\\n}\\",\\n \\"DeployPage\\": \\"Order: 下单页\\\\nDetail: 详情页\\"\\n },\\n \\"InstanceRoleInfos\\": [\\n {\\n \\"TemplateName\\": \\"模板1\\",\\n \\"RoleName\\": \\"ram-for-dts\\",\\n \\"PolicyDocument\\": \\"{\\\\\\\\n \\\\\\\\\\\\\\"Version\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Statement\\\\\\\\\\\\\\": [\\\\\\\\n {\\\\\\\\n \\\\\\\\\\\\\\"Effect\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Allow\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Action\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Principal\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Resource\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\"\\\\\\\\n }\\\\\\\\n ]\\\\\\\\n}\\",\\n \\"Principals\\": [\\n \\"[{\'PrincipalType\': \'RamUser\', \'PrincipalId\': \'xxx\'}, {\'PrincipalType\': \'RamUser\', \'PrincipalId\': \'xxx\'}]\\"\\n ]\\n }\\n ],\\n \\"ServiceDocumentInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"TemplateName\\": \\"单机版\\",\\n \\"DocumentUrl\\": \\"https://help.aliyun.com/zh/compute-nest/use-cases/deploy-an-sd-painting-service-instance?spm=a2c4g.11186623.0.i2\\"\\n }\\n ],\\n \\"SupportContacts\\": [\\n {\\n \\"Type\\": \\"Email\\\\n\\",\\n \\"Value\\": \\"supplier@example.com\\"\\n }\\n ],\\n \\"ComplianceMetadata\\": {\\n \\"CompliancePacks\\": [\\n \\"VpcDataRisk\\"\\n ]\\n },\\n \\"ServiceLocaleConfigs\\": [\\n {\\n \\"OriginalValue\\": \\"Service Name\\",\\n \\"ZhValue\\": \\"服务名称\\",\\n \\"EnValue\\": \\"Service Name\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Online\\",\\n \\"DeployMetadata\\": \\"{\\\\\\\\\\\\\\"TemplateUrl\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"http://tidbRosFile\\\\\\\\\\\\\\"}\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\",\\n \\"Version\\": \\"1.0\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-0e6fca6a51a544xxxxxx\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"ServiceProductUrl\\": \\"http://example1.com\\",\\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\\": \\"Database B\\",\\n \\"ShortDescription\\": \\"B is an open-source distributed relational database independently designed and developed by Company A.\\",\\n \\"Agreements\\": [\\n {\\n \\"Name\\": \\"User agreement\\",\\n \\"Url\\": \\"https://url\\"\\n }\\n ],\\n \\"Softwares\\": [\\n {\\n \\"Name\\": \\"wordpress\\",\\n \\"Version\\": \\"6.0.1\\"\\n }\\n ]\\n }\\n ],\\n \\"IsSupportOperated\\": false,\\n \\"PolicyNames\\": \\"policyName1, policyName2\\",\\n \\"Duration\\": 259200,\\n \\"ShareType\\": \\"Public\\",\\n \\"Permission\\": \\"Deployable\\",\\n \\"AlarmMetadata\\": \\"{ \\\\\\"TemplateUrl\\\\\\": \\\\\\"http://template.file.url\\\\\\", // Application group level alarm metadata \\\\\\"ApplicationGroups\\\\\\": [ { \\\\\\"Name\\\\\\": \\\\\\"applicationGroup1\\\\\\", \\\\\\"TemplateUrl\\\\\\": \\\\\\"url1\\\\\\" }, { \\\\\\"Name\\\\\\": \\\\\\"applicationGroup2\\\\\\", \\\\\\"TemplateUrl\\\\\\": \\\\\\"url2\\\\\\" } ] }\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"TrialDuration\\": 7,\\n \\"SupplierDesc\\": \\"Alibaba Cloud Compute Nest team\\",\\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 \\"LogMetadata\\": \\"{\\\\\\\\\\\\\\"Logstores\\\\\\\\\\\\\\":[]}\\",\\n \\"SupplierLogo\\": \\"https://service-info-public.oss-cn-hangzhou.aliyuncs.com/xxx/service-image/xxx.png\\",\\n \\"DeployFrom\\": \\"Marketplace\\",\\n \\"Categories\\": \\"AI\\",\\n \\"SupplierUid\\": 0,\\n \\"Commodity\\": {\\n \\"Type\\": \\"Marketplace\\",\\n \\"ChargeType\\": \\"POSTPAY\\",\\n \\"OrderTime\\": {\\n \\"key\\": [\\n \\"[1:Month]\\"\\n ]\\n },\\n \\"CommodityCode\\": \\"cmjj00****\\",\\n \\"Specifications\\": [\\n {\\n \\"Code\\": \\"cmjj00****\\\\n\\",\\n \\"Name\\": \\"specifications1\\\\n\\",\\n \\"Times\\": [\\n \\"[1:Month]\\"\\n ]\\n }\\n ],\\n \\"MarketplaceMetadata\\": {\\n \\"SpecificationMappings\\": [\\n {\\n \\"SpecificationCode\\": \\"cmjj00****\\",\\n \\"TemplateName\\": \\"Standalone edition\\",\\n \\"SpecificationName\\": \\"Package 1\\"\\n }\\n ]\\n },\\n \\"CssMetadata\\": {\\n \\"ComponentsMappings\\": [\\n {\\n \\"TemplateName\\": \\"单机版\\",\\n \\"Mappings\\": {\\n \\"key\\": \\"{{DBInstanceStorage}}\\\\n\\"\\n }\\n }\\n ]\\n },\\n \\"SaasBoostMetadata\\": \\"{\\\\n    \\\\\\"Enabled\\\\\\":false\\\\n    //Public access URL\\\\n    \\\\\\"PublicAccessUrl\\\\\\":\\\\\\"https://example.com\\\\\\"\\\\n}\\",\\n \\"DeployPage\\": \\"Order: Order page\\\\nDetail: Details page\\"\\n },\\n \\"InstanceRoleInfos\\": [\\n {\\n \\"TemplateName\\": \\"Template 1\\",\\n \\"RoleName\\": \\"ram-for-dts\\",\\n \\"PolicyDocument\\": \\"{\\\\\\\\n \\\\\\\\\\\\\\"Version\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Statement\\\\\\\\\\\\\\": [\\\\\\\\n {\\\\\\\\n \\\\\\\\\\\\\\"Effect\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Allow\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Action\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Principal\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Resource\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\"\\\\\\\\n }\\\\\\\\n ]\\\\\\\\n}\\",\\n \\"Principals\\": [\\n \\"[{\'PrincipalType\': \'RamUser\', \'PrincipalId\': \'xxx\'}, {\'PrincipalType\': \'RamUser\', \'PrincipalId\': \'xxx\'}]\\"\\n ]\\n }\\n ],\\n \\"ServiceDocumentInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"TemplateName\\": \\"单机版\\",\\n \\"DocumentUrl\\": \\"https://help.aliyun.com/zh/compute-nest/use-cases/deploy-an-sd-painting-service-instance?spm=a2c4g.11186623.0.i2\\"\\n }\\n ],\\n \\"SupportContacts\\": [\\n {\\n \\"Type\\": \\"Email\\\\n\\",\\n \\"Value\\": \\"supplier@example.com\\"\\n }\\n ],\\n \\"ComplianceMetadata\\": {\\n \\"CompliancePacks\\": [\\n \\"VpcDataRisk\\"\\n ]\\n },\\n \\"ServiceLocaleConfigs\\": [\\n {\\n \\"OriginalValue\\": \\"Service Name\\",\\n \\"ZhValue\\": \\"服务名称\\",\\n \\"EnValue\\": \\"Service Name\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'GetService',
- ],
- 'GetServiceTemplateParameterConstraints' => [
- 'summary' => 'Queries the constraints on the parameters in a Resource Orchestration Service (ROS) template in a region based on the template name and service ID.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetService'],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '136289',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestVIKWP9',
- 'FEATUREcomputenestVUFVAC',
- ],
- 'tenantRelevance' => 'tenant',
- ],
- 'parameters' => [
+ 'ramActions' => [
[
- '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-731f788406024axxxxxx',
- ],
- ],
- [
- 'name' => 'ServiceVersion',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The service version.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'TemplateName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The template name.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '模板1',
- ],
- ],
- [
- 'name' => 'Parameters',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The configuration parameters of the service instance.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'ParameterKey' => [
- 'description' => 'The name of the parameter. If you do not specify Parameters, the parameters and values in the template are used.'."\n"
- ."\n"
- .'> Parameters is an optional parameter. ParameterKey is required if you specify Parameters.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'InstanceType',
- ],
- 'ParameterValue' => [
- 'description' => 'The parameter value that is defined in the template.'."\n"
- ."\n"
- .'> Parameters is an optional parameter. ParameterValue is required if you specify Parameters.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou-j',
- ],
- ],
- 'required' => false,
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#ServiceId}'],
],
- 'required' => false,
- 'maxItems' => 100,
- ],
- ],
- [
- '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' => '123e4567-e89b-12d3-a456-426655440000',
- ],
- ],
- [
- 'name' => 'DeployRegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID of the service instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'TrialType',
- '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' => 'SpecificationName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the specification package.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '套餐一',
- ],
- ],
- [
- 'name' => 'ServiceInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The service instance ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-461ee95f46ca46xxxxxx',
- ],
- ],
- [
- 'name' => 'EnablePrivateVpcConnection',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to enable the private connection. Valid values:'."\n"
- ."\n"
- .'* true'."\n"
- .'* false'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '449DC03D-A039-56A6-8D6F-6EBCCCE0EE2C',
- ],
- 'ParameterConstraints' => [
- 'description' => 'The constraints on the parameters.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => 'The data type of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'String',
- ],
- 'AllowedValues' => [
- 'description' => 'The valid values of the parameter.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The valid value of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'cn-hangzhou-h',
- ],
- ],
- 'AssociationParameterNames' => [
- 'description' => 'The names of the associated parameters.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the associated parameter.'."\n",
- 'type' => 'string',
- 'example' => 'InstanceType',
- ],
- ],
- 'ParameterKey' => [
- 'description' => 'The name of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'ZoneInfo',
- ],
- 'Behavior' => [
- 'description' => 'The behavior of the parameter. Valid values:'."\n"
- ."\n"
- .'* NoLimit: No limit is imposed on the value of this parameter.'."\n"
- .'* NotSupport: The value of this parameter cannot be queried.'."\n"
- .'* QueryError: This parameter failed to be queried.'."\n"
- ."\n"
- .'> If AllowedValues is not returned, Behavior and BehaviorReason are returned, which indicate the behavior of the parameter and the reason for the behavior.'."\n",
- 'type' => 'string',
- 'example' => 'NoLimit',
- ],
- 'BehaviorReason' => [
- 'description' => 'The reason why the behavior of the parameter is returned.'."\n",
- 'type' => 'string',
- 'example' => 'No resource property refer to the parameter',
- ],
- '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 valid value of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'cn-hangzhou-a',
- ],
- ],
- 'PropertyName' => [
- 'description' => 'The property name.'."\n",
- 'type' => 'string',
- 'example' => 'ZoneId',
- ],
- 'ResourceName' => [
- 'description' => 'The name of the resource that is defined in the template.'."\n",
- 'type' => 'string',
- 'example' => 'MyECS',
- ],
- 'ResourceType' => [
- 'description' => 'The resource type.'."\n",
- 'type' => 'string',
- 'example' => 'ALIYUN::ECS::InstanceGroup',
- ],
- ],
- ],
- ],
- 'QueryErrors' => [
- 'description' => 'The error details that are returned if the request fails.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'ErrorMessage' => [
- 'description' => 'The error message.'."\n",
- 'type' => 'string',
- 'example' => 'record not exist',
- ],
- 'ResourceName' => [
- 'description' => 'The resource name.'."\n",
- 'type' => 'string',
- 'example' => 'MyECS',
- ],
- 'ResourceType' => [
- 'description' => 'The resource type.'."\n",
- 'type' => 'string',
- 'example' => 'ALIYUN::ECS::InstanceGroup',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'FamilyConstraints' => [
- 'description' => 'The package family constraints.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The package family constraint.'."\n",
- 'type' => 'string',
- 'example' => '约束族1',
- ],
- ],
- ],
- 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"449DC03D-A039-56A6-8D6F-6EBCCCE0EE2C\\",\\n \\"ParameterConstraints\\": [\\n {\\n \\"Type\\": \\"String\\",\\n \\"AllowedValues\\": [\\n \\"cn-hangzhou-h\\"\\n ],\\n \\"AssociationParameterNames\\": [\\n \\"InstanceType\\"\\n ],\\n \\"ParameterKey\\": \\"ZoneInfo\\",\\n \\"Behavior\\": \\"NoLimit\\",\\n \\"BehaviorReason\\": \\"No resource property refer to the parameter\\",\\n \\"OriginalConstraints\\": [\\n {\\n \\"AllowedValues\\": [\\n \\"cn-hangzhou-a\\"\\n ],\\n \\"PropertyName\\": \\"ZoneId\\",\\n \\"ResourceName\\": \\"MyECS\\",\\n \\"ResourceType\\": \\"ALIYUN::ECS::InstanceGroup\\"\\n }\\n ],\\n \\"QueryErrors\\": [\\n {\\n \\"ErrorMessage\\": \\"record not exist\\",\\n \\"ResourceName\\": \\"MyECS\\",\\n \\"ResourceType\\": \\"ALIYUN::ECS::InstanceGroup\\"\\n }\\n ]\\n }\\n ],\\n \\"FamilyConstraints\\": [\\n \\"约束族1\\"\\n ]\\n}","type":"json"}]',
- 'title' => 'GetServiceTemplateParameterConstraints',
+ 'translator' => 'manual',
],
'GetServiceEstimateCost' => [
- 'summary' => 'Queries the estimated price for creating a service instance.',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'Queries the estimated cost of creating a service instance.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1092,183 +2660,235 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '113848',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- '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.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'service-12xxxxxx',
- ],
+ 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'service-12xxxxxx', 'title' => ''],
],
[
'name' => 'ServiceVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'The service version.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The template name.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Template 1'."\n",
- ],
+ 'schema' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Template 1', 'required' => false, 'title' => ''],
],
[
'name' => 'Parameters',
'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\\", \\"InstanceType\\": \\"ecs.g5.large\\"}',
- ],
+ 'schema' => ['description' => 'The parameters to deploy the service instance.', 'type' => 'object', 'required' => false, 'example' => '{ \\"RegionId\\": \\"cn-hangzhou\\", \\"InstanceType\\": \\"ecs.g5.large\\"}', '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' => 'qwertyuiop',
- ],
+ 'schema' => ['description' => 'A client token to ensure the idempotence of the request. Generate a unique value for each request. The **ClientToken** supports only ASCII characters and cannot be longer than 64 characters.', 'type' => 'string', 'required' => false, 'example' => 'qwertyuiop', 'title' => ''],
],
[
'name' => 'TrialType',
'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',
- ],
+ 'schema' => ['description' => 'The usage type. Valid values:'."\n"
+ ."\n"
+ .'- Trial: The service supports a free trial.'."\n"
+ ."\n"
+ .'- NotTrial: The service does not support a free trial.', 'type' => 'string', 'required' => false, 'example' => 'NotTrial', 'title' => ''],
],
[
'name' => 'SpecificationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the package specification.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Package 1'."\n",
- ],
+ 'schema' => ['description' => 'The specification name.', 'type' => 'string', 'example' => 'Package 1', 'required' => false, 'title' => ''],
],
[
'name' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The service instance ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-d6ab3a63ccbb4b17xxxx',
- ],
+ 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => false, 'example' => 'si-d6ab3a63ccbb4b17xxxx', 'title' => ''],
],
[
'name' => 'Commodity',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => 'The information about the subscription duration.'."\n",
+ 'description' => 'The subscription period for the purchase order.',
'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' => 'Year',
- ],
- 'PayPeriod' => [
- 'description' => 'The subscription duration of the instance.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'CouponId' => [
- 'description' => 'The coupon ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '302070970220',
- ],
- 'QuotationId' => [
- 'description' => 'The PrivateOffer ID of the Alibaba Cloud Marketplace.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => ' 17cde2e8-2f5d-xxxx-xxxx-5120dd215d66'."\n",
- ],
+ 'PayPeriodUnit' => ['description' => 'The unit of the subscription duration. Valid values:'."\n"
+ ."\n"
+ .'- Year: Year.'."\n"
+ ."\n"
+ .'- Month: Month.'."\n"
+ ."\n"
+ .'- Day: Day.', 'type' => 'string', 'required' => false, 'example' => 'Year', 'title' => ''],
+ 'PayPeriod' => ['description' => 'The subscription duration.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ 'CouponId' => ['description' => 'The coupon ID.', 'type' => 'string', 'required' => false, 'example' => '302070970220', 'title' => ''],
+ 'QuotationId' => ['description' => 'The ID of the private offer in Alibaba Cloud Marketplace.', 'type' => 'string', 'required' => false, 'example' => ' 17cde2e8-2f5d-xxxx-xxxx-5120dd215d66', 'title' => ''],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'OperationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the configuration change operation.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Parameter change'."\n",
- ],
+ 'schema' => ['description' => 'The name of the upgrade or downgrade operation.', 'type' => 'string', 'example' => 'Parameter configuration change', 'required' => false, 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
+ 'description' => 'The response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '08ABBB67-39C9-5EE7-98E5-80486F75CE8D',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '08ABBB67-39C9-5EE7-98E5-80486F75CE8D'],
'Resources' => [
- 'description' => 'The resources.'."\n",
+ 'description' => 'The list of resources.',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- 'example' => '{ "EcsInstance" : { "Type" : "ALIYUN::ECS::Instance", "Success" : true, "Result" : { "Order" : { "Currency" : "CNY", "RuleIds" : \\[ "102111101338\\*\\*\\*\\*" ], "DetailInfos" : { "ResourcePriceModel" : \\[ { "OriginalPrice" : 0, "DiscountPrice" : 0, "SubRules" : { "Rule" : \\[ ] }, "Resource" : "bandwidth", "TradePrice" : 0 }, { "OriginalPrice" : 0, "DiscountPrice" : 0, "SubRules" : { "Rule" : \\[ ] }, "Resource" : "image", "TradePrice" : 0 }, { "OriginalPrice" : 0.366666, "DiscountPrice" : 0.249012, "SubRules" : { "Rule" : \\[ ] }, "Resource" : "instanceType", "TradePrice" : 0.117654 }, { "OriginalPrice" : 0.055555, "DiscountPrice" : 0.037729, "SubRules" : { "Rule" : \\[ ] }, "Resource" : "systemDisk", "TradePrice" : 0.017826 } ] }, "TradeAmount" : 0.135, "OriginalAmount" : 0.422, "Coupons" : { "Coupon" : \\[ ] }, "DiscountAmount" : 0.287 }, "OrderSupplement" : { "PriceUnit" : "/Hour", "ChargeType" : "PostPaid", "Quantity" : 1, "PriceType" : "Total" }, "Rules" : { "Rule" : \\[ { "RuleDescId" : "102111101338\\*\\*\\*\\*", "Name" : "ContractualDiscount_MultiitemDiscount\\_77.91250%off" } ] } } } }'."\n",
- 'description' => 'The information about the resources.'."\n",
- ],
- 'example' => '{ "EcsInstance" : { "Type" : "ALIYUN::ECS::Instance", "Success" : true, "Result" : { "Order" : { "Currency" : "CNY", "RuleIds" : \\[ "102111101338\\*\\*\\*\\*" ], "DetailInfos" : { "ResourcePriceModel" : \\[ { "OriginalPrice" : 0, "DiscountPrice" : 0, "SubRules" : { "Rule" : \\[ ] }, "Resource" : "bandwidth", "TradePrice" : 0 }, { "OriginalPrice" : 0, "DiscountPrice" : 0, "SubRules" : { "Rule" : \\[ ] }, "Resource" : "image", "TradePrice" : 0 }, { "OriginalPrice" : 0.366666, "DiscountPrice" : 0.249012, "SubRules" : { "Rule" : \\[ ] }, "Resource" : "instanceType", "TradePrice" : 0.117654 }, { "OriginalPrice" : 0.055555, "DiscountPrice" : 0.037729, "SubRules" : { "Rule" : \\[ ] }, "Resource" : "systemDisk", "TradePrice" : 0.017826 } ] }, "TradeAmount" : 0.135, "OriginalAmount" : 0.422, "Coupons" : { "Coupon" : \\[ ] }, "DiscountAmount" : 0.287 }, "OrderSupplement" : { "PriceUnit" : "/Hour", "ChargeType" : "PostPaid", "Quantity" : 1, "PriceType" : "Total" }, "Rules" : { "Rule" : \\[ { "RuleDescId" : "102111101338\\*\\*\\*\\*", "Name" : "contract discount_multi-billing item discount\\_3.208750 discount" } ] } } } }'."\n",
+ 'additionalProperties' => ['description' => 'The list of resources.', 'type' => 'any', 'example' => '{'."\n"
+ .' "EcsInstance" : {'."\n"
+ .' "Type" : "ALIYUN::ECS::Instance",'."\n"
+ .' "Success" : true,'."\n"
+ .' "Result" : {'."\n"
+ .' "Order" : {'."\n"
+ .' "Currency" : "CNY",'."\n"
+ .' "RuleIds" : [ "102111101338****" ],'."\n"
+ .' "DetailInfos" : {'."\n"
+ .' "ResourcePriceModel" : [ {'."\n"
+ .' "OriginalPrice" : 0,'."\n"
+ .' "DiscountPrice" : 0,'."\n"
+ .' "SubRules" : {'."\n"
+ .' "Rule" : [ ]'."\n"
+ .' },'."\n"
+ .' "Resource" : "bandwidth",'."\n"
+ .' "TradePrice" : 0'."\n"
+ .' }, {'."\n"
+ .' "OriginalPrice" : 0,'."\n"
+ .' "DiscountPrice" : 0,'."\n"
+ .' "SubRules" : {'."\n"
+ .' "Rule" : [ ]'."\n"
+ .' },'."\n"
+ .' "Resource" : "image",'."\n"
+ .' "TradePrice" : 0'."\n"
+ .' }, {'."\n"
+ .' "OriginalPrice" : 0.366666,'."\n"
+ .' "DiscountPrice" : 0.249012,'."\n"
+ .' "SubRules" : {'."\n"
+ .' "Rule" : [ ]'."\n"
+ .' },'."\n"
+ .' "Resource" : "instanceType",'."\n"
+ .' "TradePrice" : 0.117654'."\n"
+ .' }, {'."\n"
+ .' "OriginalPrice" : 0.055555,'."\n"
+ .' "DiscountPrice" : 0.037729,'."\n"
+ .' "SubRules" : {'."\n"
+ .' "Rule" : [ ]'."\n"
+ .' },'."\n"
+ .' "Resource" : "systemDisk",'."\n"
+ .' "TradePrice" : 0.017826'."\n"
+ .' } ]'."\n"
+ .' },'."\n"
+ .' "TradeAmount" : 0.135,'."\n"
+ .' "OriginalAmount" : 0.422,'."\n"
+ .' "Coupons" : {'."\n"
+ .' "Coupon" : [ ]'."\n"
+ .' },'."\n"
+ .' "DiscountAmount" : 0.287'."\n"
+ .' },'."\n"
+ .' "OrderSupplement" : {'."\n"
+ .' "PriceUnit" : "/Hour",'."\n"
+ .' "ChargeType" : "PostPaid",'."\n"
+ .' "Quantity" : 1,'."\n"
+ .' "PriceType" : "Total"'."\n"
+ .' },'."\n"
+ .' "Rules" : {'."\n"
+ .' "Rule" : [ {'."\n"
+ .' "RuleDescId" : "102111101338****",'."\n"
+ .' "Name" : "合同优惠_多计费项优惠_3.208750折"'."\n"
+ .' } ]'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' }', 'title' => ''],
+ 'example' => '{'."\n"
+ .'    "EcsInstance" : {'."\n"
+ .'      "Type" : "ALIYUN::ECS::Instance",'."\n"
+ .'      "Success" : true,'."\n"
+ .'      "Result" : {'."\n"
+ .'        "Order" : {'."\n"
+ .'          "Currency" : "CNY",'."\n"
+ .'          "RuleIds" : [ "102111101338****" ],'."\n"
+ .'          "DetailInfos" : {'."\n"
+ .'            "ResourcePriceModel" : [ {'."\n"
+ .'              "OriginalPrice" : 0,'."\n"
+ .'              "DiscountPrice" : 0,'."\n"
+ .'              "SubRules" : {'."\n"
+ .'                "Rule" : [ ]'."\n"
+ .'              },'."\n"
+ .'              "Resource" : "bandwidth",'."\n"
+ .'              "TradePrice" : 0'."\n"
+ .'            }, {'."\n"
+ .'              "OriginalPrice" : 0,'."\n"
+ .'              "DiscountPrice" : 0,'."\n"
+ .'              "SubRules" : {'."\n"
+ .'                "Rule" : [ ]'."\n"
+ .'              },'."\n"
+ .'              "Resource" : "image",'."\n"
+ .'              "TradePrice" : 0'."\n"
+ .'            }, {'."\n"
+ .'              "OriginalPrice" : 0.366666,'."\n"
+ .'              "DiscountPrice" : 0.249012,'."\n"
+ .'              "SubRules" : {'."\n"
+ .'                "Rule" : [ ]'."\n"
+ .'              },'."\n"
+ .'              "Resource" : "instanceType",'."\n"
+ .'              "TradePrice" : 0.117654'."\n"
+ .'            }, {'."\n"
+ .'              "OriginalPrice" : 0.055555,'."\n"
+ .'              "DiscountPrice" : 0.037729,'."\n"
+ .'              "SubRules" : {'."\n"
+ .'                "Rule" : [ ]'."\n"
+ .'              },'."\n"
+ .'              "Resource" : "systemDisk",'."\n"
+ .'              "TradePrice" : 0.017826'."\n"
+ .'            } ]'."\n"
+ .'          },'."\n"
+ .'          "TradeAmount" : 0.135,'."\n"
+ .'          "OriginalAmount" : 0.422,'."\n"
+ .'          "Coupons" : {'."\n"
+ .'            "Coupon" : [ ]'."\n"
+ .'          },'."\n"
+ .'          "DiscountAmount" : 0.287'."\n"
+ .'        },'."\n"
+ .'        "OrderSupplement" : {'."\n"
+ .'          "PriceUnit" : "/Hour",'."\n"
+ .'          "ChargeType" : "PostPaid",'."\n"
+ .'          "Quantity" : 1,'."\n"
+ .'          "PriceType" : "Total"'."\n"
+ .'        },'."\n"
+ .'        "Rules" : {'."\n"
+ .'          "Rule" : [ {'."\n"
+ .'            "RuleDescId" : "102111101338****",'."\n"
+ .'            "Name" : "Contract_Discount_Multi-item_67.9125%_Off"'."\n"
+ .'          } ]'."\n"
+ .'        }'."\n"
+ .'      }'."\n"
+ .'    }'."\n"
+ .'  }',
+ 'title' => '',
],
'Commodity' => [
- 'description' => 'Alibaba Cloud Marketplace purchase order information.'."\n",
+ 'description' => 'The information about the Alibaba Cloud Marketplace purchase order.',
'type' => 'object',
'additionalProperties' => [
'type' => 'object',
@@ -1279,37 +2899,20 @@
'Order' => [
'type' => 'object',
'properties' => [
- 'Currency' => [
- 'type' => 'string',
- 'description' => 'The code of the native currency.'."\n",
- 'example' => 'CNY',
- ],
- 'TradeAmount' => [
- 'type' => 'string',
- 'description' => 'Amount after the discount.'."\n",
- 'example' => '9.99',
- ],
- 'DiscountAmount' => [
- 'type' => 'string',
- 'description' => 'The discount amount.'."\n",
- 'example' => '1.99',
- ],
- 'OriginalAmount' => [
- 'type' => 'string',
- 'example' => '11.98',
- 'description' => 'Amount before the discount.'."\n",
- ],
+ 'Currency' => ['description' => 'The currency code.', 'type' => 'string', 'example' => 'CNY', 'title' => ''],
+ 'TradeAmount' => ['description' => 'The amount after the discount is applied.', 'type' => 'string', 'example' => '9.99', 'title' => ''],
+ 'DiscountAmount' => ['description' => 'The discount amount.', 'type' => 'string', 'example' => '1.99', 'title' => ''],
+ 'OriginalAmount' => ['description' => 'The original amount.', 'type' => 'string', 'example' => '11.98', 'title' => ''],
],
- 'description' => 'The information about the order.'."\n",
- ],
- 'InquiryType' => [
- 'type' => 'string',
- 'description' => 'The RFQ type. Valid values:'."\n"
- ."\n"
- .'1. Buy: price inquiry for new resources.'."\n"
- .'2. ModificationBuy: price inquiry for resource configuration changes.'."\n",
- 'example' => 'Buy',
+ 'description' => 'The order information.',
+ 'title' => '',
+ 'example' => '',
],
+ 'InquiryType' => ['description' => 'The inquiry type. Valid values:'."\n"
+ ."\n"
+ .'1. Buy: an inquiry for a new purchase.'."\n"
+ ."\n"
+ .'2. ModificationBuy: an inquiry for an upgrade or downgrade.', 'type' => 'string', 'example' => 'Buy', 'title' => ''],
'SubOrders' => [
'type' => 'object',
'properties' => [
@@ -1323,188 +2926,133 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ModuleId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1234',
- 'description' => 'The module ID.'."\n",
- ],
- 'ModuleName' => [
- 'type' => 'string',
- 'example' => 'Rds',
- 'description' => 'The module name.'."\n",
- ],
- 'ModuleCode' => [
- 'type' => 'string',
- 'example' => 'rds_dbtype',
- 'description' => 'The module code.'."\n",
- ],
- 'TotalProductFee' => [
- 'type' => 'number',
- 'format' => 'double',
- 'description' => 'The original price (RMB).'."\n",
- 'example' => '10.00',
- ],
- 'DiscountFee' => [
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1.99',
- 'description' => 'The discount amount (RMB).'."\n",
- ],
- 'PayFee' => [
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '8.01',
- 'description' => 'The amount actually paid (RMB).'."\n",
- ],
- 'PriceUnit' => [
- 'type' => 'string',
- 'description' => 'The unit of the price.'."\n",
- 'example' => 'Yuan/GB/hour'."\n",
- ],
- 'IsPricingModule' => [
- 'type' => 'boolean',
- 'example' => 'true',
- 'description' => 'Indicates whether the item is billed.'."\n",
- ],
- 'NeedOrderPay' => [
- 'type' => 'boolean',
- 'example' => 'true',
- 'description' => 'Indicates whether the order is paid.'."\n",
- ],
- 'PriceType' => [
- 'type' => 'string',
- 'description' => 'The pricing type.'."\n",
- 'example' => 'hourPrice',
- ],
+ 'ModuleId' => ['description' => 'The module ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234', 'title' => ''],
+ 'ModuleName' => ['description' => 'The module name.', 'type' => 'string', 'example' => '数据库类型', 'title' => ''],
+ 'ModuleCode' => ['description' => 'The module code.', 'type' => 'string', 'example' => 'rds_dbtype', 'title' => ''],
+ 'TotalProductFee' => ['description' => 'The original price of the product, in CNY.', 'type' => 'number', 'format' => 'double', 'example' => '10.00', 'title' => ''],
+ 'DiscountFee' => ['description' => 'The discount, in CNY.', 'type' => 'number', 'format' => 'double', 'example' => '1.99', 'title' => ''],
+ 'PayFee' => ['description' => 'The amount payable, in CNY.', 'type' => 'number', 'format' => 'double', 'example' => '8.01', 'title' => ''],
+ 'PriceUnit' => ['description' => 'The unit of the price.', 'type' => 'string', 'example' => '元/GB/小时', 'title' => ''],
+ 'IsPricingModule' => ['description' => 'Indicates whether the module is a billing item.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'NeedOrderPay' => ['description' => 'Indicates whether payment is required for the module in the order.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'PriceType' => ['description' => 'The pricing type.', 'type' => 'string', 'example' => 'hourPrice', 'title' => ''],
'ModuleAttrs' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'description' => 'The type of the attribute. Valid values:'."\n"
- ."\n"
- .'1. 1: product'."\n"
- .'2. 2\\. specifications'."\n"
- .'3. 3: module'."\n"
- .'4. 4: external parameters (backup)'."\n",
- 'example' => '3',
- ],
- 'Name' => [
- 'type' => 'string',
- 'description' => 'The attribute name.'."\n",
- 'example' => '20GB',
- ],
- 'Code' => [
- 'type' => 'string',
- 'example' => 'rds_storage',
- 'description' => 'The attribute code.'."\n",
- ],
- 'Value' => [
- 'type' => 'string',
- 'example' => '20',
- 'description' => 'The attribute value.'."\n",
- ],
- 'Unit' => [
- 'type' => 'string',
- 'example' => 'GB',
- 'description' => 'The unit of the value.'."\n",
- ],
+ 'Type' => ['description' => 'The attribute type. Valid values:'."\n"
+ ."\n"
+ .'1. 1: product attribute'."\n"
+ ."\n"
+ .'2. 2: specification attribute'."\n"
+ ."\n"
+ .'3. 3: module attribute'."\n"
+ ."\n"
+ .'4. 4: external parameter (reserved)', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''],
+ 'Name' => ['description' => 'The attribute name.', 'type' => 'string', 'example' => '20GB', 'title' => ''],
+ 'Code' => ['description' => 'The attribute code.', 'type' => 'string', 'example' => 'rds_storage', 'title' => ''],
+ 'Value' => ['description' => 'The attribute value.', 'type' => 'string', 'example' => '20', 'title' => ''],
+ 'Unit' => ['description' => 'The unit of the value.', 'type' => 'string', 'example' => 'GB', 'title' => ''],
],
- 'description' => 'The module attribute object.'."\n",
+ 'description' => 'The module attribute object.',
+ 'title' => '',
+ 'example' => '',
],
- 'description' => 'The module attributes.'."\n",
- ],
- 'ModuleNameEn' => [
- 'type' => 'string',
- 'description' => 'Module English name.',
- 'example' => 'data unit',
- ],
- 'PriceUnitEn' => [
- 'type' => 'string',
- 'description' => 'Price Unit English Name',
- 'example' => 'Yuan/Month',
+ 'description' => 'The module attributes.',
+ 'title' => '',
+ 'example' => '',
],
+ 'ModuleNameEn' => ['description' => 'The English name of the module.', 'type' => 'string', 'example' => '数据单元', 'title' => ''],
+ 'PriceUnitEn' => ['description' => 'The English name of the price unit.', 'type' => 'string', 'example' => '元/月', 'title' => ''],
],
- 'description' => 'The module (instance) object.'."\n",
+ 'description' => 'The module or instance object.',
+ 'title' => '',
+ 'example' => '',
],
- 'description' => 'The information about the module (instance).'."\n",
+ 'description' => 'The module or instance information.',
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => 'The object of the order sub-item.'."\n",
+ 'description' => 'The sub-order object.',
+ 'title' => '',
+ 'example' => '',
],
- 'description' => 'The order sub-item.'."\n",
+ 'description' => 'The sub-orders.',
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => 'The order sub-items.'."\n",
+ 'description' => 'The sub-orders.',
+ 'title' => '',
+ 'example' => '',
],
'Coupons' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'CanPromFee' => [
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '9.99',
- 'description' => 'The payable amount.'."\n",
- ],
- 'CouponDesc' => [
- 'type' => 'string',
- 'example' => 'CNY 10 coupon (valid until September 8, 2024)'."\n",
- 'description' => 'The description of the coupon.'."\n",
- ],
- 'CouponName' => [
- 'type' => 'string',
- 'description' => 'The name of the coupon.'."\n",
- 'example' => 'CNY 10 coupon'."\n",
- ],
- 'CouponOptionNo' => [
- 'type' => 'string',
- 'description' => 'The coupon ID.'."\n",
- 'example' => '50008800000xxxx',
- ],
- 'Selected' => [
- 'type' => 'boolean',
- 'example' => 'true',
- 'description' => 'Indicates whether the coupon is selected.'."\n",
- ],
+ 'CanPromFee' => ['description' => 'The payable amount.', 'type' => 'number', 'format' => 'double', 'example' => '9.99', 'title' => ''],
+ 'CouponDesc' => ['description' => 'The description of the coupon.', 'type' => 'string', 'example' => '10元优惠券(有效期至2024年9月8日)', 'title' => ''],
+ 'CouponName' => ['description' => 'The name of the coupon.', 'type' => 'string', 'example' => '10元优惠券', 'title' => ''],
+ 'CouponOptionNo' => ['description' => 'The coupon number.', 'type' => 'string', 'example' => '50008800000xxxx', 'title' => ''],
+ 'Selected' => ['description' => 'Indicates whether the coupon is selected.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
- 'description' => 'The coupon.'."\n",
+ 'description' => 'The coupon.',
+ 'title' => '',
+ 'example' => '',
],
- 'description' => 'The coupons.'."\n",
+ 'description' => 'The coupons.',
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => 'The result model.'."\n",
+ 'description' => 'The Result model.',
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => 'Alibaba Cloud Marketplace purchase order information.'."\n",
+ 'description' => 'The information about the Alibaba Cloud Marketplace purchase order.',
+ 'title' => '',
+ 'example' => '',
],
'example' => '{\'cmgj00059839\': {\'Result\': {\'InquiryType\': \'Buy\', \'Order\': {\'Currency\': \'CNY\', \'DiscountAmount\': \'0.0\', \'TradeAmount\': \'0.01\', \'OriginalAmount\': \'0.01\'}}}}',
+ 'title' => '',
],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"08ABBB67-39C9-5EE7-98E5-80486F75CE8D\\",\\n \\"Resources\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"EcsInstance\\\\\\" : {\\\\n \\\\\\"Type\\\\\\" : \\\\\\"ALIYUN::ECS::Instance\\\\\\",\\\\n \\\\\\"Success\\\\\\" : true,\\\\n \\\\\\"Result\\\\\\" : {\\\\n \\\\\\"Order\\\\\\" : {\\\\n \\\\\\"Currency\\\\\\" : \\\\\\"CNY\\\\\\",\\\\n \\\\\\"RuleIds\\\\\\" : [ \\\\\\"102111101338****\\\\\\" ],\\\\n \\\\\\"DetailInfos\\\\\\" : {\\\\n \\\\\\"ResourcePriceModel\\\\\\" : [ {\\\\n \\\\\\"OriginalPrice\\\\\\" : 0,\\\\n \\\\\\"DiscountPrice\\\\\\" : 0,\\\\n \\\\\\"SubRules\\\\\\" : {\\\\n \\\\\\"Rule\\\\\\" : [ ]\\\\n },\\\\n \\\\\\"Resource\\\\\\" : \\\\\\"bandwidth\\\\\\",\\\\n \\\\\\"TradePrice\\\\\\" : 0\\\\n }, {\\\\n \\\\\\"OriginalPrice\\\\\\" : 0,\\\\n \\\\\\"DiscountPrice\\\\\\" : 0,\\\\n \\\\\\"SubRules\\\\\\" : {\\\\n \\\\\\"Rule\\\\\\" : [ ]\\\\n },\\\\n \\\\\\"Resource\\\\\\" : \\\\\\"image\\\\\\",\\\\n \\\\\\"TradePrice\\\\\\" : 0\\\\n }, {\\\\n \\\\\\"OriginalPrice\\\\\\" : 0.366666,\\\\n \\\\\\"DiscountPrice\\\\\\" : 0.249012,\\\\n \\\\\\"SubRules\\\\\\" : {\\\\n \\\\\\"Rule\\\\\\" : [ ]\\\\n },\\\\n \\\\\\"Resource\\\\\\" : \\\\\\"instanceType\\\\\\",\\\\n \\\\\\"TradePrice\\\\\\" : 0.117654\\\\n }, {\\\\n \\\\\\"OriginalPrice\\\\\\" : 0.055555,\\\\n \\\\\\"DiscountPrice\\\\\\" : 0.037729,\\\\n \\\\\\"SubRules\\\\\\" : {\\\\n \\\\\\"Rule\\\\\\" : [ ]\\\\n },\\\\n \\\\\\"Resource\\\\\\" : \\\\\\"systemDisk\\\\\\",\\\\n \\\\\\"TradePrice\\\\\\" : 0.017826\\\\n } ]\\\\n },\\\\n \\\\\\"TradeAmount\\\\\\" : 0.135,\\\\n \\\\\\"OriginalAmount\\\\\\" : 0.422,\\\\n \\\\\\"Coupons\\\\\\" : {\\\\n \\\\\\"Coupon\\\\\\" : [ ]\\\\n },\\\\n \\\\\\"DiscountAmount\\\\\\" : 0.287\\\\n },\\\\n \\\\\\"OrderSupplement\\\\\\" : {\\\\n \\\\\\"PriceUnit\\\\\\" : \\\\\\"/Hour\\\\\\",\\\\n \\\\\\"ChargeType\\\\\\" : \\\\\\"PostPaid\\\\\\",\\\\n \\\\\\"Quantity\\\\\\" : 1,\\\\n \\\\\\"PriceType\\\\\\" : \\\\\\"Total\\\\\\"\\\\n },\\\\n \\\\\\"Rules\\\\\\" : {\\\\n \\\\\\"Rule\\\\\\" : [ {\\\\n \\\\\\"RuleDescId\\\\\\" : \\\\\\"102111101338****\\\\\\",\\\\n \\\\\\"Name\\\\\\" : \\\\\\"合同优惠_多计费项优惠_3.208750折\\\\\\"\\\\n } ]\\\\n }\\\\n }\\\\n }\\\\n }\\"\\n },\\n \\"Commodity\\": {\\n \\"key\\": {\\n \\"Result\\": {\\n \\"Order\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"TradeAmount\\": \\"9.99\\",\\n \\"DiscountAmount\\": \\"1.99\\",\\n \\"OriginalAmount\\": \\"11.98\\"\\n },\\n \\"InquiryType\\": \\"Buy\\",\\n \\"SubOrders\\": {\\n \\"SubOrder\\": [\\n {\\n \\"ModuleInstance\\": [\\n {\\n \\"ModuleId\\": 1234,\\n \\"ModuleName\\": \\"数据库类型\\",\\n \\"ModuleCode\\": \\"rds_dbtype\\",\\n \\"TotalProductFee\\": 10,\\n \\"DiscountFee\\": 1.99,\\n \\"PayFee\\": 8.01,\\n \\"PriceUnit\\": \\"元/GB/小时\\",\\n \\"IsPricingModule\\": true,\\n \\"NeedOrderPay\\": true,\\n \\"PriceType\\": \\"hourPrice\\",\\n \\"ModuleAttrs\\": [\\n {\\n \\"Type\\": 3,\\n \\"Name\\": \\"20GB\\",\\n \\"Code\\": \\"rds_storage\\",\\n \\"Value\\": \\"20\\",\\n \\"Unit\\": \\"GB\\"\\n }\\n ],\\n \\"ModuleNameEn\\": \\"数据单元\\",\\n \\"PriceUnitEn\\": \\"元/月\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"Coupons\\": [\\n {\\n \\"CanPromFee\\": 9.99,\\n \\"CouponDesc\\": \\"10元优惠券(有效期至2024年9月8日)\\",\\n \\"CouponName\\": \\"10元优惠券\\",\\n \\"CouponOptionNo\\": \\"50008800000xxxx\\",\\n \\"Selected\\": true\\n }\\n ]\\n }\\n }\\n }\\n}","type":"json"}]',
'title' => 'GetServiceEstimateCost',
- 'translator' => 'machine',
- ],
- 'GenerateServicePolicy' => [
- 'summary' => 'Queries the missing policies before creating a service instance.',
- 'methods' => [
- 'post',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceEstimateCost'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetServiceEstimateCost',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#ServiceId}'],
+ ],
+ ],
+ ],
],
+ 'translator' => 'manual',
+ ],
+ 'GetServiceInstance' => [
+ 'summary' => 'Queries the details of a service instance by its region ID, service instance ID, or Alibaba Cloud Marketplace instance ID. The returned information includes the service status, template name, and a list of resources.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1516,168 +3064,597 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest2G0818',
- 'FEATUREcomputenest1Z49ZW',
- ],
+ 'abilityTreeCode' => '36936',
+ 'abilityTreeNodes' => ['FEATUREcomputenestVIKWP9'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'ServiceId',
+ 'name' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The service ID.'."\n",
- 'docRequired' => true,
- 'example' => 'service-b3e9ed878b0c4xxxxxx',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The service instance ID.'."\n"
+ ."\n"
+ .'> You must specify either `ServiceInstanceId` or `MarketInstanceId` to query the detailed information about the service instance.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ServiceVersion',
+ 'name' => 'MarketInstanceId',
'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The Alibaba Cloud Marketplace instance ID.', 'type' => 'string', 'required' => false, 'example' => '704***59', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The service version.'."\n",
- 'example' => 'draft',
- 'required' => false,
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'Outputs' => ['description' => 'The output fields returned when the service instance is created.'."\n"
+ ."\n"
+ .'- In ROS mode, all output fields of the template are returned.'."\n"
+ ."\n"
+ .'- In Service Provider Interface (SPI) mode, the output fields from the independent software vendor (ISV) and the additional features of Compute Nest are returned.', 'type' => 'string', 'example' => '{"InstanceIds":["i-hp38ofxl0dsyfi7z****"]}', 'title' => ''],
+ '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' => ''],
+ 'Progress' => ['description' => 'The deployment progress of the service instance. Unit: %.', 'type' => 'integer', 'format' => 'int64', 'example' => '90', 'title' => ''],
+ 'Parameters' => ['description' => 'The parameters that are entered for deploying the service instance.', 'type' => 'string', 'example' => '{"param":"value"}', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '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' => ''],
+ 'StatusDetail' => ['description' => 'The description of the deployment status of the instance.', 'type' => 'string', 'example' => 'deploy successfully', 'title' => ''],
+ 'Resources' => ['description' => 'The list of resources.', 'type' => 'string', 'example' => '[{"StackId": "stack-xxx"}]', 'title' => ''],
+ 'Service' => [
+ 'description' => 'The details of the service.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'The service status. Valid values:'."\n"
+ ."\n"
+ .'- Draft: The service is pending registration submission.'."\n"
+ ."\n"
+ .'- Submitted: The registration is submitted.'."\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 information about the service deployment configuration. The information varies based on the deployment type. The data is stored in the JSON string format.', 'type' => 'string', 'example' => '{"EstimateTime":null,"SupplierDeployMetadata":{"DeployTimeout":null},"TemplateConfigs":[{"Name":" template1","Url":"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json","PredefinedParameters":[],"AllowedRegions":["cn-hangzhou"]}]}', '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 by calling 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' => ''],
+ '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 hosted 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 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' => 'The summary 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' => ''],
+ 'UpgradeMetadata' => ['description' => 'The upgrade metadata.', 'type' => 'string', 'example' => '{'."\n"
+ .'  "Type": "OOS",'."\n"
+ .'  "Description": "Changelog or something description",'."\n"
+ .'  "SupportUpgradeFromVersions": [1, 2],'."\n"
+ .'  "UpgradeSteps": {'."\n"
+ .'    "PreUpgradeStage": {'."\n"
+ .'      "Description": "Initialize database",'."\n"
+ .'      "Type": "RunCommand",'."\n"
+ .'      "ResourceName": "EcsRole1",'."\n"
+ .'      "CommandType": "runShellScript",'."\n"
+ .'      "CommandContent": "echo hello"'."\n"
+ .'    },'."\n"
+ .'    "UpgradeStage": [{'."\n"
+ .'      "Description": "Update EcsRole1 instance",'."\n"
+ .'      "Type": "RunCommand",'."\n"
+ .'      "ResourceName": "EcsRole1",'."\n"
+ .'      "ArtifactsDownloadDirectory": "/home/admin",'."\n"
+ .'      "CommandType": "runShellScript",'."\n"
+ .'      "CommandContent": "echo hello"'."\n"
+ .'    }],'."\n"
+ .'    "PostUpgradeStage": {'."\n"
+ .'      "Description": "Post-deployment check",'."\n"
+ .'      "Type": "None/RunCommand",'."\n"
+ .'      "ResourceName": "EcsRole1",'."\n"
+ .'      "CommandType": "runShellScript",'."\n"
+ .'      "CommandContent": "echo hello"'."\n"
+ .'    }'."\n"
+ .'  }'."\n"
+ .'}', 'title' => ''],
+ 'UpgradableServiceVersions' => [
+ 'description' => 'The list of service versions to which the service can be upgraded.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The service version to which the service can be upgraded.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UpgradableServiceInfos' => [
+ 'description' => 'The information about the service versions to which the service can be upgraded.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the service versions to which the service can be upgraded.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Version' => ['description' => 'The service version.', 'type' => 'string', 'example' => 'draft', 'title' => ''],
+ 'VersionName' => ['description' => 'The version name.', 'type' => 'string', 'example' => '20241112', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ServiceProductUrl' => ['description' => 'The URL of the product page.', 'type' => 'string', 'example' => 'https://service-info-private.oss-cn-hangzhou.aliyuncs.com', 'title' => ''],
+ 'ServiceDocUrl' => ['description' => 'The URL of the product documentation.', 'type' => 'string', 'example' => 'http://example.com', 'title' => ''],
+ 'OperationMetadata' => ['description' => 'The parameters related to O\\&M operations, including service upgrade and downgrade, Prometheus, and log configurations.', 'type' => 'string', 'example' => '{"SupportBackup":false,"PrometheusConfigMap":{},"ModifyParametersConfig":[{"TemplateName":"China edition","Operation":[{"Name":"Plan modification","Description":"Plan modification","Type":"Custom","SupportPredefinedParameters":true,"EnableLogging":false},{"Name":"Parameter modification","Description":"Parameter modification","Type":"Custom","SupportPredefinedParameters":false,"EnableLogging":false,"Parameters":["DataDiskSize"]}]}]}', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'OperationStartTime' => ['description' => 'The start time of the managed O\\&M.', 'type' => 'string', 'example' => '2021-12-29T06:48:56Z', 'title' => ''],
+ 'OperationEndTime' => ['description' => 'The end time of the managed O\\&M.', 'type' => 'string', 'example' => '2022-01-28T06:48:56Z', 'title' => ''],
+ 'OperatedServiceInstanceId' => ['description' => 'The ID of the service instance that is managed.', 'type' => 'string', 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''],
+ 'EnableInstanceOps' => ['description' => 'Indicates whether the service instance supports managed O\\&M. Valid values:'."\n"
+ ."\n"
+ .'- true: The service instance supports managed O\\&M.'."\n"
+ ."\n"
+ .'- false: The service instance does not support managed O\\&M.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'IsOperated' => ['description' => 'Indicates whether managed O\\&M is enabled for the service instance. Valid values:'."\n"
+ ."\n"
+ .'- true: Managed O\\&M is enabled for the service instance.'."\n"
+ ."\n"
+ .'- false: Managed O\\&M is not enabled for the service instance.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'NetworkConfig' => [
+ 'description' => 'The network configuration.'."\n"
+ ."\n"
+ .'> This parameter is deprecated.',
+ 'type' => 'object',
+ 'properties' => [
+ 'EndpointId' => ['description' => 'The endpoint ID of the PrivateLink connection.'."\n"
+ ."\n"
+ .'> This parameter is deprecated.', 'type' => 'string', 'example' => 'ep-m5ei37240541816b****', 'title' => ''],
+ 'PrivateZoneId' => ['description' => 'The ID of the PrivateZone for the custom private domain name.'."\n"
+ ."\n"
+ .'> This parameter is deprecated.', 'type' => 'string', 'example' => 'cb7f214f80ac348d87daaeac1f35****', 'title' => ''],
+ 'PrivateVpcConnections' => [
+ 'description' => 'The information about the PrivateLink connection.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the PrivateLink connection.',
+ 'type' => 'object',
+ 'properties' => [
+ 'EndpointId' => ['description' => 'The endpoint ID of the PrivateLink connection.', 'type' => 'string', 'example' => 'ep-m5ei37240541816b****', 'title' => ''],
+ 'PrivateZoneId' => ['description' => 'The ID of the PrivateZone for the custom private domain name.', 'type' => 'string', 'example' => 'cb7f214f80ac348d87daaeac1f35****', 'title' => ''],
+ 'PrivateZoneName' => ['description' => 'The custom domain name.', 'type' => 'string', 'example' => 'test.computenest.aliyuncs.com', 'title' => ''],
+ 'ConnectionConfigs' => [
+ 'description' => 'The network configurations. This parameter is used for PrivateLink connections.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The network configurations. This parameter is used for PrivateLink connections.',
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => ['description' => 'The virtual private cloud (VPC) ID.', 'type' => 'string', 'example' => 'vpc-bp1vwnn14rqpyiczj****', 'title' => ''],
+ 'SecurityGroups' => [
+ 'description' => 'The security group name.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The security group name.', 'type' => 'string', 'example' => '\'sg-m5ec4mvoq9egn7xxxxxx', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'VSwitches' => [
+ 'description' => 'The vSwitch name.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The vSwitch name.', 'type' => 'string', 'example' => 'vsw-uf6iqwohr05dw4mxxxxxx', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'IngressEndpointStatus' => ['description' => 'The status of the Ingress endpoint. Valid values:'."\n"
+ ."\n"
+ .'- Ready: The Ingress endpoint is connected.'."\n"
+ ."\n"
+ .'- Pending: The Ingress endpoint is being connected.'."\n"
+ ."\n"
+ .'- Failed: The Ingress endpoint failed to be connected.'."\n"
+ ."\n"
+ .'- Deleted: The Ingress endpoint is deleted.'."\n"
+ ."\n"
+ .'- Deleting: The Ingress endpoint is being deleted.', 'type' => 'string', 'example' => 'Ready', 'title' => ''],
+ 'NetworkServiceStatus' => ['description' => 'The status of the network service. Valid values:'."\n"
+ ."\n"
+ .'- Ready: The network service is connected.'."\n"
+ ."\n"
+ .'- Pending: The network service is being connected.'."\n"
+ ."\n"
+ .'- Failed: The network service failed to be connected.'."\n"
+ ."\n"
+ .'- Deleted: The network service is deleted.'."\n"
+ ."\n"
+ .'- Deleting: The network service is being deleted.', 'type' => 'string', 'example' => 'Ready', 'title' => ''],
+ 'EndpointIps' => [
+ 'description' => 'The IP address of the PrivateLink endpoint.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The IP address of the PrivateLink endpoint.', 'type' => 'string', 'example' => '192.xxx.xxx.xxx', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'DomainName' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'ie-569a9be34f5534f6bc6559b5c1xxxxxx.service-51f80502802e48xxxxxx.cn-hangzhou.computenest.aliyuncs.com', 'title' => ''],
+ 'RegionId' => ['description' => 'The region where the VPC of the endpoint is located when a private connection is established in Compute Nest intranet-connected mode.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
+ 'ConnectBandwidth' => ['description' => 'The bandwidth limit for the connection that is established in Compute Nest intranet-connected mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '1536Mbps', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RegionId' => ['description' => 'The region ID of the endpoint for the PrivateLink connection.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ReversePrivateVpcConnections' => [
+ 'description' => 'The information about the reverse PrivateLink connection.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the reverse PrivateLink connection.',
+ 'type' => 'object',
+ 'properties' => [
+ 'EndpointId' => ['description' => 'The endpoint ID of the reverse PrivateLink connection.', 'type' => 'string', 'example' => 'ep-m5ei42370541816b****', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ 'LicenseEndTime' => ['description' => 'The time when the license expires.', 'type' => 'string', 'example' => '2022-01-01T12:00:00', 'title' => ''],
+ 'UserId' => ['description' => 'The user\'s Alibaba Cloud account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '130920852836****', 'title' => ''],
+ 'SupplierUid' => ['description' => 'The Alibaba Cloud account ID of the service provider.', 'type' => 'integer', 'format' => 'int64', 'example' => '158927391332*****', '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 hosted in the service provider\'s account.'."\n"
+ ."\n"
+ .'- operation: a managed service instance.'."\n"
+ ."\n"
+ .'- poc: a trial service instance.', 'type' => 'string', 'example' => 'private', 'title' => ''],
+ 'PayType' => ['description' => 'The billing method. Valid values:'."\n"
+ ."\n"
+ .'- Permanent: permanent.'."\n"
+ ."\n"
+ .'- Subscription: subscription.'."\n"
+ ."\n"
+ .'- PayAsYouGo: pay-as-you-go.'."\n"
+ ."\n"
+ .'- CustomFixTime: a custom fixed duration.', 'type' => 'string', 'example' => 'Subscription', 'title' => ''],
+ 'Name' => ['description' => 'The name of the service instance.', 'type' => 'string', 'example' => 'Database B', 'title' => ''],
+ 'EnableUserPrometheus' => ['description' => 'Indicates whether Prometheus monitoring is enabled. Valid values:'."\n"
+ ."\n"
+ .'- true: enabled.'."\n"
+ ."\n"
+ .'- false: disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Components' => ['description' => 'The extra billing items of Alibaba Cloud Marketplace.', 'type' => 'string', 'example' => '{"TiKVServerCount":"3","package_version":"yuncode5398300001","PDServerCount":"3","TiDBServerCount":"2"}', 'title' => ''],
+ 'PredefinedParameterName' => ['description' => 'The name of the package.', 'type' => 'string', 'example' => 'Package 1', 'title' => ''],
+ 'MarketInstanceId' => ['description' => 'The Alibaba Cloud Marketplace instance ID.', 'type' => 'string', 'example' => '704***59', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-bp67acfmxazb4p****', '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 failed.'."\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.console.aliyun.com/d/xxxxxxxx-cn-mariadb/mysql-xxxxxx-xxxxxxxx-and-dashboard?orgId=355401&refresh=10s', 'title' => ''],
+ 'SupportTrialToPrivate' => ['description' => 'Indicates whether the trial service can be converted to a paid service.', 'type' => 'boolean', 'title' => '', 'example' => ''],
+ 'PolicyNames' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'GrantedPermission' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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 \\"Outputs\\": \\"{\\\\\\"InstanceIds\\\\\\":[\\\\\\"i-hp38ofxl0dsyfi7z****\\\\\\"]}\\",\\n \\"Status\\": \\"Deployed\\",\\n \\"TemplateName\\": \\"Template 1\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"Progress\\": 90,\\n \\"Parameters\\": \\"{\\\\\\"param\\\\\\":\\\\\\"value\\\\\\"}\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"Resources\\": \\"[{\\\\\\"StackId\\\\\\": \\\\\\"stack-xxx\\\\\\"}]\\",\\n \\"Service\\": {\\n \\"Status\\": \\"Online\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Version\\": \\"1\\",\\n \\"DeployMetadata\\": \\"{\\\\\\"EstimateTime\\\\\\":null,\\\\\\"SupplierDeployMetadata\\\\\\":{\\\\\\"DeployTimeout\\\\\\":null},\\\\\\"TemplateConfigs\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\" template1\\\\\\",\\\\\\"Url\\\\\\":\\\\\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json\\\\\\",\\\\\\"PredefinedParameters\\\\\\":[],\\\\\\"AllowedRegions\\\\\\":[\\\\\\"cn-hangzhou\\\\\\"]}]}\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-9c8a3522528b4fe8****\\",\\n \\"SupplierUrl\\": \\"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 \\"UpgradeMetadata\\": \\"{\\\\n  \\\\\\"Type\\\\\\": \\\\\\"OOS\\\\\\",\\\\n  \\\\\\"Description\\\\\\": \\\\\\"Changelog or something description\\\\\\",\\\\n  \\\\\\"SupportUpgradeFromVersions\\\\\\": [1, 2],\\\\n  \\\\\\"UpgradeSteps\\\\\\": {\\\\n    \\\\\\"PreUpgradeStage\\\\\\": {\\\\n      \\\\\\"Description\\\\\\": \\\\\\"Initialize database\\\\\\",\\\\n      \\\\\\"Type\\\\\\": \\\\\\"RunCommand\\\\\\",\\\\n      \\\\\\"ResourceName\\\\\\": \\\\\\"EcsRole1\\\\\\",\\\\n      \\\\\\"CommandType\\\\\\": \\\\\\"runShellScript\\\\\\",\\\\n      \\\\\\"CommandContent\\\\\\": \\\\\\"echo hello\\\\\\"\\\\n    },\\\\n    \\\\\\"UpgradeStage\\\\\\": [{\\\\n      \\\\\\"Description\\\\\\": \\\\\\"Update EcsRole1 instance\\\\\\",\\\\n      \\\\\\"Type\\\\\\": \\\\\\"RunCommand\\\\\\",\\\\n      \\\\\\"ResourceName\\\\\\": \\\\\\"EcsRole1\\\\\\",\\\\n      \\\\\\"ArtifactsDownloadDirectory\\\\\\": \\\\\\"/home/admin\\\\\\",\\\\n      \\\\\\"CommandType\\\\\\": \\\\\\"runShellScript\\\\\\",\\\\n      \\\\\\"CommandContent\\\\\\": \\\\\\"echo hello\\\\\\"\\\\n    }],\\\\n    \\\\\\"PostUpgradeStage\\\\\\": {\\\\n      \\\\\\"Description\\\\\\": \\\\\\"Post-deployment check\\\\\\",\\\\n      \\\\\\"Type\\\\\\": \\\\\\"None/RunCommand\\\\\\",\\\\n      \\\\\\"ResourceName\\\\\\": \\\\\\"EcsRole1\\\\\\",\\\\n      \\\\\\"CommandType\\\\\\": \\\\\\"runShellScript\\\\\\",\\\\n      \\\\\\"CommandContent\\\\\\": \\\\\\"echo hello\\\\\\"\\\\n    }\\\\n  }\\\\n}\\",\\n \\"UpgradableServiceVersions\\": [\\n \\"1\\"\\n ],\\n \\"UpgradableServiceInfos\\": [\\n {\\n \\"Version\\": \\"draft\\",\\n \\"VersionName\\": \\"20241112\\"\\n }\\n ],\\n \\"ServiceProductUrl\\": \\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com\\",\\n \\"ServiceDocUrl\\": \\"http://example.com\\",\\n \\"OperationMetadata\\": \\"{\\\\\\"SupportBackup\\\\\\":false,\\\\\\"PrometheusConfigMap\\\\\\":{},\\\\\\"ModifyParametersConfig\\\\\\":[{\\\\\\"TemplateName\\\\\\":\\\\\\"China edition\\\\\\",\\\\\\"Operation\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"Plan modification\\\\\\",\\\\\\"Description\\\\\\":\\\\\\"Plan modification\\\\\\",\\\\\\"Type\\\\\\":\\\\\\"Custom\\\\\\",\\\\\\"SupportPredefinedParameters\\\\\\":true,\\\\\\"EnableLogging\\\\\\":false},{\\\\\\"Name\\\\\\":\\\\\\"Parameter modification\\\\\\",\\\\\\"Description\\\\\\":\\\\\\"Parameter modification\\\\\\",\\\\\\"Type\\\\\\":\\\\\\"Custom\\\\\\",\\\\\\"SupportPredefinedParameters\\\\\\":false,\\\\\\"EnableLogging\\\\\\":false,\\\\\\"Parameters\\\\\\":[\\\\\\"DataDiskSize\\\\\\"]}]}]}\\"\\n },\\n \\"OperationStartTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"OperationEndTime\\": \\"2022-01-28T06:48:56Z\\",\\n \\"OperatedServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"EnableInstanceOps\\": true,\\n \\"IsOperated\\": true,\\n \\"NetworkConfig\\": {\\n \\"EndpointId\\": \\"ep-m5ei37240541816b****\\",\\n \\"PrivateZoneId\\": \\"cb7f214f80ac348d87daaeac1f35****\\",\\n \\"PrivateVpcConnections\\": [\\n {\\n \\"EndpointId\\": \\"ep-m5ei37240541816b****\\",\\n \\"PrivateZoneId\\": \\"cb7f214f80ac348d87daaeac1f35****\\",\\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\\": \\"ie-569a9be34f5534f6bc6559b5c1xxxxxx.service-51f80502802e48xxxxxx.cn-hangzhou.computenest.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"ConnectBandwidth\\": 0\\n }\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"ReversePrivateVpcConnections\\": [\\n {\\n \\"EndpointId\\": \\"ep-m5ei42370541816b****\\"\\n }\\n ]\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"LicenseEndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"UserId\\": 0,\\n \\"SupplierUid\\": 0,\\n \\"EndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"Source\\": \\"User\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"PayType\\": \\"Subscription\\",\\n \\"Name\\": \\"Database B\\",\\n \\"EnableUserPrometheus\\": true,\\n \\"Components\\": \\"{\\\\\\"TiKVServerCount\\\\\\":\\\\\\"3\\\\\\",\\\\\\"package_version\\\\\\":\\\\\\"yuncode5398300001\\\\\\",\\\\\\"PDServerCount\\\\\\":\\\\\\"3\\\\\\",\\\\\\"TiDBServerCount\\\\\\":\\\\\\"2\\\\\\"}\\",\\n \\"PredefinedParameterName\\": \\"Package 1\\",\\n \\"MarketInstanceId\\": \\"704***59\\",\\n \\"ResourceGroupId\\": \\"rg-bp67acfmxazb4p****\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GrafanaDashBoardUrl\\": \\"https://g.console.aliyun.com/d/xxxxxxxx-cn-mariadb/mysql-xxxxxx-xxxxxxxx-and-dashboard?orgId=355401&refresh=10s\\",\\n \\"SupportTrialToPrivate\\": false,\\n \\"PolicyNames\\": \\"\\",\\n \\"GrantedPermission\\": {\\n \\"OperationEndTime\\": \\"\\",\\n \\"PolicyNames\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'GetServiceInstance',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceInstance'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'TemplateName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template.'."\n",
- 'example' => 'GPU-单机版',
- 'required' => false,
- 'type' => 'string',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
+ ],
],
],
+ ],
+ 'translator' => 'manual',
+ ],
+ 'GetServiceInstanceSubscriptionEstimateCost' => [
+ 'summary' => 'Queries the estimated renewal cost of subscription resources in a privately deployed service instance. You can query the cost for all resources associated with a service instance ID, or for a specific set of resources.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'TrialType',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '136636',
+ 'abilityTreeNodes' => ['FEATUREcomputenestVIKWP9'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The trial policy. Valid values:'."\n"
- ."\n"
- .'* Trial: Trials are supported.'."\n"
- .'* NotTrial: Trials are not supported.'."\n",
- 'example' => 'NotTrial',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'OperationTypes',
+ 'name' => 'ServiceInstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-d6ab3a63ccbb4b17****'],
+ ],
+ [
+ 'name' => 'OrderType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The order type. Valid value: Renewal.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Renewal'],
+ ],
+ [
+ 'name' => 'PeriodUnit',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The unit of the renewal duration for all subscription resources of the service instance. This is the unit for the Period parameter. Valid values: Month and Year. Default value: Month.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Month'],
+ ],
+ [
+ '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. It can contain only ASCII characters and cannot be longer than 64 characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-426655440000'],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The renewal duration for all subscription resources of the service instance. The unit is specified by PeriodUnit.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'],
+ ],
+ [
+ 'name' => 'ResourcePeriod',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- '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.',
+ 'description' => 'The renewal configuration for the resources.',
+ '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.',
- 'example' => 'CreateServiceInstance',
+ 'description' => 'The renewal configuration for the resources.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'acs:ecs:cn-guangzhou:1361753504587228:instance/i-7xv9pgeqvhxg10jji3vd'],
+ 'PeriodUnit' => ['description' => 'The unit of the renewal duration for the resource. This is the unit for the Period parameter. Valid values: Month and Year. Default value: Month.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Month'],
+ 'Period' => ['description' => 'The renewal duration. The unit is specified by PeriodUnit.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'],
+ ],
'required' => false,
- 'type' => 'string',
+ 'title' => '',
+ 'example' => '',
],
- 'maxItems' => 30,
'required' => false,
- 'type' => 'array',
+ 'maxItems' => 1000,
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Response data',
+ 'type' => 'object',
'properties' => [
- 'Policy' => [
- 'description' => 'The RAM policy.'."\n",
- 'example' => '{Statement": [{ "Action": ["oos:*"], "Effect": "Allow", "Resource": "*"},{ "Action": ["ecs:DescribeInstances"], "Effect": "Allow", "Resource": "*"},{ "Action": ["ecs:RunInstance"], "Effect": "Allow", "Resource": "*"}], "Version": "1"}',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'example' => '5040BE9E-8DA2-5C9D-9B70-0EE6027A14BC',
- 'type' => 'string',
- ],
- 'MissingPolicy' => [
- 'description' => 'The policies that are missing.'."\n",
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '464C8CB6-A548-5206-B83C-D32A8E43EC21'],
+ 'ResourcePrices' => [
+ 'description' => 'The list of resource price information.',
+ 'type' => 'array',
'items' => [
- 'description' => 'The policies that are missing.'."\n",
+ 'description' => 'The resource price information.',
+ 'type' => 'object',
'properties' => [
- 'ServiceName' => [
- 'description' => 'The name of the service.'."\n",
- 'example' => 'ecs',
- 'type' => 'string',
- ],
- 'Resource' => [
- 'description' => 'The specific objects authorized. An asterisk (*) denotes all resources.',
- 'example' => '*',
- 'type' => 'string',
- ],
- 'Action' => [
- 'description' => 'Operations on specific resources.',
+ 'ResourceArn' => ['description' => 'The ARN of the resource.', 'type' => 'string', 'title' => '', 'example' => 'acs:ecs:cn-hongkong:1488317743351199:instance/i-j6c6f3lbky38o8rpeqw2'],
+ 'PeriodUnit' => ['description' => 'The unit of the renewal duration. This is the unit for the Period parameter. Valid values: Month and Year. Default value: Month.', 'type' => 'string', 'title' => '', 'example' => 'Month'],
+ 'Period' => ['description' => 'The renewal duration. The unit is specified by PeriodUnit.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'OriginalAmount' => ['description' => 'The original price.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '900'],
+ 'TradeAmount' => ['description' => 'The discounted price.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '500'],
+ 'DiscountAmount' => ['description' => 'The discount.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '100'],
+ 'Currency' => ['description' => 'The currency. Valid values:'."\n"
+ ."\n"
+ .'- CNY: Chinese Yuan.'."\n"
+ ."\n"
+ .'- USD: US Dollar.'."\n"
+ ."\n"
+ .'- JPY: Japanese Yen.', 'type' => 'string', 'title' => '', 'example' => 'CNY'],
+ 'DetailInfos' => [
+ 'description' => 'The price details of the pricing module.',
+ 'type' => 'array',
'items' => [
- 'description' => 'Operations on specific resources.',
- 'example' => '['."\n"
- .' "ecs:DescribeInstances",'."\n"
- .' "ecs:RunInstance"'."\n"
- .' ]',
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalAmount' => ['description' => 'The original price.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '900'],
+ 'TradeAmount' => ['description' => 'The discounted price.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '500'],
+ 'DiscountAmount' => ['description' => 'The discount.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '100'],
+ 'Resource' => ['description' => 'The identifier of the pricing module.', 'type' => 'string', 'title' => '', 'example' => 'instance'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Rules' => [
+ 'description' => 'The discount details.',
'type' => 'array',
+ 'items' => [
+ 'description' => 'The discount details.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => 'The name of the discount.', 'type' => 'string', 'title' => '', 'example' => 'test'],
+ 'RuleDescId' => ['description' => 'The discount ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1021199213'],
+ 'Description' => ['description' => 'The description of the discount.', 'type' => 'string', 'title' => '', 'example' => 'test'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
- 'type' => 'object',
+ 'title' => '',
+ 'example' => '',
],
- 'type' => 'array',
+ 'title' => '',
+ 'example' => '',
],
],
- 'type' => 'object',
+ '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',
- ],
- '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',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"464C8CB6-A548-5206-B83C-D32A8E43EC21\\",\\n \\"ResourcePrices\\": [\\n {\\n \\"ResourceArn\\": \\"acs:ecs:cn-hongkong:1488317743351199:instance/i-j6c6f3lbky38o8rpeqw2\\",\\n \\"PeriodUnit\\": \\"Month\\",\\n \\"Period\\": 1,\\n \\"OriginalAmount\\": 900,\\n \\"TradeAmount\\": 500,\\n \\"DiscountAmount\\": 100,\\n \\"Currency\\": \\"CNY\\",\\n \\"DetailInfos\\": [\\n {\\n \\"OriginalAmount\\": 900,\\n \\"TradeAmount\\": 500,\\n \\"DiscountAmount\\": 100,\\n \\"Resource\\": \\"instance\\"\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"test\\",\\n \\"RuleDescId\\": 1021199213,\\n \\"Description\\": \\"test\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'GetServiceInstanceSubscriptionEstimateCost',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceInstanceSubscriptionEstimateCost'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:GetServiceInstanceSubscriptionEstimateCost',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'GetServiceProvisions' => [
+ 'summary' => 'Retrieves the provisions of a service, such as its activation status and service roles.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1689,76 +3666,44 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest2G0818',
- 'FEATUREcomputenest1Z49ZW',
- ],
+ 'abilityTreeNodes' => ['FEATUREcomputenest2G0818', 'FEATUREcomputenest1Z49ZW'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The service ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'service-0efc0db451794bxxxxxx',
- ],
+ 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service-0efc0db451794bxxxxxx'],
],
[
'name' => 'ServiceVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'The version of the service.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'],
],
[
'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The template name.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ECS',
- ],
+ 'schema' => ['description' => 'The template name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Template 1'],
],
[
'name' => 'TrialType',
'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' => 'Trial',
- ],
+ 'schema' => ['description' => 'The usage type. Valid values:'."\n"
+ ."\n"
+ .'- Trial: The service supports trial use.'."\n"
+ ."\n"
+ .'- NotTrial: The service does not support trial use.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Trial'],
],
[
'name' => 'Parameters',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'The parameters configured for the service instance.',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{\\"RegionId\\":\\"cn-hangzhou\\",\\"ZoneId\\":\\"cn-hangzhou-g\\",\\"EcsInstanceType\\":\\"ecs.g5.large\\",\\"InstancePassword\\":\\"xxxxxxxx\\",\\"PayType\\":\\"PostPaid\\",\\"PayPeriodUnit\\":\\"Month\\",\\"PayPeriod\\":1}',
- ],
+ 'schema' => ['description' => 'The parameters for deploying the user instance.', 'type' => 'object', 'required' => false, 'title' => '', 'example' => '{\\"RegionId\\":\\"cn-hangzhou\\",\\"ZoneId\\":\\"cn-hangzhou-g\\",\\"EcsInstanceType\\":\\"ecs.g5.large\\",\\"InstancePassword\\":\\"xxxxxxxx\\",\\"PayType\\":\\"PostPaid\\",\\"PayPeriodUnit\\":\\"Month\\",\\"PayPeriod\\":1}'],
],
],
'responses' => [
@@ -1766,173 +3711,147 @@
'headers' => [],
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '8C27145F-C9F4-545D-A355-DCDDAD63D548',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8C27145F-C9F4-545D-A355-DCDDAD63D548'],
'ServiceProvisions' => [
- 'description' => 'The information about the cloud services.'."\n",
+ 'description' => 'The service details.',
'type' => 'array',
'items' => [
- 'description' => 'The information about the cloud service.'."\n",
+ 'description' => 'The service details.',
'type' => 'object',
'properties' => [
- 'ServiceName' => [
- 'description' => 'The service name.'."\n",
- 'type' => 'string',
- 'example' => 'CS',
- ],
- 'Status' => [
- 'description' => 'The activation status of the service. Valid values:'."\n"
- ."\n"
- .'* Enabled: The service is activated.'."\n"
- .'* Disabled: The service is not activated.'."\n"
- .'* Unknown: The activation status of the service is unknown.'."\n",
- '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',
- ],
+ 'ServiceName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'CS'],
+ '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', 'title' => '', 'example' => 'Enabled'],
+ 'AutoEnableService' => ['description' => 'Indicates whether the service is automatically activated as defined in the template. Valid values:'."\n"
+ ."\n"
+ .'- true: The service is automatically activated.'."\n"
+ ."\n"
+ .'- false: The service is manually activated.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'RoleProvision' => [
- 'description' => 'The information about the RAM roles of the service. If this parameter is empty, no RAM role is associated with the service.'."\n",
+ 'description' => 'The information about the service role. If this parameter is empty, no service role is associated with the service.',
'type' => 'object',
'properties' => [
'Roles' => [
- 'description' => 'The RAM roles of the service.'."\n",
+ 'description' => 'The list of service roles.',
'type' => 'array',
'items' => [
- 'description' => 'The RAM roles of the service.'."\n",
+ 'description' => 'The list of service roles.',
'type' => 'object',
'properties' => [
- 'RoleName' => [
- 'description' => 'The name of the role.'."\n",
- 'type' => 'string',
- 'example' => 'AliyunCSManagedVKRole',
- ],
- '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',
- ],
+ 'RoleName' => ['description' => 'The role name.', 'type' => 'string', 'title' => '', 'example' => 'AliyunCSManagedVKRole'],
+ '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', 'title' => '', 'example' => 'true'],
+ 'Function' => ['description' => 'The purpose of the role.'."\n"
+ .'Default value: Default. This value indicates that the role is the default role for the service.', 'type' => 'string', 'title' => '', 'example' => 'Default'],
'ApiForCreation' => [
- 'description' => 'The information about the API operation that is used to create the RAM role.'."\n",
+ 'description' => 'The information about the API operation used to create the role.',
'type' => 'object',
'properties' => [
- 'ApiName' => [
- 'description' => 'The name of the API operation.'."\n",
- 'type' => 'string',
- 'example' => 'CreateServiceLinkedRole',
- ],
- 'ApiProductId' => [
- 'description' => 'The ID of the Alibaba Cloud service to which the API operation belongs.'."\n",
- 'type' => 'string',
- 'example' => 'rds',
- ],
- '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 ROS parameters of the cluster.'."\n",
- 'type' => 'object',
- 'example' => '{ "ServiceLinkedRole": "AliyunServiceRoleForRdsPgsqlOnEcs", "RegionId": "${RegionId}" }',
- ],
+ 'ApiName' => ['description' => 'The API operation name.', 'type' => 'string', 'title' => '', 'example' => 'CreateServiceLinkedRole'],
+ 'ApiProductId' => ['description' => 'The ID of the product to which the API operation belongs.', 'type' => 'string', 'title' => '', 'example' => 'rds'],
+ 'ApiType' => ['description' => 'The API type.'."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- Open: public API.'."\n"
+ ."\n"
+ .'- Inner: internal API.', 'type' => 'string', 'title' => '', 'example' => 'Open'],
+ 'parameters' => ['description' => 'The API parameters. ${variable} indicates a dynamic parameter.', 'type' => 'object', 'title' => '', 'example' => '{ "ServiceLinkedRole": "AliyunServiceRoleForRdsPgsqlOnEcs", "RegionId": "${RegionId}" }'],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- '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/"}',
- ],
+ 'AuthorizationURL' => ['description' => 'The authorization URL for accessing the cloud resources of the service.'."\n"
+ .'This URL is returned if the role is not created.', 'type' => 'string', 'title' => '', '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' => '',
+ 'example' => '',
],
- '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' => 'No permission',
- ],
- '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',
- ],
+ '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 Disabled or Unknown.', 'type' => 'string', 'title' => '', 'example' => 'No permission'],
+ 'EnableURL' => ['description' => 'The URL for activating the Alibaba Cloud service.'."\n"
+ ."\n"
+ .'> This parameter is returned when Status is set to Disabled.', 'type' => 'string', 'title' => '', 'example' => 'https://common-buy.aliyun.com/?commodityCode=sls'],
'CommodityProvisions' => [
- 'description' => 'Product details. Some services (such as ACS) involve the activation of multiple products',
+ 'description' => 'The commodity details. Some services, such as ACS, require the activation of multiple commodities.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The commodity details. Some services, such as ACS, require the activation of multiple commodities.',
'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',
- ],
+ 'CommodityCode' => ['description' => 'The commodity code.', 'type' => 'string', 'title' => '', 'example' => 'acs_postpaid_public_cn'],
+ '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', 'title' => '', 'example' => 'Disabled'],
+ 'EnableURL' => ['description' => 'The URL for activating the commodity.', 'type' => 'string', 'title' => '', 'example' => 'https://common-buy.aliyun.com/?commodityCode=acs_postpaid_public_cn'],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8C27145F-C9F4-545D-A355-DCDDAD63D548\\",\\n \\"ServiceProvisions\\": [\\n {\\n \\"ServiceName\\": \\"CS\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"AutoEnableService\\": true,\\n \\"RoleProvision\\": {\\n \\"Roles\\": [\\n {\\n \\"RoleName\\": \\"AliyunCSManagedVKRole\\",\\n \\"Created\\": true,\\n \\"Function\\": \\"Default\\",\\n \\"ApiForCreation\\": {\\n \\"ApiName\\": \\"CreateServiceLinkedRole\\",\\n \\"ApiProductId\\": \\"rds\\",\\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\\": \\"No permission\\",\\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}","type":"json"}]',
'title' => 'GetServiceProvisions',
- ],
- 'ListServices' => [
- 'summary' => 'Queries a list of services.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceProvisions'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetServiceProvisions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#serviceId}'],
+ ],
+ ],
+ ],
],
+ 'translator' => 'manual',
+ ],
+ 'GetServiceTemplateParameterConstraints' => [
+ 'summary' => 'Queries the parameter constraints for a Resource Orchestration Service (ROS) template in a specified region using the template name and service ID.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1944,161 +3863,96 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '118470',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ 'abilityTreeCode' => '136289',
+ 'abilityTreeNodes' => ['FEATUREcomputenestVIKWP9', 'FEATUREcomputenestVUFVAC'],
'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, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries 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, 'example' => 'service-731f788406024axxxxxx', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'ServiceVersion',
'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' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=',
- ],
+ 'schema' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'Filter',
+ '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 filter.'."\n",
+ 'description' => 'The configuration parameters of the service instance.',
'type' => 'array',
'items' => [
- 'description' => 'The filter.'."\n",
+ 'description' => '',
'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' => '1',
- ],
- 'required' => false,
- 'maxItems' => 10,
- ],
- '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',
- ],
+ 'ParameterKey' => ['description' => 'The name of the parameter. If you do not specify the name and value of the parameter, Resource Orchestration Service (ROS) uses the default value that is specified in the template.'."\n"
+ ."\n"
+ .'> The Parameters parameter is optional. If you specify Parameters, ParameterKey is required.', 'type' => 'string', 'required' => false, 'example' => 'InstanceType', 'title' => ''],
+ 'ParameterValue' => ['description' => 'The value of the parameter that is defined in the template.'."\n"
+ ."\n"
+ .'> The Parameters parameter is optional. If you specify Parameters, ParameterValue is required.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-j', 'title' => ''],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
- 'maxItems' => 10,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'InUsed',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'Whether it is used. Optional values:'."\n"
- ."\n\n"
- ."\n"
- .'- false: not being used.'."\n"
- ."\n\n"
- ."\n"
- .'- true: already in use.',
- '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 from your client for each request. The token can contain only ASCII characters and cannot be more than 64 characters long.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''],
],
[
- 'name' => 'Tag',
+ 'name' => 'DeployRegionId',
'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.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value1',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 50,
- ],
+ 'schema' => ['description' => 'The deployment region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'FuzzyKeyword',
+ 'name' => 'TrialType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Keyword fuzzy query.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'name',
- ],
+ 'schema' => ['description' => 'The usage type. Valid values:'."\n"
+ ."\n"
+ .'- Trial: The service supports a trial.'."\n"
+ ."\n"
+ .'- NotTrial: The service does not support a trial.', 'type' => 'string', 'required' => false, 'example' => 'NotTrial', 'title' => ''],
],
[
- 'name' => 'ServiceAccessType',
+ 'name' => 'SpecificationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service access type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'All',
- ],
+ 'schema' => ['description' => 'The specification name.', 'type' => 'string', 'example' => 'Package 1', 'required' => false, 'title' => ''],
],
[
- 'name' => 'OrderByType',
+ 'name' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service ordering type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'UpdateTime',
- ],
+ 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => false, 'example' => 'si-461ee95f46ca46xxxxxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'EnablePrivateVpcConnection',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Indicates whether PrivateLink is enabled. Valid values:'."\n"
+ ."\n"
+ .'- true: enabled'."\n"
+ ."\n"
+ .'- false: disabled', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
],
'responses' => [
@@ -2106,1745 +3960,1196 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'A pagination token.',
- 'type' => 'string',
- 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI41',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '3F976EF8-C10A-57DC-917C-BB7BEB508FFB',
- ],
- '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',
- ],
- 'Services' => [
- 'description' => 'The services.'."\n",
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '449DC03D-A039-56A6-8D6F-6EBCCCE0EE2C', 'title' => ''],
+ 'ParameterConstraints' => [
+ 'description' => 'The parameter constraints.',
'type' => 'array',
'items' => [
- 'description' => 'The service.'."\n",
+ '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.',
- 'type' => 'string',
- 'example' => 'Online',
- ],
- 'PublishTime' => [
- 'description' => 'The time when the service was published.'."\n",
- 'type' => 'string',
- 'example' => '2022-01-21T10:35:44Z',
- ],
- 'Version' => [
- 'description' => 'The version of the service.'."\n",
- 'type' => 'string',
- 'example' => '4',
- ],
- '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.',
- 'type' => 'string',
- 'example' => 'ros',
- ],
- 'ServiceId' => [
- 'description' => 'The service ID.'."\n",
- 'type' => 'string',
- 'example' => 'service-6b5d632edd394dxxxxxx',
- ],
- '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.',
- 'type' => 'string',
- 'example' => 'private',
- ],
- 'SupplierName' => [
- 'description' => 'The name of the service provider.'."\n",
- 'type' => 'string',
- 'example' => 'Alibaba Cloud',
- ],
- 'ServiceInfos' => [
- 'description' => 'The service information.'."\n",
+ 'Type' => ['description' => 'The type of the parameter.', 'type' => 'string', 'example' => 'String', 'title' => ''],
+ 'AllowedValues' => [
+ 'description' => 'The valid values of the parameter.',
'type' => 'array',
- 'items' => [
- 'description' => 'The service information.'."\n",
- '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' => 'Docker Community Edition'."\n",
- ],
- 'ShortDescription' => [
- 'description' => 'The description of the service.'."\n",
- 'type' => 'string',
- 'example' => 'Docker Community Edition (CE) is a free version of the Docker project, aimed at developers, enthusiasts, and individuals and organizations who want to use container technology. ',
- ],
- 'Softwares' => [
- 'description' => 'Service software information.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'Service software information.',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => 'The name of the software.',
- 'type' => 'string',
- 'example' => 'wordpress',
- ],
- 'Version' => [
- 'description' => 'The version of the software.',
- 'type' => 'string',
- 'example' => '6.0.1',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'items' => ['description' => 'A valid value of the parameter.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
- 'CommodityCode' => [
- 'description' => 'The commodity code of the service in Alibaba Cloud Marketplace.'."\n",
- 'type' => 'string',
- 'example' => 'cmjj00xxxx',
- ],
- 'ServiceProductUrl' => [
- 'description' => 'The URL of the service page.'."\n",
- 'type' => 'string',
- 'example' => 'http://example1.com',
- ],
- 'Categories' => [
- 'description' => 'The category of the service.'."\n",
- 'type' => 'string',
- 'example' => 'cloud_ssd',
- ],
- 'VersionName' => [
- 'description' => 'The custom version name defined by the service provider.'."\n",
- 'type' => 'string',
- 'example' => 'v2.0.0',
- ],
- 'DeployFrom' => [
- 'description' => 'Service deployment approach. Valid values:'."\n"
- .'- NoWhere'."\n"
- ."\n"
- .'- Marketplace'."\n"
- ."\n"
- .'- ComputeNest',
- 'type' => 'string',
- 'example' => 'ComputeNest',
- ],
- 'Score' => [
- 'description' => 'Service recommendation score.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
+ 'AssociationParameterNames' => [
+ 'description' => 'The associated parameters.',
+ 'type' => 'array',
+ 'items' => ['description' => 'An associated parameter.', 'type' => 'string', 'example' => 'InstanceType', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
- 'Tags' => [
- 'description' => 'The tags.',
+ 'ParameterKey' => ['description' => 'The name of the parameter.', 'type' => 'string', 'example' => 'ZoneInfo', 'title' => ''],
+ 'Behavior' => ['description' => 'The behavior of the parameter. Valid values:'."\n"
+ ."\n"
+ .'- NoLimit: No limits are imposed on the value of this parameter.'."\n"
+ ."\n"
+ .'- NotSupport: The values of this parameter cannot be queried.'."\n"
+ ."\n"
+ .'- QueryError: The query failed.'."\n"
+ ."\n"
+ .'> If AllowedValues is not returned, Behavior and BehaviorReason are returned to describe the behavior of the parameter and the reason.', 'type' => 'string', 'example' => 'NoLimit', 'title' => ''],
+ 'BehaviorReason' => ['description' => 'The reason for the parameter behavior.', 'type' => 'string', 'example' => 'No resource property refer to the parameter', 'title' => ''],
+ 'OriginalConstraints' => [
+ 'description' => 'The original constraints.',
'type' => 'array',
'items' => [
- 'description' => 'The tags.',
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'The tag key.'."\n"
- ."\n"
- .'> This parameter is required.'."\n",
- 'type' => 'string',
- 'example' => 'key1',
- ],
- 'Value' => [
- 'description' => 'The tag value.'."\n",
- 'type' => 'string',
- 'example' => 'value1',
+ 'AllowedValues' => [
+ 'description' => 'The valid values of the parameter.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A valid value of the parameter.', 'type' => 'string', 'example' => 'cn-hangzhou-a', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
+ 'PropertyName' => ['description' => 'The property name.', 'type' => 'string', 'example' => 'ZoneId', 'title' => ''],
+ 'ResourceName' => ['description' => 'The name of the resource that is defined in the template.', 'type' => 'string', 'example' => 'MyECS', 'title' => ''],
+ 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ALIYUN::ECS::InstanceGroup', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- 'TrialDuration' => [
- 'description' => 'The trial duration. Unit: day. The maximum trial duration cannot exceed 30 days.'."\n",
- 'type' => 'string',
- '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 tenant type of the managed service. Valid values:'."\n"
- ."\n"
- .'* SingleTenant'."\n"
- .'* MultiTenant'."\n",
- 'type' => 'string',
- 'example' => 'SingleTenant',
- ],
- 'VirtualInternetService' => [
- 'description' => 'Indicates whether the service is a virtual Internet service. Valid values:'."\n"
- ."\n"
- .'* false'."\n"
- .'* true'."\n",
- 'type' => 'string',
- 'example' => 'false',
- ],
- 'SupplierUid' => [
- 'description' => 'The Alibaba Cloud account ID of the service provider.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1436322xxxxx',
- ],
- 'Commodity' => [
- 'description' => 'The commodity details.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'DeployPage' => [
- 'description' => 'Deploy Page.',
- 'type' => 'string',
- 'example' => 'Order: Order Page'."\n"
- .'Detail: Detail Page',
- ],
- 'CommodityCode' => [
- 'description' => 'The commodity code.'."\n",
- 'type' => 'string',
- 'example' => 'cmjj00****'."\n"
- ."\n",
- ],
- ],
- ],
- 'SupplierNameEng' => [
- 'description' => 'The name of service provider.',
- 'type' => 'string',
- 'example' => 'Alibaba Cloud',
- ],
- 'ServiceLocaleConfigs' => [
+ 'QueryErrors' => [
+ 'description' => 'The details of the query failure.',
'type' => 'array',
'items' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'OriginalValue' => [
- 'type' => 'string',
- ],
- 'ZhValue' => [
- 'type' => 'string',
- ],
- 'EnValue' => [
- 'type' => 'string',
- ],
+ 'ErrorMessage' => ['description' => 'The error details.', 'type' => 'string', 'example' => 'record not exist', 'title' => ''],
+ 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'example' => 'MyECS', 'title' => ''],
+ 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ALIYUN::ECS::InstanceGroup', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'FamilyConstraints' => [
+ 'description' => 'The constraints on the specification family.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A constraint on the specification family.', 'type' => 'string', 'example' => '约束族1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI41\\",\\n \\"RequestId\\": \\"3F976EF8-C10A-57DC-917C-BB7BEB508FFB\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 20,\\n \\"Services\\": [\\n {\\n \\"Status\\": \\"Online\\",\\n \\"PublishTime\\": \\"2022-01-21T10:35:44Z\\",\\n \\"Version\\": \\"4\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-6b5d632edd394dxxxxxx\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"A有限公司\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"http://img.tidb.oss.url\\",\\n \\"Name\\": \\"B数据库\\",\\n \\"ShortDescription\\": \\"B是A公司自主设计并研发的开源分布式的关系型数据库\\",\\n \\"Softwares\\": [\\n {\\n \\"Name\\": \\"wordpress\\",\\n \\"Version\\": \\"6.0.1\\"\\n }\\n ]\\n }\\n ],\\n \\"CommodityCode\\": \\"cmjj00xxxx\\",\\n \\"ServiceProductUrl\\": \\"http://example1.com\\",\\n \\"Categories\\": \\"cloud_ssd\\",\\n \\"VersionName\\": \\"v2.0.0\\",\\n \\"DeployFrom\\": \\"ComputeNest\\",\\n \\"Score\\": 5,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"TrialDuration\\": \\"7\\",\\n \\"TrialType\\": \\"Trial\\",\\n \\"TenantType\\": \\"SingleTenant\\",\\n \\"VirtualInternetService\\": \\"false\\",\\n \\"SupplierUid\\": 0,\\n \\"Commodity\\": {\\n \\"DeployPage\\": \\"Order: 下单页\\\\nDetail: 详情页\\",\\n \\"CommodityCode\\": \\"cmjj00****\\\\n\\\\n\\"\\n },\\n \\"SupplierNameEng\\": \\"Alibaba Cloud\\",\\n \\"ServiceLocaleConfigs\\": [\\n {\\n \\"OriginalValue\\": \\"Service Name\\\\n\\",\\n \\"ZhValue\\": \\"服务名称\\",\\n \\"EnValue\\": \\"Service Name\\\\n\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'ListServices',
- ],
- 'ListServiceCategories' => [
- 'summary' => 'Queries service categories.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"449DC03D-A039-56A6-8D6F-6EBCCCE0EE2C\\",\\n \\"ParameterConstraints\\": [\\n {\\n \\"Type\\": \\"String\\",\\n \\"AllowedValues\\": [\\n \\"cn-hangzhou-h\\"\\n ],\\n \\"AssociationParameterNames\\": [\\n \\"InstanceType\\"\\n ],\\n \\"ParameterKey\\": \\"ZoneInfo\\",\\n \\"Behavior\\": \\"NoLimit\\",\\n \\"BehaviorReason\\": \\"No resource property refer to the parameter\\",\\n \\"OriginalConstraints\\": [\\n {\\n \\"AllowedValues\\": [\\n \\"cn-hangzhou-a\\"\\n ],\\n \\"PropertyName\\": \\"ZoneId\\",\\n \\"ResourceName\\": \\"MyECS\\",\\n \\"ResourceType\\": \\"ALIYUN::ECS::InstanceGroup\\"\\n }\\n ],\\n \\"QueryErrors\\": [\\n {\\n \\"ErrorMessage\\": \\"record not exist\\",\\n \\"ResourceName\\": \\"MyECS\\",\\n \\"ResourceType\\": \\"ALIYUN::ECS::InstanceGroup\\"\\n }\\n ]\\n }\\n ],\\n \\"FamilyConstraints\\": [\\n \\"约束族1\\"\\n ]\\n}","type":"json"}]',
+ 'title' => 'GetServiceTemplateParameterConstraints',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceTemplateParameterConstraints'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetServiceTemplateParameterConstraints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#serviceId}'],
+ ],
+ ],
+ ],
],
+ 'translator' => 'machine',
+ ],
+ 'GetSkill' => [
+ 'summary' => 'Queries the details of a Skill.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '203728',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestB2MIVU',
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SkillId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The unique ID of the Skill.', 'type' => 'string', 'required' => true, 'example' => 's-06e9dca2-0ac9-4d2e-a965-e9db9c057e00', 'title' => ''],
],
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '',
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7',
- ],
- 'Categories' => [
- 'description' => 'The category list of the service.',
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7'],
+ 'SkillId' => ['title' => '', 'description' => 'Skill ID', 'type' => 'string', 'example' => 's-xxxxx'],
+ 'SkillName' => ['title' => '', 'description' => 'The Skill name.', 'type' => 'string', 'example' => 'skill-creator'],
+ 'SkillDisplayName' => ['title' => '', 'description' => 'The Skill display name.', 'type' => 'string', 'example' => ''],
+ 'SkillDescription' => ['title' => '', 'description' => 'The Skill description.', 'type' => 'string', 'example' => 'Create new skills, modify and improve existing skills, and measure skill performance.'],
+ 'Locales' => [
'type' => 'array',
'items' => [
- 'description' => 'The category of the service.'."\n",
- 'type' => 'string',
- 'example' => 'AI',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalValue' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ZhValue' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'EnValue' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'SkillLabels' => [
+ 'description' => 'The Skill labels.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The Skill label.', 'type' => 'string', 'example' => 'category:frontend-development', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
+ 'SkillSpaceId' => ['title' => '', 'description' => 'The ID of the SkillSpace to which the Skill belongs.', 'type' => 'string', 'example' => 'ss-xxxxx'],
+ 'CreateTime' => ['description' => 'The time when the Skill was created.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z', 'title' => ''],
+ 'UpdateTime' => ['title' => '', 'description' => 'The time when the Skill was last updated.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z'],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'InvalidSkill.NotFound', 'errorMessage' => 'The specified Skill does not exist.', 'description' => ''],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\",\\n \\"Categories\\": [\\n \\"AI\\"\\n ]\\n}","type":"json"}]',
- 'title' => 'ListServiceCategories',
- ],
- 'UpgradeServiceInstance' => [
- 'summary' => 'Upgrades the version of a service instance.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'View skill details',
+ 'description' => '### Before you begin'."\n"
+ .'Make sure that the service provider has enabled the specification change feature and configured the specification change parameters when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\",\\n \\"SkillId\\": \\"s-xxxxx\\",\\n \\"SkillName\\": \\"skill-creator\\",\\n \\"SkillDisplayName\\": \\"\\",\\n \\"SkillDescription\\": \\"Create new skills, modify and improve existing skills, and measure skill performance.\\",\\n \\"Locales\\": [\\n {\\n \\"OriginalValue\\": \\"\\",\\n \\"ZhValue\\": \\"\\",\\n \\"EnValue\\": \\"\\"\\n }\\n ],\\n \\"SkillLabels\\": [\\n \\"category:frontend-development\\"\\n ],\\n \\"SkillSpaceId\\": \\"ss-xxxxx\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\"\\n}","type":"json"}]',
+ ],
+ 'GetSkillFileDetectResult' => [
+ 'summary' => 'Retrieves the result of a Skill file detection task.',
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '122810',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestYPH9R9',
- ],
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'ServiceInstanceId',
+ 'name' => 'HashKey',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the service instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-d6ab3a63ccbb4bxxxxxx',
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => 'The unique identifier for the detection task.', 'type' => 'string', 'required' => true, 'example' => '2aceb074-fa72-44d2-99d9-45b17cffe0e7', 'title' => ''],
],
[
- 'name' => 'ServiceVersion',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The destination version.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
- [
- 'name' => 'Parameters',
- 'in' => 'query',
- 'style' => 'json',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The parameters required for the upgrade. This parameter is required if the destination version of the service has new parameters.'."\n",
'type' => 'object',
- 'required' => false,
- 'example' => '{ \\"RegionId\\": \\"cn-hangzhou\\", \\"InstanceType\\": \\"ecs.g5.large\\"}',
- ],
- ],
- [
- '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.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-426655440000',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '3F976EF8-C10A-57DC-917C-BB7BEB508FFB'],
+ 'HashKey' => ['description' => 'The unique identifier for the detection task.', 'type' => 'string', 'title' => '', 'example' => '8cfb1102cc5f56fe752f6e9b8c6f7f3d'],
+ 'Result' => ['description' => 'The file detection result. Valid values:'."\n"
+ ."\n"
+ .'0: safe file'."\n"
+ ."\n"
+ .'1: suspicious file'."\n"
+ ."\n"
+ .'3: The detection is in progress.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
+ 'Score' => ['description' => 'The file detection score. The score ranges correspond to the following threat levels:'."\n"
+ ."\n"
+ .'0–60: safe'."\n"
+ ."\n"
+ .'61–70: risk'."\n"
+ ."\n"
+ .'71–80: suspicious'."\n"
+ ."\n"
+ .'81–100: malicious', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
+ 'Code' => ['description' => 'The result code. A value of "200" indicates success. Other values indicate an error.', 'type' => 'string', 'title' => '', 'example' => '200'],
+ 'Message' => ['description' => 'The response message.', 'type' => 'string', 'title' => '', 'example' => 'Successful'],
+ ],
+ 'title' => '',
+ 'description' => 'Response schema',
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => 'GetSkillFileDetectResult',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'This operation is available only if the service provider enabled the modification feature and configured the relevant parameters during service creation.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3F976EF8-C10A-57DC-917C-BB7BEB508FFB\\",\\n \\"HashKey\\": \\"8cfb1102cc5f56fe752f6e9b8c6f7f3d\\",\\n \\"Result\\": 0,\\n \\"Score\\": 10,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful\\"\\n}","type":"json"}]',
+ ],
+ 'GetSkillHubConfig' => [
+ 'summary' => 'Retrieves the SkillHub configuration.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- '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 upgrade service instance.'."\n"
- .'* **false**: performs a dry run for the request, and upgrade service instance if the request passes the dry run.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C',
- ],
- 'UpgradeRequiredParameters' => [
- 'description' => 'The parameters required for the upgrade. This parameter is returned only if DryRun is set to true in the request. You can specify the required parameters based on the returned value when you perform an actual request.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The parameter required for the upgrade.'."\n",
- 'type' => 'string',
- 'example' => '{ "RegionId": "cn-hangzhou" "NodeCount": 3, "SystemDiskSize": 40, "InstancePassword": "******" }',
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '2849EE73-AFFA-5AFD-9575-12FA886451DA'],
+ 'OssBucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'title' => '', 'example' => 'mybucket'],
+ 'OssRegionId' => ['description' => 'The region where the OSS bucket is located.', 'type' => 'string', 'title' => '', 'example' => 'cn-zhangjiakou'],
+ 'CreateTime' => ['description' => 'The time when the configuration was created.', 'type' => 'string', 'title' => '', 'example' => '2021-05-20T00:00:00Z'],
+ 'UpdateTime' => ['description' => 'The time when the configuration was last updated.', 'type' => 'string', 'title' => '', 'example' => '2021-05-20T00:00:00Z'],
],
- 'description' => '',
+ 'title' => '',
+ 'description' => 'The response data.',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"UpgradeRequiredParameters\\": [\\n \\"InstancePassword\\"\\n ]\\n}","type":"json"}]',
- 'title' => 'UpgradeServiceInstance',
- ],
- 'CreateServiceInstance' => [
- 'summary' => 'Creates and deploys a service instance.',
- 'methods' => [
- 'get',
- 'post',
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'InvalidSkillHubConfig.NotFound', 'errorMessage' => 'The specified SkillHubConfig does not exist.', 'description' => ''],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
+ 'title' => 'GetSkillHubConfig',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure the service provider enabled the modification feature and configured its parameters when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2849EE73-AFFA-5AFD-9575-12FA886451DA\\",\\n \\"OssBucketName\\": \\"mybucket\\",\\n \\"OssRegionId\\": \\"cn-zhangjiakou\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\"\\n}","type":"json"}]',
+ ],
+ 'GetSkillSpace' => [
+ 'summary' => 'Queries the details of a SkillSpace.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '36939',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestVIKWP9',
- 'FEATUREcomputenestVUFVAC',
- 'FEATUREcomputenestZFWIMH',
- 'FEATUREcomputenestQKB5Y7',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
+ '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 serviceInstance name.',
- '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',
+ 'name' => 'SkillSpaceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The service version.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'SkillSpace ID', 'type' => 'string', 'required' => true, 'example' => 'ss-xxxxx', 'title' => ''],
],
- [
- 'name' => 'Parameters',
- 'in' => 'query',
- 'style' => 'json',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The parameters that the customer specifies to deploy the service instance.'."\n"
- ."\n"
- .'> If region information is required to create a service instance, you must specify the region ID in the value of Parameters.'."\n",
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
- 'required' => false,
- 'example' => '{"NodeCount": 3, "SystemDiskSize": 40, "InstancePassword": "******"}',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7'],
+ 'SkillSpaceId' => ['title' => '', 'description' => 'SkillSpace ID', 'type' => 'string', 'example' => 'ss-xxxxx'],
+ 'SkillSpaceName' => ['title' => '', 'description' => 'The SkillSpace name.', 'type' => 'string', 'example' => 'office-toolkit-skills'],
+ 'SkillSpaceDescription' => ['title' => '', 'description' => 'The SkillSpace description.', 'type' => 'string', 'example' => 'All-in-one office toolkit — generate reports, process data, manage files, and streamline workflows effortlessly.'],
+ 'CreateTime' => ['title' => '', 'description' => 'The time when the SkillSpace was created.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z'],
+ 'UpdateTime' => ['title' => '', 'description' => 'The time when the SkillSpace was last updated.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z'],
+ ],
+ '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.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-426655440000',
- ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'InvalidSkillSpace.NotFound', 'errorMessage' => 'The specified SkillSpace does not exist.', 'description' => ''],
],
- [
- 'name' => 'EnableInstanceOps',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether the service instance supports the hosted O\\&M feature. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
+ ],
+ 'title' => 'View skillSpace details',
+ 'description' => '### Before you begin'."\n"
+ .'Make sure that the service provider has enabled the specification change feature and configured the specification change parameters when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetSkillSpace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\",\\n \\"SkillSpaceId\\": \\"ss-xxxxx\\",\\n \\"SkillSpaceName\\": \\"office-toolkit-skills\\",\\n \\"SkillSpaceDescription\\": \\"All-in-one office toolkit — generate reports, process data, manage files, and streamline workflows effortlessly.\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\"\\n}","type":"json"}]',
+ ],
+ 'GetUserInformation' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'TemplateName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ECS Template',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcomputenest0EG8HU'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
[
- 'name' => 'OperationMetadata',
+ 'name' => 'RegionId',
'in' => 'query',
- 'style' => 'flat',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The operation metadata.',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'StartTime' => [
- 'description' => 'The operation start time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-12-29T06:48:56Z',
- ],
- 'EndTime' => [
- 'description' => 'The operation end time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2022-01-28T06:48:56Z',
- ],
- 'Resources' => [
- 'description' => 'Imported resource.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{ "RegionId": "cn-hangzhou", "Type": "ResourceIds", "ResourceIds": { "ALIYUN::ECS::INSTANCE": ["i-xxx", "i-yyy"], "ALIYUN::RDS::INSTANCE": ["rm-xxx", "rm-yyy"], "ALIYUN::VPC::VPC": ["vpc-xxx", "vpc-yyy"], "ALIYUN::SLB::INSTANCE": ["lb-xxx", "lb-yyy"] } }',
- ],
- 'ServiceInstanceId' => [
- 'description' => 'The ID of the service instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-d6ab3a63ccbb4b17****',
- ],
- 'ExtraInfo' => [
- 'description' => 'The additional information.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => ' ```json'."\n"
- .' {'."\n"
- .' "vncInfo": ['."\n"
- .' {'."\n"
- .' "instanceId": "i-001",'."\n"
- .' "username": "admin",'."\n"
- .' "password": "******",'."\n"
- .' "vncPassword": "******"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' }'."\n"
- .' ```',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '52EBAF16-22F6-53DB-AE1E-44764FC62AF0'],
+ 'DeliverySettings' => [
+ 'description' => 'The delivery settings.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OssEnabled' => ['description' => 'Specifies whether to deliver data to Object Storage Service (OSS). Valid values:'."\n"
+ ."\n"
+ .'- true: Enabled.'."\n"
+ ."\n"
+ .'- false: Disabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'OssBucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'title' => '', 'example' => '0101data'],
+ 'OssPath' => ['description' => 'The path in OSS.', 'type' => 'string', 'title' => '', 'example' => '/test'],
+ 'OssExpirationDays' => ['description' => 'The number of days to save screen recordings.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '7'],
+ 'ActiontrailDeliveryToOssEnabled' => ['description' => 'Specifies whether to use the delivery feature. Valid values:'."\n"
+ ."\n"
+ .'- true: Enabled.'."\n"
+ ."\n"
+ .'- false: Disabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
- 'required' => false,
+ 'example' => '',
],
],
- [
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bp67acfmxazb4p****',
+ ],
+ 'title' => 'GetUserInformation',
+ 'summary' => 'Queries user information.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserInformation'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetUserInformation',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'UserInfo', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:UserInfo'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52EBAF16-22F6-53DB-AE1E-44764FC62AF0\\",\\n \\"DeliverySettings\\": {\\n \\"OssEnabled\\": true,\\n \\"OssBucketName\\": \\"0101data\\",\\n \\"OssPath\\": \\"/test\\",\\n \\"OssExpirationDays\\": 7,\\n \\"ActiontrailDeliveryToOssEnabled\\": true\\n }\\n}","type":"json"}]',
+ ],
+ 'ListBackups' => [
+ 'summary' => 'Queries a list of backups for Compute Nest service instances.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ContactGroup',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232493',
+ 'abilityTreeNodes' => ['FEATUREcomputenestSE9C8Z'],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The alert contact group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Default Group',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => '20'],
],
[
- 'name' => 'TrialType',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The trial type of the service instance. Valid values:'."\n"
- ."\n"
- .'* **Trial**: Trials are supported.'."\n"
- .'* **NotTrial**: Trials are not supported.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Trial',
- ],
+ 'schema' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLYoaeZA6xVdkCrmG9EmGshtmECUGpq9Qm7x5vQkpz9NXH0XzUc9t4Kxaf3UtuPY4a0='],
],
[
- 'name' => 'Tag',
+ 'name' => 'Filter',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The tags.'."\n",
+ 'description' => 'The filter.',
'type' => 'array',
'items' => [
- 'description' => 'The tag key and value.',
+ 'description' => 'The filter.',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'The tag key.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key1',
- ],
'Value' => [
- 'description' => 'The tag value.'."\n",
- 'type' => 'string',
+ 'description' => 'The filter values.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A filter value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'si-xxx'],
'required' => false,
- 'example' => 'value1',
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
+ 'Name' => ['description' => 'The name of the filter. You can query by one or more filter names. Valid values:'."\n"
+ ."\n"
+ .'- BackupId: The backup ID.'."\n"
+ ."\n"
+ .'- ServiceInstanceId: The service instance ID.'."\n"
+ ."\n"
+ .'- Status: The status.'."\n"
+ ."\n"
+ .'- StartTime: The start time.'."\n"
+ ."\n"
+ .'- EndTime: The end time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ServiceInstanceId'],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
- 'maxItems' => 20,
- ],
- ],
- [
- 'name' => 'SpecificationName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The package name.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Default Ppackage',
+ 'docRequired' => false,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
- [
- 'name' => 'DryRun',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'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',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => ['title' => '', 'description' => 'The total number of entries that meet the query conditions.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BB58FE53-ED8F-5D12-9746-CD3A5F463D95'],
+ 'NextToken' => ['title' => '', 'description' => 'The token that is used to retrieve the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'required' => true, 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLYoaeZA6xVdkCrmG9EmGshtmECUGpq9Qm7x5vQkpz9NXH0XzUc9t4Kxaf3UtuPY4a0='],
+ 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Backups' => [
+ 'description' => 'The backups.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of a backup.',
+ 'type' => 'object',
+ 'properties' => [
+ 'BackupId' => ['description' => 'The backup ID.', 'type' => 'string', 'title' => '', 'example' => 'backup-4e13aa8ca6a34150addd'],
+ 'ServiceInstanceId' => ['description' => 'The service instance ID.', 'type' => 'string', 'title' => '', 'example' => 'si-7b6138dfce1e4c41ab71'],
+ 'StartTime' => ['description' => 'The time when the backup started.', 'type' => 'string', 'title' => '', 'example' => '2025-06-30T16:00:00Z'],
+ 'EndTime' => ['description' => 'The time when the backup ended.', 'type' => 'string', 'title' => '', 'example' => '2024-08-15T02:24:00Z'],
+ 'Status' => ['description' => 'The status.'."\n"
+ ."\n"
+ .'- Creating: The backup is being created.'."\n"
+ ."\n"
+ .'- Created: The backup is created.'."\n"
+ ."\n"
+ .'- CreateFailed: The backup failed to be created.'."\n"
+ ."\n"
+ .'- Deleting: The backup is being deleted.'."\n"
+ ."\n"
+ .'- Deleted: The backup is deleted.'."\n"
+ ."\n"
+ .'- DeleteFailed: The backup failed to be deleted.', 'type' => 'string', 'title' => '', 'example' => 'Creating'],
+ 'Description' => ['description' => 'The description of the backup.', 'type' => 'string', 'title' => '', 'example' => 'No description'],
+ 'BackupMode' => ['description' => 'The backup mode. The return value is:'."\n"
+ ."\n"
+ .'- **Manual**: The backup is created manually.', 'type' => 'string', 'title' => '', 'example' => 'Manual'],
+ 'RetentionDays' => ['description' => 'The retention period in days. Backups are deleted after the retention period expires. By default, this parameter is empty, which means that the backups do not expire.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'StatusDetail' => ['description' => 'The details of the status.', 'type' => 'string', 'title' => '', 'example' => 'Disk i-xxxx backup failed, error message: error '],
+ 'ModifiedTime' => ['description' => 'The time when the backup was last updated.', 'type' => 'string', 'title' => '', 'example' => '2024-09-03T19:54:38+08:00'],
+ 'CreateTime' => ['description' => 'The time when the backup was created.', 'type' => 'string', 'title' => '', 'example' => '2024-09-03T19:54:38+08:00'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
],
],
- [
- 'name' => 'SpecificationCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specification code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'yuncode5425200001',
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => 'ListBackups',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure that the service provider enabled the upgrade and downgrade feature and configured the related parameters when the service was created.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListBackups',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"BB58FE53-ED8F-5D12-9746-CD3A5F463D95\\",\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLYoaeZA6xVdkCrmG9EmGshtmECUGpq9Qm7x5vQkpz9NXH0XzUc9t4Kxaf3UtuPY4a0=\\",\\n \\"MaxResults\\": 100,\\n \\"Backups\\": [\\n {\\n \\"BackupId\\": \\"backup-4e13aa8ca6a34150addd\\",\\n \\"ServiceInstanceId\\": \\"si-7b6138dfce1e4c41ab71\\",\\n \\"StartTime\\": \\"2025-06-30T16:00:00Z\\",\\n \\"EndTime\\": \\"2024-08-15T02:24:00Z\\",\\n \\"Status\\": \\"Creating\\",\\n \\"Description\\": \\"No description\\",\\n \\"BackupMode\\": \\"Manual\\",\\n \\"RetentionDays\\": 1,\\n \\"StatusDetail\\": \\"Disk i-xxxx backup failed, error message: error\\\\t\\",\\n \\"ModifiedTime\\": \\"2024-09-03T19:54:38+08:00\\",\\n \\"CreateTime\\": \\"2024-09-03T19:54:38+08:00\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListPolicies' => [
+ 'summary' => 'Retrieves a list of access policies.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'EnableUserPrometheus',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to enable the Prometheus monitoring feature. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '43373',
+ 'abilityTreeNodes' => ['FEATUREcomputenestJ4D829'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
[
- 'name' => 'Commodity',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => 'The information about the order placed in Alibaba Cloud Marketplace. You do not need to specify this parameter if the service is not published in Alibaba Cloud Marketplace or uses the pay-as-you-go billing method.'."\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' => 'Year',
- ],
- 'PayPeriod' => [
- 'description' => 'The subscription duration.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
- 'AutoRenew' => [
- 'description' => 'Specifies whether to enable auto-renewal for the service instance. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
- 'AutoPay' => [
- 'description' => 'Specifies whether to automatically complete the payment. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
- 'CouponId' => [
- 'description' => 'The coupon ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '302070970220',
- ],
- 'QuotationId' => [
- 'type' => 'string',
- 'required' => false,
- 'description' => 'privet offer Id',
- 'example' => 'xxxx-xxxx-xxxx-xxxx',
- ],
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'],
],
[
- 'name' => 'ResourceAutoPay',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to automatically deduct the resource fees from the account balance. Valid values:'."\n"
- ."\n"
- .'* **true**'."\n"
- .'* **false**'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'true',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results. If this parameter is empty, no more results exist.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4='],
],
[
- 'name' => 'ServiceInstanceId',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The trial service instance id witch you want to convert to formal',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-d32fbcef30664721b785',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'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 ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****',
- ],
- 'ServiceInstanceId' => [
- 'description' => 'The service instance ID.'."\n",
- 'type' => 'string',
- 'example' => 'si-d6ab3a63ccbb4b17****',
- ],
- 'MarketInstanceId' => [
- 'description' => 'The MartketInstance ID.',
- 'type' => 'string',
- 'example' => '786***45',
- ],
- 'OrderId' => [
- 'description' => 'The order ID.'."\n",
- 'type' => 'string',
- 'example' => '2306175xxxxxxxx',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '51945B04-6AA6-410D-93BA-236E0248B104'],
+ 'NextToken' => ['title' => 'NextToken', 'description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'example' => 'AAAAAZ9FmxgN6wKfeK/GOKRnnjU='],
+ 'Policies' => [
+ 'description' => 'The list of access policies.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the access policy.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'The description of the access policy.', 'type' => 'string', 'title' => '', 'example' => 'Read-only permission'],
+ 'PolicyName' => ['description' => 'The name of the access policy.', 'type' => 'string', 'title' => '', 'example' => 'AliyunComputeNestPolicyForReadOnly'],
+ 'PolicyType' => ['description' => 'The type of the access policy.'."\n"
+ ."\n"
+ .'- Custom: A custom policy.'."\n"
+ ."\n"
+ .'- System: A system policy.', 'type' => 'string', 'title' => '', 'example' => 'System'],
+ 'PolicyDocument' => ['description' => 'The content of the policy.', 'type' => 'string', 'title' => '', 'example' => '{"Action":["*:Describe*","*:List*","*:Get*","*:BatchGet*","*:Query*","*:BatchQuery*","actiontrail:LookupEvents"],"Resource":["*"],"Effect":"Allow"}'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'MaxResults' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'],
],
- 'description' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Created\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"MarketInstanceId\\": \\"786***45\\",\\n \\"OrderId\\": \\"2306175xxxxxxxx\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateServiceInstanceResponse>\\n <Status>Created</Status>\\n <RequestId>4DB0F536-B3BE-4F0D-BD29-E83FB56D****</RequestId>\\n <ServiceInstanceId>si-d6ab3a63ccbb4b17****</ServiceInstanceId>\\n</CreateServiceInstanceResponse>","errorExample":""}]',
- 'title' => 'CreateServiceInstance',
- ],
- 'GetServiceInstance' => [
- 'summary' => 'Queries the information about a service instance based on the region ID and the ID of the service instance or the Alibaba Cloud Marketplace instance. Information including the service status, template name, and involved resources are returned.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"NextToken\\": \\"AAAAAZ9FmxgN6wKfeK/GOKRnnjU=\\",\\n \\"Policies\\": [\\n {\\n \\"Description\\": \\"Read-only permission\\",\\n \\"PolicyName\\": \\"AliyunComputeNestPolicyForReadOnly\\",\\n \\"PolicyType\\": \\"System\\",\\n \\"PolicyDocument\\": \\"{\\\\\\"Action\\\\\\":[\\\\\\"*:Describe*\\\\\\",\\\\\\"*:List*\\\\\\",\\\\\\"*:Get*\\\\\\",\\\\\\"*:BatchGet*\\\\\\",\\\\\\"*:Query*\\\\\\",\\\\\\"*:BatchQuery*\\\\\\",\\\\\\"actiontrail:LookupEvents\\\\\\"],\\\\\\"Resource\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"Effect\\\\\\":\\\\\\"Allow\\\\\\"}\\"\\n }\\n ],\\n \\"MaxResults\\": 20\\n}","type":"json"}]',
+ 'title' => 'ListPolicies',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPolicies'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListPolicies',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Policy', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:policy/*'],
+ ],
+ ],
+ ],
],
+ 'translator' => 'manual',
+ ],
+ 'ListPublicSkills' => [
+ 'summary' => 'Queries the list of public skills.',
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'Anonymous' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '36936',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestVIKWP9',
- ],
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'ServiceInstanceId',
+ 'name' => 'Filter',
'in' => 'query',
- 'allowEmptyValue' => true,
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The service instance ID.'."\n"
- ."\n"
- .'> You must specify either `ServiceInstanceId` or `MarketInstanceId`. Otherwise, the operation fails.'."\n",
- 'type' => 'string',
+ 'description' => 'The filter.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'The list of filter values. Valid values of N: 1 to 10.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The filter value.', 'type' => 'string', 'required' => false, 'example' => 's-xxxxx', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Name' => ['description' => 'The filter name. You can specify one or more names for the query. Valid values:'."\n"
+ ."\n"
+ .'- SkillId: the skill ID. Exact match.'."\n"
+ ."\n"
+ .'- SkillName: the skill name.'."\n"
+ ."\n"
+ .'- MatchType: the match type that controls how SkillName is matched. Valid values: exact, prefix, and fuzzy.'."\n"
+ ."\n"
+ .'- Keyword: keyword match against the skill name or skill description. Fuzzy match.'."\n"
+ ."\n"
+ .'- SkillLabels: the skill label set. Fuzzy match.', 'type' => 'string', 'required' => false, 'example' => 'SkillId', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'docRequired' => false,
- 'example' => 'si-d6ab3a63ccbb4b17****',
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'RegionId',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The token for the next query.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', 'title' => ''],
],
[
- 'name' => 'MarketInstanceId',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'description' => 'The MarketInstance ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '704***59',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '200', 'default' => '10', 'required' => false, 'example' => '20', 'title' => ''],
+ ],
+ [
+ 'name' => 'NeedDownloadUrl',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to include the download URL for the skill package.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- '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' => '{"InstanceIds":["i-hp38ofxl0dsyfi7z****"]}',
- ],
- 'Status' => [
- 'description' => 'The deploy status of the serviceInstance. Valid values:'."\n"
- .'- Created'."\n"
- .'- Deploying'."\n"
- .'- DeployedFailed'."\n"
- .'- Deployed'."\n"
- .'- Upgrading'."\n"
- .'- Deleting'."\n"
- .'- Deleted'."\n"
- .'- DeletedFailed',
- 'type' => 'string',
- 'example' => 'Deployed',
- ],
- 'TemplateName' => [
- 'description' => 'The template name.'."\n",
- 'type' => 'string',
- 'example' => 'Template one',
- ],
- 'UpdateTime' => [
- 'description' => 'The time when the serviceInstance was last updated.',
- 'type' => 'string',
- 'example' => '2021-05-20T00:00:00Z',
- ],
- 'Progress' => [
- 'description' => 'The deployment progress of the service instance. Unit: percentage.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '90',
- ],
- 'Parameters' => [
- 'description' => 'The parameters configured for the service instance.',
- 'type' => 'string',
- 'example' => '{"param":"value"}',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '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 serviceInstance was created.',
- 'type' => 'string',
- 'example' => '2021-05-20T00:00:00Z',
- ],
- 'StatusDetail' => [
- 'description' => 'The description of the deployment state of the service instance.'."\n",
- 'type' => 'string',
- 'example' => 'deploy successfully',
- ],
- 'Resources' => [
- 'description' => 'The resources.'."\n",
- 'type' => 'string',
- 'example' => '[{"StackId": "stack-xxx"}]',
- ],
- 'Service' => [
- 'description' => 'The service details.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => 'The status of the service. Valid values:'."\n"
- ."\n"
- .'* Draft'."\n"
- .'* Submited'."\n"
- .'* Approved'."\n"
- .'* Online'."\n"
- .'* Offline'."\n"
- .'* Deleted'."\n"
- .'* Launching'."\n"
- .'* Beta',
- 'type' => 'string',
- 'example' => 'Online',
- ],
- 'PublishTime' => [
- 'description' => 'The time when the service version was published.',
- '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' => '{"EstimateTime":null,"SupplierDeployMetadata":{"DeployTimeout":null},"TemplateConfigs":[{"Name":"模板1","Url":"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json","PredefinedParameters":[],"AllowedRegions":["cn-hangzhou"]}]}',
- ],
- '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',
- ],
- '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' => 'The information about the service.'."\n",
- '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 name of the service.'."\n",
- 'type' => 'string',
- 'example' => 'Docker Community Edition',
- ],
- 'ShortDescription' => [
- 'description' => 'The description of the service.'."\n",
- 'type' => 'string',
- 'example' => 'Docker Community Edition (CE) is a free version of the Docker project, aimed at developers, enthusiasts, and individuals and organizations who want to use container technology. ',
- ],
- ],
- ],
- ],
- 'VersionName' => [
- 'description' => 'The custom version name defined by the service provider.'."\n",
- 'type' => 'string',
- 'example' => '1.1.0',
- ],
- 'UpgradeMetadata' => [
- 'description' => 'The metadata about the upgrade.',
- 'type' => 'string',
- 'example' => '{\\"Description\\":\\"Allowed Upgrade 11\\",\\"SupportRollback\\":true,\\"SupportUpgradeFromVersions\\":[],\\"UpgradeComponents\\":[\\"Configuration\\",\\"Resource\\"]}',
- ],
- 'UpgradableServiceVersions' => [
- 'description' => 'The service version that can be updated.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The service version that can be updated.'."\n",
- 'type' => 'string',
- 'example' => '1',
- ],
- ],
- 'UpgradableServiceInfos' => [
- 'description' => 'The service versions that can be updated.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The service version that can be updated.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Version' => [
- 'description' => 'The service version.'."\n",
- 'type' => 'string',
- 'example' => 'draft',
- ],
- 'VersionName' => [
- 'description' => 'The version name.'."\n",
- 'type' => 'string',
- 'example' => '0.1.0',
- ],
- ],
- ],
- ],
- 'ServiceProductUrl' => [
- 'description' => 'The URL of the service page.'."\n",
- 'type' => 'string',
- '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',
- ],
- 'OperationMetadata' => [
- 'description' => 'Parameters related to O\\&M operations, including configuration change, prometheus, and log configurations.'."\n",
- 'type' => 'string',
- 'example' => '{"SupportBackup":false,"PrometheusConfigMap":{},"ModifyParametersConfig":\\[{"TemplateName":"Chinese mainland version","Operation":\\[{"Name":"Change Plan","Description":"Change Plan","Type":"Custom","SupportPredefinedParameters":true,"EnableLogging":false},{"Name":"Parameter configuration change","Description":"Parameter configuration change","Type":"Custom","SupportPredefinedParameters":false,"EnableLogging":false,"Parameters":\\["DataDiskSize"]}]}}'."\n",
- ],
- ],
- ],
- 'OperationStartTime' => [
- 'description' => 'The operation start time.',
- 'type' => 'string',
- 'example' => '2021-12-29T06:48:56Z',
- ],
- 'OperationEndTime' => [
- 'description' => 'The operation end time.',
- 'type' => 'string',
- 'example' => '2022-01-28T06:48:56Z',
- ],
- 'OperatedServiceInstanceId' => [
- 'description' => 'The serviceInstance to be operated.',
- 'type' => 'string',
- 'example' => 'si-d6ab3a63ccbb4b17****',
- ],
- 'EnableInstanceOps' => [
- 'description' => 'Indicates whether the service instance supports the operation feature. Valid values:'."\n"
- ."\n"
- .'* true'."\n"
- .'* false',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- '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',
- ],
- 'NetworkConfig' => [
- 'description' => 'The network configurations.'."\n"
- ."\n"
- .'> This parameter is discontinued.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'EndpointId' => [
- 'description' => 'The ID of the endpoint for the private connection.'."\n"
- ."\n"
- .'> This parameter is discontinued.'."\n",
- 'type' => 'string',
- 'example' => 'ep-m5ei37240541816b****',
- ],
- 'PrivateZoneId' => [
- 'description' => 'The PrivateZone ID.',
- 'type' => 'string',
- 'example' => 'cb7f214f80ac348d87daaeac1f35****',
- ],
- 'PrivateVpcConnections' => [
- 'description' => 'The information about private connections.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The information about private connections.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'EndpointId' => [
- 'description' => 'The endpoint ID of the private connection.'."\n",
- 'type' => 'string',
- 'example' => 'ep-m5ei37240541816b****',
- ],
- 'PrivateZoneId' => [
- 'description' => 'The ID of the private zone of the custom private domain name.'."\n",
- 'type' => 'string',
- 'example' => 'cb7f214f80ac348d87daaeac1f35****',
- ],
- 'PrivateZoneName' => [
- 'description' => 'The custom domain name.'."\n",
- 'type' => 'string',
- 'example' => 'test.computenest.aliyuncs.com',
- ],
- 'ConnectionConfigs' => [
- 'description' => 'The network configurations, which are mainly used for private connections.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The network configurations, which are mainly used for the private connection.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'VpcId' => [
- 'description' => 'The ID of the virtual private cloud (VPC).'."\n",
- 'type' => 'string',
- 'example' => 'vpc-bp1vwnn14rqpyiczj****',
- ],
- 'SecurityGroups' => [
- 'description' => 'The names of the security groups.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The names of the security group.'."\n",
- 'type' => 'string',
- 'example' => '\'sg-m5ec4mvoq9egn7xxxxxx',
- ],
- ],
- 'VSwitches' => [
- 'description' => 'The names of the vSwitches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The names of the vSwitch.'."\n",
- 'type' => 'string',
- 'example' => 'vsw-uf6iqwohr05dw4mxxxxxx',
- ],
- ],
- 'IngressEndpointStatus' => [
- 'description' => 'The state 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 state 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',
- ],
- 'EndpointIps' => [
- 'description' => 'The IP addresses of the endpoints of the private connections.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The IP address of the endpoint of the private connection.'."\n",
- 'type' => 'string',
- 'example' => '192.xxx.xxx.xxx',
- ],
- ],
- 'DomainName' => [
- 'description' => 'The domain name.'."\n",
- 'type' => 'string',
- 'example' => 'ie-569a9be34f5534f6bc6559b5c1xxxxxx.service-51f80502802e48xxxxxx.cn-hangzhou.computenest.aliyuncs.com',
- ],
- 'RegionId' => [
- 'description' => 'The region ID of the VPC to which the endpoint of the private connection established based on the private network interconnection mode of Compute Nest belongs.'."\n",
- 'type' => 'string',
- 'example' => 'cn-beijing',
- ],
- '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',
- ],
- ],
- ],
- ],
- 'RegionId' => [
- 'description' => 'The region ID of the endpoint of the PrivateLink connection.'."\n",
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- ],
- 'ReversePrivateVpcConnections' => [
- 'description' => 'The information about the reverse private connection.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The information about the reverse private connection.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'EndpointId' => [
- 'description' => 'The endpoint ID of the reverse private connection.'."\n",
- 'type' => 'string',
- 'example' => 'ep-m5ei42370541816b****',
- ],
- ],
- ],
- ],
- ],
- ],
- 'Tags' => [
- 'description' => 'The tags.'."\n",
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '3F976EF8-C10A-57DC-917C-BB7BEB508FFB'],
+ 'NextToken' => ['title' => '', 'description' => 'The token for the next page.', 'type' => 'string', 'example' => 'AAAAAZ9FmxgN6wKfeK/GOKRnnjU='],
+ 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['title' => '', 'description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Skills' => [
+ 'title' => '',
+ 'description' => 'The list of skills.',
'type' => 'array',
'items' => [
- 'description' => 'The tags.',
+ 'description' => 'The skill details object.',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'The tag key.'."\n",
- 'type' => 'string',
- 'example' => 'key1',
- ],
- 'Value' => [
- 'description' => 'The tag value.'."\n",
- 'type' => 'string',
- 'example' => 'value1',
+ 'SkillId' => ['title' => '', 'description' => 'Skill ID', 'type' => 'string', 'example' => 's-xxxxx'],
+ 'SkillName' => ['title' => '', 'description' => 'The skill name.', 'type' => 'string', 'example' => 'skill-creator'],
+ 'SkillDisplayName' => ['title' => '', 'description' => 'The skill display name.', 'type' => 'string', 'example' => ''],
+ 'SkillDescription' => ['title' => '', 'description' => 'The skill description.', 'type' => 'string', 'example' => 'Create new skills, modify and improve existing skills, and measure skill performance.'],
+ 'Locales' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalValue' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ZhValue' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'EnValue' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'SkillLabels' => [
+ 'description' => 'The skill label set.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The skill label.', 'type' => 'string', 'example' => 'category:frontend-development', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'SkillSpaceId' => ['title' => '', 'description' => 'The ID of the SkillSpace to which the skill belongs.', 'type' => 'string', 'example' => 'ss-xxxxx'],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-09-11T02:18:42Z', 'title' => ''],
+ 'UpdateTime' => ['title' => '', 'description' => 'The update time.', 'type' => 'string', 'example' => '2025-11-03T22:58:52Z'],
+ 'DownloadUrl' => ['description' => 'The download URL for the skill package.', 'type' => 'string', 'example' => 'https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/skill-creator.zip', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- ],
- 'LicenseEndTime' => [
- 'description' => 'The expiration time of licence.',
- 'type' => 'string',
- 'example' => '2022-01-01T12:00:00',
- ],
- 'UserId' => [
- 'description' => 'The AliUid of the user.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '130920852836****',
- ],
- 'SupplierUid' => [
- 'description' => 'The Alibaba Cloud account ID of the service provider.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '158927391332*****',
- ],
- 'EndTime' => [
- 'description' => 'The expiration time of service instance.',
- 'type' => 'string',
- 'example' => '2022-01-01T12:00:00',
- ],
- 'Source' => [
- 'description' => 'The source of the serviceInstance. Valid values:'."\n"
- .'- User'."\n"
- .'- Market'."\n"
- .'- Supplier',
- '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.',
- 'type' => 'string',
- 'example' => 'private',
- ],
- 'PayType' => [
- 'description' => 'The billing method of the instance for market. Valid values:'."\n"
- ."\n"
- .'* Permanent: Permanent purchase'."\n"
- .'* Subscription: Subscription.'."\n"
- .'* PayAsYouGo: Pay-as-you-go.'."\n"
- .'* CustomFixTime: Merchant custom fixed duration.',
- 'type' => 'string',
- 'example' => 'Subscription',
- ],
- 'Name' => [
- 'description' => 'The name of the service instance.',
- 'type' => 'string',
- 'example' => 'TestName',
- ],
- 'EnableUserPrometheus' => [
- 'description' => 'Whether to enable Prometheus monitoring.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Components' => [
- 'description' => 'Cloud Marketplace additional billing items.',
- 'type' => 'string',
- 'example' => '{"TiKVServerCount":"3","package_version":"yuncode5398300001","PDServerCount":"3","TiDBServerCount":"2"}',
- ],
- 'PredefinedParameterName' => [
- 'description' => 'The package name.'."\n",
- 'type' => 'string',
- 'example' => 'Package one',
- ],
- 'MarketInstanceId' => [
- 'description' => 'The market Instance ID.',
- 'type' => 'string',
- 'example' => '704***59',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'example' => 'rg-bp67acfmxazb4p****',
- ],
- 'BizStatus' => [
- 'description' => 'The business state of the service instance. Valid values:'."\n"
- ."\n"
- .'* Normal'."\n"
- .'* Renewing'."\n"
- .'* RenewFailed'."\n"
- .'* Expired'."\n",
- 'type' => 'string',
- 'example' => 'Normal',
- ],
- 'GrafanaDashBoardUrl' => [
- 'description' => 'The URL of the Grafana dashboard.'."\n",
- 'type' => 'string',
- 'example' => 'https://g.console.aliyun.com/d/xxxxxxxx-cn-mariadb/mysql-xxxxxx-xxxxxxxx-and-dashboard?orgId=355401&refresh=10s',
- ],
- 'SupportTrialToPrivate' => [
- 'description' => 'Is it supported to convert from trial to private',
- 'type' => 'boolean',
- ],
- 'PolicyNames' => [
- 'type' => 'string',
- ],
- 'GrantedPermission' => [
- 'type' => 'object',
- 'properties' => [
- 'OperationEndTime' => [
- 'type' => 'string',
- ],
- 'PolicyNames' => [
- 'type' => 'string',
- ],
- ],
+ 'example' => '',
],
],
- 'description' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Outputs\\": \\"{\\\\\\"InstanceIds\\\\\\":[\\\\\\"i-hp38ofxl0dsyfi7z****\\\\\\"]}\\",\\n \\"Status\\": \\"Deployed\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"Progress\\": 90,\\n \\"Parameters\\": \\"{\\\\\\"param\\\\\\":\\\\\\"value\\\\\\"}\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"Resources\\": \\"[{\\\\\\"StackId\\\\\\": \\\\\\"stack-xxx\\\\\\"}]\\",\\n \\"Service\\": {\\n \\"Status\\": \\"Online\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Version\\": \\"1\\",\\n \\"DeployMetadata\\": \\"{\\\\\\"EstimateTime\\\\\\":null,\\\\\\"SupplierDeployMetadata\\\\\\":{\\\\\\"DeployTimeout\\\\\\":null},\\\\\\"TemplateConfigs\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"模板1\\\\\\",\\\\\\"Url\\\\\\":\\\\\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json\\\\\\",\\\\\\"PredefinedParameters\\\\\\":[],\\\\\\"AllowedRegions\\\\\\":[\\\\\\"cn-hangzhou\\\\\\"]}]}\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-9c8a3522528b4fe8****\\",\\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 \\"UpgradeMetadata\\": \\"{\\\\n \\\\\\"Type\\\\\\": \\\\\\"OOS\\\\\\",\\\\n \\\\\\"Description\\\\\\": \\\\\\"Changelog or something description\\\\\\",\\\\n \\\\\\"SupportUpgradeFromVersions\\\\\\": [1, 2],\\\\n \\\\\\"UpgradeSteps\\\\\\": {\\\\n \\\\\\"PreUpgradeStage\\\\\\": {\\\\n \\\\\\"Description\\\\\\": \\\\\\"初始化数据库\\\\\\",\\\\n \\\\\\"Type\\\\\\": \\\\\\"RunCommand\\\\\\",\\\\n \\\\\\"ResourceName\\\\\\": \\\\\\"EcsRole1\\\\\\",\\\\n \\\\\\"CommandType\\\\\\": \\\\\\"runShellScript\\\\\\",\\\\n \\\\\\"CommandContent\\\\\\": \\\\\\"echo hello\\\\\\"\\\\n },\\\\n \\\\\\"UpgradeStage\\\\\\": [{\\\\n \\\\\\"Description\\\\\\": \\\\\\"更新EcsRole1实例\\\\\\",\\\\n \\\\\\"Type\\\\\\": \\\\\\"RunCommand\\\\\\",\\\\n \\\\\\"ResourceName\\\\\\": \\\\\\"EcsRole1\\\\\\",\\\\n \\\\\\"ArtifactsDownloadDirectory\\\\\\": \\\\\\"/home/admin\\\\\\",\\\\n \\\\\\"CommandType\\\\\\": \\\\\\"runShellScript\\\\\\",\\\\n \\\\\\"CommandContent\\\\\\": \\\\\\"echo hello\\\\\\"\\\\n }],\\\\n \\\\\\"PostUpgradeStage\\\\\\": {\\\\n \\\\\\"Description\\\\\\": \\\\\\"部署后post check\\\\\\",\\\\n \\\\\\"Type\\\\\\": \\\\\\"None/RunCommand\\\\\\",\\\\n \\\\\\"ResourceName\\\\\\": \\\\\\"EcsRole1\\\\\\",\\\\n \\\\\\"CommandType\\\\\\": \\\\\\"runShellScript\\\\\\",\\\\n \\\\\\"CommandContent\\\\\\": \\\\\\"echo hello\\\\\\"\\\\n }\\\\n }\\\\n}\\",\\n \\"UpgradableServiceVersions\\": [\\n \\"1\\"\\n ],\\n \\"UpgradableServiceInfos\\": [\\n {\\n \\"Version\\": \\"draft\\",\\n \\"VersionName\\": \\"20241112\\"\\n }\\n ],\\n \\"ServiceProductUrl\\": \\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com\\",\\n \\"ServiceDocUrl\\": \\"http://example.com\\",\\n \\"OperationMetadata\\": \\"{\\\\\\"SupportBackup\\\\\\":false,\\\\\\"PrometheusConfigMap\\\\\\":{},\\\\\\"ModifyParametersConfig\\\\\\":[{\\\\\\"TemplateName\\\\\\":\\\\\\"国内版\\\\\\",\\\\\\"Operation\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"套餐变配\\\\\\",\\\\\\"Description\\\\\\":\\\\\\"套餐变配\\\\\\",\\\\\\"Type\\\\\\":\\\\\\"Custom\\\\\\",\\\\\\"SupportPredefinedParameters\\\\\\":true,\\\\\\"EnableLogging\\\\\\":false},{\\\\\\"Name\\\\\\":\\\\\\"参数变配\\\\\\",\\\\\\"Description\\\\\\":\\\\\\"参数变配\\\\\\",\\\\\\"Type\\\\\\":\\\\\\"Custom\\\\\\",\\\\\\"SupportPredefinedParameters\\\\\\":false,\\\\\\"EnableLogging\\\\\\":false,\\\\\\"Parameters\\\\\\":[\\\\\\"DataDiskSize\\\\\\"]}]}]}\\"\\n },\\n \\"OperationStartTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"OperationEndTime\\": \\"2022-01-28T06:48:56Z\\",\\n \\"OperatedServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"EnableInstanceOps\\": true,\\n \\"IsOperated\\": true,\\n \\"NetworkConfig\\": {\\n \\"EndpointId\\": \\"ep-m5ei37240541816b****\\",\\n \\"PrivateZoneId\\": \\"cb7f214f80ac348d87daaeac1f35****\\",\\n \\"PrivateVpcConnections\\": [\\n {\\n \\"EndpointId\\": \\"ep-m5ei37240541816b****\\",\\n \\"PrivateZoneId\\": \\"cb7f214f80ac348d87daaeac1f35****\\",\\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\\": \\"ie-569a9be34f5534f6bc6559b5c1xxxxxx.service-51f80502802e48xxxxxx.cn-hangzhou.computenest.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"ConnectBandwidth\\": 0\\n }\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"ReversePrivateVpcConnections\\": [\\n {\\n \\"EndpointId\\": \\"ep-m5ei42370541816b****\\"\\n }\\n ]\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"LicenseEndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"UserId\\": 0,\\n \\"SupplierUid\\": 0,\\n \\"EndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"Source\\": \\"User\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"PayType\\": \\"Subscription\\",\\n \\"Name\\": \\"TestName\\",\\n \\"EnableUserPrometheus\\": true,\\n \\"Components\\": \\"{\\\\\\"TiKVServerCount\\\\\\":\\\\\\"3\\\\\\",\\\\\\"package_version\\\\\\":\\\\\\"yuncode5398300001\\\\\\",\\\\\\"PDServerCount\\\\\\":\\\\\\"3\\\\\\",\\\\\\"TiDBServerCount\\\\\\":\\\\\\"2\\\\\\"}\\",\\n \\"PredefinedParameterName\\": \\"套餐一\\",\\n \\"MarketInstanceId\\": \\"704***59\\",\\n \\"ResourceGroupId\\": \\"rg-bp67acfmxazb4p****\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GrafanaDashBoardUrl\\": \\"https://g.console.aliyun.com/d/xxxxxxxx-cn-mariadb/mysql-xxxxxx-xxxxxxxx-and-dashboard?orgId=355401&refresh=10s\\",\\n \\"SupportTrialToPrivate\\": true,\\n \\"PolicyNames\\": \\"\\",\\n \\"GrantedPermission\\": {\\n \\"OperationEndTime\\": \\"\\",\\n \\"PolicyNames\\": \\"\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetServiceInstanceResponse>\\n <Outputs>{\\"InstanceIds\\":[\\"i-hp38ofxl0dsyfi7z****\\"]}</Outputs>\\n <Status>Deployed</Status>\\n <TemplateName>模板1</TemplateName>\\n <UpdateTime>2021-05-20T00:00:00Z</UpdateTime>\\n <Progress>90</Progress>\\n <Parameters>{\\"param\\":\\"value\\"}</Parameters>\\n <RequestId>4DB0F536-B3BE-4F0D-BD29-E83FB56D550C</RequestId>\\n <ServiceInstanceId>si-d6ab3a63ccbb4b17****</ServiceInstanceId>\\n <CreateTime>2021-05-20T00:00:00Z</CreateTime>\\n <StatusDetail>deploy successfully</StatusDetail>\\n <Resources>[{\\"StackId\\": \\"stack-xxx\\"}]</Resources>\\n <Service>\\n <Status>Online</Status>\\n <PublishTime>2021-05-21T00:00:00Z</PublishTime>\\n <Version>1</Version>\\n <DeployMetadata>{\\"EstimateTime\\":null,\\"SupplierDeployMetadata\\":{\\"DeployTimeout\\":null},\\"TemplateConfigs\\":[{\\"Name\\":\\"模板1\\",\\"Url\\":\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json\\",\\"PredefinedParameters\\":[],\\"AllowedRegions\\":[\\"cn-hangzhou\\"]}]}</DeployMetadata>\\n <DeployType>ros</DeployType>\\n <ServiceId>service-9c8a3522528b4fe8****</ServiceId>\\n <SupplierUrl>http://example.com</SupplierUrl>\\n <ServiceType>private</ServiceType>\\n <SupplierName>A公司</SupplierName>\\n <ServiceInfos>\\n <Locale>zh-CN</Locale>\\n <Image>https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png</Image>\\n <Name>B数据库</Name>\\n <ShortDescription>B是A公司自主设计并研发的开源分布式的关系型数据库</ShortDescription>\\n </ServiceInfos>\\n </Service>\\n <OperationStartTime>2021-12-29T06:48:56Z</OperationStartTime>\\n <OperationEndTime>2022-01-28T06:48:56Z</OperationEndTime>\\n <OperatedServiceInstanceId>si-d6ab3a63ccbb4b17****</OperatedServiceInstanceId>\\n <EnableInstanceOps>true</EnableInstanceOps>\\n <IsOperated>true</IsOperated>\\n</GetServiceInstanceResponse>","errorExample":""}]',
- 'title' => 'GetServiceInstance',
- ],
- 'ContinueDeployServiceInstance' => [
- 'summary' => 'Continues to deploy a service instance after the service instance failed to be deployed.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'Query public skill list',
+ 'description' => '### Before you begin'."\n"
+ .'Make sure the service provider has enabled the specification change feature and completed the specification change parameter settings when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3F976EF8-C10A-57DC-917C-BB7BEB508FFB\\",\\n \\"NextToken\\": \\"AAAAAZ9FmxgN6wKfeK/GOKRnnjU=\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 1,\\n \\"Skills\\": [\\n {\\n \\"SkillId\\": \\"s-xxxxx\\",\\n \\"SkillName\\": \\"skill-creator\\",\\n \\"SkillDisplayName\\": \\"\\",\\n \\"SkillDescription\\": \\"Create new skills, modify and improve existing skills, and measure skill performance.\\",\\n \\"Locales\\": [\\n {\\n \\"OriginalValue\\": \\"\\",\\n \\"ZhValue\\": \\"\\",\\n \\"EnValue\\": \\"\\"\\n }\\n ],\\n \\"SkillLabels\\": [\\n \\"category:frontend-development\\"\\n ],\\n \\"SkillSpaceId\\": \\"ss-xxxxx\\",\\n \\"CreateTime\\": \\"2025-09-11T02:18:42Z\\",\\n \\"UpdateTime\\": \\"2025-11-03T22:58:52Z\\",\\n \\"DownloadUrl\\": \\"https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/skill-creator.zip\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListRestoreTasks' => [
+ 'summary' => 'Queries a list of restore jobs.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'none',
'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '43087',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestVIKWP9',
- 'FEATUREcomputenestVUFVAC',
- 'FEATUREcomputenestZFWIMH',
- 'FEATUREcomputenestQKB5Y7',
- ],
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232531',
+ 'abilityTreeNodes' => ['FEATUREcomputenestSE9C8Z'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- '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' => '123e4567-e89b-12d3-a456-426655440000',
- ],
- ],
- [
- 'name' => 'ServiceInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the service instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'si-0e6fca6a51a54420****',
- ],
- ],
- [
- '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. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '20'],
],
[
- 'name' => 'Parameters',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The parameters configured for the service instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"NodeCount": 3, "SystemDiskSize": 40, "InstancePassword": "******"}',
- ],
- ],
- [
- 'name' => 'DryRun',
+ 'name' => 'NextToken',
'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 token that is used to retrieve the next page of results.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU='],
],
[
- 'name' => 'Option',
+ 'name' => 'Filter',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The options that the system adopts when the system continues to create the service instance.'."\n",
+ 'description' => 'The filter.',
'type' => 'array',
'items' => [
- 'description' => 'The option that the system adopts when the system continues to create the service instance. Valid values:'."\n"
- ."\n"
- .'* TryToFixSignalFailureByRerunEcsCommand: The system tries to fix existing signals of the FAILURE type. When ALIYUN::ROS::WaitCondition resources fail to be created, the system uses the associated and created ALIYUN::ECS::RunCommand and ALIYUN::ECS::Invocation resources and the relevant dependencies to recreate the ALIYUN::ROS::WaitCondition resources.'."\n"
- .'* IgnoreExistingSignalFailure: The system ignores existing signals of the FAILURE type. If ALIYUN::ROS::WaitCondition resources fail to be created, the resources are successfully created when the system continues to create the service instance.'."\n"
- .'* AutoRecreatingResources: The system automatically recreates the resources whose template content or referenced parameters are modified and the relevant dependencies. This option facilitates the configurations of RecreatingResources.N. However, unnecessary resources may also be recreated.'."\n"
- ."\n"
- .'> This parameter takes effect only for ROS stacks.'."\n",
- 'type' => 'string',
+ 'description' => 'The filter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'A list of filter values.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A list of filter values.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'si-xxxx'],
+ '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"
+ .'- RestoreTaskId: The restore job ID.'."\n"
+ ."\n"
+ .'- ServiceInstanceId: The service instance ID.'."\n"
+ ."\n"
+ .'- Status: The status.'."\n"
+ ."\n"
+ .'- StartTime: The start time.'."\n"
+ ."\n"
+ .'- EndTime: The end time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ServiceInstanceId'],
+ ],
'required' => false,
- 'example' => 'TryToFixSignalFailureByRerunEcsCommand',
+ 'title' => '',
+ 'example' => '',
],
- 'required' => false,
- 'maxItems' => 10,
+ 'required' => true,
+ 'docRequired' => true,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response schema.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C',
- ],
- '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"
+ 'TotalCount' => ['title' => '', 'description' => 'The total number of entries that meet the filter criteria.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '464C8CB6-A548-5206-B83C-D32A8E43EC21'],
+ 'NextToken' => ['title' => '', 'description' => 'The token that is used to retrieve the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'required' => true, 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4='],
+ 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned for the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'RestoreTasks' => [
+ 'description' => 'The list of restore jobs.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RestoreTaskId' => ['description' => 'The ID of the restore job.', 'type' => 'string', 'title' => '', 'example' => 'restore-xxxxxx'],
+ 'ServiceInstanceId' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'title' => '', 'example' => 'si-8c367c27c84e44a79d36'],
+ 'BackupId' => ['description' => 'The backup ID.', 'type' => 'string', 'title' => '', 'example' => 'backup-728f128bf92c4e3da970'],
+ 'EndTime' => ['description' => 'The time when the restore job ended.', 'type' => 'string', 'title' => '', 'example' => '2025-01-27T18:00:00Z'],
+ 'Status' => ['description' => 'The status of the service instance. Valid values:'."\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',
- ],
- ],
- '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"
+ .'- Restoring: The service instance is being restored.'."\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',
- ],
- ],
- 'ParametersAllowedToBeModified' => [
- 'description' => 'The parameters that can be modified. The operation that is performed to modify the parameters does not cause a validation error.'."\n"
+ .'- Restored: The service instance was restored.'."\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',
- ],
+ .'- RestoreFailed: The service instance failed to be restored.', 'type' => 'string', 'title' => '', 'example' => 'Restoring'],
+ 'StartTime' => ['description' => 'The time when the restore job started.', 'type' => 'string', 'title' => '', 'example' => '2025-01-27T16:00:00Z'],
+ 'StatusDetail' => ['description' => 'The details of the instance status.', 'type' => 'string', 'title' => '', 'example' => 'i-xxxx failed, error message: error'],
+ 'CreateTime' => ['description' => 'The time when the job was created.', 'type' => 'string', 'title' => '', 'example' => '2023-09-07T11:37:37Z'],
+ 'ModifiedTime' => ['description' => 'The time when the job was last updated.', 'type' => 'string', 'title' => '', 'example' => '2025-05-07T12:16:16Z'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
- ],
- 'ServiceInstanceId' => [
- 'description' => 'The ID of the service instance.'."\n",
- 'type' => 'string',
- 'example' => 'si-d6ab3a63ccbb4b17****',
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListRestoreTasks',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure that the service provider enabled the upgrade and downgrade feature and configured its parameters when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:ListRestoreTasks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"DryRunResult\\": {\\n \\"ParametersNotAllowedToBeModified\\": [\\n \\"cidr\\"\\n ],\\n \\"ParametersConditionallyAllowedToBeModified\\": [\\n \\"name\\"\\n ],\\n \\"ParametersAllowedToBeModified\\": [\\n \\"description\\"\\n ]\\n },\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\"\\n}","errorExample":""},{"type":"xml","example":"<ContinueDeployServiceInstanceResponse>\\n <RequestId>4DB0F536-B3BE-4F0D-BD29-E83FB56D550C</RequestId>\\n</ContinueDeployServiceInstanceResponse>","errorExample":""}]',
- 'title' => 'ContinueDeployServiceInstance',
- 'description' => 'This operation is available only for service instances that belong to private services deployed by using Resource Orchestration Service (ROS).'."\n",
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"464C8CB6-A548-5206-B83C-D32A8E43EC21\\",\\n \\"NextToken\\": \\"BBBAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"MaxResults\\": 20,\\n \\"RestoreTasks\\": [\\n {\\n \\"RestoreTaskId\\": \\"restore-xxxxxx\\",\\n \\"ServiceInstanceId\\": \\"si-8c367c27c84e44a79d36\\",\\n \\"BackupId\\": \\"backup-728f128bf92c4e3da970\\",\\n \\"EndTime\\": \\"2025-01-27T18:00:00Z\\",\\n \\"Status\\": \\"Restoring\\",\\n \\"StartTime\\": \\"2025-01-27T16:00:00Z\\",\\n \\"StatusDetail\\": \\"i-xxxx failed, error message: error\\",\\n \\"CreateTime\\": \\"2023-09-07T11:37:37Z\\",\\n \\"ModifiedTime\\": \\"2025-05-07T12:16:16Z\\"\\n }\\n ]\\n}","type":"json"}]',
],
- 'DeleteServiceInstances' => [
- 'summary' => 'Deletes service instances based on the region ID and service instance IDs.',
- 'methods' => [
- 'post',
- 'get',
+ 'ListServiceCategories' => [
+ 'summary' => 'Lists the available service categories.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '203728',
+ 'abilityTreeNodes' => ['FEATUREcomputenestB2MIVU'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7'],
+ 'Categories' => [
+ 'description' => 'A list of service category names.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the service category.', 'type' => 'string', 'title' => '', 'example' => 'AI'],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\",\\n \\"Categories\\": [\\n \\"AI\\"\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListServiceCategories',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceCategories'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceCategories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListServiceInstanceBill' => [
+ 'summary' => 'Call the ListServiceInstanceBill operation to query bills for service instances.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'high',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '36935',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '177374',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- '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.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-426655440000',
- ],
+ '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' => 'RegionId',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAVz7BQqj2xtiNSC3d3RAD38=', 'title' => ''],
],
[
'name' => 'ServiceInstanceId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The IDs of the service instances.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The service instance ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-d6ab3a63ccbb4b17****',
- ],
- 'required' => true,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'required' => false, 'example' => 'si-49793f3bfa034ec6a990', 'title' => ''],
+ ],
+ [
+ 'name' => 'BillingCycle',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The billing cycle in YYYY-MM format. Only billing cycles in the last 18 months are supported.', 'type' => 'string', 'required' => true, 'example' => '2024-05', 'title' => ''],
+ ],
+ [
+ 'name' => 'Granularity',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The granularity of the bills to query. Valid values:'."\n"
+ ."\n"
+ .'- MONTHLY: monthly. The data is consistent with the bills aggregated by billing cycle in the User Center.'."\n"
+ ."\n"
+ .'- DAILY: daily. The data is consistent with the bills aggregated by day in the User Center.'."\n"
+ ."\n"
+ .'If you set this parameter to DAILY, you must also specify **BillingDate**.', 'type' => 'string', 'required' => false, 'example' => 'DAILY', 'title' => ''],
+ ],
+ [
+ '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, 'example' => '2025-04-01', 'title' => ''],
],
],
'responses' => [
@@ -3852,34 +5157,92 @@
'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' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '2849EE73-AFFA-5AFD-9575-12FA886451DA', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned per page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'Item' => [
+ 'description' => 'A list of billing information for the service instance.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The billing information for the service instance.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SplitBillingCycle' => ['description' => 'The month of the split bill.', 'type' => 'string', 'example' => '2021-07', 'title' => ''],
+ 'BillingDate' => ['description' => 'The billing date in YYYY-MM-DD format. This parameter is returned only when **Granularity** is set to DAILY.', 'type' => 'string', 'example' => '2024-10-23', 'title' => ''],
+ 'SubscriptionType' => ['description' => 'The billing method. Valid values:'."\n"
+ ."\n"
+ .'- Subscription: subscription.'."\n"
+ ."\n"
+ .'- PayAsYouGo: pay-as-you-go.', 'type' => 'string', 'example' => 'Subscription', 'title' => ''],
+ 'ProductName' => ['description' => 'The name of the product to which the resource belongs.', 'type' => 'string', 'example' => 'NLB', 'title' => ''],
+ 'BillingItemCode' => ['description' => 'The code of the billable item.', 'type' => 'string', 'example' => 'disk'."\n", 'title' => ''],
+ 'ProductCode' => ['description' => 'The product code.', 'type' => 'string', 'example' => 'sls', 'title' => ''],
+ 'ProductDetail' => ['description' => 'The product details.', 'type' => 'string', 'example' => 'sls', 'title' => ''],
+ 'InstanceID' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'rm-bp1z88pb48487907u', 'title' => ''],
+ 'DeductedByResourcePackage' => ['description' => 'The amount deducted by a resource plan.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ 'ListPriceUnit' => ['description' => 'The unit of the list price.', 'type' => 'string', 'example' => 'CNY/GB', 'title' => ''],
+ 'Usage' => ['description' => 'The number of input tokens.', 'type' => 'string', 'example' => '{\'EmbeddingTokens\': 314}', 'title' => ''],
+ 'ListPrice' => ['description' => 'The list price.', 'type' => 'string', 'example' => '0.12', 'title' => ''],
+ 'UsageUnit' => ['description' => 'The unit of the usage.', 'type' => 'string', 'example' => 'GB'."\n", 'title' => ''],
+ 'PretaxGrossAmount' => ['description' => 'The pretax gross amount.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ 'InvoiceDiscount' => ['description' => 'The discount amount.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ 'PretaxAmount' => ['description' => 'The pretax amount.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ 'BillingCycle' => ['description' => 'The billing cycle of the computing resources for the instance. This parameter is supported only for pay-as-you-go instances. Valid values:'."\n"
+ ."\n"
+ .'- **Day**: daily billing.'."\n"
+ ."\n"
+ .'- **Month**: monthly billing.', 'type' => 'string', 'example' => '2025-02', 'title' => ''],
+ 'BillingItem' => ['description' => 'The billable item.', 'type' => 'string', 'example' => 'Bandwidth', 'title' => ''],
+ 'Currency' => ['description' => 'The currency. Valid values:'."\n"
+ ."\n"
+ .'- CNY: Chinese Yuan.'."\n"
+ ."\n"
+ .'- USD: US Dollar.'."\n"
+ ."\n"
+ .'- JPY: Japanese Yen.', 'type' => 'string', 'example' => 'RMB', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'asynchronous',
- 'callback' => 'ComputeNest::2021-06-01::GetServiceInstance',
- 'callbackInterval' => 2000,
- 'maxCallbackTimes' => 500,
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=\\",\\n \\"RequestId\\": \\"2849EE73-AFFA-5AFD-9575-12FA886451DA\\",\\n \\"TotalCount\\": 0,\\n \\"MaxResults\\": 10,\\n \\"Item\\": [\\n {\\n \\"SplitBillingCycle\\": \\"2021-07\\",\\n \\"BillingDate\\": \\"2024-10-23\\",\\n \\"SubscriptionType\\": \\"Subscription\\",\\n \\"ProductName\\": \\"NLB\\",\\n \\"BillingItemCode\\": \\"disk\\\\n\\",\\n \\"ProductCode\\": \\"sls\\",\\n \\"ProductDetail\\": \\"sls\\",\\n \\"InstanceID\\": \\"rm-bp1z88pb48487907u\\",\\n \\"DeductedByResourcePackage\\": \\"0\\",\\n \\"ListPriceUnit\\": \\"CNY/GB\\",\\n \\"Usage\\": \\"{\'EmbeddingTokens\': 314}\\",\\n \\"ListPrice\\": \\"0.12\\",\\n \\"UsageUnit\\": \\"GB\\\\n\\",\\n \\"PretaxGrossAmount\\": \\"0\\",\\n \\"InvoiceDiscount\\": \\"0\\",\\n \\"PretaxAmount\\": \\"0\\",\\n \\"BillingCycle\\": \\"2025-02\\",\\n \\"BillingItem\\": \\"Bandwidth\\",\\n \\"Currency\\": \\"RMB\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListServiceInstanceBill',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceBill'],
+ ],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteServiceInstancesResponse>\\n <RequestId>4DB0F536-B3BE-4F0D-BD29-E83FB56D550C</RequestId>\\n</DeleteServiceInstancesResponse>","errorExample":""}]',
- 'title' => 'DeleteServiceInstances',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceInstanceBill',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'manual',
],
'ListServiceInstanceLogs' => [
- 'summary' => 'Queries the deployment and upgrade logs of a service instance.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'Retrieves the deployment and upgrade logs of a service instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3892,158 +5255,122 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '55519',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
'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',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => 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. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
],
[
'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' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results. Set this to the NextToken value that was returned in the last response.', 'type' => 'string', 'required' => false, 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', 'title' => ''],
],
[
'name' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the service instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-70a3b15bb626435b****',
- ],
+ 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => true, 'example' => 'si-70a3b15bb626435b****', 'title' => ''],
],
[
'name' => 'LogSource',
'in' => 'query',
- 'schema' => [
- 'description' => 'The log source. When this field is empty, query logs with the source set to computeNest and ros. 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' => ['description' => 'The log source. Valid values:'."\n"
+ ."\n"
+ .'- computeNest (default): The deployment and upgrade logs of the service instance.'."\n"
+ ."\n"
+ .'- application: The logs generated by the application.'."\n"
+ ."\n"
+ .'- actionTrail: The ActionTrail audit logs.'."\n"
+ ."\n"
+ .'- ros: The ROS logs.'."\n"
+ ."\n"
+ .'- compliancePack: The compliance package logs.', 'type' => 'string', 'required' => false, 'example' => 'computeNest', 'title' => ''],
],
[
'name' => 'Logstore',
'in' => 'query',
- 'schema' => [
- 'description' => 'The Logstore. You must specify this parameter if you set LogSource to application.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'logabc',
- ],
+ 'schema' => ['description' => 'The Logstore. This parameter is required when you query application logs.', 'type' => 'string', 'required' => false, 'example' => 'logabc', 'title' => ''],
],
[
'name' => 'Filter',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The filters.'."\n",
+ 'description' => 'The filter.',
'type' => 'array',
'items' => [
- 'description' => 'The filter.'."\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' => 'A list of filter values. The value of N can be from 1 to 10.',
'type' => 'array',
- 'items' => [
- 'description' => 'The parameter value of the filter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '- StartTime: 2024-07-01T02:41:20Z'."\n"
- .'- EndTime: 2024-07-01T02:41:20Z'."\n"
- .'- EventName: DeleteInstance'."\n"
- .'- ResourceName: i-bp1dgfcx8vl4w9m7a1st'."\n"
- .'- ApplicationGroupName: groupA',
- ],
+ 'items' => ['description' => 'The value of the filter condition.', 'type' => 'string', 'required' => false, 'example' => '- StartTime:2024-07-01T02:41:20Z'."\n"
+ .'- EndTime:2024-07-01T02:41:20Z'."\n"
+ .'- EventName:DeleteInstance'."\n"
+ .'- ResourceName:i-bp1dgfcx8vl4w9m7a1st'."\n"
+ .'- ApplicationGroupName:groupA', 'title' => ''],
'required' => false,
'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
'Name' => [
- 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n"
+ 'description' => 'The filter name. You can query by one or more filter names. Valid values:'."\n"
+ ."\n"
+ .'- StartTime: Queries logs by the start time of the log event.'."\n"
+ ."\n"
+ .'- EndTime: Queries logs by the end time of the ActionTrail event.'."\n"
+ ."\n"
+ .'- EventName: Queries logs by the name of the ActionTrail event.'."\n"
+ ."\n"
+ .'- ResourceName: Queries logs by the ActionTrail resource name.'."\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",
+ .'- ApplicationGroupName: Queries logs by the application group name.',
+ 'enumValueTitles' => ['EndTime' => 'EndTime', 'ResourceName' => 'ResourceName', 'StartTime' => 'StartTime', 'EventName' => 'EventName'],
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'EndTime' => 'EndTime',
- 'ResourceName' => 'ResourceName',
- 'StartTime' => 'StartTime',
- 'EventName' => 'EventName',
- ],
'example' => '- StartTime'."\n"
.'- EndTime'."\n"
.'- EventName'."\n"
.'- ResourceName'."\n"
.'- ApplicationGroupName',
+ 'title' => '',
],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'SortOrder',
'in' => 'query',
'schema' => [
- 'description' => 'The order in which you want to sort the results. Valid values:'."\n"
+ 'description' => 'The sort order. Valid values:'."\n"
+ ."\n"
+ .'- Ascending: Ascending order.'."\n"
."\n"
- .'* Ascending'."\n"
- .'* (Default) Descending'."\n",
+ .'- Descending (default): Descending order.',
+ 'enumValueTitles' => ['Descending' => 'Descending', 'Ascending' => 'Ascending'],
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Descending' => 'Descending',
- 'Ascending' => 'Ascending',
- ],
- 'example' => 'Ascending: Ascending order'."\n"
- ."\n"
- .'Descending (default value): Descending order'."\n"
- ."\n",
+ 'example' => '- Ascending'."\n"
+ .'- Descending',
+ 'title' => '',
],
],
],
@@ -4052,119 +5379,99 @@
'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' => '51945B04-6AA6-410D-93BA-236E0248B104',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
+ 'NextToken' => ['description' => 'The token for the next query.', 'type' => 'string', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned per page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
'ServiceInstancesLogs' => [
- 'description' => 'The logs of the service instance.'."\n",
+ 'description' => 'The service instance logs.',
'type' => 'array',
'items' => [
- 'description' => 'The logs of the service instance.'."\n",
+ 'description' => 'The service instance logs.',
'type' => 'object',
'properties' => [
- 'Timestamp' => [
- 'description' => 'The timestamp of the service instance log.'."\n",
- 'type' => 'string',
- 'example' => '2021-05-21T00:00:00Z',
- ],
- 'Source' => [
- 'description' => 'The log source. 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 resource type.'."\n",
- 'type' => 'string',
- 'example' => 'ROS.Stack',
- ],
- 'ResourceId' => [
- 'description' => 'The resource ID.'."\n",
- 'type' => 'string',
- 'example' => 'si-5c6525c0589545c3****',
- ],
- 'Status' => [
- 'description' => 'The state of the service instance. Valid values:'."\n"
- ."\n"
- .'* Creating: The service instance is being created.'."\n"
- .'* Created: The service instance is created.'."\n"
- .'* Deploying: The service instance is being deployed.'."\n"
- .'* Deployed: The service instance is deployed.'."\n"
- .'* DeployedFailed: The service instance failed to be deployed.'."\n"
- .'* Expired: The service instance expired.'."\n"
- .'* ExtendSuccess: The service instance is renewed.'."\n"
- .'* Upgrading: The service instance is being updated.'."\n"
- .'* UpgradeSuccess: The service instance is updated.'."\n",
- 'type' => 'string',
- 'example' => 'Creating',
- ],
- 'CompliancePackType' => [
- 'description' => 'Compliance package risk types. For example, data security checks within a VPC, such as VpcDataRisk',
- 'type' => 'string',
- 'example' => 'VpcDataRisk'."\n"
- ."\n",
- ],
- 'ComplianceRuleName' => [
- 'description' => 'Specific risk rule names for the compliance package. For example, ECS instance migration out of VPC - ecs-move-out-vpc.',
- 'type' => 'string',
- 'example' => 'ecs-move-out-vpc',
- ],
+ 'Timestamp' => ['description' => 'The timestamp of the service instance log.', 'type' => 'string', 'example' => '2021-05-21T00:00:00Z', 'title' => ''],
+ 'Source' => ['description' => 'The source of the service instance log. Valid values:'."\n"
+ ."\n"
+ .'computeNest: The deployment and upgrade logs of the service instance.'."\n"
+ ."\n"
+ .'application: The logs generated by the application.'."\n"
+ ."\n"
+ .'actionTrail: The ActionTrail audit logs.'."\n"
+ ."\n"
+ .'ros: The ROS logs.'."\n"
+ ."\n"
+ .'compliancePack: The compliance package logs.', 'type' => 'string', 'example' => 'ros', 'title' => ''],
+ 'Content' => ['description' => 'The log content.', 'type' => 'string', 'example' => 'Start creating service instance', 'title' => ''],
+ 'LogType' => ['description' => 'The log type. Valid values:'."\n"
+ ."\n"
+ .'- serviceInstance: The logs generated by the service instance.'."\n"
+ ."\n"
+ .'- resource: The logs generated by the ROS resource.', 'type' => 'string', 'example' => 'serviceInstance', 'title' => ''],
+ 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ROS.Stack', 'title' => ''],
+ 'ResourceId' => ['description' => 'The associated ID.', 'type' => 'string', 'example' => 'si-5c6525c0589545c3****', 'title' => ''],
+ 'Status' => ['description' => 'The log status. 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 deployment failed.'."\n"
+ ."\n"
+ .'- Expired: The instance has expired.'."\n"
+ ."\n"
+ .'- ExtendSuccess: The renewal is successful.'."\n"
+ ."\n"
+ .'- Upgrading: The instance is being upgraded.'."\n"
+ ."\n"
+ .'- UpgradeSuccess: The upgrade is successful.', 'type' => 'string', 'example' => 'Creating', 'title' => ''],
+ 'CompliancePackType' => ['description' => 'The threat type of the compliance package. For example, VpcDataRisk indicates a data security check in a VPC.', 'type' => 'string', 'example' => 'VpcDataRisk'."\n"
+ ."\n", 'title' => ''],
+ 'ComplianceRuleName' => ['description' => 'The name of the specific threat rule in the compliance package. For example, ecs-move-out-vpc indicates the migration of an ECS instance out of a VPC.', 'type' => 'string', 'example' => 'ecs-move-out-vpc', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"MaxResults\\": 20,\\n \\"ServiceInstancesLogs\\": [\\n {\\n \\"Timestamp\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Source\\": \\"ros\\",\\n \\"Content\\": \\"Start creating service instance\\",\\n \\"LogType\\": \\"serviceInstance\\",\\n \\"ResourceType\\": \\"ROS.Stack\\",\\n \\"ResourceId\\": \\"si-5c6525c0589545c3****\\",\\n \\"Status\\": \\"Creating\\",\\n \\"CompliancePackType\\": \\"VpcDataRisk\\\\n\\\\n\\",\\n \\"ComplianceRuleName\\": \\"ecs-move-out-vpc\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListServiceInstanceLogsResponse>\\n <NextToken>AAAAAfu+XtuBE55iRLHEYYuojI4=</NextToken>\\n <RequestId>51945B04-6AA6-410D-93BA-236E0248B104</RequestId>\\n <MaxResults>20</MaxResults>\\n <ServiceInstancesLogs>\\n <Timestamp>2021-05-21T00:00:00Z</Timestamp>\\n <ServiceInstanceId>si-ed37319d5b754f74****</ServiceInstanceId>\\n <Source>ros</Source>\\n <Content>Start creating service instance</Content>\\n </ServiceInstancesLogs>\\n</ListServiceInstanceLogsResponse>","errorExample":""}]',
+ '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\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Source\\": \\"ros\\",\\n \\"Content\\": \\"Start creating service instance\\",\\n \\"LogType\\": \\"serviceInstance\\",\\n \\"ResourceType\\": \\"ROS.Stack\\",\\n \\"ResourceId\\": \\"si-5c6525c0589545c3****\\",\\n \\"Status\\": \\"Creating\\",\\n \\"CompliancePackType\\": \\"VpcDataRisk\\\\n\\\\n\\",\\n \\"ComplianceRuleName\\": \\"ecs-move-out-vpc\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'ListServiceInstanceLogs',
- ],
- 'ListServiceInstanceResources' => [
- 'summary' => 'Queries the resources contained in a service instance.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceLogs'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceInstanceLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceInstanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListServiceInstanceResources' => [
+ 'summary' => 'Queries the resources of a service instance based on parameters such as the service instance ID, Alibaba Cloud Resource Name (ARN), and region ID.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4177,98 +5484,62 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '89603',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest2G0818',
- ],
+ 'abilityTreeNodes' => ['FEATUREcomputenest2G0818'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'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 token that determines the start point of the next query. Valid values:'."\n"
- ."\n"
- .'* If **NextToken** is not returned, it indicates that no additional results exist.'."\n"
- .'* If **NextToken** was returned in the previous query, specify the value to obtain the next set of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results. Set this to the NextToken value from a previous API call.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc='],
],
[
'name' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the service instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-d8a0cc2a1ee04dce****',
- ],
+ 'schema' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-d8a0cc2a1ee04dce****'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The tag key and value.',
+ 'description' => 'The resource tags.',
'type' => 'array',
'items' => [
- 'description' => 'The tag key and value.',
+ 'description' => 'The resource tags.',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'The tag key.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key1',
- ],
- 'Value' => [
- 'description' => 'The tag value.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value1',
- ],
+ 'Key' => ['description' => 'The key of the resource tag.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'key1'],
+ 'Value' => ['description' => 'The value of the resource tag.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value1'],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
[
'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' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
'name' => 'ServiceInstanceResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service Instance resource type,include AliyunResource and ContainerResource.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AliyunResource',
- ],
+ 'schema' => ['description' => 'The resource type of the service instance. Valid values:'."\n"
+ ."\n"
+ .'- AliyunResource: an Alibaba Cloud resource.'."\n"
+ ."\n"
+ .'- ContainerResource: a container group (pod) resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AliyunResource'],
],
[
'name' => 'Filters',
@@ -4276,58 +5547,57 @@
'allowEmptyValue' => false,
'style' => 'repeatList',
'schema' => [
- 'description' => 'The filter conditions. Vaild values:'."\n"
+ 'description' => 'The filter conditions. Valid values:'."\n"
."\n"
- .'- ExpireTimeStart:'."\n"
- .'Query start time for Subscription resource expiration.'."\n"
- .'<notice>Notice Note: Only supports querying service instances on private deployments.><notice>'."\n"
+ .'- ExpireTimeStart: The start of the time range to query the expiration time of subscription resources.'."\n"
+ .' ><notice>This parameter applies only to service instances in private deployments.></notice>'."\n"
."\n"
- .'- ExpireTimeEnd:Query end time for Subscription resource expiration.'."\n"
- .'<notice>Notice Note: Only supports querying service instances on private deployments.><notice>'."\n"
+ .'- ExpireTimeEnd: The end of the time range to query the expiration time of subscription resources.'."\n"
+ .' ><notice>This parameter applies only to service instances in private deployments.></notice>'."\n"
."\n"
- .'- PayType:The billing method of the read-only instance. '."\n"
- .'<notice>Notice Note: Only supports querying service instances on private deployments.<notice> '."\n"
+ .'- PayType: The billing method.><notice> This parameter applies only to service instances in private deployments.></notice>'."\n"
+ .' Valid values:'."\n"
."\n"
- .' Valid values:'."\n"
+ .' - Subscription: subscription.'."\n"
."\n"
- .' - PayAsYouGo'."\n"
+ .' - PayAsYouGo: pay-as-you-go.'."\n"
."\n"
- .' - Subscription'."\n"
+ .'- ResourceARN: The Alibaba Cloud Resource Name (ARN) of the resource.'."\n"
."\n"
- .'- ResourceARN:The Alibaba Cloud Resource Name (ARN) of a resource.',
+ .'resource name (ARN).',
'type' => 'array',
'items' => [
'description' => 'The filter parameters.',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => 'Vaild values:'."\n"
- .'- ExpireTimeStart'."\n"
- .'- ExpireTimeEnd'."\n"
- .'- PayType'."\n"
- .'- ResourceARN',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ExpireTimeStart',
- ],
+ 'Name' => ['description' => 'The name of the filter. Valid values:'."\n"
+ ."\n"
+ .'- ExpireTimeStart'."\n"
+ ."\n"
+ .'- ExpireTimeEnd'."\n"
+ ."\n"
+ .'- PayType'."\n"
+ ."\n"
+ .'- ResourceARN', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ExpireTimeStart'],
'Values' => [
- 'description' => 'The value of the filter condition.',
+ 'description' => 'The filter condition values.',
'type' => 'array',
- 'items' => [
- 'description' => 'The value that you want to match in the filter.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2022-01-01T12:00:00'."\n"
- .'Z',
- ],
+ 'items' => ['description' => 'The filter value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2022-01-01T12:00:00'."\n"
+ .'Z'],
'required' => false,
'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -4336,117 +5606,197 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'A pagination token.',
- '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',
- ],
+ 'NextToken' => ['description' => 'The token to retrieve the next page of results.', '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 on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'],
'Resources' => [
- 'description' => 'The resources.'."\n",
+ 'description' => 'The list of resources.',
'type' => 'array',
'items' => [
- 'description' => 'The list of resources.'."\n",
+ 'description' => 'The details of a resource.',
'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 resource 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 state of the resource. Valid values:'."\n"
- ."\n"
- .'* running'."\n"
- .'* waiting'."\n"
- .'* terminated'."\n"
- ."\n"
- .'> This parameter is returned only for containers.'."\n",
- 'type' => 'string',
- 'example' => 'running',
- ],
+ 'ResourceARN' => ['description' => 'The 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 time when the resource expires.', '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"
+ .'- running: The resource is running.'."\n"
+ ."\n"
+ .'- waiting: The resource is pending.'."\n"
+ ."\n"
+ .'- terminated: The resource is terminated.'."\n"
+ ."\n"
+ .'> This parameter is returned only for container resources.', 'type' => 'string', 'title' => '', 'example' => 'running'],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","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\\": \\"running\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListServiceInstanceResourcesResponse>\\n <NextToken>AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=</NextToken>\\n <RequestId>B288A0BE-D927-4888-B0F7-B35EF84B6E6F</RequestId>\\n <MaxResults>20</MaxResults>\\n <Resources>\\n <ResourceARN>arn:acs:sag:cn-hangzhou:130920852836****:ccn/ccn-b3qf0q439sq2de****</ResourceARN>\\n </Resources>\\n</ListServiceInstanceResourcesResponse>","errorExample":""}]',
+ '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\\": \\"running\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'ListServiceInstanceResources',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceResources'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceInstanceResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
+ ],
+ ],
],
- 'ListServiceInstances' => [
- 'summary' => '{}',
- 'methods' => [
- 'post',
- 'get',
+ 'ListServiceInstanceUpgradeHistory' => [
+ 'summary' => 'You can call ListServiceInstanceUpgradeHistory to query the upgrade history of a service instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcomputenest7EAOIM'],
],
+ '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 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 to retrieve the next page of results. Do not specify this parameter for the first request. For subsequent requests, specify the token returned in the previous request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4='],
+ ],
+ [
+ 'name' => 'ServiceInstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the service instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-70a3b15bb62643xxxxxx'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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+XtuBE55iRLHEYYuojI41'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EE3EDF4E-B3B1-19B6-BD01-30D4D00F6E5D'],
+ 'MaxResults' => ['description' => 'The number of entries returned per page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'],
+ 'UpgradeHistory' => [
+ 'description' => 'The upgrade history records.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'An upgrade history record.',
+ 'type' => 'object',
+ 'properties' => [
+ 'UpgradeHistoryId' => ['description' => 'The ID of the upgrade history.', 'type' => 'string', 'title' => '', 'example' => 'exec-123'],
+ 'Type' => ['description' => 'The type of upgrade. Valid values:'."\n"
+ ."\n"
+ .'- Upgrade'."\n"
+ ."\n"
+ .'- Rollback', 'type' => 'string', 'title' => '', 'example' => 'Upgrade'],
+ '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 status of the upgrade. Valid values:'."\n"
+ ."\n"
+ .'- upgrading'."\n"
+ ."\n"
+ .'- UpgradeSuccessful'."\n"
+ ."\n"
+ .'- UpgradeFailed', 'type' => 'string', 'title' => '', 'example' => 'UpgradeFailed'],
+ 'Results' => ['description' => 'The upgrade results.', 'type' => 'string', 'title' => '', 'example' => '{\\"PreUpgradeExecutionId\\":\\"exec-123\\"}'],
+ 'StartTime' => ['description' => 'The time when the upgrade started.', 'type' => 'string', 'title' => '', 'example' => '2022-04-26T08:09:51Z'],
+ 'EndTime' => ['description' => 'The time when the upgrade ended.', 'type' => 'string', 'title' => '', 'example' => '2022-04-26T09:09:51Z'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI41\\",\\n \\"RequestId\\": \\"EE3EDF4E-B3B1-19B6-BD01-30D4D00F6E5D\\",\\n \\"MaxResults\\": 20,\\n \\"UpgradeHistory\\": [\\n {\\n \\"UpgradeHistoryId\\": \\"exec-123\\",\\n \\"Type\\": \\"Upgrade\\",\\n \\"FromVersion\\": \\"1\\",\\n \\"ToVersion\\": \\"3\\",\\n \\"Status\\": \\"UpgradeFailed\\",\\n \\"Results\\": \\"{\\\\\\\\\\\\\\"PreUpgradeExecutionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"exec-123\\\\\\\\\\\\\\"}\\",\\n \\"StartTime\\": \\"2022-04-26T08:09:51Z\\",\\n \\"EndTime\\": \\"2022-04-26T09:09:51Z\\"\\n }\\n ],\\n \\"TotalCount\\": 2\\n}","type":"json"}]',
+ 'title' => 'ListServiceInstanceUpgradeHistory',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceUpgradeHistory'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceInstanceUpgradeHistory',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListServiceInstances' => [
+ 'summary' => 'Queries service instances for your account in a specified region.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4459,87 +5809,85 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '36941',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
'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, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries 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' => '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.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=',
- ],
+ '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 filter.'."\n",
+ 'description' => 'The filter.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The filter.',
'type' => 'object',
'properties' => [
'Value' => [
- 'description' => 'The parameter values of the filter.',
+ 'description' => 'The 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' => 'value1',
- ],
+ 'items' => ['description' => 'The 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 parameter name of the filter. You can specify one or more parameter names to query services. Valid values:'."\n"
- ."\n"
- .'- Name:Query by service name.'."\n"
- .'- ServiceInstanceName:Query by service instance name.'."\n"
- .'- ServiceInstanceId:Query by service instance ID.'."\n"
- .'- ServiceId:Query by service ID.'."\n"
- .'- Version:Query by service version.'."\n"
- .'- Status:Query by service status.'."\n"
- .'- DeployType: Query by service deployType.'."\n"
- .'- ServiceType:Query by service deployType.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ServiceInstanceId',
- ],
+ 'Name' => ['description' => 'The name of the filter. You can specify one or more filter names to query resources. Valid values:'."\n"
+ ."\n"
+ .'- Name: The name of the service. To perform a fuzzy search, enter the value in the \\*xxx\\* format. For example, if the service name is My Service, you can enter \\*My\\* or \\*Service\\* for a fuzzy search.'."\n"
+ ."\n"
+ .'- ServiceInstanceName: The name of the service instance. A fuzzy query is performed if you enter one service instance name. A term query is performed if you enter multiple service instance names.'."\n"
+ ."\n"
+ .'- ServiceInstanceId: The service instance ID.'."\n"
+ ."\n"
+ .'- ServiceId: The service ID.'."\n"
+ ."\n"
+ .'- Version: The service version.'."\n"
+ ."\n"
+ .'- Status: The instance status.'."\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 under a private service.'."\n"
+ ."\n"
+ .'- OperationServiceInstanceId: The ID of the service instance under a pure managed service.'."\n"
+ ."\n"
+ .'- EnableInstanceOps: Indicates whether the Alibaba Cloud Managed Services feature is enabled for the service instance.', 'type' => 'string', 'required' => false, 'example' => 'ServiceInstanceId', 'title' => ''],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
],
],
[
@@ -4547,40 +5895,29 @@
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The tag key and value.',
+ 'description' => 'The custom tags.',
'type' => 'array',
'items' => [
- 'description' => 'The tags.'."\n",
+ 'description' => 'The custom tags.',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'The tag key.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key1',
- ],
- 'Value' => [
- 'description' => 'The tag value.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value1',
- ],
+ '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' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bp67acfmxazb4p****',
- ],
+ 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''],
],
],
'responses' => [
@@ -4588,572 +5925,296 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'A pagination token.',
- '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.',
- 'type' => 'integer',
- 'format' => 'int64',
- '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',
- ],
+ 'NextToken' => ['description' => 'The token for 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 results.', 'type' => 'integer', 'format' => 'int64', '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 service instances.'."\n",
+ 'description' => 'The information about the service instances.',
'type' => 'array',
'items' => [
- 'description' => 'The information about the service instance.'."\n",
+ 'description' => 'The information about the service instances.',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => 'The name of the service instance.'."\n",
- 'type' => 'string',
- 'example' => 'TestName',
- ],
- 'Status' => [
- 'description' => 'The 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',
- ],
- 'Outputs' => [
- 'description' => 'The information returned after the service instance is created.'."\n",
- 'type' => 'string',
- 'example' => '{"managementUrl": "http://xx.xx"}',
- ],
- 'UpdateTime' => [
- 'description' => 'The time when the service instance was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-05-20T00:00:00Z',
- ],
- 'Parameters' => [
- 'description' => 'The parameters of the service instance.'."\n",
- 'type' => 'string',
- 'example' => '{"param":"value"}',
- ],
- 'ServiceInstanceId' => [
- 'description' => 'The service instance ID.'."\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',
- ],
- 'StatusDetail' => [
- 'description' => 'The description of the deployment of the service instance.'."\n",
- 'type' => 'string',
- 'example' => 'deploy successfully',
- ],
- 'Progress' => [
- 'description' => 'The deployment progress of the service instance, in percentage.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '90',
- ],
- 'Resources' => [
- 'description' => 'The resources.'."\n",
- 'type' => 'string',
- 'example' => '[{"StackId": "stack-xxx"}]',
- ],
- 'TemplateName' => [
- 'description' => 'The template name.'."\n",
- 'type' => 'string',
- 'example' => 'Single ECS ',
- ],
- 'OperatedServiceInstanceId' => [
- 'description' => 'The ID of the managed service instance.'."\n",
- 'type' => 'string',
- 'example' => 'si-d6ab3a63ccbb4b17****',
- ],
+ 'Name' => ['description' => 'The name of the service instance.', 'type' => 'string', 'example' => 'TestName', 'title' => ''],
+ 'Status' => ['description' => 'The status of the service instance. Possible 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' => ''],
+ 'Outputs' => ['description' => 'The output information of the service instance.', 'type' => 'string', 'example' => '{"managementUrl": "http://xx.xx"}', 'title' => ''],
+ 'UpdateTime' => ['description' => 'The update time.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z', 'title' => ''],
+ 'Parameters' => ['description' => 'The parameter information of the service instance.', 'type' => 'string', 'example' => '{"param":"value"}', 'title' => ''],
+ 'ServiceInstanceId' => ['description' => 'The service instance ID.', 'type' => 'string', 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2021-05-20T00:00:00Z', 'title' => ''],
+ 'StatusDetail' => ['description' => 'The description of the deployment information of the service instance.', 'type' => 'string', 'example' => 'deploy successfully', 'title' => ''],
+ 'Progress' => ['description' => 'The deployment progress of the service instance. Unit: %.', 'type' => 'integer', 'format' => 'int64', 'example' => '90', 'title' => ''],
+ 'Resources' => ['description' => 'The list of resources.', 'type' => 'string', 'example' => '[{"StackId": "stack-xxx"}]', 'title' => ''],
+ 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => 'Template 1', 'title' => ''],
+ 'OperatedServiceInstanceId' => ['description' => 'The ID of the service instance that is managed by Alibaba Cloud.', 'type' => 'string', 'example' => 'si-d6ab3a63ccbb4b17****', 'title' => ''],
'Service' => [
- 'description' => 'The services.'."\n",
+ 'description' => 'The service.',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => 'The service state.'."\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 Alibaba Cloud Container Service for Kubernetes (ACK).'."\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",
- '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",
- 'type' => 'string',
- 'example' => 'private',
- ],
- 'SupplierName' => [
- 'description' => 'The name of the service provider.'."\n",
- 'type' => 'string',
- 'example' => 'Alibaba Cloud',
- ],
+ 'Status' => ['description' => 'The service status.', 'type' => 'string', 'example' => 'Online', 'title' => ''],
+ 'PublishTime' => ['description' => 'The publishing time.', '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. Possible 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 calling 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 service provider\'s URL.', 'type' => 'string', 'example' => 'http://example.com', 'title' => ''],
+ 'ServiceType' => ['description' => 'The service type. Possible 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' => ''],
+ 'SupplierName' => ['description' => 'The name of the service provider.', 'type' => 'string', 'example' => 'Company A Ltd.', '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 name of the service.'."\n",
- 'type' => 'string',
- 'example' => 'wordpress',
- ],
- 'ShortDescription' => [
- 'description' => 'The description of the service.'."\n",
- 'type' => 'string',
- 'example' => 'WordPress is a free and open-source website content management system (CMS).',
- ],
+ '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' => 'Database B', 'title' => ''],
+ 'ShortDescription' => ['description' => 'The service overview.', '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' => '1.1.0',
- ],
+ 'VersionName' => ['description' => 'The custom version name defined by the service provider.', 'type' => 'string', 'example' => 'Version A', 'title' => ''],
'Commodity' => [
- 'description' => 'The commodity details.'."\n",
+ 'description' => 'The commodity specifications.',
'type' => 'object',
'properties' => [
- '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",
- ],
- '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 metadata of the Software as a Service (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' => ''],
+ 'Type' => ['description' => 'The type. Possible values:'."\n"
+ ."\n"
+ .'- Marketplace: Alibaba Cloud Marketplace.'."\n"
+ ."\n"
+ .'- Css: Lingxiao.'."\n"
+ ."\n"
+ .'- SaasBoost: SaaS Boost.', 'type' => 'string', 'example' => 'Marketplace', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
- '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',
- ],
- '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',
- ],
+ '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' => ''],
+ 'EnableInstanceOps' => ['description' => 'Indicates whether the service instance has the Alibaba Cloud Managed Services feature. Possible values:'."\n"
+ ."\n"
+ .'- true: The service instance has the Alibaba Cloud Managed Services feature.'."\n"
+ ."\n"
+ .'- false: The service instance does not have the Alibaba Cloud Managed Services feature.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'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' => '',
],
- '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. 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',
- ],
- 'MarketInstanceId' => [
- 'description' => 'The ID of the Alibaba Cloud Marketplace instance.'."\n",
- 'type' => 'string',
- 'example' => '5827****',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'example' => 'rg-aekz6scpcxxxxxx',
- ],
- 'BizStatus' => [
- 'description' => 'The business state of the service instance. Valid values:'."\n"
- ."\n"
- .'* Normal'."\n"
- .'* Renewing'."\n"
- .'* RenewFailed'."\n"
- .'* Expired'."\n",
- 'type' => 'string',
- 'example' => 'Normal',
- ],
- 'OrderId' => [
- 'description' => 'The order ID.'."\n",
- 'type' => 'string',
- 'example' => '2306175xxxxxxxx',
- ],
- 'SupportTrialToPrivate' => [
- 'description' => 'Is it supported to convert from trial to formal',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PolicyNames' => [
- 'type' => 'string',
- ],
+ 'Source' => ['description' => 'The source from which the service instance was created.', 'type' => 'string', 'example' => 'Supplier', 'title' => ''],
+ 'EndTime' => ['description' => 'The expiration time of the service instance.', 'type' => 'string', 'example' => '2022-01-01T12:00:00', 'title' => ''],
+ 'ServiceType' => ['description' => 'The service type. Possible 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.'."\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 purchased permanently.'."\n"
+ ."\n"
+ .'- Subscription: The service is a subscription instance from Alibaba Cloud Marketplace.'."\n"
+ ."\n"
+ .'- PayAsYouGo: The service is a pay-as-you-go instance from Alibaba Cloud Marketplace.'."\n"
+ ."\n"
+ .'- CustomFixTime: The service has a custom fixed duration.', 'type' => 'string', 'example' => 'Subscription', 'title' => ''],
+ 'MarketInstanceId' => ['description' => 'The ID of the Alibaba Cloud Marketplace instance.', 'type' => 'string', 'example' => '5827****', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aekz6scpcxxxxxx', 'title' => ''],
+ 'BizStatus' => ['description' => 'The business status of the service instance. Possible values:'."\n"
+ ."\n"
+ .'- Normal: The service instance is running as expected.'."\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' => ''],
+ 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '2306175xxxxxxxx', 'title' => ''],
+ 'SupportTrialToPrivate' => ['description' => 'Indicates whether the trial instance can be converted to a regular instance.', 'type' => 'boolean', 'title' => '', 'example' => ''],
+ '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' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"E50287CB-AABF-4877-92C0-289B339A1546\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 20,\\n \\"ServiceInstances\\": [\\n {\\n \\"Name\\": \\"TestName\\",\\n \\"Status\\": \\"Deployed\\",\\n \\"Outputs\\": \\"{\\\\\\"managementUrl\\\\\\": \\\\\\"http://xx.xx\\\\\\"}\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"Parameters\\": \\"{\\\\\\"param\\\\\\":\\\\\\"value\\\\\\"}\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"Progress\\": 90,\\n \\"Resources\\": \\"[{\\\\\\"StackId\\\\\\": \\\\\\"stack-xxx\\\\\\"}]\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"OperatedServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\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 \\"Commodity\\": {\\n \\"SaasBoostMetadata\\": \\"{\\\\n //开启/关闭SaaS Boost绑定\\\\n \\\\\\"Enabled\\\\\\":true/false,默认为false\\\\n //公网交互地址\\\\n \\\\\\"PublicAccessUrl\\\\\\":\\\\\\"https://example.com\\\\\\"\\\\n}\\",\\n \\"Type\\": \\"Marketplace\\"\\n }\\n },\\n \\"OperationStartTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"OperationEndTime\\": \\"2022-01-28T06: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 \\"MarketInstanceId\\": \\"5827****\\",\\n \\"ResourceGroupId\\": \\"rg-aekz6scpcxxxxxx\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"OrderId\\": \\"2306175xxxxxxxx\\",\\n \\"SupportTrialToPrivate\\": true,\\n \\"PolicyNames\\": \\"\\",\\n \\"GrantedPermission\\": {\\n \\"OperationEndTime\\": \\"\\",\\n \\"PolicyNames\\": \\"\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListServiceInstancesResponse>\\n <NextToken>AAAAAfu+XtuBE55iRLHEYYuojI4=</NextToken>\\n <RequestId>E50287CB-AABF-4877-92C0-289B339A1546</RequestId>\\n <TotalCount>100</TotalCount>\\n <MaxResults>20</MaxResults>\\n <ServiceInstances>\\n <Status>Deployed</Status>\\n <Outputs>{\\"managementUrl\\": \\"http://xx.xx\\"}</Outputs>\\n <UpdateTime>2021-05-20T00:00:00Z</UpdateTime>\\n <Parameters>{\\"param\\":\\"value\\"}</Parameters>\\n <ServiceInstanceId>si-d6ab3a63ccbb4b17****</ServiceInstanceId>\\n <CreateTime>2021-05-20T00:00:00Z</CreateTime>\\n <StatusDetail>deploy successfully</StatusDetail>\\n <Progress>90</Progress>\\n <Resources>[{\\"StackId\\": \\"stack-xxx\\"}]</Resources>\\n <TemplateName>模板1</TemplateName>\\n <OperatedServiceInstanceId>si-d6ab3a63ccbb4b17****</OperatedServiceInstanceId>\\n <Service>\\n <Status>Online</Status>\\n <PublishTime>2021-05-21T00:00:00Z</PublishTime>\\n <Version>1.0</Version>\\n <DeployType>ros</DeployType>\\n <ServiceId>service-0e6fca6a51a54420****</ServiceId>\\n <SupplierUrl>http://example.com</SupplierUrl>\\n <ServiceType>private</ServiceType>\\n <SupplierName>A有限公司</SupplierName>\\n <ServiceInfos>\\n <Locale>zh-CN</Locale>\\n <Image>https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png</Image>\\n <Name>B数据库</Name>\\n <ShortDescription>B是A公司自主设计并研发的开源分布式的关系型数据库</ShortDescription>\\n </ServiceInfos>\\n </Service>\\n <OperationStartTime>2021-12-29T06:48:56Z</OperationStartTime>\\n <OperationEndTime>2022-01-28T06:48:56Z</OperationEndTime>\\n <EnableInstanceOps>true</EnableInstanceOps>\\n </ServiceInstances>\\n</ListServiceInstancesResponse>","errorExample":""}]',
+ '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 \\"Name\\": \\"TestName\\",\\n \\"Status\\": \\"Deployed\\",\\n \\"Outputs\\": \\"{\\\\\\"managementUrl\\\\\\": \\\\\\"http://xx.xx\\\\\\"}\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"Parameters\\": \\"{\\\\\\"param\\\\\\":\\\\\\"value\\\\\\"}\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"Progress\\": 90,\\n \\"Resources\\": \\"[{\\\\\\"StackId\\\\\\": \\\\\\"stack-xxx\\\\\\"}]\\",\\n \\"TemplateName\\": \\"Template 1\\",\\n \\"OperatedServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\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 \\"Commodity\\": {\\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 \\"Type\\": \\"Marketplace\\"\\n }\\n },\\n \\"OperationStartTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"OperationEndTime\\": \\"2022-01-28T06: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 \\"MarketInstanceId\\": \\"5827****\\",\\n \\"ResourceGroupId\\": \\"rg-aekz6scpcxxxxxx\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"OrderId\\": \\"2306175xxxxxxxx\\",\\n \\"SupportTrialToPrivate\\": false,\\n \\"PolicyNames\\": \\"\\",\\n \\"GrantedPermission\\": {\\n \\"OperationEndTime\\": \\"\\",\\n \\"PolicyNames\\": \\"\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
'title' => 'ListServiceInstances',
- ],
- 'StartServiceInstance' => [
- 'summary' => 'Starts a service instance that is in the Stopped or StartFailed state.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '213207',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstances'],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
+ 'ramActions' => [
[
- '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 and cannot exceed 64 characters in length.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-42665544****',
- ],
- ],
- [
- '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-d6ab3a63ccbb4b17****',
- ],
- ],
- ],
- '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' => '464C8CB6-A548-5206-B83C-D32A8E43EC21',
- ],
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/*'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"464C8CB6-A548-5206-B83C-D32A8E43EC21\\"\\n}","type":"json"}]',
- 'title' => 'StartServiceInstance',
+ 'translator' => 'manual',
],
- 'StopServiceInstance' => [
- 'summary' => 'Stops a service instance that is in the Deployed or StopFailed state.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListServiceUsages' => [
+ 'summary' => 'Queries your service usages.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213173',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '137236',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- '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.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-42665544****',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
],
[
- 'name' => 'RegionId',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region where the service instance resides.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results. This value is the NextToken value returned from the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', 'title' => ''],
],
[
- 'name' => 'ServiceInstanceId',
+ 'name' => 'Filter',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The ID of the service instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-b58c874912fc4294****',
- ],
- ],
- ],
- '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' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C',
+ 'description' => 'The filter.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => 'The name of the filter. 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 name of the supplier.', 'type' => 'string', 'required' => false, 'example' => 'ServiceId', 'title' => ''],
+ 'Value' => [
+ 'description' => 'A list of filter values.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The filter values. You can specify up to 10 values.', 'type' => 'string', 'required' => false, 'example' => '5', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
+ ],
],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]',
- 'title' => 'StopServiceInstance',
- ],
- 'RestartServiceInstance' => [
- 'summary' => 'Restarts a service instance that is in the Deployed state.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '213219',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestVIKWP9',
- ],
- 'tenantRelevance' => 'tenant',
- ],
- '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 and cannot exceed 64 characters in length.',
- 'type' => 'string',
'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-42665544****',
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
],
],
[
'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-d6ab3a63ccbb4b17****',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -5163,174 +6224,206 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '18AD0960-A9FE-1AC8-ADF8-22131Fxxxxxx'],
+ 'NextToken' => ['title' => 'NextToken', 'description' => 'A pagination token. It is returned when the results are not complete. To retrieve the next page of results, include this token in the NextToken parameter of the next request.', 'type' => 'string', 'example' => 'AAAAAYChudnQUoBH+mGWFpb6oP0='],
+ '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' => ''],
+ '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 name of the supplier.', 'type' => 'string', 'example' => 'Acceptance test', 'title' => ''],
+ 'Status' => ['description' => 'The service status. Valid values:'."\n"
+ ."\n"
+ .'- Submitted: The request is submitted and 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 of 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 user information.',
+ 'type' => 'object',
+ 'additionalProperties' => ['description' => 'The user information.', 'type' => 'string', 'example' => '{'."\n"
+ .' "ServiceId": "xxx",'."\n"
+ .' "EmailAddress": "邮箱",'."\n"
+ .' "Company": "公司",'."\n"
+ .' "Country": "国家",'."\n"
+ .' "Telephone": "申请人的电话号码",'."\n"
+ .' "Name": "申请人名字",'."\n"
+ .' "Title": "申请人的职位",'."\n"
+ .' "Industry": "行业"'."\n"
+ .'}', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\"\\n}","type":"json"}]',
- 'title' => 'RestartServiceInstance',
- ],
- 'UpdateServiceInstanceSpec' => [
- 'summary' => 'Changes the configurations of a service instance.',
- 'methods' => [
- 'post',
- 'get',
+ '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\\": \\"{\\\\n \\\\\\"ServiceId\\\\\\": \\\\\\"xxx\\\\\\",\\\\n \\\\\\"EmailAddress\\\\\\": \\\\\\"邮箱\\\\\\",\\\\n \\\\\\"Company\\\\\\": \\\\\\"公司\\\\\\",\\\\n \\\\\\"Country\\\\\\": \\\\\\"国家\\\\\\",\\\\n \\\\\\"Telephone\\\\\\": \\\\\\"申请人的电话号码\\\\\\",\\\\n \\\\\\"Name\\\\\\": \\\\\\"申请人名字\\\\\\",\\\\n \\\\\\"Title\\\\\\": \\\\\\"申请人的职位\\\\\\",\\\\n \\\\\\"Industry\\\\\\": \\\\\\"行业\\\\\\"\\\\n}\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListServiceUsages',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceUsages'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceUsages',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'translator' => 'manual',
+ ],
+ 'ListServices' => [
+ 'summary' => 'Queries information about your services.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '161941',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '118470',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'ServiceInstanceId',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the service instance.'."\n"
- ."\n"
- .'You can call the [ListServiceInstances](~~396200~~) operation to obtain the ID of the service instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-d6ab3a63ccbb4b17****',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'PredefinedParametersName',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the configuration plan.'."\n"
- ."\n"
- .'This parameter is available if the service provider set **Method** to **Change Plan** when configuring configuration change operations.'."\n"
- ."\n"
- .'To obtain the configuration plan names of the service, you can call the [GetService](~~2340828~~) operation. In the response, check the value of **PredefinedParameters** in the value of **DeployMetadata**.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'package One',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
],
[
- 'name' => 'Parameters',
+ 'name' => 'NextToken',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The configuration parameter.'."\n"
- ."\n"
- .'This parameter is available if the service provider set **Method** to **Change Parameter** when configuring configuration change operations.'."\n"
- ."\n"
- .'> '."\n"
- ."\n"
- .'* To obtain the parameters of the service that support configuration change, you can call the [GetService](~~2340828~~) operation. In the response, check the value of **ModifyParametersConfig** in the value of **OperationMetadata**.'."\n"
- ."\n"
- .'* You can also view the parameters of the service that support configuration change in the **configuration change** dialog box in the [Compute Nest console](https://computenest.console.aliyun.com/service/instance/cn-hangzhou).'."\n"
- ."\n"
- .'For example, if the service supports Elastic Compute Service (ECS) instance type upgrade, you must specify an instance type that has higher specifications than the current one.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{'."\n"
- .' "InstanceType": "ecs.g8ise.2xlarge"'."\n"
- .'}',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results. Set this to the NextToken value returned from the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', 'title' => ''],
],
[
- 'name' => 'DryRun',
+ 'name' => 'Filter',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'Specifies whether to perform only a dry run, without performing the actual request. A dry run includes checks on the permissions and instance state.'."\n"
- ."\n"
- .'Valid values:'."\n"
- ."\n"
- .'* true: performs a dry run but does not create a service instance.'."\n"
- .'* false: performs a dry run and creates a service instance if the request passes the dry run.'."\n",
- 'type' => 'boolean',
+ 'description' => 'The filter.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'The filter values.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The filter values. The value of N can be from 1 to 10.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Name' => ['description' => 'The filter name. You can specify one or more filter names to query services. 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.', 'type' => 'string', 'required' => false, 'example' => 'Status', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'example' => 'true',
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'EnableUserPrometheus',
+ 'name' => 'InUsed',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to enable Prometheus monitoring on the user side.'."\n"
- ."\n"
- .'Valid values:'."\n"
- ."\n"
- .'true'."\n"
- ."\n"
- .'false'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Specifies whether the service is in use. Valid values:'."\n"
+ ."\n"
+ .'- false: The service is not in use.'."\n"
+ ."\n"
+ .'- true: The service is in use.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
- 'name' => 'OperationName',
+ 'name' => 'Tag',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The name of the configuration change operation.'."\n"
- ."\n"
- .'To obtain the names and content of the configuration change operations of the service, you can call the [GetService](~~2340828~~) operation. In the response, check the value of **ModifyParametersConfig** in the value of **OperationMetadata**.'."\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' => 'package modify'."\n",
+ 'maxItems' => 50,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'FuzzyKeyword',
'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-42665544****',
- ],
+ 'schema' => ['description' => 'The keyword for a fuzzy query.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''],
],
[
- 'name' => 'Commodity',
+ 'name' => 'ServiceAccessType',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => 'The information about the order placed in Alibaba Cloud Marketplace. You do not need to specify this parameter if the service is not published in Alibaba Cloud Marketplace or uses the pay-as-you-go billing method.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'AutoPay' => [
- 'description' => 'Specifies whether to enable automatic payment.'."\n"
- ."\n"
- .'Valid values:'."\n"
- ."\n"
- .'* **true (default)**: automatically completes the payment. You must make sure that your account balance is sufficient.'."\n"
- .'* **false**: does not automatically complete the payment. An unpaid order is generated. If your account balance is insufficient, you can set AutoPay to false. In this case, an unpaid order is generated. You can complete the payment in the Expenses and Costs console.[](https://rdsnext.console.aliyun.com/dashboard/cn-beijing)'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The service access type.', 'type' => 'string', 'required' => false, 'example' => 'All', 'title' => ''],
+ ],
+ [
+ 'name' => 'OrderByType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The sorting type for services.', 'type' => 'string', 'required' => false, 'example' => 'UpdateTime', 'title' => ''],
],
],
'responses' => [
@@ -5338,491 +6431,651 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA',
- ],
- 'OrderId' => [
- 'description' => 'The order ID.'."\n",
- 'type' => 'string',
- 'example' => '23396265896****',
+ 'NextToken' => ['description' => 'The token for the next query.', 'type' => 'string', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI41', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '3F976EF8-C10A-57DC-917C-BB7BEB508FFB', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of results.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned per page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', '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. You cannot modify the service.'."\n"
+ ."\n"
+ .'- Approved: The service is approved. You cannot modify the service, but you can publish it.'."\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' => ''],
+ 'PublishTime' => ['description' => 'The time when the service was published.', 'type' => 'string', 'example' => '2022-01-21T10:35:44Z', 'title' => ''],
+ 'Version' => ['description' => 'The service version.', 'type' => 'string', 'example' => '4', '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 SPI.', 'type' => 'string', 'example' => 'ros', 'title' => ''],
+ 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'service-6b5d632edd394dxxxxxx', 'title' => ''],
+ 'SupplierUrl' => ['description' => 'The service provider\'s URL.', '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 hosted 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 service provider name.', '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.tidb.oss.url', 'title' => ''],
+ 'Name' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'Database B', 'title' => ''],
+ 'ShortDescription' => ['description' => 'The service overview.', 'type' => 'string', 'example' => 'B is an open-source distributed relational database independently designed and developed by Company A.', 'title' => ''],
+ 'Softwares' => [
+ 'description' => 'The software information of the service.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The software information of the service.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => 'The software name.', 'type' => 'string', 'example' => 'wordpress', 'title' => ''],
+ 'Version' => ['description' => 'The software version.', 'type' => 'string', 'example' => '6.0.1', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CommodityCode' => ['description' => 'The commodity code of the service in Alibaba Cloud Marketplace.', 'type' => 'string', 'example' => 'cmjj00xxxx', 'title' => ''],
+ 'ServiceProductUrl' => ['description' => 'The URL of the product page.', 'type' => 'string', 'example' => 'http://example1.com', 'title' => ''],
+ 'Categories' => ['description' => 'The category of the data disk. Valid values:'."\n"
+ ."\n"
+ .'- cloud\\_efficiency: ultra disk.'."\n"
+ ."\n"
+ .'- cloud\\_ssd: standard SSD.'."\n"
+ ."\n"
+ .'- cloud\\_essd: ESSD.'."\n"
+ ."\n"
+ .'- cloud: basic disk.', 'type' => 'string', 'example' => 'cloud_ssd', 'title' => ''],
+ 'VersionName' => ['description' => 'The custom version name defined by the service provider.', 'type' => 'string', 'example' => 'v2.0.0', 'title' => ''],
+ 'DeployFrom' => ['description' => 'The deployment source of the service. Valid values:'."\n"
+ ."\n"
+ .'- NoWhere: The service has no deployment source.'."\n"
+ ."\n"
+ .'- Marketplace: The service is deployed from Alibaba Cloud Marketplace.'."\n"
+ ."\n"
+ .'- ComputeNest: The service is deployed from Compute Nest.', 'type' => 'string', 'example' => 'ComputeNest', 'title' => ''],
+ 'Score' => ['description' => 'The service score.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', '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. The maximum trial duration is 30 days.', 'type' => 'string', 'example' => '7', 'title' => ''],
+ 'TrialType' => ['description' => 'The trial type. 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. Valid values:'."\n"
+ ."\n"
+ .'- SingleTenant: single-tenant.'."\n"
+ ."\n"
+ .'- MultiTenant: multi-tenant.', 'type' => 'string', 'example' => 'SingleTenant', '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' => ''],
+ 'SupplierUid' => ['description' => 'The Alibaba Cloud account ID of the service provider.', 'type' => 'integer', 'format' => 'int64', 'example' => '1436322xxxxx', 'title' => ''],
+ 'Commodity' => [
+ 'description' => 'The commodity specifications.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeployPage' => ['description' => 'The deployment page.', 'type' => 'string', 'example' => 'Order: Order page'."\n"
+ .'Detail: Details page', 'title' => ''],
+ 'CommodityCode' => ['description' => 'The commodity specification code.', 'type' => 'string', 'example' => 'cmjj00****'."\n"
+ ."\n", 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'SupplierNameEng' => ['description' => 'The English name of the service provider.', 'type' => 'string', 'example' => 'Alibaba Cloud', 'title' => ''],
+ 'ServiceLocaleConfigs' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalValue' => ['description' => 'The raw data 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\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\",\\n \\"OrderId\\": \\"23396265896****\\"\\n}","type":"json"}]',
- 'title' => 'UpdateServiceInstanceSpec',
- 'description' => '### [](#)Prerequisites'."\n"
- ."\n"
- .'Configuration change is enabled and the related parameters are configured for the service by the service provider.'."\n",
- ],
- 'ListServiceInstanceUpgradeHistory' => [
- 'summary' => 'Queries the upgrade history of a service instance.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI41\\",\\n \\"RequestId\\": \\"3F976EF8-C10A-57DC-917C-BB7BEB508FFB\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 20,\\n \\"Services\\": [\\n {\\n \\"Status\\": \\"Online\\",\\n \\"PublishTime\\": \\"2022-01-21T10:35:44Z\\",\\n \\"Version\\": \\"4\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-6b5d632edd394dxxxxxx\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"Company A Ltd.\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"http://img.tidb.oss.url\\",\\n \\"Name\\": \\"Database B\\",\\n \\"ShortDescription\\": \\"B is an open-source distributed relational database independently designed and developed by Company A.\\",\\n \\"Softwares\\": [\\n {\\n \\"Name\\": \\"wordpress\\",\\n \\"Version\\": \\"6.0.1\\"\\n }\\n ]\\n }\\n ],\\n \\"CommodityCode\\": \\"cmjj00xxxx\\",\\n \\"ServiceProductUrl\\": \\"http://example1.com\\",\\n \\"Categories\\": \\"cloud_ssd\\",\\n \\"VersionName\\": \\"v2.0.0\\",\\n \\"DeployFrom\\": \\"ComputeNest\\",\\n \\"Score\\": 5,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"TrialDuration\\": \\"7\\",\\n \\"TrialType\\": \\"Trial\\",\\n \\"TenantType\\": \\"SingleTenant\\",\\n \\"VirtualInternetService\\": \\"false\\",\\n \\"SupplierUid\\": 0,\\n \\"Commodity\\": {\\n \\"DeployPage\\": \\"Order: Order page\\\\nDetail: Details page\\",\\n \\"CommodityCode\\": \\"cmjj00****\\\\n\\\\n\\"\\n },\\n \\"SupplierNameEng\\": \\"Alibaba Cloud\\",\\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' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServices'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServices',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'translator' => 'manual',
+ ],
+ 'ListSkillFiles' => [
+ 'summary' => 'Retrieves the list of skill files.',
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest7EAOIM',
- ],
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'SkillId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'Skill ID', 'type' => 'string', 'required' => true, 'example' => 's-xxxxx', 'title' => ''],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'Filter',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => 'The filter.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'The list of filter values. Valid values of N: 1 to 10.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The filter value.', 'type' => 'string', 'required' => false, 'example' => 'xxx', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Name' => ['description' => 'No supported filter names are available.', 'type' => 'string', 'required' => false, 'example' => 'xxx', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'example' => '20',
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
[
'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' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=',
- ],
+ 'schema' => ['description' => 'The pagination token for the next query.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAVz7BQqj2xtiNSC3d3RAD38=', 'title' => ''],
],
[
- 'name' => 'ServiceInstanceId',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the service instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-70a3b15bb62643xxxxxx',
- ],
+ 'schema' => ['description' => 'The number of entries per page in a paging query. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '200', 'default' => '10', 'required' => false, 'example' => '20', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
'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' => 'AAAAAfu+XtuBE55iRLHEYYuojI41',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'EE3EDF4E-B3B1-19B6-BD01-30D4D00F6E5D',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'UpgradeHistory' => [
- 'description' => 'The upgrade history.'."\n",
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2849EE73-AFFA-5AFD-9575-12FA886451DA'],
+ 'NextToken' => ['title' => '', 'description' => 'The pagination token for the next page.', 'type' => 'string', 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU='],
+ 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'TotalCount' => ['title' => '', 'description' => 'The actual number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SkillFiles' => [
+ 'title' => '',
+ 'description' => 'The list of skill files.',
'type' => 'array',
'items' => [
- 'description' => 'The upgrade history.'."\n",
'type' => 'object',
'properties' => [
- 'UpgradeHistoryId' => [
- 'description' => 'The ID of the upgrade record.'."\n",
- 'type' => 'string',
- 'example' => 'exec-123',
- ],
- 'Type' => [
- 'description' => 'The update type.'."\n",
- 'type' => 'string',
- 'example' => 'Upgrade',
- ],
- 'FromVersion' => [
- 'description' => 'The version before the upgrade.'."\n",
- 'type' => 'string',
- 'example' => '1',
- ],
- 'ToVersion' => [
- 'description' => 'The version after the upgrade.'."\n",
- 'type' => 'string',
- 'example' => '3',
- ],
- 'Status' => [
- 'description' => 'The state of the update. Valid values:'."\n"
- ."\n"
- .'* upgrading: The service instance is being upgraded.'."\n"
- .'* UpgradeSuccessful: The service instance is upgraded.'."\n"
- .'* UpgradeFailed: The service instance failed to be upgraded.'."\n",
- 'type' => 'string',
- 'example' => 'UpgradeFailed',
- ],
- 'Results' => [
- 'description' => 'The upgrade result.'."\n",
- 'type' => 'string',
- 'example' => '{\\"PreUpgradeExecutionId\\":\\"exec-123\\"}',
- ],
- 'StartTime' => [
- 'description' => 'The time when the update started.'."\n",
- 'type' => 'string',
- 'example' => '2022-04-26T08:09:51Z',
- ],
- 'EndTime' => [
- 'description' => 'The time when the update ended.'."\n",
- 'type' => 'string',
- 'example' => '2022-04-26T09:09:51Z',
- ],
+ 'FilePath' => ['title' => '', 'description' => 'The relative path of the internal file in the skill.', 'type' => 'string', 'example' => 'SKILL.md'],
+ 'SignedUrl' => ['title' => '', 'description' => 'The accessible OSS URL.', 'type' => 'string', 'example' => 'https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/SKILL.md'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
- ],
- 'TotalCount' => [
- 'description' => 'The total number of entries returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
+ 'example' => '',
],
],
- 'description' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI41\\",\\n \\"RequestId\\": \\"EE3EDF4E-B3B1-19B6-BD01-30D4D00F6E5D\\",\\n \\"MaxResults\\": 20,\\n \\"UpgradeHistory\\": [\\n {\\n \\"UpgradeHistoryId\\": \\"exec-123\\",\\n \\"Type\\": \\"Upgrade\\",\\n \\"FromVersion\\": \\"1\\",\\n \\"ToVersion\\": \\"3\\",\\n \\"Status\\": \\"UpgradeFailed\\",\\n \\"Results\\": \\"{\\\\\\\\\\\\\\"PreUpgradeExecutionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"exec-123\\\\\\\\\\\\\\"}\\",\\n \\"StartTime\\": \\"2022-04-26T08:09:51Z\\",\\n \\"EndTime\\": \\"2022-04-26T09:09:51Z\\"\\n }\\n ],\\n \\"TotalCount\\": 2\\n}","type":"json"}]',
- 'title' => 'ListServiceInstanceUpgradeHistory',
- ],
- 'RollbackServiceInstance' => [
- 'summary' => 'Rolls back an upgraded service instance to the previous version.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'Retrieve skill file list',
+ 'description' => '### Before you begin'."\n"
+ .'Make sure the service provider has enabled the specification change feature and completed the specification change parameter settings when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListSkillFiles',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2849EE73-AFFA-5AFD-9575-12FA886451DA\\",\\n \\"NextToken\\": \\"AAAAAWns8w4MmhzeptXVRG0PUEU=\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 1,\\n \\"SkillFiles\\": [\\n {\\n \\"FilePath\\": \\"SKILL.md\\",\\n \\"SignedUrl\\": \\"https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/SKILL.md\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListSkillSpaces' => [
+ 'summary' => 'Queries a list of SkillSpaces.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '144097',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'Filter',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
+ 'description' => 'The filter.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'The list of filter values. Valid values of N: 1 to 10.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The filter value.', 'type' => 'string', 'required' => false, 'example' => 'ss-xxxx', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Name' => ['description' => 'The filter name. You can specify one or more names for the query. Valid values:'."\n"
+ ."\n"
+ .'- SkillSpaceId: the SkillSpace ID. Exact match.'."\n"
+ ."\n"
+ .'- SkillSpaceName: the SkillSpace name.'."\n"
+ ."\n"
+ .'- MatchType: the match type that controls the matching behavior of SkillSpace. Valid values: exact, prefix, and fuzzy.', 'type' => 'string', 'required' => false, 'example' => 'SkillSpaceId', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ServiceInstanceId',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The service instance ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-d6ab3a63ccbb4bxxxxxx',
- ],
+ 'schema' => ['description' => 'The pagination token. Set this parameter to the value of NextToken that was returned in the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', 'title' => ''],
],
[
- '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' => '123e4567-e89b-12d3-a456-426655440000',
- ],
+ 'schema' => ['description' => 'The number of entries per page in a paging query. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '200', 'default' => '10', 'required' => false, 'example' => '100', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C',
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'],
+ 'NextToken' => ['title' => '', 'description' => 'The token for the next page.', 'type' => 'string', 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU='],
+ 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalCount' => ['title' => '', 'description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SkillSpaces' => [
+ 'title' => '',
+ 'description' => 'The list of SkillSpaces.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SkillSpaceId' => ['title' => '', 'description' => 'SkillSpace ID', 'type' => 'string', 'example' => 'ss-xxxxx'],
+ 'SkillSpaceName' => ['title' => '', 'description' => 'The name of the SkillSpace.', 'type' => 'string', 'example' => 'office-toolkit-skills'],
+ 'SkillSpaceDescription' => ['title' => '', 'description' => 'The description of the SkillSpace.', 'type' => 'string', 'example' => 'All-in-one office toolkit — generate reports, process data, manage files, and streamline workflows effortlessly.'],
+ 'CreateTime' => ['title' => '', 'description' => 'The time when the SkillSpace was created.', 'type' => 'string', 'example' => '2025-11-03T22:58:52Z'],
+ 'UpdateTime' => ['title' => '', 'description' => 'The time when the SkillSpace was last updated.', 'type' => 'string', 'example' => '2025-11-03T22:57:29Z'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
],
],
- 'description' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]',
- 'title' => 'RollbackServiceInstance',
- ],
- 'UpdateServiceInstanceAttributes' => [
- 'summary' => 'Updates the attributes of a service instance.',
- 'methods' => [
- 'get',
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
+ ],
+ 'title' => 'Query skillSpace list',
+ 'description' => '### Before you begin'."\n"
+ .'Make sure that the service provider has enabled the specification change feature and completed the specification change parameter settings when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListSkillSpaces',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"NextToken\\": \\"AAAAAWns8w4MmhzeptXVRG0PUEU=\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1,\\n \\"SkillSpaces\\": [\\n {\\n \\"SkillSpaceId\\": \\"ss-xxxxx\\",\\n \\"SkillSpaceName\\": \\"office-toolkit-skills\\",\\n \\"SkillSpaceDescription\\": \\"All-in-one office toolkit — generate reports, process data, manage files, and streamline workflows effortlessly.\\",\\n \\"CreateTime\\": \\"2025-11-03T22:58:52Z\\",\\n \\"UpdateTime\\": \\"2025-11-03T22:57:29Z\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListSkills' => [
+ 'summary' => 'Queries a list of skills.',
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '226389',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'Filter',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ 'description' => 'The filter.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'The list of filter values. Valid values of N: 1 to 10.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The filter value.', 'type' => 'string', 'required' => false, 'example' => 's-xxxxx', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Name' => ['description' => 'The filter name. You can specify one or more names for the query. Valid values:'."\n"
+ ."\n"
+ .'- SkillId: the skill ID. Exact match.'."\n"
+ ."\n"
+ .'- SkillSpaceId: the SkillSpace ID. Exact match.'."\n"
+ ."\n"
+ .'- SkillName: the skill name.'."\n"
+ ."\n"
+ .'- MatchType: the match type that controls how SkillName is matched. Valid values: exact, prefix, and fuzzy.'."\n"
+ ."\n"
+ .'- SkillType: the skill type. Valid values: official and custom.'."\n"
+ ."\n"
+ .'- Keyword: keyword match for the skill name or skill description. Fuzzy match.'."\n"
+ ."\n"
+ .'- SkillLabels: the skill labels. Fuzzy match.', 'type' => 'string', 'required' => false, 'example' => 'SkillId', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ServiceInstanceId',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the service instance.'."\n"
- ."\n"
- .'You can call the [ListServiceInstances](~~396200~~) operation to obtain the ID of the service instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-d6ab3a63ccbb4b17xxxx',
- ],
+ 'schema' => ['description' => 'NextToken', 'type' => 'string', 'required' => false, 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', 'title' => ''],
],
[
- 'name' => 'EnableOperation',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to authorize the service provider to perform O\\&M operations on the service instance.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'The maximum number of entries to return in this request.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '200', 'default' => '10', 'required' => false, 'example' => '20', 'title' => ''],
],
[
- 'name' => 'GrantedPermission',
+ 'name' => 'NeedDownloadUrl',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'OperationEndTime' => [
- 'type' => 'string',
- ],
- 'PolicyNames' => [
- 'type' => 'string',
- ],
- ],
- ],
+ 'schema' => ['description' => 'Specifies whether to include the download URL of the skill package.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'The response parameters.'."\n",
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA',
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'],
+ 'NextToken' => ['title' => '', 'description' => 'The token for the next page.', 'type' => 'string', 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU='],
+ 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalCount' => ['title' => '', 'description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Skills' => [
+ 'title' => '',
+ 'description' => 'The list of skills.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The skill details.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SkillId' => ['title' => '', 'description' => 'Skill ID', 'type' => 'string', 'example' => 's-xxxxx'],
+ 'SkillName' => ['title' => '', 'description' => 'The skill name.', 'type' => 'string', 'example' => 'skill-creator'],
+ 'SkillDisplayName' => ['title' => '', 'description' => 'The skill display name.', 'type' => 'string', 'example' => ''],
+ 'SkillDescription' => ['title' => '', 'description' => 'The skill description.', 'type' => 'string', 'example' => 'Create new skills, modify and improve existing skills, and measure skill performance. '],
+ 'Locales' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalValue' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ZhValue' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'EnValue' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'SkillLabels' => [
+ 'description' => 'The set of skill labels.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The skill label.', 'type' => 'string', 'example' => 'category:frontend-development', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'SkillSpaceId' => ['title' => '', 'description' => 'The ID of the SkillSpace to which the skill belongs.', 'type' => 'string', 'example' => 'ss-xxxxx'],
+ 'CreateTime' => ['title' => '', 'description' => 'The time when the skill was created.', 'type' => 'string', 'example' => '2026-05-10T02:22:18Z'],
+ 'UpdateTime' => ['title' => '', 'description' => 'The time when the skill was last updated.', 'type' => 'string', 'example' => '2025-11-03T22:58:52Z'],
+ 'DownloadUrl' => ['description' => 'The download URL of the skill package.', 'type' => 'string', 'example' => 'https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/skill-creator.zip', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\"\\n}","type":"json"}]',
- 'title' => 'UpdateServiceInstanceAttributes',
- ],
- 'ValidateServiceInstanceName' => [
- 'summary' => '校验服务实例名称',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '204410',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest2G0818',
- 'FEATUREcomputenest1Z49ZW',
- 'FEATUREcomputenest21Y74A',
- ],
- 'tenantRelevance' => 'tenant',
- ],
- 'parameters' => [
- [
- 'name' => 'ServiceId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '服务ID。',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'service-12xxxxxx',
- ],
- ],
- [
- 'name' => 'ServiceVersion',
- 'in' => 'query',
- 'schema' => [
- 'title' => '服务版本。',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'ServiceInstanceName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testName',
- ],
- ],
- [
- 'name' => 'IsTrial',
- 'in' => 'query',
- 'schema' => [
- 'title' => '是否试用',
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
- ],
- [
- 'name' => 'TemplateName',
- 'in' => 'query',
- 'schema' => [
- 'title' => '模板名称,服务支持多模板时需要指定模板名称。',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '模板一',
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'title' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符,且不能超过64个字符。',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-426655440000',
- ],
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求ID。',
- 'description' => '',
- 'type' => 'string',
- 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****',
- ],
+ 'title' => 'Query skill list',
+ 'description' => '### Before you begin'."\n"
+ .'Make sure that the service provider has enabled the specification change feature and completed the specification change parameter settings when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListSkills',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\"\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\",\\n \\"NextToken\\": \\"AAAAAWns8w4MmhzeptXVRG0PUEU=\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 100,\\n \\"Skills\\": [\\n {\\n \\"SkillId\\": \\"s-xxxxx\\",\\n \\"SkillName\\": \\"skill-creator\\",\\n \\"SkillDisplayName\\": \\"\\",\\n \\"SkillDescription\\": \\"Create new skills, modify and improve existing skills, and measure skill performance. \\",\\n \\"Locales\\": [\\n {\\n \\"OriginalValue\\": \\"\\",\\n \\"ZhValue\\": \\"\\",\\n \\"EnValue\\": \\"\\"\\n }\\n ],\\n \\"SkillLabels\\": [\\n \\"category:frontend-development\\"\\n ],\\n \\"SkillSpaceId\\": \\"ss-xxxxx\\",\\n \\"CreateTime\\": \\"2026-05-10T02:22:18Z\\",\\n \\"UpdateTime\\": \\"2025-11-03T22:58:52Z\\",\\n \\"DownloadUrl\\": \\"https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/skill-creator.zip\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListTagKeys' => [
- 'summary' => 'Queries the existing tag keys.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'This operation lists existing tag keys.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5835,47 +7088,32 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '117094',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ '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' => '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 to start the next query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The resource type. Valid values:'."\n"
- ."\n"
- .'* service: service'."\n"
- .'* serviceinstance: service instance'."\n"
- .'* artifact: artifact'."\n"
- .'* dataset: dataset',
- '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.'."\n"
+ ."\n"
+ .'- dataset: dataset.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service'],
],
],
'responses' => [
@@ -5883,251 +7121,113 @@
'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' => 'AAAAAZ9FmxgN6wKfeK/GOKRnnjU=',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '8872ACE6-0297-54A4-8AAD-3A8623EC6C5D',
- ],
+ 'NextToken' => ['description' => 'The token to start the next query.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAZ9FmxgN6wKfeK/GOKRnnjU='],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '8872ACE6-0297-54A4-8AAD-3A8623EC6C5D'],
'Keys' => [
- 'description' => 'Details of the tag keys.'."\n",
+ 'description' => 'A list of tag keys.',
'type' => 'array',
- 'items' => [
- 'description' => 'The key of the tag.'."\n",
- 'type' => 'string',
- 'example' => ' ['."\n"
- .' 0 : "lzqtest-huhehaote"'."\n"
- .' 1 : "lzqros"'."\n"
- .' 2 : "aaa"'."\n"
- .']',
- ],
+ 'items' => ['description' => 'A list of tag keys.', 'type' => 'string', 'title' => '', 'example' => ' ['."\n"
+ .' 0 : "lzqtest-huhehaote"'."\n"
+ .' 1 : "lzqros"'."\n"
+ .' 2 : "aaa"'."\n"
+ .']'],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAZ9FmxgN6wKfeK/GOKRnnjU=\\",\\n \\"RequestId\\": \\"8872ACE6-0297-54A4-8AAD-3A8623EC6C5D\\",\\n \\"Keys\\": [\\n \\" [\\\\n 0 : \\\\\\"lzqtest-huhehaote\\\\\\"\\\\n 1 : \\\\\\"lzqros\\\\\\"\\\\n 2 : \\\\\\"aaa\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListTagKeys',
- ],
- 'UnTagResources' => [
- 'summary' => 'Removes tags from resources.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagKeys'],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '117186',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
- 'tenantRelevance' => 'tenant',
- ],
- 'parameters' => [
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The resource type. Valid values:'."\n"
- ."\n"
- .'* service: service'."\n"
- .'* serviceinstance: service instance'."\n"
- .'* artifact: artifact'."\n"
- .'* dataset: dataset',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'service',
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The resource ID.'."\n"
- ."\n"
- .'You can remove tags from up to 50 resources at a time.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The resource ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-xxx',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:ListTagKeys',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
],
- 'required' => true,
- 'maxItems' => 50,
- 'minItems' => 1,
- ],
- ],
- [
- 'name' => 'All',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to remove all tags from the resource. Valid values:'."\n"
- ."\n"
- .'* true: All tags are removed from the resource.'."\n"
- .'* false (default): The specified tags are removed from the resource.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
],
],
- [
- 'name' => 'TagKey',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The tag keys.'."\n"
- ."\n"
- .'You can specify a maximum of 20 tag keys.'."\n"
- ."\n"
- .'> If you set the `All` parameter to `true`, you do not need to specify tag keys.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The keys of the tags that you want to remove.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Key1',
- ],
- 'required' => false,
- 'maxItems' => 20,
- 'minItems' => 1,
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA',
- ],
- ],
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\"\\n}","type":"json"}]',
- 'title' => 'UnTagResources',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAZ9FmxgN6wKfeK/GOKRnnjU=\\",\\n \\"RequestId\\": \\"8872ACE6-0297-54A4-8AAD-3A8623EC6C5D\\",\\n \\"Keys\\": [\\n \\" [\\\\n 0 : \\\\\\"lzqtest-huhehaote\\\\\\"\\\\n 1 : \\\\\\"lzqros\\\\\\"\\\\n 2 : \\\\\\"aaa\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]',
],
- 'TagResources' => [
- 'summary' => 'Creates and adds tags to a specified resource list.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListTagResources' => [
+ 'summary' => 'Queries a list of tagged resources.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '117177',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ 'abilityTreeCode' => '117188',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
'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 of the resource.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The token to retrieve the next page of results. Set this parameter to the \\`NextToken\\` value from the previous API call.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='],
+ ],
+ [
+ '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' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The tag key and value.',
+ 'description' => 'A list of tags.',
'type' => 'array',
'items' => [
- 'description' => 'The tag key and value.',
+ 'description' => 'A list of tags.',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'The tag key.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Key1',
- ],
- 'Value' => [
- 'description' => 'The tag value.',
- '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' => 20,
- ],
- ],
- [
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The resource type. Valid values:'."\n"
- ."\n"
- .'* service: service'."\n"
- .'* serviceinstance: service instance'."\n"
- .'* artifact: artifact'."\n"
- .'* dataset: dataset',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'service',
+ 'minItems' => 1,
+ 'title' => '',
+ 'example' => '',
],
],
[
@@ -6135,17 +7235,14 @@
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The resource IDs. You can specify up to 50 resource IDs.'."\n",
+ 'description' => 'The resource IDs. You can specify up to 50 resource IDs.',
'type' => 'array',
- 'items' => [
- 'description' => 'The resource ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-xxx',
- ],
- 'required' => true,
+ 'items' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'si-5dc794a7fd254e******'],
+ 'required' => false,
'maxItems' => 50,
'minItems' => 1,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -6154,31 +7251,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA',
+ 'NextToken' => ['description' => 'The token to retrieve the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAVz7BQqj2xtiNSC3d3RAD38='],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'],
+ 'TagResources' => [
+ 'description' => 'A collection of resources and their tags. This collection includes information such as resource IDs, resource types, and tag key-value pairs.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceType' => ['description' => 'The resource type. Valid values:'."\n"
+ ."\n"
+ .'- service: a service.'."\n"
+ ."\n"
+ .'- serviceinstance: a service instance.'."\n"
+ ."\n"
+ .'- artifact: an artifact.'."\n"
+ ."\n"
+ .'- dataset: a dataset.', 'type' => 'string', 'title' => '', 'example' => 'serviceinstance'],
+ 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'si-44b9923be2d048eb8f5f'],
+ 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'test'],
+ 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'major'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAVz7BQqj2xtiNSC3d3RAD38=\\",\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"serviceinstance\\",\\n \\"ResourceId\\": \\"si-44b9923be2d048eb8f5f\\",\\n \\"TagKey\\": \\"test\\",\\n \\"TagValue\\": \\"major\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListTagResources',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:ListTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\"\\n}","type":"json"}]',
- 'title' => 'TagResources',
],
'ListTagValues' => [
- 'summary' => 'Queries the tag values of a tag key.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'Lists the tag values for a specified tag key.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6191,59 +7325,37 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '117166',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ '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' => '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' => 'AAAAAfmTH5rcd4YFfob4P0uDAAc=',
- ],
+ 'schema' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AAAAAfmTH5rcd4YFfob4P0uDAAc='],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The resource type. Valid values:'."\n"
- ."\n"
- .'* service: service'."\n"
- .'* serviceinstance: service instance'."\n"
- .'* artifact: artifact'."\n"
- .'* dataset: dataset',
- '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: deployment.'."\n"
+ ."\n"
+ .'- dataset: dataset.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service'],
],
[
'name' => 'Key',
'in' => 'query',
- 'schema' => [
- 'description' => 'The tag key.'."\n"
- ."\n"
- .'> This parameter is required.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ECS',
- ],
+ 'schema' => ['description' => 'The tag key.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ECS'],
],
],
'responses' => [
@@ -6251,109 +7363,83 @@
'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' => 'AAAAAVz7BQqj2xtiNSC3d3RAD38=',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '0631D623-D917-1C2D-ACD6-5B3B19XXXXXX',
- ],
+ 'NextToken' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAVz7BQqj2xtiNSC3d3RAD38='],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0631D623-D917-1C2D-ACD6-5B3B19XXXXXX'],
'Values' => [
- 'description' => 'The information of the tag values.',
+ 'description' => 'The information about the tag values.',
'type' => 'array',
- 'items' => [
- 'description' => 'The tag value'."\n",
- 'type' => 'string',
- 'example' => ' ['."\n"
- .' 0 : "20211220"'."\n"
- .']',
- ],
+ '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 \\"NextToken\\": \\"AAAAAVz7BQqj2xtiNSC3d3RAD38=\\",\\n \\"RequestId\\": \\"0631D623-D917-1C2D-ACD6-5B3B19XXXXXX\\",\\n \\"Values\\": [\\n \\" [\\\\n 0 : \\\\\\"20211220\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListTagValues',
- ],
- 'ChangeResourceGroup' => [
- 'summary' => 'Changes the resource group of a cloud resource based on the resource ID.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagValues'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:ListTagValues',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAVz7BQqj2xtiNSC3d3RAD38=\\",\\n \\"RequestId\\": \\"0631D623-D917-1C2D-ACD6-5B3B19XXXXXX\\",\\n \\"Values\\": [\\n \\" [\\\\n 0 : \\\\\\"20211220\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'RenewServiceInstance' => [
+ 'summary' => 'Renews a service instance.',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '171476',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
- 'tenantRelevance' => 'tenant',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '36939',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'ResourceId',
+ 'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the cloud resource that you want to move to a new resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-5dc794a7fd254e******',
- ],
+ 'schema' => ['description' => 'Specifies whether to perform a dry run of the renewal request, including permission and instance status checks. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Sends the request without renewing the service instance.'."\n"
+ ."\n"
+ .'- **false**: Sends the request and renews the service instance after the checks pass.'."\n"
+ ."\n"
+ .'Default value: false. The operation is allowed only when the service instance is in the Pending Renewal or Renewal Failed state.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
- 'name' => 'NewResourceGroupId',
+ 'name' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the new resource group.'."\n"
- ."\n"
- .'You can view resource group IDs in the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) .'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmzmhzo******',
- ],
- ],
- [
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The resource type. Valid values:'."\n"
- ."\n"
- .'* service: service'."\n"
- .'* serviceinstance: service instance'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'service',
- ],
+ 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => false, 'example' => 'si-70a3b15bb626435b****', 'title' => ''],
],
],
'responses' => [
@@ -6361,162 +7447,91 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '464C8CB6-A548-5206-B83C-D32A8E43EC21',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BB58FE53-ED8F-5D12-9746-CD3A5F463D95', 'title' => ''],
],
- 'description' => '',
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"464C8CB6-A548-5206-B83C-D32A8E43EC21\\"\\n}","type":"json"}]',
- 'title' => 'ChangeResourceGroup',
- ],
- 'UpdateUserInformation' => [
- 'summary' => 'Updates the information about a customer.',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'RenewServiceInstance',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BB58FE53-ED8F-5D12-9746-CD3A5F463D95\\"\\n}","type":"json"}]',
+ ],
+ 'RenewServiceInstanceResources' => [
+ 'summary' => 'Renews the subscription resources for a private deployment service instance. This operation supports two renewal methods: renewing all subscription resources for a service instance or renewing only specific resources. You can use only one method per request.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '136314',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '136231',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'DeliverySettings',
+ 'name' => 'ServiceInstanceId',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => 'The modified 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' => 'true',
- ],
- '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',
- ],
- 'ActiontrailDeliveryToOssEnabled' => [
- 'description' => 'Specifies whether to enable screencast delivery to OSS. Valid values:'."\n"
- ."\n"
- .'* true'."\n"
- .'* false'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'si-b58c874912fc4294****'],
],
- ],
- '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' => '51945B04-6AA6-410D-93BA-236E0248B104',
- ],
- ],
- ],
+ [
+ 'name' => 'PeriodUnit',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The time unit of the renewal duration for all subscription resources in the service instance. This parameter specifies the unit for \\`Period\\`. Valid values: \\`Month\\` and \\`Year\\`. Default value: \\`Month\\`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Month'],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\"\\n}","type":"json"}]',
- 'title' => 'UpdateUserInformation',
- ],
- 'GetUserInformation' => [
- 'summary' => 'Queries the information about a customer.',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'A client token to ensure that the request is idempotent. Generate a unique value for this parameter from your client for each request. The token can contain only ASCII characters and must not exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest0EG8HU',
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The renewal duration for all subscription resources in the service instance. The unit is specified by \\`PeriodUnit\\`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'],
],
- 'tenantRelevance' => 'publicInformation',
- ],
- 'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ResourcePeriod',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
+ 'description' => 'The list of resource renewals.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource renewal configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceArn' => ['description' => 'The Aliyun Resource Name (ARN) of the resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'acs:ecs:cn-hongkong:1488317743351199:instance/i-j6c6f3lbky38o8rpeqw2'],
+ 'PeriodUnit' => ['description' => 'The time unit of the renewal duration for the resource. This parameter specifies the unit for \\`Period\\`. Valid values: \\`Month\\` and \\`Year\\`. Default value: \\`Month\\`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Month'],
+ 'Period' => ['description' => 'The renewal duration for the resource. The unit is specified by \\`PeriodUnit\\`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 1000,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -6524,281 +7539,147 @@
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'The response parameters.'."\n",
+ 'description' => 'The response schema.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '52EBAF16-22F6-53DB-AE1E-44764FC62AF0',
- ],
- 'DeliverySettings' => [
- 'description' => 'The delivery settings.'."\n",
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7'],
+ 'RenewalResult' => [
+ 'description' => 'The renewal result.',
'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' => '0101data',
- ],
- 'OssPath' => [
- 'description' => 'The OSS path.'."\n",
- 'type' => 'string',
- 'example' => '/test',
- ],
- 'OssExpirationDays' => [
- 'description' => 'The number of days for which the screencasts are saved.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '7',
- ],
- 'ActiontrailDeliveryToOssEnabled' => [
- 'description' => 'Indicates whether screencast delivery to OSS is enabled. Valid values:'."\n"
- ."\n"
- .'* true'."\n"
- .'* false'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
+ 'TotalCount' => ['description' => 'The number of resources to be renewed.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
+ 'Succeeded' => ['description' => 'The number of successfully renewed resources.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '9'],
+ 'Failed' => ['description' => 'The number of resources that failed to be renewed.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'FailureDetails' => [
+ 'description' => 'The details of renewal failures.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of a renewal failure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceArn' => ['description' => 'The ARN of the resource.', 'type' => 'string', 'title' => '', 'example' => 'acs:ecs:cn-hongkong:1488317743351199:instance/i-j6c6f3lbky38o8rpeqw2'],
+ 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'Renewal failure reason.'],
+ 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => 'InvalidPeriod'],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52EBAF16-22F6-53DB-AE1E-44764FC62AF0\\",\\n \\"DeliverySettings\\": {\\n \\"OssEnabled\\": true,\\n \\"OssBucketName\\": \\"0101data\\",\\n \\"OssPath\\": \\"/test\\",\\n \\"OssExpirationDays\\": 7,\\n \\"ActiontrailDeliveryToOssEnabled\\": true\\n }\\n}","type":"json"}]',
- 'title' => 'GetUserInformation',
- ],
- 'ListServiceUsages' => [
- 'summary' => 'Queries the applications for using a service.',
- 'methods' => [
- 'get',
- 'post',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\",\\n \\"RenewalResult\\": {\\n \\"TotalCount\\": 10,\\n \\"Succeeded\\": 9,\\n \\"Failed\\": 1\\n },\\n \\"FailureDetails\\": [\\n {\\n \\"ResourceArn\\": \\"acs:ecs:cn-hongkong:1488317743351199:instance/i-j6c6f3lbky38o8rpeqw2\\",\\n \\"ErrorMessage\\": \\"Renewal failure reason.\\",\\n \\"ErrorCode\\": \\"InvalidPeriod\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'RenewServiceInstanceResources',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewServiceInstanceResources'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:RenewServiceInstanceResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#AccountId}:serviceinstance/{#serviceInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'translator' => 'manual',
+ ],
+ 'RestartServiceInstance' => [
+ 'summary' => 'Restarts a service instance in the Deployed state.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '137236',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '213219',
+ 'abilityTreeNodes' => ['FEATUREcomputenestVIKWP9'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'MaxResults',
+ 'name' => 'ClientToken',
'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' => 'A client token to ensure the idempotence of the request. The token must be unique for each request. The token can contain only ASCII characters and cannot be longer than 64 characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-42665544****'],
],
[
- '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=',
- ],
- ],
- [
- 'name' => 'Filter',
+ 'name' => 'RegionId',
'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"
- .'* 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',
- ],
- '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' => '5',
- ],
- 'required' => false,
- 'maxItems' => 10,
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 10,
- ],
+ 'schema' => ['description' => 'The region ID of the service instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ '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-d6ab3a63ccbb4b17****'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
+ 'description' => 'The response body.',
'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' => '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' => 'AAAAAYChudnQUoBH+mGWFpb6oP0=',
- ],
- 'MaxResults' => [
- 'description' => 'The maximum 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',
- ],
- 'ServiceUsages' => [
- 'description' => 'The service applications.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The service application.'."\n",
- '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' => 'LobelChat',
- ],
- 'SupplierName' => [
- 'description' => 'The name of the service provider.'."\n",
- 'type' => 'string',
- 'example' => 'TestSupplier',
- ],
- 'Status' => [
- 'description' => 'The state of the service application. Valid values:'."\n"
- ."\n"
- .'* Submitted: The application is submitted for review.'."\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 review comment.'."\n",
- 'type' => 'string',
- 'example' => 'Approved',
- ],
- '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 information about the applicants.'."\n",
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "ServiceId": "xxx",'."\n"
- .' "EmailAddress": "aaa@bb.com",'."\n"
- .' "Company": "alibaba-inc",'."\n"
- .' "Country": "China",'."\n"
- .' "Telephone": "111111",'."\n"
- .' "Name": "Name",'."\n"
- .' "Title": "Manger",'."\n"
- .' "Industry": "IT"'."\n"
- .'}',
- 'description' => 'The information about the applicant.'."\n",
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7'],
],
+ '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\\": \\"{\\\\n \\\\\\"ServiceId\\\\\\": \\\\\\"xxx\\\\\\",\\\\n \\\\\\"EmailAddress\\\\\\": \\\\\\"邮箱\\\\\\",\\\\n \\\\\\"Company\\\\\\": \\\\\\"公司\\\\\\",\\\\n \\\\\\"Country\\\\\\": \\\\\\"国家\\\\\\",\\\\n \\\\\\"Telephone\\\\\\": \\\\\\"申请人的电话号码\\\\\\",\\\\n \\\\\\"Name\\\\\\": \\\\\\"申请人名字\\\\\\",\\\\n \\\\\\"Title\\\\\\": \\\\\\"申请人的职位\\\\\\",\\\\n \\\\\\"Industry\\\\\\": \\\\\\"行业\\\\\\"\\\\n}\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'ListServiceUsages',
- 'translator' => 'machine',
- ],
- 'CancelServiceUsage' => [
- 'summary' => 'Cancels the application for using a service.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\"\\n}","type":"json"}]',
+ 'title' => 'RestartServiceInstance',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure that the service provider enabled the restart O\\&M operation when the service was created.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RestartServiceInstance'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:RestartServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'RollbackServiceInstance' => [
+ 'summary' => 'Rolls back an upgraded service instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6807,55 +7688,28 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '137527',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestHUKJ18',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '144097',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'ServiceId',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The service ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'service-d6fc5f949a9246xxxxxx',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotency 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 instance ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'si-d6ab3a63ccbb4bxxxxxx'],
],
[
- 'name' => 'NeedDelete',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to delete the application.'."\n"
- ."\n"
- .'> After you delete the application, you must re-enter the application information the next time you submit an application.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- [
- 'name' => 'RegionId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'A client token to ensure request idempotence. Generate a unique value for this parameter from your client. **ClientToken** supports only ASCII characters and cannot be more than 64 characters long.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
@@ -6863,30 +7717,40 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C',
- ],
+ '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' => 'CancelServiceUsage',
- 'translator' => 'machine',
- ],
- 'CreateServiceUsage' => [
- 'summary' => 'Creates an application for using a service.',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'RollbackServiceInstance',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RollbackServiceInstance'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:RollbackServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StartServiceInstance' => [
+ 'summary' => 'Call the StartServiceInstance operation to start a service instance that is in the Stopped or StartFailed state.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6895,97 +7759,75 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestJ4D829',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '213207',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'ServiceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The service ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'service-d6fc5f949a9246xxxxxx',
- ],
- ],
- [
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotency 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' => 'A client token to ensure the idempotence of the request. Generate a unique value on your client. This value can contain only ASCII characters and must be no more than 64 characters long.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-42665544****'],
],
[
- 'name' => 'UserInformation',
+ 'name' => 'RegionId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The application information.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => 'The application information.',
- 'example' => '{'."\n"
- .' "ServiceId": "xxx",'."\n"
- .' "EmailAddress": "邮箱",'."\n"
- .' "Company": "公司",'."\n"
- .' "Country": "国家",'."\n"
- .' "Telephone": "申请人的电话号码",'."\n"
- .' "Name": "申请人名字",'."\n"
- .' "Title": "申请人的职位",'."\n"
- .' "Industry": "行业"'."\n"
- .'}',
- ],
- ],
+ 'schema' => ['description' => 'The ID of the region where the service instance resides.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ '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-d6ab3a63ccbb4b17****'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '464C8CB6-A548-5206-B83C-D32A8E43EC21'],
],
- 'description' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]',
- 'title' => 'CreateServiceUsage',
- 'translator' => 'machine',
- ],
- 'UpdateServiceUsage' => [
- 'summary' => 'Updates the application for using a service.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"464C8CB6-A548-5206-B83C-D32A8E43EC21\\"\\n}","type":"json"}]',
+ 'title' => 'StartServiceInstance',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure that the service provider configured the start and stop O\\&M actions when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartServiceInstance'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:StartServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StopServiceInstance' => [
+ 'summary' => 'Call the StopServiceInstance operation to shut down a service instance that is in the Deployed or StopFailed state.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6997,95 +7839,72 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '137525',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '213173',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'ServiceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The service ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'service-39f4f251e94843xxxxxx',
- ],
- ],
- [
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotency 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' => 'AAAAAYChudnQUoBH+mGWFpb6oP0=',
- ],
+ 'schema' => ['description' => 'A client token to ensure the idempotence of the request. Generate a unique token for each request. The token can contain only ASCII characters and cannot be longer than 64 characters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-42665544****'],
],
[
- 'name' => 'UserInformation',
+ 'name' => 'RegionId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The information about the applicant.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '用户信息。',
- 'example' => '{'."\n"
- .' "ServiceId": "xxx",'."\n"
- .' "EmailAddress": "邮箱",'."\n"
- .' "Company": "公司",'."\n"
- .' "Country": "国家",'."\n"
- .' "Telephone": "申请人的电话号码",'."\n"
- .' "Name": "申请人名字",'."\n"
- .' "Title": "申请人的职位",'."\n"
- .' "Industry": "行业"'."\n"
- .'}',
- ],
- ],
+ 'schema' => ['description' => 'The ID of the region where the service instance resides.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ '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-b58c874912fc4294****'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'],
],
- 'description' => '',
+ 'example' => '',
],
],
],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]',
- 'title' => 'UpdateServiceUsage',
- 'translator' => 'machine',
- ],
- 'DeployServiceInstance' => [
- 'summary' => 'Deploys the created service instance.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'StopServiceInstance',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure that the service provider configured the Operations and Maintenance (O\\&M) operations for startup and shutdown when the service was created.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopServiceInstance'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:StopServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'TagResources' => [
+ 'summary' => 'You can call TagResources to create and attach tags to multiple resources.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7094,50 +7913,69 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'none',
'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '36959',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestVIKWP9',
- ],
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '117177',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'Tag',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'Ensures idempotency of the request. Generate a unique value for this parameter from your client to ensure it is unique across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters.',
- 'type' => 'string',
+ 'description' => 'The resource tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource tags.',
+ 'type' => 'object',
+ 'properties' => [
+ '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,
- 'example' => '123e4567-e89b-12d3-a456-426655440000',
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ServiceInstanceId',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service instance ID.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'si-b58c874912fc4294****',
- ],
+ 'schema' => ['description' => 'The resource type. Valid values:'."\n"
+ ."\n"
+ .'- service: a service.'."\n"
+ ."\n"
+ .'- serviceinstance: a service instance.'."\n"
+ ."\n"
+ .'- artifact: a deployment.'."\n"
+ ."\n"
+ .'- dataset: a dataset.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'ResourceId',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'Region ID. Allowed values:'."\n"
- ."\n"
- .'- cn-hangzhou: East China 1 (Hangzhou).'."\n"
- ."\n"
- .'- ap-southeast-1: Singapore.',
- 'type' => 'string',
+ 'description' => 'The resource IDs.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The resource ID. A maximum of 50 resource IDs can be specified.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'r-xxx'],
'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ 'maxItems' => 50,
+ 'minItems' => 1,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -7146,72 +7984,112 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\"\\n}","type":"json"}]',
- 'title' => 'DeployServiceInstance',
- 'translator' => 'machine',
- ],
- 'DescribeRegions' => [
- 'summary' => 'List available regions.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\"\\n}","type":"json"}]',
+ 'title' => 'TagResources',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:TagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UnTagResources' => [
+ 'summary' => 'Detaches tags from specified resources.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '36938',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest2G0818',
- 'FEATUREcomputenest1Z49ZW',
- 'FEATUREcomputenest21Y74A',
- 'FEATUREcomputenestHX5MKK',
- 'FEATUREcomputenestB2MIVU',
- 'FEATUREcomputenestDWH8PE',
- 'FEATUREcomputenest8XBPFA',
- 'FEATUREcomputenestC6045N',
- 'FEATUREcomputenestA4RHS0',
- 'FEATUREcomputenestQE1OA6',
- 'FEATUREcomputenest2LCZ5B',
- 'FEATUREcomputenestJ4D829',
- 'FEATUREcomputenest0EG8HU',
- 'FEATUREcomputenest3Q4PWW',
- 'FEATUREcomputenestHUKJ18',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '117186',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ [
+ '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.'."\n"
+ ."\n"
+ .'- dataset: A dataset.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'service'],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
+ 'description' => 'The resource IDs.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The resource ID. A maximum of 50 resource IDs can be specified.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'r-xxx'],
+ 'required' => true,
+ 'maxItems' => 50,
+ 'minItems' => 1,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'All',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to remove all tags from the resources. This parameter is valid only when \\`TagKey\\` is not specified. The default value is false. Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
+ ],
+ [
+ 'name' => 'TagKey',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The tag keys of the resources.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The tag key of the resource.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Key1'],
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'maxItems' => 20,
+ 'minItems' => 1,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -7220,51 +8098,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA',
- ],
- 'Regions' => [
- 'description' => 'The available regions.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The information of region.',
- 'type' => 'object',
- 'properties' => [
- 'RegionEndpoint' => [
- 'description' => 'The region endpoint.'."\n",
- 'type' => 'string',
- 'example' => 'computenest.cn-hangzhou.aliyuncs.com',
- ],
- 'RegionId' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\",\\n \\"Regions\\": [\\n {\\n \\"RegionEndpoint\\": \\"computenest.cn-hangzhou.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeRegions',
- ],
- 'ListPolicies' => [
- 'summary' => 'Queires the permissions.',
- 'methods' => [
- 'get',
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\"\\n}","type":"json"}]',
+ 'title' => 'UnTagResources',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnTagResources'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:UnTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateServiceInstanceAttributes' => [
+ 'summary' => 'Updates the attributes of a service instance.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7273,379 +8141,287 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '43373',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestJ4D829',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '226389',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'MaxResults',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Page size.',
- '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' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Token for the next query, an empty nextToken indicates there is no next page.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=',
- ],
+ '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-d6ab3a63ccbb4b17xxxx'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'EnableOperation',
'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to enable managed O\\&M.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'],
+ ],
+ [
+ 'name' => 'GrantedPermission',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'OperationEndTime' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'PolicyNames' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'title' => '',
+ 'description' => 'The response schema.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Request ID',
- 'type' => 'string',
- 'example' => '51945B04-6AA6-410D-93BA-236E0248B104',
- ],
- 'NextToken' => [
- 'title' => 'NextToken',
- 'description' => 'Next Token',
- 'type' => 'string',
- 'example' => 'AAAAAZ9FmxgN6wKfeK/GOKRnnjU=',
- ],
- 'Policies' => [
- 'description' => 'Permission policy list',
- 'type' => 'array',
- 'items' => [
- 'description' => 'Permission policy information.',
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'description' => 'Permission policy description.',
- 'type' => 'string',
- 'example' => 'Only read permission policy',
- ],
- 'PolicyName' => [
- 'description' => 'Permission policy name.',
- 'type' => 'string',
- 'example' => 'AliyunComputeNestPolicyForReadOnly',
- ],
- 'PolicyType' => [
- 'description' => 'Permission policy type.'."\n"
- ."\n"
- .'- Custom: Custom policy.'."\n"
- .'- System: System policy.',
- 'type' => 'string',
- 'example' => 'System',
- ],
- 'PolicyDocument' => [
- 'description' => 'Policy content.',
- 'type' => 'string',
- 'example' => '{"Action":["*:Describe*","*:List*","*:Get*","*:BatchGet*","*:Query*","*:BatchQuery*","actiontrail:LookupEvents"],"Resource":["*"],"Effect":"Allow"}',
- ],
- ],
- ],
- ],
- 'MaxResults' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'],
],
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"NextToken\\": \\"AAAAAZ9FmxgN6wKfeK/GOKRnnjU=\\",\\n \\"Policies\\": [\\n {\\n \\"Description\\": \\"只读权限\\",\\n \\"PolicyName\\": \\"AliyunComputeNestPolicyForReadOnly\\",\\n \\"PolicyType\\": \\"System\\",\\n \\"PolicyDocument\\": \\"{\\\\\\"Action\\\\\\":[\\\\\\"*:Describe*\\\\\\",\\\\\\"*:List*\\\\\\",\\\\\\"*:Get*\\\\\\",\\\\\\"*:BatchGet*\\\\\\",\\\\\\"*:Query*\\\\\\",\\\\\\"*:BatchQuery*\\\\\\",\\\\\\"actiontrail:LookupEvents\\\\\\"],\\\\\\"Resource\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"Effect\\\\\\":\\\\\\"Allow\\\\\\"}\\"\\n }\\n ],\\n \\"MaxResults\\": 20\\n}","type":"json"}]',
- 'title' => 'ListPolicies',
- 'translator' => 'machine',
- ],
- 'GetNetworkAvailableZones' => [
- 'summary' => '根据指定地域获取可用区列表',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateServiceInstanceAttributes',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceInstanceAttributes'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:UpdateServiceInstanceAttributes',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateServiceInstanceSpec' => [
+ 'summary' => 'You can call the UpdateServiceInstanceSpec operation to upgrade or downgrade a service instance if its parameters or package settings do not meet your requirements.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '172337',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestHX5MKK',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '161941',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'PrivateVpcConnectionMode',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '连接模式 (PrivateLink: PrivateLink, OverlayLink: 基于ANSM的overlayLink)',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PrivateLink',
- ],
+ 'name' => 'ServiceInstanceId',
+ 'in' => 'query',
+ '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-d6ab3a63ccbb4b17****'],
],
[
- 'name' => 'ZoneId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '服务部署可用区',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou-i',
- ],
+ 'name' => 'PredefinedParametersName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the service instance package.'."\n"
+ ."\n"
+ .'Set this parameter if the service provider set **Change Type** to **Package Change** for the upgrade/downgrade operation.'."\n"
+ ."\n"
+ .'To obtain the package name, check the **PredefinedParameters** property of the **DeployMetadata** parameter that is returned by the [GetService](~~2340828~~) operation.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Package 1'],
],
[
- 'name' => 'NetworkRegionId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '虚拟互联网地域',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'name' => 'Parameters',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The parameters for changing the service instance.'."\n"
+ ."\n"
+ .'Set this parameter if the service provider set **Change Type** to **Parameter Change** for the upgrade/downgrade operation.'."\n"
+ ."\n"
+ .'> - To obtain the change parameters, check the **ModifyParametersConfig** property of the **OperationMetadata** parameter that is returned by the [GetService](~~2340828~~) operation.'."\n"
+ .'>'."\n"
+ .'> - View the change parameters on the **Service Instance Change** page in the [Compute Nest console](https://computenest.console.aliyun.com/service/instance/cn-hangzhou).'."\n"
+ ."\n"
+ .'For example, if the service is configured to upgrade the ECS instance type, enter an instance specification that is higher than the current one.', 'type' => 'object', 'required' => false, 'title' => '', 'example' => '{'."\n"
+ .' "InstanceType": "ecs.g8ise.2xlarge"'."\n"
+ .'}'],
],
[
- 'name' => 'ServiceInstanceEndpointServiceType',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '正/反向私网访问 (Forward: 正向访问, Reverse: 反向访问)',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Forward',
- ],
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to perform a dry run for the request. A dry run checks for issues such as permissions and instance status.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- true: Sends the request to perform a dry run. The service instance is not modified.'."\n"
+ ."\n"
+ .'- false: Sends the request to perform the operation. The service instance is modified after the request passes the checks.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'],
],
[
- 'name' => 'ServiceRegionId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'name' => 'EnableUserPrometheus',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to enable Prometheus monitoring.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'true: Enables Prometheus monitoring.'."\n"
+ ."\n"
+ .'false: Disables Prometheus monitoring.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'],
],
[
- 'name' => 'IsPoc',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'name' => 'OperationName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the upgrade/downgrade operation.'."\n"
+ ."\n"
+ .'To obtain the name and content of the upgrade/downgrade operation, check the **ModifyParametersConfig** property of the **OperationMetadata** parameter that is returned by the [GetService](~~2340828~~) operation.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Plan configuration change'],
],
[
- 'name' => 'ServiceId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'service-55fc2eabbce647fa976b',
- ],
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'A client token to ensure the idempotence of the request. This token is generated by your client and must be unique for each request. The token can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-42665544****'],
],
[
- 'name' => 'ServiceVersion',
- 'in' => 'formData',
+ 'name' => 'Commodity',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The information about the Alibaba Cloud Marketplace purchase order. This parameter is not required if the service is not listed on Alibaba Cloud Marketplace or if the service uses the pay-as-you-go billing method.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AutoPay' => ['description' => 'Specifies whether to enable automatic payment.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- **true** (default): Automatic payment is enabled. Make sure that your account has a sufficient balance.'."\n"
+ ."\n"
+ .'- **false**: An order is generated but the payment is not completed. If your account balance is insufficient, set AutoPay to false to generate an unpaid order. You can then log on to the [ApsaraDB RDS console](https://rdsnext.console.aliyun.com/dashboard/cn-beijing) to pay for the order.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'],
+ ],
'required' => false,
- 'example' => '1',
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PlainResult<NetworkAvailableRegionOrZoneModel>',
- 'description' => 'PlainResult<NetworkAvailableRegionOrZoneModel>',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'RegionIdList' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- ],
- 'ZoneIdList' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-i',
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'A17F9930-E2DC-5E87-B6D6-B0BCD2B00834',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'],
+ 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'title' => '', 'example' => '23396265896****'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"RegionIdList\\": [\\n \\"cn-hangzhou\\"\\n ],\\n \\"ZoneIdList\\": [\\n \\"cn-hangzhou-i\\"\\n ]\\n },\\n \\"RequestId\\": \\"A17F9930-E2DC-5E87-B6D6-B0BCD2B00834\\"\\n}","type":"json"}]',
- ],
- 'ListTagResources' => [
- 'summary' => 'Query tag resource list',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\",\\n \\"OrderId\\": \\"23396265896****\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateServiceInstanceSpec',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Ensure that the service provider has enabled the upgrade/downgrade feature and configured the related parameters when the service was created.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceInstanceSpec'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:UpdateServiceInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:*:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
+ ],
],
+ 'translator' => 'manual',
+ ],
+ 'UpdateServiceUsage' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '117188',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '137525',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID of the resource.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- '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' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=',
- ],
+ 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'service-39f4f251e94843xxxxxx', 'title' => ''],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The resource type. Valid values:'."\n"
- ."\n"
- .'* service: service'."\n"
- .'* serviceinstance: service instance'."\n"
- .'* artifact: deployment package'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'service',
- ],
+ 'schema' => ['description' => 'A client token to ensure the idempotence of the request. Generate a unique value from your client for this parameter. **ClientToken** supports only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAYChudnQUoBH+mGWFpb6oP0=', 'title' => ''],
],
[
- 'name' => 'Tag',
+ 'name' => 'UserInformation',
'in' => 'query',
- 'style' => 'repeatList',
+ 'style' => 'json',
'schema' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The tag.'."\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,
- ],
+ 'description' => 'The user information.',
+ 'type' => 'object',
'required' => false,
- 'maxItems' => 20,
- 'minItems' => 1,
+ 'additionalProperties' => ['description' => 'The user information.', 'type' => 'string', 'example' => '{'."\n"
+ .' "ServiceId": "xxx",'."\n"
+ .' "EmailAddress": "邮箱",'."\n"
+ .' "Company": "公司",'."\n"
+ .' "Country": "国家",'."\n"
+ .' "Telephone": "申请人的电话号码",'."\n"
+ .' "Name": "申请人名字",'."\n"
+ .' "Title": "申请人的职位",'."\n"
+ .' "Industry": "行业"'."\n"
+ .'}', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'RegionId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The resource IDs. You can specify up to 50 resource IDs.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The resource ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-5dc794a7fd254e******',
- ],
- 'required' => false,
- 'maxItems' => 50,
- 'minItems' => 1,
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -7653,438 +8429,198 @@
'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' => 'AAAAAVz7BQqj2xtiNSC3d3RAD38=',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA',
- ],
- 'TagResources' => [
- 'description' => 'The collection of details about resources and tags, such as resource IDs, resource types, and tag key-value pairs.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ResourceType' => [
- 'description' => 'The resource type. Valid values:'."\n"
- ."\n"
- .'* service: service'."\n"
- .'* serviceinstance: service instance'."\n"
- .'* artifact: deployment package'."\n"
- .'* dataset: dataset'."\n",
- 'type' => 'string',
- 'example' => 'serviceinstance',
- ],
- 'ResourceId' => [
- 'description' => 'The resource ID.'."\n",
- 'type' => 'string',
- 'example' => 'si-44b9923be2d048eb8f5f',
- ],
- 'TagKey' => [
- 'description' => 'The tag key.'."\n",
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'TagValue' => [
- 'description' => 'The tag value.'."\n",
- 'type' => 'string',
- 'example' => 'major',
- ],
- ],
- 'description' => '',
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => 'UpdateServiceUsage',
+ 'summary' => 'Updates the information about a service usage request.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceUsage'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:UpdateServiceUsage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:*:{#accountId}:service/{#serviceId}'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAVz7BQqj2xtiNSC3d3RAD38=\\",\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"serviceinstance\\",\\n \\"ResourceId\\": \\"si-44b9923be2d048eb8f5f\\",\\n \\"TagKey\\": \\"test\\",\\n \\"TagValue\\": \\"major\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'ListTagResources',
- 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]',
],
- 'GetServiceInstanceSubscriptionEstimateCost' => [
- 'summary' => 'Inquiries the prices of subscription resources for private service instances. Renewal price inquiry is supported. You can make a unified renewal price inquiry for all subscription resources based on a specific service instance ID or make a renewal price inquiry for a specific resource. You can specify a service instance ID or a resource in a request, but cannot specify both of them.',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateSkill' => [
+ 'summary' => 'Updates a skill.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '136636',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestVIKWP9',
- ],
+ 'abilityTreeCode' => '232490',
+ 'abilityTreeNodes' => ['FEATUREcomputenest4KI7CZ'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'SkillId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the skill to update.', 'type' => 'string', 'required' => true, 'example' => 's-xxxxx', 'title' => ''],
],
[
- 'name' => 'ServiceInstanceId',
+ 'name' => 'SourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service instance ID.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-d6ab3a63ccbb4b17****',
- ],
+ 'schema' => ['description' => 'The source type for updating the skill.', 'type' => 'string', 'required' => false, 'example' => 'COPY', 'title' => ''],
],
[
- 'name' => 'OrderType',
+ 'name' => 'SourceSkillId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Order type. Possible value: Renewal.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Renewal',
- ],
+ 'schema' => ['description' => 'Required when SourceType is set to COPY. The ID of the public skill.', 'type' => 'string', 'required' => false, 'example' => 's-xxxxx', 'title' => ''],
],
[
- 'name' => 'PeriodUnit',
+ 'name' => 'OssUrl',
'in' => 'query',
- 'schema' => [
- 'description' => 'The time unit for the renewal duration of all prepaid resources of the service instance, which is the unit of the Period parameter. Valid values: Month, Year. Default value: Month.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Month',
- ],
+ 'schema' => ['description' => 'Required when SourceType is set to UPLOAD. The OSS URL of the skill package to upload.', 'type' => 'string', 'required' => false, 'example' => 'https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/skill-creator1.zip', 'title' => ''],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'SkillDescription',
'in' => 'query',
- 'schema' => [
- 'description' => 'Ensures idempotence of the request. Generate a parameter value from your client to ensure its uniqueness across different requests. **ClientToken** supports only ASCII characters and cannot exceed 64 characters.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-426655440000',
- ],
+ 'schema' => ['description' => 'The description of the skill.', 'type' => 'string', 'required' => false, 'example' => 'Create new skills. ', 'title' => ''],
],
[
- 'name' => 'Period',
+ 'name' => 'SkillName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The renewal duration for all prepaid resources of the service instance. The unit is specified by PeriodUnit.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The name of the skill.', 'type' => 'string', 'required' => false, 'example' => 'skill-creator', 'title' => ''],
],
[
- 'name' => 'ResourcePeriod',
+ 'name' => 'SkillDisplayName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'SkillLabels',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'Resource renewal configuration.',
+ 'description' => 'The labels of the skill.',
'type' => 'array',
- 'items' => [
- 'description' => 'Resource renewal configuration.',
- 'type' => 'object',
- 'properties' => [
- 'ResourceArn' => [
- 'description' => 'Resource ARN (Aliyun Resource Name).',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:ecs:cn-guangzhou:1361753504587228:instance/i-7xv9pgeqvhxg10jji3vd',
- ],
- 'PeriodUnit' => [
- 'description' => 'The time unit for the resource renewal duration, which is the unit of the Period parameter. Valid values: Month, Year. Default value: Month.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Month',
- ],
- 'Period' => [
- 'description' => 'Renewal duration. The unit is specified by PeriodUnit.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- 'required' => false,
- ],
+ 'items' => ['description' => 'The label of the skill.', 'type' => 'string', 'required' => false, 'example' => 'category:frontend-development', 'title' => ''],
'required' => false,
- 'maxItems' => 1000,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ 'title' => '',
+ 'example' => '',
],
],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ '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 value of **ClientToken** can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '464C8CB6-A548-5206-B83C-D32A8E43EC21',
- ],
- 'ResourcePrices' => [
- 'description' => 'List of resource price information.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'Resource price information.',
- 'type' => 'object',
- 'properties' => [
- 'ResourceArn' => [
- 'description' => 'Resource ARN (Aliyun Resource Name).',
- 'type' => 'string',
- 'example' => 'acs:ecs:cn-hongkong:1488317743351199:instance/i-j6c6f3lbky38o8rpeqw2',
- ],
- 'PeriodUnit' => [
- 'description' => 'The time unit for the renewal duration, which is the unit of the Period parameter. Valid values: Month, Year. Default value: Month.',
- 'type' => 'string',
- 'example' => 'Month',
- ],
- 'Period' => [
- 'description' => 'Renewal duration. The unit is specified by PeriodUnit.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'OriginalAmount' => [
- 'description' => 'Original price.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '900',
- ],
- 'TradeAmount' => [
- 'description' => 'Discounted price.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '500',
- ],
- 'DiscountAmount' => [
- 'description' => 'Discount.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '100',
- ],
- 'Currency' => [
- 'description' => 'Currency. Valid values:'."\n"
- .'- CNY: Chinese Yuan.'."\n"
- .'- USD: US Dollar.'."\n"
- .'- JPY: Japanese Yen.',
- 'type' => 'string',
- 'example' => 'CNY',
- ],
- 'DetailInfos' => [
- 'description' => 'The price details of the pricing module.',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'OriginalAmount' => [
- 'description' => 'Original price.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '900',
- ],
- 'TradeAmount' => [
- 'description' => 'Discounted price.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '500',
- ],
- 'DiscountAmount' => [
- 'description' => 'Discount amount.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '100',
- ],
- 'Resource' => [
- 'description' => 'Pricing module identifier.',
- 'type' => 'string',
- 'example' => 'instance',
- ],
- ],
- ],
- ],
- 'Rules' => [
- 'description' => 'Promotion details.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'Promotion detail.',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => 'Promotion name.',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'RuleDescId' => [
- 'description' => 'Promotion ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1021199213',
- ],
- 'Description' => [
- 'description' => 'Promotion description.',
- 'type' => 'string',
- 'example' => 'test',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7'],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'InvalidSkill.NotFound', 'errorMessage' => 'The specified Skill does not exist.', 'description' => ''],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"464C8CB6-A548-5206-B83C-D32A8E43EC21\\",\\n \\"ResourcePrices\\": [\\n {\\n \\"ResourceArn\\": \\"acs:ecs:cn-hongkong:1488317743351199:instance/i-j6c6f3lbky38o8rpeqw2\\",\\n \\"PeriodUnit\\": \\"Month\\",\\n \\"Period\\": 1,\\n \\"OriginalAmount\\": 900,\\n \\"TradeAmount\\": 500,\\n \\"DiscountAmount\\": 100,\\n \\"Currency\\": \\"CNY\\",\\n \\"DetailInfos\\": [\\n {\\n \\"OriginalAmount\\": 900,\\n \\"TradeAmount\\": 500,\\n \\"DiscountAmount\\": 100,\\n \\"Resource\\": \\"instance\\"\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Name\\": \\"test\\",\\n \\"RuleDescId\\": 1021199213,\\n \\"Description\\": \\"test\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'GetServiceInstanceSubscriptionEstimateCost',
- 'translator' => 'machine',
- ],
- 'RenewServiceInstanceResources' => [
- 'summary' => 'Renews the subscription resources that are included in a private service instance. You can renew all subscription resources included in a private service instance based on the ID of the private service instance. You can also renew specific resources included in a private service instance. You can use only one of the preceding renewal methods.',
- 'methods' => [
- 'get',
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'Update a skill',
+ 'description' => '### Before you begin'."\n"
+ .'Make sure that the service provider has enabled the specification change feature and configured the specification change parameters when creating the service.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateUserInformation' => [
+ 'summary' => 'The UpdateUserInformation operation updates user information.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '136231',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '136314',
+ 'abilityTreeNodes' => ['FEATUREcomputenest18JMDW'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'ServiceInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Service instance ID.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-b58c874912fc4294****',
- ],
- ],
- [
- 'name' => 'PeriodUnit',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The time unit for the renewal duration of all prepaid resources in the service instance, which is the unit for the Period parameter. Valid values: Month, Year. Default value: Month.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Month',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- '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.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-426655440000',
- ],
- ],
- [
- 'name' => 'Period',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The renewal duration for all prepaid resources in the service instance. The unit is specified by PeriodUnit.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'ResourcePeriod',
+ 'name' => 'DeliverySettings',
'in' => 'query',
- 'style' => 'repeatList',
+ 'style' => 'flat',
'schema' => [
- 'description' => 'List of resource renewals.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'Resource renewal configuration.',
- 'type' => 'object',
- 'properties' => [
- 'ResourceArn' => [
- 'description' => 'Resource ARN (Aliyun Resource Name).',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:ecs:cn-hongkong:1488317743351199:instance/i-j6c6f3lbky38o8rpeqw2',
- ],
- 'PeriodUnit' => [
- 'description' => 'The time unit for the renewal duration of the resource, which is the unit for the Period parameter. Valid values: Month, Year. Default value: Month.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Month',
- ],
- 'Period' => [
- 'description' => 'The renewal duration for the resource. The unit is specified by PeriodUnit.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- 'required' => false,
+ 'description' => 'The configurations to modify.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OssEnabled' => ['description' => 'Specifies whether to deliver data to Object Storage Service (OSS). Valid values:'."\n"
+ ."\n"
+ .'- true: Delivery is enabled.'."\n"
+ ."\n"
+ .'- false: Delivery is disabled.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'],
+ 'OssBucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '"mybucket"'],
+ 'OssPath' => ['description' => 'The OSS path.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '"path1/path2/"'],
+ 'OssExpirationDays' => ['description' => 'The number of days to retain screen recordings.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '7'],
+ 'ActiontrailDeliveryToOssEnabled' => ['description' => 'Specifies whether to deliver ActionTrail events to OSS. Valid values:'."\n"
+ ."\n"
+ .'- true: Delivery is enabled.'."\n"
+ ."\n"
+ .'- false: Delivery is disabled.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'],
],
'required' => false,
- 'maxItems' => 1000,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -8095,162 +8631,88 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7',
- ],
- 'RenewalResult' => [
- 'description' => 'Renewal result.',
- 'type' => 'object',
- 'properties' => [
- 'TotalCount' => [
- 'description' => 'Number of renewed resources.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Succeeded' => [
- 'description' => 'Number of successfully renewed resources.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
- 'Failed' => [
- 'description' => 'Number of failed renewals.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- ],
- ],
- 'FailureDetails' => [
- 'description' => 'Details of failed renewals.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'Details of failed renewals.',
- 'type' => 'object',
- 'properties' => [
- 'ResourceArn' => [
- 'description' => 'Resource ARN (Aliyun Resource Name).',
- 'type' => 'string',
- 'example' => 'acs:ecs:cn-hongkong:1488317743351199:instance/i-j6c6f3lbky38o8rpeqw2',
- ],
- 'ErrorMessage' => [
- 'description' => 'Error message.',
- 'type' => 'string',
- 'example' => 'Error message',
- ],
- 'ErrorCode' => [
- 'description' => 'Error code.',
- 'type' => 'string',
- 'example' => 'InvalidPeriod',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '51945B04-6AA6-410D-93BA-236E0248B104'],
],
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\",\\n \\"RenewalResult\\": {\\n \\"TotalCount\\": 10,\\n \\"Succeeded\\": 9,\\n \\"Failed\\": 1\\n },\\n \\"FailureDetails\\": [\\n {\\n \\"ResourceArn\\": \\"acs:ecs:cn-hongkong:1488317743351199:instance/i-j6c6f3lbky38o8rpeqw2\\",\\n \\"ErrorMessage\\": \\"续费失败的原因信息。\\",\\n \\"ErrorCode\\": \\"InvalidPeriod\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'RenewServiceInstanceResources',
- 'translator' => 'machine',
- ],
- 'ListServiceInstanceBill' => [
- 'summary' => 'Queries instance bills.',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'UpdateUserInformation',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserInformation'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:UpdateUserInformation',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'UserInfo', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:UserInfo'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\"\\n}","type":"json"}]',
+ ],
+ 'UpgradeServiceInstance' => [
+ 'summary' => 'Upgrades a service instance to a new version.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '177374',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest18JMDW',
- ],
+ 'abilityTreeCode' => '122810',
+ 'abilityTreeNodes' => ['FEATUREcomputenestYPH9R9'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'MaxResults',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries 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, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'ServiceInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'A pagination token.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAVz7BQqj2xtiNSC3d3RAD38=',
- ],
+ 'schema' => ['description' => 'The service instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'si-d6ab3a63ccbb4bxxxxxx'],
],
[
- 'name' => 'ServiceInstanceId',
+ 'name' => 'ServiceVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'The service instance ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-49793f3bfa034ec6a990',
- ],
+ 'schema' => ['description' => 'The service version to upgrade to.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => '2'],
],
[
- 'name' => 'BillingCycle',
+ 'name' => 'Parameters',
'in' => 'query',
- 'schema' => [
- 'description' => 'The billing cycle. Format: YYYY-MM.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '2024-05',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The parameters required for the upgrade. This is used when new parameters are added to the new service version.', 'type' => 'object', 'required' => false, 'title' => '', 'example' => '{ \\"RegionId\\": \\"cn-hangzhou\\", \\"InstanceType\\": \\"ecs.g5.large\\"}'],
],
[
- 'name' => 'Granularity',
+ 'name' => 'ClientToken',
'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' => 'DAILY',
- ],
+ 'schema' => ['description' => 'A client-generated token that ensures the idempotence of the request. The token must be unique for each request. It 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' => 'BillingDate',
+ 'name' => 'DryRun',
'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' => '2025-04-01',
- ],
+ 'schema' => ['description' => 'Specifies whether to perform a dry run. A dry run checks for issues such as permissions and the instance status. Valid values:'."\n"
+ ."\n"
+ .'- true: Sends the request without upgrading the service instance.'."\n"
+ ."\n"
+ .'- false: Sends the request and upgrades the service instance after the check is passed.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'true'],
],
],
'responses' => [
@@ -8258,1124 +8720,1003 @@
'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' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '2849EE73-AFFA-5AFD-9575-12FA886451DA',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of entries returned.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Item' => [
- 'description' => 'The billing information of the backup schedule.'."\n",
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C'],
+ 'UpgradeRequiredParameters' => [
+ 'description' => 'The new parameters required for the service upgrade. This parameter is returned only when DryRun is set to true. Include these parameters in the request when you perform the upgrade.',
'type' => 'array',
- 'items' => [
- 'description' => 'The billing information of the backup schedule.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'SplitBillingCycle' => [
- 'description' => 'The billing cycle in which the bill is split.',
- 'type' => 'string',
- 'example' => '2021-07',
- ],
- '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-10-23',
- ],
- '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' => 'NLB',
- ],
- 'BillingItemCode' => [
- 'description' => 'The code of the billable item.',
- 'type' => 'string',
- 'example' => 'disk'."\n",
- ],
- 'ProductCode' => [
- 'description' => 'The code of the service.'."\n",
- 'type' => 'string',
- 'example' => 'sls',
- ],
- 'ProductDetail' => [
- 'description' => 'The specific service resource.'."\n",
- 'type' => 'string',
- 'example' => 'sls',
- ],
- 'InstanceID' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'example' => 'rm-bp1z88pb48487907u',
- ],
- '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"
- ."\n",
- ],
- 'Usage' => [
- 'description' => 'The amount of resource usage.',
- 'type' => 'string',
- 'example' => '{\'EmbeddingTokens\': 314}',
- ],
- 'ListPrice' => [
- 'description' => 'The unit price.',
- 'type' => 'string',
- 'example' => '0.12',
- ],
- 'UsageUnit' => [
- 'description' => 'The unit of usage.',
- 'type' => 'string',
- 'example' => 'GB'."\n",
- ],
- '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',
- ],
- 'BillingCycle' => [
- 'description' => 'The billing cycle. Format: YYYY-MM.'."\n",
- 'type' => 'string',
- 'example' => '2025-02',
- ],
- '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'."\n",
- ],
- ],
- ],
+ 'items' => ['description' => 'The name of a parameter required for the upgrade.', 'type' => 'string', 'title' => '', 'example' => 'InstancePassword'],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=\\",\\n \\"RequestId\\": \\"2849EE73-AFFA-5AFD-9575-12FA886451DA\\",\\n \\"TotalCount\\": 0,\\n \\"MaxResults\\": 10,\\n \\"Item\\": [\\n {\\n \\"SplitBillingCycle\\": \\"2021-07\\",\\n \\"BillingDate\\": \\"2024-10-23\\",\\n \\"SubscriptionType\\": \\"Subscription\\",\\n \\"ProductName\\": \\"NLB\\",\\n \\"BillingItemCode\\": \\"disk\\\\n\\",\\n \\"ProductCode\\": \\"sls\\",\\n \\"ProductDetail\\": \\"sls\\",\\n \\"InstanceID\\": \\"rm-bp1z88pb48487907u\\",\\n \\"DeductedByResourcePackage\\": \\"0\\",\\n \\"ListPriceUnit\\": \\"元/GB\\\\n\\",\\n \\"Usage\\": \\"{\'EmbeddingTokens\': 314}\\",\\n \\"ListPrice\\": \\"0.12\\",\\n \\"UsageUnit\\": \\"GB\\\\n\\",\\n \\"PretaxGrossAmount\\": \\"0\\",\\n \\"InvoiceDiscount\\": \\"0\\",\\n \\"PretaxAmount\\": \\"0\\",\\n \\"BillingCycle\\": \\"2025-02\\",\\n \\"BillingItem\\": \\"带宽\\\\n\\",\\n \\"Currency\\": \\"RMB\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'ListServiceInstanceBill',
- ],
- 'CheckServiceDeployable' => [
- 'summary' => 'Performs a precheck before deploying a service instance.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"UpgradeRequiredParameters\\": [\\n \\"InstancePassword\\"\\n ]\\n}","type":"json"}]',
+ 'title' => 'UpgradeServiceInstance',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpgradeServiceInstance'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:UpgradeServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ValidateServiceInstanceName' => [
+ 'summary' => 'Validates the name of a service instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '225993',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestVIKWP9',
- 'FEATUREcomputenestVUFVAC',
- ],
+ 'abilityTreeCode' => '204410',
+ 'abilityTreeNodes' => ['FEATUREcomputenest2G0818', 'FEATUREcomputenest1Z49ZW', 'FEATUREcomputenest21Y74A'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The service ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'service-0e6fca6a51a544xxxxxx',
- ],
+ 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'service-12xxxxxx', 'title' => ''],
],
[
- 'name' => 'TrialType',
+ 'name' => 'ServiceVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'The trial type of the service instance. Valid values:'."\n"
- ."\n"
- .'* **Trial**: Trials are supported.'."\n"
- .'* **NotTrial**: Trials are not supported.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NotTrial',
- ],
+ 'schema' => ['description' => 'The service version.', 'type' => 'string', 'example' => '1', 'title' => '', 'required' => false],
],
[
- 'name' => 'PrePaidAmount',
+ 'name' => 'ServiceInstanceName',
'in' => 'query',
- 'schema' => [
- 'description' => 'Total amount of prepayment.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0.0',
- ],
+ 'schema' => ['description' => 'The name of the service instance.', 'type' => 'string', 'required' => true, 'example' => 'testName', 'title' => ''],
],
[
- 'name' => 'PostPaidAmount',
+ 'name' => 'IsTrial',
'in' => 'query',
- 'schema' => [
- 'description' => 'Total amount of postpaid.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.29',
- ],
+ 'schema' => ['description' => 'Specifies whether the service instance is a trial instance.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
],
[
'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'The name of the template. Specify this parameter if the service supports multiple templates.', 'type' => 'string', 'example' => 'Template 1', 'title' => '', 'required' => false],
],
[
- 'name' => 'ServiceVersion',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The service version.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'A client token to ensure the idempotence of the request. Generate a unique token for each request. The **ClientToken** supports only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => '', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA',
- ],
- 'CheckResults' => [
- 'description' => 'Inspection result.',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => 'Check type, invalid values:'."\n"
- ."\n"
- .'- Balance :Account balance.'."\n"
- ."\n"
- .'- Quota: Account quota.',
- 'type' => 'string',
- 'example' => 'Balance',
- ],
- 'Value' => [
- 'description' => 'Inspection result.',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'Message' => [
- 'description' => 'Returns a hint message for the result.',
- 'type' => 'string',
- 'example' => '""',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\",\\n \\"CheckResults\\": [\\n {\\n \\"Type\\": \\"Balance\\",\\n \\"Value\\": \\"true\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'CheckServiceDeployable',
+ 'title' => 'ValidateServiceInstanceName',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ValidateServiceInstanceName'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ValidateServiceInstanceName',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\"\\n}","type":"json"}]',
+ 'translator' => 'manual',
],
- 'CreateRestoreTask' => [
- 'summary' => 'Create restore task',
- 'methods' => [
- 'post',
- 'get',
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'computenest.cn-hangzhou.aliyuncs.com', 'endpoint' => 'computenest.cn-hangzhou.aliyuncs.com', 'vpc' => 'computenest-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'computenest.ap-southeast-1.aliyuncs.com', 'endpoint' => 'computenest.ap-southeast-1.aliyuncs.com', 'vpc' => 'computenest-vpc.ap-southeast-1.aliyuncs.com'],
+ ],
+ 'errorCodes' => [
+ ['code' => 'EntityNotExist.ResourceGroup', 'message' => 'The resource group does not exist.', 'http_code' => 404, 'description' => 'The resource group does not exist.'],
+ ['code' => 'InternalError', 'message' => 'Internal error.', 'http_code' => 500, 'description' => 'Internal server error.'],
+ ['code' => 'NotSupported', 'message' => 'Update the completely same stack is not supported.', 'http_code' => 400, 'description' => 'When changing the configuration of a service instance, there must be a configuration modification.'],
+ ['code' => 'SupplierPocQuotaExceeded', 'message' => 'Supplier\'s trial quota has been exceeded.', 'http_code' => 400, 'description' => 'The service provider\'s trial quota has been exceeded and cannot be created. If you need to create a trial service instance, please contact the service provider and remind the service provider to apply for the corresponding quota in the quota center.'],
+ ['code' => 'TrialNotSupported', 'message' => 'Service does not support trial.', 'http_code' => 400, 'description' => 'Service does not support trial.'],
+ ['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' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListBackups'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteBackup'],
+ ['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' => 'RollbackServiceInstance'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServices'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelServiceUsage'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceUpgradeHistory'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnTagResources'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceResources'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceUsage'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckServiceDeployable'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewServiceInstanceResources'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagKeys'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopServiceInstance'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateBackup'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRestoreTasks'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ValidateServiceInstanceName'],
+ ['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' => 'UpdateUserInformation'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateServicePolicy'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagValues'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeployServiceInstance'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceInstanceSubscriptionEstimateCost'],
+ ['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' => 'GetBackup'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceCategories'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPolicies'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserInformation'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RestartServiceInstance'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceInstanceAttributes'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceProvisions'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceUsages'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstanceBill'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRestoreTask'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceTemplateParameterConstraints'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeResourceGroup'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartServiceInstance'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetService'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceInstanceSpec'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'ComputeNest',
+ 'productName' => 'Compute Nest',
+ 'ramCodes' => ['computenest', 'computenestsupplier'],
+ 'ramLevel' => 'RESOURCE',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'CreateServiceInstance',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'DeleteSkillSpace',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'computenest:DeleteSkillSpace',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UpgradeServiceInstance',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:UpgradeServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '232527',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestSE9C8Z',
+ [
+ 'apiName' => 'UpdateUserInformation',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:UpdateUserInformation',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'UserInfo', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:UserInfo'],
+ ],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'ServiceInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the service instance.'."\n"
- ."\n"
- .'You can call [ListServiceInstances](~~396200~~) to obtain the ID of the service instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-49793f3bfa034ec6a990',
+ [
+ 'apiName' => 'ListServices',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServices',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'BackupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The backup ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'backup-385d35fb088f453c8fa1',
+ ],
+ [
+ 'apiName' => 'ListBackups',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListBackups',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request'."\n",
- 'type' => 'string',
- 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7',
- ],
- 'RestoreTaskId' => [
- 'description' => 'The ID of the restore task.'."\n",
- 'type' => 'string',
- 'example' => 'restore-fdsafda',
- ],
- 'Status' => [
- 'description' => 'The status of the service instance. Valid values:'."\n"
- ."\n"
- .'* Restoring'."\n"
- .'* Restored'."\n"
- .'* RestoreFailed'."\n",
- 'type' => 'string',
- 'example' => 'Restoring',
- ],
- ],
+ [
+ 'apiName' => 'ListServiceInstanceLogs',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceInstanceLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceInstanceId}'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'GetServiceProvisions',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetServiceProvisions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#serviceId}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\",\\n \\"RestoreTaskId\\": \\"restore-fdsafda\\",\\n \\"Status\\": \\"Restoring\\"\\n}","type":"json"}]',
- 'title' => 'CreateRestoreTask',
- 'description' => '### [](#)Prerequisites'."\n"
- ."\n"
- .'Please ensure that the service provider has enabled the configuration change feature and completed the change parameter settings.'."\n",
- 'translator' => 'machine',
- ],
- 'GetBackup' => [
- 'summary' => 'Queries the information about backup task.',
- 'methods' => [
- 'get',
- 'post',
+ [
+ 'apiName' => 'StartServiceInstance',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:StartServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'GetSkillFileDetectResult',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetSkillFileDetectResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UpdateServiceUsage',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:UpdateServiceUsage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:*:{#accountId}:service/{#serviceId}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'ListTagValues',
+ 'description' => '',
'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '246769',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestL64NT4',
+ 'ramAction' => [
+ 'action' => 'computenest:ListTagValues',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'BackupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The backup ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'backup-cad4a85ff5e340388b93',
+ [
+ 'apiName' => 'DeleteServiceInstances',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'computenest:DeleteServiceInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
- 'type' => 'object',
- 'properties' => [
- 'BackupId' => [
- 'title' => 'Id of the request',
- 'description' => 'The backup ID.'."\n",
- 'type' => 'string',
- 'example' => 'backup-cad4a85ff5e340388b93',
- ],
- 'ServiceInstanceId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'si-b58c874912fc4294****',
- ],
- 'StartTime' => [
- 'title' => 'Id of the request',
- 'description' => 'The start time of the backup task.'."\n",
- 'type' => 'string',
- 'example' => '2022-01-01T11:00:00',
- ],
- 'EndTime' => [
- 'title' => 'Id of the request',
- 'description' => 'The end time of the backup task.'."\n",
- 'type' => 'string',
- 'example' => '2022-01-01T12:00:00',
- ],
- 'Status' => [
- 'title' => 'Id of the request',
- 'description' => 'The status of the backup task.'."\n"
- ."\n"
- .'* Creating'."\n"
- .'* Created'."\n"
- .'* CreateFailed'."\n"
- .'* Deleting'."\n"
- .'* Deleted'."\n"
- .'* DeleteFailed'."\n",
- 'type' => 'string',
- 'example' => 'Creating',
- ],
- 'Description' => [
- 'title' => 'Id of the request',
- 'description' => 'The description of the backup task.'."\n",
- 'type' => 'string',
- 'example' => 'No description',
- ],
- 'CreateTime' => [
- 'title' => 'Id of the request',
- 'description' => 'The creation time of the backup task.'."\n",
- 'type' => 'string',
- 'example' => '2021-05-20T00:00:00Z',
- ],
- 'ModifiedTime' => [
- 'title' => 'Id of the request',
- 'description' => 'The update time of the backup task.'."\n",
- 'type' => 'string',
- 'example' => '2025-03-10T19:26:20Z',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '13FE89A5-C036-56BF-A0FF-A31C59819FD7',
- ],
- 'StatusDetail' => [
- 'title' => '',
- 'description' => 'The description of the deployment instance status.'."\n",
- 'type' => 'string',
- 'example' => 'Disk i-xxxx backup failed, error message: error',
- ],
- ],
+ [
+ 'apiName' => 'RollbackServiceInstance',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:RollbackServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'GetUserInformation',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetUserInformation',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'UserInfo', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:UserInfo'],
+ ],
+ ],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ [
+ 'apiName' => 'UpdateServiceInstanceAttributes',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:UpdateServiceInstanceAttributes',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"BackupId\\": \\"backup-cad4a85ff5e340388b93\\",\\n \\"ServiceInstanceId\\": \\"si-b58c874912fc4294****\\",\\n \\"StartTime\\": \\"2022-01-01T11:00:00\\",\\n \\"EndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"Status\\": \\"Creating\\",\\n \\"Description\\": \\"No description\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"ModifiedTime\\": \\"2025-03-10T19:26:20Z\\",\\n \\"RequestId\\": \\"13FE89A5-C036-56BF-A0FF-A31C59819FD7\\",\\n \\"StatusDetail\\": \\"Disk i-xxxx backup failed, error message: error\\"\\n}","type":"json"}]',
- 'title' => 'GetBackup',
- 'description' => '### [](#)Prerequisites'."\n"
- ."\n"
- .'Please ensure that the service provider has enabled the configuration change feature and completed the change parameter settings.'."\n",
- 'translator' => 'machine',
- ],
- 'ListRestoreTasks' => [
- 'summary' => 'Query and list restore tasks',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'RenewServiceInstance',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:RenewServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRestoreTasks',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:ListRestoreTasks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'ValidateServiceInstanceName',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ValidateServiceInstanceName',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'CancelServiceUsage',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'computenest:CancelServiceUsage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:*:{#accountId}:service/{#serviceId}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'CreateServiceUsage',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateServiceUsage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:*:{#accountId}:service/{#serviceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListServiceInstanceUpgradeHistory',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceInstanceUpgradeHistory',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateRestoreTask',
+ 'description' => '',
'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '232531',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestSE9C8Z',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateRestoreTask',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of rows displayed per page in paginated queries. Maximum: 100 rows per page. Default: 20 rows.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '20',
+ [
+ 'apiName' => 'CreateSkill',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateSkill',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'NextToken'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=',
+ ],
+ [
+ 'apiName' => 'GetServiceInstanceSubscriptionEstimateCost',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:GetServiceInstanceSubscriptionEstimateCost',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
],
],
- [
- 'name' => 'Filter',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The list of the filters.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The list of the filters.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => 'The parameter values of the filter.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The parameter values of the filter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-xxxx',
- ],
- '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"
- .'* RestoreTaskId: the ID of the restore task.'."\n"
- .'* ServiceInstanceId: The ID of the service instance.'."\n"
- .'* Status'."\n"
- .'* StartTime'."\n"
- .'* EndTime'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ServiceInstanceId',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'docRequired' => true,
- 'maxItems' => 100,
+ ],
+ [
+ 'apiName' => 'GetSkillHubConfig',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetSkillHubConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
- 'type' => 'object',
- 'properties' => [
- 'TotalCount' => [
- 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
- 'description' => 'Total data count under the current request conditions (optional; not returned by default).'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request'."\n",
- 'type' => 'string',
- 'example' => '464C8CB6-A548-5206-B83C-D32A8E43EC21',
- ],
- 'NextToken' => [
- 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
- 'description' => 'Indicates the read position returned by the current call. An empty value means all data has been read.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=',
- ],
- 'MaxResults' => [
- 'title' => 'MaxResults本次请求所返回的最大记录条数',
- 'description' => 'The maximum number of records returned in this request.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'RestoreTasks' => [
- 'description' => 'The list of restore tasks.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'RestoreTaskId' => [
- 'description' => 'The ID of the restore task.'."\n",
- 'type' => 'string',
- 'example' => 'restore-xxxxxx',
- ],
- 'ServiceInstanceId' => [
- 'description' => 'The ID of the service instance.'."\n",
- 'type' => 'string',
- 'example' => 'si-8c367c27c84e44a79d36',
- ],
- 'BackupId' => [
- 'description' => 'The backup ID.'."\n",
- 'type' => 'string',
- 'example' => 'backup-728f128bf92c4e3da970',
- ],
- 'EndTime' => [
- 'description' => 'The expiration time of the service instance.'."\n",
- 'type' => 'string',
- 'example' => '2025-01-27T18:00:00Z',
- ],
- 'Status' => [
- 'description' => 'The status of the service instance. Valid values:'."\n"
- ."\n"
- .'* Restoring'."\n"
- .'* Restored'."\n"
- .'* RestoreFailed'."\n",
- 'type' => 'string',
- 'example' => 'Restoring',
- ],
- 'StartTime' => [
- 'description' => 'The time when the update started.'."\n",
- 'type' => 'string',
- 'example' => '2025-01-27T16:00:00Z',
- ],
- 'StatusDetail' => [
- 'description' => 'The description of the service instance deployment information.'."\n",
- 'type' => 'string',
- 'example' => 'i-xxxx failed, error message: error',
- ],
- 'CreateTime' => [
- 'description' => 'The creation time.'."\n",
- 'type' => 'string',
- 'example' => '2023-09-07T11:37:37Z',
- ],
- 'ModifiedTime' => [
- 'description' => 'The update time.'."\n",
- 'type' => 'string',
- 'example' => '2025-05-07T12:16:16Z',
- ],
- ],
- 'description' => '',
- ],
- ],
- ],
+ [
+ 'apiName' => 'RenewServiceInstanceResources',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:RenewServiceInstanceResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#AccountId}:serviceinstance/{#serviceInstanceId}'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'CreateSkillHubConfig',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateSkillHubConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"464C8CB6-A548-5206-B83C-D32A8E43EC21\\",\\n \\"NextToken\\": \\"BBBAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"MaxResults\\": 20,\\n \\"RestoreTasks\\": [\\n {\\n \\"RestoreTaskId\\": \\"restore-xxxxxx\\",\\n \\"ServiceInstanceId\\": \\"si-8c367c27c84e44a79d36\\",\\n \\"BackupId\\": \\"backup-728f128bf92c4e3da970\\",\\n \\"EndTime\\": \\"2025-01-27T18:00:00Z\\",\\n \\"Status\\": \\"Restoring\\",\\n \\"StartTime\\": \\"2025-01-27T16:00:00Z\\",\\n \\"StatusDetail\\": \\"i-xxxx failed, error message: error\\",\\n \\"CreateTime\\": \\"2023-09-07T11:37:37Z\\",\\n \\"ModifiedTime\\": \\"2025-05-07T12:16:16Z\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'ListRestoreTasks',
- 'description' => '### [](#)Prerequisites'."\n"
- ."\n"
- .'Please ensure that the service provider has enabled the configuration change feature and completed the change parameter settings.'."\n",
- 'translator' => 'machine',
- ],
- 'ListBackups' => [
- 'summary' => 'Query and list Compute Nest instance backups',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'ContinueDeployServiceInstance',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:ContinueDeployServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'GenerateServicePolicy',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GenerateServicePolicy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#serviceId}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'GetServiceTemplateParameterConstraints',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetServiceTemplateParameterConstraints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#serviceId}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '232493',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestSE9C8Z',
+ [
+ 'apiName' => 'ListTagKeys',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:ListTagKeys',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '20',
+ [
+ 'apiName' => 'TagResources',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:TagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
],
],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLYoaeZA6xVdkCrmG9EmGshtmECUGpq9Qm7x5vQkpz9NXH0XzUc9t4Kxaf3UtuPY4a0=',
+ ],
+ [
+ 'apiName' => 'CreateSkillFileDetect',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateSkillFileDetect',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'Filter',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The filter.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The filter.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => 'The list of filters.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The parameter values of the filter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'si-xxx',
- ],
- '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"
- .'* BackupId: the ID of the backup.'."\n"
- .'* ServiceInstanceId: The ID of the service instance.'."\n"
- .'* Status: the state of the service.'."\n"
- .'* StartTime'."\n"
- .'* EndTime'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ServiceInstanceId',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'docRequired' => false,
- 'maxItems' => 100,
+ ],
+ [
+ 'apiName' => 'UnTagResources',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:UnTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
- 'type' => 'object',
- 'properties' => [
- 'TotalCount' => [
- 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
- 'description' => 'Total data count under the current request conditions (optional; not returned by default).'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request'."\n",
- 'type' => 'string',
- 'example' => 'BB58FE53-ED8F-5D12-9746-CD3A5F463D95',
- ],
- 'NextToken' => [
- 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
- 'description' => 'Indicates the read position returned by the current call. An empty value means all data has been read.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLYoaeZA6xVdkCrmG9EmGshtmECUGpq9Qm7x5vQkpz9NXH0XzUc9t4Kxaf3UtuPY4a0=',
- ],
- 'MaxResults' => [
- 'title' => 'MaxResults本次请求所返回的最大记录条数',
- 'description' => 'The maximum number of records returned in this request.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Backups' => [
- 'description' => 'The details of the backup.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The details of the backup.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'BackupId' => [
- 'description' => 'The backup ID.'."\n",
- 'type' => 'string',
- 'example' => 'backup-4e13aa8ca6a34150addd',
- ],
- 'ServiceInstanceId' => [
- 'description' => 'The ID of the service instance.'."\n",
- 'type' => 'string',
- 'example' => 'si-7b6138dfce1e4c41ab71',
- ],
- 'StartTime' => [
- 'description' => 'The start time of the backup task.'."\n",
- 'type' => 'string',
- 'example' => '2025-06-30T16:00:00Z',
- ],
- 'EndTime' => [
- 'description' => 'The end time of the backup task.'."\n",
- 'type' => 'string',
- 'example' => '2024-08-15T02:24:00Z',
- ],
- 'Status' => [
- 'description' => 'The status of the backup task. Valid values:'."\n"
- ."\n"
- .'* Creating'."\n"
- .'* Created'."\n"
- .'* CreateFailed'."\n"
- .'* Deleting'."\n"
- .'* Deleted'."\n"
- .'* DeleteFailed'."\n",
- 'type' => 'string',
- 'example' => 'Creating',
- ],
- 'Description' => [
- 'description' => 'The description of the backup task.'."\n",
- 'type' => 'string',
- 'example' => 'No description',
- ],
- 'BackupMode' => [
- 'description' => 'The backup mode. Valid values:'."\n"
- ."\n"
- .'* **Manual**: manual backup'."\n",
- 'type' => 'string',
- 'example' => 'Manual',
- ],
- 'RetentionDays' => [
- 'description' => 'Retention Days. Resources will be cleared upon expiration. Defaults to no expiration if left blank.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'StatusDetail' => [
- 'description' => 'The description of the service instance deployment information.'."\n",
- 'type' => 'string',
- 'example' => 'Disk i-xxxx backup failed, error message: error ',
- ],
- 'ModifiedTime' => [
- 'description' => 'The update time.'."\n",
- 'type' => 'string',
- 'example' => '2024-09-03T19:54:38+08:00',
- ],
- 'CreateTime' => [
- 'description' => 'The creation time.'."\n",
- 'type' => 'string',
- 'example' => '2024-09-03T19:54:38+08:00',
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'ListServiceCategories',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceCategories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'GetService',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#ServiceId}'],
+ ],
+ ],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ [
+ 'apiName' => 'GetServiceInstance',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"BB58FE53-ED8F-5D12-9746-CD3A5F463D95\\",\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLYoaeZA6xVdkCrmG9EmGshtmECUGpq9Qm7x5vQkpz9NXH0XzUc9t4Kxaf3UtuPY4a0=\\",\\n \\"MaxResults\\": 100,\\n \\"Backups\\": [\\n {\\n \\"BackupId\\": \\"backup-4e13aa8ca6a34150addd\\",\\n \\"ServiceInstanceId\\": \\"si-7b6138dfce1e4c41ab71\\",\\n \\"StartTime\\": \\"2025-06-30T16:00:00Z\\",\\n \\"EndTime\\": \\"2024-08-15T02:24:00Z\\",\\n \\"Status\\": \\"Creating\\",\\n \\"Description\\": \\"No description\\",\\n \\"BackupMode\\": \\"Manual\\",\\n \\"RetentionDays\\": 1,\\n \\"StatusDetail\\": \\"Disk i-xxxx backup failed, error message: error\\\\t\\",\\n \\"ModifiedTime\\": \\"2024-09-03T19:54:38+08:00\\",\\n \\"CreateTime\\": \\"2024-09-03T19:54:38+08:00\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'ListBackups',
- 'description' => '### [](#)Prerequisites'."\n"
- ."\n"
- .'Please ensure that the service provider has enabled the configuration change feature and completed the change parameter settings.'."\n",
- 'translator' => 'machine',
- ],
- 'CreateBackup' => [
- 'summary' => 'Create backup for Compute Nest instance',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'ListServiceUsages',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceUsages',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'CheckServiceDeployable',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:CheckServiceDeployable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ListPolicies',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListPolicies',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Policy', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:policy/*'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '232490',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestSE9C8Z',
+ [
+ 'apiName' => 'ChangeResourceGroup',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:ChangeResourceGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#serviceId}'],
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceInstance/{#serviceInstanceId}'],
+ ],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Backup description'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'No description',
+ [
+ 'apiName' => 'DeployServiceInstance',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:DeployServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
],
],
- [
- 'name' => 'ServiceInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the service instance to be transferred to official version.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'si-56cfb7ec3a634448a96c',
+ ],
+ [
+ 'apiName' => 'DeleteBackup',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'computenest:DeleteBackup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Request ID',
- 'type' => 'string',
- 'example' => '8DC02957-A0FC-5AB2-8C54-496B636EAF12',
- ],
- 'BackupId' => [
- 'title' => 'Id of the request',
- 'description' => 'Backup ID',
- 'type' => 'string',
- 'example' => 'backup-cad4a85ff5e340388b93',
- ],
- 'Description' => [
- 'title' => 'Id of the request',
- 'description' => 'Description',
- 'type' => 'string',
- 'example' => 'No description',
- ],
- 'Status' => [
- 'title' => 'Id of the request',
- 'description' => 'Backup status '."\n"
- .'- Creating: In progress '."\n"
- .'- Created: Success '."\n"
- .'- CreateFailed: Failed '."\n"
- .'- Deleting: In progress '."\n"
- .'- Deleted: Success '."\n"
- .'- DeleteFailed: Failed',
- 'type' => 'string',
- 'example' => 'Creating',
- ],
- ],
+ [
+ 'apiName' => 'ListSkillSpaces',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListSkillSpaces',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'UpdateServiceInstanceSpec',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:UpdateServiceInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:*:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ [
+ 'apiName' => 'GetServiceEstimateCost',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetServiceEstimateCost',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#ServiceId}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8DC02957-A0FC-5AB2-8C54-496B636EAF12\\",\\n \\"BackupId\\": \\"backup-cad4a85ff5e340388b93\\",\\n \\"Description\\": \\"No description\\",\\n \\"Status\\": \\"Creating\\"\\n}","type":"json"}]',
- 'title' => 'CreateBackup',
- 'description' => '### [](#)Prerequisites'."\n"
- ."\n"
- .'Please ensure that the service provider has enabled the configuration change feature and completed the change parameter settings.'."\n",
- 'translator' => 'machine',
- ],
- 'DeleteBackup' => [
- 'summary' => 'Delete Compute Nest instance backups.',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'ListServiceInstanceBill',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceInstanceBill',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'CreateBackup',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateBackup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'GetNetworkAvailableZones',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetNetworkAvailableZones',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '232519',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenestSE9C8Z',
+ [
+ 'apiName' => 'ListSkillFiles',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListSkillFiles',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'BackupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The backup ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'backup-385d35fb088f453c8fa1',
+ [
+ 'apiName' => 'ListServiceInstances',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request'."\n",
- 'type' => 'string',
- 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C',
- ],
- ],
+ [
+ 'apiName' => 'CreateSkillSpace',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'computenest:CreateSkillSpace',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'ListSkills',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'computenest:ListSkills',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ [
+ 'apiName' => 'GetBackup',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:GetBackup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RestartServiceInstance',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:RestartServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StopServiceInstance',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'computenest:StopServiceInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#ServiceInstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListServiceInstanceResources',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:ListServiceInstanceResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListTagResources',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'computenest:ListTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetSkillSpace',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'computenest:GetSkillSpace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'ComputeNest', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]',
- 'title' => 'DeleteBackup',
- 'description' => '### [](#)Prerequisites'."\n"
- ."\n"
- .'Please ensure that the service provider has enabled the configuration change feature and completed the change parameter settings.'."\n",
- 'translator' => 'machine',
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'computenest.cn-hangzhou.aliyuncs.com',
],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'computenest.ap-southeast-1.aliyuncs.com',
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/*'],
+ ['validationType' => 'always', 'resourceType' => 'SkillSpace', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:skillspace/*'],
+ ['validationType' => 'always', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'UserInfo', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:UserInfo'],
+ ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/*'],
+ ['validationType' => 'always', 'resourceType' => 'Backup', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:backup/*'],
+ ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/{#serviceId}'],
+ ['validationType' => 'always', 'resourceType' => 'Skill', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:skill/*'],
+ ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:computenest:*:{#accountId}:service/{#serviceId}'],
+ ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:service/*'],
+ ['validationType' => 'always', 'resourceType' => 'SkillHubConfig', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:skillhubconfig/*'],
+ ['validationType' => 'always', 'resourceType' => 'Policy', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:policy/*'],
+ ['validationType' => 'always', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:serviceInstance/{#serviceInstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'Backup', 'arn' => 'acs:computenest:{#regionId}:{#accountId}:backup/{#BackupId}'],
+ ['validationType' => 'always', 'resourceType' => 'ServiceInstance', 'arn' => 'acs:computenest:*:{#accountId}:serviceinstance/{#serviceinstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:computenestsupplier:{#regionId}:{#accountId}:service/{#ServiceId}'],
],
],
];